]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use ISO C prototype for __default_morecore.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1ba4f030
JM
12013-03-08 Joseph Myers <joseph@codesourcery.com>
2
5cc45e10
JM
3 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4
dd54b864
JM
5 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7 __malloc_ptrdiff_t.
8
1ba4f030
JM
9 * malloc/malloc.h (__malloc_size_t): Remove macro.
10 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
11 __malloc_size_t.
12 (old_memalign_hook): Likewise.
13 (old_realloc_hook): Likewise.
14 (struct hdr): Likewise.
15 (flood): Likewise.
16 (mallochook): Likewise.
17 (memalignhook): Likewise.
18 (reallochook): Likewise.
19 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20 (tr_old_realloc_hook): Likewise.
21 (tr_old_memalign_hook): Likewise.
22 (tr_mallochook): Likewise.
23 (tr_reallochook): Likewise.
24 (tr_memalignhook): Likewise.
25
edf66e57
AZ
262013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27
28 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29 default_ldbl_pack and using as default implementation.
30 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31 implementation.
32 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33 redundant definition.
34 (ldbl_insert_mantissa): Likewise.
35 (ldbl_canonicalize): Likewise.
36 (ldbl_nearbyint): Likewise.
37 (ldbl_pack): Rename to ldbl_pack_ppc.
38 (ldbl_unpack): Rename to ldbl_unpack_ppc.
39 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
40 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
41
6d9145d8
SP
422013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43
44 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
45 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
47 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
49 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
50 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52
4dd4e157
AJ
532013-03-07 Andreas Jaeger <aj@suse.de>
54
55 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56 bits/mman-linux.h.
57
adbb8027
SP
582013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59
ce544b5b
SP
60 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
61 Include mpa.h and declare __MPEXP.
62 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
63 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
65 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
67 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
68 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69
4cc149fd
SP
70 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
71 (__slowpow): Use long double EXPL and LOGL functions to
72 compute POW.
73 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
74 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
75 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
76 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
77 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
78 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
79
e6ebd4a7
SP
80 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
81 intermediate variable to calculate exponent.
82 (__sqr): Likewise.
83 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
84 Likewise.
85 (__sqr): Likewise.
86
82a9811d
SP
87 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
88 [!NO__SQR]: Define __sqr.
89 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
90 and NO__SQR. Remove all code except __mul and __sqr. Include
91 sysdeps/ieee754/dbl-64/mpa.c.
92 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
93
adbb8027
SP
94 [BZ #12723]
95 * posix/Makefile (tests): Add tst-pathconf.
96 * posix/tst-pathconf.c: New test case.
97 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
98 _PC_PIPE_BUF.
99 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
100
39120df9
PF
1012013-03-06 Patsy Franklin <pfrankli@redhat.com>
102
103 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
104
67525cb8
AJ
1052013-03-06 Andreas Jaeger <aj@suse.de>
106
664a9ce4
AJ
107 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
108 definition via __MAP_ANONYMOUS.
109
8e39047d
AJ
110 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
111 it's not part of Linux headers.
112
67525cb8
AJ
113 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
114 (MAP_HUGE_MASK): Define.
115
116 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
117 Define.
118 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
119 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
120 Define.
121 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
122 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
123 Define.
124 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
125 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
126 Define.
127 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
128
129 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
130 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
131 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
132 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
133 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
134 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
135
136 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
137 Handle f2fs.
138
139 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
140 Handle f2fs and efivarfs.
141
142 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
143 f2fs.
144
145 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
146 (EFIVARFS_MAGIC): Add.
147 (F2FS_LINK_MAX): Add.
148
e1b42695
PP
1492013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
150
151 * stdio-common/vfprintf.c: Replace __builtin_expect with
152 __glibc_unlikely.
153
2d67d91a
JM
1542013-03-06 Joseph Myers <joseph@codesourcery.com>
155
156 [BZ #13550]
157 * sysdeps/generic/bp-sym.h: Remove file.
158 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
159 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
160 <bp-sym.h> and <bp-asm.h>.
161 (__longjmp): Don't use BP_SYM.
162 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
163 and <bp-asm.h>.
164 (memcpy): Don't use BP_SYM.
165 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
166 <bp-sym.h> and <bp-asm.h>.
167 (memcpy): Don't use BP_SYM.
168 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
169 <bp-asm.h>.
170 (memcpy): Don't use BP_SYM.
171 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
172 <bp-asm.h>.
173 (memset): Don't use BP_SYM.
174 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
175 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
176 (__bzero): Don't use BP_SYM.
177 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
178 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
179 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
180 <bp-sym.h> and <bp-asm.h>.
181 (memcmp): Don't use BP_SYM. Remove comment about bounded
182 pointers.
183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
184 <bp-sym.h> and <bp-asm.h>.
185 (memcpy): Don't use BP_SYM.
186 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
187 <bp-sym.h> and <bp-asm.h>.
188 (memset): Don't use BP_SYM.
189 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
190 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
191 (__bzero): Don't use BP_SYM.
192 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
193 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
194 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
195 <bp-sym.h> and <bp-asm.h>.
196 (strncmp): Don't use BP_SYM. Remove comment about bounded
197 pointers.
198 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
199 <bp-sym.h> and <bp-asm.h>.
200 (memcpy): Don't use BP_SYM.
201 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
202 <bp-sym.h> and <bp-asm.h>.
203 (memset): Don't use BP_SYM.
204 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
205 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
206 (__bzero): Don't use BP_SYM.
207 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
208 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
210 <bp-sym.h> and <bp-asm.h>.
211 (__memchr): Don't use BP_SYM.
212 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
213 <bp-sym.h> and <bp-asm.h>.
214 (memcmp): Don't use BP_SYM. Remove comment about bounded
215 pointers.
216 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
217 <bp-sym.h> and <bp-asm.h>.
218 (memcpy): Don't use BP_SYM.
219 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
220 <bp-sym.h> and <bp-asm.h>.
221 (__mempcpy): Don't use BP_SYM.
222 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
223 <bp-sym.h> and <bp-asm.h>.
224 (__memrchr): Don't use BP_SYM.
225 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
226 <bp-sym.h> and <bp-asm.h>.
227 (memset): Don't use BP_SYM.
228 (__bzero): Likewise.
229 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
230 <bp-sym.h> and <bp-asm.h>.
231 (__rawmemchr): Don't use BP_SYM.
232 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
233 <bp-sym.h> and <bp-asm.h>.
234 (__STRCMP): Don't use BP_SYM.
235 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
236 <bp-sym.h> and <bp-asm.h>.
237 (strchr): Don't use BP_SYM.
238 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
239 <bp-sym.h> and <bp-asm.h>.
240 (__strchrnul): Don't use BP_SYM.
241 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
242 <bp-sym.h> and <bp-asm.h>.
243 (strlen): Don't use BP_SYM.
244 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
245 <bp-sym.h> and <bp-asm.h>.
246 (strncmp): Don't use BP_SYM. Remove comment about bounded
247 pointers.
248 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
249 <bp-sym.h> and <bp-asm.h>.
250 (__strnlen): Don't use BP_SYM.
251 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
252 <bp-sym.h> and <bp-asm.h>.
253 (__GI__setjmp): Don't use BP_SYM.
254 (_setjmp): Likewise.
255 (__sigsetjmp): Likewise.
256 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
257 (L(start_addresses)): Don't use BP_SYM.
258 (_start): Likewise.
259 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
260 <bp-asm.h>.
261 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
262 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
263 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
264 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
265 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
266 <bp-asm.h>.
267 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
268 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
269 about bounded pointers.
270 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
271 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
272 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
273 <bp-asm.h>.
274 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
275 about bounded pointers. Remove GKM FIXME comments.
276 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
277 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
278 <bp-asm.h>.
279 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
280 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
281 Remove GKM FIXME comments.
282 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
283 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
284 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
285 <bp-asm.h>.
286 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
287 about bounded pointers. Remove GKM FIXME comment.
288 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
289 and <bp-asm.h>.
290 (strncmp): Don't use BP_SYM. Remove comment about bounded
291 pointers.
292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
293 <bp-sym.h> and <bp-asm.h>.
294 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
296 <bp-sym.h> and <bp-asm.h>.
297 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
298 comment.
299
cdcf361f
PP
3002013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
301
302 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
303 call free(NULL).
304
3c4a2b15
DM
3052013-03-05 David S. Miller <davem@davemloft.net>
306
307 * po/es.po: Update from translation team.
308
cdcf361f 3092013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
310
311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
312 <bits/mman-linux.h>.
313 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
314 is fine.
315 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
316 <bits/mman-linux.h> to end of file.
317 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
318 is fine.
319 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
320 <bits/mman-linux.h> to end of file.
321 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
322 is fine.
323 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
324 <bits/mman-linux.h> to end of file.
325
326 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
327 (MCL_CURRENT, MCL_FUTURE): Define here.
328
5f67c04f
AK
3292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
330
8a4473cc 331 [BZ #15232]
5f67c04f
AK
332 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
333 attribute_hidden.
334 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
335
c3e94a95
AK
3362013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
337
338 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
339 fourth parameter needed for rt_sigprocmask syscall.
340 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
341 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
342 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
343 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
345 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
346
cfb6382a
JM
3472013-03-04 Joseph Myers <joseph@codesourcery.com>
348
349 [BZ #13550]
350 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
351 comment about bounded pointers.
352 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
353 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
354
539d8e01
AJ
3552013-03-04 Andreas Jaeger <aj@suse.de>
356
357 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
358 common definitions.
359
360 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
361 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
362 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
363 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
365 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
366
2e167a70 3672013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
368
369 [BZ #15055]
370 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
371 __ieee754_sqrl instead of __sqrl.
372
68508633
JM
3732013-03-01 Joseph Myers <joseph@codesourcery.com>
374
375 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
376 * sysdeps/powerpc/fpu_control.h: ... here.
377 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
378 * sysdeps/powerpc/bits/fenvinline.h: ... here.
379 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
380 * sysdeps/powerpc/bits/mathinline.h: ... here.
381
7775448e
RM
3822013-03-01 Roland McGrath <roland@hack.frob.com>
383
384 * elf/dl-hwcaps.c (_dl_important_hwcaps):
385 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
386 to just [NEED_DL_SYSINFO_DSO].
387 * elf/dl-support.c: Likewise.
388 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
389 * elf/rtld.c (dl_main): Likewise.
390 * elf/setup-vdso.h (setup_vdso): Likewise.
391 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
392 * sysdeps/unix/sysv/linux/dl-sysdep.c
393 (_dl_discover_osversion): Likewise.
394
4e9b5995
CD
3952013-03-01 Carlos O'Donell <carlos@redhat.com>
396
397 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
398 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
399
e23872c8
SP
4002013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
401
e5c74c63
SP
402 * NEWS: Mention libm performance improvements and non-x86 PI
403 futex support.
404
e23872c8
SP
405 * csu/libc-start.c (__pthread_initialize_minimal): Change
406 function arguments.
407 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
408
b5510883
JM
4092013-02-28 Joseph Myers <joseph@codesourcery.com>
410
411 [BZ #13550]
412 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
413 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
414 <bp-sym.h> and <bp-asm.h>.
415 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
416 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
417 and <bp-asm.h>.
418 (memcpy): Don't use BP_SYM.
419 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
420 <bp-asm.h>.
421 (__mpn_add_n): Don't use BP_SYM.
422 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
423 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
424 and <bp-asm.h>.
425 (__mpn_addmul_1): Don't use BP_SYM.
426 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
427 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
428 <bp-sym.h>.
429 (_setjmp): Don't use BP_SYM.
430 (__novmx_setjmp): Likewise.
431 (__GI__setjmp): Likewise.
432 (__vmx_setjmp): Likewise.
433 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
434 <bp-sym.h>.
435 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
436 (__bzero): Don't use BP_SYM.
437 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
438 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
439 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
440 <bp-sym.h> and <bp-asm.h>.
441 (memcpy): Don't use BP_SYM.
442 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
443 <bp-sym.h> and <bp-asm.h>.
444 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
445 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
446 <bp-sym.h> and <bp-asm.h>.
447 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
448 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
449 <bp-asm.h>.
450 (__mpn_lshift): Don't use BP_SYM.
451 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
452 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
453 <bp-asm.h>.
454 (memset): Don't use BP_SYM.
455 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
456 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
457 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
458 <bp-asm.h>.
459 (__mpn_mul_1): Don't use BP_SYM.
460 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
461 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
462 <bp-sym.h> and <bp-asm.h>.
463 (memcmp): Don't use BP_SYM.
464 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
465 <bp-sym.h> and <bp-asm.h>.
466 (memcpy): Don't use BP_SYM.
467 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
468 <bp-sym.h> and <bp-asm.h>.
469 (memset): Don't use BP_SYM.
470 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
471 <bp-sym.h> and <bp-asm.h>.
472 (strncmp): Don't use BP_SYM.
473 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
474 <bp-sym.h> and <bp-asm.h>.
475 (memcpy): Don't use BP_SYM.
476 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
477 <bp-sym.h> and <bp-asm.h>.
478 (memset): Don't use BP_SYM.
479 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
480 <bp-sym.h> and <bp-asm.h>.
481 (__memchr): Don't use BP_SYM.
482 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
483 <bp-sym.h> and <bp-asm.h>.
484 (memcmp): Don't use BP_SYM.
485 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
486 <bp-sym.h> and <bp-asm.h>.
487 (memcpy): Don't use BP_SYM.
488 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
489 <bp-sym.h> and <bp-asm.h>.
490 (__mempcpy): Don't use BP_SYM.
491 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
492 <bp-sym.h> and <bp-asm.h>.
493 (__memrchr): Don't use BP_SYM.
494 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
495 <bp-sym.h> and <bp-asm.h>.
496 (memset): Don't use BP_SYM.
497 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
498 <bp-sym.h> and <bp-asm.h>.
499 (__rawmemchr): Don't use BP_SYM.
500 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
501 <bp-sym.h> and <bp-asm.h>.
502 (__STRCMP): Don't use BP_SYM.
503 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
504 <bp-sym.h> and <bp-asm.h>.
505 (strchr): Don't use BP_SYM.
506 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
507 <bp-sym.h> and <bp-asm.h>.
508 (__strchrnul): Don't use BP_SYM.
509 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
510 <bp-sym.h> and <bp-asm.h>.
511 (strlen): Don't use BP_SYM.
512 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
513 <bp-sym.h> and <bp-asm.h>.
514 (strncmp): Don't use BP_SYM.
515 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
516 <bp-sym.h> and <bp-asm.h>.
517 (__strnlen): Don't use BP_SYM.
518 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
519 <bp-asm.h>.
520 (__mpn_rshift): Don't use BP_SYM.
521 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
522 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
523 <bp-sym.h> and <bp-asm.h>.
524 (__sigsetjmp): Don't use BP_SYM.
525 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
526 (L(start_addresses)): Don't use BP_SYM.
527 (_start): Likewise.
528 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
529 <bp-asm.h>.
530 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
531 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
532 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
533 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
534 <bp-asm.h>.
535 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
536 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
537 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
538 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
539 <bp-asm.h>.
540 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
541 comments.
542 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
543 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
544 <bp-asm.h>.
545 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
546 FIXME comments.
547 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
548 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
549 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
550 <bp-asm.h>.
551 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
552 comment.
553 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
554 and <bp-asm.h>.
555 (strncmp): Don't use BP_SYM,
556 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
557 <bp-asm.h>.
558 (__mpn_sub_n): Don't use BP_SYM.
559 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
560 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
561 and <bp-asm.h>.
562 (__mpn_submul_1): Don't use BP_SYM.
563 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
565 <bp-sym.h> and <bp-asm.h>.
566 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
568 <bp-sym.h> and <bp-asm.h>.
569 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
570 comment.
571
8d19fe64
SP
5722013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
573
574 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
575 Use ZK to minimize writes to Z.
576 (sub_magnitudes): Simplify code a bit.
577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
578 Use ZK to minimize writes to Z.
579 (sub_magnitudes): Simplify code a bit.
580
85bd816a
RM
5812013-02-27 Roland McGrath <roland@hack.frob.com>
582
583 * csu/gmon-start.c: Add special exception to license text.
584
b5977bf2
RH
5852013-02-27 Richard Henderson <rth@redhat.com>
586
587 * scripts/config.guess: Update from config.git.
588 * scripts/config.sub: Likewise.
589
11d6e2f2
SP
5902013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
591
09c14ed2
SP
592 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
593
a688864e
SP
594 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
595
6295157a
SP
596 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
597
b8de2202
SP
598 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
599
11d6e2f2
SP
600 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
601
7e80ddb8
RM
6022013-02-26 Roland McGrath <roland@hack.frob.com>
603
604 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
605 [$(build-shared = yes].
7e80ddb8 606
7da6d9ed
SP
6072013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
608
45f05884
SP
609 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
610 (__mul): Reduce iterations for calculating mantissa.
611
2236d359
SP
612 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
613 MPTWO.
614 (__mpranred): Likewise.
615
7da6d9ed
SP
616 [BZ #15160]
617 * malloc/memusagestat.c (main): Draw graphs for heap and stack
618 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
619
b7688c42
PE
6202013-02-26 Paul Eggert <eggert@cs.ucla.edu>
621
622 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
623 Define __attribute__.
624
53a5c423
SP
6252013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
626
627 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
628 unused.
629 * posix/regex_internal.h (__attribute): Remove.
630 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
631 (re_string_context_at): Likewise.
632 (bitset_not): Use __attribute__ and mark function as possibly
633 unused.
634 (bitset_merge): Likewise.
635 (bitset_mask): Likewise.
636 (re_string_char_size_at): Likewise.
637 (re_string_wchar_at): Likewise.
638 (re_string_elem_size_at): Likewise.
639
60f5a8b5
SP
6402013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
641
2a983a2e
SP
642 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
643 code.
644 (cc32): Likewise.
645
e69804d1
SP
646 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
647 (__acr): Likewise.
648 (__cpy): Likewise.
649 (norm): Likewise.
650 (denorm): Likewise.
651 (__dbl_mp): Likewise.
652 (add_magnitudes): Likewise.
653 (sub_magnitudes): Likewise.
654 (__mul): Likewise.
655 (__inv): Likewise.
656
2f22a1e8
SP
657 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
658 style.
659
8930ddc7
SP
660 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
661 style.
662
dc60cb11
SP
663 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
664 code.
665
60f5a8b5
SP
666 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
667 up changes with default code.
668 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
669 Likewise.
670
b4d1fd33
AM
6712013-02-24 Allan McRae <allan@archlinux.org>
672
faf6f8bc
AM
673 * manual/socket.texi (The Internet Namespace): Order menu items
674 to match that in the file.
675
b4d1fd33
AM
676 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
677 node listing of the info page menu.
678
2366713d
JM
6792013-02-21 Joseph Myers <joseph@codesourcery.com>
680
681 [BZ #13550]
682 * sysdeps/i386/bp-asm.h: Remove file.
683 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
684 (PARMS): Do not use macros from bp-asm.h.
685 (S1): Likewise.
686 (S2): Likewise.
687 (SIZE): Likewise.
688 (__mpn_add_n): Do not use BP_SYM
689 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
690 "bp-asm.h".
691 (PARMS): Do not use macros from bp-asm.h.
692 (S1): Likewise.
693 (SIZE): Likewise.
694 (__mpn_addmul_1): Do not use BP_SYM
695 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
696 "bp-asm.h".
697 (PARMS): Do not use macros from bp-asm.h.
698 (SIGMSK): Likewise.
699 (_setjmp): Likewise. Do not use BP_SYM.
700 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 (PARMS): Do not use macros from bp-asm.h.
703 (SIGMSK): Likewise.
704 (setjmp): Likewise. Do not use BP_SYM.
705 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
706 "bp-asm.h".
707 (PARMS): Do not use macros from bp-asm.h.
708 (__frexp): Do not use BP_SYM.
709 (frexp): Likewise.
710 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
711 "bp-asm.h".
712 (PARMS): Do not use macros from bp-asm.h.
713 (__frexpf): Do not use BP_SYM.
714 (frexpf): Likewise.
715 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
716 "bp-asm.h".
717 (PARMS): Do not use macros from bp-asm.h.
718 (__frexpl): Do not use BP_SYM.
719 (frexpl): Likewise.
720 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
721 "bp-asm.h".
722 (PARMS): Do not use macros from bp-asm.h.
723 (__remquo): Do not use BP_SYM.
724 (remquo): Likewise.
725 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
726 "bp-asm.h".
727 (PARMS): Do not use macros from bp-asm.h.
728 (__remquof): Do not use BP_SYM.
729 (remquof): Likewise.
730 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
731 "bp-asm.h".
732 (PARMS): Do not use macros from bp-asm.h.
733 (__remquol): Do not use BP_SYM.
734 (remquol): Likewise.
735 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
736 "bp-asm.h".
737 (PARMS): Do not use macros from bp-asm.h.
738 (DEST): Likewise.
739 (SRC): Likewise.
740 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
741 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
742 "bp-asm.h".
743 (PARMS): Do not use macros from bp-asm.h.
744 (strlen): Do not use BP_SYM.
745 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
746 "bp-asm.h".
747 (PARMS): Do not use macros from bp-asm.h.
748 (S1): Likewise.
749 (S2): Likewise.
750 (SIZE): Likewise.
751 (__mpn_add_n): Do not use BP_SYM.
752 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
753 "bp-asm.h".
754 (PARMS): Do not use macros from bp-asm.h.
755 (S1): Likewise.
756 (SIZE): Likewise.
757 (__mpn_addmul_1): Do not use BP_SYM.
758 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
759 weak_alias.
760 (bzero): Likewise.
761 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
762 "bp-asm.h".
763 (PARMS): Do not use macros from bp-asm.h.
764 (S): Likewise.
765 (SIZE): Likewise.
766 (__mpn_lshift): Do not use BP_SYM.
767 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
768 "bp-asm.h".
769 (PARMS): Do not use macros from bp-asm.h.
770 (DEST): Likewise.
771 (SRC): Likewise.
772 (LEN): Likewise.
773 (memcpy): Likewise. Do not use BP_SYM.
774 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
775 libc_hidden_def and weak_alias.
776 (mempcpy): Do not use BP_SYM in weak_alias.
777 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
778 "bp-asm.h".
779 (PARMS): Do not use macros from bp-asm.h.
780 (DEST): Likewise.
781 (LEN): Likewise.
782 [!BZERO_P] (CHR): Likewise.
783 (memset): Likewise. Do not use BP_SYM.
784 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
785 "bp-asm.h".
786 (PARMS): Do not use macros from bp-asm.h.
787 (S1): Likewise.
788 (SIZE): Likewise.
789 (__mpn_mul_1): Do not use BP_SYM.
790 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
791 "bp-asm.h".
792 (PARMS): Do not use macros from bp-asm.h.
793 (S): Likewise.
794 (SIZE): Likewise.
795 (__mpn_rshift): Do not use BP_SYM.
796 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
797 "bp-asm.h".
798 (PARMS): Do not use macros from bp-asm.h.
799 (STR): Likewise.
800 (CHR): Likewise.
801 (strchr): Likewise. Do not use BP_SYM.
802 (index): Do not use BP_SYM in weak_alias.
803 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
804 "bp-asm.h".
805 (PARMS): Do not use macros from bp-asm.h.
806 (DEST): Likewise.
807 (SRC): Likewise.
808 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
809 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
810 "bp-asm.h".
811 (PARMS): Do not use macros from bp-asm.h.
812 (strlen): Do not use BP_SYM.
813 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
814 "bp-asm.h".
815 (PARMS): Do not use macros from bp-asm.h.
816 (S1): Likewise.
817 (S2): Likewise.
818 (SIZE): Likewise.
819 (__mpn_sub_n): Do not use BP_SYM.
820 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
821 "bp-asm.h".
822 (PARMS): Do not use macros from bp-asm.h.
823 (S1): Likewise.
824 (SIZE): Likewise.
825 (__mpn_submul_1): Do not use BP_SYM.
826 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
827 "bp-asm.h".
828 (PARMS): Do not use macros from bp-asm.h.
829 (S1): Likewise.
830 (S2): Likewise.
831 (SIZE): Likewise.
832 (__mpn_add_n): Do not use BP_SYM.
833 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
834 weak_alias.
835 (bzero): Likewise.
836 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
837 "bp-asm.h".
838 (PARMS): Do not use macros from bp-asm.h.
839 (BLK2): Likewise.
840 (LEN): Likewise.
841 (memcmp): Do not use BP_SYM.
842 (bcmp): Do not use BP_SYM in weak_alias.
843 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
844 "bp-asm.h".
845 (PARMS): Do not use macros from bp-asm.h.
846 (DEST): Likewise.
847 (SRC): Likewise.
848 (LEN): Likewise.
849 (memcpy): Likewise. Do not use BP_SYM.
850 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
851 "bp-asm.h".
852 (PARMS): Do not use macros from bp-asm.h.
853 (DEST): Likewise.
854 (SRC): Likewise.
855 (LEN): Likewise.
856 (memmove): Likewise. Do not use BP_SYM.
857 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
858 "bp-asm.h".
859 (PARMS): Do not use macros from bp-asm.h.
860 (DEST): Likewise.
861 (SRC): Likewise.
862 (LEN): Likewise.
863 (__mempcpy): Likewise. Do not use BP_SYM.
864 (mempcpy): Do not use BP_SYM in weak_alias.
865 * sysdeps/i386/i686/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/i686/strcmp.S: Do not include "bp-sym.h" and
873 "bp-asm.h".
874 (PARMS): Do not use macros from bp-asm.h.
875 (STR2): Likewise.
876 (strcmp): Do not use BP_SYM.
877 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
878 "bp-asm.h".
879 (PARMS): Do not use macros from bp-asm.h.
880 (STR): Likewise.
881 (DELIM): Likewise.
882 [USE_AS_STRTOK_R] (SAVE): Likewise.
883 (FUNCTION): Likewise. Do not use BP_SYM.
884 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
885 aliases.
886 (strtok_r): Likewise.
887 (__GI___strtok_r): Likewise.
888 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
889 (PARMS): Do not use macros from bp-asm.h.
890 (S): Likewise.
891 (SIZE): Likewise.
892 (__mpn_lshift): Do not use BP_SYM.
893 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
894 (PARMS): Do not use macros from bp-asm.h.
895 (STR): Likewise.
896 (CHR): Likewise.
897 (__memchr): Do not use BP_SYM.
898 (memchr): Do not use BP_SYM in weak_alias.
899 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
900 (PARMS): Do not use macros from bp-asm.h.
901 (BLK2): Likewise.
902 (LEN): Likewise.
903 (memcmp): Do not use BP_SYM.
904 (bcmp): Do not use BP_SYM in weak_alias.
905 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
906 (PARMS): Do not use macros from bp-asm.h.
907 (S1): Likewise.
908 (SIZE): Likewise.
909 (__mpn_mul_1): Do not use BP_SYM.
910 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
911 "bp-asm.h".
912 (PARMS): Do not use macros from bp-asm.h.
913 (STR): Likewise.
914 (CHR): Likewise.
915 (__rawmemchr): Do not use BP_SYM.
916 (rawmemchr): Do not use BP_SYM in weak_alias.
917 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
918 (PARMS): Do not use macros from bp-asm.h.
919 (S): Likewise.
920 (SIZE): Likewise.
921 (__mpn_rshift): Do not use BP_SYM.
922 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
923 (PARMS): Do not use macros from bp-asm.h.
924 (SIGMSK): Likewise.
925 (__sigsetjmp): Likewise. Do not use BP_SYM.
926 * sysdeps/i386/start.S: Do not include "bp-sym.h".
927 (_start): Do not use BP_SYM.
928 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
929 (PARMS): Do not use macros from bp-asm.h.
930 (DEST): Likewise.
931 (SRC): Likewise.
932 (__stpcpy): Likewise. Do not use BP_SYM.
933 (stpcpy): Do not use BP_SYM in weak_alias.
934 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
935 "bp-asm.h".
936 (PARMS): Do not use macros from bp-asm.h.
937 (DEST): Likewise.
938 (SRC): Likewise.
939 (LEN): Likewise.
940 (__stpncpy): Likewise. Do not use BP_SYM.
941 (stpncpy): Do not use BP_SYM in weak_alias.
942 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
943 (PARMS): Do not use macros from bp-asm.h.
944 (STR): Likewise.
945 (CHR): Likewise.
946 (strchr): Likewise. Do not use BP_SYM.
947 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
948 "bp-asm.h".
949 (PARMS): Do not use macros from bp-asm.h.
950 (STR): Likewise.
951 (CHR): Likewise.
952 (__strchrnul): Likewise. Do not use BP_SYM.
953 (strchrnul): Do not use BP_SYM in weak_alias.
954 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
955 "bp-asm.h".
956 (PARMS): Do not use macros from bp-asm.h.
957 (STOP): Likewise.
958 (strcspn): Do not use BP_SYM.
959 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
960 "bp-asm.h".
961 (PARMS): Do not use macros from bp-asm.h.
962 (STR): Likewise.
963 (STOP): Likewise.
964 (strpbrk): Likewise. Do not use BP_SYM.
965 * sysdeps/i386/strrchr.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 (CHR): Likewise.
970 (strrchr): Likewise. Do not use BP_SYM.
971 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
972 (PARMS): Do not use macros from bp-asm.h.
973 (SKIP): Likewise.
974 (strspn): Do not use BP_SYM.
975 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
976 (PARMS): Do not use macros from bp-asm.h.
977 (STR): Likewise.
978 (DELIM): Likewise.
979 (SAVE): Likewise.
980 (FUNCTION): Likewise. Do not use BP_SYM.
981 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
982 aliases.
983 (strtok_r): Likewise.
984 (__GI___strtok_r): Likewise.
985 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
986 (PARMS): Do not use macros from bp-asm.h.
987 (S1): Likewise.
988 (S2): Likewise.
989 (SIZE): Likewise.
990 (__mpn_sub_n): Do not use BP_SYM.
991 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
992 "bp-asm.h".
993 (PARMS): Do not use macros from bp-asm.h.
994 (S1): Likewise.
995 (SIZE): Likewise.
996 (__mpn_submul_1): Do not use BP_SYM.
997 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
998 <bp-sym.h>.
999 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1000 and <bp-asm.h>.
1001 (PARMS): Do not use macros from bp-asm.h.
1002 (FLAGS): Likewise.
1003 (PTID): Likewise.
1004 (TLS): Likewise.
1005 (CTID): Likewise.
1006 (__clone): Do not use BP_SYM.
1007 (clone): Do not use BP_SYM in weak_alias.
1008 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1009 and <bp-asm.h>.
1010 (PARMS): Do not use macros from bp-asm.h.
1011 (LEN): Likewise.
1012 (__mmap64): Do not use BP_SYM.
1013 (mmap64): Do not use BP_SYM in weak_alias.
1014 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1015 <bp-sym.h> and <bp-asm.h>.
1016 (PARMS): Do not use macros from bp-asm.h.
1017 (__posix_fadvise64_l64): Do not use BP_SYM.
1018 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1019 (PARMS): Do not use macros from bp-asm.h.
1020 (NSOPS): Likewise.
1021 (semtimedop): Do not use BP_SYM.
1022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1023 and <bp-asm.h>.
1024
582a3cff
AM
10252013-02-21 Allan McRae <allan@archlinux.org>
1026
1027 * manual/message.texi (Charset conversion in gettext):
1028 Move @end statement to beginning of line.
1029
bab8a695
SP
10302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1031
80945231
SP
1032 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1033 static.
1034 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1035 Likewise.
1036
bab8a695
SP
1037 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1038 (denorm): Likewise.
1039 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1041
e21d7aa7
AK
10422013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1043
1044 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1045 tail-call to the resolved function if pltexit isn't needed.
1046
4c7a4263
SP
10472013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1048
1049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1050 or Y being zero as being unlikely.
1051 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1052 Likewise.
1053
41f49342
CD
10542013-02-20 Carlos O'Donell <carlos@redhat.com>
1055
1056 * manual/nss.texi (System Databases and Name Service Switch):
1057 Remove frobnicate @pxref.
1058
50022a93
TS
10592013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1060
1061 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1062 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1063
08cbd996
PM
10642013-02-20 Petr Machata <pmachata@redhat.com>
1065
1066 * elf/elf.h (R_ARM_TARGET1): New macro.
1067 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1068 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1069 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1070 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1071 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1072 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1073 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1074 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1075 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1076 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1077 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1078 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1079 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1080 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1081 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1082 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1083 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1084 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1085 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1086 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1087 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1088 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1089 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1090 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1091 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1092 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1093 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1094 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1095 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1096 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1097 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1098 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1099 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1100 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1101 (R_ARM_THM_GOT_BREL12): Likewise.
1102 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1103 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1104 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1105 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1106 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1107 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1108 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1109 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1110 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1111
c7b275d6
TS
11122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1113
1114 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1115 __attribute_used__ to __attribute__ ((unused)).
1116
20cd7fb3
SP
11172013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1118
1119 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1120 powerpc mpa.c.
1121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1122 comment formatting.
1123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1124
92945b52
JM
11252013-02-19 Joseph Myers <joseph@codesourcery.com>
1126
1127 [BZ #13550]
1128 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1129 Remove macro.
1130 (ENTER): Remove both macro definitions.
1131 (LEAVE): Likewise.
1132 (CHECK_BOUNDS_LOW): Likewise.
1133 (CHECK_BOUNDS_HIGH): Likewise.
1134 (CHECK_BOUNDS_BOTH): Likewise.
1135 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1136 (RETURN_BOUNDED_POINTER): Likewise.
1137 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1138 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1139 (POP_ERRNO_LOCATION_RETURN): Likewise.
1140 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1141 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1142 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1143 macros.
1144 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1145 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1146 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1147 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1148 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1149 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1150 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1151 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1152 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1153 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1154 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1155 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1156 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1157 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1158 removed macros.
1159 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1160 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1161 macros.
1162 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1163 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1164 * sysdeps/i386/i586/memset.S (memset): Likewise.
1165 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1166 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1167 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1168 macros.
1169 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1170 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1171 Change uses of L(2) to L(out).
1172 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1173 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1174 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1175 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1176 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1177 removed macros.
1178 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1179 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1180 macros.
1181 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1182 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1183 (RETURN): Do not use macro LEAVE.
1184 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1185 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1186 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1187 * sysdeps/i386/i686/memset.S (memset): Likewise.
1188 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1189 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1190 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1191 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1192 Likewise.
1193 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1194 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1195 L(1_2) and L(1_3) into L(1).
1196 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1197 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1198 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1199 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1200 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1201 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1202 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1203 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1204 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1205 macros.
1206 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1207 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1208 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1209 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1210 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1211 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1212 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1213 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1214 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1215 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1216 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1217 * sysdeps/i386/strspn.S (strspn): Likewise.
1218 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1219 conditional code.
1220 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1221 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1222 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1223 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1224 L(1_3) into L(1_1).
1225 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1226 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1227 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1228 macros.
1229 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1230
2389741a
JJ
12312013-02-19 Jakub Jelinek <jakub@redhat.com>
1232
1233 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1234 macro.
1235
2016b3cd
SP
12362013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1237
e4f22324
SP
1238 * math/atest-exp.c (exp_mpn): Remove ROUND.
1239 * math/atest-exp2.c (exp_mpn): Likewise.
1240 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1241
2016b3cd
SP
1242 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1243 * stdlib/tst-tls-atexit-lib.c: Likewise.
1244 * stdlib/tst-tls-atexit.c: Likewise.
1245
4be9b544
MF
12462013-02-18 Mike Frysinger <vapier@gentoo.org>
1247
1248 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1249 and __attribute_alloc_size__.
1250
2f62b9ee
MF
12512013-02-18 Mike Frysinger <vapier@gentoo.org>
1252
1253 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1254 __attribute_alloc_size__.
1255 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1256 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1257
6ff444c4
MF
12582013-02-18 Mike Frysinger <vapier@gentoo.org>
1259
1260 * include/programs/xmalloc.h: New file.
1261 * catgets/gencat.c: Include it.
1262 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1263 * elf/pldd.c: Likewise.
1264 * iconv/iconv_charmap.c: Likewise.
1265 * iconv/iconvconfig.c: Likewise.
1266 * iconv/strtab.c: Likewise.
1267 * locale/programs/locale.c: Likewise.
1268 * locale/programs/localedef.h: Likewise.
1269 * locale/programs/simple-hash.c: Likewise.
1270 * nscd/nscd.h: Likewise.
1271 * nss/makedb.c: Likewise.
1272 * sysdeps/generic/ldconfig.h: Likewise.
1273
be179c8a
SP
12742013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1275
ba384f6e
SP
1276 * Versions.def: Add GLIBC_2.18.
1277 * include/link.h (struct link_map): New member l_tls_dtor_count.
1278 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1279 (__call_tls_dtors): Likewise.
1280 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1281 __cxa_thread_atexit_impl.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1283 Likewise.
1284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1285 Likewise.
1286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1287 Likewise.
1288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1289 Likewise.
1290 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1291 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1292 Likewise.
1293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1294 Likewise.
1295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1297 Likewise.
1298 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1299 (tests): Add test case tst-tls-atexit.
1300 (modules-names): Add shared library for tst-tls-atexit.
1301 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1302 (GLIBC_PRIVATE): Add __call_tls_dtors.
1303 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1304 for libstdc++.
1305 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1306 * stdlib/tst-tls-atexit.c: New test case.
1307 * stdlib/tst-tls-atexit-lib.c: New test case.
1308
ffaa74cf 1309 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1310
be179c8a
SP
1311 * elf/Versions (ld): Add _dl_find_dso_for_object.
1312 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1313 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1314 (dl_open_worker): Use _dl_find_dso_for_object.
1315 * elf/dl-sym.c (do_sym): Likewise.
1316 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1317
f78b5caa
AK
13182013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1319
1320 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1321 Syntactic changes only.
1322 (_dl_runtime_profile): Do a tail-call to the resolved function.
1323
29691210
JM
13242013-02-17 Joseph Myers <joseph@codesourcery.com>
1325
1326 [BZ #13550]
1327 * sysdeps/x86_64/bp-asm.h: Remove file.
1328 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (__clone): Do not use BP_SYM.
1331 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1332 <bp-sym.h> and <bp-asm.h>.
1333 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1334 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1335 "bp-asm.h".
1336 (_setjmp): Do not use BP_SYM.
1337 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1338 "bp-asm.h".
1339 (setjmp): Do not use BP_SYM.
1340 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1341 libc_hidden_def.
1342 (mempcpy): Do not use BP_SYM in weak_alias.
1343 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1344 "bp-asm.h".
1345 (strchr): Do not use BP_SYM.
1346 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1347 "bp-asm.h".
1348 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1349 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1350 (_start): Do not use BP_SYM.
1351 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1352 "bp-asm.h".
1353 (strcat): Do not use BP_SYM.
1354 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1355 "bp-asm.h".
1356 (STRCMP): Do not use BP_SYM.
1357 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1358 "bp-asm.h".
1359 (STRCPY): Do not use BP_SYM.
1360 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1361 "bp-asm.h".
1362 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1363 "bp-asm.h".
1364 (FUNCTION): Do not use BP_SYM.
1365 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1366 weak_alias.
1367 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1368
f238fd19
AJ
13692013-02-17 Andreas Jaeger <aj@suse.de>
1370
1371 * time/Versions: Sort entries.
1372 * string/Versions: Likewise.
1373 * resolv/Versions: Likewise.
1374 * posix/Versions: Likewise.
1375 * iconv/Versions: Likewise.
1376 * elf/Versions: Likewise.
1377 * wcsmbs/Versions: Likewise.
1378
bd07f23c 13792013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1380
22af19f9
SP
1381 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1382 loop termination condition.
1383
4709fe76
SP
1384 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1385 variable to calculate EZ.
1386 (__sqr): Likewise.
2d0e0f29
SP
1387
1388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1389 the lower precision input.
1390
daaa7713
JM
13912013-02-15 Joseph Myers <joseph@codesourcery.com>
1392
1393 [BZ #13550]
1394 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1395 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1396 (run-via-rtld-prefix): Do not handle %-bp tests.
1397 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1398 (all-object-suffixes): Remove .ob.
1399 (bppfx): Remove variable.
1400 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1401 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1402 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1403 [$(build-bounded) = yes] (libtype.ob): Likewise.
1404 * Makerules (elide-routines.ob): Remove variable.
1405 (do-tests-clean): Do not handle *-bp.out.
1406 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1407 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1408 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1409 (tests): Do not include $(tests-bp.out).
1410 (xtests): Do not include $(xtests-bp.out).
1411 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1412 [$(build-bounded) = yes] ($(addprefix
1413 $(objpfx),$(binaries-bounded))): Remove rule.
1414 ($(objpfx)%-bp.out): Remove rule.
1415 * config.make.in (build-bounded): Remove variable.
1416 * crypt/Makefile [$(build-bounded) = yes]
1417 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1418 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1419 append to variable.
1420 [$(build-bounded) = yes] (install-lib): Likewise.
1421 [$(build-bounded) = yes] (generated): Likewise.
1422 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1423 Remove rule.
1424 * intl/Makefile [$(build-bounded) = yes]
1425 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1426 * math/Makefile [$(build-bounded) = yes]
1427 ($(tests:%=$(objpfx)%-bp): Likewise.
1428 * misc/Makefile [$(build-bounded) = yes]
1429 ($(objpfx)tst-tsearch-bp): Likewise.
1430 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1431 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1432 Remove dependency.
1433 * string/Makefile (o-objects.ob): Remove variable.
1434 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1435 (CFLAGS-.ob): Remove variable.
1436 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1437 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1438 both definitions of variable.
1439 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1440 (ASFLAGS-.ob): Remove variable.
1441
e97ed6dd
JM
14422013-02-14 Joseph Myers <joseph@codesourcery.com>
1443
2bdd4ca6
JM
1444 [BZ #13550]
1445 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1446 Remove __BOUNDED_POINTERS__ from condition.
1447 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1448 * string/bits/string2.h [!__NO_STRING_INLINES &&
1449 !__BOUNDED_POINTERS__]: Likewise.
1450 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1451 Likewise.
1452 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1453 Remove conditional code.
1454 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1455 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1456 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1457 condition.
1458
e97ed6dd
JM
1459 [BZ #13550]
1460 * csu/libc-start.c: Do not include <bp-sym.h>.
1461 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1462 * elf/dl-open.c: Do not include <bp-sym.h>.
1463 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1464 * math/fegetenv.c: Do not include <bp-sym.h>.
1465 (fegetenv): Do not use BP_SYM in versioned symbols.
1466 * nptl/sysdeps/pthread/bits/libc-lockP.h
1467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1468 <bp-sym.h>.
1469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1470 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1472 (__pthread_mutex_destroy): Likewise.
1473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1474 (__pthread_mutex_lock): Likewise.
1475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1476 (__pthread_mutex_trylock): Likewise.
1477 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1478 (__pthread_mutex_unlock): Likewise.
1479 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1480 (__pthread_mutexattr_init): Likewise.
1481 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1482 (__pthread_mutexattr_destroy): Likewise.
1483 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1484 (__pthread_mutexattr_settype): Likewise.
1485 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1486 (__pthread_rwlock_init): Likewise.
1487 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1488 (__pthread_rwlock_destroy): Likewise.
1489 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1490 (__pthread_rwlock_rdlock): Likewise.
1491 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1492 (__pthread_rwlock_tryrdlock): Likewise.
1493 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1494 (__pthread_rwlock_wrlock): Likewise.
1495 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1496 (__pthread_rwlock_trywrlock): Likewise.
1497 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1498 (__pthread_rwlock_unlock): Likewise.
1499 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1500 (__pthread_key_create): Likewise.
1501 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1502 (__pthread_setspecific): Likewise.
1503 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1504 (__pthread_getspecific): Likewise.
1505 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1506 Likewise.
1507 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1508 (_pthread_cleanup_push_defer): Likewise.
1509 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1510 (_pthread_cleanup_pop_restore): Likewise.
1511 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1512 (pthread_setcancelstate): Likewise.
1513 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1514 <bp-sym.h>.
1515 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1516 (memchr): Do not use BP_SYM in weak_alias.
1517 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1518 (fegetenv): Do not use BP_SYM in versioned symbols.
1519 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1520 (fesetenv): Do not use BP_SYM in versioned symbols.
1521 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1522 (feupdateenv): Do not use BP_SYM in versioned symbols.
1523 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1524 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1525 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1526 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1527 (open64): Do not use BP_SYM in weak_alias.
1528 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1529 (fegetenv): Do not use BP_SYM in versioned symbols.
1530 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1531 (fesetenv): Do not use BP_SYM in versioned symbols.
1532 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1533 (feupdateenv): Do not use BP_SYM in versioned symbols.
1534 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1535 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1536 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1537 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1538 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1539 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1540 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1541 <bp-sym.h>.
1542 (__libc_start_main): Do not use BP_SYM.
1543
d6752ccd
SP
15442013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1545
cb57ce60
SP
1546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1547 redundant return line.
1548 (norm): Likewise.
1549 (denorm): Likewise.
1550 (dbl_mp): Likewise.
1551 (sub_magnitudes): Likewise.
1552 (__add): Likewise.
1553 (__sub): Likewise.
1554 (__mul): Likewise.
1555 (__inv): Likewise.
1556 (__dvd): Likewise.
1557 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1558 (norm): Likewise.
1559 (denorm): Likewise.
1560 (dbl_mp): Likewise.
1561 (sub_magnitudes): Likewise.
1562 (__add): Likewise.
1563 (__sub): Likewise.
1564 (__mul): Likewise.
1565 (__inv): Likewise.
1566 (__dvd): Likewise.
1567
f414520d
SP
1568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1569 instead of __mul.
1570 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1571 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1572 (cc32): Likewise.
1573
d6752ccd
SP
1574 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1575 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1577 of __mul for squares.
1578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1579 function
1580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1581 Likewise.
1582 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1583 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1584
70d9946a
JM
15852013-02-13 Joseph Myers <joseph@codesourcery.com>
1586
1587 [BZ #13550]
1588 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1589 code.
1590 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1591 prototype or function definition. Rename ubp_* variables and
1592 parameters. Remove argv definitions conditional on
1593 [__BOUNDED_POINTERS__].
1594 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1595 * elf/dl-runtime.c (_dl_fixup): Likewise.
1596 * include/set-hooks.h (RUN_HOOK): Likewise.
1597 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1598 definition.
1599 * string/strcpy.c (strcpy): Do not use __unbounded.
1600 * sysdeps/generic/frame.h (struct layout): Likewise.
1601 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1602 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1603 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1604 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1605 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1606 (__backtrace): Likewise.
1607 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1608 use __ptrvalue.
1609 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1610 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1611 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1612 Likewise.
1613 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1614 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1615 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1616 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1617 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1618 Do not use __unbounded.
1619 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1620 Rename __unboundedrlimits parameter to rlimits in prototype.
1621 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1622 Do not use __unbounded.
1623 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1624 not use __ptrvalue.
1625 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1626 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1627 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1628 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1629 __ptrvalue or __unbounded.
1630 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1631 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1632 use __unbounded.
1633 (__new_msgctl): Do not use __ptrvalue.
1634 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1635 __unbounded.
1636 (__libc_msgrcv): Do not use __ptrvalue.
1637 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1638 startup_info): Do not use __unbounded.
1639 (__libc_start_main): Likewise. Rename ubp_* variables and
1640 parameters. Remove argv definitions conditional on
1641 [__BOUNDED_POINTERS__].
1642 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1643 __ptrvalue.
1644 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1645 use __unbounded.
1646 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1647 or __ptrvalue.
1648 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1649 use __unbounded.
1650 (__new_shmctl): Do not use __ptrvalue.
1651 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1652 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1653 Likewise.
1654 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1655 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1656 (__libc_sigaction): Likewise.
1657 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1658 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1659 Likewise.
1660 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1661
cc7834d6
OB
16622013-02-13 Ondřej Bílka <neleai@seznam.cz>
1663
ffb1ec7b 1664 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1665
1666 * string/mempcpy.c: Implement by calling memcpy.
1667
bdf02814
SP
16682013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1669
c2af38aa
SP
1670 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1671
4e92d59e
SP
1672 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1673 evaluation.
1674
909279a5
SP
1675 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1676 values in the mantissa.
1677
bdf02814
SP
1678 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1679 minimize writes to Z.
1680 (sub_magnitudes): Simplify code a bit.
1681
cd525923
RM
16822013-02-12 Roland McGrath <roland@hack.frob.com>
1683
1684 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1685 from the message. The linker prefixes all warnings with that already.
1686
7e2f0d2d
AS
16872013-02-12 Andreas Schwab <schwab@suse.de>
1688
a445af0b
AS
1689 [BZ #15078]
1690 * posix/regexec.c (extend_buffers): Add parameter min_len.
1691 (check_matching): Pass minimum needed length.
1692 (clean_state_log_if_needed): Likewise.
1693 (get_subexp): Likewise.
1694 * posix/Makefile (tests): Add bug-regex34.
1695 (bug-regex34-ENV): Define.
1696 * posix/bug-regex34.c: New file.
1697
7e2f0d2d
AS
1698 [BZ #11561]
1699 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1700 elements compare against the byte sequence of it, not its name.
1701 * posix/Makefile (tests): Add bug-regex35.
1702 (bug-regex35-ENV): Define.
1703 * posix/bug-regex35.c: New file.
1704
a175b684
TV
17052013-02-11 Tom de Vries <tom@codesourcery.com>
1706
1707 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1708 comment.
1709 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1710 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1711 (CHECK_EOL): Add undef.
1712
310998fe 17132013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1714
1715 * bits/stdlib-bsearch.h: New file.
1716 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1717 * stdlib/stdlib.h: Likewise.
41eda41d 1718
8ded91fb
RM
17192013-02-11 Roland McGrath <roland@hack.frob.com>
1720
1721 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1722 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1723 declaration.
1724 * manual/search.texi (Array Search Function): Add missing const in
1725 lfind prototype.
1726 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1727 declaration to use rlim_t.
1728 (Basic Scheduling Functions): Remove erroneous const from
1729 sched_getparam prototype. Remove erroneous * from
1730 sched_get_priority_max and sched_get_priority_min prototypes.
1731 (Resource Usage): Fix summary @comment on vtimes to refer to
1732 sys/vtimes.h rather than vtimes.h.
1733 Add missing *s in vtimes prototype.
1734 (Limits on Resources): Fix ulimit prototype to return long int.
1735 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1736 prototypes to use long int rather than double.
1737 (BSD Random): Fix initstate and setstate to use char *, not void *.
1738 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1739 prototype to make second argument 'struct aiocb64 *const[]'.
1740 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1741 (Status of AIO Operations): Remove erroneous const in aio_return and
1742 aio_return64 prototypes.
1743 (Synchronizing I/O): Fix sync prototype to return void.
1744 * manual/startup.texi (Suboptions): Remove an erroneous const in
1745 getsubopt prototype.
1746 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1747 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1748 use size_t rather than int.
1749 (Scanning All Users): Likewise for getpwent_r.
1750 (Setting Groups): Add missing const to setgroups prototype.
1751 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1752 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1753 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1754 'const void *' rather than 'const char *'.
1755 (Host Address Functions): Likewise for inet_ntop.
1756 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1757 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1758 ssize_t for return value.
1759 (Sending Data): Likewise for send, sendto, sendmsg.
1760 (Socket Option Functions): Add a missing const in setsockopt prototype.
1761 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1762 use wchar_t for the argument.
1763 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1764 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1765 take no arguments.
1766 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1767 double/float/long double for second argument.
1768 Fix return types of significand, significandf, significandl.
1769 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1770 argument in fchmod prototype.
1771 (File Owner): Use uid_t and gid_t in fchown prototype.
1772 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1773 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1774 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1775 use 'const struct dirent **' as argument types to CMP function pointer
1776 argument.
1777 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1778 (File Times): Fix summary magic @comment for struct utimbuf and utime
1779 to refer to utime.h, not time.h.
1780 * manual/string.texi (Argz Functions): Add missing const in
1781 argz_extract and argz_next prototypes.
1782 (Finding Tokens in a String): Likewise for basename.
1783 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1784 (Copying and Concatenation): Fix typo in wmemmove prototype.
1785 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1786 (Signal Stack): Remove erroneous const in sigstack prototype.
1787 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1788 prototype.
1789 (Simple Calendar Time): Likewise for stime.
1790 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1791 prototype.
1792 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1793 say sys/sysctl.h instead.
1794 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1795 and vsyslog prototypes.
1796
fe77fe6d
TV
17972013-02-11 Tom de Vries <tom@codesourcery.com>
1798
1799 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1800 Remove.
1801
3a09b620
RM
18022013-02-11 Roland McGrath <roland@hack.frob.com>
1803
1804 * misc/sys/mman.h: Fix typo in mremap comment.
1805
550a0b89
RM
18062013-02-08 Roland McGrath <roland@hack.frob.com>
1807
1808 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1809 the '\0' terminator.
1810
a2da1673
JM
18112013-02-08 Joseph Myers <joseph@codesourcery.com>
1812
1813 [BZ #13550]
1814 * debug/segfault.c: Don't include <bp-checks.h>.
1815 * sysdeps/generic/bp-checks.h: Remove file.
1816 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1817 (__GETDENTS): Don't use CHECK_N.
1818 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1819 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1820 (__getgroups): Don't use CHECK_N.
1821 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1822 (setgroups): Don't use CHECK_N.
1823 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1824 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1825 (__libc_msgrcv): Don't use CHECK_N.
1826 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1827 (__libc_msgsnd): Don't use CHECK_N.
1828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1829 <bp-checks.h>.
1830 (__libc_pread): Don't use CHECK_N.
1831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1832 include <bp-checks.h>.
1833 (__libc_pread64): Don't use CHECK_N.
1834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1835 include <bp-checks.h>.
1836 (__libc_pwrite): Don't use CHECK_N.
1837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1838 include <bp-checks.h>.
1839 (__libc_pwrite64): Don't use CHECK_N.
1840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1841 <bp-checks.h>.
1842 (__libc_pread): Don't use CHECK_N.
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1844 include <bp-checks.h>.
1845 (__libc_pread64): Don't use CHECK_N.
1846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1847 include <bp-checks.h>.
1848 (__libc_pwrite): Don't use CHECK_N.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1850 include <bp-checks.h>.
1851 (__libc_pwrite64): Don't use CHECK_N.
1852 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1853 (do_pread): Don't use CHECK_N.
1854 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1855 (do_pread64): Don't use CHECK_N.
1856 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1857 (do_pwrite): Don't use CHECK_N.
1858 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1859 (do_pwrite64): Don't use CHECK_N.
1860 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1861 (__libc_readv): Don't use CHECK_N.
1862 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1863 (semop): Don't use CHECK_N.
1864 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1865 <bp-checks.h>.
1866 (semtimedop): Don't use CHECK_N.
1867 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1868 (__libc_pread): Don't use CHECK_N.
1869 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1870 <bp-checks.h>.
1871 (__libc_pread64): Don't use CHECK_N.
1872 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1873 <bp-checks.h>.
1874 (__libc_pwrite): Don't use CHECK_N.
1875 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1876 <bp-checks.h>.
1877 (__libc_pwrite64): Don't use CHECK_N.
1878 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1879 <bp-checks.h>.
1880 (__libc_msgrcv): Don't use CHECK_N.
1881 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1882 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1883 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1884 (__libc_writev): Don't use CHECK_N.
1885
b84660a8
RM
18862013-02-08 Roland McGrath <roland@hack.frob.com>
1887
7f3e75f8
RM
1888 * string/strcpy.c: Removed unused variable.
1889
b84660a8
RM
1890 * Makeconfig (+sysdep-includes): Define with := rather than =.
1891 Use an existing include/ subdir of each sysdeps dir before it.
1892
471514d3
CD
18932013-02-08 Carlos O'Donell <carlos@redhat.com>
1894
1895 * nscd/connection.c (register_traced_file): Comment function.
1896 [HAVE_INOTIFY] (union __inev): Define.
1897 [HAVE_INOTIFY] (inotify_check_files): New function.
1898 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1899 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1900 clear_db_cache.
1901 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1902
b2d3c3be
CD
19032013-02-08 Carlos O'Donell <carlos@redhat.com>
1904
1905 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1906 loaded if not already and that a failure is permanent.
1907
b39949d2
CD
19082013-02-08 Carlos O'Donell <carlos@redhat.com>
1909
ddacd1db 1910 [BZ #15006]
b39949d2
CD
1911 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1912 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1913
b2c9eff4
JM
19142013-02-08 Joseph Myers <joseph@codesourcery.com>
1915
f3aae3f3
JM
1916 [BZ #13550]
1917 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1918 (CHECK_1_NULL_OK): Likewise.
1919 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1920 (__fxstat): Do not use CHECK_1.
1921 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1922 <bp-checks.h>.
1923 (___fxstat64): Do not use CHECK_1.
1924 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1925 <bp-checks.h>.
1926 (__fxstatat): Do not use CHECK_1.
1927 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1928 <bp-checks.h>.
1929 (__fxstatat64): Do not use CHECK_1.
1930 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1931 <bp-checks.h>.
1932 (__fxstat): Do not use CHECK_1.
1933 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1934 <bp-checks.h>.
1935 (__fxstatat): Do not use CHECK_1.
1936 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1937 <bp-checks.h>.
1938 (__getresgid): Do not use CHECK_1.
1939 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1940 <bp-checks.h>.
1941 (__getresuid): Do not use CHECK_1.
1942 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1943 <bp-checks.h>.
1944 (__lxstat): Do not use CHECK_1.
1945 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1946 <bp-checks.h>.
1947 (__old_msgctl): Do not use CHECK_1.
1948 (__new_msgctl): Likewise.
1949 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1950 <bp-checks.h>.
1951 (__new_setrlimit): Do not use CHECK_1.
1952 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1953 <bp-checks.h>.
1954 (__old_shmctl): Do not use CHECK_1.
1955 (__new_shmctl): Likewise.
1956 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1957 <bp-checks.h>.
1958 (__xstat): Do not use CHECK_1.
1959 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1960 (__lxstat): Do not use CHECK_1.
1961 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1962 <bp-checks.h>.
1963 (___lxstat64): Do not use CHECK_1.
1964 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1965 (__old_msgctl): Do not use CHECK_1.
1966 (__new_msgctl): Likewise.
1967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1968 <bp-checks.h>.
1969 (__gettimeofday): Do not use CHECK_1.
1970 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1971 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1973 <bp-checks.h>.
1974 (__gettimeofday): Do not use CHECK_1.
1975 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1976 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1977 (__new_shmctl): Do not use CHECK_1.
1978 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1979 <bp-checks.h>.
1980 (do_sigtimedwait): Do not use CHECK_1.
1981 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1982 <bp-checks.h>.
1983 (do_sigwaitinfo): Do not use CHECK_1.
1984 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1985 <bp-checks.h>.
1986 (msgctl): Do not use CHECK_1.
1987 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1988 <bp-checks.h>.
1989 (shmctl): Do not use CHECK_1.
1990 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1991 (ustat): Do not use CHECK_1.
1992 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1993 <bp-checks.h>.
1994 (__fxstat): Do not use CHECK_1.
1995 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1996 <bp-checks.h>.
1997 (__fxstatat): Do not use CHECK_1.
1998 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1999 <bp-checks.h>.
2000 (__lxstat): Do not use CHECK_1.
2001 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2002 <bp-checks.h>.
2003 (__xstat): Do not use CHECK_1.
2004 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2005 (__xstat): Do not use CHECK_1.
2006 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2007 (___xstat64): Do not use CHECK_1.
2008
b2c9eff4
JM
2009 [BZ #13550]
2010 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2011 definitions.
2012 (CHECK_BOUNDS_HIGH): Likewise.
2013 * string/strcpy.c: Do not include <bp-checks.h>.
2014 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2015
f1d70dad
RM
20162013-02-07 Roland McGrath <roland@hack.frob.com>
2017
2018 * nscd/nscd-client.h (__nscd_drop_map_ref):
2019 Add __attribute__ ((unused)).
2020 * nis/nss-nisplus.h (niserr2nss): Likewise.
2021
2022 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2023 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2024
2025 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2026 Remove inline keyword.
2027 * include/rounding-mode.h (round_away): Likewise.
2028 * libio/wfileops.c (adjust_wide_data): Likewise.
2029 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2030 (__m128i_strloadu_tolower): Likewise.
2031 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2032 (__m128i_strloadu_tolower): Likewise.
2033 * time/mktime.c (ydhms_diff): Likewise.
2034 * locale/elem-hash.h (elem_hash): Likewise.
2035 * locale/setlocale.c (setdata): Likewise.
2036 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2037 (re_string_wchar_at): Likewise.
2038 (bitset_not, bitset_merge, bitset_mask): Likewise.
2039 [!(__GNUC__ > 3)] (inline): Remove macro.
2040 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2041 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2042 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2043 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2044 * string/memcmp.c (memcmp_bytes): Likewise.
2045 * locale/programs/locarchive.c (compute_hashval): Likewise.
2046 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2047 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2048 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2049 * nss/getent.c (print_rpc, print_protocols): Likewise.
2050 (print_passwd, print_group, print_aliases): Likewise.
2051 * nis/nss-nisplus.h (niserr2nss): Likewise.
2052 * nscd/connections.c (restart_p): Likewise.
2053 Change return type to bool.
2054
eab55bfb
RM
20552013-02-05 Roland McGrath <roland@hack.frob.com>
2056
7bd642f5
RM
2057 * Makeconfig (all-Depend-files): Add existing
2058 $(sorted-subdirs:=/Depend) files.
2059 (all-subdirs): Remove nss.
2060 * sysdeps/unix/inet/Subdirs: Add it here instead.
2061 * hesiod/Depend: New file.
2062
573c29b2
RM
2063 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2064 instead of calling alloca.
2065
b2e25af0
RM
2066 * io/lseek.c (__lseek): Rename to __libc_lseek.
2067 Define __lseek as an alias.
2068
eab55bfb
RM
2069 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2070
9a0d1941
CD
20712013-02-04 Carlos O'Donell <carlos@redhat.com>
2072
2073 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2074 else clause and remove check for non-standard endianness.
2075
b83bbec4
DM
20762013-02-04 David S. Miller <davem@davemloft.net>
2077
2078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2079
6277fdab
JM
20802013-02-04 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #13550]
2083 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2084 (__ubp_memchr): Remove prototype.
2085 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2086 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2087 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2088 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2089 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2090 Remove alias.
2091 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2092 (__ubp_memchr): Likewise.
2093 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2094 (__ubp_memchr): Likewise.
2095 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2096 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2097 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2098 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2099 CHECK_STRING.
2100 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2101 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2102 (__getcwd): Do not use CHECK_STRING.
2103 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2104 <bp-checks.h>.
2105 (__real_chown): Do not use CHECK_STRING.
2106 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2107 <bp-checks.h>.
2108 (fchownat): Do not use CHECK_STRING.
2109 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2110 CHECK_STRING.
2111 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2112 <bp-checks.h>.
2113 (__lchown): Do not use CHECK_STRING.
2114 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2115 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2116 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2117 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2119 include <bp-checks.h>.
2120 (truncate64): Do not use CHECK_STRING.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2122 <bp-checks.h>.
2123 (__real_chown): Do not use CHECK_STRING.
2124 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2125 <bp-checks.h>.
2126 (__lchown): Do not use CHECK_STRING.
2127 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2128 <bp-checks.h>.
2129 (__chown): Do not use CHECK_STRING.
2130 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2131 <bp-checks.h>.
2132 (truncate64): Do not use CHECK_STRING.
2133 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2134 Likewise.
2135 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2136 (__xmknod): Do not use CHECK_STRING.
2137 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2138 <bp-checks.h>.
2139 (__xmknodat): Do not use CHECK_STRING.
2140 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2141 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2142
903ae060
AS
21432013-02-04 Andreas Schwab <schwab@suse.de>
2144
2145 [BZ #14142]
2146 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2147 * include/netdb.h: Likewise for h_errno.
2148 * elf/tst-stackguard1.c: Include <tls.h>.
2149
542f9466
JK
21502013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2151
2152 * elf/link.h (struct link_map): Extend the l_addr comment.
2153 * include/link.h (struct link_map): Likewise.
2154
e782a927
JM
21552013-02-01 Joseph Myers <joseph@codesourcery.com>
2156
2157 [BZ #13550]
2158 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2159 (BOUNDED_1): Remove macro.
2160 * debug/backtrace.c: Don't include <bp-checks.h>.
2161 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2162 (__backtrace): Likewise.
2163 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2164 <bp-checks.h>.
2165 (__backtrace): Don't use BOUNDED_1.
2166 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2167 <bp-checks.h>.
2168 (__backtrace): Don't use BOUNDED_1.
2169 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2170 (__backtrace): Don't use BOUNDED_1.
2171 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2172 (shmat): Don't use BOUNDED_N.
2173
8cf28c5e
JM
21742013-01-31 Joseph Myers <joseph@codesourcery.com>
2175
3a7ac8a0
JM
2176 [BZ #13550]
2177 * sysdeps/generic/bp-start.h: Remove file.
2178 * csu/libc-start.c: Don't include <bp-start.h>.
2179 (LIBC_START_MAIN): Set up __environ directly instead of using
2180 INIT_ARGV_and_ENVIRON.
2181 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2182 <bp-start.h>.
2183
f3499f95
JM
2184 [BZ #13550]
2185 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2186 definitions.
2187 (CHECK_FCNTL): Likewise.
2188 (CHECK_N_PAGES): Likewise.
2189
32a45bea
JM
2190 [BZ #13550]
2191 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2192 definitions.
2193 (CHECK_SIGSET_NULL_OK): Likewise.
2194 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2195 <bp-checks.h>.
2196 (sigpending): Don't use CHECK_SIGSET.
2197 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2198 <bp-checks.h>.
2199 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2200 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2201 <bp-checks.h>.
2202 (do_sigsuspend): Don't use CHECK_SIGSET.
2203 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2204 use CHECK_SIGSET.
2205 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2206 (do_sigwait): Don't use CHECK_SIGSET.
2207 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2208 use CHECK_SIGSET.
2209 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2210 include <bp-checks.h>.
2211 (sigpending): Don't use CHECK_SIGSET.
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2213 include <bp-checks.h>.
2214 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2215 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2216 <bp-checks.h>.
2217 (sigpending): Don't use CHECK_SIGSET.
2218 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2219 <bp-checks.h>.
2220 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2221
2e8a5c8c
JM
2222 [BZ #13550]
2223 * sysdeps/generic/bp-semctl.h: Remove file.
2224 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2225 <bp-checks.h> and <bp-semctl.h>.
2226 (__old_semctl): Don't use CHECK_SEMCTL.
2227 (__new_semctl): Likewise.
2228 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2229 and <bp-semctl.h>.
2230 (__old_semctl): Don't use CHECK_SEMCTL.
2231 (__new_semctl): Likewise.
2232 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2233 <bp-checks.h> and <bp-semctl.h>.
2234 (__old_semctl): Don't use CHECK_SEMCTL.
2235 (__new_semctl): Likewise.
2236 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2237 <bp-checks.h> and <bp-semctl.h>.
2238 (semctl): Don't use CHECK_SEMCTL.
2239
c2d54929
JM
2240 [BZ #13550]
2241 * Makerules (elide-bp-thunks): Remove variable.
2242 (elide-routines.oS): Don't use $(elide-bp-thunks).
2243 (elide-routines.os): Likewise.
2244 (elide-routines.o): Likewise.
2245 (elide-routines.op): Likewise.
2246 (elide-routines.og): Likewise.
2247 (objects): Don't use $(bp-thunks).
2248 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2249 include.
2250 (common-generated): Do not add s-proto-bp.d.
2251 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2252 (int): Likewise.
2253 (typ): Likewise.
2254 Do not generate makefile rules for bounded-pointer thunks.
2255 * sysdeps/generic/bp-thunks.h: Remove file.
2256 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2257 * sysdeps/unix/s-proto-bp.S: Likewise.
2258
8cf28c5e
JM
2259 [BZ #15062]
2260 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2261 parts of result separately when argument is not close to line from
2262 -i to i and one part of argument is small.
2263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2265 * math/libm-test.inc (cacos_test): Add more tests.
2266 (casin_test): Likewise.
2267 (casinh_test): Likewise.
2268 * sysdeps/i386/fpu/libm-test-ulps: Update.
2269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2270
c4e33b8d
DM
22712013-01-31 David S. Miller <davem@davemloft.net>
2272
2273 * po/de.po: Update from translation team.
2274
3b60b421
MK
22752013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2276
2277 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2278
bb931195
TS
22792013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2280
b5a5da23
TS
2281 * configure.in (_AC_PROG_CC_C89): New definition.
2282 * configure: Regenerate.
2283
bb931195
TS
2284 * configure.in (AC_PROG_CPP): New definition.
2285 * configure: Regenerate.
2286
8c53a12c
JM
22872013-01-23 Joseph Myers <joseph@codesourcery.com>
2288
2289 * debug/tst-backtrace.h: New file.
2290 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2291 (ret): Remove variable.
2292 (x): Likewise.
2293 (FAIL): Remove macro.
2294 (NO_INLINE): Likewise.
2295 (fn1): Use match function instead of strstr.
2296 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2297 (ret): Remove variable.
2298 (x): Likewise.
2299 (FAIL): Remove macro.
2300 (NO_INLINE): Likewise.
2301 (fn): Use match function instead of strstr.
2302 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2303 (ret): Remove variable.
2304 (x): Likewise.
2305 (FAIL): Remove macro.
2306 (NO_INLINE): Likewise.
2307 (handle_signal): Use match function instead of strstr.
2308 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2309 (ret): Remove variable.
2310 (x): Likewise.
2311 (FAIL): Remove macro.
2312 (NO_INLINE): Likewise.
2313 (handle_signal): Use match function instead of strstr.
2314
4858fa2a
RM
23152013-01-23 Roland McGrath <roland@hack.frob.com>
2316
2317 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2318
bae8e7f5
DM
23192013-01-23 David S. Miller <davem@davemloft.net>
2320
2321 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2322 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2323 argument of CAS if possible.
2324 * sysdeps/sparc/sparc64/bits/atomic.h
2325 (__arch_compare_and_exchange_val_32_acq): Likewise.
2326 (__arch_compare_and_exchange_val_64_acq): Likewise.
2327
9cbbc4ae
PT
23282013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2329
2330 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2331 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2332 Include <limits.h>.
67b3f58c 2333 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2334
5655a0b5
AC
23352013-01-23 Adam Conrad <adconrad@0c3.net>
2336
2337 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2338 (LDFLAGS-tst-array5): Likewise.
2339
052aff95
JM
23402013-01-23 Joseph Myers <joseph@codesourcery.com>
2341
2342 [BZ #15036]
2343 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2344 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2345 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2346 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2347
7c1e01aa
DM
23482013-01-21 David S. Miller <davem@davemloft.net>
2349
2350 * sysdeps/sparc/backtrace.c: New file.
2351 * sysdeps/sparc/sparc32/backtrace.h: New file.
2352 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2353 * sysdeps/sparc/sparc64/backtrace.h: New file.
2354 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2355 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2356 -funwind-tables.
2357
ab087e0a
AS
23582013-01-21 Andreas Schwab <schwab@suse.de>
2359
2360 [BZ #15020]
2361 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2362 closed its stdout.
2363
ed689c2f
AS
23642013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2365
2366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2367 "mpa2.h".
2368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2369
31d470ac
JM
23702013-01-18 Joseph Myers <joseph@codesourcery.com>
2371 Mark Mitchell <mark@codesourcery.com>
2372 Tom de Vries <tom@codesourcery.com>
2373 Paul Pluzhnikov <ppluzhnikov@google.com>
2374
2375 * debug/tst-backtrace2.c: New file.
2376 * debug/tst-backtrace3.c: Likewise.
2377 * debug/tst-backtrace4.c: Likewise.
2378 * debug/tst-backtrace5.c: Likewise.
2379 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2380 (CFLAGS-tst-backtrace3.c): Likewise.
2381 (CFLAGS-tst-backtrace4.c): Likewise.
2382 (CFLAGS-tst-backtrace5.c): Likewise.
2383 (LDFLAGS-tst-backtrace2): Likewise.
2384 (LDFLAGS-tst-backtrace3): Likewise.
2385 (LDFLAGS-tst-backtrace4): Likewise.
2386 (LDFLAGS-tst-backtrace5): Likewise.
2387 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2388 tst-backtrace4 and tst-backtrace5.
2389
90567f30 23902013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2391 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2392
2393 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2394 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2395 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2396 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2398 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2399 "+r" and remove output regs list as redundant. Add explicit inline
2400 asm to specify register of return val to work around compiler codegen
2401 bug. Remove (int) cast on return value. Add return type parameter to
2402 use in macro so that this macro does not truncate return value for
2403 64-bit values.
2404 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2405 pass to INTERNAL_VSYSCALL_NCS.
2406 (INLINE_VSYSCALL): Add 'long int' as return type to
2407 INTERNAL_VSYSCALL_NCS macro invocation.
2408 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2409 INTERNAL_VSYSCALL_NCS macro invocation.
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2411
d3b9ea61
SP
24122013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2413
0b57daeb
SP
2414 [BZ #14496]
2415 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2416 Fix application of SIMD FP exception mask.
2417
caa99d06
SP
2418 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2419 mp_no from a power of two.
2420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2421 __mpexp_twomm1. Use __pow_mp.
2422
d3b9ea61
SP
2423 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2424 multiplication.
2425
1dbaee3c
DM
24262013-01-17 David S. Miller <davem@davemloft.net>
2427
2428 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2429
728d7b43
JM
24302013-01-17 Joseph Myers <joseph@codesourcery.com>
2431
2432 [BZ #15023]
2433 * include/complex.h: Condition contents on [!_COMPLEX_H].
2434 (__kernel_casinhf): New prototype.
2435 (__kernel_casinh): Likewise.
2436 (__kernel_casinhl): Likewise.
2437 * math/Makefile (libm_calls): Add k_casinh.
2438 * math/k_casinh.c: New file.
2439 * math/k_casinhf.c: Likewise.
2440 * math/k_casinhl.c: Likewise.
2441 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2442 finite nonzero arguments.
2443 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2444 finite nonzero arguments.
2445 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2446 finite nonzero arguments.
2447 * math/s_casinh.c: Do not include <float.h>.
2448 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2449 * math/s_casinhf.c: Do not include <float.h>.
2450 (__casinhf): Move code for finite nonzero arguments to
2451 k_casinhf.c.
2452 * math/s_casinhl.c: Do not include <float.h>.
2453 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2454 redefine.
2455 (__casinhl): Move code for finite nonzero arguments to
2456 k_casinhl.c.
2457 * math/libm-test.inc (cacos_test): Add more tests.
2458 * sysdeps/i386/fpu/libm-test-ulps: Update.
2459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2460
2a26ef3a
PT
24612013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2462
2463 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2464 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2465 [!HAVE_MREMAP]: Remove [defined linux] case.
2466 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2467
a897655d
SP
24682013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2469
2470 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2471
881ebe89 24722013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2473
2474 * elf/elf.h (R_386_SIZE32): New relocation.
2475 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2476 R_386_SIZE32.
2477 (elf_machine_rela): Likewise.
2478 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2479 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2480
59981e9b
JM
24812013-01-17 Joseph Myers <joseph@codesourcery.com>
2482
2483 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2484 (FP_FAST_FMA): Do not define.
2485 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2486 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2487 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2488 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2489 !_SOFT_FLOAT]: Likewise.
2490 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2491 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2492 value.
2493 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2494 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2495 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2496 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2497 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2498 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2499 file.
2500
cfa8054f
AS
25012013-01-16 Andreas Schwab <schwab@suse.de>
2502
2503 [BZ #14327]
2504 * include/stdlib.h (__mktemp): Add declaration.
2505 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2506 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2507
dd930cc5
SP
25082013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2509
881ebe89
SP
2510 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2511 definitions.
2512 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2513 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2514 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2515 definitions here.
2516 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2517 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2518 definitions.
2519 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2520 and ONE.
2521 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2522 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2523 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2524 definitions.
2525 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2526 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2527 definitions.
2528 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2529
dd930cc5
SP
2530 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2531
c19a9f89
DM
25322013-01-15 David S. Miller <davem@davemloft.net>
2533
1aa61767
DM
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2535 trunc{,f} to libm-sysdep_routes.
2536 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2538 file.
2539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2541 file.
2542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2543 file.
2544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2546 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2547 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2548 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2549 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2550 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2551 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2552
c42d5e98
DM
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2554 nearbyint{,f} to libm-sysdep_routes.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2557 New file.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2559 file.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2561 New file.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2563 file.
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2567 file.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2570 file.
2571 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2572 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2573 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2574
c19a9f89
DM
2575 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2576 libc_feholdexcept and libc_fesetenv.
2577
357679d2
MF
25782013-01-15 Mike Frysinger <vapier@gentoo.org>
2579
2580 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2581
65a82e3d
DM
25822013-01-14 David S. Miller <davem@davemloft.net>
2583
8b954ab9
DM
2584 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2585 (SPARC_ASM_VIS2_IFUNC): Likewise.
2586 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2588 use of 'siam' instruction.
2589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2590 Likewise.
2591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2592 Likewise.
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2594 Likewise.
2595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2596 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2597 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2600 file.
2601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2602 file.
2603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2604 file.
2605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2606 file.
2607 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2609 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2610 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2612 new VIS2 routines.
2613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2616 Likewise.
2617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2622 routines to libm-sysdep_routines.
2623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2624
65a82e3d
DM
2625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2626 fdim/fdimf to libm-sysdep_routines.
2627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2628 file.
2629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2631 file.
2632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2633 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2635 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2636 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2637 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2638 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2639
e34ab705
SP
26402013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2641
2a91b573
SP
2642 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2643 to optimize copies.
2644
1066a534
SP
2645 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2647 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2648
e34ab705
SP
2649 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2650 local variable MPTWO.
2651 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2652 Likewise.
2653
aba5e596
MF
26542013-01-13 Mike Frysinger <vapier@gentoo.org>
2655
2656 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2657 GLOB_NOESCAPE.
2658
e557e9e5
MF
26592013-01-13 Mike Frysinger <vapier@gentoo.org>
2660
2661 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2662
0428cec9
MF
26632013-01-13 Mike Frysinger <vapier@gentoo.org>
2664
2665 * manual/pattern.texi (glob_t): Document gl_flags.
2666 (glob64_t): Likewise.
2667
8794a964
DM
26682013-01-11 David S. Miller <davem@davemloft.net>
2669
66438c3f
RM
2670 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2671 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2672 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2673 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2674 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2675 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2676 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2677 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2678 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2679 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2680 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2681 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2682 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2683
4ae4244d
DM
2684 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2685 sparc V9 rather than using V8 code.
2686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2688
8794a964
DM
2689 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2690 Move to...
2691 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2692 Here.
2693
6270516e
RM
26942013-01-11 Roland McGrath <roland@hack.frob.com>
2695
2696 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2697 not in the main loop.
2698 * configure: Regenerated.
2699
6a57d931
JM
27002013-01-11 Joseph Myers <joseph@codesourcery.com>
2701
2702 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2703 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2704 to just #else.
2705 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2706 [!__GLIBC_HAVE_LONG_LONG] case.
2707 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2708 condition to just #else.
2709 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2710 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2711 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2712 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2713 unconditional.
2714 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2715 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2716 #elif condition to just #else.
2717 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2718 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2719 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2720 #elif condition to just #else.
2721
0e8529e9
SE
27222013-01-11 Steve Ellcey <sellcey@mips.com>
2723
2724 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2725 (EF_MIPS_ARCH_64): Fix value.
2726 (EF_MIPS_ARCH_32R2): New.
2727 (EF_MIPS_ARCH_64R2): New.
2728
740b3dbe
L
27292013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2730
2731 * Makeconfig (+link-pie-before-libc): New.
2732 (+link-pie-after-libc): Likewise.
2733 (+link-pie-tests): Likewise.
2734 (+link-pie): Rewritten.
2735 (link-before-libc): Remove $(config-LDFLAGS).
2736 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2737 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2738 (config-LDFLAGS): Renamed to ...
2739 (rtld-LDFLAGS): This.
2740 (rtld-tests-LDFLAGS): New macro.
2741 (link-libc-rpath-link): Likewise.
2742 (link-libc-tests-rpath-link): Likewise.
2743 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2744 (link-libc): Prepand $(link-libc-rpath-link).
2745 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2746 (test-program-prefix): New macro.
2747 (test-via-rtld-prefix): Likewise.
2748 (test-program-cmd): Likewise.
2749 (host-test-program-cmd): Likewise.
2750 * Makefile ($(common-objpfx)testrun.sh): Replace
2751 $(run-program-prefix) with $(test-program-prefix).
2752 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2753 $(rtld-LDFLAGS).
2754 ($(common-objpfx)shlib.lds): Likewise.
2755 (build-module-helper): Likewise.
2756 ($(common-objpfx)format.lds): Likewise.
2757 * Rules (binaries-pie-tests): New.
2758 (binaries-pie-notests): Likewise.
2759 (binaries-pie): Rewritten.
2760 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2761 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2762 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2763 (make-test-out): Replace $(host-built-program-cmd) with
2764 $(host-test-program-cmd).
2765 * config.make.in (build-hardcoded-path-in-tests): New variable.
2766 * configure.in (--enable-hardcoded-path-in-tests): New configure
2767 option.
2768 (hardcoded_path_in_tests): New AC_SUBST.
2769 * configure: Regenerated.
2770 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2771 $(built-program-cmd) with $(test-program-cmd).
2772 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2773 (test_program_cmd): This.
2774 * elf/Makefile ($(objpfx)order.out): Run test with
2775 $(test-program-prefix).
2776 ($(objpfx)order2.out): Likewise.
2777 ($(objpfx)tst-initorder.out): Likewise.
2778 ($(objpfx)tst-initorder2.out): Likewise.
2779 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2780 $(test-program-cmd).
2781 ($(objpfx)tst-array1-static.out): Likewise.
2782 ($(objpfx)tst-array2.out): Likewise.
2783 ($(objpfx)tst-array3.out): Likewise.
2784 ($(objpfx)tst-array4.out): Likewise.
2785 ($(objpfx)tst-array5.out): Likewise.
2786 ($(objpfx)tst-array5-static.out): Likewise.
2787 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2788 $(test-program-cmd).
2789 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2790 $(run-program-prefix) with $(test-program-prefix).
2791 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2792 (test_program_prefix): This.
2793 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2794 $(run-program-prefix) with $(test-program-prefix).
2795 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2796 (test_program_prefix): This.
2797 * iconvdata/tst-tables.sh: Likewise.
2798 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2799 $(run-program-prefix) with $(test-program-prefix).
2800 ($(objpfx)tst-translit.out): Likewise.
2801 ($(objpfx)tst-gettext2.out): Likewise.
2802 ($(objpfx)tst-gettext4.out): Likewise.
2803 ($(objpfx)tst-gettext6.out): Likewise.
2804 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2805 (test_program_prefix): This.
2806 * intl/tst-gettext2.sh: Likewise.
2807 * intl/tst-gettext4.sh Likewise.
2808 * intl/tst-gettext6.sh: Likewise.
2809 * intl/tst-translit.sh: Likewise.
2810 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2811 with $(test-program-cmd).
2812 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2813 $(run-program-prefix) with $(test-program-prefix).
2814 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2815 (test_program_prefix): This.
2816 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2817 $(run-program-prefix) with $(test-program-prefix).
2818 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2819 (test_program_prefix): This.
2820 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2821 * posix/Makefile ($(objpfx)globtest.out): Replace
2822 $(run-via-rtld-prefix) and $(test-wrapper) with
2823 $(test-program-prefix) and $(test-via-rtld-prefix).
2824 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2825 $(test-program-prefix).
2826 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2827 $(host-test-program-cmd).
2828 (tst-spawn-ARGS): Likewise.
2829 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2830 $(test-program-prefix).
2831 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2832 (test_via_rtld_prefix): This.
2833 (test_wrapper): Renamed to ...
2834 (test_program_prefix): This.
2835 (run_program_prefix): Replaced by test_program_prefix.
2836 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2837 (test_program_prefix): This.
2838 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2839 with $(host-test-program-cmd).
2840 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2841 $(run-program-prefix) with $(test-program-prefix).
2842 ($(objpfx)tst-printf.out): Likewise.
2843 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2844 $(test-program-cmd).
2845 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2846 (test_program_prefix): This.
2847 * stdio-common/tst-unbputc.sh: Likewise.
2848 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2849 $(run-program-prefix) with $(test-program-prefix).
2850 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2851 (test_program_prefix): This.
2852 * string/Makefile ($(objpfx)tst-svc.out): Replace
2853 $(built-program-cmd) with $(test-program-cmd).
2854
c6fe55cf
AJ
28552013-01-11 Andreas Jaeger <aj@suse.de>
2856
2857 [BZ #15003]
2858 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2859 value. Sync with Linux 3.7.
2860
9e6919c8
DM
28612013-01-10 David S. Miller <davem@davemloft.net>
2862
2863 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2864 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2865 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2866
1c9f1a02
RM
28672013-01-10 Roland McGrath <roland@hack.frob.com>
2868
2869 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2870 never set.
2871 * configure: Regenerated.
2872
b9de2dde
DM
28732013-01-10 David S. Miller <davem@davemloft.net>
2874
2875 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2876 sparc V9 rather than using V8 code.
2877 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2878 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2879
e7f68ef4
RM
28802013-01-10 Roland McGrath <roland@hack.frob.com>
2881
2882 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2883 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2884 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2885 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2886 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2887 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2888 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2889 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2890 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2891 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2892 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2893 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2894 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2895 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2896 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2897 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2898 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2899 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2900 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2901 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2902 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2903 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2904 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2905 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2906 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2907 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2908 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2909
5a47cc9c
DM
29102013-01-10 David S. Miller <davem@davemloft.net>
2911
2912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2913
4cf8f209
L
29142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2915
2916 * posix/Makefile (tests-static): New variable.
2917 (tests): Add $(tests-static).
2918 (tst-exec-static-ARGS): New variable.
2919 (tst-spawn-static-ARGS): Likewise.
2920 * posix/tst-exec-static.c: New file.
2921 * posix/tst-spawn-static.c: Likewise.
2922 * posix/tst-exec.c: Support run directly.
2923 * posix/tst-spawn.c: Likewise.
2924
fed0faa1
JM
29252013-01-10 Joseph Myers <joseph@codesourcery.com>
2926
828beb13
JM
2927 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2928 long.
2929 * math/bits/mathcalls.h (llrint): Likewise.
2930 (llround): Likewise.
2931 * stdlib/stdlib.h (struct drand48_data): Likewise.
2932 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2933 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2934 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2935 Likewise.
2936 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2937 Likewise.
2938 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2939 (elf_greg_t): Likewise.
2940 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2941 (__jmp_buf): Likewise.
2942 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2943 definitions.
2944 (llrint): Likewise, for all definitions.
2945 (llrintl): Likewise.
2946
fed0faa1
JM
2947 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2948 Remove [__GNUC__] condition.
2949 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2950 condition to just [__USE_ISOC99].
2951 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2952
1a20cb20
L
29532013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2954
2955 [BZ #14200]
2956 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2957 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2958 defined.
2959 (_POSIX_V6_ILP32_OFF32): Likewise.
2960 (_XBS5_ILP32_OFF32): Likewise.
2961 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2962 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2963
751b85f7
SP
29642013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2965
7490eb81
SP
2966 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2967
751b85f7
SP
2968 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2969 doubles __mpexp_twomm1. Adjust usage.
2970 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2971 Remove.
2972
988197f0
AS
29732013-01-10 Andreas Schwab <schwab@suse.de>
2974
2975 [BZ #14964]
2976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2977 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2978
e83d7298
DM
29792013-01-09 David S. Miller <davem@davemloft.net>
2980
034ed64b 2981 [BZ #15003]
e83d7298
DM
2982 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2983 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2984 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2985 TCP_FASTOPEN): Define.
2986 (tcp_repair_opt): New structure.
2987 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2988 enum values.
2989 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2990 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2991 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2992 (tcp_cookie_transactions): New structure.
2993
d5e0b9bd
AB
29942013-01-09 Anton Blanchard <anton@samba.org>
2995
2996 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2997 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3000
0c07e3ea
JM
30012013-01-09 Joseph Myers <joseph@codesourcery.com>
3002
3003 * include/features.h (__USE_ANSI): Remove.
3004
232f7002
RM
30052013-01-09 Roland McGrath <roland@hack.frob.com>
3006
ad98e30c
RM
3007 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3008
232f7002
RM
3009 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3010
950c99ca
SP
30112013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3012
b5792741
SP
3013 * sysdeps/s390/fpu/libm-test-ulps: Update.
3014
47cf2278
SP
3015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3016
950c99ca
SP
3017 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3018 (__acr): Likewise.
3019 (__cpy): Likewise.
3020 (norm): Likewise.
3021 (denorm): Likewise.
3022 (__mp_dbl): Likewise.
3023 (__dbl_mp): Likewise.
3024 (add_magnitudes): Likewise.
3025 (sub_magnitudes): Likewise.
3026 (__add): Likewise.
3027 (__sub): Likewise.
3028 (__mul): Likewise.
3029 (__inv): Likewise.
3030 (__dvd): Likewise.
3031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3032 (__acr): Likewise.
3033 (__cpy): Likewise.
3034 (norm): Likewise.
3035 (denorm): Likewise.
3036 (__mp_dbl): Likewise.
3037 (__dbl_mp): Likewise.
3038 (add_magnitudes): Likewise.
3039 (sub_magnitudes): Likewise.
3040 (__add): Likewise.
3041 (__sub): Likewise.
3042 (__mul): Likewise.
3043 (__inv): Likewise.
3044 (__dvd): Likewise.
3045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3046 (__acr): Likewise.
3047 (__cpy): Likewise.
3048 (norm): Likewise.
3049 (denorm): Likewise.
3050 (__mp_dbl): Likewise.
3051 (__dbl_mp): Likewise.
3052 (add_magnitudes): Likewise.
3053 (sub_magnitudes): Likewise.
3054 (__add): Likewise.
3055 (__sub): Likewise.
3056 (__mul): Likewise.
3057 (__inv): Likewise.
3058 (__dvd): Likewise.
3059
eede9df9
JM
30602013-01-08 Joseph Myers <joseph@codesourcery.com>
3061
3062 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3063 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3064 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3065 2 && __USE_EXTERN_INLINES]: Likewise.
3066
c40ea3d9
AJ
30672013-01-08 Andreas Jaeger <aj@suse.de>
3068
3069 [BZ# 14985]
3070 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3071 Remove.
3072 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3073 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3074
2ccdea26
AB
30752013-01-07 Anton Blanchard <anton@samba.org>
3076
3077 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3078 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3079 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3080 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3081 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3082 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3083 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3084 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3086 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3087 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3088 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3090 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3091 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3092 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3093 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3094 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3095 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3096 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3097 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3098 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3099 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3100 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3101 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3102 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3103 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3104 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3106 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3107 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3109 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3110 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3111 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3112 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3113 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3114 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3115 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3119 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3120
a9708fed
JM
31212013-01-07 Joseph Myers <joseph@codesourcery.com>
3122
375607b9
JM
3123 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3124 (__MALLOC_PMT): Likewise.
3125 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3126 [__GNUC__], only on [_LIBC].
3127 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3128 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3129 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3130 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3131 forward declaration.
3132 (realloc_hook_ini): Likewise.
3133 (memalign_hook_ini): Likewise.
3134 (__libc_memalign): Do not use __MALLOC_PMT in variable
3135 declaration.
3136 (__libc_valloc): Likewise.
3137 (__libc_pvalloc): Likewise.
3138 (__libc_calloc): Likewise.
3139 (__posix_memalign): Likewise.
3140
a9708fed
JM
3141 [BZ #14996]
3142 * math/s_casinh.c: Include <float.h>.
3143 (__casinh): Do not do computation with squaring and square root
3144 for large arguments.
3145 * math/s_casinhf.c: Include <float.h>.
3146 (__casinhf): Do not do computation with squaring and square root
3147 for large arguments.
3148 * math/s_casinhl.c: Include <float.h>.
3149 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3150 (__casinhl): Do not do computation with squaring and square root
3151 for large arguments.
3152 * math/libm-test.inc (casin_test): Add more tests.
3153 (casinh_test): Likewise.
3154 * sysdeps/i386/fpu/libm-test-ulps: Update.
3155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3156
afec409a
L
31572013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3160 (__x86_64_raw_data_cache_size): Likewise.
3161 (__x86_64_data_cache_size_half): Likewise.
3162 (__x86_64_raw_data_cache_size_half): Likewise.
3163 (__x86_64_shared_cache_size): Likewise.
3164 (__x86_64_raw_shared_cache_size): Likewise.
3165 (__x86_64_shared_cache_size_half): Likewise.
3166 (__x86_64_raw_shared_cache_size_half): Likewise.
3167 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3168 to ...
3169 (__x86_data_cache_size): This.
3170 (__x86_64_raw_data_cache_size): Renamed to ...
3171 (__x86_raw_data_cache_size): This.
3172 (__x86_64_data_cache_size_half): Renamed to ...
3173 (__x86_data_cache_size_half): This.
3174 (__x86_64_raw_data_cache_size_half): Renamed to ...
3175 (__x86_raw_data_cache_size_half): This.
3176 (__x86_64_shared_cache_size): Renamed to ...
3177 (__x86_shared_cache_size): This.
3178 (__x86_64_raw_shared_cache_size): Renamed to ...
3179 (__x86_raw_shared_cache_size): This.
3180 (__x86_64_shared_cache_size_half): Renamed to ...
3181 (__x86_shared_cache_size_half): This.
3182 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3183 (__x86_raw_shared_cache_size_half): This.
3184 * sysdeps/x86_64/memcpy.S: Updated.
3185 * sysdeps/x86_64/memset.S: Likewise.
3186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3189
0b3986d0
DM
31902013-01-04 David S. Miller <davem@davemloft.net>
3191
3192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3193
e47686e9
AS
31942013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3195
d643bac1
AS
3196 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3197 1 to avoid redefinition warning.
3198 (__USE_GNU): Don't define.
3199 (init_signaling_nan): Protoize.
3200
e47686e9
AS
3201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3202
b18decba
SP
32032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3204
fffb407f
SP
3205 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3207 (__cpymn): Likewise.
3208 (norm): Remove commented code.
3209 (denorm): Likewise.
3210 (__mp_dbl): Likewise.
3211 (__inv): Likewise.
3212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3213 (__cpymn): Likewise.
3214 (norm): Remove commented code.
3215 (denorm): Likewise.
3216 (__mp_dbl): Likewise.
3217 (__inv): Likewise.
3218
b18decba
SP
3219 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3220 mp_no value for 1.0 and 2.0.
3221 (norm): Use RADIXI instead of radixi.d.
3222 (denorm): Likewise.
3223 (__mul): Use 0.0 instead of zero.d.
3224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3225 mp_no value for 1.0 and 2.0.
3226 (norm): Use RADIXI instead of radixi.d.
3227 (denorm): Likewise.
3228 (__mul): Use 0.0 instead of zero.d.
3229
cdc1c96f
JM
32302013-01-04 Joseph Myers <joseph@codesourcery.com>
3231
3232 [BZ #14994]
3233 * math/s_casinh.c (__casinh): Reduce finite argument to first
3234 quadrant then set signs of results at the end.
3235 * math/s_casinhf.c (__casinhf): Likewise.
3236 * math/s_casinhl.c (__casinhl): Likewise.
3237 * math/libm-test.inc (casin_test): Add more tests.
3238 (casinh_test): Likewise.
3239 * sysdeps/i386/fpu/libm-test-ulps: Update.
3240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3241
302913e1
SP
32422013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3243
6420d207
SP
3244 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3245
a9e48ab4
SP
3246 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3247
b7837264
SP
3248 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3249 declarations.
3250 (denorm): Likewise.
3251 (__mp_dbl): Likewise.
3252 (__inv): Likewise.
3253
f8af25d2
SP
3254 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3255 and adjust the header comment.
3256
302913e1
SP
3257 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3258 variable name from declaration.
3259
5d7dd1ca
L
32602013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3261
3262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3263 Initialize COMMON_CPUID_INDEX_7 element.
3264 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3265 (CPUID_RTM): Likewise.
3266 (HAS_RTM): Likewise.
3267 (COMMON_CPUID_INDEX_7): New enum.
3268
2f5f40f4
AS
32692013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3270
3271 [BZ #14981]
3272 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3273 size is zero, record memory as freed.
3274
4056f4a0
AJ
32752013-01-03 Andreas Jaeger <aj@suse.de>
3276
3277 * po/ia.po: Add new Interlingua translation.
3278
ab15736f 32792012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3280
3281 * locale/programs/localedef.c: Fix description of '--posix' flag.
3282
568035b7
JM
32832013-01-02 Joseph Myers <joseph@codesourcery.com>
3284
e6898b8d
JM
3285 * NEWS: Update dates in second copyright notice.
3286 * README: Update copyright dates in example.
3287 * manual/libc.texinfo: Update copyright dates.
3288 * scripts/test-installation.pl: Update copyright date in --version
3289 output.
3290
0e2f9562
JM
3291 * hurd/ctty-input.c: Fix copyright notice formatting.
3292 * hurd/ctty-output.c: Likewise.
3293 * hurd/dtable.c: Likewise.
3294 * hurd/hurd-raise.c: Likewise.
3295 * hurd/hurdprio.c: Likewise.
3296 * hurd/msgportdemux.c: Likewise.
3297 * misc/sys/file.h: Likewise.
3298 * misc/sys/ioctl.h: Likewise.
3299 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3300 * sysdeps/mach/hurd/chdir.c: Likewise.
3301 * sysdeps/mach/hurd/fchdir.c: Likewise.
3302 * sysdeps/mach/hurd/rename.c: Likewise.
3303 * sysdeps/mach/hurd/rmdir.c: Likewise.
3304 * sysdeps/mach/hurd/seekdir.c: Likewise.
3305 * sysdeps/mach/hurd/setsid.c: Likewise.
3306 * sysdeps/posix/wait3.c: Likewise.
3307
568035b7
JM
3308 * All files with FSF copyright notices: Update copyright dates
3309 using scripts/update-copyrights.
3310 * intl/plural.c: Regenerated.
3311 * locale/programs/charmap-kw.h: Likewise.
3312 * locale/programs/locfile-kw.h: Likewise.
3313
da08f647
SP
33142013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3315
0f5477af
SP
3316 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3317 four values.
3318
44e0d4c2
SP
3319 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3320 calculation loop and add branch prediction.
3321
4d55b4e5
SP
3322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3323 check access beyond bounds of m1np.
3324
da08f647
SP
3325 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3326 MPTWO.
3327 (__inv): Remove local variable MPTWO to use the global
3328 constant.
3329 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3331 variable MPTWO.
3332 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3333 MP3HALFS static const.
3334
8e051029
DM
33352013-01-01 David S. Miller <davem@davemloft.net>
3336
3337 * po/ca.po: Update from translation team.
3338
f4cf5f2d
JM
33392013-01-01 Joseph Myers <joseph@codesourcery.com>
3340
3341 * scripts/update-copyrights: New file.
3342 * Makeconfig: Reformat copyright notice.
3343 * ctype/ctype.h: Likewise.
3344 * debug/swprintf_chk.c: Likewise.
3345 * elf/dl-cache.c: Likewise.
3346 * elf/dl-debug.c: Likewise.
3347 * elf/dl-object.c: Likewise.
3348 * grp/initgroups.c: Likewise.
3349 * hurd/Makefile: Likewise.
3350 * hurd/hurd/signal.h: Likewise.
3351 * hurd/hurdfault.c: Likewise.
3352 * hurd/hurdioctl.c: Likewise.
3353 * hurd/hurdlookup.c: Likewise.
3354 * hurd/intr-msg.c: Likewise.
3355 * iconv/gconv_open.c: Likewise.
3356 * libio/swprintf.c: Likewise.
3357 * locale/lc-ctype.c: Likewise.
3358 * locale/nl_langinfo.c: Likewise.
3359 * mach/Machrules: Likewise.
3360 * mach/Makefile: Likewise.
3361 * malloc/obstack.h: Likewise.
3362 * manual/Makefile: Likewise.
3363 * manual/tsort.awk: Likewise.
3364 * misc/bits/stab.def: Likewise.
3365 * nis/nis_print_group_entry.c: Likewise.
3366 * nis/nis_table.c: Likewise.
3367 * nis/nss_compat/compat-pwd.c: Likewise.
3368 * nis/nss_compat/compat-spwd.c: Likewise.
3369 * po/Makefile: Likewise.
3370 * posix/fnmatch.c: Likewise.
3371 * posix/regex.h: Likewise.
3372 * resolv/Makefile: Likewise.
3373 * resolv/nss_dns/dns-network.c: Likewise.
3374 * resolv/res_hconf.c: Likewise.
3375 * scripts/gen-sorted.awk: Likewise.
3376 * soft-fp/soft-fp.h: Likewise.
3377 * stdio-common/printf.h: Likewise.
3378 * stdlib/monetary.h: Likewise.
3379 * stdlib/random.c: Likewise.
3380 * stdlib/random_r.c: Likewise.
3381 * sysdeps/generic/Makefile: Likewise.
3382 * sysdeps/gnu/Makefile: Likewise.
3383 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3406 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3407 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3408 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3409 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3410 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3411 * sysdeps/mach/hurd/errnos.awk: Likewise.
3412 * sysdeps/mach/hurd/fork.c: Likewise.
3413 * sysdeps/mach/hurd/getcwd.c: Likewise.
3414 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3415 * sysdeps/mach/hurd/mmap.c: Likewise.
3416 * sysdeps/mach/hurd/utimes.c: Likewise.
3417 * sysdeps/mach/hurd/xmknod.c: Likewise.
3418 * sysdeps/posix/profil.c: Likewise.
3419 * sysdeps/posix/readdir_r.c: Likewise.
3420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3421 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3422 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3423 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3425 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3426 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3427 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3429 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3430 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3431 * sysdeps/pthread/lio_listio.c: Likewise.
3432 * sysdeps/sparc/dl-procinfo.h: Likewise.
3433 * sysdeps/unix/i386/sysdep.S: Likewise.
3434 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3435 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3436 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3437 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3439 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3440 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3441 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3442 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3443 * sysdeps/wordsize-32/divdi3.c: Likewise.
3444 * time/sys/time.h: Likewise.
3445 * wcsmbs/Makefile: Likewise.
3446
0549fbba
DM
34472013-01-01 David S. Miller <davem@davemloft.net>
3448
a141f1a7
DM
3449 * po/fr.po: Update from translation team.
3450
0549fbba
DM
3451 * catgets/gencat.c: Update copyright year.
3452 * csu/version.c: Likewise.
3453 * debug/catchsegv.sh: Likewise.
3454 * debug/pcprofiledump.c: Likewise.
3455 * debug/xtrace.sh: Likewise.
3456 * elf/ldconfig.c: Likewise.
3457 * elf/ldd.bash.in: Likewise.
3458 * elf/pldd.c: Likewise.
3459 * elf/sotruss.ksh: Likewise.
3460 * elf/sprof.c: Likewise.
3461 * iconv/iconv_prog.c: Likewise.
3462 * iconv/iconvconfig.c: Likewise.
3463 * locale/programs/locale.c: Likewise.
3464 * locale/programs/localedef.c: Likewise.
3465 * login/programs/pt_chown.c: Likewise.
3466 * malloc/memusage.sh: Likewise.
3467 * malloc/memusagestat.c: Likewise.
3468 * malloc/mtrace.pl: Likewise.
3469 * nscd/nscd.c: Likewise.
3470 * nss/getent.c: Likewise.
3471 * nss/makedb.c: Likewise.
3472 * posix/getconf.c: Likewise.
3473
18ea052c
SP
34742012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3475
3476 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3477 numbers.
3478
9c89fca6
MF
34792012-12-30 Mike Frysinger <vapier@gentoo.org>
3480
3481 * math/bits/mathcalls.h (modf): Use __nonnull.
3482
085ec079
SP
34832012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3484
3485 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3486 (split): Use macro CN instead of the bare value.
3487 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3488 could be used.
3489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3490 instead of the bare value.
3491 (power1): Likewise.
3492
6d9f97e1
SP
34932012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3494
d63f73be
SP
3495 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3496 __ATAN_TWOM.
3497 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3498
6d9f97e1
SP
3499 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3500 their values.
3501 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3502 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3503 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3504 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3505
4c4febf5
AJ
35062012-12-28 Andreas Jaeger <aj@suse.de>
3507
af5843ef
AJ
3508 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3509 values are from Linux 3.7.
3510
4c4febf5
AJ
3511 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3512 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3513
99136f82
SP
35142012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3515
2f216c3c 3516 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3517 TRUE case.
3518
99136f82
SP
3519 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3520 (norm): Likewise.
3521 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3522 variables with preprocessor constants.
3523 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3524 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3525 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3526
7fffbdff
BH
35272012-12-27 Bruno Haible <bruno@clisp.org>
3528
3529 [BZ #14317]
3530 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3531 only if needed.
3532
b76eb5f0
SP
35332012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3534
31a7fe5c
SP
3535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3536 and use variable directly.
3537 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3538
b76eb5f0
SP
3539 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3540 MPONE.
3541 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3542 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3543 variable MPONE.
3544 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3546 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3547 include directive. Remove local variable MPONE.
3548 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3549 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3550 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3551
2c8bfe7d
DM
35522012-12-25 David S. Miller <davem@davemloft.net>
3553
3554 * version.h (RELEASE): Set to "development".
3555 (VERSION): Set to "2.17.90".
3556 * NEWS: Add 2.18 section.
3557
147d03b0
DM
35582012-12-21 David S. Miller <davem@davemloft.net>
3559
3560 * po/hr.po: Update from translation team.
3561
a8ebb2b9
AK
35622012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3563
3564 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3565
95b4f1b6
SE
35662012-12-19 Steve Ellcey <sellcey@mips.com>
3567
b2d94007 3568 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3569
cedb2a90
MS
35702012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3571
3572 * manual/contrib.texi (Contributors): Spelling correction.
3573
bbf527d6
DM
35742012-12-15 David S. Miller <davem@davemloft.net>
3575
3576 * po/ru.po: Update from translation team.
3577
bc38c906
DM
35782012-12-13 David S. Miller <davem@davemloft.net>
3579
85429b1a
DM
3580 * NEWS: Mention IFUNC testsuite enhancements.
3581
d283e353
DM
3582 * po/pl.po: Update from translation team.
3583 * po/bg.po: Likewise.
3584
bc38c906
DM
3585 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3586 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3587
a181b0d7
DM
35882012-12-11 David S. Miller <davem@davemloft.net>
3589
4641d57e
DM
3590 * po/sv.po: Update from translation team.
3591
f7bc6495
DM
3592 * po/vi.po: Update from translation team.
3593
6fc9048f
DM
3594 * po/cs.po: Update from translation team.
3595
a181b0d7
DM
3596 * po/de.po: Update from translation team.
3597 * po/eo.po: Likewise.
3598 * po/nl.po: Likewise.
3599
f70bfe80
SP
36002012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
3c8b4190
SP
3602 [BZ #14246]
3603 * manual/argp.texi (Argp Helper Functions): Move node to follow
3604 Argp Parsing State.
3605
f70bfe80
SP
3606 [BZ #14872]
3607 * manual/conf.texi (Limits on File System Capacity): Mention if
3608 terminating null is included in the max size.
3609
188f0adf
AJ
36102012-12-10 Andreas Jaeger <aj@suse.de>
3611
3612 * po/cs.po: Update from translation team.
3613
56e7d3ad
SP
36142012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3615
3616 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3617 void pointer and cast to uintptr_t.
3618 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3619 path.
3620 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3621 * sysdeps/s390/s390-64/memset.S: Likewise.
3622
76f2d2ea 36232012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3624
3625 [BZ #14833]
3626 * menual/message.texi (Message Translation): Fix typos.
3627 (Helper programs for gettext): Likewise.
3628
67cbf9a2
AS
36292012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 [BZ #14898]
3632 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3633 Change to -1.
3634
682d0e9a
DM
36352012-12-07 David S. Miller <davem@davemloft.net>
3636
3637 * po/libc.pot: Update.
3638
573cd484
RH
36392012-12-07 Richard Henderson <rth@redhat.com>
3640
7e9da188 3641 [BZ #10114]
573cd484
RH
3642 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3643 normal/normal case to before the switch.
3644 (_FP_DIV): Likewise.
3645
e933a943
MF
36462012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3647 Mike Frysinger <vapier@gentoo.org>
3648
3649 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3650 check for __NR_fadvise64_64.
3651
82123268
CM
36522012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3653
3654 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3655 0, not just to plain "0" as a statement.
3656 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3657 with cw.
3658
d9814526
JM
36592012-12-06 Joseph Myers <joseph@codesourcery.com>
3660
3661 * NEWS: Use sourceware.org in Bugzilla URL.
3662
7728c574
SP
36632012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3664
f16946dd
SP
3665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3666 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3667
5704bbcb
SP
3668 * stdio-common/tst-put-error.c (do_test): Add newline to the
3669 padded test to ensure flush.
3670
17aa0516
JL
36712012-12-05 Jeff Law <law@redhat.com>
3672
3673 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3674
363313b5
JM
36752012-12-05 Joseph Myers <joseph@codesourcery.com>
3676
effbd42a
JM
3677 * README: Don't refer to ports add-on as distributed separately.
3678 Mention AArch64 in list of systems supported in the ports add-on.
3679
87600365
JM
3680 * LICENSES: Add more non-FSF copyright and license notices.
3681
a0d7066a
JM
3682 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3683 ((unused)).
3684
66ca5a5b
JM
3685 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3686
363313b5
JM
3687 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3688 10000 as width of padded output.
3689
b37984ad
JM
36902012-12-04 Joseph Myers <joseph@codesourcery.com>
3691
9003570a
JM
3692 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3693
b37984ad
JM
3694 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3695 variable LX with __attribute__ ((unused)).
3696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3697 Likewise.
3698 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3699 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3701 with __attribute__ ((unused)).
3702
c8df52ec
DM
37032012-12-04 David S. Miller <davem@abraco.davemloft.net>
3704
3705 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3706
b3b099af
JM
37072012-12-04 Joseph Myers <joseph@codesourcery.com>
3708
c33aa6e3
JM
3709 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3710 (CFLAGS-nldbl-acos.c): New variable.
3711 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3712 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3713 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3714 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3715 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3716 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3717 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3718 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3719 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3720 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3721 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3722 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3723 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3724 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3725 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3726 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3727 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3728 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3729 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3730 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3731 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3732 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3733 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3734 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3735 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3736 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3737 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3738 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3739 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3740 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3741 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3742 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3743 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3744 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3745 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3746 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3747 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3748 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3749 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3750 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3751 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3752 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3753 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3754 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3755 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3756 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3757 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3758 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3759 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3760 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3761 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3762 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3763 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3764 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3765 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3766 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3767 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3768 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3769 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3770 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3771 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3772 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3773 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3774 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3775 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3776 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3777 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3778 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3779 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3780 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3781 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3782 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3783 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3784 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3785 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3786 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3787 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3788 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3789 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3790 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3791 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3792 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3793 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3794 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3795 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3796 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3797 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3798 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3799 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3800 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3801 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3802 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3803 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3804 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3805 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3806 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3807 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3808
20f0018d
JM
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3810 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3811
b3b099af
JM
3812 [BZ #14914]
3813 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3814 whole low double instead of just low 47 bits when splitting values
3815 into two parts.
3816
029264d1
AM
38172012-12-03 Allan McRae <allan@archlinux.org>
3818
3819 * manual/stdio.texi (Predefined Printf Handlers): Remove
3820 @hsep and @vsep usage.
3821
c9d6789e
MF
38222012-12-03 Mike Frysinger <vapier@gentoo.org>
3823
3824 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3825 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3826
4b7634a5
JL
38272012-12-03 Jeff Law <law@redhat.com>
3828
3829 * time/sys/time.h (settimeofday): Do not mark TV argument
3830 as __nonnull.
3831
eb6cbd24
MF
38322012-12-01 Mike Frysinger <vapier@gentoo.org>
3833
3834 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3835 when currently writing and seek to current position when not.
3836 * libio/Makefile (tests): Remove bug-fclose1.
3837 * libio/bug-fclose1.c: Delete.
3838
f638872a
JM
38392012-12-01 Joseph Myers <joseph@codesourcery.com>
3840
3841 * manual/arith.texi (feenableexcept): Fix typo.
3842 (fedisableexcept): Likewise.
3843
48085d14
RM
38442012-11-30 Roland McGrath <roland@hack.frob.com>
3845
3846 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3847 second, differently-typed declaration, rather than a cast.
3848
1a538b9f
SP
38492012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3850
3851 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3852 * include/rpc/svc.h: ... here.
3853
d07f2ff1 38542012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3855
3856 [BZ #13013]
3857 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3858 depending n and resplen2 to catch cases where answer
3859 equals answerp2.
3860
c93ec1f0
CD
38612012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3862
3863 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3864 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3865
37db69de
MF
38662012-11-29 Mike Frysinger <vapier@gentoo.org>
3867
3868 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3869
e10c4e4f
RM
38702012-11-29 Roland McGrath <roland@hack.frob.com>
3871
3872 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3873
2af1b328
JL
38742012-11-28 Jeff Law <law@redhat.com>
3875
3876 [BZ #13761]
3877 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3878 dataset_temporary. Track alloca usage into alloca_used.
3879 If dataset is large allocate and release it via malloc/free.
3880
111db5b1
FW
38812012-06-04 Florian Weimer <fweimer@redhat.com>
3882
f06cc227 3883 [BZ #14197]
111db5b1
FW
3884 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3885
dd694abd
DM
38862012-11-28 David S. Miller <davem@davemloft.net>
3887
3888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3889
9984dd01
JM
38902012-11-28 Joseph Myers <joseph@codesourcery.com>
3891
3892 [BZ #14803]
3893 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3894 of pi/2 rounded to nearest to 64 bits.
3895 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3896 nearest to 64 bits.
3897 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3898 bits.
3899
14bc93a9
JL
39002012-11-28 Jeff Law <law@redhat.com>
3901 Martin Osvald <mosvald@redhat.com>
3902
3903 [BZ #14889]
3904 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3905 * sunrpc/svc.c: Include time.h.
3906 (__svc_accept_failed): New function.
3907 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3908 any reason other than EINTR, call __svc_accept_failed.
3909 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3910 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3911
e3c6aa3a
AS
39122012-11-28 Andreas Schwab <schwab@suse.de>
3913
3914 * scripts/abilist.awk: Also handle indirect functions in .opd
3915 section.
3916
1bead169
JM
39172012-11-28 Joseph Myers <joseph@codesourcery.com>
3918
3919 [BZ #13881]
3920 * sysdeps/x86/fpu/powl_helper.c: New file.
3921 * sysdeps/x86/fpu/Makefile: Likewise.
3922 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3923 (p3): New object.
3924 (__ieee754_powl): Use __powl_helper for finite arguments except
3925 integer exponents below 8.
3926 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3927 (p3): New object.
3928 (__ieee754_powl): Use __powl_helper for finite arguments except
3929 integer exponents below 8.
3930 * math/libm-test.inc (pow_test): Add more tests and enable some
3931 previously disabled tests.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3934
0817d63d
SP
39352012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3936 Carlos O'Donell <carlos_odonell@mentor.com>
3937
3938 * nss/makedb.c (is_prime): Assert that input is odd and greater
3939 than 4. Note that fact in a comment too.
3940 (next_prime): Add 4 to input.
3941
de2fd463
SP
39422012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3943
3944 [BZ #11741]
3945 * libio/Makefile (tests): Add test case tst-fwrite-error.
3946 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3947 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3948 * libio/tst-fwrite-error.c: New test case.
3949
c515fb51
L
39502012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3951
3952 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3953 before casting to void *.
3954 * include/libc-internal.h (__pointer_type): New macro.
3955 (__integer_if_pointer_type_sub): Likewise.
3956 (__integer_if_pointer_type): Likewise.
3957 (cast_to_integer): Likewise.
3958 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3959 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3960 before casting to atomic64_t.
3961 (atomic_exchange_acq): Likewise.
3962 (__arch_exchange_and_add_body): Likewise.
3963 (__arch_add_body): Likewise.
3964 (atomic_add_negative): Likewise.
3965 (atomic_add_zero): Likewise.
3966
4cf77aa9
JM
39672012-11-26 Joseph Myers <joseph@codesourcery.com>
3968
3969 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3970 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3971 (add_fdes): Likewise.
3972 (linear_search_fdes): Likewise.
3973 (binary_search_unencoded_fdes): Likewise.
3974
d260b3b4
AS
39752012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3976
3977 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3978
67060746
AC
39792012-11-24 Adam Conrad <adconrad@0c3.net>
3980
3981 * configure.in: Autodetect C++ header directories.
3982 * configure: Regenerated.
3983
800938a1
MF
39842012-11-23 Mike Frysinger <vapier@gentoo.org>
3985
3986 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3987
4e6e34e6
AS
39882012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3989
3990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3991
7c7feb47
JM
39922012-11-22 Joseph Myers <joseph@codesourcery.com>
3993
7184dcdf
JM
3994 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3995 LDBL_MANT_DIG == 106]: Disable some tests.
3996 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3997 Likewise.
3998 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3999 Likewise.
4000
0a42601f
JM
4001 [BZ #14871]
4002 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4003 input for small inputs. Return +/- pi/2 for large inputs.
4004 * math/libm-test.inc (atan_test): Add more tests.
4005
79c9b9fe
JM
4006 * sysdeps/generic/unwind-dw2-fde-glibc.c
4007 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4008 __attribute__ ((unused)).
4009
c60d3bf2
JM
4010 [BZ #14645]
4011 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4012 x * y if x and y are nonzero and z is zero.
4013
ef1e0867
JM
4014 [BZ #14811]
4015 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4016 nonzero exponents with absolute value below 0x1p-117 to +/-
4017 0x1p-117.
4018
1468ded3
JM
4019 [BZ #14869]
4020 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4021 up arguments below 2**-450, not just those below 2**-500.
4022 * math/libm-test.inc (hypot_test): Add another test.
4023
8e27e3cc
JM
4024 [BZ #14868]
4025 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4026 Return a+b for ratio over 2**120, not 2**60.
4027 * math/libm-test.inc (hypot_test): Add another test.
4028
c9c0279b
JM
4029 * math/libm-test.inc (clog_test): Use
4030 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4031 (clog10_test): Likewise.
4032
7c7feb47
JM
4033 [BZ #6778]
4034 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4035
fff1530e
AS
40362012-11-22 Andreas Schwab <schwab@suse.de>
4037
4038 * sysdeps/i386/fpu/libm-test-ulps: Update.
4039
94558d30
PT
40402012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4041
4042 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4043 printf output with newline.
4044
7e1be741
L
40452012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4046
6bfea974
L
4047 [BZ #14865]
4048 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4049 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4050 -z nodlopen, -z initfirst and -z execstack support.
4051 * configure: Regenerated.
4052
7e1be741
L
4053 * elf/elf.h (DF_1_NODIRECT): New macro.
4054 (DF_1_IGNMULDEF): Likewise.
4055 (DF_1_NOKSYMS): Likewise.
4056 (DF_1_NOHDR): Likewise.
4057 (DF_1_EDITED): Likewise.
4058 (DF_1_NORELOC): Likewise.
4059 (DF_1_SYMINTPOSE): Likewise.
4060 (DF_1_GLOBAUDIT): Likewise.
4061 (DF_1_SINGLETON): Likewise.
4062 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4063 DT_1_SUPPORTED_MASK bits.
4064 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4065
105ce2ce
CD
40662012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4067
4068 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4069
123be9de
TS
40702012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4071
d072f3f7
TS
4072 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4073 macro.
4074
123be9de
TS
4075 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4076 (sendmmsg): Move declarations...
4077 * socket/sys/socket.h: ... here.
4078 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4079 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4080 include it from...
4081 * socket/recvmmsg.c: ... this new file.
4082 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4083 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4084 definition of __sendmmsg hidden.
4085 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4086 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4087 Move ENOSYS stub into and include it from...
4088 * socket/sendmmsg.c: ... this new file.
4089 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4090 (sysdep_routines): Move recvmmsg and sendmmsg...
4091 * socket/Makefile (routines): ... here.
4092 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4093 (GLIBC_PRIVATE): Add __sendmmsg.
4094 * include/sys/socket.h (__sendmmsg): Add declarations.
4095 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4096 sendmmsg.
4097
cf9a5d18
JM
40982012-11-20 Joseph Myers <joseph@codesourcery.com>
4099
4100 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4101 variable I1 with __attribute__ ((unused)).
4102 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4103
ecd4caf9
JM
41042012-11-19 Joseph Myers <joseph@codesourcery.com>
4105
be14d48f
JM
4106 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4107 DUMMY variables with __attribute__ ((unused)).
4108
ecd4caf9
JM
4109 * bits/byteswap.h: Include <bits/types.h>.
4110 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4111
986cab95
PT
41122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4113
4114 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4115 string_t. Do not manually set errno.
4116 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4117 length with __strnlen. Make sure to both set errno and return it on
4118 failure.
4119
6d33cc9d
DM
41202012-11-19 David S. Miller <davem@davemloft.net>
4121
4122 With help from Joseph Myers.
4123 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4124 very large arguments properly.
4125 * math/libm-test.inc (atan_test): New tests.
4126 (atan2_test): New tests.
4127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4128 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4129
ee663277
JM
41302012-11-19 Joseph Myers <joseph@codesourcery.com>
4131
877f2d8e
JM
4132 [BZ #14856]
4133 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4134 Define to 3.
4135
116fc08a
JM
4136 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4137 [POSIX] (EADDRNOTAVAIL): Likewise.
4138 [POSIX] (EAFNOSUPPORT): Likewise.
4139 [POSIX] (EALREADY): Likewise.
4140 [POSIX] (ECONNABORTED): Likewise.
4141 [POSIX] (ECONNREFUSED): Likewise.
4142 [POSIX] (ECONNRESET): Likewise.
4143 [POSIX] (EDESTADDRREQ): Likewise.
4144 [POSIX] (EDQUOT): Likewise.
4145 [POSIX] (EHOSTUNREACH): Likewise.
4146 [POSIX] (EIDRM): Likewise.
4147 [POSIX] (EISCONN): Likewise.
4148 [POSIX] (ELOOP): Likewise.
4149 [POSIX] (EMULTIHOP): Likewise.
4150 [POSIX] (ENETDOWN): Likewise.
4151 [POSIX] (ENETUNREACH): Likewise.
4152 [POSIX] (ENOBUFS): Likewise.
4153 [POSIX] (ENODATA): Likewise.
4154 [POSIX] (ENOLINK): Likewise.
4155 [POSIX] (ENOMSG): Likewise.
4156 [POSIX] (ENOPROTOOPT): Likewise.
4157 [POSIX] (ENOSR): Likewise.
4158 [POSIX] (ENOSTR): Likewise.
4159 [POSIX] (ENOTCONN): Likewise.
4160 [POSIX] (ENOTSOCK): Likewise.
4161 [POSIX] (EOPNOTSUPP): Likewise.
4162 [POSIX] (EOVERFLOW): Likewise.
4163 [POSIX] (EPROTO): Likewise.
4164 [POSIX] (EPROTONOSUPPORT): Likewise.
4165 [POSIX] (EPROTOTYPE): Likewise.
4166 [POSIX] (ESTALE): Likewise.
4167 [POSIX] (ETIME): Likewise.
4168 [POSIX] (ETXTBSY): Likewise.
4169 [POSIX] (EWOULDBLOCK): Likewise.
4170 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4171 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4172 [POSIX] (SEEK_CUR): Likewise.
4173 [POSIX] (SEEK_END): Likewise.
4174 [POSIX || UNIX98] (mode_t): Do not require.
4175 [POSIX] (off_t): Likewise.
4176 [POSIX] (pid_t): Likewise.
4177 [POSIX] (sys/stat.h): Do not allow header.
4178 [POSIX] (unistd.h): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4180 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4182 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4183 require.
4184 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4185 sigevent): Specify elements.
4186 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4187 entry.
4188 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4189 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4190
a483863f
JM
4191 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4192 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4193 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4194 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4195 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4196 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4197 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4198 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4200 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4201 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4202 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4203 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4204 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4205 Likewise.
4206 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4207 Likewise.
4208 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4209 Likewise.
4210 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4211 Likewise.
4212 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4213 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4214 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4215 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4216 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4217 Specify lower bound on value.
4218 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4219 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4220 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4221 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4222 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4223 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4224 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4225 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4226 value.
4227 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4228 as optional.
4229 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4230 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4231 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4232 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4233 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4234 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4235 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4236 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4237 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4238 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4239 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4240 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4241 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4242 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4243 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4244 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4245 entry.
4246 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4247 optional.
4248 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4249 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4250 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4251 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4252 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4253 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4254 Likewise.
4255 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4256 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4257 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4258 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4259 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4260 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4261 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4262 as optional.
4263 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4264 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4265 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4266 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4267 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4268 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4269 specify as optional.
4270 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4271 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4272 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4273 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4274 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4275 [XPG3] (NL_LANGMAX): Likewise.
4276 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4277 [POSIX || XPG3] (NL_NMAX): Likewise.
4278 [POSIX || XPG3] (NL_SETMAX): Likewise.
4279 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4280 [XPG3] (NZERO): Likewise.
4281 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4282 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4283 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4284 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4285 (REG_ERANGE): Expect.
4286 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4287 optional-constant.
4288 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4289 Use (void) in prototype.
4290 [POSIX] (*_t): Allow.
4291 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4292 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4293 (WRDE_BADVAL): Expect.
4294
5ba924e3
JM
4295 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4296 expect.
4297 [XPG3 || XPG4] (O_RSYNC): Likewise.
4298 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4299 Likewise.
4300 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4301 [XPG3 || XPG4] (sigqueue): Likewise.
4302 [XPG3 || XPG4] (sigtimedwait): Likewise.
4303 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4304 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4305 [XPG3 || XPG4] (vsnprintf): Likewise.
4306 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4307 Likewise.
4308 [XPG3 || XPG4] (blksize_t): Likewise.
4309 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4310 Likewise.
4311 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4312 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4313 [XPG3 || XPG4] (struct itimerspec): Likewise.
4314 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4315 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4316 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4317 [XPG3 || XPG4] (clockid_t): Likewise.
4318 [XPG3 || XPG4] (timer_t): Likewise.
4319 [XPG3 || XPG4] (clock_getres): Likewise.
4320 [XPG3 || XPG4] (clock_gettime): Likewise.
4321 [XPG3 || XPG4] (clock_settime): Likewise.
4322 [XPG3 || XPG4] (nanosleep): Likewise.
4323 [XPG3 || XPG4] (timer_create): Likewise.
4324 [XPG3 || XPG4] (timer_delete): Likewise.
4325 [XPG3 || XPG4] (timer_gettime): Likewise.
4326 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4327 [XPG3 || XPG4] (timer_settime): Likewise.
4328 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4329 [XPG3 || XPG4] (getlogin_r): Likewise.
4330 [XPG3 || XPG4] (pread): Likewise.
4331 [XPG3 || XPG4] (pthread_atfork): Likewise.
4332 [XPG3 || XPG4] (pwrite): Likewise.
4333
ee663277
JM
4334 [BZ #14835]
4335 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4336 <bits/siginfo.h>.
4337
942caa16
PT
43382012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4339
e19af380
PT
4340 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4341 finalizing MALLSTREAM.
4342
942caa16
PT
4343 * sysdeps/mach/hurd/syncfs.c: New file.
4344
cfde9b46
SP
43452012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4346
4347 [BZ #14719]
4348 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4349 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4350 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4351 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4352 (_nss_dns_gethostbyname4_r): Likewise.
4353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4354 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4355
f6da27e5
PH
43562012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4357
4358 [BZ #13763]
4359 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4360
6665d4a2
SM
43612012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4362
1f51ee92
SM
4363 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4364 * elf/cache.c (print_entry): Print ",AArch64" for
4365 FLAG_AARCH64_LIB64
4366
6665d4a2
SM
4367 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4368 * elf/cache.c (print_entry): Print ",hard-float" for
4369 FLAG_ARM_LIBHF.
4370
05b227bd
DM
43712012-11-18 David S. Miller <davem@davemloft.net>
4372
4373 With help from Joseph Myers.
4374 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4375 cutoff to 2**-13.
4376 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4377 cutoff to 2**-25.
4378 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4379 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4380 small.
4381 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4382 * math/libm-test.inc (y0_test): New tests.
4383 (y1_test): New tests.
4384 * sysdeps/i386/fpu/libm-test-ulps: Update.
4385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4387
786b0b67
AS
43882012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4389
4390 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4391 64-bit targets.
4392 * configure: Regenerated.
4393
8e18b86d
DM
43942012-11-17 David S. Miller <davem@davemloft.net>
4395
4396 [BZ #14811]
4397 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4398 nonzero exponents with absolute value below 0x1p-128 to +/-
4399 0x1p-128.
4400
531f1ae0
JM
44012012-11-17 Joseph Myers <joseph@codesourcery.com>
4402
12df29e2
JM
4403 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4404
150dc1a0
JM
4405 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4406
531f1ae0
JM
4407 * posix/getconf-speclist.c: New file.
4408 * posix/posix-envs.def: Likewise.
4409 * posix/confstr.c (START_ENV_GROUP): New macro.
4410 (END_ENV_GROUP): Likewise.
4411 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4412 (KNOWN_PRESENT_ENV_STRING): Likewise.
4413 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4414 (UNKNOWN_ENVIRONMENT): Likewise.
4415 (confstr): Include posix-envs.def instead of handling
4416 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4417 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4418 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4419 (END_ENV_GROUP): Likewise.
4420 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4421 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4422 (UNKNOWN_ENVIRONMENT): Likewise.
4423 (__sysconf): Include posix-envs.def instead of handling associated
4424 cases directly here.
4425 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4426 preprocessing getconf-speclist.c rather than running getconf or
4427 generating empty file.
4428
a93f9cbc
PT
44292012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4430
4431 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4432
d64d9f87
AL
44332012-11-16 Andrej Lajovic <natrij@gmail.com>
4434
4435 [BZ #14672]
4436 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4437
447885eb
DM
44382012-11-16 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4441 smaller than LDBL_EPSILON/2.0L, just return xm1.
4442
bcbf9830
L
44432012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4444
4445 * elf/tst-array1.c (init): Set constructor priority to 1000.
4446 (fini): Set destructor priority to 1000.
4447 * elf/tst-array2dep.c: Likewise.
4448
2b766585
SP
44492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4450
4451 [BZ #11741]
4452 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4453 (_IO_new_file_xsputn): Also return EOF if none of the input
4454 data was written when overflow failed.
4455 * libio/iopadn.c (_IO_padn): Likewise.
4456 * libio/iowpadn.c (_IO_wpadn): Likewise.
4457 * stdio-common/tst-put-error.c: Add copyright notice.
4458 (do_test): Add case for printing padded string.
4459 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4460 _IO_padn returned error.
4461 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4462 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4463 return EOF.
4464
b1848fde
SP
44652012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4466
4467 * libio/libioP.h: Add comment note that the references to C++
4468 bits are now obsolete.
4469
2fd89785
MS
44702012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4471
4472 * math/libm-test.inc (check_complex): Use asprintf.
4473
e3ea5409
JM
44742012-11-14 Joseph Myers <joseph@codesourcery.com>
4475
4476 * debug/pcprofiledump.c (print_version): Update copyright year.
4477 * malloc/memusagestat.c (print_version): Likewise.
4478
2e64d265
L
44792012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4480
4481 [BZ #14831]
4482 * elf/Makefile (tests): Add tst-audit8.
4483 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4484 ($(objpfx)tst-audit8.out): New target.
4485 (tst-audit8-ENV): New variable.
4486 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4487 audit if l_reloc_result is NULL.
4488 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4489 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4490 * elf/tst-audit8.c: New file.
4491
c485e4d2
MS
44922012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4493
4494 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4495 * misc/Makefile (CFLAGS-select.c): Define.
4496 * posix/Makefile (CFLAGS-pause.c): Define.
4497
3a0d900a
DM
44982012-11-13 David S. Miller <davem@davemloft.net>
4499
4500 * crypt/Makefile: Move test targets after toplevel Rules
4501 inclusion. Grab any necessary sysdep routines when linking.
4502 * crypt/md5.c (md5_process_block): Remove define, we will always
4503 name it __md5_process_block.
4504 (md5_finish_ctx): Update md5_process_block call.
4505 (md5_stream): Likewise.
4506 (md5_process_bytes): Likewise.
4507 (md5_process_block): Rename to __md5_process_block and move to ...
4508 * crypt/md5-block.c: ... here.
4509 * crypt/sha256.c (sha256_process_block): Move to ...
4510 * crypt/sha256-block.c: ... here.
4511 * crypt/sha512.c (sha512_process_block): Move to ...
4512 * crypt/sha512-block.c: ... here.
4513 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4514 path.
4515 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4516 * sysdeps/sparc/sparc64/multiarch/Makefile
4517 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4518 crypt subdir.
4519 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4520 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4521 multiarch changes.
4522 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4523 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4524 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4525 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4526 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4527 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4528 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4529 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4530 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4531 file.
4532 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4533 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4534 file.
4535 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4536
8ca89318
JM
45372012-11-13 Joseph Myers <joseph@codesourcery.com>
4538
e27d476a
JM
4539 * timezone/tzselect.ksh: Update from tzcode git revision
4540 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4541 * timezone/zdump.c: Likewise.
4542 * timezone/zic.c: Likewise.
4543 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4544 in TZVERSION setting, not $(PKGVERSION).
4545 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4546 REPORT_BUGS_TO settings.
4547
8ca89318
JM
4548 [BZ #14838]
4549 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4550 macro.
4551
47594329
MS
45522012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4553
4554 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4555 detection to immediately after _FP_ROUND().
4556 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4557 bits are 0.
4558
640ac3f1
DM
45592012-11-11 David S. Miller <davem@davemloft.net>
4560
4561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4562 inttypes.h
4563 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4564 __close rather than their public counterparts.
4565
3d2577bb
JM
45662012-11-10 Joseph Myers <joseph@codesourcery.com>
4567
4568 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4569 file.
4570 [UNIX98] (sem_timedwait): Do not expect.
4571 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4572 [XPG4 || UNIX98] (sockatmark): Do not expect.
4573 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4574 (clock_getcpuclockid): Do not expect.
4575 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4576 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4577 Do not expect.
4578 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4579 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4580 [UNIX98] (vwscanf): Likewise.
4581 [UNIX98] (vswscanf): Likewise.
4582
fb1ae1ee
JM
45832012-11-09 Joseph Myers <joseph@codesourcery.com>
4584
9ec6f8bd
JM
4585 * timezone/version.h: Remove file.
4586 * timezone/README: Do not refer to version.h.
4587 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4588 $(objpfx)version.h.
4589 ($(objpfx)zdump.o): Likewise.
c3f81911 4590 ($(objpfx)version.h): New target.
9ec6f8bd 4591
0aa8f8a1
JM
4592 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4593 2012i.
4594 * timezone/README: Don't mention modification to tzselect.ksh.
4595 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4596 work on unmodified tzselect.ksh. Substitute version numbers in
4597 tzselect.ksh.
4598
4e87147f
JM
4599 * Makefile (format-me): Remove.
4600 (INSTALL): Adjust indentation. Use commands directly instead of
4601 using $(format-me).
4602
8b748aed
JM
4603 * aclocal.m4 (ACX_PKGVERSION): New macro.
4604 (ACX_BUGURL): Likewise.
4605 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4606 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4607 (REPORT_BUGS_TO): Likewise.
4608 * configure: Regenerated.
4609 * config.h.in (PKGVERSION): New macro.
4610 (REPORT_BUGS_TO): Likewise.
4611 * config.make.in (PKGVERSION): New variable.
4612 (PKGVERSION_TEXI): Likewise.
4613 (REPORT_BUGS_TO): Likewise.
4614 (REPORT_BUGS_TEXI): Likewise.
4615 * Makefile (format-me): Use -I$(common-objpfx)manual.
4616 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4617 ($(common-objpfx)manual/%): New target.
4618 (manual/%): Remove target.
4619 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4620 (print_version): Use PKGVERSION.
4621 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4622 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4623 and REPORT_BUGS_TO.
4624 ($(objpfx)xtrace): Likewise.
4625 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4626 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4627 (print_version): Use PKGVERSION.
4628 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4629 (do_version): Use PKGVERSION.
4630 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4631 REPORT_BUGS_TO.
4632 (common-ldd-rewrite): Likewise.
4633 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4634 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4635 (print_version): Use PKGVERSION.
4636 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4637 * elf/pldd.c (argp_program_bug_address): Remove variable.
4638 (more_help): New function.
4639 (argp): Use more_help.
4640 (print_version): Use PKGVERSION.
4641 * elf/sln.c (main): Use PKGVERSION.
4642 (usage): Use REPORT_BUGS_TO.
4643 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4644 (top level): Use PKGVERSION.
4645 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4646 (print_version): Use PKGVERSION.
4647 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4648 (print_version): Use PKGVERSION.
4649 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4650 (print_version): Use PKGVERSION.
4651 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4652 (print_version): Use PKGVERSION.
4653 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4654 (print_version): Use PKGVERSION.
4655 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4656 (print_version): Use PKGVERSION.
4657 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4658 and BUGURL.
4659 ($(objpfx)memusage): Likewise.
4660 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4661 (do_version): Use PKGVERSION.
4662 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4663 (print_version): Use PKGVERSION.
4664 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4665 ($PKGVERSION): New variable.
4666 ($REPORT_BUGS_TO): Likewise.
4667 (usage): Use $REPORT_BUGS_TO.
4668 (top level): Use $PKGVERSION.
4669 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4670 ($(objpfx)pkgvers.texi): New rule.
4671 ($(objpfx)stamp-pkgvers): Likewise.
4672 * manual/install.texi: Include pkgvers.texi.
4673 (--with-pkgversion): Document new configure option.
4674 (--with-bugurl): Likewise.
4675 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4676 than necessarily for this particular distribution. Use
4677 REPORT_BUGS_TO for where to report bugs.
4678 * INSTALL: Regenerated.
4679 * manual/libc.texinfo: Include pkgvers.texi.
4680 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4681 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4682 (print_version): Use PKGVERSION.
4683 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4684 (print_version): Use PKGVERSION.
4685 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4686 (print_version): Use PKGVERSION.
4687 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4688 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4689 macro.
4690 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4691 (print_version): Use PKGVERSION.
4692 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4693 (print_version): Use PKGVERSION.
4694 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4695 and PKGVERSION.
4696
92e4b6a9
JM
4697 * timezone/checktab.awk: Update from tzcode 2012i.
4698 * timezone/ialloc.c: Likewise.
4699 * timezone/private.h: Likewise.
4700 * timezone/scheck.c: Likewise.
4701 * timezone/tzfile.h: Likewise.
4702 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4703 (TZVERSION): Hardcode tzcode version number.
4704 * timezone/zdump.c: Update from tzcode 2012i.
4705 * timezone/zic.c: Likewise.
4706 * timezone/version.h: New file.
4707 * timezone/README: Describe version.h. Update upstream location.
4708
9bde902c
JM
4709 [BZ #14824]
4710 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4711 (mktemp): Enable declaration.
4712 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4714 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4716 Likewise.
4717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4718 Likewise.
4719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4720 Likewise.
4721 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4722 Likewise.
4723 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4724 Likewise.
4725 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4726 Likewise.
4727
fb1ae1ee
JM
4728 [BZ #14821]
4729 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4730 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4731 for copies of such integer values.
4732 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4733 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4734
2c1adbcb
AJ
47352012-11-09 Andreas Jaeger <aj@suse.de>
4736
4737 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4738 definitions and declarations that are provided by
4739 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4740
d0f8457e
AK
47412012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4742
3a235abb 4743 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4744 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4745 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4746 definition.
4747
57241e26
MS
47482012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4749
4750 * elf/elf.h: Update comment before AArch64 relocations.
4751
60e8270d
DM
47522012-11-07 David S. Miller <davem@davemloft.net>
4753
4754 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4755 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4756 (__start_context): Declare.
4757 (__makecontext_ret): Delete.
4758 (__makecontext): Hook up __start_context instead of
4759 __makecontext_ret.
4760 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4761 (sysdep_routines): Add __start_context when in stdlib.
4762
0fbb0fbc
JM
47632012-11-07 Joseph Myers <joseph@codesourcery.com>
4764
4765 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4766 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4767 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4768 hardcoded "nm".
4769 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4770 (READELF): New variable. Use it instead of hardcoded "readelf".
4771
eb48db7e
L
47722012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4773
4774 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4775 * sysdeps/x86/Makefile: Here.
4776 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4777 * sysdeps/x86/tst-xmmymm.sh: This.
4778
05bcf62a
JM
47792012-11-07 Joseph Myers <joseph@codesourcery.com>
4780
c4b6cf53
JM
4781 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4782 expectations.
4783 [UNIX98] (pthread_barrier_t): Do not expect.
4784 [UNIX98] (pthread_barrierattr_t): Likewise.
4785 [UNIX98] (pthread_spinlock_t): Likewise.
4786 [UNIX98] (pthread_barrier_destroy): Likewise.
4787 [UNIX98] (pthread_barrier_init): Likewise.
4788 [UNIX98] (pthread_barrier_wait): Likewise.
4789 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4790 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4791 [UNIX98] (pthread_barrierattr_init): Likewise.
4792 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4793 [UNIX98] (pthread_getcpuclockid): Likewise.
4794 [UNIX98] (pthread_mutex_timedlock): Likewise.
4795 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4796 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4797 [UNIX98] (pthread_sigmask): Likewise.
4798 [UNIX98] (pthread_spin_destroy): Likewise.
4799 [UNIX98] (pthread_spin_init): Likewise.
4800 [UNIX98] (pthread_spin_lock): Likewise.
4801 [UNIX98] (pthread_spin_trylock): Likewise.
4802 [UNIX98] (pthread_spin_unlock): Likewise.
4803 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4804 Do not expect.
4805 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4807 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4808 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4809 [XPG3 || XPG4] (pthread_key_t): Likewise.
4810 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4811 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4812 [XPG3 || XPG4] (pthread_once_t): Likewise.
4813 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4814 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4816 [XPG3 || XPG4] (pthread_t): Likewise.
4817
cbe6e120
JM
4818 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4819 not expect.
4820 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4821
1b126443
JM
4822 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4823 Change function return type to int.
4824
b961a573
JM
4825 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4826 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4827 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4828 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4829 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4830 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4831 [!POSIX] (posix_madvise): Likewise.
4832 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4833 && !UNIX98].
4834 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4835 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4836 (mode_t): Likewise.
4837 (posix_mem_offset): Likewise.
4838 (posix_typed_mem_get_info): Likewise.
4839 (posix_typed_mem_open): Likewise.
4840
9e188909
JM
4841 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4842 Change condition to [XOPEN2K8].
4843
05bcf62a
JM
4844 * conform/conformtest.pl: Preprocess allow-header data with -x c
4845 instead of from stdin.
4846 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4847 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4848 [C99-based standards] (cerfc): Likewise.
4849 [C99-based standards] (cexp2): Likewise.
4850 [C99-based standards] (cexpm1): Likewise.
4851 [C99-based standards] (clog10): Likewise.
4852 [C99-based standards] (clog1p): Likewise.
4853 [C99-based standards] (clog2): Likewise.
4854 [C99-based standards] (clgamma): Likewise.
4855 [C99-based standards] (ctgamma): Likewise.
4856 [C99-based standards] (cerff): Likewise.
4857 [C99-based standards] (cerfcf): Likewise.
4858 [C99-based standards] (cexp2f): Likewise.
4859 [C99-based standards] (cexpm1f): Likewise.
4860 [C99-based standards] (clog10f): Likewise.
4861 [C99-based standards] (clog1pf): Likewise.
4862 [C99-based standards] (clog2f): Likewise.
4863 [C99-based standards] (clgammaf): Likewise.
4864 [C99-based standards] (ctgammaf): Likewise.
4865 [C99-based standards] (cerfl): Likewise.
4866 [C99-based standards] (cerfcl): Likewise.
4867 [C99-based standards] (cexp2l): Likewise.
4868 [C99-based standards] (cexpm1l): Likewise.
4869 [C99-based standards] (clog10l): Likewise.
4870 [C99-based standards] (clog1pl): Likewise.
4871 [C99-based standards] (clog2l): Likewise.
4872 [C99-based standards] (clgammal): Likewise.
4873 [C99-based standards] (ctgammal): Likewise.
4874 * conform/data/inttypes.h-data [C99-based standards]: Include
4875 stdint.h-data. Remove all expectations for stdint.h contents.
4876 [C99-based standards] (PRI*): Do not allow.
4877 [C99-based standards] (SCN*): Likewise.
4878 [C99-based standards] (*_t): Likewise.
4879 [C99-based-standards] (PRId8): Expect macro.
4880 [C99-based-standards] (PRIi8): Likewise.
4881 [C99-based-standards] (PRIo8): Likewise.
4882 [C99-based-standards] (PRIu8): Likewise.
4883 [C99-based-standards] (PRIx8): Likewise.
4884 [C99-based-standards] (PRIX8): Likewise.
4885 [C99-based-standards] (SCNd8): Likewise.
4886 [C99-based-standards] (SCNi8): Likewise.
4887 [C99-based-standards] (SCNo8): Likewise.
4888 [C99-based-standards] (SCNu8): Likewise.
4889 [C99-based-standards] (SCNx8): Likewise.
4890 [C99-based-standards] (PRIdLEAST8): Likewise.
4891 [C99-based-standards] (PRIiLEAST8): Likewise.
4892 [C99-based-standards] (PRIoLEAST8): Likewise.
4893 [C99-based-standards] (PRIuLEAST8): Likewise.
4894 [C99-based-standards] (PRIxLEAST8): Likewise.
4895 [C99-based-standards] (PRIXLEAST8): Likewise.
4896 [C99-based-standards] (SCNdLEAST8): Likewise.
4897 [C99-based-standards] (SCNiLEAST8): Likewise.
4898 [C99-based-standards] (SCNoLEAST8): Likewise.
4899 [C99-based-standards] (SCNuLEAST8): Likewise.
4900 [C99-based-standards] (SCNxLEAST8): Likewise.
4901 [C99-based-standards] (PRIdFAST8): Likewise.
4902 [C99-based-standards] (PRIiFAST8): Likewise.
4903 [C99-based-standards] (PRIoFAST8): Likewise.
4904 [C99-based-standards] (PRIuFAST8): Likewise.
4905 [C99-based-standards] (PRIxFAST8): Likewise.
4906 [C99-based-standards] (PRIXFAST8): Likewise.
4907 [C99-based-standards] (SCNdFAST8): Likewise.
4908 [C99-based-standards] (SCNiFAST8): Likewise.
4909 [C99-based-standards] (SCNoFAST8): Likewise.
4910 [C99-based-standards] (SCNuFAST8): Likewise.
4911 [C99-based-standards] (SCNxFAST8): Likewise.
4912 [C99-based-standards] (PRId16): Likewise.
4913 [C99-based-standards] (PRIi16): Likewise.
4914 [C99-based-standards] (PRIo16): Likewise.
4915 [C99-based-standards] (PRIu16): Likewise.
4916 [C99-based-standards] (PRIx16): Likewise.
4917 [C99-based-standards] (PRIX16): Likewise.
4918 [C99-based-standards] (SCNd16): Likewise.
4919 [C99-based-standards] (SCNi16): Likewise.
4920 [C99-based-standards] (SCNo16): Likewise.
4921 [C99-based-standards] (SCNu16): Likewise.
4922 [C99-based-standards] (SCNx16): Likewise.
4923 [C99-based-standards] (PRIdLEAST16): Likewise.
4924 [C99-based-standards] (PRIiLEAST16): Likewise.
4925 [C99-based-standards] (PRIoLEAST16): Likewise.
4926 [C99-based-standards] (PRIuLEAST16): Likewise.
4927 [C99-based-standards] (PRIxLEAST16): Likewise.
4928 [C99-based-standards] (PRIXLEAST16): Likewise.
4929 [C99-based-standards] (SCNdLEAST16): Likewise.
4930 [C99-based-standards] (SCNiLEAST16): Likewise.
4931 [C99-based-standards] (SCNoLEAST16): Likewise.
4932 [C99-based-standards] (SCNuLEAST16): Likewise.
4933 [C99-based-standards] (SCNxLEAST16): Likewise.
4934 [C99-based-standards] (PRIdFAST16): Likewise.
4935 [C99-based-standards] (PRIiFAST16): Likewise.
4936 [C99-based-standards] (PRIoFAST16): Likewise.
4937 [C99-based-standards] (PRIuFAST16): Likewise.
4938 [C99-based-standards] (PRIxFAST16): Likewise.
4939 [C99-based-standards] (PRIXFAST16): Likewise.
4940 [C99-based-standards] (SCNdFAST16): Likewise.
4941 [C99-based-standards] (SCNiFAST16): Likewise.
4942 [C99-based-standards] (SCNoFAST16): Likewise.
4943 [C99-based-standards] (SCNuFAST16): Likewise.
4944 [C99-based-standards] (SCNxFAST16): Likewise.
4945 [C99-based-standards] (PRId32): Likewise.
4946 [C99-based-standards] (PRIi32): Likewise.
4947 [C99-based-standards] (PRIo32): Likewise.
4948 [C99-based-standards] (PRIu32): Likewise.
4949 [C99-based-standards] (PRIx32): Likewise.
4950 [C99-based-standards] (PRIX32): Likewise.
4951 [C99-based-standards] (SCNd32): Likewise.
4952 [C99-based-standards] (SCNi32): Likewise.
4953 [C99-based-standards] (SCNo32): Likewise.
4954 [C99-based-standards] (SCNu32): Likewise.
4955 [C99-based-standards] (SCNx32): Likewise.
4956 [C99-based-standards] (PRIdLEAST32): Likewise.
4957 [C99-based-standards] (PRIiLEAST32): Likewise.
4958 [C99-based-standards] (PRIoLEAST32): Likewise.
4959 [C99-based-standards] (PRIuLEAST32): Likewise.
4960 [C99-based-standards] (PRIxLEAST32): Likewise.
4961 [C99-based-standards] (PRIXLEAST32): Likewise.
4962 [C99-based-standards] (SCNdLEAST32): Likewise.
4963 [C99-based-standards] (SCNiLEAST32): Likewise.
4964 [C99-based-standards] (SCNoLEAST32): Likewise.
4965 [C99-based-standards] (SCNuLEAST32): Likewise.
4966 [C99-based-standards] (SCNxLEAST32): Likewise.
4967 [C99-based-standards] (PRIdFAST32): Likewise.
4968 [C99-based-standards] (PRIiFAST32): Likewise.
4969 [C99-based-standards] (PRIoFAST32): Likewise.
4970 [C99-based-standards] (PRIuFAST32): Likewise.
4971 [C99-based-standards] (PRIxFAST32): Likewise.
4972 [C99-based-standards] (PRIXFAST32): Likewise.
4973 [C99-based-standards] (SCNdFAST32): Likewise.
4974 [C99-based-standards] (SCNiFAST32): Likewise.
4975 [C99-based-standards] (SCNoFAST32): Likewise.
4976 [C99-based-standards] (SCNuFAST32): Likewise.
4977 [C99-based-standards] (SCNxFAST32): Likewise.
4978 [C99-based-standards] (PRId64): Likewise.
4979 [C99-based-standards] (PRIi64): Likewise.
4980 [C99-based-standards] (PRIo64): Likewise.
4981 [C99-based-standards] (PRIu64): Likewise.
4982 [C99-based-standards] (PRIx64): Likewise.
4983 [C99-based-standards] (PRIX64): Likewise.
4984 [C99-based-standards] (SCNd64): Likewise.
4985 [C99-based-standards] (SCNi64): Likewise.
4986 [C99-based-standards] (SCNo64): Likewise.
4987 [C99-based-standards] (SCNu64): Likewise.
4988 [C99-based-standards] (SCNx64): Likewise.
4989 [C99-based-standards] (PRIdLEAST64): Likewise.
4990 [C99-based-standards] (PRIiLEAST64): Likewise.
4991 [C99-based-standards] (PRIoLEAST64): Likewise.
4992 [C99-based-standards] (PRIuLEAST64): Likewise.
4993 [C99-based-standards] (PRIxLEAST64): Likewise.
4994 [C99-based-standards] (PRIXLEAST64): Likewise.
4995 [C99-based-standards] (SCNdLEAST64): Likewise.
4996 [C99-based-standards] (SCNiLEAST64): Likewise.
4997 [C99-based-standards] (SCNoLEAST64): Likewise.
4998 [C99-based-standards] (SCNuLEAST64): Likewise.
4999 [C99-based-standards] (SCNxLEAST64): Likewise.
5000 [C99-based-standards] (PRIdFAST64): Likewise.
5001 [C99-based-standards] (PRIiFAST64): Likewise.
5002 [C99-based-standards] (PRIoFAST64): Likewise.
5003 [C99-based-standards] (PRIuFAST64): Likewise.
5004 [C99-based-standards] (PRIxFAST64): Likewise.
5005 [C99-based-standards] (PRIXFAST64): Likewise.
5006 [C99-based-standards] (SCNdFAST64): Likewise.
5007 [C99-based-standards] (SCNiFAST64): Likewise.
5008 [C99-based-standards] (SCNoFAST64): Likewise.
5009 [C99-based-standards] (SCNuFAST64): Likewise.
5010 [C99-based-standards] (SCNxFAST64): Likewise.
5011 [C99-based-standards] (PRIdMAX): Likewise.
5012 [C99-based-standards] (PRIiMAX): Likewise.
5013 [C99-based-standards] (PRIoMAX): Likewise.
5014 [C99-based-standards] (PRIuMAX): Likewise.
5015 [C99-based-standards] (PRIxMAX): Likewise.
5016 [C99-based-standards] (PRIXMAX): Likewise.
5017 [C99-based-standards] (SCNdMAX): Likewise.
5018 [C99-based-standards] (SCNiMAX): Likewise.
5019 [C99-based-standards] (SCNoMAX): Likewise.
5020 [C99-based-standards] (SCNuMAX): Likewise.
5021 [C99-based-standards] (SCNxMAX): Likewise.
5022 [C99-based-standards] (PRIdPTR): Likewise.
5023 [C99-based-standards] (PRIiPTR): Likewise.
5024 [C99-based-standards] (PRIoPTR): Likewise.
5025 [C99-based-standards] (PRIuPTR): Likewise.
5026 [C99-based-standards] (PRIxPTR): Likewise.
5027 [C99-based-standards] (PRIXPTR): Likewise.
5028 [C99-based-standards] (SCNdPTR): Likewise.
5029 [C99-based-standards] (SCNiPTR): Likewise.
5030 [C99-based-standards] (SCNoPTR): Likewise.
5031 [C99-based-standards] (SCNuPTR): Likewise.
5032 [C99-based-standards] (SCNxPTR): Likewise.
5033 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5034 allow.
5035 * conform/data/stdint.h-data: Update comments to clarify
5036 requirements.
5037 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5038 type.
5039 [C99-based standards] (INT8_MAX): Likewise.
5040 [C99-based standards] (INT16_MIN): Likewise.
5041 [C99-based standards] (INT16_MAX): Likewise.
5042 [C99-based standards] (INT32_MIN): Likewise.
5043 [C99-based standards] (INT32_MAX): Likewise.
5044 [C99-based standards] (INT64_MIN): Likewise.
5045 [C99-based standards] (INT64_MAX): Likewise.
5046 [C99-based standards] (UINT8_MAX): Likewise.
5047 [C99-based standards] (UINT16_MAX): Likewise.
5048 [C99-based standards] (UINT32_MAX): Likewise.
5049 [C99-based standards] (UINT64_MAX): Likewise.
5050 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5051 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5052 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5053 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5054 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5055 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5056 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5057 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5058 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5059 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5060 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5061 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5062 [C99-based standards] (INT_FAST8_MIN): Likewise.
5063 [C99-based standards] (INT_FAST8_MAX): Likewise.
5064 [C99-based standards] (INT_FAST16_MIN): Likewise.
5065 [C99-based standards] (INT_FAST16_MAX): Likewise.
5066 [C99-based standards] (INT_FAST32_MIN): Likewise.
5067 [C99-based standards] (INT_FAST32_MAX): Likewise.
5068 [C99-based standards] (INT_FAST64_MIN): Likewise.
5069 [C99-based standards] (INT_FAST64_MAX): Likewise.
5070 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5071 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5072 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5073 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5074 [C99-based standards] (INTPTR_MIN): Likewise.
5075 [C99-based standards] (INTPTR_MAX): Likewise.
5076 [C99-based standards] (UINTPTR_MAX): Likewise.
5077 [C99-based standards] (INTMAX_MIN): Likewise.
5078 [C99-based standards] (INTMAX_MAX): Likewise.
5079 [C99-based standards] (UINTMAX_MAX): Likewise.
5080 [C99-based standards] (PTRDIFF_MIN): Likewise.
5081 [C99-based standards] (PTRDIFF_MAX): Likewise.
5082 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5083 [C99-based standards] (SIZE_MAX): Likewise.
5084 [C99-based standards] (WCHAR_MAX): Likewise.
5085 [C99-based standards] (WINT_MAX): Likewise.
5086 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5087 constraint on value.
5088 [C99-based standards] (WCHAR_MIN): Likewise.
5089 [C99-based standards] (WINT_MIN): Likewise.
5090 [C99-based standards] (*_t): Allow.
5091 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5092 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5093 Include math.h-data and complex.h-data. Remove all expectations
5094 of math.h and complex.h contents.
5095 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5096 at end of line.
5097 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5098 (struct tm): Expect tag.
5099 [C99-based-standards] (wcstof): Expect function.
5100 [C99-based-standards] (wcstold): Likewise.
5101 [C99-based-standards] (wcstoll): Likewise.
5102 [C99-based-standards] (wcstoull): Likewise.
5103 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5104 macro-int-constant. Specify type.
5105 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5106 constraint on value.
5107 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5108 Specify type.
5109 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5110 Specify value.
5111 [ISO C standards]: Do not allow headers.
5112 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5113 wcs[abcdefghijklmnopqrstuvwxyz]*.
5114 [ISO C standards] (*_t): Do not allow.
5115 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5116 Expect function.
5117 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5118 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5119 Specify type.
5120 [ISO C standards]: Do not allow headers.
5121 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5122 is[abcdefghijklmnopqrstuvwxyz]*.
5123 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5124 to[abcdefghijklmnopqrstuvwxyz]*.
5125 [ISO C standards] (*_t): Do not allow.
5126 * conform/data/stdalign.h-data: New file.
5127 * conform/data/stdbool.h-data: Likewise.
5128 * conform/data/stdnoreturn.h-data: Likewise.
5129
7514feb8
RM
51302012-11-07 Roland McGrath <roland@hack.frob.com>
5131
5132 [BZ #14815]
5133 * manual/filesys.texi (Directory Entries): Typo fix.
5134 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5135
19b2ecfc
MS
51362012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5137
5138 * elf/elf.h (EM_AARCH64): New macro.
5139 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5140 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5141 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5142 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5143 (R_AARCH64_TLSDESC): Likewise.
5144 (NT_ARM_TLS): Likewise.
5145 (NT_ARM_HW_BREAK): Likewise.
5146 (NT_ARM_HW_WATCH): Likewise.
5147
60e235ee
JM
51482012-11-07 Joseph Myers <joseph@codesourcery.com>
5149
5150 [BZ #14811]
5151 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5152 (__ieee754_powl): Saturate nonzero exponents with absolute value
5153 below 0x1p-79 to +/- 0x1p-79.
5154 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5155 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5156 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5157 nonzero exponents with absolute value below 0x1p-32 to +/-
5158 0x1p-32.
5159 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5160 (__ieee754_powl): Saturate nonzero exponents with absolute value
5161 below 0x1p-79 to +/- 0x1p-79.
5162 * math/libm-test.inc (pow_test): Add more tests.
5163
0ab234b7
AK
51642012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5165
5166 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5167 _dl_s390_cap_flags with kernel. Increase string length.
5168 (_dl_s390_platforms): Add z196 and zEC12.
5169
45832f74
JM
51702012-11-07 Joseph Myers <joseph@codesourcery.com>
5171
5172 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5173 Change XOPEN21K to XOPEN2K.
5174
19218757
MK
51752012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5176
5177 * string/memmove.c: Use memcpy when possible.
5178
c5f45721
AJ
51792012-11-06 Andreas Jaeger <aj@suse.de>
5180
5181 * po/eo.po: Update from translation team.
5182
82477c28
JM
51832012-11-06 Joseph Myers <joseph@codesourcery.com>
5184
5185 [BZ #14793]
5186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5187 exponent and small x and y exponents, scale x or y up. Increase
5188 by 2 the exponent used in scaling up.
5189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5190 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5191 * math/libm-test.inc (fma_test): Add more tests.
5192 (fma_test_towardzero): Likewise.
5193 (fma_test_downward): Likewise.
5194 (fma_test_upward): Likewise.
5195
99252c8c
JM
51962012-11-05 Joseph Myers <joseph@codesourcery.com>
5197
acfa885f
JM
5198 [BZ #14805]
5199 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5200 fenv_t *.
5201
99252c8c
JM
5202 [BZ #14801]
5203 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5204 namespace for names of struct fields.
5205 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5206 fenv_t fields.
5207 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5208 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5209
d6d98dea
ST
52102012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5211
5212 [BZ #3665]
5213 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5214
e10bb107
TS
52152012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5216
5217 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5218 PTR_DEMANGLE.
5219
5220 [BZ #5246]
5221 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5222 PTR_DEMANGLE.
5223
a0c2940d
JM
52242012-11-04 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #14797]
5227 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5228 definitely overflow as x * y not x * y + z.
5229 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5231 * math/libm-test.inc (fma_test): Add more tests.
5232 (fma_test_towardzero): Likewise.
5233 (fma_test_downward): Likewise.
5234 (fma_test_upward): Likewise.
5235
b830319d
TS
52362012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5237
5238 [BZ #157]
5239
5240 * include/stub-tag.h: Remove file.
5241 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5242 '#include' of it.
5243 * manual/maint.texi (Porting): Don't reference it.
5244 * Makerules ($(objpfx)stubs): Likewise.
5245 * dirent/closedir.c: Don't include <stub-tag.h>.
5246 * dirent/dirfd.c: Likewise.
5247 * dirent/fdopendir.c: Likewise.
5248 * dirent/getdents.c: Likewise.
5249 * dirent/getdents64.c: Likewise.
5250 * dirent/opendir.c: Likewise.
5251 * dirent/readdir.c: Likewise.
5252 * dirent/readdir64.c: Likewise.
5253 * dirent/readdir64_r.c: Likewise.
5254 * dirent/readdir_r.c: Likewise.
5255 * dirent/rewinddir.c: Likewise.
5256 * dirent/seekdir.c: Likewise.
5257 * dirent/telldir.c: Likewise.
5258 * gmon/profil.c: Likewise.
5259 * grp/setgroups.c: Likewise.
5260 * inet/if_index.c: Likewise.
5261 * io/access.c: Likewise.
5262 * io/chdir.c: Likewise.
5263 * io/chmod.c: Likewise.
5264 * io/chown.c: Likewise.
5265 * io/close.c: Likewise.
5266 * io/dup.c: Likewise.
5267 * io/dup2.c: Likewise.
5268 * io/dup3.c: Likewise.
5269 * io/euidaccess.c: Likewise.
5270 * io/faccessat.c: Likewise.
5271 * io/fchdir.c: Likewise.
5272 * io/fchmod.c: Likewise.
5273 * io/fchmodat.c: Likewise.
5274 * io/fchown.c: Likewise.
5275 * io/fchownat.c: Likewise.
5276 * io/fcntl.c: Likewise.
5277 * io/flock.c: Likewise.
5278 * io/fstatfs.c: Likewise.
5279 * io/fstatfs64.c: Likewise.
5280 * io/fstatvfs.c: Likewise.
5281 * io/fstatvfs64.c: Likewise.
5282 * io/futimens.c: Likewise.
5283 * io/fxstat.c: Likewise.
5284 * io/fxstat64.c: Likewise.
5285 * io/fxstatat.c: Likewise.
5286 * io/fxstatat64.c: Likewise.
5287 * io/getcwd.c: Likewise.
5288 * io/isatty.c: Likewise.
5289 * io/lchmod.c: Likewise.
5290 * io/lchown.c: Likewise.
5291 * io/link.c: Likewise.
5292 * io/linkat.c: Likewise.
5293 * io/lseek.c: Likewise.
5294 * io/lseek64.c: Likewise.
5295 * io/lxstat64.c: Likewise.
5296 * io/mkdir.c: Likewise.
5297 * io/mkdirat.c: Likewise.
5298 * io/mkfifo.c: Likewise.
5299 * io/mkfifoat.c: Likewise.
5300 * io/open.c: Likewise.
5301 * io/open64.c: Likewise.
5302 * io/openat.c: Likewise.
5303 * io/openat64.c: Likewise.
5304 * io/pipe.c: Likewise.
5305 * io/pipe2.c: Likewise.
5306 * io/poll.c: Likewise.
5307 * io/posix_fadvise.c: Likewise.
5308 * io/posix_fadvise64.c: Likewise.
5309 * io/posix_fallocate.c: Likewise.
5310 * io/posix_fallocate64.c: Likewise.
5311 * io/read.c: Likewise.
5312 * io/readlink.c: Likewise.
5313 * io/readlinkat.c: Likewise.
5314 * io/rmdir.c: Likewise.
5315 * io/sendfile.c: Likewise.
5316 * io/sendfile64.c: Likewise.
5317 * io/statfs.c: Likewise.
5318 * io/statfs64.c: Likewise.
5319 * io/statvfs.c: Likewise.
5320 * io/statvfs64.c: Likewise.
5321 * io/symlink.c: Likewise.
5322 * io/symlinkat.c: Likewise.
5323 * io/ttyname.c: Likewise.
5324 * io/ttyname_r.c: Likewise.
5325 * io/umask.c: Likewise.
5326 * io/unlink.c: Likewise.
5327 * io/unlinkat.c: Likewise.
5328 * io/utime.c: Likewise.
5329 * io/utimensat.c: Likewise.
5330 * io/write.c: Likewise.
5331 * io/xmknod.c: Likewise.
5332 * io/xmknodat.c: Likewise.
5333 * io/xstat.c: Likewise.
5334 * io/xstat64.c: Likewise.
5335 * login/getpt.c: Likewise.
5336 * login/grantpt.c: Likewise.
5337 * login/unlockpt.c: Likewise.
5338 * math/e_acoshl.c: Likewise.
5339 * math/e_acosl.c: Likewise.
5340 * math/e_asinl.c: Likewise.
5341 * math/e_atan2l.c: Likewise.
5342 * math/e_atanhl.c: Likewise.
5343 * math/e_coshl.c: Likewise.
5344 * math/e_expl.c: Likewise.
5345 * math/e_fmodl.c: Likewise.
5346 * math/e_gammal_r.c: Likewise.
5347 * math/e_hypotl.c: Likewise.
5348 * math/e_j0l.c: Likewise.
5349 * math/e_j1l.c: Likewise.
5350 * math/e_jnl.c: Likewise.
5351 * math/e_lgammal_r.c: Likewise.
5352 * math/e_log10l.c: Likewise.
5353 * math/e_log2l.c: Likewise.
5354 * math/e_logl.c: Likewise.
5355 * math/e_powl.c: Likewise.
5356 * math/e_rem_pio2l.c: Likewise.
5357 * math/e_sinhl.c: Likewise.
5358 * math/e_sqrtl.c: Likewise.
5359 * math/fclrexcpt.c: Likewise.
5360 * math/fedisblxcpt.c: Likewise.
5361 * math/feenablxcpt.c: Likewise.
5362 * math/fegetenv.c: Likewise.
5363 * math/fegetexcept.c: Likewise.
5364 * math/fegetround.c: Likewise.
5365 * math/feholdexcpt.c: Likewise.
5366 * math/fesetenv.c: Likewise.
5367 * math/fesetround.c: Likewise.
5368 * math/feupdateenv.c: Likewise.
5369 * math/fgetexcptflg.c: Likewise.
5370 * math/fraiseexcpt.c: Likewise.
5371 * math/fsetexcptflg.c: Likewise.
5372 * math/ftestexcept.c: Likewise.
5373 * math/k_cosl.c: Likewise.
5374 * math/k_rem_pio2l.c: Likewise.
5375 * math/k_sinl.c: Likewise.
5376 * math/k_tanl.c: Likewise.
5377 * math/s_asinhl.c: Likewise.
5378 * math/s_atanl.c: Likewise.
5379 * math/s_cbrtl.c: Likewise.
5380 * math/s_erfl.c: Likewise.
5381 * math/s_expm1l.c: Likewise.
5382 * math/s_log1pl.c: Likewise.
5383 * math/s_tanhl.c: Likewise.
5384 * misc/acct.c: Likewise.
5385 * misc/brk.c: Likewise.
5386 * misc/chflags.c: Likewise.
5387 * misc/chroot.c: Likewise.
5388 * misc/fchflags.c: Likewise.
5389 * misc/fgetxattr.c: Likewise.
5390 * misc/flistxattr.c: Likewise.
5391 * misc/fremovexattr.c: Likewise.
5392 * misc/fsetxattr.c: Likewise.
5393 * misc/fsync.c: Likewise.
5394 * misc/ftruncate.c: Likewise.
5395 * misc/futimes.c: Likewise.
5396 * misc/futimesat.c: Likewise.
5397 * misc/getdomain.c: Likewise.
5398 * misc/getdtsz.c: Likewise.
5399 * misc/gethostid.c: Likewise.
5400 * misc/gethostname.c: Likewise.
5401 * misc/getloadavg.c: Likewise.
5402 * misc/getpagesize.c: Likewise.
5403 * misc/getsysstats.c: Likewise.
5404 * misc/getxattr.c: Likewise.
5405 * misc/gtty.c: Likewise.
5406 * misc/ioctl.c: Likewise.
5407 * misc/lgetxattr.c: Likewise.
5408 * misc/listxattr.c: Likewise.
5409 * misc/llistxattr.c: Likewise.
5410 * misc/lremovexattr.c: Likewise.
5411 * misc/lsetxattr.c: Likewise.
5412 * misc/lutimes.c: Likewise.
5413 * misc/madvise.c: Likewise.
5414 * misc/mincore.c: Likewise.
5415 * misc/mlock.c: Likewise.
5416 * misc/mlockall.c: Likewise.
5417 * misc/mmap.c: Likewise.
5418 * misc/mprotect.c: Likewise.
5419 * misc/msync.c: Likewise.
5420 * misc/munlock.c: Likewise.
5421 * misc/munlockall.c: Likewise.
5422 * misc/munmap.c: Likewise.
5423 * misc/preadv.c: Likewise.
5424 * misc/preadv64.c: Likewise.
5425 * misc/ptrace.c: Likewise.
5426 * misc/pwritev.c: Likewise.
5427 * misc/pwritev64.c: Likewise.
5428 * misc/readv.c: Likewise.
5429 * misc/reboot.c: Likewise.
5430 * misc/remap_file_pages.c: Likewise.
5431 * misc/removexattr.c: Likewise.
5432 * misc/revoke.c: Likewise.
5433 * misc/select.c: Likewise.
5434 * misc/setdomain.c: Likewise.
5435 * misc/setegid.c: Likewise.
5436 * misc/seteuid.c: Likewise.
5437 * misc/sethostid.c: Likewise.
5438 * misc/sethostname.c: Likewise.
5439 * misc/setregid.c: Likewise.
5440 * misc/setreuid.c: Likewise.
5441 * misc/setxattr.c: Likewise.
5442 * misc/sstk.c: Likewise.
5443 * misc/stty.c: Likewise.
5444 * misc/swapoff.c: Likewise.
5445 * misc/swapon.c: Likewise.
5446 * misc/sync.c: Likewise.
5447 * misc/syncfs.c: Likewise.
5448 * misc/syscall.c: Likewise.
5449 * misc/truncate.c: Likewise.
5450 * misc/ualarm.c: Likewise.
5451 * misc/usleep.c: Likewise.
5452 * misc/ustat.c: Likewise.
5453 * misc/utimes.c: Likewise.
5454 * misc/vhangup.c: Likewise.
5455 * misc/writev.c: Likewise.
5456 * posix/_exit.c: Likewise.
5457 * posix/alarm.c: Likewise.
5458 * posix/execve.c: Likewise.
5459 * posix/fexecve.c: Likewise.
5460 * posix/fork.c: Likewise.
5461 * posix/fpathconf.c: Likewise.
5462 * posix/getaddrinfo.c: Likewise.
5463 * posix/getegid.c: Likewise.
5464 * posix/geteuid.c: Likewise.
5465 * posix/getgid.c: Likewise.
5466 * posix/getgroups.c: Likewise.
5467 * posix/getlogin.c: Likewise.
5468 * posix/getlogin_r.c: Likewise.
5469 * posix/getpgid.c: Likewise.
5470 * posix/getpid.c: Likewise.
5471 * posix/getppid.c: Likewise.
5472 * posix/getresgid.c: Likewise.
5473 * posix/getresuid.c: Likewise.
5474 * posix/getsid.c: Likewise.
5475 * posix/getuid.c: Likewise.
5476 * posix/glob64.c: Likewise.
5477 * posix/nanosleep.c: Likewise.
5478 * posix/pathconf.c: Likewise.
5479 * posix/pause.c: Likewise.
5480 * posix/posix_madvise.c: Likewise.
5481 * posix/pread.c: Likewise.
5482 * posix/pread64.c: Likewise.
5483 * posix/pwrite.c: Likewise.
5484 * posix/pwrite64.c: Likewise.
5485 * posix/sched_getaffinity.c: Likewise.
5486 * posix/sched_getp.c: Likewise.
5487 * posix/sched_gets.c: Likewise.
5488 * posix/sched_primax.c: Likewise.
5489 * posix/sched_primin.c: Likewise.
5490 * posix/sched_rr_gi.c: Likewise.
5491 * posix/sched_setaffinity.c: Likewise.
5492 * posix/sched_setp.c: Likewise.
5493 * posix/sched_sets.c: Likewise.
5494 * posix/sched_yield.c: Likewise.
5495 * posix/setgid.c: Likewise.
5496 * posix/setlogin.c: Likewise.
5497 * posix/setpgid.c: Likewise.
5498 * posix/setresgid.c: Likewise.
5499 * posix/setresuid.c: Likewise.
5500 * posix/setsid.c: Likewise.
5501 * posix/setuid.c: Likewise.
5502 * posix/sleep.c: Likewise.
5503 * posix/spawni.c: Likewise.
5504 * posix/sysconf.c: Likewise.
5505 * posix/times.c: Likewise.
5506 * posix/wait.c: Likewise.
5507 * posix/wait3.c: Likewise.
5508 * posix/wait4.c: Likewise.
5509 * posix/waitpid.c: Likewise.
5510 * resolv/gai_sigqueue.c: Likewise.
5511 * resource/getpriority.c: Likewise.
5512 * resource/getrlimit.c: Likewise.
5513 * resource/getrusage.c: Likewise.
5514 * resource/nice.c: Likewise.
5515 * resource/setpriority.c: Likewise.
5516 * resource/setrlimit.c: Likewise.
5517 * resource/ulimit.c: Likewise.
5518 * rt/aio_cancel.c: Likewise.
5519 * rt/aio_fsync.c: Likewise.
5520 * rt/aio_read.c: Likewise.
5521 * rt/aio_sigqueue.c: Likewise.
5522 * rt/aio_suspend.c: Likewise.
5523 * rt/aio_write.c: Likewise.
5524 * rt/clock_getres.c: Likewise.
5525 * rt/clock_gettime.c: Likewise.
5526 * rt/clock_nanosleep.c: Likewise.
5527 * rt/clock_settime.c: Likewise.
5528 * rt/lio_listio.c: Likewise.
5529 * rt/mq_close.c: Likewise.
5530 * rt/mq_getattr.c: Likewise.
5531 * rt/mq_notify.c: Likewise.
5532 * rt/mq_open.c: Likewise.
5533 * rt/mq_receive.c: Likewise.
5534 * rt/mq_send.c: Likewise.
5535 * rt/mq_setattr.c: Likewise.
5536 * rt/mq_timedreceive.c: Likewise.
5537 * rt/mq_timedsend.c: Likewise.
5538 * rt/mq_unlink.c: Likewise.
5539 * rt/shm_open.c: Likewise.
5540 * rt/shm_unlink.c: Likewise.
5541 * rt/timer_create.c: Likewise.
5542 * rt/timer_delete.c: Likewise.
5543 * rt/timer_getoverr.c: Likewise.
5544 * rt/timer_gettime.c: Likewise.
5545 * rt/timer_settime.c: Likewise.
5546 * setjmp/__longjmp.c: Likewise.
5547 * setjmp/setjmp.c: Likewise.
5548 * signal/kill.c: Likewise.
5549 * signal/killpg.c: Likewise.
5550 * signal/raise.c: Likewise.
5551 * signal/sigaction.c: Likewise.
5552 * signal/sigaltstack.c: Likewise.
5553 * signal/sigblock.c: Likewise.
5554 * signal/sigignore.c: Likewise.
5555 * signal/sigintr.c: Likewise.
5556 * signal/signal.c: Likewise.
5557 * signal/sigpause.c: Likewise.
5558 * signal/sigpending.c: Likewise.
5559 * signal/sigqueue.c: Likewise.
5560 * signal/sigreturn.c: Likewise.
5561 * signal/sigset.c: Likewise.
5562 * signal/sigsetmask.c: Likewise.
5563 * signal/sigstack.c: Likewise.
5564 * signal/sigsuspend.c: Likewise.
5565 * signal/sigtimedwait.c: Likewise.
5566 * signal/sigvec.c: Likewise.
5567 * signal/sigwait.c: Likewise.
5568 * signal/sigwaitinfo.c: Likewise.
5569 * signal/sysv_signal.c: Likewise.
5570 * socket/accept.c: Likewise.
5571 * socket/accept4.c: Likewise.
5572 * socket/bind.c: Likewise.
5573 * socket/connect.c: Likewise.
5574 * socket/getpeername.c: Likewise.
5575 * socket/getsockname.c: Likewise.
5576 * socket/getsockopt.c: Likewise.
5577 * socket/isfdtype.c: Likewise.
5578 * socket/listen.c: Likewise.
5579 * socket/recv.c: Likewise.
5580 * socket/recvfrom.c: Likewise.
5581 * socket/recvmsg.c: Likewise.
5582 * socket/send.c: Likewise.
5583 * socket/sendmsg.c: Likewise.
5584 * socket/sendto.c: Likewise.
5585 * socket/setsockopt.c: Likewise.
5586 * socket/shutdown.c: Likewise.
5587 * socket/sockatmark.c: Likewise.
5588 * socket/socket.c: Likewise.
5589 * socket/socketpair.c: Likewise.
5590 * stdio-common/ctermid.c: Likewise.
5591 * stdio-common/cuserid.c: Likewise.
5592 * stdio-common/remove.c: Likewise.
5593 * stdio-common/rename.c: Likewise.
5594 * stdio-common/renameat.c: Likewise.
5595 * stdio-common/tempname.c: Likewise.
5596 * stdlib/getcontext.c: Likewise.
5597 * stdlib/makecontext.c: Likewise.
5598 * stdlib/setcontext.c: Likewise.
5599 * stdlib/swapcontext.c: Likewise.
5600 * stdlib/system.c: Likewise.
5601 * streams/fattach.c: Likewise.
5602 * streams/fdetach.c: Likewise.
5603 * streams/getmsg.c: Likewise.
5604 * streams/getpmsg.c: Likewise.
5605 * streams/putmsg.c: Likewise.
5606 * streams/putpmsg.c: Likewise.
5607 * sysdeps/unix/bsd/getpt.c: Likewise.
5608 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5609 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5610 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5612 Likewise.
5613 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5614 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5615 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5616 * sysvipc/msgctl.c: Likewise.
5617 * sysvipc/msgget.c: Likewise.
5618 * sysvipc/msgrcv.c: Likewise.
5619 * sysvipc/msgsnd.c: Likewise.
5620 * sysvipc/semctl.c: Likewise.
5621 * sysvipc/semget.c: Likewise.
5622 * sysvipc/semop.c: Likewise.
5623 * sysvipc/semtimedop.c: Likewise.
5624 * sysvipc/shmat.c: Likewise.
5625 * sysvipc/shmctl.c: Likewise.
5626 * sysvipc/shmdt.c: Likewise.
5627 * sysvipc/shmget.c: Likewise.
5628 * termios/tcdrain.c: Likewise.
5629 * termios/tcflow.c: Likewise.
5630 * termios/tcflush.c: Likewise.
5631 * termios/tcgetattr.c: Likewise.
5632 * termios/tcgetpgrp.c: Likewise.
5633 * termios/tcsendbrk.c: Likewise.
5634 * termios/tcsetattr.c: Likewise.
5635 * termios/tcsetpgrp.c: Likewise.
5636 * time/adjtime.c: Likewise.
5637 * time/clock.c: Likewise.
5638 * time/getitimer.c: Likewise.
5639 * time/gettimeofday.c: Likewise.
5640 * time/setitimer.c: Likewise.
5641 * time/settimeofday.c: Likewise.
5642 * time/stime.c: Likewise.
5643 * time/time.c: Likewise.
5644
56452012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5646
a20492cf
PT
5647 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5648 /usr/old/bin.
5649
72e182e3
PT
5650 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5651 instead of spaces.
5652 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5653
fbeafede
JM
56542012-11-03 Joseph Myers <joseph@codesourcery.com>
5655
5b5b04d6
JM
5656 [BZ #14796]
5657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5658 FE_TONEAREST before applying Dekker multiplication and Knuth
5659 addition. Clear inexact exceptions and check for exact zero
5660 results afterwards.
5661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5662 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5663 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5664 * math/libm-test.inc (fma_test): Add more tests.
5665 (fma_test_towardzero): Likewise.
5666 (fma_test_downward): Likewise.
5667 (fma_test_upward): Likewise.
5668 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5669 function.
5670 (libc_fesetround): New macro.
5671 (libc_fesetroundf): Likewise.
5672 (libc_fesetroundl): Likewise.
5673 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5674 function.
5675 (libc_fesetround_387): Likewise.
5676 (libc_fesetroundf): New macro.
5677 (libc_fesetround): Likewise.
5678 (libc_fesetroundl): Likewise.
5679 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5680 function.
5681 (libc_fesetroundf): New macro.
5682 (libc_fesetround): Likewise.
5683 (libc_fesetroundl): Likewise.
5684 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5685 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5686 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5687 libm_hidden_ver.
5688 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5689 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5690 libm_hidden_def.
5691 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5692 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5693 libm_hidden_ver.
5694 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5695 libm_hidden_def.
5696
fbeafede
JM
5697 [BZ #3439]
5698 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5699 integer constant usable in #if and use that to give value to enum
5700 constant.
5701 (FE_DIVBYZERO): Likewise.
5702 (FE_UNDERFLOW): Likewise.
5703 (FE_OVERFLOW): Likewise.
5704 (FE_INVALID): Likewise.
5705 (FE_INVALID_SNAN): Likewise.
5706 (FE_INVALID_ISI): Likewise.
5707 (FE_INVALID_IDI): Likewise.
5708 (FE_INVALID_ZDZ): Likewise.
5709 (FE_INVALID_IMZ): Likewise.
5710 (FE_INVALID_COMPARE): Likewise.
5711 (FE_INVALID_SOFTWARE): Likewise.
5712 (FE_INVALID_SQRT): Likewise.
5713 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5714 (FE_TONEAREST): Likewise.
5715 (FE_TOWARDZERO): Likewise.
5716 (FE_UPWARD): Likewise.
5717 (FE_DOWNWARD): Likewise.
5718 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5719 (FE_DIVBYZERO): Likewise.
5720 (FE_OVERFLOW): Likewise.
5721 (FE_UNDERFLOW): Likewise.
5722 (FE_INEXACT): Likewise.
5723 (FE_TONEAREST): Likewise.
5724 (FE_DOWNWARD): Likewise.
5725 (FE_UPWARD): Likewise.
5726 (FE_TOWARDZERO): Likewise.
5727 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5728 (FE_UNDERFLOW): Likewise.
5729 (FE_OVERFLOW): Likewise.
5730 (FE_DIVBYZERO): Likewise.
5731 (FE_INVALID): Likewise.
5732 (FE_TONEAREST): Likewise.
5733 (FE_TOWARDZERO): Likewise.
5734 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5735 (FE_OVERFLOW): Likewise.
5736 (FE_UNDERFLOW): Likewise.
5737 (FE_DIVBYZERO): Likewise.
5738 (FE_INEXACT): Likewise.
5739 (FE_TONEAREST): Likewise.
5740 (FE_TOWARDZERO): Likewise.
5741 (FE_UPWARD): Likewise.
5742 (FE_DOWNWARD): Likewise.
5743 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5744 (FE_DIVBYZERO): Likewise.
5745 (FE_OVERFLOW): Likewise.
5746 (FE_UNDERFLOW): Likewise.
5747 (FE_INEXACT): Likewise.
5748 (FE_TONEAREST): Likewise.
5749 (FE_DOWNWARD): Likewise.
5750 (FE_UPWARD): Likewise.
5751 (FE_TOWARDZERO): Likewise.
5752
105ca950
CM
57532012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5754
5755 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5756
a542b389
AS
57572012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5758
5759 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5760 commands. Quote $PWD.
5761 (blacklist_exports): Don't use remove_newlines. Replace "declare
5762 -x" by "export".
5763 (remove_newlines): Remove.
5764
f62c8abc
L
57652012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5766
5767 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5768 * stdlib/stdlib.h (atof): Moved to ...
5769 * include/bits/stdlib-float.h: Here. New file.
5770 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5771 * stdlib/bits/stdlib-float.h: New file.
5772 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5773 -mno-sse -mno-mmx.
5774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5775 <xmmintrin.h>.
5776
0155d5b2
JM
57772012-11-02 Joseph Myers <joseph@codesourcery.com>
5778
a68d0680
JM
5779 * conform/conformtest.pl (@headers): Add fenv.h.
5780 * conform/data/fenv.h-data: New file.
5781 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5782 include of <math/fenv.h>.
5783
caf7f573
JM
5784 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5785 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5786 && !UNIX98]. Enables tests for XOPEN2K8.
5787 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5788 POSIX2008]: Likewise.
5789
6c073ad6
JM
5790 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5791 (struct rusage): Do not expect type or its members.
5792
0155d5b2
JM
5793 [BZ #3439]
5794 * math/math.h (FP_NAN): Define macro to integer constant usable in
5795 #if and use that to give value to enum constant.
5796 (FP_INFINITE): Likewise.
5797 (FP_ZERO): Likewise.
5798 (FP_SUBNORMAL): Likewise.
5799 (FP_NORMAL): Likewise.
5800
b5dcacb4
AS
58012012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5802
5803 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5804 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5805 arguments.
5806
f7934be8
RM
58072012-11-02 Roland McGrath <roland@hack.frob.com>
5808
5809 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5810 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5811 autoconf-time if not.
5812 * configure.in: Remove AC_PREREQ.
5813
d7d08bde
TMQMF
58142012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5817 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5818 of the internal implementation.
5819
dcdae19a
JM
58202012-11-02 Joseph Myers <joseph@codesourcery.com>
5821
5822 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5823 except include of <misc/sys/syslog.h>.
5824
d6cffd3e
AS
58252012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5826
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5828 function returns with a NULL context exit with zero.
5829
b3563932
TMQMF
58302012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5831
5832 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5833
b288a93d
L
58342012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5835
5836 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5837 (run_program_cmd): This.
5838 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5839 (tst_langinfo): New variable. Use it.
5840
a2421a68
SAS
58412012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5842
5843 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5844 floating point opcodes.
5845
6f796e1b
TS
58462012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5847
7402596b
TS
5848 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5849 variable.
5850
d0d4f868
TS
5851 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5852
6f796e1b
TS
5853 * sysdeps/mach/hurd/powerpc: Remove directory.
5854 * sysdeps/mach/powerpc: Likewise.
5855
4da224a2
AS
58562012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5857
5858 * scripts/check-local-headers.sh: Ignore c++ headers.
5859
341dd673
TS
58602012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5861
5862 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5863 __libc_cleanup_region_start argument.
5864
473611b2
JM
58652012-11-01 Joseph Myers <joseph@codesourcery.com>
5866
5867 [BZ #14784]
5868 [BZ #14785]
5869 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5870 x * y using scaling, not as x * y + z.
5871 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5872 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5873 * math/libm-test.inc (fma_test): Add more tests.
5874 (fma_test_towardzero): Likewise.
5875 (fma_test_downward): Likewise.
5876 (fma_test_upward): Likewise.
5877
4078da3d
TS
58782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5879
5880 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5881
903252aa
JM
58822012-10-31 Joseph Myers <joseph@codesourcery.com>
5883
5884 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5885 New variable.
5886
cbc818d0
TS
58872012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5888
5889 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5890
5a03cb1e
AS
58912012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5892
5893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5894 Fix sort order.
5895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5896 Likewise.
5897
90aff2ff
TMQMF
58982012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5899
5900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5901 Fix the order of the list for glibc 2.17.
5902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5903 Likewise.
5904
1818fcb7
AS
59052012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5906
5907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5908
ef82f4da
JM
59092012-10-31 Joseph Myers <joseph@codesourcery.com>
5910
16a0e2ec
JM
5911 [BZ #14610]
5912 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5913 for low part of x being zero before using __atanl (y).
5914 * math/libm-test.inc (atan2_test): Add another test.
5915
0eb69512
JM
5916 * manual/install.texi (Configuring and compiling): Document
5917 general use of test-wrapper and test-wrapper-env.
5918 * INSTALL: Regenerated.
5919
ef82f4da
JM
5920 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5921 (__fma): Do not extract and scale down low bits on after-rounding
5922 systems when result rounded to normal precision would have normal
5923 exponent.
5924 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5925 (__fmal): Do not extract and scale down low bits on after-rounding
5926 systems when result rounded to normal precision would have normal
5927 exponent.
5928 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5929 (__fmal): Do not extract and scale down low bits on after-rounding
5930 systems when result rounded to normal precision would have normal
5931 exponent.
5932 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5933 macro.
5934 (fma_test): Add more tests.
5935 (fma_test_towardzero): Likewise.
5936 (fma_test_downward): Likewise.
5937 (fma_test_upward): Likewise.
5938
954ef0d9
L
59392012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5940
5941 * sysdeps/i386/tininess.h: Renamed to ...
5942 * sysdeps/x86/tininess.h: This.
5943 * sysdeps/x86_64/tininess.h: Removed.
5944
df61ffb2
JM
59452012-10-30 Joseph Myers <joseph@codesourcery.com>
5946
5947 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5948 input. Use $(build-program-cmd).
5949 ($(objpfx)tst-array1-static.out): Likewise.
5950 ($(objpfx)tst-array2.out): Likewise.
5951 ($(objpfx)tst-array3.out): Likewise.
5952 ($(objpfx)tst-array4.out): Likewise.
5953 ($(objpfx)tst-array5.out): Likewise.
5954 ($(objpfx)tst-array5-static.out): Likewise.
5955
01767843
CM
59562012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5957
47cc1490
CM
5958 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5959 if defined.
5960
01767843
CM
5961 * nss/nsswitch.h (nss_interface_function): Provide new
5962 macro for use with NSS functions.
5963 * grp/initgroups.c: Use new macro.
5964 * nss/getXXbyYY.c: Likewise.
5965 * nss/getXXbyYY_r.c: Likewise.
5966 * nss/getXXent.c: Likewise.
5967 * nss/getXXent_r.c: Likewise.
5968 * sysdeps/posix/getaddrinfo.c: Likewise.
5969
8321aa97
AJ
59702012-10-30 Andreas Jaeger <aj@suse.de>
5971
5972 * po/ru.po: Update Russion translation from translation project.
5973
2a27fd6d
JM
59742012-10-30 Joseph Myers <joseph@codesourcery.com>
5975
8627a232
JM
5976 [BZ #14152]
5977 [BZ #14783]
5978 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5979 result and shift together with sticky bit instead of replicating
5980 round-to-nearest rounding.
5981 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5982 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5983 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5984 missing underflow exceptions.
5985 (fma_test_towardzero): Add more tests.
5986 (fma_test_downward): Likewise.
5987 (fma_test_upward): Likewise.
5988
2a27fd6d
JM
5989 [BZ #14047]
5990 * sysdeps/generic/tininess.h: New file.
5991 * sysdeps/i386/tininess.h: Likewise.
5992 * sysdeps/sh/tininess.h: Likewise.
5993 * sysdeps/x86_64/tininess.h: Likewise.
5994 * stdlib/tst-strtod-underflow.c: Likewise.
5995 * stdlib/tst-tininess.c: Likewise.
5996 * stdlib/strtod_l.c: Include <tininess.h>.
5997 (round_and_return): Do not set errno for exact underflow cases.
5998 Force an underflow exception when setting errno for underflow.
5999 Determine underflow based on rounding to normal precision if
6000 TININESS_AFTER_ROUNDING.
6001 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6002 ERANGE for exact underflow cases.
6003 * stdlib/Makefile (tests): Add tst-tininess and
6004 tst-strtod-underflow.
6005 ($(objpfx)tst-tininess): Use $(link-libm).
6006 ($(objpfx)tst-strtod-underflow): Likewise.
6007
e7170363
AJ
60082012-10-30 Andreas Jaeger <aj@suse.de>
6009
e5088dc6
AJ
6010 [BZ#14767]
6011 * elf/Makefile (tests): Remove conditional for have-initfini-array
6012 since this is now always required and the variable does not exist
6013 anymore.
6014 (tests-static): Likewise.
6015 (modules-names): Likewise.
6016
e7170363 6017 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6018
6019 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6020 merged with constructor/destructor.
6021 (init_array): Likewise.
6022 * elf/tst-array2dep.c (fini_array): Likewise.
6023 (init_array): Likewise.
6024
60457d8a
MF
60252012-10-29 Mike Frysinger <vapier@gentoo.org>
6026
6027 * manual/message.texi: Delete @cartouche tags.
6028
8bece752
PT
60292012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6030
94ce799f
PT
6031 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6032 EOPNOTSUPP.
6033 * sysdeps/mach/hurd/fsync.c: Likewise.
6034
8bece752
PT
6035 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6036 [_POSIX_REALTIME_SIGNALS]: Change condition to
6037 [_POSIX_REALTIME_SIGNALS > 0].
6038
86ebe6b1
AJ
60392012-10-27 Andreas Jaeger <aj@suse.de>
6040
6041 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6042 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6044 [__WORDSIZE != 64]: Likewise.
6045
54399c08
L
60462012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6047
6048 * iconvdata/tst-table.sh: Remove ${SHELL}.
6049 * iconvdata/tst-tables.sh: Likewise.
6050
e2211bed
DM
60512012-10-25 David S. Miller <davem@davemloft.net>
6052
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6054 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6055 of strtoull.
6056
f303f97c
DM
6057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6058 ifunc-impl-list.c
6059 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6060 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6061 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6062 file.
6063
1e9d84cd
RM
60642012-10-25 Roland McGrath <roland@hack.frob.com>
6065
6066 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6067 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6068 __getdirentries.
6069
df381762
JM
60702012-10-25 Joseph Myers <joseph@codesourcery.com>
6071 Jim Blandy <jimb@codesourcery.com>
6072
6073 * scripts/cross-test-ssh.sh: New file.
6074 * manual/install.texi (Configuring and compiling): Document use of
6075 cross-test-ssh.sh.
6076 * INSTALL: Regenerated.
6077
bff64913
PT
60782012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6079
6080 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6081 EOPNOTSUPP.
6082
25fe8932
JM
60832012-10-25 Joseph Myers <joseph@codesourcery.com>
6084
6085 * Makeconfig (run-program-prefix): Fix comment.
6086
cc1290d0
JM
60872012-10-24 Joseph Myers <joseph@codesourcery.com>
6088 Jim Blandy <jimb@codesourcery.com>
6089
6090 * Makeconfig (test-wrapper): New variable,
6091 (test-wrapper-env): Likewise.
6092 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6093 (run-built-tests): Define to yes.
6094 (run-program-prefix): Use $(test-wrapper).
6095 (built-program-cmd): Likewise.
6096 * Rules (make-test-out): Use $(test-wrapper-env) and
6097 $(host-built-program-cmd).
6098 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6099 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6100 tst-pathopt.sh.
6101 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6102 $(test-wrapper-env) to tst-rtld-load-self.sh.
6103 ($(objpfx)order2.out): Use $(test-wrapper).
6104 ($(objpfx)tst-initorder.out): Likewise.
6105 ($(objpfx)tst-initorder2.out): Likewise.
6106 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6107 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6108 (test_wrapper_env): New variable. Use it to run ld.so.
6109 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6110 Use it to run ld.so.
6111 (test_wrapper_env): Likewise.
6112 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6113 $(test-wrapper) to run-iconv-test.sh.
6114 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6115 (ICONV): Use $test_wrapper.
6116 * posix/Makefile ($(objpfx)globtest.out): Pass
6117 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6118 globtest.sh, not $(run-program-prefix).
6119 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6120 (test_wrapper): Likewise.
6121 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6122 set together with run_via_rtld_prefix.
6123 (run_program_prefix): Define in terms of test_wrapper and
6124 run_via_rtld_prefix.
6125
6e6249d0
RM
61262012-10-24 Roland McGrath <roland@hack.frob.com>
6127
6128 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6129 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6130 Targets removed.
6131
6132 [BZ #14743]
6133 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6134 Declare __clock_getres, __clock_gettime, __clock_settime,
6135 __clock_nanosleep, and __clock_getcpuclockid.
6136 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6137 Remove librt_hidden_def (clock_gettime).
6138 * sysdeps/unix/clock_gettime.c: Likewise.
6139 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6140 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6141 * rt/clock_getres.c: Define __clock_getres as an alias.
6142 * sysdeps/posix/clock_getres.c: Likewise.
6143 * rt/clock_settime.c: Define __clock_settime as an alias.
6144 * sysdeps/unix/clock_settime.c: Likewise.
6145 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6146 * sysdeps/unix/clock_nanosleep.c: Likewise.
6147 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6148 * rt/clock-compat.c: New file.
6149 * rt/Makefile (librt-routines): Add clock-compat and move
6150 $(clock-routines) to ...
6151 (routines): ... here, new variable.
6152 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6153 Don't add get_clockfreq here.
6154 * rt/Versions (libc: GLIBC_2.17): New version set.
6155 Add clock_* symbols here.
6156 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6158 (GLIBC_2.17): Add clock_* symbols.
6159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6161 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6163 Likewise.
6164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6165 Likewise.
6166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6170 * NEWS: Mention the move.
6171
6172 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6173 Use __open, __read, __close rather than their public counterparts.
6174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6175 (__get_clockfreq_via_cpuinfo): Likewise.
6176 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6177 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6178
6179 * config.h.in (HAVE_IFUNC): New #undef.
6180 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6181 was successful.
6182 * configure: Regenerated.
6183
0cae3f4b
MF
61842012-10-24 Mike Frysinger <vapier@gentoo.org>
6185
6186 * configure.in: Move READELF check to start of file.
6187 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6188 libc_cv_asm_gnu_indirect_function in the process.
6189 * configure: Regenerated.
6190
8175a253
MF
61912012-10-24 Mike Frysinger <vapier@gentoo.org>
6192
6193 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6194 send the output to /dev/null.
6195 (libc_cv_cc_with_libunwind): Likewise.
6196 (libc_cv_as_noexecstack): Likewise.
6197 * configure: Regenerate.
6198
0708a7d1
JM
61992012-10-24 Joseph Myers <joseph@codesourcery.com>
6200
10b40d85
JM
6201 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6202
0708a7d1
JM
6203 * posix/globtest.sh (TMPDIR): Do not set.
6204 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6205 (testout): Likewise.
6206
9fddec1a
AJ
62072012-10-24 Andreas Jaeger <aj@suse.de>
6208
3a8db22f
AJ
6209 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6210 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6211 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6212 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6213 posix_fadvise64, posix_fallocate64.
6214
9fddec1a
AJ
6215 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6216 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6217 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6218 Likewise.
6219 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6220 Likewise.
6221 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6222
6223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6224 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6225 <bits/fcntl-linux.h>.
6226 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6227
6228 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6229 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6230 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6231 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6232 [__WORDSIZE != 64]: Likewise.
6233
ebfd1bbd
JM
62342012-10-23 Joseph Myers <joseph@codesourcery.com>
6235
03ac099f
JM
6236 * Makeconfig (run-built-tests): New variable.
6237 * Rules [$(cross-compiling) = yes]: Change condition to
6238 [$(run-built-tests) = no].
6239 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6240 to [$(run-built-tests) = yes].
6241 * elf/Makefile [$(cross-compiling) = no]: Likewise
6242 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6243 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6244 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6245 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6246 * io/Makefile [$(cross-compiling) = no]: Likewise.
6247 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6248 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6249 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6250 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6251 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6252 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6253 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6254 * string/Makefile [$(cross-compiling) = no]: Likewise.
6255
ebfd1bbd
JM
6256 * posix/Makefile ($(objpfx)globtest.out): Pass
6257 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6258 $(rtld-installed-name).
6259 * posix/globtest.sh (elf_objpfx): Remove variable.
6260 (rtld_installed_name): Likewise.
6261 (library_path): Likewise.
6262 (run_program_prefix): New variable. Use for running globtest
6263 binary.
6264
166bca24
JB
62652012-10-23 Jim Blandy <jimb@codesourcery.com>
6266 Joseph Myers <joseph@codesourcery.com>
6267
6268 * Makeconfig (host-built-program-cmd): New variable.
6269 * elf/Makefile (tst-stackguard1-ARGS): Use
6270 $(host-built-program-cmd).
6271 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6272 (tst-spawn-ARGS): Likewise.
6273 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6274
88866099
JM
62752012-10-23 Joseph Myers <joseph@codesourcery.com>
6276 Jim Blandy <jimb@codesourcery.com>
6277
6278 * Makeconfig (run-via-rtld-prefix): New variable.
6279 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6280 (built-program-cmd): Likewise.
6281
b4b4c296
AJ
62822012-10-22 Andreas Jaeger <aj@suse.de>
6283
6284 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6285 __O_RSYNC if it exists, otherwise to O_SYNC.
6286
6fb54a22
JB
62872012-10-22 Jim Blandy <jimb@codesourcery.com>
6288 Joseph Myers <joseph@codesourcery.com>
6289
6290 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6291 /dev/null.
6292 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6293 from /dev/null
6294 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6295 /dev/null.
6296
481b90b9
AJ
62972012-10-22 Andreas Jaeger <aj@suse.de>
6298
2a0e2669
AJ
6299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6300 Define always.
6301 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6302
76e38f9a
AJ
6303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6304 bits/fcntl-linux.h.
6305
7cd37b43
AJ
6306 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6307 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6308
481b90b9
AJ
6309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6310 to __O_LARGEFILE.
6311 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6312 to __O_LARGEFILE.
6313
aba75984
JB
63142012-10-21 Jim Blandy <jimb@codesourcery.com>
6315 Joseph Myers <joseph@codesourcery.com>
6316
6317 * config.make.in (NM): New variable.
6318
88d4247f
AJ
63192012-10-21 Andreas Jaeger <aj@suse.de>
6320
6321 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6322 definitions and declarations that are provided by
6323 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6324
f2eed205
L
63252012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6326
6327 [BZ #14683]
6328 * elf/Makefile (tests-static): Add tst-leaks1-static.
6329 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6330 ($(objpfx)tst-leaks1-static): New rule.
6331 ($(objpfx)tst-leaks1-static-mem): Likewise.
6332 (tst-leaks1-static-ENV): New macro.
6333 * elf/dl-open.c (dl_open_worker): Check the main application
6334 only if SHARED is defined.
6335 * elf/tst-leaks1-static.c: New file.
6336
335e6931
AJ
63372012-10-20 Andreas Jaeger <aj@suse.de>
6338
6339 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6340 generic values for Linux.
6341 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6342 and declarations that are provided by <bits/fcntl-linux.h> and
6343 include <bits/fcntl-linux.h>.
6344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6345 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6346
ac5c94d3
RM
63472012-10-20 Roland McGrath <roland@hack.frob.com>
6348
6349 * io/fcntl.h: Move include of <bits/types.h> to the top and
6350 include it unconditionally.
6351
de54b33a
L
63522012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6353
228cfb01
L
6354 * wcsmbs/Makefile (tests-ifunc): New variable.
6355 (tests): Add $(tests-ifunc).
6356 * wcsmbs/test-wcschr-ifunc.c: New file.
6357 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6358 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6359 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6360 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6361 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6362
69f07e5f
L
6363 * string/Makefile (tests-ifunc): New variable.
6364 (tests): Add $(tests-ifunc).
6365 * string/test-memccpy.c (TEST_NAME): New macro.
6366 * string/test-memchr.c (TEST_NAME): Likewise.
6367 * string/test-memcmp.c (TEST_NAME): Likewise.
6368 * string/test-memcpy.c (TEST_NAME): Likewise.
6369 * string/test-memmem.c (TEST_NAME): Likewise.
6370 * string/test-memmove.c (TEST_NAME): Likewise.
6371 * string/test-memset.c (TEST_NAME): Likewise.
6372 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6373 * string/test-stpcpy.c (TEST_NAME): Likewise.
6374 * string/test-stpncpy.c (TEST_NAME): Likewise.
6375 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6376 * string/test-strcasestr.c (TEST_NAME): Likewise.
6377 * string/test-strcat.c (TEST_NAME): Likewise.
6378 * string/test-strchr.c (TEST_NAME): Likewise.
6379 * string/test-strcmp.c(TEST_NAME): Likewise.
6380 * string/test-strcpy.c (TEST_NAME): Likewise.
6381 * string/test-strcspn.c (TEST_NAME): Likewise.
6382 * string/test-strlen.c (TEST_NAME): Likewise.
6383 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6384 * string/test-strncmp.c (TEST_NAME): Likewise.
6385 * string/test-strncpy.c (TEST_NAME): Likewise.
6386 * string/test-strnlen.c (TEST_NAME): Likewise.
6387 * string/test-strpbrk.c (TEST_NAME): Likewise.
6388 * string/test-strrchr.c (TEST_NAME): Likewise.
6389 * string/test-strspn.c (TEST_NAME): Likewise.
6390 * string/test-strstr.c (TEST_NAME): Likewise.
6391 * string/test-bcopy-ifunc.c: New file.
6392 * string/test-bzero-ifunc.c: Likewise.
6393 * string/test-memccpy-ifunc.c: Likewise.
6394 * string/test-memchr-ifunc.c: Likewise.
6395 * string/test-memcmp-ifunc.c: Likewise.
6396 * string/test-memcpy-ifunc.c: Likewise.
6397 * string/test-memmem-ifunc.c: Likewise.
6398 * string/test-memmove-ifunc.c: Likewise.
6399 * string/test-mempcpy-ifunc.c: Likewise.
6400 * string/test-memset-ifunc.c: Likewise.
6401 * string/test-rawmemchr-ifunc.c: Likewise.
6402 * string/test-stpcpy-ifunc.c: Likewise.
6403 * string/test-stpncpy-ifunc.c: Likewise.
6404 * string/test-strcasecmp-ifunc.c: Likewise.
6405 * string/test-strcasestr-ifunc.c: Likewise.
6406 * string/test-strcat-ifunc.c: Likewise.
6407 * string/test-strchr-ifunc.c: Likewise.
6408 * string/test-strchrnul-ifunc.c: Likewise.
6409 * string/test-strcmp-ifunc.c: Likewise.
6410 * string/test-strcpy-ifunc.c: Likewise.
6411 * string/test-strcspn-ifunc.c: Likewise.
6412 * string/test-strlen-ifunc.c: Likewise.
6413 * string/test-strncasecmp-ifunc.c: Likewise.
6414 * string/test-strncat-ifunc.c: Likewise.
6415 * string/test-strncmp-ifunc.c: Likewise.
6416 * string/test-strncpy-ifunc.c: Likewise.
6417 * string/test-strnlen-ifunc.c: Likewise.
6418 * string/test-strpbrk-ifunc.c: Likewise.
6419 * string/test-strrchr-ifunc.c: Likewise.
6420 * string/test-strspn-ifunc.c: Likewise.
6421 * string/test-strstr-ifunc.c: Likewise.
6422
de54b33a
L
6423 * debug/Makefile (tests-ifunc): New variable.
6424 (tests): Add $(tests-ifunc).
6425 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6426 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6427 * debug/test-stpcpy_chk-ifunc.c: New file.
6428 * debug/test-strcpy_chk-ifunc.c: Likewise.
6429
88481c16
SP
64302012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6431
6432 [BZ #13601]
6433 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6434 header is not read in.
6435
135948bd
JM
64362012-10-19 Joseph Myers <joseph@codesourcery.com>
6437
89f1c388
JM
6438 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6439 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6440 directly. Pass built executable to script as
6441 $(built-program-cmd).
6442 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6443 $testprogram without using LD_LIBRARY_PATH and $ldso.
6444
e40a0d21
JM
6445 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6446 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6447 $(rtld-installed-name).
6448 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6449 (rtld_installed_name): Likewise.
6450 (library_path): Likewise.
6451 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6452 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6453 $(run-program-prefix) to tst-tables.sh.
6454 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6455 it to run tst-table-from and tst-table-to.
6456 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6457 Pass it to tst-table.sh.
6458 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6459 $(run-program-prefix) to tst-gettext.sh.
6460 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6461 tst-translit.sh.
6462 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6463 tst-gettext2.sh.
6464 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6465 to run tst-gettext.
6466 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6467 to run tst-gettext2.
6468 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6469 to run tst-translit.
6470 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6471 $(run-program-prefix) to tst-mtrace.sh.
6472 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6473 to run tst-mtrace.
6474 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6475 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6476 $(rtld-installed-name).
6477 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6478 (rtld_installed_name): Likewise.
6479 (run_program_prefix): New variable. Use it to run wordexp-test.
6480
728e272a
JM
6481 * Makeconfig (ARCH): Remove all definitions.
6482 (machine): Likewise.
6483 [ARCH]: Remove conditional code.
6484 [!objdir]: Give error.
6485 [!objdir] (objpfx): Remove.
6486 [!objdir] (common-objpfx): Likewise.
6487 [!objdir] (common-objdir): Likewise.
6488 * configure.in (config_makefile): Remove. Hardcode Makefile in
6489 AC_CONFIG_FILES call.
6490 * configure: Regenerated.
6491
d528cdcf
JM
6492 [BZ #13888]
6493 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6494 or TMPDIR.
6495 (testout): Likewise.
6496
135948bd
JM
6497 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6498 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6499 $(rtld-installed-name).
6500 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6501 (rtld_installed_name): Likwise.
6502 (runit): Remove function.
6503 (run_getconf): New variable, Use it for running getconf binary.
6504
38c78296
L
65052012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 [BZ #14716]
6508 * string/test-memmem.c (check_result): New function.
6509 (do_one_test): Use it.
6510 (check1): New function.
6511 (test_main): Use it.
6512
d077f65f
MT
65132012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6514
6515 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6516
ced52c71
JM
65172012-10-18 Joseph Myers <joseph@codesourcery.com>
6518
6519 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6520 (_G_LSEEK64): Likewise.
6521 (_G_MMAP64): Likewise.
6522 (_G_FSTAT64): Likewise.
6523 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6524 (_G_LSEEK64): Likewise.
6525 (_G_MMAP64): Likewise.
6526 (_G_FSTAT64): Likewise.
6527 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6528 unconditional. Call __mmap64 directly.
6529 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6530 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6531 __lseek64 directly.
6532 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6533 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6534 __mmap64 directly.
6535 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6536 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6537 __lseek64 directly.
6538 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6539 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6540 __lseek64 directly.
6541 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6542 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6543 __lseek64 directly.
6544 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6545 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6546 __fxstat64 directly.
6547 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6548 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6549 unconditional.
6550 (freopen64) [!_G_OPEN64]: Remove conditional code.
6551 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6552 unconditional.
6553 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6554 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6555 unconditional.
6556 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6557 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6558 unconditional.
6559 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6560 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6561 unconditional.
6562 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6563 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6564 unconditional.
6565 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6566 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6567 unconditional.
6568 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6569 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6570 unconditional.
6571 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6572
b741de23
SP
65732012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 [BZ #12140]
6576 * manual/memory.texi (Malloc Tunable Parameters): Add note
6577 about free list pointers overwriting some perturb bytes.
6578 Wording suggested by Roland McGrath.
6579
f9b9d9c9
JM
65802012-10-17 Joseph Myers <joseph@codesourcery.com>
6581
6582 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6583 (lgamma_test): Likewise.
6584 (tgamma_test): Likewise.
6585
172a631a
FW
65862012-10-16 Florian Weimer <fweimer@redhat.com>
6587
6588 [BZ #14700]
6589 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6590 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6591
e9f37252
MK
65922012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6593
6594 * NEWS: Mention BZ #14716.
6595 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6596 when removing AVAILABLE1_USES_J macro.
6597
d394eb74
L
65982012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6599
6600 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6601 (__bswap_64): __uint64_t for unsigned 64-bit int.
6602
ca38dc17
AS
66032012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6604
6605 * include/string.h (memmem): Declare libc hidden alias.
6606 * string/memmem.c (memmem): Define libc hidden alias.
6607 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6608 __read, __close instead of open, read, close.
6609
9a387d1f
L
66102012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6611
ac49ecaf
L
6612 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6613 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6614 global and hidden.
6615 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6616 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6617 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6618 Likewise.
6619 (__rawmemchr_sse2): Likewise.
6620 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6621 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6622 (__strchr_sse2): Likewise.
6623 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6624 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6625 (__strcasecmp_sse2): Likewise.
6626 (__strncasecmp_sse2): Likewise.
6627 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6628 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6629 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6630 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6631 (__strrchr_sse2): Likewise.
6632 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6633 ifunc-impl-list.c.
6634 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6635 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6636 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6637 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6638 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6639 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6640 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6641 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6642 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6643 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6644 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6645 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6646 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6647 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6648 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6649 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6650 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6651 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6652 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6653 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6654 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6655 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6656 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6657 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6658 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6659 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6660 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6661 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6662 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6663 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6664
b090e8ea
L
6665 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6666 global and hidden.
6667 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6668 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6669 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6670 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6671 Likewise.
6672 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6673 Likewise.
6674 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6675 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6676 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6677 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6678 ifunc-impl-list.c.
6679 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6680 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6681 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6682 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6683 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6684 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6685 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6686 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6687 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6688 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6689 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6690 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6691 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6692 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6693 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6694 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6695 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6696 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6697 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6698 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6699 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6700 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6701 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6702 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6703 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6704 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6705 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6706 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6707 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6708 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6709 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6710 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6711 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6712 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6713 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6714 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6715 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6716 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6717 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6718 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6719 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6720
11dd4af6
L
6721 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6722 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6723 * include/ifunc-impl-list.h: New file.
6724 * misc/ifunc-impl-list.c: Likewise.
6725 * misc/Makefile (routines): Add ifunc-impl-list.
6726 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6727 * string/test-string.h: Include <ifunc-impl-list.h>.
6728 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6729 impl_array): New variables.
6730 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6731 are defined.
6732 (test_init): Call __libc_ifunc_impl_list to initialize
6733 func_list if TEST_IFUNC and TEST_NAME are defined.
6734
9a387d1f
L
6735 * string/Makefile (strop-tests): Add bcopy and bzero.
6736 * string/test-bcopy.c: New file.
6737 * string/test-bzero.c: Likewise.
6738 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6739 defined.
6740 * string/test-memset.c: Support bzero test if TEST_BZERO is
6741 defined.
6742 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6743 __libc_memmove.
6744 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6745 __libc_memset.
6746 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6747 of memset.
6748
472371b9
JM
67492012-10-10 Joseph Myers <joseph@codesourcery.com>
6750
1e4a9536
JM
6751 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6752 * configure: Regenerated.
6753
d173d12e
JM
6754 * Makeconfig (+link-static-before-libc): Don't include
6755 $(link-static-libc).
6756
472371b9
JM
6757 * libio/libio.h (_IO_pos_t): Remove.
6758
89a3ad0b
AO
67592012-10-10 Alexandre Oliva <aoliva@redhat.com>
6760
6761 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6762 McGrath.
6763
e7451425
AO
67642012-10-10 Alexandre Oliva <aoliva@redhat.com>
6765
6766 * crypt/crypt-entry.c: Include fips-private.h.
6767 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6768 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6769 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6770 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6771
4ba74a35
AO
67722012-10-10 Alexandre Oliva <aoliva@redhat.com>
6773
6774 * crypt/crypt-private.h: Include stdbool.h.
6775 (_ufc_setup_salt_r): Return bool.
6776 * crypt/crypt-entry.c: Include errno.h.
6777 (__crypt_r): Return NULL with EINVAL for bad salt.
6778 * crypt/crypt_util.c (bad_for_salt): New.
6779 (_ufc_setup_salt_r): Check that salt is long enough and within
6780 the specified alphabet.
6781 * crypt/badsalttest.c: New file.
6782 * crypt/Makefile (tests): Add it.
6783 ($(objpfx)badsalttest): New.
6784
f96f1242
MK
67852012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6786
6787 * NEWS: Add entry for BZ #14602.
6788
0e8e0c1c
JM
67892012-10-09 Joseph Myers <joseph@codesourcery.com>
6790
6791 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6792 type-generic.
6793 * math/libm-test.inc: Update comment listing what functions and
6794 macros are tested.
6795 (isgreater_test): New function.
6796 (isgreaterequal_test): Likewise.
6797 (isless_test): Likewise.
6798 (islessequal_test): Likewise.
6799 (islessgreater_test): Likewise.
6800 (isunordered_test): Likewise.
6801 (main): Call the new functions.
6802
273edc5e
RM
68032012-10-09 Roland McGrath <roland@hack.frob.com>
6804
b8493de0
RM
6805 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6806 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6807 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6808 * sysdeps/i386/configure: Regenerated.
6809 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6810 * sysdeps/mach/configure: Regenerated.
6811 * sysdeps/mach/hurd/configure: Regenerated.
6812 * sysdeps/powerpc/configure: Regenerated.
6813 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6814 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6815 * sysdeps/s390/s390-32/configure: Regenerated.
6816 * sysdeps/s390/s390-64/configure: Regenerated.
6817 * sysdeps/sh/configure: Regenerated.
6818 * sysdeps/sparc/configure: Regenerated.
6819 * sysdeps/unix/sysv/linux/configure: Regenerated.
6820 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6821 * sysdeps/x86_64/configure: Regenerated.
6822
273edc5e
RM
6823 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6824 defined. Don't check if MAP is NULL.
6825
c8450f70
JM
68262012-10-09 Joseph Myers <joseph@codesourcery.com>
6827
6828 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6829 (_G_stat64): Likewise.
6830 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6831 (_G_stat64): Likewise.
6832 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6833 instead of struct _G_stat64.
6834 * libio/fileops.c (mmap_remap_check): Likewise.
6835 (decide_maybe_mmap): Likewise.
6836 (_IO_new_file_seekoff): Likewise.
6837 (_IO_file_stat): Likewise.
6838 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6839 _G_off64_t.
6840 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6841 instead of struct _G_stat64.
6842 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6843
57e605ba
MK
68442012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6845
6846 [BZ #14602]
6847 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6848 Replace with ...
6849 (CHECK_EOL): New macro.
6850 (two_way_short_needle): Check beginning of haystack for EOL. Use
6851 CHECK_EOL.
6852 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6853 Replace with CHECK_EOL.
6854 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6855 Replace with CHECK_EOL.
6856
ef1bb361
JM
68572012-10-08 Joseph Myers <joseph@codesourcery.com>
6858
6859 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6860 type-generic.
6861 * math/libm-test.inc: Update comment listing what functions and
6862 macros are tested.
6863 (finite_test): New function.
6864 (isinf_test): Likewise.
6865 (isnan_test): Likewise.
6866 (fpclassify_test): Test subnormal input.
6867 (isfinite_test): Likewise.
6868 (isnormal_test): Likewise.
6869 (main): Call the new functions.
6870
55f11534
JN
68712012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6872
6873 [BZ #14660]
6874 * Makerules (%.dynsym): Force C locale when running
6875 $(OBJDUMP) --dynamic-syms.
6876
1ab29350
AS
68772012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6878
6879 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6880 <stdint.h>.
6881
f1ecb7ef
DM
68822012-10-06 David S. Miller <davem@davemloft.net>
6883
6884 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6885 upper 32-bits of the length value in %o2 since we use branch-on-register
6886 tests which consider the entire 64-bit register.
6887
5d41d91a
L
68882012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6889
6890 * string/test-strstr.c (check2): Add a test for page boundary.
6891
3baddb72
DM
68922012-10-05 David S. Miller <davem@davemloft.net>
6893
6894 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6895 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6896 file.
6897 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6898 sysdep_routines.
6899 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6900 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6901 and bzero when HWCAP_SPARC_CRYPTO is present.
6902
9cee5585
L
69032012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6904
d7e0dab9
L
6905 [BZ #14602]
6906 * string/test-strstr.c (check2): New function.
6907 (test_main): Call check2.
6908
03759f47
L
6909 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6910 and bug-strchr1.
6911 * string/bug-strcasestr1.c (do_test): Moved to ...
6912 * string/test-strcasestr.c (check1): Here. New function.
6913 (do_one_test): Break out result checking code into ...
6914 (check_result): This. New function.
6915 (do_one_test): Call check_result.
6916 (test_main): Call check1.
6917 * string/bug-strchr1.c (do_test): Moved to ...
6918 * string/test-strchr.c (check1): Here. New function.
6919 (do_one_test): Break out result checking code into ...
6920 (check_result): This. New function.
6921 (do_one_test): Call check_result.
6922 (test_main): Call check1.
6923 * string/bug-strstr1.c (main): Moved to ...
046f153e 6924 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6925 (do_one_test): Break out result checking code into ...
6926 (check_result): This. New function.
6927 (do_one_test): Call check_result.
6928 (test_main): Call check1.
6929 * string/bug-strcasestr1.c: Removed.
6930 * string/bug-strchr1.c: Likewise.
6931 * string/bug-strstr1.c: Likewise.
6932
53cea63e
L
6933 * elf/Makefile (dl-routines): Add hwcaps.
6934 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6935 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6936 (_dl_important_hwcaps): Moved to ...
6937 * elf/dl-hwcaps.c: Here. New file.
6938 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6939
9cee5585 6940 [BZ #14557]
bb859b06
L
6941 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6942 if IS_IN_rtld isn't defined.
6943
9cee5585
L
6944 * elf/dl-support.c (_dl_sysinfo_map): New.
6945 Include "get-dynamic-info.h" and "setup-vdso.h".
6946 (_dl_non_dynamic_init): Call setup_vdso.
6947 * elf/dynamic-link.h: Don't include <assert.h>.
6948 (elf_get_dynamic_info): Moved to ...
6949 * elf/get-dynamic-info.h: Here. New file.
6950 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6951 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6952 * elf/setup-vdso.h: Here. New file.
6953 * elf/rtld.c: Include "setup-vdso.h".
6954 (dl_main): Call setup_vdso.
6955
23c31b76
JM
69562012-10-05 Joseph Myers <joseph@codesourcery.com>
6957
28234b07
JM
6958 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6959 creal in comment listing functions tested. List finite, isinf,
6960 isnan, isless, islessequal, isgreater, isgreaterequal,
6961 islessgreater, isunordered, lgamma_r and pow10 as functions and
6962 macros not tested. Mention which functions not tested are aliases
6963 for other functions. Fix typo. Note that signs of NaNs are not
6964 tested.
6965
23c31b76
JM
6966 * scripts/config.guess: Update from config.git.
6967 * scripts/config.sub: Likewise.
6968
9043e228
RM
69692012-10-04 Roland McGrath <roland@hack.frob.com>
6970
6971 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6972 * misc/madvise.c (madvise): Renamed to __madvise.
6973 Make madvise a weak alias.
6974 * include/sys/mman.h: Declare __madvise.
6975 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6976 * sysdeps/unix/syscalls.list
6977 (madvise): Make __madvise the strong name, and madvise a weak alias.
6978 * sysdeps/unix/sysv/linux/syscalls.list
6979 (madvise, mmap): Remove redundant entries.
6980 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6981 * malloc/malloc.c (mtrim): Likewise.
6982 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6983
f57f8055
RM
69842012-10-03 Roland McGrath <roland@hack.frob.com>
6985
6986 * sysdeps/mach/hurd/dl-cache.c: File removed.
6987 * config.h.in (USE_LDCONFIG): New #undef.
6988 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6989 * configure: Regenerated.
6990 * elf/Makefile (dl-routines): Add dl-cache only under
6991 [$(use-ldconfig) = yes].
6992 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6993 cache on [USE_LDCONFIG].
6994 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6995 [USE_LDCONFIG].
6996 * elf/rtld.c (dl_main): Likewise.
6997
5bb0c10a
PT
69982012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6999
7000 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7001 _SC_LEVEL4_CACHE_LINESIZE.
7002
010188c6
RM
70032012-10-03 Roland McGrath <roland@hack.frob.com>
7004
7005 * sysdeps/unix/bsd/confstr.h: File removed.
7006
b6c5ec07
AO
70072012-10-02 Alexandre Oliva <aoliva@redhat.com>
7008
7009 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7010 sys/sdt-config.h.
7011
408223d4
RM
70122012-10-02 Roland McGrath <roland@hack.frob.com>
7013
7014 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7015 Make 'mapoff' field ElfW(Off) rather than off_t.
7016
bb9510dc
DL
70172012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7018
fc997c6e
DL
7019 * nscd/Makefile: Remove nscd-cflags and all its users.
7020 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7021 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7022
bb9510dc
DL
7023 [BZ #10631]
7024 * malloc.c (malloc_printerr): Clarify error message.
7025
05699367
L
70262012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7027
7028 [BZ #14648]
7029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7030 Set bit_FMA_Usable if FMA is supported.
7031 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7032 macro.
7033 (bit_FMA4_Usable): Updated.
7034 (index_FMA_Usable): New macro.
7035 (CPUID_FMA): Likewise
7036 (HAS_FMA): Defined with bit_FMA_Usable.
7037
51367701
RM
70382012-10-01 Roland McGrath <roland@hack.frob.com>
7039
7040 * bits/types.h (__swblk_t): Type removed.
7041 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7042 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7043 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7044 (__SWBLK_T_TYPE): Likewise.
7045 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7046 (__SWBLK_T_TYPE): Likewise.
7047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7048 (__SWBLK_T_TYPE): Likewise.
7049 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7050 (__SWBLK_T_TYPE): Likewise.
7051
4d57bf63 70522012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7053 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7054
7055 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7056 (xdr_mapname): Use YPMAXMAP as maxsize.
7057 (xdr_peername): Use YPMAXPEER as maxsize.
7058 (xdr_keydat): Use YPAXRECORD as maxsize.
7059 (xdr_valdat): Use YPMAXRECORD as maxsize.
7060
93c65d43
RM
70612012-10-01 Roland McGrath <roland@hack.frob.com>
7062
497a03d6
RM
7063 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7064
93c65d43
RM
7065 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7066 * csu/init-first.c: ... here.
7067 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7068 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7069 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7070 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7071 * sysdeps/i386/init-first.c: File removed.
7072 * sysdeps/sh/init-first.c: File removed.
7073
bec749fd
JM
70742012-10-01 Joseph Myers <joseph@codesourcery.com>
7075
7076 [BZ #14645]
7077 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7078 if x * y might underflow to zero and z is zero.
7079 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7080 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7081 * math/libm-test.inc (min_subnorm_value): New variable.
7082 (fma_test): Add more tests.
7083 (fma_test_towardzero): Likewise.
7084 (fma_test_downward): Likewise
7085 (fma_test_upward): Likewise.
7086 (initialize): Set min_subnorm_value.
7087
8ec5b013
JM
70882012-09-29 Joseph Myers <joseph@codesourcery.com>
7089
7090 [BZ #14638]
7091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7092 0 + 0.
7093 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7094 mode for addition resulting in exact zero.
7095 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7097 exact 0 + 0.
7098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7099 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7100 * math/libm-test.inc (fma_test): Add more tests.
7101 (fma_test_towardzero): New function.
7102 (fma_test_downward): Likewise.
7103 (fma_test_upward): Likewise.
7104 (main): Call the new functions.
7105
b1fa802e
DM
71062012-09-28 David S. Miller <davem@davemloft.net>
7107
7108 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7109
d3b9fd9e
RM
71102012-09-28 Roland McGrath <roland@hack.frob.com>
7111
ea4d37b3
RM
7112 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7113 instead of SIGALRM.
7114
ac51c949
RM
7115 * sysdeps/gnu/_G_config.h: Moved to ...
7116 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7117 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7118 * sysdeps/generic/_G_config.h: ... here.
7119
28c195f7
RM
7120 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7121
848917f9
RM
7122 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7123
6bacf05b
RM
7124 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7125 Conditionalize target on [libnss_test1.so-version].
7126
91363dbb
RM
7127 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7128
cc87f7d8
RM
7129 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7130 (elfobjdir): Move out of conditionals.
7131
b1c608fe
RM
7132 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7133 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7134 (__nss_lookup_function): Conditionalize label remove_from_tree on
7135 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7136
1d9a6d96
DM
71372012-09-28 David S. Miller <davem@davemloft.net>
7138
7139 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7140 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7141 file.
7142 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7143 sysdep_routines.
7144 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7146 when HWCAP_SPARC_CRYPTO is present.
7147
72581615
PT
71482012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7149
7150 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7151
715a900c
JL
71522012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7153
7154 [BZ #6530]
7155 * stdio-common/vfprintf.c (process_string_arg): Revert
7156 2000-07-22 change.
7157
71582011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7159
7160 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7161 for testcase.
7162 * stdio-common/tst-sprintf.c: Include <locale.h>
7163 (main): Test sprintf's handling of incomplete multibyte
7164 characters.
7165
9bac1d86
L
71662012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7167
7168 * elf/dl-runtime.c (VERSYMIDX): Removed.
7169 * elf/dl-version.c (VERSYMIDX): Likewise.
7170 * elf/do-rel.h (VERSYMIDX): Likewise.
7171 (VALIDX): Likewise.
7172 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7173 * elf/rtld.c (VALIDX): Likewise.
7174 (ADDRIDX): Likewise.
9bac1d86
L
7175 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7176 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7177 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7178 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7179 (VALIDX): Likewise.
7180 (ADDRIDX): Likewise.
9bac1d86 7181
b31606c0
PT
71822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7183
7184 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7185
11541177
JL
71862012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7187
7188 [BZ #11438]
7189 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7190 to global scope.
7191 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7192 addresses are in the same scope as 192.0.2/24.
7193 * posix/gai.conf: Document new scope table defaults.
7194
adb26fae
SP
71952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7196
7197 [BZ #5298]
7198 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7199 for ftell. Compute offsets from write pointers instead.
7200 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7201
4573c6b0
SP
72022012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7203
7204 [BZ #14543]
7205 * libio/Makefile (tests): New test case tst-fseek.
7206 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7207 combination works in wide mode.
7208 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7209 state when the external buffer state changes.
7210
aa9bbfe6
DM
72112012-09-27 David S. Miller <davem@davemloft.net>
7212
7213 [BZ #14376]
7214 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7215 pass reloc->r_addend in as the 'high' argument to
7216 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7217
784421e7
DM
7218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7219
c39bc8b8
PT
72202012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7221
7222 * rt/tst-aio2.c: Include <pthread.h>.
7223 * rt/tst-aio3.c: Likewise.
7224
1ccc2399
SE
72252012-09-27 Steve Ellcey <sellcey@mips.com>
7226
7227 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7228
31ed4153
L
72292012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7230
25f5f885
L
7231 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7232 contents on [SHARED].
31ed4153 7233
b7bfe116
MP
72342012-09-26 Marek Polacek <polacek@redhat.com>
7235
7236 [BZ #14530]
7237 [BZ #13741]
7238 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7239 for C++ and GCC <4.3 as well as for non GCC compilers.
7240
43c4edba
MT
72412012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7242
7243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7244
6a1bf82f
RM
72452012-09-25 Roland McGrath <roland@hack.frob.com>
7246
7247 * Makefile.in (all, install): Declare with .PHONY.
7248 Reported by Michael Hope <michael.hope@linaro.org>.
7249
8ad11b9a
TMQMF
72502012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7251
7252 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7253 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7254 system header.
7255 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7256 Likewise.
7257 (sydep_routines): Add the new and the internal functions.
7258 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7259 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7261 (GLIBC_2.17): Add the new function.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7263 (GLIBC_2.17): Likewise.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7265 (GLIBC_2.17): Likewise.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7267 (GLIBC_2.17): Likewise.
7268 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7269
7e2fca8d
AM
72702012-09-25 Alan Modra <amodra@gmail.com>
7271
7272 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7273 Add release barrier before setting once_control to say
7274 initialisation is done. Add hints on lwarx. Use macro in
7275 place of isync.
7276 (clear_once_control): Add release barrier.
7277
b87c4b24
JM
72782012-09-25 Joseph Myers <joseph@codesourcery.com>
7279
d032e0d2
JM
7280 [BZ #13629]
7281 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7282 specially.
7283 * math/s_clog10.c (__clog10): Likewise.
7284 * math/s_clog10f.c (__clog10f): Likewise.
7285 * math/s_clog10l.c (__clog10l): Likewise.
7286 * math/s_clogf.c (__clogf): Likewise.
7287 * math/s_clogl.c (__clogl): Likewise.
7288 * math/Makefile (libm-calls): Add x2y2m1.
7289 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7290 (__x2y2m1): Likewise.
7291 (__x2y2m1l): Likewise.
7292 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7293 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7296 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7297 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7298 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7299 * sysdeps/i386/fpu/libm-test-ulps: Update.
7300 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7301
b87c4b24
JM
7302 [BZ #14621]
7303 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7304 int as type of variable DEPTH.
7305 (glob): Use size_t instead of int as type of variables NEWCOUNT
7306 and OLD_PATHC.
7307
6d3bf199
LD
73082012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7309
22bf5c17
LD
7310 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7311 Add s_sincosf-sse2.
7312 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7313 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7314 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7315 macros for using routine as __sincosf_ia32.
7316 Use macro for function declaration and weak_alias.
7317 * sysdeps/i386/fpu/libm-test-ulps: Update.
7318
7319 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7320 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7321
7322 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7323 subnormal argument.
7324 * math/s_cexpf.c (__cexpf): Likewise.
7325 * math/s_csinf.c (__csinf): Likewise.
7326 * math/s_csinhf.c (__csinhf): Likewise.
7327 * math/s_ctanf.c (__ctanf): Likewise.
7328 * math/s_ctanhf.c (__ctanhf): Likewise.
7329 * math/s_ccosh.c (__ccoshf): Likewise.
7330 * math/s_cexp.c (__cexpl): Likewise.
7331 * math/s_csin.c (__csin): Likewise.
7332 * math/s_csinh.c (__csinh): Likewise.
7333 * math/s_ctan.c (__ctan): Likewise.
7334 * math/s_ctanh.c (ctanh): Likewise.
7335 * math/s_ccoshl.c (__ccoshl): Likewise.
7336 * math/s_cexpl.c (__cexpl): Likewise.
7337 * math/s_csinl.c (__csinl): Likewise.
7338 * math/s_csinhl.c (__csinhl): Likewise.
7339 * math/s_ctanl.c (__ctanl): Likewise.
7340 * math/s_ctanhl.c (__ctanhl): Likewise.
7341
203e5603
JM
73422012-09-25 Joseph Myers <joseph@codesourcery.com>
7343
7344 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7345 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7346 (_IO_off_t): Define to __off_t, not _G_off_t.
7347 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7348 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7349 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7350 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7351 type of __dummy and __dummy2 fields.
7352 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7353 (_G_ssize_t): Likewise.
7354 (_G_off_t): Likewise.
7355 (_G_pid_t): Likewise.
7356 (_G_uid_t): Likewise.
7357 (_G_wchar_t): Likewise.
7358 (_G_wint_t): Likewise.
7359 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7360 (_G_ssize_t): Likewise.
7361 (_G_off_t): Likewise.
7362 (_G_pid_t): Likewise.
7363 (_G_uid_t): Likewise.
7364 (_G_wchar_t): Likewise.
7365 (_G_wint_t): Likewise.
7366 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7367 (_G_ssize_t): Likewise.
7368 (_G_off_t): Likewise.
7369 (_G_pid_t): Likewise.
7370 (_G_uid_t): Likewise.
7371 (_G_wchar_t): Likewise.
7372 (_G_wint_t): Likewise.
7373
9fab36eb
SP
73742012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7375
7376 * malloc/arena.c: Include malloc-sysdep.h.
7377 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7378 is sufficient to shrink the heap or an unmap is needed.
7379 * sysdeps/generic/malloc-sysdep.h: New file. Define
7380 new function check_may_shrink_heap.
7381 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7382 new function check_may_shrink_heap.
7383
2b4f00d1
SP
73842012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7385
7386 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7387 comments.
7388
9a9028b1
DL
73892012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7390
57c69bef
DL
7391 * catgets/test-gencat.sh: Add "set -e".
7392 * elf/tst-pathopt.sh: Likewise.
7393 * grp/tst_fgetgrent.sh: Likewise.
7394 * iconvdata/run-iconv-test.sh: Likewise.
7395 * intl/tst-gettext.sh: Likewise.
7396 * intl/tst-gettext2.sh: Likewise.
7397 * intl/tst-gettext4.sh: Likewise.
7398 * intl/tst-gettext6.sh: Likewise.
7399 * intl/tst-translit.sh: Likewise.
7400 * io/ftwtest-sh: Likewise.
7401 * libio/test-freopen.sh: Likewise.
7402 * malloc/tst-mtrace.sh: Likewise.
7403 * posix/globtest.sh: Likewise.
7404 * posix/tst-getconf.sh: Likewise.
7405 * posix/wordexp-tst.sh: Likewise.
7406 * stdio-common/tst-printf.sh: Likewise.
7407 * stdio-common/tst-unbputc.sh: Likewise.
7408 * stdlib/tst-fmtmsg.sh: Likewise.
7409 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7410 * catgets/Makefile: Do not specify -e option when running
7411 testsuite shell scripts.
7412 * elf/Makefile: Likewise.
7413 * grp/Makefile: Likewise.
7414 * iconvdata/Makefile: Likewise.
7415 * intl/Makefile: Likewise.
7416 * io/Makefile: Likewise.
7417 * libio/Makefile: Likewise.
7418 * malloc/Makefile: Likewise.
7419 * posix/Makefile: Likewise.
7420 * stdio-common/Makefile: Likewise.
7421 * stdlib/Makefile: Likewise.
7422 * sysdeps/x86_64/Makefile: Likewise.
7423
9a9028b1
DL
7424 * io/ftwtest-sh: Add copyright header.
7425 * posix/globtest.sh: Likewise.
7426 * posix/tst-getconf.sh: Likewise.
7427 * posix/wordexp-tst.sh: Likewise.
7428 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7429
ced6f16e
L
74302012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7431
94b32c39
L
7432 [BZ #13679]
7433 * Makeconfig (+link): Defined as $(+link-static) if
7434 $(build-shared) isn't yes.
7435 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7436 isn't yes.
7437 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7438
189e935b
L
7439 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7440
ced6f16e
L
7441 [BZ #14562]
7442 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7443 new chunk size with MALLOC_ALIGN_MASK.
7444
a9f8e53a
JM
74452012-09-24 Joseph Myers <joseph@codesourcery.com>
7446
7447 [BZ #5044]
7448 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7449 <rounding-mode.h>.
7450 (__printf_fphex): Determine rounding using get_rounding_mode and
7451 round_away.
7452 * stdio-common/tst-printf-round.c (struct hex_test): New
7453 structure.
7454 (hex_tests): New variable.
7455 (test_hex_in_one_mode): New function.
7456 (do_test): Also run tests for hex float output.
7457
43153109
JM
74582012-09-21 Joseph Myers <joseph@codesourcery.com>
7459
7460 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7461 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7462 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7463 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7464 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7465 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7466 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7467 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7468
8a26625d
JM
74692012-09-20 Joseph Myers <joseph@codesourcery.com>
7470
7471 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7472 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7473 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7474 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7475
f3fd569c
DL
74762012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7477
7478 [BZ #14579]
7479 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7480 mode only.
7481 * elf/tst-rtld-load-self.sh: New test.
7482 * elf/Makefile: Run it.
7483
63bbedd4
JM
74842012-09-18 Joseph Myers <joseph@codesourcery.com>
7485
7486 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7487 (tst-writev-ENV): Remove.
7488 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7489
626f8b6a
CM
74902012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7491
7492 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7493
b7aaa4d6
JM
74942012-09-17 Joseph Myers <joseph@codesourcery.com>
7495
7496 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7497 unconditional.
7498 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7499 Likewise.
7500 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7501 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7502 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7503 Likewise.
7504
65513990
L
75052012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7506
7507 [BZ #14587]
7508 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7509 * config.make.in (have-cpp-asm-debuginfo): Removed.
7510 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7511 * configure: Regenerated.
7512
784761be
JM
75132012-09-14 Joseph Myers <joseph@codesourcery.com>
7514
7515 [BZ #5044]
7516 * stdio-common/printf_fp.c: Include <stdbool.h> and
7517 <rounding-mode.h>.
7518 (___printf_fp): Determine rounding using get_rounding_mode and
7519 round_away.
7520 * stdio-common/tst-printf-round.c: New file.
7521 * stdio-common/Makefile (tests): Add tst-printf-round.
7522 (link-libm): New variable.
7523 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7524
9503345f
L
75252012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7526
7527 [BZ #14576]
7528 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7529 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7530 Likewise.
7531 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7532 Likewise.
7533
ad35fc00
JM
75342012-09-13 Joseph Myers <joseph@codesourcery.com>
7535
7536 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7537 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7538 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7540
6c9b0f68
JM
75412012-09-12 Joseph Myers <joseph@codesourcery.com>
7542
7543 [BZ #14518]
7544 * include/rounding-mode.h: New file.
7545 * sysdeps/generic/get-rounding-mode.h: Likewise.
7546 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7547 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7548 (MAX_VALUE): New macro.
7549 (MIN_VALUE): Likewise.
7550 (overflow_value): New function.
7551 (underflow_value): Likewise.
7552 (round_and_return): Use overflow_value and underflow_value to
7553 determine return values in overflow and underflow cases. Use
7554 round_away to determine rounding depending on rounding mode.
7555 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7556 determine return values in overflow and underflow cases.
7557 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7558 (struct test_results): New structure.
7559 (struct test): Use struct test_results to store expected results
7560 for all rounding modes.
7561 (TEST): Include expected results for all rounding modes.
7562 (test_in_one_mode): New function.
7563 (do_test): Use test_in_one_mode to compute and check results.
7564 Check results for all rounding modes.
7565 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7566 $(link-libm).
7567
19fcedd5
AM
75682012-12-09 Allan McRae <allan@archlinux.org>
7569
1e9d84cd 7570 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7571
8bbfd2f1
JM
75722012-09-11 Joseph Myers <joseph@codesourcery.com>
7573
7574 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7575 (_G_int32_t): Likewise.
7576 (_G_uint16_t): Likewise.
7577 (_G_uint32_t): Likewise.
7578 (_G_HAVE_BOOL): Likewise.
7579 (_G_HAVE_ATEXIT): Likewise.
7580 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7581 (_G_HAVE_IO_FILE_OPEN): Likewise.
7582 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7583 (_G_int32_t): Likewise.
7584 (_G_uint16_t): Likewise.
7585 (_G_uint32_t): Likewise.
7586 (_G_HAVE_BOOL): Likewise.
7587 (_G_HAVE_ATEXIT): Likewise.
7588 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7589 (_G_HAVE_IO_FILE_OPEN): Likewise.
7590 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7591 (_G_int32_t): Likewise.
7592 (_G_uint16_t): Likewise.
7593 (_G_uint32_t): Likewise.
7594 (_G_HAVE_BOOL): Likewise.
7595 (_G_HAVE_ATEXIT): Likewise.
7596 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7597 (_G_HAVE_IO_FILE_OPEN): Likewise.
7598
b1dc5912
L
75992012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7600
7601 * csu/libc-tls.c: Update copyright years.
7602
0e886ef9
JM
76032012-09-10 Joseph Myers <joseph@codesourcery.com>
7604
28361c5e
JM
7605 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7606 [!_G_USING_THUNKS]: Remove conditional code.
7607 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7608 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7609
0e886ef9
JM
7610 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7611 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7612 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7613 (_G_VTABLE_LABEL_PREFIX): Likewise.
7614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7615 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7616 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7617 (_G_VTABLE_LABEL_PREFIX): Likewise.
7618 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7619 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7620 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7621 (_G_VTABLE_LABEL_PREFIX): Likewise.
7622 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7623
bcba7aa2
L
76242012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7625
7626 * libio/Makefile: Include ../Makeconfig before tests.
7627 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7628 only if $(build-shared) is yes.
7629
06585ee8
L
7630 * iconv/gconv_db.c: Update copyright years.
7631
80ccd52c
LD
76322012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7633
7634 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7635 unwind info if defined PIC. Fix special cases description.
7636 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7637
7638 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7639 DP_HI_MASK entry.
7640 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7641
691bc9c1
L
76422012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7643
3d9b46b3
L
7644 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7645
de2139a9
L
7646 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7647 is NULL.
7648
5ca78dd0
L
7649 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7650 (LDLIBS-tst-chk4): This.
7651 (LDFLAGS-tst-chk5): Renamed to ...
7652 (LDLIBS-tst-chk5): This.
7653 (LDFLAGS-tst-chk6): Renamed to ...
7654 (LDLIBS-tst-chk6): This.
7655 (LDFLAGS-tst-lfschk4): Renamed to ...
7656 (LDLIBS-tst-lfschk4): This.
7657 (LDFLAGS-tst-lfschk5): Renamed to ...
7658 (LDLIBS-tst-lfschk5): This.
7659 (LDFLAGS-tst-lfschk6): Renamed to ...
7660 (LDLIBS-tst-lfschk6): This.
7661
691bc9c1
L
7662 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7663 on $(common-objpfx)soversions.mk.
7664
65cafb1c
JM
76652012-09-07 Joseph Myers <joseph@codesourcery.com>
7666
7667 [BZ #10014]
7668 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7669 example host name.
7670
c78ab094
SP
76712012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7672
7673 * malloc/arena.c (arena_get_retry): New function that gets
7674 another arena for the caller to try its request on.
7675 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7676 current arena cannot fulfill the request.
7677 (__libc_memalign): Likewise.
7678 (__libc_memalign): Likewise.
7679 (__libc_pvalloc): Likewise.
7680 (__libc_calloc): Likewise.
7681
01f49f59
JT
76822012-09-05 John Tobey <john.tobey@gmail.com>
7683
7684 [BZ #13542]
7685 * manual/arith.texi (Operations on Complex): Fix description
7686 of carg branch cut.
7687
4c23fed5
JM
76882012-09-06 Joseph Myers <joseph@codesourcery.com>
7689
1d3c8572
JM
7690 [BZ #10014]
7691 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7692 host name.
7693
4c23fed5
JM
7694 [BZ #10038]
7695 * manual/memory.texi (Memory): Make order of menu items match
7696 order of sections.
7697
04570aaa
L
76982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7699
7700 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7701 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7702 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7703
b80af2f4
L
77042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7705
7706 * csu/libc-tls.c (static_dtv): Renamed to ...
7707 (_dl_static_dtv): This. Make it global.
7708 (_dl_initial_dtv): Removed.
7709 (__libc_setup_tls): Updated.
7710 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7711 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7712 DL_INITIAL_DTV.
7713
2abe9f15
PM
77142012-09-06 Petr Machata <pmachata@redhat.com>
7715
7716 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7717 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7718 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7719 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7720
0948c3af
L
77212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7722
7723 [BZ #14545]
7724 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7725 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7726 freeing dtv[-1].
7727
a5055ad1
L
77282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7729
7730 [BZ #14544]
7731 * Makeconfig (link-static-before-libc): Replace $(+prector)
7732 with $(+prectorT).
7733 (link-static-after-libc): Replace $(+postctor) with
7734 $(+postctorT).
7735 (link-bounded): Replace $(+prector)/$(+postctor) with
7736 $(+prectorT)/$(+postctorT).
7737 (+prectorT): New macro.
7738 (+postctorT): Likewise.
7739
ed8c2ecd
JM
77402012-09-06 Joseph Myers <joseph@codesourcery.com>
7741
7742 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7743 (round_str): Handle values above the maximum for IBM long double
7744 as inexact.
7745 * stdlib/tst-strtod-round.c (tests): Regenerated.
7746
14c996c8
AK
77472012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7748
7749 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7750 assembler flag.
7751 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7752 zarch_nohighgprs around the zarch optimized routines.
7753 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7754 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7755 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7756 for zarch.
7757
430d6ce6
DM
77582012-09-05 David S. Miller <davem@davemloft.net>
7759
7760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7761
ff04dda4
DM
7762 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7763 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7764 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7765 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7766 entries.
7767
24d4e01b
AO
77682012-09-05 Alexandre Oliva <aoliva@redhat.com>
7769
7770 * malloc/arena.c: Fold copyright years.
7771 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7772
61d58174
AO
77732012-09-05 Alexandre Oliva <aoliva@redhat.com>
7774
7775 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7776
20196a5e
AO
77772012-09-05 Alexandre Oliva <aoliva@redhat.com>
7778
7779 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7780
5c447383
AO
77812012-09-05 Alexandre Oliva <aoliva@redhat.com>
7782
7783 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7784 change internal state upon failure.
7785
fad64255
AO
77862012-09-05 Alexandre Oliva <aoliva@redhat.com>
7787
7788 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7789 * malloc/memusage.c (mmap): Likewise.
7790 (mmap64, mremap): Likewise. Adjust name in comment.
7791
1ffb8c90
SP
77922012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7793
7794 * libio/fileops.c: Fix typos in comments.
7795 * libio/oldfileops.c: Likewise.
7796 * libio/wfileops.c: Likewise.
7797
6ef9cc37
SP
77982012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7799
7800 [BZ #1349]
7801 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7802 (tst-malloc-usable-ENV): Set environment for test case.
7803 * malloc/hooks.c (malloc_check_get_size): New function to get
7804 requested size.
7805 * malloc/malloc.c (musable): Use malloc_check_get_size.
7806 * malloc/tst-malloc-usable.c: New test case.
7807
4d038ae3
AS
78082012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7809
7810 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7811
c4e85184
AM
78122012-09-05 Allan McRae <allan@archlinux.org>
7813
b9dafc56 7814 [BZ #13966]
c4e85184
AM
7815 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7816 determine header location.
7817 * configure: Regenerated.
7818
e1343020
AS
78192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7820
7821 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7822 float format.
7823 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7824 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7825 format.
e1343020
AS
7826 (test): Regenerate.
7827
0a9f1987
DM
78282012-09-04 David S. Miller <davem@davemloft.net>
7829
7830 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7831 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7832 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7833
29237804
FW
78342012-09-04 Florian Weimer <fweimer@redhat.com>
7835
7836 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7837 failures.
7838
edb3cb88
FW
7839 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7840
60160d83
JM
78412012-09-04 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #9914]
7844 * libio/iogetdelim.c: Include <limits.h>.
7845 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7846 + len + 1 would overflow.
7847
bcd6c8dc
AJ
78482012-09-03 Andreas Jaeger <aj@suse.de>
7849
7850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852
4ffffbd2
LD
78532012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7854
7855 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7856 Add s_sinf-sse2, s_conf-sse2.
7857
7858 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7859 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7860 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7861 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7862
7863 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7864 for using routine as __sinf_ia32.
7865 Use macro for function declaration and weak_alias.
7866 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7867 for using routine as __cosf_ia32.
7868 Use macro for function declaration and weak_alias.
7869
7870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7871 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7872
7873 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7874 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7876
7877 * math/libm-test.inc (cos_test): Add more test cases.
7878 (sin_test): Likewise.
7879 (sincos_test): Likewise.
7880
511fa286
AK
78812012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7882
7883 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7884 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7885 hidden.
7886 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7887
5f30cfec
L
78882012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7889
7890 [BZ #14538]
7891 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7892 first element of the GOT.
7893 (elf_machine_load_address): Return the difference between
7894 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7895
0786794f
AM
78962012-09-01 Allan McRae <allan@archlinux.org>
7897
5f30cfec
L
7898 [BZ #13412]
7899 * configure.in (AWK): Require gawk version 3.0 or later.
7900 * configure: Regenerated.
0786794f 7901
26889eac
JM
79022012-09-01 Joseph Myers <joseph@codesourcery.com>
7903
7904 * sysdeps/unix/sysv/linux/kernel-features.h
7905 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7906 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7907 [__NR_clock_getres]: Make code unconditional.
7908 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7909 (clock_getcpuclockid): Remove code left unreachable by removal of
7910 conditionals.
7911 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7912 code unconditional.
7913 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7914 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7915 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7916 Make code unconditional.
7917 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7918 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7919 * sysdeps/unix/sysv/linux/clock_settime.c
7920 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7921 conditional code.
7922 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7923 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7924
d22e28b0
L
79252012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7926
7927 [BZ #14476]
7928 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7929 scripts/test-installation.pl.
7930
7931 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7932 and $ld_so_version if it is set.
7933
050af9c4
SP
79342012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7935
7936 [BZ #14516]
7937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7938 failure if reading from procfs failed.
7939 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7940
ad845c0b
JM
79412012-08-27 Joseph Myers <joseph@codesourcery.com>
7942
7943 * sysdeps/unix/sysv/linux/kernel-features.h
7944 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7945 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7946 Remove conditional code.
7947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7948 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7949 Remove conditional code.
7950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7951 * sysdeps/unix/sysv/linux/i386/fxstat.c
7952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7954 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7955 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7957 * sysdeps/unix/sysv/linux/i386/lxstat.c
7958 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7960 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7961 Remove conditional code.
7962 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7963 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7964 Remove conditional code.
7965 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7966 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7967 <kernel-features.h>.
7968 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7969 Remove.
7970 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7971 Remove conditional code.
7972 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7973 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7974 Remove conditional.
7975
5dbf56af
MF
79762012-08-27 Mike Frysinger <vapier@gentoo.org>
7977
7978 [BZ #5400]
7979 * NEWS: Add fixed bug number.
7980
d6e70f43
JM
79812012-08-27 Joseph Myers <joseph@codesourcery.com>
7982
7efb4737
JM
7983 [BZ #14519]
7984 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7985 underflowing exponent in case of negative sign.
7986 * stdlib/tst-strtod-round-data: Add more tests.
7987 * stdlib/tst-strtod-round.c (tests): Regenerated.
7988
af92131a
JM
7989 [BZ #3479]
7990 * stdlib/strtod_l.c (NDIG): Remove.
7991 (HEXNDIG): Likewise.
7992 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7993 smallest representable value.
7994 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7995 lie within an exact representation of 1/2 ulp of the result.
7996 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7997 unconditionally.
7998 (TENS_P9_IDX): Define unconditionally.
7999 (TENS_P9_SIZE): Likewise.
8000 (TENS_P10_IDX): Likewise.
8001 (TENS_P10_SIZE): Likewise.
8002 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8003 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8004 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8005 entries for 10^2^13 and 10^2^14.
8006 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8007 (TENS_P13_IDX): Define.
8008 (TENS_P13_SIZE): Likewise.
8009 (TENS_P14_IDX): Likewise.
8010 (TENS_P14_SIZE): Likewise.
8011 (_fpioconst_pow10): Change array size to
8012 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8013 unconditional.
8014 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8015 1024]: Add entries for 10^2^13 and 10^2^14.
8016 [LAST_POW10 > _LAST_POW10]: Remove #error.
8017 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8018 (_fpioconst_pow10): Change array size to
8019 FPIOCONST_POW10_ARRAY_SIZE.
8020 * stdlib/gen-fpioconst.c: New file.
8021 * stdlib/gen-tst-strtod-round.c: Likewise.
8022 * stdlib/tst-strtod-round-data: Likewise.
8023 * stdlib/tst-strtod-round.c: Likewise.
8024 * stdlib/Makefile (tests): Add tst-strtod-round.
8025
d6e70f43
JM
8026 [BZ #14459]
8027 * stdlib/strtod_l.c: Include <stdint.h>.
8028 (NDEBUG): Do not define.
8029 (round_and_return): Change EXPONENT parameter to type intmax_t.
8030 Rearrange calculations to avoid internal overflow possibilities.
8031 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8032 Rearrange calculations to avoid internal overflow possibilities.
8033 Assert that number fits inside MPNSIZE limbs.
8034 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8035 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8036 calculations and add assertions to avoid internal overflow
8037 possibilities. Add casts to avoid signed/unsigned operations.
8038 * stdlib/tst-strtod-overflow.c: New file.
8039 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8040
1f529f7d
MP
80412012-08-25 Marek Polacek <polacek@redhat.com>
8042
8043 * time/time.h: Fix some typos in comments.
8044
59a629f1
RM
80452012-08-23 Roland McGrath <roland@hack.frob.com>
8046
8047 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8048 * posix/tst-rfc3484-2.c: Likewise.
8049 * posix/tst-rfc3484-3.c: Likewise.
8050
d3bafbc9
SM
80512012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8052
8053 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8054 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8055
4efcc022
JM
80562012-08-23 Joseph Myers <joseph@codesourcery.com>
8057
8058 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8059 #include of fxstatat64.c.
8060
3cc3ef96
RM
80612012-08-22 Roland McGrath <roland@hack.frob.com>
8062
f04e2132
RM
8063 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8064 * shadow/getspent_r.c: Likewise.
8065 * shadow/getspnam.c: Likewise.
8066 * shadow/getspnam_r.c: Likewise.
8067 * gshadow/getsgent.c: Likewise.
8068 * gshadow/getsgent_r.c: Likewise.
8069 * gshadow/getsgnam.c: Likewise.
8070 * gshadow/getsgnam_r.c: Likewise.
8071 * inet/getnetbyad.c: Likewise.
8072 * inet/getnetbyad_r.c: Likewise.
8073 * inet/getnetbynm.c: Likewise.
8074 * inet/getnetbynm_r.c: Likewise.
8075 * inet/getnetent.c: Likewise.
8076 * inet/getnetent_r.c: Likewise.
8077 * inet/getproto.c: Likewise.
8078 * inet/getproto_r.c: Likewise.
8079 * inet/getprtent.c: Likewise.
8080 * inet/getprtent_r.c: Likewise.
8081 * inet/getprtname.c: Likewise.
8082 * inet/getprtname_r.c: Likewise.
8083 * inet/getrpcbyname.c: Likewise.
8084 * inet/getrpcbyname_r.c: Likewise.
8085 * inet/getrpcbynumber.c: Likewise.
8086 * inet/getrpcbynumber_r.c: Likewise.
8087 * inet/getrpcent.c: Likewise.
8088 * inet/getrpcent_r.c: Likewise.
8089 * inet/getaliasent.c: Likewise.
8090 * inet/getaliasent_r.c: Likewise.
8091 * inet/getaliasname.c: Likewise.
8092 * inet/getaliasname_r.c: Likewise.
8093 * nscd/getgrgid_r.c: Likewise.
8094 * nscd/getgrnam_r.c: Likewise.
8095 * nscd/gethstbyad_r.c: Likewise.
8096 * nscd/gethstbynm3_r.c: Likewise.
8097 * nscd/getpwnam_r.c: Likewise.
8098 * nscd/getpwuid_r.c: Likewise.
8099 * nscd/getsrvbynm_r.c: Likewise.
8100 * nscd/getsrvbypt_r.c: Likewise.
8101 * nscd/gai.c: Likewise.
8102
c53d909c
RM
8103 * configure.in (build_nscd): New substituted variable, set
8104 by --disable-build-nscd and defaults to $use_nscd.
8105 * configure: Regenerated.
8106 * config.make.in (build-nscd): New substituted variable.
8107 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8108 Change conditional to require [$(build-nscd) = yes] as well.
8109 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8110
3cc3ef96
RM
8111 [BZ# 13696]
8112 * configure.in (use_nscd): New substituted variable, set by
8113 --disable-nscd. If enabled, define USE_NSCD.
8114 * configure: Regenerated.
8115 * config.h.in: Add USE_NSCD.
8116 * config.make.in (use-nscd): New substituted variable.
8117 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8118 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8119 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8120 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8121 (CFLAGS-getgrnam_r.c): Likewise.
8122 (CFLAGS-initgroups.c): Likewise.
8123 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8124 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8125 Variables removed.
8126 * inet/getnetgrent_r.c
8127 (nscd_setnetgrent): New function, broken out of ...
8128 (setnetgrent): ... here. Call it.
8129 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8130 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8131 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8132 * nscd/Makefile (routines, aux): Move definitions after include of
8133 Makeconfig. Conditionalize on [$(use-nscd) != no].
8134 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8135 Conditionalize on [USE_NSCD].
8136 (is_nscd, nscd_init_cb): Likewise.
8137 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8138 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8139 * nss/nss_db/db-init.c: Likewise.
8140 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8141 [USE_NSCD].
8142 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8143 (make_request): Use it.
8144 (cache_valid_p): New function.
8145 (__check_pf): Use it.
8146 * NEWS: Add item for --disable-nscd.
8147
07e51550
DL
81482012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8149
8150 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8151 to support sed >= 4.2.1-20-ga9bf076.
8152 * configure: Regenerated.
8153
35a5b08b
RM
81542012-08-22 Roland McGrath <roland@hack.frob.com>
8155
8156 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8157 Conditionalize whole body on [IREL].
8158
8479f23a
JL
81592012-08-22 Jeff Law <law@redhat.com>
8160
8161 [BZ #14505]
8162 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8163 if the family is PF_UNSPEC.
8164
48da0b21
MF
81652012-08-22 Mike Frysinger <vapier@gentoo.org>
8166
8167 * Makerules (lib-version): Rename from V.
8168 (install-lib-nosubdir): Change V to lib-version.
8169
15d0da8c
WS
81702012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8171
8172 [BZ #14252]
8173 * powerpc32/power6/wcschr.c: New file.
8174 * powerpc32/power6/wcscpy.c: New file.
8175 * powerpc32/power6/wcsrchr.c: New file.
8176 * powerpc64/power6/wcschr.c: New file.
8177 * powerpc64/power6/wcscpy.c: New file.
8178 * powerpc64/power6/wcsrchr.c: New file.
8179
bcca0895
MK
81802012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8181
8182 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8183 (two_way_short_needle): Use it.
5a4aaa33
RM
8184 * string/strstr.c (AVAILABLE1_USES_J): Define.
8185 * string/strcasestr.c: Likewise.
99677e57
MK
8186
8187 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8188 array references.
8189 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8190
400726de
MK
8191 [BZ #11607]
8192 * NEWS: Add an entry.
8193 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8194 define their defaults.
8195 (two_way_short_needle): Detect end-of-string on-the-fly.
8196 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8197 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8198 * string/bug-strcasestr1.c: New test.
8199 * string/Makefile: Run it.
8200
20a71f2c
MK
82012012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8202
8203 [BZ #11607]
8204 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8205 the first character.
8206
21ad0558
RM
82072012-08-21 Roland McGrath <roland@hack.frob.com>
8208
8209 * csu/elf-init.c (__libc_csu_irel): Function removed.
8210 * csu/libc-start.c (apply_irel): New function.
8211 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8212
0e1d9911
JM
82132012-08-21 Joseph Myers <joseph@codesourcery.com>
8214
8215 * sysdeps/unix/sysv/linux/kernel-features.h
8216 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8217 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8218 <kernel-features.h>.
8219 [__NR_fadvise64_64]: Make code unconditional.
8220 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8221 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8222 !__NR_fadvise64_64)]: Likewise.
8223 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8224 !__NR_fadvise64_64))]: Likewise.
8225 [__NR_fadvise64]: Make code unconditional.
8226 [!__NR_fadvise64]: Remove conditional code.
8227 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8228 <kernel-features.h>.
8229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8230 unconditional.
8231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8232 conditional code.
8233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8234 not include <kernel-features.h>.
8235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8236 unconditional.
8237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8238 conditional code.
8239 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8240 include <kernel-features.h>.
8241 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8242 unconditional.
8243 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8244 conditional code.
8245
14a50c9d
WS
82462012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8247
8248 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8249 slight instruction rearrangements per scrollpipe analysis.
8250 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8251
c0f4faf0
RM
82522012-08-20 Roland McGrath <roland@hack.frob.com>
8253
696da859
RM
8254 * manual/syslog.texi (syslog; vsyslog, closelog):
8255 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8256 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8257
c0f4faf0
RM
8258 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8259 DSOCAPS to match condition on defining it.
8260
348363b2
JM
82612012-08-20 Joseph Myers <joseph@codesourcery.com>
8262
a35cbf28
JM
8263 * sysdeps/unix/sysv/linux/kernel-features.h
8264 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8269 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8270 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8272 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8273 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8274
445f7ecd
JM
8275 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8276 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8277
348363b2
JM
8278 * sysdeps/unix/sysv/linux/kernel-features.h
8279 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8280 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8281 unconditional.
8282 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8283 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8284 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8285 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8286 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8287 Make code unconditional.
8288 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8289 (__mmap64) [!__NR_mmap2]: Likewise.
8290 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8291 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8292 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8293 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8294 [__NR_mmap2]: Make code unconditional.
8295 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8296 (__mmap64) [!__NR_mmap2]: Likewise.
8297
bc5bc0e5
AK
82982012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8299
8300 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8301
88d506de
AJ
83022012-08-18 Andreas Jaeger <aj@suse.de>
8303
8304 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8305
493387d2
MF
83062012-08-18 Mike Frysinger <vapier@gentoo.org>
8307
8308 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8309 * include/unistd.h (__have_sock_cloexec): Likewise.
8310 (__have_pipe2): Likewise.
8311 (__have_dup3): Likewise.
8312
a277af22
MF
83132012-08-18 Mike Frysinger <vapier@gentoo.org>
8314
8315 [BZ #9685]
8316 * include/unistd.h (__have_pipe2): Change define into an extern int.
8317 (__have_dup3): Likewise.
8318 * socket/have_sock_cloexec.c: Include fcntl.h.
8319 (__have_pipe2): New variable.
8320 (__have_dup3): Likewise.
8321
fdab8fd3
MF
83222012-08-17 Mike Frysinger <vapier@gentoo.org>
8323
8324 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8325
31035e80
MP
83262012-08-17 Marek Polacek <polacek@redhat.com>
8327
8328 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8329 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8330
3bd9e993
RM
83312012-08-17 Roland McGrath <roland@hack.frob.com>
8332
c91c505f
RM
8333 * configure.in: Add AC_SUBST for sysheaders.
8334 * configure: Regenerated.
8335 * config.make.in (sysheaders): New substituted variable.
8336
7c6f9d53
RM
8337 * sysdeps/unix/mkfifo.c: Moved ...
8338 * sysdeps/posix/mkfifo.c: ... here.
8339 * sysdeps/unix/mkfifoat.c: Moved ...
8340 * sysdeps/posix/mkfifoat.c: ... here.
8341
8342 * sysdeps/unix/utime.c: Moved ...
8343 * sysdeps/posix/utime.c: ... here.
8344
8345 * sysdeps/unix/time.c: Moved ...
8346 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8347 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8348 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8349
8350 * sysdeps/unix/nice.c: Moved ...
8351 * sysdeps/posix/nice.c: ... here.
8352
8353 * sysdeps/unix/alarm.c: Moved ...
8354 * sysdeps/posix/alarm.c: ... here.
8355
3bd9e993
RM
8356 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8357
d1f09384
JL
83582012-08-17 Jeff Law <law@redhat.com>
8359
8360 * intl/Makefile (codeset_mo): New variable.
8361 ($(codeset_mo)): New target.
8362 (tst-codeset.out): Depend on that. Remove explicit rule.
8363 (tst-gettext3.out, tst-gettext5.out): Likewise.
8364 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8365 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8366 * intl/tst-codeset.sh: Remove.
8367 * intl/tst-gettext3.sh: Likewise.
8368 * intl/tst-gettext5.sh: Likewise.
8369
2ae1ae5c
RM
83702012-08-17 Roland McGrath <roland@hack.frob.com>
8371
c31fdb83
RM
8372 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8373 * sysdeps/unix/syscalls.list: ... here.
8374
a0844057
RM
8375 * sysdeps/posix/getaddrinfo.c
8376 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8377 (gaiconf_init, gaiconf_reload): Use them.
8378 [!_STATBUF_ST_NSEC]
8379 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8380 Define using time_t rather than struct timespec.
8381
750c1f2a
RM
8382 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8383 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8384 Macros removed.
8385 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8386 [!NO_THREADS].
8387 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8388 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8389 Likewise.
8390
2ae1ae5c
RM
8391 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8392 __libc_cleanup_push argument.
8393
e66a42f5
RM
8394 * bits/param.h: New file.
8395 * misc/sys/param.h: New file.
8396 * include/sys/param.h: New file.
8397 * misc/Makefile (headers): Add bits/param.h.
8398 * sysdeps/generic/sys/param.h: File removed.
8399 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8400 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8401 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8402 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8403
b7c08a66
RM
8404 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8405 last change.
8406
b2e1c562
RM
8407 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8408 [_IO_MTSAFE_IO].
8409 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8410 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8411 New macros.
8412
c75ccd4c
RM
8413 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8414 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8415 rather than -D_IO_MTSAFE_IO conditionally.
8416 * stdio-common/Makefile (CPPFLAGS): Likewise.
8417 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8418 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8419 Use $(libio-mtsafe).
8420 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8421 of -D_IO_MTSAFE_IO.
8422 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8423 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8424 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8425 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8426 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8427 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8428 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8429 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8430 (CFLAGS-fread_u_chk.c): Likewise.
8431 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8432 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8433 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8434 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8435 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8436 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8437 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8438 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8439 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8440
8441 * libio/Makefile: Test [$(libc-reentrant) = yes]
8442 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8443
8444 * Makeconfig
8445 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8446 * sysdeps/pthread/configure: File removed.
8447 * sysdeps/pthread/Makeconfig: New file.
8448 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8449 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8450
d9195db8
GB
84512012-08-16 Gary Benson <gbenson@redhat.com>
8452
8453 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8454 unmapping the first object in a namespace.
8455
86466cd9
RM
84562012-08-16 Roland McGrath <roland@hack.frob.com>
8457
8458 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8459 (__internal_setnetgrent): ... this. Add internal_function to
8460 definition. Add libc_hidden_def.
8461 (setnetgrent): Update caller.
8462 (internal_endnetgrent): Renamed to ...
8463 (__internal_endnetgrent): ... this. Add internal_function to
8464 definition. Add libc_hidden_def.
8465 (endnetgrent): Update caller.
8466 (internal_getnetgrent_r): Renamed to ...
8467 (__internal_getnetgrent_r): ... this. Add internal_function to
8468 definition. Add libc_hidden_def.
8469 (__getnetgrent_r): Update caller.
8470 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8471
c3c8283c
JM
84722012-08-16 Joseph Myers <joseph@codesourcery.com>
8473
8474 * stdlib/longlong.h: Update from GCC.
8475
db1ee0a8
RM
84762012-08-16 Roland McGrath <roland@hack.frob.com>
8477
8478 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8479 on _QL, which is set by umul_ppmm but never used.
8480 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8481 variables, which are set by GMP macros but never used.
8482 * stdio-common/_itowa.c (_itowa): Likewise.
8483 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8484 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8485
30f69637
CD
84862012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8487
8488 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8489 struct La_sh_regs is not constant.
8490 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8491 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8492 and struct La_sparc64_regs are not constant.
8493
93a78ac4
JM
84942012-08-16 Joseph Myers <joseph@codesourcery.com>
8495
8496 * sysdeps/unix/sysv/linux/kernel-features.h
8497 (__ASSUME_POSIX_TIMERS): Remove.
8498 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8500 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8501 Make code unconditional.
8502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8503 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8504 Make code unconditional.
8505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8506 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8507 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8508 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8509 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8510 Make code unconditional.
8511 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8512 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8513 (__libc_missing_posix_timers): Remove.
8514
dd924cd7
RM
85152012-08-15 Roland McGrath <roland@hack.frob.com>
8516
4b4f2771
RM
8517 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8518 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8519
601c888b
RM
8520 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8521
176790a7
RM
8522 * elf/dl-sym.c: Include <stdlib.h>.
8523
329bc018
RM
8524 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8525 constants, which avoids warnings in 32-bit builds.
8526
e04e272d
RM
8527 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8528 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8529
952bf94a
RM
8530 * misc/lseek.c: File moved to ...
8531 * io/lseek.c: ... here.
8532
7c99b50a
RM
8533 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8534
dd924cd7
RM
8535 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8536 shifting LEN more than 31 bits at once.
8537
b3f479a8
LD
85382012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8539
8540 [BZ #14195]
8c4ae0d4
RM
8541 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8542 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8543 * string/test-strncasecmp.c (check1): Renamed to...
8544 (bz12205): ...this.
8545 (bz14195): Add new testcase for two empty input strings and N > 0.
8546 (test_main): Call new testcase, adapt for renamed function.
8547
9c55864e
AJ
85482012-08-15 Andreas Jaeger <aj@suse.de>
8549
8550 [BZ #14090]
8551 * crypt/md5test2.c: New test, based on test supplied by Serge
8552 Belyshev <belyshev@depni.sinp.msu.ru>.
8553 * crypt/Makefile (xtests): Add md5test-giant..
8554 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8555
02dcb6c5
PE
85562012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8557
8558 [BZ #14090]
8559 * crypt/md5.c (md5_process_block): Don't assume the buffer
8560 length is less than 2**32.
8561 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8562 length is less than 2**64.
8563
a3f95dcc
RM
85642012-08-15 Roland McGrath <roland@hack.frob.com>
8565
be75d758
RM
8566 * string/str-two-way.h: Include <sys/param.h>.
8567 (MAX): Macro removed.
8568
7312ca90
RM
8569 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8570 Move #define and #undef of memmove to just before and after
8571 including <string.h>.
8572
9a0a5486
RM
8573 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8574 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8575 and after including <string.h>. Move declarations of
8576 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8577 to before #include "string/memmove.c".
8578
67cc348d
RM
8579 * include/dirent.h: Declare __getdirentries.
8580
a3f95dcc
RM
8581 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8582 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8583
ca98e171
MF
85842012-08-14 Mike Frysinger <vapier@gentoo.org>
8585
8586 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8587 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8588 * sysdeps/i386/configure: Regenerated.
8589 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8590 STABS_CURRENT_FILE, and STABS_FUN.
8591 (END): Remove call to STABS_FUN_END.
8592 (STABS_CURRENT_FILE1): Delete.
8593 (STABS_CURRENT_FILE): Likewise.
8594 (STABS_FUN): Likewise.
8595 (STABS_FUN_END): Likewise.
8596 (STABS_FUN2): Likewise.
8597 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8598 * sysdeps/x86_64/configure: Regenerated.
8599
5908bf46
RM
86002012-08-14 Roland McGrath <roland@hack.frob.com>
8601
8602 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8603 * elf/dl-lookup.c: Likewise.
5908bf46 8604
f2c05b9e
JM
86052012-08-14 Joseph Myers <joseph@codesourcery.com>
8606
8607 * sysdeps/unix/sysv/linux/kernel-features.h
8608 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8609 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8610 unconditionally.
8611 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8612 unconditionally.
8613 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8614 condition on __ASSUME_CLONE_THREAD_FLAGS.
8615
e11f5155
AJ
86162012-08-14 Andreas Jaeger <aj@suse.de>
8617
8618 * sysdeps/i386/fpu/libm-test-ulps: Update.
8619
51a9ba86
MK
86202012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8621
2fdd4f78
AJ
8622 * include/atomic.h (atomic_exchange_and_add): Split into ...
8623 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8624 New atomic macros.
51a9ba86 8625
ba6cba9e
MT
86262012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8627
8628 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8629
42443a47
JL
86302012-08-13 Jeff Law <law@redhat.com>
8631
8632 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8633 null byte in the output string.
8634
121dce05
JM
86352012-08-10 Joseph Myers <joseph@codesourcery.com>
8636
8637 * sysdeps/unix/sysv/linux/kernel-features.h
8638 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8639 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8640 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8641 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8642 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8643 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8644 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8645
bf51f568
JL
86462012-08-09 Jeff Law <law@redhat.com>
8647
8648 [BZ #13939]
8649 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8650 When avoid_arena is set, don't retry in the that arena. Pick the
8651 next one, whatever it might be.
8652 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8653 (arena_lock): Pass in new parameter to arena_get2.
8654 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8655 arena_get2.
8656 (__libc_malloc): Unify retrying after main arena failure with
8657 __libc_memalign version.
8658 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8659
f85fa270
L
86602012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8661
8662 [BZ #14166]
8663 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8664 to __redirect_strstr.
8665 (__strstr_sse42): Use typeof __redirect_strstr.
8666 (__strstr_ia32): Likewise.
8667 (__libc_strstr): New prototype.
8668 (strstr): Renamed to ...
8669 (__libc_strstr): This.
8670 (strstr): New strong alias of __libc_strstr.
8671 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8672 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8673 __redirect_time.
8674 Include <time.h>.
8675 (__libc_time): New prototype.
8676 (time_ifunc): Replace time with __libc_time.
8677 (time): New strong alias and hidden definition of __libc_time.
8678 (__GI_time): Remove strong alias.
8679 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8680 Include <stddef.h>.
8681 (memmove): Redefined to __redirect_memmove.
8682 (__memmove_sse2): Use typeof __redirect_memmove.
8683 (__memmove_ssse3): Likewise.
8684 (__memmove_ssse3_back): Likewise.
8685 (__libc_memmove): New prototype.
8686 (memmove): Renamed to ...
8687 (__libc_memmove): This.
8688 (memmove): New strong alias of __libc_memmove.
8689
33b4a91e
MS
86902012-08-08 Mark Salter <msalter@redhat.com>
8691
8692 * elf/elf.h
8693 (R_MN10300_TLS_GD): Define.
8694 (R_MN10300_TLS_LD): Likewise.
8695 (R_MN10300_TLS_LDO): Likewise.
8696 (R_MN10300_TLS_GOTIE): Likewise.
8697 (R_MN10300_TLS_IE): Likewise.
8698 (R_MN10300_TLS_LE): Likewise.
8699 (R_MN10300_TLS_DTPMOD): Likewise.
8700 (R_MN10300_TLS_DTPOFF): Likewise.
8701 (R_MN10300_TLS_TPOFF): Likewise.
8702 (R_MN10300_SYM_DIFF): Likewise.
8703 (R_MN10300_ALIGN): Likewise.
8704 (R_MN10300_NUM): Update.
8705
b36137f1
JM
87062012-08-08 Joseph Myers <joseph@codesourcery.com>
8707
8708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8709 Remove.
8710
cdd915fd
RM
87112012-08-08 Roland McGrath <roland@hack.frob.com>
8712
a2433aac
RM
8713 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8714
cdd915fd
RM
8715 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8716 sysdeps/unix -> sysdeps/posix move.
8717 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8718
bf9b740a
AM
87192012-08-07 Allan McRae <allan@archlinux.org>
8720
8721 [BZ #14303]
8722 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8723 (SUNOS_CPP): Likewise.
8724 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8725 not found.
8726 (open_input): Call CPP using execvp.
8727
93df14ee
JM
87282012-08-07 Joseph Myers <joseph@codesourcery.com>
8729
8730 * sysdeps/unix/sysv/linux/kernel-features.h
8731 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8732 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8733 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8734 (__ASSUME_WAITID_SYSCALL): Likewise.
8735 * sysdeps/unix/sysv/linux/dl-execstack.c
8736 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8737 code unconditional.
8738 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8739 conditional code.
8740 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8741 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8742 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8743 code.
8744 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8745 unconditional.
8746 [__ASSUME_WAITID_SYSCALL]: Likewise.
8747 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8748
d34689de
RM
87492012-08-07 Roland McGrath <roland@hack.frob.com>
8750
a281decc
RM
8751 * sysdeps/unix/closedir.c: Renamed to ...
8752 * sysdeps/posix/closedir.c: ... here.
8753 * sysdeps/unix/dirfd.c: Renamed to ...
8754 * sysdeps/posix/dirfd.c: ... here.
8755 * sysdeps/unix/dirstream.h: Renamed to ...
8756 * sysdeps/posix/dirstream.h: ... here.
8757 * sysdeps/unix/fdopendir.c: Renamed to ...
8758 * sysdeps/posix/fdopendir.c: ... here.
8759 * sysdeps/unix/opendir.c: Renamed to ...
8760 * sysdeps/posix/opendir.c: ... here.
8761 * sysdeps/unix/readdir.c: Renamed to ...
8762 * sysdeps/posix/readdir.c: ... here.
8763 * sysdeps/unix/readdir_r.c: Renamed to ...
8764 * sysdeps/posix/readdir_r.c: ... here.
8765 * sysdeps/unix/rewinddir.c: Renamed to ...
8766 * sysdeps/posix/rewinddir.c: ... here.
8767 * sysdeps/unix/seekdir.c: Renamed to ...
8768 * sysdeps/posix/seekdir.c: ... here.
8769 * sysdeps/unix/telldir.c: Renamed to ...
8770 * sysdeps/posix/telldir.c: ... here.
8771 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8772 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8773 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8774 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8775
22895b47
RM
8776 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8777 * bits/fcntl.h: ... here.
8778
707a53b6
RM
8779 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8780 not 0.
8781 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8782 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8783 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8784 (struct flock): Move l_start, l_len to the beginning.
8785 Use __pid_t for l_pid.
8786 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8787 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8788 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8789 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8790 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8791 [__USE_LARGEFILE64] (struct flock64): New type.
8792 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8793
f0bd3e25
RM
8794 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8795 * bits/dirent.h: ... here.
8796
d34689de
RM
8797 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8798 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8799
6dad2c06
JM
88002012-08-07 Joseph Myers <joseph@codesourcery.com>
8801
8802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8803 Change from 2.6.0 to 2.6.16.
8804 * sysdeps/unix/sysv/linux/configure: Regenerated.
8805 * sysdeps/unix/sysv/linux/kernel-features.h
8806 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8807 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8808 version.
8809 (__ASSUME_UTIMES): Likewise.
8810 (__ASSUME_CLONE_STOPPED): Remove.
8811 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8812 architectures, not kernel version.
8813 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8814 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8815 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8816 (__ASSUME_WAITID_SYSCALL): Likewise.
8817 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8818 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8819 * README: State 2.6.16 as minimum Linux kernel version. Do not
8820 refer to older versions.
8821
03af9520
RM
88222012-08-06 Roland McGrath <roland@hack.frob.com>
8823
8e49df1d
RM
8824 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8825 Define alphasort64 as an alias.
8826 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8827 Define versionsort64 as an alias.
8828 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8829 Define scandir64 as an alias.
8830 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8831 Define scandirat64 as an alias.
8832 * dirent/alphasort64.c (alphasort64):
8833 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8834 * dirent/versionsort64.c: Likewise.
8835 * dirent/scandir64.c: Likewise.
8836 * dirent/scandirat64.c: Likewise.
8837 * sysdeps/wordsize-64/alphasort.c: File removed.
8838 * sysdeps/wordsize-64/alphasort64.c: File removed.
8839 * sysdeps/wordsize-64/scandir.c: File removed.
8840 * sysdeps/wordsize-64/scandir64.c: File removed.
8841 * sysdeps/wordsize-64/scandirat.c: File removed.
8842 * sysdeps/wordsize-64/scandirat64.c: File removed.
8843 * sysdeps/wordsize-64/versionsort.c: File removed.
8844 * sysdeps/wordsize-64/versionsort64.c: File removed.
8845 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8847 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8848 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8849 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8850 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8851 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8852 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8853
8854 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8855 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8856 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8857 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8858 [defined __arch64__ || defined __sparcv9]
8859 (__INO_T_MATCHES_INO64_T): New macro.
8860 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8861 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8862 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8863 * sysdeps/unix/sysv/linux/bits/dirent.h
8864 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8865 (_DIRENT_MATCHES_DIRENT64): New macro.
8866
03af9520
RM
8867 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8868 Define lockf64 as an alias.
8869 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8870 Define fseeko64 as an alias.
8871 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8872 Define ftello64 as an alias.
8873 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8874 Define _IO_fgetpos64 and fgetpos64 as aliases.
8875 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8876 Define _IO_fsetpos64 and fsetpos64 as aliases.
8877 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8878 Conditionalize body on this.
8879 * libio/fseeko64.c: Likewise.
8880 * libio/ftello64.c: Likewise.
8881 * libio/iofgetpos64.c: Likewise.
8882 * libio/iofsetpos64.c: Likewise.
8883 * sysdeps/wordsize-64/lockf.c: File removed.
8884 * sysdeps/wordsize-64/lockf64.c: File removed.
8885 * sysdeps/wordsize-64/fseeko.c: File removed.
8886 * sysdeps/wordsize-64/fseeko64.c: File removed.
8887 * sysdeps/wordsize-64/ftello.c: File removed.
8888 * sysdeps/wordsize-64/ftello64.c: File removed.
8889 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8890 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8891 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8892 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8893 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8894 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8895 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8896 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8897 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8898 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8899 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8900 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8901 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8902 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8903
8904 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8906 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8907 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8908 [defined __arch64__ || defined __sparcv9]
8909 (__OFF_T_MATCHES_OFF64_T): New macro.
8910 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8911 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8913 (__OFF_T_MATCHES_OFF64_T): New macro.
8914
c5757acd
L
89152012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8916
8917 * stdlib/secure-getenv.c (__secure_getenv): Replace
8918 GLIBC_2_16 with GLIBC_2_17.
8919
3a31811e
L
89202012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8921
8922 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8923 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8924
faa2bccb
DM
89252012-08-03 David S. Miller <davem@davemloft.net>
8926
8927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8928
85fe1997
JM
89292012-08-03 Joseph Myers <joseph@codesourcery.com>
8930
8931 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8932 Remove.
8933 (__ASSUME_CORRECT_SI_PID): Likewise.
8934 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8935 (__ASSUME_TMPFS_NAME): Likewise.
8936 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8937 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8938 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8939 (HAVE_AUX_SECURE): Make definition unconditional.
8940 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8941 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8942
4f75b7a0
RM
89432012-08-03 Roland McGrath <roland@hack.frob.com>
8944
8945 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8946 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8947 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8948 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8949 __eloop_threshold instead of SYMLOOP_MAX.
8950
8951 * sysdeps/generic/eloop-threshold.h: New file.
8952 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8953 of MAXSYMLINKS.
8954 * elf/chroot_canon.c (chroot_canon): Likewise.
8955
7aab07e4
JM
89562012-08-03 Joseph Myers <joseph@codesourcery.com>
8957
8958 [BZ #13717]
8959 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8960 Change to 2.6.0 everywhere.
8961 * sysdeps/unix/sysv/linux/configure: Regenerated.
8962 * sysdeps/unix/sysv/linux/kernel-features.h
8963 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8964 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8965 kernel versions.
8966 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8967 (__ASSUME_FUTEX_REQUEUE): Remove.
8968 (__ASSUME_STATFS64): Define unconditionally.
8969 (__ASSUME_AT_SECURE): Likewise.
8970 (__ASSUME_CORRECT_SI_PID): Likewise.
8971 (__ASSUME_TGKILL): Define without depending on kernel version for
8972 i386.
8973 (__ASSUME_UTIMES): Likewise.
8974 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8975 kernel version.
8976 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8977 (__ASSUME_TMPFS_NAME): Likewise.
8978 * README: Update reference to Linux kernel versions.
8979
b67e9372
MP
89802012-08-02 Marek Polacek <polacek@redhat.com>
8981
1f529f7d 8982 [BZ# 14150]
b67e9372
MP
8983 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8984 libc_cv_asm_type_prefix with %.
8985 * configure: Regenerated.
d2441631
RM
8986 * include/libc-symbols.h: Remove comment about
8987 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8988 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8989 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8990 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8991 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8992 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8993 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8994 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8995 * elf/tst-unique2mod1.c: Likewise.
8996 * elf/tst-unique1mod2.c: Likewise.
8997 * elf/tst-unique1mod1.c: Likewise.
8998 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8999 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9000 Replace ASM_TYPE_DIRECTIVE with .type.
9001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9002 * sysdeps/i386/sysdep.h: Likewise.
9003 * sysdeps/x86_64/sysdep.h: Likewise.
9004 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9006 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9007 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9008 * sysdeps/powerpc/powerpc32/sysdep.h:
9009 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9010 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9011 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9012 * sysdeps/i386/fpu/e_powf.S: Likewise.
9013 * sysdeps/i386/fpu/e_expl.S: Likewise.
9014 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9015 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9016 * sysdeps/i386/fpu/e_pow.S: Likewise.
9017 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9019 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9020 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9021 * sysdeps/i386/fpu/e_log2.S: Likewise.
9022 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9023 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9024 * sysdeps/i386/fpu/e_powl.S: Likewise.
9025 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9026 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9027 * sysdeps/i386/fpu/e_logl.S: Likewise.
9028 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9029 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9030 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9031 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9032 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9033 * sysdeps/i386/fpu/e_log.S: Likewise.
9034 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9035 * sysdeps/i386/fpu/e_logf.S: Likewise.
9036 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9037 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9038 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9039 * sysdeps/i386/fpu/e_log10.S: Likewise.
9040 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9042 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9043 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9045 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9046 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9047 * sysdeps/i386/i686/strtok.S: Likewise.
9048 * sysdeps/i386/i386-mcount.S: Likewise.
9049 * sysdeps/i386/strtok.S: Likewise.
9050 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9051 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9052 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9053 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9054 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9055 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9056 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9057 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9058 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9059 * sysdeps/x86_64/_mcount.S: Likewise.
9060 * sysdeps/x86_64/strtok.S: Likewise.
9061 * sysdeps/sh/_mcount.S: Likewise.
9062
2747bf9a
RM
90632012-08-01 Roland McGrath <roland@hack.frob.com>
9064
9065 * libio/iofopen.c: Include <fcntl.h>.
9066 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9067 (_IO_fopen64, fopen64): Define as aliases.
9068 * libio/iofopen64.c: Include <fcntl.h>.
9069 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9070 Conditionalize body on this.
9071 * sysdeps/wordsize-64/iofopen.c: File removed.
9072 * sysdeps/wordsize-64/iofopen64.c: File removed.
9073
3fb791b8
MP
90742012-08-01 Marek Polacek <polacek@redhat.com>
9075
9076 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9077 Use dlfcn directly instead of a variable.
9078 (binfmt-subdir): Do not define.
9079 (dlfcn): Likewise.
9080
a9f1039f
JM
90812012-08-01 Joseph Myers <joseph@codesourcery.com>
9082
23bddc06
JM
9083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9084 Remove all definitions.
9085 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9086 <kernel-features.h>.
9087 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9088 (miss_F_GETOWN_EX): Remove all definitions.
9089 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9090 macro definition.
9091 [!__ASSUME_FCNTL64]: Remove conditional code.
9092 [__ASSUME_FCNTL64]: Make code unconditional.
9093 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9094 <kernel-features.h>.
9095 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9096 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9097 (lockf64) [__NR_fcntl64]: Make code unconditional.
9098 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9099
a9f1039f
JM
9100 * sysdeps/unix/sysv/linux/kernel-features.h
9101 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9102 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9103 Make code unconditional.
9104 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9105 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9107 [__NR_vfork]: Make code unconditional.
9108 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9109 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9111 [__NR_vfork]: Make code unconditional.
9112 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9113 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9114
09c0ee5f
RM
91152012-08-01 Roland McGrath <roland@hack.frob.com>
9116
48aec5b9
RM
9117 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9118 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9119
cd97c966
RM
9120 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9121 Define mkstemp64 as an alias.
3f55550c
RM
9122 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9123 Define mkstemps64 as an alias.
cd97c966
RM
9124 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9125 Define mkostemp64 as an alias.
b8625cfc
RM
9126 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9127 Define mkostemps64 as an alias.
cd97c966
RM
9128 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9129 Conditionalize body on this.
9130 * misc/mkostemp64.c: Likewise.
b8625cfc 9131 * misc/mkostemps64.c: Likewise.
3f55550c 9132 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9133 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9134 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9135 * sysdeps/wordsize-64/mkostemp.c: File removed.
9136 * sysdeps/wordsize-64/mkstemp.c: File removed.
9137 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9138 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9139 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9140 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9141
09c0ee5f
RM
9142 [BZ #14138]
9143 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9144 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9145 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9146 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9147
9148 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9149 compat_symbol macros from <shlib-compat.h> rather than the underlying
9150 default_symbol_version and symbol_version macros, so that DEFAULT
9151 lines in shlib-versions are respected.
9152 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9153
7e66ee51
FW
91542012-08-01 Florian Weimer <fweimer@redhat.com>
9155
9156 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9157 Declare with warn_unused_result.
9158 (setgid, setregid, setegid, setresgid): Likewise.
9159 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9160 Likewise.
9161 * WUR-REPORT: Remove set*id functions.
9162
d2a54255
PT
91632012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9164
9165 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9166
7ecdb005
RM
91672012-07-31 Roland McGrath <roland@hack.frob.com>
9168
789bd351
RM
9169 * include/sys/socket.h (__libc_accept, __libc_accept4):
9170 Add attribute_hidden.
9171 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9172
40ce302d
RM
9173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9174 use of PTR_MANGLE.
9175 * inet/getnetgrent_r.c (setup): Likewise.
9176
7ecdb005
RM
9177 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9178
e2eabb2c
DM
91792012-07-31 David S. Miller <davem@davemloft.net>
9180
9181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9182
d0419dbf
JM
91832012-07-31 Joseph Myers <joseph@codesourcery.com>
9184
9185 [BZ #13629]
9186 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9187 value between 1.0 and 2.0 and smaller part has absolute value less
9188 than 1.0.
9189 * math/s_clog10.c (__clog10): Likewise.
9190 * math/s_clog10f.c (__clog10f): Likewise.
9191 * math/s_clog10l.c (__clog10l): Likewise.
9192 * math/s_clogf.c (__clogf): Likewise.
9193 * math/s_clogl.c (__clogl): Likewise.
9194 * math/libm-test.inc (clog_test): Add more tests.
9195 (clog10_test): Likewise.
9196 * sysdeps/i386/fpu/libm-test-ulps: Update.
9197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9198
2bc13872
FW
91992012-07-31 Florian Weimer <fweimer@redhat.com>
9200
9201 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9202 Exit with zero in case no suitable GID is found, and write a
9203 message to standard error.
9204
bea9b193
RM
92052012-07-30 Roland McGrath <roland@hack.frob.com>
9206
9207 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9208 rather than to 1.
9209 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9210 (MAXPATHLEN): Removed.
9211 (NOGROUP, NODEV): New macros.
9212 (setbit, clrbit, isset, isclr): New macros.
9213 (howmany, roundup, powerof2): New macros.
9214 (DEV_BSIZE): New macro.
9215
9216 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9217 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9218
9219 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9220 definition on [!__NO_LONG_DOUBLE_MATH].
9221
9222 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9223 PTR_MANGLE and PTR_DEMANGLE.
9224
9225 * socket/accept4.c (accept4): Rename to __libc_accept4.
9226 Define accept4 as a weak alias.
9227
9228 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9229 on [_DIRENT_HAVE_D_TYPE].
9230 * io/ftw.c (ftw_dir): Likewise.
9231
9232 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9233
9234 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9235
9236 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9237 Use the BSD numbers rather than the arbitrary ones we had.
9238 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9239 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9240 (SIGXCPU, SIGXFSZ): New macros.
9241 (_NSIG): Now 32.
9242
9243 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9244 initializer on [_LIBC_REENTRANT].
9245
9246 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9247 definitions inside [_POSIX_MAPPED_FILES].
9248
9249 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9250
9251 * dirent/opendir.c: Include <fcntl.h>.
9252
9253 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9254 (__libc_getspecific): Likewise.
9255 (__libc_key_create): Likewise.
9256
9257 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9258 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9259 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9260 (tmpfile64): Define as alias.
9261 * sysdeps/wordsize-64/tmpfile.c: File removed.
9262 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9264 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9265
9266 * stdio-common/vfscanf.c: Include <stdbool.h>.
9267 * nss/makedb.c: Likewise.
9268 * stdio-common/_i18n_number.h: Likewise.
9269 * argp/argp-help.c: Likewise.
9270 * posix/wordexp.c: Likewise.
9271 * sysdeps/posix/spawni.c: Likewise.
9272 * nss/nss_files/files-initgroups.c: Likewise.
9273 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9274 * nss/nss_files/files-initgroups.c: Likewise.
9275 * nss/nss_db/db-netgrp.c: Likewise.
9276 * nss/nss_db/db-initgroups.c: Likewise.
9277 * io/fchmodat.c: Include <sys/stat.h>.
9278
9279 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9280 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9281
9282 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9283 [HAVE_MMAP].
9284
9285 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9286 Add multiple inclusion protection.
9287
e5abc686
DM
92882012-07-27 David S. Miller <davem@davemloft.net>
9289
9290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9291
815e6fa3
GB
92922012-07-27 Gary Benson <gbenson@redhat.com>
9293
9294 [BZ #14298]
9295 * elf/rtld.c: Include <stap-probe.h>.
9296 (dl_main): Added static probes "init_start" and "init_complete".
9297 * elf/dl-load.c: Include <stap-probe.h>.
9298 (lose): Take new parameter "nsid".
9299 Added static probe "map_failed".
9300 (_dl_map_object_from_fd): Pass namespace id to lose.
9301 Added static probe "map_start".
9302 (open_verify): Pass namespace id to lose.
9303 * elf/dl-open.c: Include <stap-probe.h>.
9304 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9305 and "reloc_complete".
9306 * elf/dl-close.c: Include <stap-probe.h>.
9307 (_dl_close_worker): Added static probes "unmap_start" and
9308 "unmap_complete".
9309 * elf/rtld-debugger-interface.txt: New file documenting the above.
9310
9f98c16c
RM
93112012-07-26 Roland McGrath <roland@hack.frob.com>
9312
9313 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9314 rather than a string variable.
9315 * sunrpc/rpc_main.c (h_output): Likewise.
9316 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9317
f3c22df3
PT
93182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9319
9320 * inet/check_native.c: New file.
9321
3129cfc6
JM
93222012-07-26 Joseph Myers <joseph@codesourcery.com>
9323
da865e95
JM
9324 [BZ #13629]
9325 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9326 if larger part has absolute value 1.0.
9327 * math/s_clog10.c (__clog10): Likewise.
9328 * math/s_clog10f.c (__clog10f): Likewise.
9329 * math/s_clog10l.c (__clog10l): Likewise.
9330 * math/s_clogf.c (__clogf): Likewise.
9331 * math/s_clogl.c (__clogl): Likewise.
9332 * math/libm-test.inc (clog_test): Add more tests.
9333 (clog10_test): Likewise.
9334 * sysdeps/i386/fpu/libm-test-ulps: Update.
9335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9336
3129cfc6
JM
9337 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9338 (pltexit): Likewise.
9339 (La_regs): Likewise.
9340 (La_retval): Likewise.
9341 (int_retval): Likewise.
9342 Update #error for removed macros to refer only to definitions in
9343 tst-audit.h.
9344 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9345 macro.
9346 (pltexit): Likewise.
9347 (La_regs): Likewise.
9348 (La_retval): Likewise.
9349 (int_retval): Likewise.
9350 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9351 macro.
9352 (pltexit): Likewise.
9353 (La_regs): Likewise.
9354 (La_retval): Likewise.
9355 (int_retval): Likewise.
9356 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9357 macro.
9358 (pltexit): Likewise.
9359 (La_regs): Likewise.
9360 (La_retval): Likewise.
9361 (int_retval): Likewise.
9362 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9363 macro.
9364 (pltexit): Likewise.
9365 (La_regs): Likewise.
9366 (La_retval): Likewise.
9367 (int_retval): Likewise.
9368 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9369 macro.
9370 (pltexit): Likewise.
9371 (La_regs): Likewise.
9372 (La_retval): Likewise.
9373 (int_retval): Likewise.
9374 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9375 macro.
9376 (pltexit): Likewise.
9377 (La_regs): Likewise.
9378 (La_retval): Likewise.
9379 (int_retval): Likewise.
9380 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9381 macro definitions in tst-audit.h.
9382 * sysdeps/i386/tst-audit.h: New file.
9383 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9384 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9385 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9386 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9387 * sysdeps/sh/tst-audit.h: Likewise.
9388 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9389 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9390 * sysdeps/x86_64/tst-audit.h: Likewise.
9391
bfc07087
AJ
93922012-07-26 Andreas Jaeger <aj@suse.de>
9393
b1b2aaf8
AJ
9394 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9395 ptrace.
9396
9397 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9398 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9399 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9400 PTRACE_O_MASK.
9401 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9402 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9403 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9404
bfc07087
AJ
9405 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9406 value.
9407
9408 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9409 _sigsys.
9410 (si_call_addr, si_syscall, si_arch): Define new macro.
9411 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9412 _sigsys.
9413 (si_call_addr, si_syscall, si_arch): Define new marcro.
9414 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9415 _sigsys.
9416 (si_call_addr, si_syscall, si_arch): Define new macro.
9417 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9418 _sigsys.
9419 (si_call_addr, si_syscall, si_arch): Define new macro.
9420
89b4b02f
JM
94212012-07-25 Joseph Myers <joseph@codesourcery.com>
9422
9423 [BZ #13717]
9424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9425 Change to 2.4.21 where previously 2.4.1.
9426 * sysdeps/unix/sysv/linux/configure: Regenerated.
9427 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9428 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9429 Linux kernel version.
9430 (__ASSUME_STD_AUXV): Remove.
9431 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9432 kernel version.
9433 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9434 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9435 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9436 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9437 (__ASSUME_NETLINK_SUPPORT): Likewise.
9438 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9439 (__no_netlink_support): Remove conditional definition.
9440 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9441 Remove.
9442 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9443 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9444 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9445 (if_nameindex_ioctl): Remove.
9446 (if_nameindex_netlink): Do not handle __no_netlink_support.
9447 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9448 code.
9449 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9450 Remove conditional code.
9451 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9452 code.
9453 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9454 unconditional.
9455 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9456 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9457 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9458 Remove.
9459 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9460 [!__ASSUME_STD_AUXV]: Remove conditional code.
9461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9462 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9463 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9465 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9466 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9467 code.
9468 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9470 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9471 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9472 conditional code.
9473 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9475 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9476 code.
9477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9478 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9479 conditional code.
9480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9481 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9482 code unconditional.
9483 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9484 conditional code.
9485 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9486 unconditional.
9487 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9488 conditional code.
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9490 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9491 unconditional.
9492 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9493 conditional code.
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9495 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9496 code unconditional.
9497 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9498 conditional code.
9499 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9500 unconditional.
9501 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9502 conditional code.
9503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9504 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9505 code unconditional.
9506 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9507 conditional code.
9508 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9509 unconditional.
9510 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9511 conditional code.
9512
842a39cd
AS
95132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9514
9515 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9516 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9517 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9518 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9519 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9520 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9521 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9522 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9523 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9524 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9525 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9526 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9527 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9528 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9529 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9530 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9531 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9533 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9534 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9535 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9536 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9537 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9538
84b3fd84
FW
95392012-07-25 Florian Weimer <fweimer@redhat.com>
9540
9541 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9542 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9543 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9544 Introduce __libc_secure_getenv.
0c7936d5
FW
9545 * stdlib/Versions (2.17): Add secure_getenv
9546 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9547 * stdlib/secure-getenv.c: Rename __secure_getenv to
9548 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9549 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9550 * stdlib/tst-secure-getenv.c: New.
9551 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9552 * manual/startup.texi (Environment Access): Document
9553 secure_getenv.
84b3fd84
FW
9554 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9555 __libc_secure_getenv.
9556 * inet/ruserpass.c (ruserpass): Likewise.
9557 * malloc/mtrace.c (mtrace): Likewise.
9558 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9559 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9560 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9561 * sysdeps/posix/tempname.c: Likewise. Evaluate
9562 HAVE_SECURE_GETENV.
9563 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9564 __secure_getenv to __libc_secure_getenv.
84b3fd84 9565 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9567 Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9569 Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9572 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9575 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9577
56e49b71
JM
95782012-07-25 Joseph Myers <joseph@codesourcery.com>
9579
9580 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9581 (struct La_i86_retval): Likewise.
9582 (struct La_x86_64_regs): Likewise.
9583 (struct La_x86_64_retval): Likewise.
9584 (struct La_x32_regs): Likewise.
9585 (struct La_x32_retval): Likewise.
9586 (struct La_ppc32_regs): Likewise.
9587 (struct La_ppc32_retval): Likewise.
9588 (struct La_ppc64_regs): Likewise.
9589 (struct La_ppc64_retval): Likewise.
9590 (struct La_sh_regs): Likewise.
9591 (struct La_sh_retval): Likewise.
9592 (struct La_s390_32_regs): Likewise.
9593 (struct La_s390_32_retval): Likewise.
9594 (struct La_s390_64_regs): Likewise.
9595 (struct La_s390_64_retval): Likewise.
9596 (struct La_sparc32_regs): Likewise.
9597 (struct La_sparc32_retval): Likewise.
9598 (struct La_sparc64_regs): Likewise.
9599 (struct La_sparc64_retval): Likewise.
9600 (struct audit_ifaces): Remove architecture-specific pltenter and
9601 pltexit members.
9602 * sysdeps/i386/ldsodefs.h: New file.
9603 * sysdeps/powerpc/ldsodefs.h: Likewise.
9604 * sysdeps/s390/ldsodefs.h: Likewise.
9605 * sysdeps/sh/ldsodefs.h: Likewise.
9606 * sysdeps/sparc/ldsodefs.h: Likewise.
9607 * sysdeps/x86_64/ldsodefs.h: Likewise.
9608
354691b7
MP
96092012-07-25 Marek Polacek <polacek@redhat.com>
9610
9611 [BZ #6808]
9612 * math/libm-test.inc (yn_test): Add another test.
9613 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9614 to ERANGE when the result is +-Inf.
9615 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9617 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9618 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9619
bf9e2071
JM
96202012-07-24 Joseph Myers <joseph@codesourcery.com>
9621
9622 * conform/data/time.h-data (NULL): Use macro-constant. Require
9623 equal to 0.
9624 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9625 clock_t.
9626 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9627
57633811
TS
96282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9629
9630 * configure.in <sysdeps resolving>: Correct printing
9631 Implies_before.
9632 * configure: Regenerate.
9633
c23c33b0
TS
96342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9635
9636 * math/w_ilogb.c: Include <limits.h>.
9637 * math/w_ilogbl.c: Likewise.
9638
b5982523
JM
96392012-07-20 Joseph Myers <joseph@codesourcery.com>
9640
9641 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9642 va_copy. Document allowing for unavailable va_copy only as
9643 pre-C99 compatibility.
9644 * manual/string.texi (Copying and Concatenation): Use va_copy
9645 instead of __va_copy in concat example.
9646
ac4ea442
PT
96472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9648
9649 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9650 (__sendto): Use create_address_port. Initialize APORT and deallocate
9651 it if not null.
9652
f98eafbd
PT
9653 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9654 with O_NOLINK passed to __file_name_lookup.
9655
898c7aab
PT
9656 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9657 with O_NOLINK passed to __file_name_lookup.
9658
0ced335a
PT
9659 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9660 negative N or less than NGIDS.
9661
b3404dbd
PT
9662 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9663 type to string_t. Set ERANGE as errno and return it if NAME is not big
9664 enough. Use memcpy instead of strncpy.
9665
0f48659e
JM
96662012-07-20 Joseph Myers <joseph@codesourcery.com>
9667
9668 * elf/Makefile (check-data): Remove.
9669 (localplt.data): New vpath directive.
9670 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9671 instead of $(check-data).
9672 * scripts/data/localplt-generic.data: Move to ...
9673 * sysdeps/generic/localplt.data: ... here.
9674 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9675 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9676 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9678 ... here.
9679 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9681 ... here.
9682 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9684 ... here.
9685 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9687 ... here.
9688 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9689 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9690 ... here.
9691 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9692 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9693 ... here.
9694
d37cbdaa
AZ
96952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9696
9697 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9698 PPC32 and PPC64 files.
9699 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9700 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9701
46f85fc2
AK
97022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9703
9704 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9705 __makecontext_ret to ...
9706 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9707 ... here and call exit if uc_link is NULL. New file.
9708 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9709 __makecontext_ret.S.
9710 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9711 __makecontext_ret to ...
9712 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9713 ... here and call exit if uc_link is NULL. New file.
9714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9715 __makecontext_ret.S.
9716
08f43f9b
AK
97172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9718
9719 * elf/elf.h (R_390_IRELATIVE): New definition.
9720 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9721 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9722 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9723 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9724 (elf_machine_lazy_rel): Likewise.
9725 * sysdeps/s390/dl-irel.h: New file.
9726 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9727 * sysdeps/s390/s390-64/memset.S: New asm code.
9728 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9729 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9730 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9731 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9732 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9733 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9735 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9736 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9737 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9738 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9739 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9740 * sysdeps/s390/s390-32/memset.S: New asm code.
9741 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9742
3b05db33
MP
97432012-07-17 Marek Polacek <polacek@redhat.com>
9744
9745 [BZ #14349]
9746 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9747 * sysdeps/s390/s390-64/configure.in: Likewise.
9748 * sysdeps/sparc/configure.in: Likewise.
9749 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9750 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9751 * sysdeps/i386/configure.in: Likewise.
9752 * sysdeps/x86_64/configure.in: Likewise.
9753 * sysdeps/sh/configure.in: Likewise.
9754 * sysdeps/s390/s390-32/configure: Regenerated.
9755 * sysdeps/s390/s390-64/configure: Likewise.
9756 * sysdeps/x86_64/configure: Likewise.
9757 * sysdeps/sh/configure: Likewise.
9758 * sysdeps/powerpc/powerpc64/configure: Likewise.
9759 * sysdeps/powerpc/powerpc32/configure: Likewise.
9760 * sysdeps/sparc/configure: Likwise.
9761 * sysdeps/i386/configure: Likewise.
9762
a66877c6
MP
9763 * elf/dl-open.c: Comment fixes.
9764
cfc82fd8
JM
97652012-07-17 Joseph Myers <joseph@codesourcery.com>
9766
bd29910a
JM
9767 * Makefile [CXX] (check-data): Remove.
9768 [CXX] (c++-types.data): New vpath directive.
9769 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9770 vpath. Do not allow for C++ type data being missing.
9771 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9772 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9773 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9774 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9775 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9776 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9777 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9779 ... here.
9780 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9782 ... here.
9783 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9785 ... here.
9786 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9788 ... here.
9789 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9790 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9791 ... here.
9792 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9794 ... here.
9795 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9796 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9797 ... here.
9798 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9799 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9800
cfc82fd8
JM
9801 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9802 definitions to architecture-specific files.
9803 (TLS_IE): Likewise.
9804 (TLS_LD): Likewise.
9805 (TLS_GD): Likewise.
9806 * sysdeps/i386/tls-macros.h: New file.
9807 * sysdeps/powerpc/tls-macros.h: Likewise.
9808 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9809 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9810 * sysdeps/sh/tls-macros.h: Likewise.
9811 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9812 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9813 * sysdeps/x86_64/tls-macros.h: Likewise.
9814
f7db3170
TS
98152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9816
07cbfc23
TS
9817 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9818 zero value for regular exit case.
9819
f7db3170
TS
9820 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9821 (__start_context): Preserve zero value for regular exit case.
9822
dc97c227
TS
98232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9824 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9825
9826 * manual/setjmp.texi (setcontext): Clarify normal process
9827 termination when uc_link is the null pointer.
9828 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9829 exit call.
9830
d0cd7d02
AS
98312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9832
9833 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9834 preprocessor. Test for each exception mask separately.
9835
dd318934
AJ
98362012-07-16 Andreas Jaeger <aj@suse.de>
9837
9838 * po/ru.po: Update from translation team.
9839
8048311a
JM
98402012-07-15 Joseph Myers <joseph@codesourcery.com>
9841
9842 * conform/data/string.h-data (NULL): Use macro-constant. Require
9843 equal to 0.
9844 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9845 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9846 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9847 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9849
b637d46e
AJ
98502012-07-13 Andreas Jaeger <aj@suse.de>
9851
9852 * po/fr.po: Update from translation team.
9853
541428fe
MP
98542012-07-12 Marek Polacek <polacek@redhat.com>
9855
9856 [BZ #14173]
9857 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9858 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9859 loop condition.
9860
ec332e94
JM
98612012-07-12 Joseph Myers <joseph@codesourcery.com>
9862
9863 [BZ #13717]
9864 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9865 Change to 2.4.1 where previously 2.4.0.
9866 * sysdeps/unix/sysv/linux/configure: Regenerated.
9867 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9868 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9869 version.
9870 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9871 (__ASSUME_AT_CLKTCK): Remove.
9872 (__ASSUME_AT_PAGESIZE): Likewise.
9873 (__ASSUME_AT_XID): Likewise.
9874 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9875 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9876 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9877 unconditionally.
9878 (HAVE_AUX_PAGESIZE): Likewise.
9879 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9880 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9881 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9882
7b6e99be
JB
98832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9884
9885 [BZ #14307]
9886 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9887 the temporary buffer used to invoke __gethostbyname2_r,
9888 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9889 host_data / struct gaih_addrtuple.
9890 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9891 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9892 header file nss/nsswitch.h.
9893 * nss/nsswitch.h (global scope): Add definition of implementation
9894 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9895 resolv/nss_dns/dns-host.c).
9896
608404eb
AJ
98972012-07-11 Andreas Jaeger <aj@suse.de>
9898
9899 * po/fr.po: Update from translation team.
9900
71220aca
AJ
9901 * po/sv.po: Update from translation team
9902 * po/fr.po: Another update from translation team.
9903
28cfe843
AZ
99042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9905
9906 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9907 for subnormals or multiply small sinh result by itself.
9908 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9909 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9910
6b90f981
DM
99112012-07-11 David S. Miller <davem@davemloft.net>
9912
9913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9914
c6825772
AS
99152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9916
9917 [BZ #14347]
9918 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9919 (INTERNAL_MARK): Shift it here.
9920
7b8e0d49
MP
99212012-07-10 Marek Polacek <polacek@redhat.com>
9922
9923 [BZ #14151]
9924 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9925 libc_cv_asm_global_directive with .globl.
9926 * configure: Regenerated.
9927 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9928 with .globl.
9929 * sysdeps/i386/configure: Regenerated.
9930 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9931 with .globl.
9932 * sysdeps/x86_64/configure: Regenerated.
9933 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9934 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9935 * elf/tst-unique2mod2.c: Likewise.
9936 * elf/tst-unique2mod1.c: Likewise.
9937 * elf/tst-unique1mod2.c: Likewise.
9938 * elf/tst-unique1mod1.c: Likewise.
9939 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9940 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9941 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9942 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9943 * sysdeps/mach/sysdep.h: Likewise.
9944 * sysdeps/i386/sysdep.h: Likewise.
9945 * sysdeps/i386/i386-mcount.S: Likewise.
9946 * sysdeps/x86_64/_mcount.S: Likewise.
9947 * sysdeps/x86_64/sysdep.h: Likewise.
9948 * sysdeps/sh/_mcount.S: Likewise.
9949 * sysdeps/sh/sysdep.h: Likewise.
9950 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9951 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9952 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9953 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9954 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9955 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9956 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9957 * locale/localeinfo.h: Likewise.
9958 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9959 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9960
6c55cda3
RM
99612012-07-09 Roland McGrath <roland@hack.frob.com>
9962
9963 [BZ #14336]
9964 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9965 system".
9966 * manual/message.texi (The Uniforum approach): Likewise.
9967 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9968 (glibc iconv Implementation): Likewise.
9969
638a572e
JM
99702012-07-09 Joseph Myers <joseph@codesourcery.com>
9971
9972 [BZ #14337]
9973 * math/s_clog.c (__clog): Avoid scaling a value down where that
9974 could result in underflow.
9975 * math/s_clog10.c (__clog10): Likewise.
9976 * math/s_clog10f.c (__clog10f): Likewise.
9977 * math/s_clog10l.c (__clog10l): Likewise.
9978 * math/s_clogf.c (__clogf): Likewise.
9979 * math/s_clogl.c (__clogl): Likewise.
9980 * math/libm-test.inc (clog_test): Add more tests.
9981 (clog10_test): Likewise.
9982 * sysdeps/i386/fpu/libm-test-ulps: Update.
9983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9984
261f4859
AS
99852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9986
0abaf3e4
AS
9987 [BZ #14283]
9988 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9989 by 7 not 8 to examine high bit of fractional part.
9990
261f4859
AS
9991 [BZ #14042]
9992 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9993 for call to __mcount_internal.
9994 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9995 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9996 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9997
f17ac40d
JM
99982012-07-06 Joseph Myers <joseph@codesourcery.com>
9999
9ad63c23
JM
10000 [BZ #14154]
10001 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10002 approximation for values within 0x1p-13f of an odd multiple of
10003 pi/4.
10004 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10005 exception. Add more tests.
10006 * sysdeps/i386/fpu/libm-test-ulps: Update.
10007
f17ac40d
JM
10008 [BZ #6778]
10009 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10010 inputs and return -1 for them. Do not check for +Inf in case not
10011 reachable for +Inf.
10012 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10013 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10015 and return -1 for them. Do not check for +Inf in case not
10016 reachable for +Inf.
10017 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10018 define.
10019 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10020 and return -1 for them. Do not check for +Inf in case not
10021 reachable for +Inf.
10022 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10023 spurious underflow.
10024 * sysdeps/i386/fpu/libm-test-ulps: Update.
10025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10026
fb21f89b
MF
100272012-07-06 Mike Frysinger <vapier@gentoo.org>
10028
10029 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10030
cdfe2c5e
JM
100312012-07-05 Joseph Myers <joseph@codesourcery.com>
10032
10033 [BZ #14157]
10034 [BZ #14331]
10035 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10036 could result in spurious underflow. Scale down values above
10037 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10038 * math/s_csqrtf.c (__csqrtf): Likewise.
10039 * math/s_csqrtl.c (__csqrtl): Likewise.
10040 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10041 spurious underflow.
10042 * sysdeps/i386/fpu/libm-test-ulps: Update.
10043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10044
70d35b67
AS
100452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10046
704bc459
AS
10047 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10048 xopen-msg.sed.
10049 * catgets/xopen-msg.awk: New file.
10050 * catgets/xopen-msg.sed: Removed.
10051
70d35b67
AS
10052 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10053 po2text.sed.
10054 * intl/po2test.awk: New file.
10055 * intl/po2test.sed: Removed.
10056
ca61cf32
JM
100572012-07-04 Joseph Myers <joseph@codesourcery.com>
10058
10059 [BZ #14328]
10060 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10061 or multiply small sinh result by itself.
10062 * math/s_ctanf.c (__ctanf): Likewise.
10063 * math/s_ctanh.c (__ctanh): Likewise.
10064 * math/s_ctanhf.c (__ctanhf): Likewise.
10065 * math/s_ctanhl.c (__ctanhl): Likewise.
10066 * math/s_ctanl.c (__ctanl): Likewise.
10067 * math/libm-test.inc (ctan_test_tonearest): New function.
10068 (ctan_test_towardzero): Likewise.
10069 (ctan_test_downward): Likewise.
10070 (ctan_test_upward): Likewise.
10071 (ctanh_test_tonearest): Likewise.
10072 (ctanh_test_towardzero): Likewise.
10073 (ctanh_test_downward): Likewise.
10074 (ctanh_test_upward): Likewise.
10075 (main): Call these new functions.
10076 * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10078
ca48a46a
MF
100792012-07-03 Mike Frysinger <vapier@gentoo.org>
10080
10081 * .gitignore: Delete /ports entry.
10082
9d63d37d
AJ
100832012-07-03 Andreas Jaeger <aj@suse.de>
10084
10085 * po/bg.po: Update from translation team.
10086 * po/cs.po: Likewise.
10087 * po/de.po: Likewise.
10088 * po/hr.po: Likewise.
10089 * po/nl.pl: Likewise.
10090 * po/pl.po: Likewise.
10091 * po/vi.po: Likewise.
10092
370ca3d2
JM
100932012-07-03 Joseph Myers <joseph@codesourcery.com>
10094
95f5a9a8
JM
10095 * Makeconfig [!+link] (+link-before-libc): New variable.
10096 [!+link] (+link-after-libc): Likewise.
10097 [!+link] (+link-tests): Likewise.
10098 [!+link] (+link): Define in terms of $(+link-before-libc) and
10099 $(+link-after-libc).
10100 [!+link-static] (+link-static-before-libc): New variable.
10101 [!+link-static] (+link-static-after-libc): Likewise.
10102 [!+link-static] (+link-static-tests): Likewise.
10103 [!+link-static] (+link-static): Define in terms of
10104 $(+link-static-before-libc) and $(+link-static-after-libc).
10105 [build-shared] (link-libc-before-gnulib): New variable.
10106 [build-shared] (link-libc-tests): Likewise.
10107 [build-shared] (link-libc): Define in terms of
10108 $(link-libc-before-gnulib).
10109 [!build-shared] (link-libc-tests): New variable.
10110 (link-libc-static-tests): New variable.
10111 [!gnulib] (gnulib-arch): New variable.
10112 [!gnulib] (gnulib-tests): Likewise.
10113 [!gnulib] (static-gnulib-arch): Likewise.
10114 [!gnulib] (static-gnulib-tests): Likewise.
10115 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10116 Define with "=" instead of ":=".
10117 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10118 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10119 * Rules (binaries-all-notests): New variable.
10120 (binaries-all-tests): Likewise.
10121 (binaries-static-notests): Likewise.
10122 (binaries-static-tests): Likewise.
10123 (binaries-all): Define using $(binaries-all-notests) and
10124 $(binaries-all-tests).
10125 (binaries-static): Define using $(binaries-static-notests) and
10126 $(binaries-static-tests).
10127 (binaries-shared-tests): New variable.
10128 (binaries-shared-notests): Likewise.
10129 (binaries-shared): Remove variable.
10130 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10131 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10132 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10133 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10134 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10135 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10136 * elf/Makefile (sln-modules): New variable.
10137 (extra-objs): Add $(sln-modules:=.o).
10138 (ldconfig-modules): Add static-stubs.
10139 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10140 * elf/static-stubs.c: New file.
10141
7a845b2c
JM
10142 [BZ #14283]
10143 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10144 by 7 not 8 to examine high bit of fractional part. Use volatile
10145 variables when splitting into final array of floats if
10146 __FLT_EVAL_METHOD__ != 0.
10147 * math/libm-test.inc (cos_test): Add another test.
10148 (sin_test): Likewise.
10149 * sysdeps/i386/fpu/libm-test-ulps: Update.
10150
e2283f38
JM
10151 [BZ #14273]
10152 * math/libm-test.inc (cosh_test): Add more tests.
10153
370ca3d2
JM
10154 * version.h (RELEASE): Set to "development".
10155 (VERSION): Set to "2.16.90".
10156
ee9247c3
CD
101572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10158
10159 * NEWS: Update copyright. Remove last-updated date.
10160 Mention math library bug fixes and timezone data changes.
10161 * README: Mention GNU/Hurd, x32, and HPPA support status.
10162
4648c381
TS
101632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10164
10165 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10166
aac78a43
AJ
101672012-06-27 Andreas Jaeger <aj@suse.de>
10168
10169 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10170
ed3dbfad
AJ
101712012-06-25 Andreas Jaeger <aj@suse.de>
10172
10173 * sysdeps/s390/fpu/libm-test-ulps: Update.
10174
4d0ee855
AS
101752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10176 Thomas Schwinge <thomas@codesourcery.com>
10177
10178 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10179 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10181 fanotify_mark.
10182
af1bce34
TS
101832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10184
a9fa33ba
TS
10185 * sysdeps/mach/start.c: Remove file.
10186 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10187 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10188 * sysdeps/sh/init-first.c: Likewise.
10189
58f902b8
TS
10190 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10191 registers for frame unwinding purposes, add CFI directives.
10192 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10194 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10195 Likewise.
10196
1518f58b
TS
10197 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10198 __fortify_fail returning.
10199 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10200
db9b5059
TS
10201 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10202 sysdeps/sh/____longjmp_chk.S.
10203 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10204 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10205 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10206 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10207
967705fe
TS
10208 * sysdeps/sh/abort-instr.h: New file.
10209 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10210 process in case exit returns.
10211
a9def8c4
TS
10212 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10213 initialize the GOT register before use.
10214
2a649725
TS
10215 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10216 calculation of ARGC > 4.
10217
af1bce34
TS
10218 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10219 meaningful names to some local labels.
10220
d230f50a
KK
102212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10222 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10223
10224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10225 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10226 (__arch_compare_and_exchange_val_16_acq): Likewise.
10227 (__arch_compare_and_exchange_val_32_acq): Likewise.
10228 (atomic_exchange_and_add): Fix gUSA sequence.
10229 (atomic_add): Likewise.
10230 (atomic_add_negative): Likewise.
10231 (atomic_add_zero): Likewise.
10232 (atomic_bit_test_set): Likewise.
10233
0479b305
AS
102342012-06-22 Andreas Schwab <schwab@redhat.com>
10235
10236 [BZ #13579]
10237 * include/link.h (struct link_map): Add l_free_initfini.
10238 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10239 l_initfini.
10240 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10241 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10242 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10243 set.
10244
0e3933b9
CD
102452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10246
10247 * configure.in: Use AC_LANG_SOURCE.
10248 * configure: Regenerate.
10249
4248b1b1
RM
102502012-06-22 Roland McGrath <roland@hack.frob.com>
10251
10252 * configure.in (libc_cv_localstatedir): New substituted variable.
10253 * configure: Regenerated.
10254 * config.make.in (localstatedir): New variable, substituted from
10255 libc_cv_localstatedir.
10256 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10257 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10258 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10259 * sysdeps/gnu/configure: Regenerated.
10260
006dd861
JL
102612012-06-21 Jeff Law <law@redhat.com>
10262
10263 [BZ #14277]
10264 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10265 free. Simplify list management for _LIBC case.
10266
79662d42
JM
102672012-06-21 Joseph Myers <joseph@codesourcery.com>
10268
b7abb4bf
JM
10269 [BZ #14273]
10270 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10271 Clear sign bit of 64-bit integer value before comparing against
10272 overflow value.
10273
79662d42
JM
10274 * sysdeps/mach/configure: Regenerated.
10275
1f150908
L
102762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10277
10278 [BZ #14278]
10279 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10280
28363bbf
JL
102812012-06-21 Jeff Law <law@redhat.com>
10282
10283 [BZ #13882]
10284 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10285 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10287 * elf/dl-open.c (dl_open_worker): Likewise.
10288
09615db4
CD
102892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10290
10291 * scripts/list-sources.sh: Scan PORTS for translations.
10292 * po/libc.pot: Regenerated.
10293
2174c6dd
AJ
102942012-06-21 Andreas Jaeger <aj@suse.de>
10295
10296 [BZ #12194]
10297 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10298 warning.
10299 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10300 * bits/byteswap-16.h (__bswap_16): Likewise.
10301 * bits/byteswap.h (__bswap_constant_16): Likewise.
10302
3ee947b1
L
103032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10304
10305 [BZ #14117]
a2f34833
L
10306 * sysdeps/i386/fpu_control.h: Removed.
10307 * sysdeps/x86_64/fpu_control.h: Moved to ...
10308 * sysdeps/x86/fpu_control.h: Here.
10309
3ee947b1
L
10310 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10311 (_FPU_SETCW): Likewise.
10312
ed1825f8
L
103132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10314
25f1282a
L
10315 [BZ #14117]
10316 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10317 * sysdeps/x86/fpu/bits/mathinline.h: This.
10318 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10319
ed1825f8
L
10320 [BZ #14050]
10321 [BZ #14117]
10322 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10323 functions if __x86_64__ is defined.
10324
36d54b74
CLT
103252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10326
10327 * string/endian.h: Add !__ASSEMBLER__ condition for including
10328 conversion interfaces.
10329
10285c21
JM
103302012-06-15 Joseph Myers <joseph@codesourcery.com>
10331
10332 [BZ #14241]
10333 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10334 of ABS(x) in calculating zero to negative powers other than odd
10335 integers.
10336 * math/libm-test.inc (pow_test): Add more tests.
10337
06c5abbd
AJ
103382012-06-15 Andreas Jaeger <aj@suse.de>
10339
10340 * manual/contrib.texi (Contributors): Update entry of Liubov
10341 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10342 Machado Filho.
10343
a3aeac40
CH
103442012-06-15 Cyril Hrubis <metan@ucw.cz>
10345
10346 * string/string.h: Add __wur to GNU version of strerror_r.
10347
49bdf4c1
L
103482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10349
10350 [BZ #14229]
10351 * string/Makefile (tests): Add tst-strtok_r.
10352 * string/tst-strtok_r.c: New file.
10353 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10354 RAX_LP/RDX_LP on SAVE_PTR.
10355
834f9b8d
RM
103562012-06-14 Roland McGrath <roland@hack.frob.com>
10357
10358 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10359
75fa1921
JM
103602012-06-14 Joseph Myers <joseph@codesourcery.com>
10361
10362 * libm_test.inc (csqrt_test): Allow more spurious underflow
10363 exceptions.
10364 (j0_test): Likewise.
10365 (j1_test): Likewise.
10366 (y0_test): Likewise.
10367 (y1_test): Likewise.
10368
771766df
CD
103692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10370
10371 * po/Makefile (libc.pot): Use UTF-8 charset.
10372
ceb9e56b
PP
103732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10374
10375 [BZ #14210]
10376 Suppress sign-conversion warning from FD_SET.
10377 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10378 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10379 not unsigned long int.
10380 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10381
ddb28975
L
103822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10383
10384 [BZ #14050]
10385 [BZ #14117]
10386 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10387 __extern_always_inline instead of __extern_inline.
10388 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10389 (__signbit): Likewise.
10390 (__signbitl): Support C++ namespace.
10391 (lrintf): New inline function.
10392 (lrint): Likewise.
10393 (llrintf): Likewise.
10394 (llrint): Likewise.
10395 (fmaxf): Likewise.
10396 (fmax): Likewise.
10397 (fminf): Likewise.
10398 (fmin): Likewise.
10399 (rint): Likewise.
10400 (rintf): Likewise.
10401 (ceil): Likewise.
10402 (ceilf): Likewise.
10403 (floor): Likewise.
10404 (floorf): Likewise.
10405 (nearbyint): Likewise.
10406 (nearbyintf): Likewise.
10407
d7b4fb26
TS
104082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10409
10410 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10411 non-default versions.
10412
eb55f5c2
RM
104132012-06-11 Roland McGrath <roland@hack.frob.com>
10414
10415 [BZ #14218]
10416 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10417
366af02c
TS
104182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10419
99ff6e5c
TS
10420 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10421 (FE_UPWARD, FE_DOWNWARD): Don't define.
10422 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10424
366af02c
TS
10425 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10426 reading it.
10427 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10428 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10429
793ea851
KK
104302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10431
10432 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10433 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10434 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10435 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10436
a728a38f
L
104372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 [BZ #14117]
c08010c7
L
10440 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10441 * sysdeps/i386/fpu/Implies: New file.
10442 * sysdeps/x86_64/fpu/Implies: Likewise.
10443 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10444 * sysdeps/x86/fpu/bits/fenv.h: This.
10445
a728a38f
L
10446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10447 __SSE_MATH__.
10448
6e230d11
SP
104492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10450
10451 [BZ #14134]
10452 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10453 character 0xffff that matches the last element of the
10454 conversion table.
10455
1b671feb
AZ
104562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10457
10458 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10459 fmodl commit.
10460
6043738b
AZ
104612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10462
10463 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10464 values higher than 25.6283.
10465
34ae0b32
AZ
104662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10467
10468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10469 subnormal exponent extraction and add some __builtin_expect.
10470 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10471 Fix for subnormal mantissa calculation.
10472
1214ec8f
MF
104732012-06-04 Mike Frysinger <vapier@gentoo.org>
10474
10475 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10476 cpu2 is -1 and errno is not ENOSYS.
10477
f3d1f93c
L
104782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10479
10480 [BZ #14117]
0e4a3cd7
L
10481 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10482 * sysdeps/x86/bits/string.h: This.
10483 * sysdeps/x86_64/bits/string.h: Removed.
10484
6704c645
L
10485 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10486 if not compiling for x86-64, but compiling for >= i486.
10487
48495318
L
10488 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10489 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10490
14adcbfc
L
10491 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10492 New macro from Linux kernel 3.4.0.
10493 (FP_XSTATE_MAGIC2): Likewise.
10494 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10495 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10496 (struct _fpx_sw_bytes): New struct.
10497 (struct _xsave_hdr): Likewise.
10498 (struct _ymmh_state): Likewise.
10499 (struct _xstate): Likewise.
10500
68e408ab
L
10501 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10502 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10504 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10505 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10506 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10507
f3d1f93c
L
10508 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10509 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10510 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10511 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10512 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10513 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10514
d9dc34cd
TMQMF
105152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10516
10517 [BZ #13743]
10518 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10519 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10520 (sysdep_headers): Include sys/platform/ppc.h.
10521 * sysdeps/powerpc/test-gettimebase.c: Test for
10522 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10523 * manual/Makefile (appendices): Include platform.texi.
10524 * manual/contrib.texi (Contributors): Update @node pointers.
10525 * manual/maint.texi (Maintenance): Likewise.
10526 (Platform): New node.
10527 * manual/platform.texi: New file. Document the new features.
10528
4af3879c
SP
105292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10530 Jakub Jelinek <jakub@redhat.com>
10531
10532 [BZ #14188]
10533 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10534 where __builtin_expect is unavailable.
10535
2fd6ff13
DM
105362012-06-03 David S. Miller <davem@davemloft.net>
10537
10538 * stdlib/longlong.h: Updated from GCC.
10539
173f7220
AS
105402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10541
10542 [BZ #14042]
10543 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10544 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10545 __mcount_internal.
10546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10547 (GLIBC_2.16): Likewise.
10548
f34a1c6f
L
105492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10550
10551 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10552
88a4576f
JM
105532012-06-01 Joseph Myers <joseph@codesourcery.com>
10554
ea32bcdd
JM
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10556 (default-abi): New variable.
10557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10558 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10559 variable.
10560 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10561 Likewise.
10562 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10563 Likewise.
10564 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10565 Likewise.
10566
88a4576f
JM
10567 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10568 definition. Document in comment.
10569
402fe938
DM
105702012-06-01 David S. Miller <davem@davemloft.net>
10571
10572 * stdlib/longlong.h: Updated from GCC.
10573
3553723f
L
105742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10575
10576 [BZ #14117]
3bd872c4
L
10577 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10578 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10579 sys/debugreg.h sys/io.h here.
10580 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10581 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10582 sys/io.h.
10583 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10584 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10585 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10586 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10587 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10588 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10589
3553723f
L
10590 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10591 Define only if __x86_64__ is defined.
10592
4842e4fe
JM
105932012-06-01 Joseph Myers <joseph@codesourcery.com>
10594
c5bfe3d5
JM
10595 [BZ #14048]
10596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10597 Use int64_t for variable i.
10598 * math/libm-test.inc (fmod_test): Add more tests.
10599
4842e4fe
JM
10600 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10601 z computation is not scheduled after fetestexcept.
10602 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10603 Use math_force_eval instead of asm to ensure calculation scheduled
10604 before exception test.
10605 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10606 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10607
efb73488
AJ
106082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10609
10610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10611 computation is not scheduled after fetestexcept.
10612
29bcce7c
L
106132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10614
10615 [BZ #14117]
10616 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10617 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10618
73a68f94
AZ
106192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10620
10621 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10622 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10623
67b6df78
L
106242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10625
edf2933a 10626 [BZ #14117]
ebc64a18
L
10627 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10628 <bits/wordsize.h>.
10629 (__WCHAR_MIN): Support __WORDSIZE == 64.
10630 (__WCHAR_MAX): Likewise.
10631
edf2933a
L
10632 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10633 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10634
57c6cf40
L
10635 [BZ #14183]
10636 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10637 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10638
67b6df78 10639 [BZ #14117]
8eb6281e
L
10640 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10641 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10642
aac639f4
L
10643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10644 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10645
67b6df78
L
10646 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10647 Defined to 1 if __x86_64__ isn't defined.
10648 (_STAT_VER_LINUX_OLD): New.
10649 (st_atime): Remove duplicate.
10650 (st_mtime): Likewise.
10651 (st_ctime): Likewise.
10652
1c2cfe81
DM
106532012-05-31 David S. Miller <davem@davemloft.net>
10654
10655 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10656 entries.
10657
5be8418c
AS
106582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10659
e7725326
AS
10660 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10661 gen-libm-test.pl.
10662
5be8418c
AS
10663 [BZ #14132]
10664 * elf/dl-reloc.c: Include <_itoa.h>.
10665 (_dl_reloc_bad_type): Remove use of INTUSE.
10666 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10667 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10668 * stdio-common/psiginfo.c (psiginfo): Likewise.
10669 * stdio-common/psignal.c (psignal): Likewise.
10670 * string/strsignal.c (strsignal): Likewise.
10671 * include/signal.h (_sys_siglist): Declare hidden proto.
10672 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10673 INTVARDEF with libc_hidden_data_def.
10674 * stdio-common/itoa-udigits.c: Likewise.
10675 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10676 (_itoa_lower_digits_internal): Remove declaration.
10677 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10678 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10679 (_sys_sigabbrev_internal): Remove aliases.
10680 (_sys_siglist): Define hidden alias.
10681
507352f1
MT
106822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10683
10684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10685 bits/sysctl.h.
10686
42bbb1c3
L
106872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10688
10689 [BZ #14117]
6bd784b6
L
10690 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10691 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10692
8bca20f0
L
10693 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10694 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10695 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10696 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10697 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10698 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10699
f9e890a9
L
10700 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10701 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10702 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10703
471101a1
L
10704 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10705 with __addr.
10706 (insw): Likewise.
10707 (insl): Likewise.
10708 (outsb): Likewise.
10709 (outsw): Likewise.
10710 (outsl): Likewise.
10711
6451c862
L
10712 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10714 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10715
a254b8c9
L
10716 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10717 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10719 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10720 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10721 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10722
b8dfdd92
L
10723 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10724 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10725
578cd270
L
10726 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10727 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10728
de662f5f
L
10729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10731 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10732
25653439
L
10733 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10734 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10735 to ...
10736 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10737
6bad24a0
L
10738 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10739 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10740 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10741
42bbb1c3
L
10742 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10743 for x86-64.
10744 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10745
2d10d547
JM
107462012-05-31 Joseph Myers <joseph@codesourcery.com>
10747
10748 * math/math.h (M_El): Use two more decimal places.
10749 (M_LOG2El): Likewise.
10750 (M_LOG10El): Likewise.
10751 (M_LN2l): Likewise.
10752 (M_LN10l): Likewise.
10753 (M_PIl): Likewise.
10754 (M_PI_2l): Likewise.
10755 (M_PI_4l): Likewise.
10756 (M_1_PIl): Likewise.
10757 (M_2_PIl): Likewise.
10758 (M_2_SQRTPIl): Likewise.
10759 (M_SQRT2l): Likewise.
10760 (M_SQRT1_2l): Likewise.
10761
f230c29b
DM
107622012-05-31 David S. Miller <davem@davemloft.net>
10763
10764 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10765 values between float registers.
10766 * sysdeps/sparc/sparc64/memset.S: Likewise.
10767 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10768
fed806c3
MF
107692012-05-31 Mike Frysinger <vapier@gentoo.org>
10770
10771 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10772 -D_FORTIFY_SOURCE=1.
10773 (CPPFLAGS-tst-longjmp_chk.c): Define.
10774 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10775 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10776 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10777 CFLAGS-tst-wchar-h.c.
10778
30917259
MP
107792012-05-31 Marek Polacek <polacek@redhat.com>
10780
10781 [BZ #14132]
10782 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10783 __endmntent_internal): Remove declaration.
10784 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10785 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10786 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10787
1c58d5dc
DM
107882012-05-30 David S. Miller <davem@davemloft.net>
10789
10790 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10791 (___Q_simulate_exceptions): Use real FP ops rather than writing
10792 into the %fsr.
10793 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10794 Likewise.
10795
7dc00e0d
L
107962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 [BZ #14117]
0bd53985
L
10799 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10800 * sysdeps/x86/bits/xtitypes.h: This.
10801
3a257e66
L
10802 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10803 * sysdeps/x86/bits/wordsize.h: This.
10804
62f62904
L
10805 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10806 * sysdeps/x86/bits/huge_vall.h: This.
10807
404fe9d9
L
10808 * sysdeps/i386/bits/select.h: Removed.
10809 * sysdeps/x86_64/bits/select.h: Renamed to ...
10810 * sysdeps/x86/bits/select.h: This.
10811
d48d0446
L
10812 * sysdeps/i386/bits/setjmp.h: Removed.
10813 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10814 * sysdeps/x86/bits/setjmp.h: This.
10815
7dc00e0d
L
10816 * sysdeps/i386/bits/mathdef.h: Removed.
10817 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10818 * sysdeps/x86/bits/mathdef.h: This.
10819
03277f8f
AS
108202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10821
10822 [BZ #14132]
10823 * include/sys/socket.h (__connect_internal)
10824 (__libc_sa_len_internal): Remove declaration.
10825 (__connect, __libc_sa_len): Declare hidden_proto.
10826 (SA_LEN): Remove use of INTUSE.
10827 * socket/connect.c: Add libc_hidden_def.
10828 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10829 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10830 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10831 alias.
10832 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10833 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10834 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10835 of adding _internal alias.
10836
13764867
L
108372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 [BZ #14117]
6bd97696
L
10840 * sysdeps/i386/bits/link.h: Removed.
10841 * sysdeps/i386/bits/linkmap.h: Likewise.
10842 * sysdeps/x86_64/bits/link.h: Renamed to ...
10843 * sysdeps/x86/bits/link.h: This.
10844 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10845 * sysdeps/x86/bits/linkmap.h: This.
10846
f726f0bb
L
10847 * sysdeps/i386/bits/endian.h: Removed.
10848 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10849 * sysdeps/x86/bits/endian.h: This.
10850
13764867
L
10851 * sysdeps/i386/bits/byteswap.h: Removed.
10852 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10853 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10854 * sysdeps/x86/bits/byteswap.h: This.
10855 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10856 * sysdeps/x86/bits/byteswap-16.h: This.
10857 * sysdeps/i386/Implies: Add x86.
10858 * sysdeps/x86_64/Implies: Likewise.
10859
ae251b0b
DM
108602012-05-30 David S. Miller <davem@davemloft.net>
10861
10862 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10863 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10864 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10865 (FP_TRAPPING_EXCEPTIONS): Define.
10866 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10867 (FP_TRAPPING_EXCEPTIONS): Define.
10868 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10869 subnormals only when inexact has been signalled or underflow
10870 exceptions are enabled.
10871 (_FP_PACK_CANONICAL): Likewise.
10872
d5c90867
L
108732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10874
10875 [BZ #14183]
10876 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10877 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10878
63f1549e
RH
108792012-05-30 Richard Henderson <rth@twiddle.net>
10880
8d8f2279
RH
10881 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10882 with #ifndef NOT_IN_libc.
10883
63f1549e
RH
10884 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10885 marked to avoid plt entry.
10886
0ab0291b
L
108872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10888
10889 [BZ #14112]
10890 * Makeconfig (default-abi): New macro.
10891 (abi-includes): Likewise.
10892 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10893 $(abi-$(default-abi)-lib-soname) for soname if defined.
10894 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10895 abi-variants.
10896 * Makefile (installed-stubs): Likewise.
10897 * include/stubs-biarch.h: Removed.
10898 * scripts/lib-names.awk: Only handle one library at a time.
10899 * scripts/soversions.awk: Remove WORDSIZE support.
10900 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10901 entries.
10902 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10903 Removed.
10904 (syscall-list-default-condition): Likewise.
10905 (syscall-list-default-condition): Likewise.
10906 (syscall-list-includes): Likewise.
10907 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10908 syscall-list-* with abi-*. Handle undefined abi-variants.
10909 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10910 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10911 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10912 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10913 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10914 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10915 Removed.
10916 (syscall-list-32-options): Likewise.
10917 (syscall-list-32-condition): Likewise.
10918 (syscall-list-64-options): Likewise.
10919 (syscall-list-64-condition): Likewise.
10920 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10921 macro.
10922 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10923 Renamed to ...
10924 (abi-*): This.
10925 (abi-64-ld-soname): New macro.
10926 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10927 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10928 Renamed to ...
10929 (abi-*): This.
10930 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10931 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10932
4da0431d
JM
109332012-05-30 Joseph Myers <joseph@codesourcery.com>
10934
3a85279c
JM
10935 * sysdeps/unix/sysv/linux/kernel-features.h
10936 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10937 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10938 include <kernel-features.h>.
10939 [!__NR_ftruncate64]: Remove conditional code.
10940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10941 [__NR_ftruncate64]: Make code unconditional.
10942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10943 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10944 include <kernel-features.h>.
10945 [!__NR_ftruncate64]: Remove conditional code.
10946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10947 [__NR_ftruncate64]: Make code unconditional.
10948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10950 include <kernel-features.h>.
10951 [!__NR_ftruncate64]: Remove conditional code.
10952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10953 [__NR_ftruncate64]: Make code unconditional.
10954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10956 include <kernel-features.h>.
10957 [!__NR_ftruncate64]: Remove conditional code.
10958 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10959 [__NR_ftruncate64]: Make code unconditional.
10960 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10961
4da0431d
JM
10962 * configure.in (libc_cv_fpie): Weaken to a compile test using
10963 LIBC_TRY_CC_OPTION.
10964 * configure: Regenerated.
10965
11ef492c
AK
109662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10967
10968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10969 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10970 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10971 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10972 Refreshed.
10973 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10974 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10975 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10976 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10977 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10978 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10979 Refreshed.
10980
d66ef399
DM
109812012-05-27 David S. Miller <davem@davemloft.net>
10982
10983 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10984 (___Q_zero): New.
10985 (__Q_simulate_exceptions): Return void. Change to simulate
10986 exceptions by writing into the %fsr.
10987 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10988 (__Qp_handle_exceptions): Likewise.
10989 (numbers): Delete.
10990 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10991 __Qp_handle_exceptions.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10993 __Qp_handle_exceptions.
10994 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10995 as unused and give dummy FP_RND_NEAREST initializer.
10996 (FP_INHIBIT_RESULTS): Define.
10997 (___Q_simulate_exceptions): Update declaration.
10998 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10999 formatting.
11000 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11001 as unused and give dummy FP_RND_NEAREST initializer.
11002 (__Qp_handle_exceptions): Update declaration.
11003 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11004 formatting.
11005
04fb54b5
TS
110062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11007
11008 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11009 the temporary FPU control word.
11010 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11011 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11012 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11013 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11014 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11015 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11016 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11017 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11018 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11019 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11020 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11021
3f99608f
KK
110222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11023
11024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11025 fields.
11026
65a4de4e
CLT
110272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11028
11029 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11030 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11031 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11032 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11033 Likewise.
11034 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11035 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11036 Likewise.
11037
15749d40
UD
110382012-05-27 Ulrich Drepper <drepper@gmail.com>
11039
11040 * po/h.po: Update from translation team.
11041
25dbcb27
AS
110422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11043
3d3f8e55
AS
11044 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11045
25dbcb27
AS
11046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11047 handling of denormals.
11048 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11049 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11051 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11052 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11053 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11054 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11055 Likewise.
11056
7ad47a80 110572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11058
11059 [BZ #14152]
11060 * math/libm-test.inc (fma_test): Don't always expect underflow
11061 exception.
11062
9c6ea9fa
SP
110632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 [BZ #12416]
11066 * elf/tst-execstack.c: Include stackinfo.h.
11067 (do_test): Adjust test case to ensure that pthread_getattr_np
11068 behaviour remains the same after marking stack executable.
11069
a8239222
JM
110702012-05-25 Joseph Myers <joseph@codesourcery.com>
11071
11072 * sysdeps/unix/sysv/linux/kernel-features.h
11073 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11074 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11075 kernel-features.h.
11076 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11077 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11078 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11079 kernel-features.h.
11080 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11081 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11082
918b5606
L
110832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11084
11085 * configure.in: Define the default includes to being none.
11086 * configure: Regenerated.
11087
3a097cc7
RM
110882012-05-25 Roland McGrath <roland@hack.frob.com>
11089
8422c9a5
RM
11090 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11091 * sysdeps/x86_64/setjmp.S: Likewise.
11092 * sysdeps/i386/bsd-setjmp.S: Likewise.
11093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11094 * sysdeps/i386/setjmp.S: Likewise.
11095 * sysdeps/i386/__longjmp.S: Likewise.
11096 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11097 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11098
3a097cc7
RM
11099 * include/stap-probe.h: New file.
11100 * configure.in: Handle --enable-systemtap.
11101 * configure: Regenerated.
11102 * config.h.in (USE_STAP_PROBE): New #undef.
11103 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11104 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11105 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11106
21708942
JM
111072012-05-25 Joseph Myers <joseph@codesourcery.com>
11108
11109 [BZ #13717]
11110 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11111 to 2.4.0 where earlier.
11112 * sysdeps/unix/sysv/linux/configure: Regenerated.
11113 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11114 <kernel-features.h>.
11115 [__ASSUME_32BITUIDS]: Make code unconditional.
11116 [!__ASSUME_32BITUIDS]: Remove conditional code.
11117 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11118 <kernel-features.h>.
11119 [__ASSUME_32BITUIDS]: Make code unconditional.
11120 [!__ASSUME_32BITUIDS]: Remove conditional code.
11121 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11122 [__ASSUME_32BITUIDS]: Make code unconditional.
11123 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11124 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11125 <kernel-features.h>.
11126 [__ASSUME_32BITUIDS]: Make code unconditional.
11127 [!__ASSUME_32BITUIDS]: Remove conditional code.
11128 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11129 <kernel-features.h>.
11130 [__ASSUME_32BITUIDS]: Make code unconditional.
11131 [!__ASSUME_32BITUIDS]: Remove conditional code.
11132 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11133 <kernel-features.h>.
11134 [__ASSUME_32BITUIDS]: Make code unconditional.
11135 [!__ASSUME_32BITUIDS]: Remove conditional code.
11136 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11137 <kernel-features.h>.
11138 [__ASSUME_32BITUIDS]: Make code unconditional.
11139 [!__ASSUME_32BITUIDS]: Remove conditional code.
11140 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11141 <kernel-features.h>.
11142 [__ASSUME_32BITUIDS]: Make code unconditional.
11143 [!__ASSUME_32BITUIDS]: Remove conditional code.
11144 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11145 <kernel-features.h>.
11146 [__ASSUME_32BITUIDS]: Make code unconditional.
11147 [!__ASSUME_32BITUIDS]: Remove conditional code.
11148 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11149 <kernel-features.h>.
11150 [__ASSUME_32BITUIDS]: Make code unconditional.
11151 [!__ASSUME_32BITUIDS]: Remove conditional code.
11152 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11153 <kernel-features.h>.
11154 [__ASSUME_32BITUIDS]: Make code unconditional.
11155 [!__ASSUME_32BITUIDS]: Remove conditional code.
11156 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11157 <kernel-features.h>.
11158 [__ASSUME_32BITUIDS]: Make code unconditional.
11159 [!__ASSUME_32BITUIDS]: Remove conditional code.
11160 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11161 <kernel-features.h>.
11162 [__ASSUME_32BITUIDS]: Make code unconditional.
11163 [!__ASSUME_32BITUIDS]: Remove conditional code.
11164 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11165 <kernel-features.h>.
11166 [__NR_setresgid] (__setresgid): Do not declare.
11167 [__ASSUME_32BITUIDS]: Make code unconditional.
11168 [!__ASSUME_32BITUIDS]: Remove conditional code.
11169 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11170 <kernel-features.h>.
11171 [__NR_setresuid] (__setresuid): Do not declare.
11172 [__ASSUME_32BITUIDS]: Make code unconditional.
11173 [!__ASSUME_32BITUIDS]: Remove conditional code.
11174 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11175 <kernel-features.h>.
11176 [__ASSUME_32BITUIDS]: Make code unconditional.
11177 [!__ASSUME_32BITUIDS]: Remove conditional code.
11178 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11179 <kernel-features.h>.
11180 [__ASSUME_32BITUIDS]: Make code unconditional.
11181 [!__ASSUME_32BITUIDS]: Remove conditional code.
11182 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11183 <kernel-features.h>.
11184 [__ASSUME_32BITUIDS]: Make code unconditional.
11185 [!__ASSUME_32BITUIDS]: Remove conditional code.
11186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11187 <kernel-features.h>.
11188 [__ASSUME_32BITUIDS]: Make code unconditional.
11189 [!__ASSUME_32BITUIDS]: Remove conditional code.
11190 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11191 <kernel-features.h>.
11192 [__ASSUME_32BITUIDS]: Make code unconditional.
11193 [!__ASSUME_32BITUIDS]: Remove conditional code.
11194 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11195 <kernel-features.h>.
11196 [__ASSUME_32BITUIDS]: Make code unconditional.
11197 [!__ASSUME_32BITUIDS]: Remove conditional code.
11198 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11199 <kernel-features.h>.
11200 [__ASSUME_32BITUIDS]: Make code unconditional.
11201 [!__ASSUME_32BITUIDS]: Remove conditional code.
11202 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11203 <kernel-features.h>.
11204 [__ASSUME_32BITUIDS]: Make code unconditional.
11205 [!__ASSUME_32BITUIDS]: Remove conditional code.
11206 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11207 <kernel-features.h>.
11208 [__ASSUME_32BITUIDS]: Make code unconditional.
11209 [!__ASSUME_32BITUIDS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11211 <kernel-features.h>.
11212 [__ASSUME_32BITUIDS]: Make code unconditional.
11213 [!__ASSUME_32BITUIDS]: Remove conditional code.
11214 * sysdeps/unix/sysv/linux/kernel-features.h
11215 (__ASSUME_SETRESUID_SYSCALL): Remove.
11216 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11217 (__ASSUME_32BITUIDS): Likewise.
11218 (__ASSUME_LDT_WORKS): Likewise.
11219 (__ASSUME_O_DIRECTORY): Likewise.
11220 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11221 architecture but not kernel version.
11222 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11223 (__ASSUME_MMAP2_SYSCALL): Likewise.
11224 (__ASSUME_STAT64_SYSCALL): Likewise.
11225 (__ASSUME_IPC64): Likewise.
11226 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11227 <kernel-features.h>.
11228 [__ASSUME_32BITUIDS]: Make code unconditional.
11229 [!__ASSUME_32BITUIDS]: Remove conditional code.
11230 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11231 <kernel-features.h>.
11232 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11233 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11234 132096]: Remove conditional code.
11235 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11236 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/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/setegid.c: Do not include
11245 <kernel-features.h>.
11246 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11247 unconditional.
11248 (__setresgid): Do not declare.
11249 [__ASSUME_32BITUIDS]: Make code unconditional.
11250 [!__ASSUME_32BITUIDS]: Remove conditional code.
11251 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11252 <kernel-features.h>.
11253 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11254 unconditional.
11255 (__setresuid): Do not declare.
11256 [__ASSUME_32BITUIDS]: Make code unconditional.
11257 [!__ASSUME_32BITUIDS]: Remove conditional code.
11258 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11259 <kernel-features.h>.
11260 [__ASSUME_32BITUIDS]: Make code unconditional.
11261 [!__ASSUME_32BITUIDS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11263 <kernel-features.h>.
11264 [__ASSUME_32BITUIDS]: Make code unconditional.
11265 [!__ASSUME_32BITUIDS]: Remove conditional code.
11266
a386f1cc
RH
112672012-05-25 Richard Henderson <rth@twiddle.net>
11268
11269 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11270 dl_hwcap to ifunc resolver.
11271 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11272 elf_ifunc_invoke.
11273 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11274 dl_hwcap to ifunc resolver.
11275 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11276
b6550497
JM
112772012-05-24 Joseph Myers <joseph@codesourcery.com>
11278
11279 [BZ #14153]
11280 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11281 for |x| <= 2**-26, not 2**-57.
11282 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11283 exception.
11284
b0bc23a1
JL
112852012-05-24 Jeff Law <law@redhat.com>
11286
11287 * stdio-common/Makefile (tests): Add bug25.
11288 * stdio-common/bug25.c: New test.
11289
347c92e9
L
112902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11291
11292 [BZ #13576]
11293 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11294 multiple of MALLOC_ALIGNMENT in size.
11295 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11296
6bcc8b3f
JM
112972012-05-24 Joseph Myers <joseph@codesourcery.com>
11298
11299 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11300 Require >= 256.
11301 (FILENAME_MAX): Use macro-int-constant.
11302 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11303 (_IOFBF): Use macro-int-constant.
11304 (_IOLBF): Likewise.
11305 (_IONBF): Likewise.
11306 (SEEK_CUR): Likewise.
11307 (SEEK_END): Likewise.
11308 (SEEK_SET): Likewise.
11309 (TMP_MAX): Likewise.
11310 (EOF): Use macro-int-constant. Require < 0.
11311 (NULL): Use macro-constant. Require == 0.
11312 (stdin): Require type to be FILE *.
11313 (stdout): Likewise.
11314 (stderr): Likewise.
11315 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11316 macro-int-constant.
11317 (EXIT_SUCCESS): Likewise.
11318 (NULL): Use macro-constant. Require == 0.
11319 (RAND_MAX): Use macro-int-constant.
11320 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11321 [C99-based standards] (strtof): Require function.
11322 [C99-based standards] (strtold): Likewise.
11323 [C99-based standards] (strtoll): Likewise.
11324 [C99-based standards] (strtoull): Likewise.
11325 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11326 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11327 [ISO || ISO99 || ISO11] (math.h): Likewise.
11328 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11329 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11330 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11331
d18ea0c5
AS
113322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11333
11334 [BZ #14132]
56d25bb8
AS
11335 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11336 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11337 * intl/dgettext.c (DCGETTEXT): Likewise.
11338 * intl/gettext.c (DCGETTEXT): Likewise.
11339 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11340 * posix/regex_internal.h (gettext): Likewise.
11341 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11342 Remove declaration.
11343 * include/argz.h (__argz_count_internal)
11344 (__argz_stringify_internal): Remove declaration.
11345 (__argz_count, __argz_stringify): Declare hidden proto.
11346 * intl/dcgettext.c: Remove use of INTDEF.
11347 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11348 * string/argz-stringify.c: Likewise.
11349 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11350 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11351 Declare hidden proto.
d18ea0c5
AS
11352 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11353 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11354 Declare hidden proto.
11355 * include/stdio.h (__asprintf_internal): Don't declare.
11356 (__asprintf): Don't define as macro. Declare hidden proto.
11357 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11358 (__fsetlocking): Declare hidden proto.
11359 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11360 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11361 hidden proto.
11362 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11363 (_IO_setlinebuf): Remove use of INTUSE.
11364 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11365 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11366 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11367 Remove declaration.
11368 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11369 (_IO_do_flush): Remove use of INTUSE.
11370 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11371 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11372 (_IO_adjust_column, _IO_least_wmarker)
11373 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11374 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11375 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11376 (_IO_default_doallocate, _IO_wdefault_doallocate)
11377 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11378 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11379 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11380 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11381 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11382 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11383 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11384 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11385 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11386 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11387 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11388 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11389 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11390 proto.
11391 (_IO_flush_all_internal, _IO_adjust_column_internal)
11392 (_IO_default_uflow_internal, _IO_default_finish_internal)
11393 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11394 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11395 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11396 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11397 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11398 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11399 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11400 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11401 (_IO_file_close_internal, _IO_file_close_it_internal)
11402 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11403 (_IO_file_init_internal, _IO_file_attach_internal)
11404 (_IO_file_fopen_internal, _IO_file_read_internal)
11405 (_IO_file_sync_internal, _IO_file_seek_internal)
11406 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11407 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11408 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11409 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11410 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11411 (_IO_list_all_internal, _IO_link_in_internal)
11412 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11413 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11414 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11415 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11416 (_IO_do_write_internal, _IO_padn_internal)
11417 (_IO_getline_info_internal, _IO_getline_internal)
11418 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11419 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11420 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11421 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11422 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11423 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11424 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11425 with libc_hidden_ver, remove use of INTUSE.
11426 * libio/genops.c: Likewise.
11427 * libio/freopen.c: Likewise.
11428 * libio/freopen64.c: Likewise.
11429 * libio/iofclose.c: Likewise.
11430 * libio/iofdopen.c: Likewise.
11431 * libio/iofflush.c: Likewise.
11432 * libio/iofflush_u.c: Likewise.
11433 * libio/iofgets.c: Likewise.
11434 * libio/iofgets_u.c: Likewise.
11435 * libio/iofopen.c: Likewise.
11436 * libio/iofopncook.c: Likewise.
11437 * libio/iofread.c: Likewise.
11438 * libio/iofread_u.c: Likewise.
11439 * libio/ioftell.c: Likewise.
11440 * libio/iofwrite.c: Likewise.
11441 * libio/iogetline.c: Likewise.
11442 * libio/iogets.c: Likewise.
11443 * libio/iogetwline.c: Likewise.
11444 * libio/iopadn.c: Likewise.
11445 * libio/iopopen.c: Likewise.
11446 * libio/ioseekoff.c: Likewise.
11447 * libio/ioseekpos.c: Likewise.
11448 * libio/iosetbuffer.c: Likewise.
11449 * libio/iosetvbuf.c: Likewise.
11450 * libio/ioungetc.c: Likewise.
11451 * libio/ioungetwc.c: Likewise.
11452 * libio/iovdprintf.c: Likewise.
11453 * libio/iovsprintf.c: Likewise.
11454 * libio/iovsscanf.c: Likewise.
11455 * libio/memstream.c: Likewise.
11456 * libio/obprintf.c: Likewise.
11457 * libio/oldfileops.c: Likewise.
11458 * libio/oldiofclose.c: Likewise.
11459 * libio/oldiofdopen.c: Likewise.
11460 * libio/oldiofopen.c: Likewise.
11461 * libio/oldiopopen.c: Likewise.
11462 * libio/oldstdfiles.c: Likewise.
11463 * libio/putc.c: Likewise.
11464 * libio/setbuf.c: Likewise.
11465 * libio/setlinebuf.c: Likewise.
11466 * libio/stdfiles.c: Likewise.
11467 * libio/strops.c: Likewise.
11468 * libio/vasprintf.c: Likewise.
11469 * libio/vscanf.c: Likewise.
11470 * libio/vsnprintf.c: Likewise.
11471 * libio/vswprintf.c: Likewise.
11472 * libio/wfiledoalloc.c: Likewise.
11473 * libio/wfileops.c: Likewise.
11474 * libio/wgenops.c: Likewise.
11475 * libio/wmemstream.c: Likewise.
11476 * libio/wstrops.c: Likewise.
11477 * libio/__fpurge.c: Likewise.
11478 * libio/__fsetlocking.c: Likewise.
11479 * assert/assert.c: Likewise.
11480 * debug/fgets_chk.c: Likewise.
11481 * debug/fgets_u_chk.c: Likewise.
11482 * debug/fread_chk.c: Likewise.
11483 * debug/fread_u_chk.c: Likewise.
11484 * debug/gets_chk.c: Likewise.
11485 * debug/obprintf_chk.c: Likewise.
11486 * debug/vasprintf_chk.c: Likewise.
11487 * debug/vdprintf_chk.c: Likewise.
11488 * debug/vsnprintf_chk.c: Likewise.
11489 * debug/vsprintf_chk.c: Likewise.
11490 * malloc/mtrace.c: Likewise.
11491 * misc/error.c: Likewise.
11492 * misc/syslog.c: Likewise.
11493 * stdio-common/asprintf.c: Likewise.
11494 * stdio-common/fxprintf.c: Likewise.
11495 * stdio-common/getw.c: Likewise.
11496 * stdio-common/isoc99_fscanf.c: Likewise.
11497 * stdio-common/isoc99_scanf.c: Likewise.
11498 * stdio-common/isoc99_vfscanf.c: Likewise.
11499 * stdio-common/isoc99_vscanf.c: Likewise.
11500 * stdio-common/isoc99_vsscanf.c: Likewise.
11501 * stdio-common/printf-prs.c: Likewise.
11502 * stdio-common/printf_fp.c: Likewise.
11503 * stdio-common/printf_fphex.c: Likewise.
11504 * stdio-common/printf_size.c: Likewise.
11505 * stdio-common/putw.c: Likewise.
11506 * stdio-common/scanf.c: Likewise.
11507 * stdio-common/sprintf.c: Likewise.
11508 * stdio-common/tmpfile.c: Likewise.
11509 * stdio-common/vfprintf.c: Likewise.
11510 * stdio-common/vfscanf.c: Likewise.
11511 * stdlib/strfmon_l.c: Likewise.
11512 * sunrpc/openchild.c: Likewise.
11513 * sunrpc/xdr_stdio.c: Likewise.
11514 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11515 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11516
d6c33fda
RM
115172012-05-24 Roland McGrath <roland@hack.frob.com>
11518
c1487492
RM
11519 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11520
11521 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11522 in the third column, to generate for the shared library an IFUNC
11523 that uses _dl_vdso_vsym.
11524 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11525 * Makeconfig (object-suffixes-noshared): New variable.
11526
11527 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11528 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11529 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11530 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11531
d6c33fda
RM
11532 [BZ #14132]
11533 * include/sys/time.h (__gettimeofday): Remove macro.
11534 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11535 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11536 Remove INTDEF.
11537 (__gettimeofday): Add libc_hidden_def.
11538 (gettimeofday): Add libc_hidden_weak.
11539 * sysdeps/mach/gettimeofday.c: Likewise.
11540 * sysdeps/posix/gettimeofday.c: Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11542 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11544 (__gettimeofday_internal): Remove strong_alias.
11545 (__gettimeofday): Add libc_hidden_def.
11546 (gettimeofday): Add libc_hidden_weak.
11547 * sysdeps/unix/syscalls.list (gettimeofday):
11548 Remove __gettimeofday_internal alias.
11549
b5a2bbe6
L
115502012-05-24 Daniel Jacobowitz <drow@false.org>
11551 H.J. Lu <hongjiu.lu@intel.com>
11552
11553 [BZ #12495]
11554 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11555 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11556 (largebin_index_32_big): New.
11557 (largebin_index): Use it for 16-byte alignment.
11558 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11559 correction with front_misalign.
11560
cfba4fda
L
115612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11562
7f907421
L
11563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11565 Likewise.
11566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11567 Likewise.
11568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11569 Likewise.
11570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11571 Likewise.
11572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11575 Likewise.
11576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11577 Likewise.
11578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11579 Likewise.
11580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11581 Likewise.
11582 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11587 Likewise.
11588
cfba4fda
L
11589 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11590 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11591
80bad0cc
JM
115922012-05-24 Joseph Myers <joseph@codesourcery.com>
11593
7a25eb06
JM
11594 [BZ #10846]
11595 [BZ #14036]
11596 * math/libm-test.inc (exp_test): Add test from bug 14036.
11597 (pow_test): Add test from bug 10846.
11598
795405f9
JM
11599 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11600 and other flags.
11601 (special_function): Do not include flags in test name.
11602 (parse_args): Likewise.
11603 * sysdeps/i386/fpu/libm-test-ulps: Update.
11604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11605 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11606 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11607 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608
80bad0cc
JM
11609 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11610 exceptions.
11611 * math/libm-test.inc ("Philosophy"): Update comment about
11612 exception testing.
11613 (UNDERFLOW_EXCEPTION): New macro.
11614 (UNDERFLOW_EXCEPTION_OK): Likewise.
11615 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11616 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11617 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11618 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11619 (INVALID_EXCEPTION_OK): Update value.
11620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11621 (OVERFLOW_EXCEPTION_OK): Likewise.
11622 (IGNORE_ZERO_INF_SIGN): Likewise.
11623 (test_exceptions): Handle underflow exceptions.
11624 (acos_test): Update for underflow exception expectations.
11625 (cexp_test): Likewise.
11626 (clog_test): Likewise.
11627 (clog10_test): Likewise.
11628 (csqrt_test): Likewise.
11629 (ctan_test): Likewise.
11630 (ctanh_test): Likewise.
11631 (exp_test): Likewise.
11632 (exp10_test): Likewise.
11633 (exp2_test): Likewise.
11634 (expm1_test): Likewise.
11635 (fma_test): Likewise.
11636 (j0_test): Likewise.
11637 (jn_test): Likewise.
11638 (nexttoward_test): Likewise.
11639 (pow_test): Likewise.
11640 (scalbn_test): Likewise.
11641 (scalbln_test): Likewise.
11642 (tan_test): Likewise.
11643 (y1_test): Likewise.
11644 * sysdeps/i386/fpu/libm-test-ulps: Update.
11645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11646
9e0e3d0b
DM
116472012-05-23 David S. Miller <davem@davemloft.net>
11648
11649 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11650 (__libc_sigaction): Remove unused local variables.
11651
ccd0a08f
L
116522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11655
62bdf9a6
PE
116562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11657
f8591f80
PE
11658 mktime: avoid signed integer overflow
11659 * time/mktime.c (__mktime_internal): Do not mishandle the case
11660 where diff == INT_MIN.
11661
94c7d826
PE
11662 mktime: simplify computation of average
11663 * time/mktime.c (ranged_convert): Use new time_t_avg function
11664 instead of rolling our own (probably-slower) code.
11665
ce73d683
PE
11666 mktime: do not assume signed right shift propagates sign bit
11667 * time/mktime.c (isdst_differ): New static function.
11668 (__mktime_internal): No need to normalize tm_isdst now.
11669 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11670 tm_isdst values.
11671
72a22e59
PE
11672 mktime: merge another wrapv change from gnulib
11673 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11674 from some compilers.
11675
68605433
PE
11676 mktime: remove incorrect attempt at unusual arithmetics
11677 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11678 The code didn't really work on such machines anyway.
11679 (TYPE_MINIMUM): Assume two's complement.
11680 (twos_complement_arithmetic): Verify that long_int and time_t
11681 are two's complement (or unsigned, in the latter case).
11682
03cf7fe3
PE
11683 mktime: check signed shifts on long_int and time_t, too
11684 * time/mktime.c (SHR): Check that shifts work as desired
11685 on the types long_int and time_t too, as SHR is used on
11686 such types.
11687
f04dfbc2
PE
11688 mktime: do not assume 'long' is wide enough
11689 * time/mktime.c (verify): Move decl up.
11690 (long_int): New type.
11691 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11692 to remove assumption in the code that 'long' is wide enough to
11693 store year values. This assumption is not true on x32 and on
11694 some non-glibc platforms.
11695
62bdf9a6
PE
11696 mktime: merge wrapv change from gnulib
11697 * time/mktime.c (WRAPV): New macro.
11698 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11699 (guess_time_tm, __mktime_internal): Do not assume that signed
11700 integer overflow wraps around; modern compilers generate code
11701 where this assumption is no longer valid.
11702
5e292e4f
L
117032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11706 Replace "jmp L(pseudo_end)" with "ret".
11707 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11708 Likewise.
11709
8caf8c87
AJ
117102012-05-23 Andreas Jaeger <aj@suse.de>
11711
11712 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11713 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11714
1a09dc56
AJ
117152012-05-23 Andreas Jaeger <aj@suse.de>
11716 Maximilian Attems <max@stro.at>
11717
11718 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11719 New macros.
11720
1c87aba0
L
117212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11722
11723 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11724 code so that pseudo_end is just ret and the stack pointer is
11725 correct also for static library in error case.
11726
40e45bd5
JM
117272012-05-23 Joseph Myers <joseph@codesourcery.com>
11728
c2670533
JM
11729 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11730 move to syscalls.list.
11731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11735
40e45bd5
JM
11736 * manual/install.texi (Running make install): Do not mention Linux
11737 kernel version for which pt_chown is not needed.
11738 (Linux): Do not mention problems with nscd with 2.0 kernels.
11739 * INSTALL: Regenerated.
11740
be08eda5
AJ
117412012-05-23 Andreas Jaeger <aj@suse.de>
11742
11743 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11744 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11745 macro.
11746 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11748 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11750 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11751 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11753 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11755 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11756 * sysdeps/unix/sysv/linux/bits/in.h
11757 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11758
a6a056bb
RM
117592012-05-22 Roland McGrath <roland@hack.frob.com>
11760
11761 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11762 (PREPARE_VERSION): Just use assert instead, it will be elided
11763 under [NDEBUG] anyway.
11764
c9009328
L
117652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11766
11767 * sysdeps/unix/sysv/linux/Makefile: Include
11768 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11769 (sysdep_routines): Remove sysctl.
c9009328
L
11770 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11771 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11772 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11773 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11774 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11775
73338355
AJ
117762012-05-22 Andreas Jaeger <aj@suse.de>
11777
11778 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11779 that pseudo_end is just ret and the stack pointer is correct also
11780 for static library in error case.
11781
d44638b0
PP
117822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11783
11784 [BZ #14122]
11785 * nss/nsswitch.c (defconfig_entries): New variable.
11786 (__nss_database_lookup): Don't leak defconfig entries.
11787 (nss_parse_service_list): Don't leak on error paths.
11788 (free_database_entries): New function.
11789 (free_defconfig): New function.
11790 (free_mem): Move common code to free_database_entries.
11791
31a39bd8
L
117922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11793
da0331a8
L
11794 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11795 Add arch_prctl.
11796 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11797
31a39bd8
L
11798 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11799 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11800 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11801 New macro.
11802 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11803 (INTERNAL_SYSCALL_TYPES): Likewise.
11804 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11805 (LOAD_REGS_TYPES_[1-6]): Likewise.
11806 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11807 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11808
45470df3
AZ
118092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11810
11811 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11812 copysignl for GLIBC_2_0.
11813 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11814 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11816 logbl for GLIBC_2_0.
11817 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11818 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11819
98a61bcb
L
118202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11821
a4f6e481
L
11822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11823 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11824
f63d5db6
L
11825 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11826 Use "neg %eax".
11827
98a61bcb
L
11828 * time/mktime.c: Update copyright years.
11829
95770f14
PE
118302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11831
6226efbd
PE
11832 mktime: merge comment-quoting-style change from gnulib
11833 * time/mktime.c: Quote 'like this' in comments.
11834 The GNU coding standards suggest that we no longer quote `like this',
11835 as "`" and "'" are typically rendered asymmetrically nowadays.
11836 The typical gnulib style is to quote 'like this' when quoting
11837 code, and "like this" when quoting English.
11838
b99e4f78
PE
11839 * time/mktime.c (compile-command): Add "-I.".
11840
643e01e6
PE
11841 mktime: merge mktime-internal.h change from gnulib
11842 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11843
2554247d
PE
11844 mktime: merge time_r change from gnulib
11845 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11846
826dd0ab
PE
11847 mktime: merge DEBUG change from gnulib
11848 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11849 case system <time.h> has a #define.
11850
bd83aabe
PE
11851 mktime: merge <sys/types.h> change from gnulib
11852 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11853 since <time.t> is now guaranteed to define time_t.
11854
95770f14
PE
11855 mktime: merge HAVE_CONFIG_H change from gnulib
11856 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11857
5e1a27a9
L
118582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11859
0e44a77e
L
11860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11861 Use "neg %eax".
11862
5e1a27a9
L
11863 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11864 __rlim_t cast.
11865 (struct rusage): Use anonymous union to pad each field to
11866 __syscall_slong_t.
11867
46259bec
DM
118682012-05-21 David S. Miller <davem@davemloft.net>
11869
11870 * Makefules (o-iterator): Remove .s cases.
11871 (compile-command.s): Delete.
11872 (COMPILE.s): Delete.
11873 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11874
59f0c22e
JM
118752012-05-21 Joseph Myers <joseph@codesourcery.com>
11876
11877 * configure.in (libc_cv_predef_stack_protector): Only consider
11878 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11879 * configure: Regenerated.
11880
20c07380
L
118812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11882
bbb3154b
L
11883 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11884 New macro. Use R*LP on int and pointer.
11885 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11886 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11887 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11888 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11889
20c07380
L
11890 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11891 [__WORDSIZE_TIME64_COMPAT32] instead of
11892 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11893 (struct utmp): Likewise.
11894 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11895 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11896 Renamed to ...
11897 (__WORDSIZE_TIME64_COMPAT32): This.
11898 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11899 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11900 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11901 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11902 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11903 (__WORDSIZE_TIME64_COMPAT32): New macro.
11904
d8d1017e
AJ
119052012-05-21 Andreas Jaeger <aj@suse.de>
11906
11907 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11908 only if [SHARED]. Add prototype for __wcschr_ia32.
11909
6c7fb145
RM
119102012-05-21 Roland McGrath <roland@hack.frob.com>
11911
11912 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11913 of %rbp unmolested in the jmp_buf while mangling the low bits.
11914 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11915 unmolested high bits of %rbp while demangling the low bits.
11916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11917
66274218
AJ
119182012-05-21 Andreas Jaeger <aj@suse.de>
11919
07c58f8f
AJ
11920 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11921 * sunrpc/svc_simple.c: Use it for registerrpc.
11922 * sunrpc/xcrypt.c: Use it for passwd2des.
11923
66274218
AJ
11924 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11925
61f65140
L
119262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11927
11928 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11929 Don't define if [__SYSCALL_WORDSIZE != 32].
11930 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11931 New macro.
11932
5fefb436
AJ
119332012-05-21 Bruno Haible <bruno@clisp.org>
11934 Andreas Jaeger <aj@suse.de>
11935
11936 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11937 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11938 inptr and inend for must_buffer_ch.
11939 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11940 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11941 * stdio-common/Makefile (tests): Remove bug15.
11942 (bug15-ENV): Remove macro.
11943 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11944 anymore.
11945
d8e272ab
AJ
119462012-05-19 Andreas Jaeger <aj@suse.de>
11947 Roland McGrath <roland@hack.frob.com>
11948
11949 * manual/contrib.texi: Completely rewritten. It contains now an
11950 alphabetical list of contributors and their contributions.
11951
4a56a162
RH
119522012-05-21 Richard Henderson <rth@twiddle.net>
11953
11954 * misc/getauxval.c (__getauxval): Use unsigned long int.
11955 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11956 (getauxval): Use unsigned long int.
11957
d024d23c
L
119582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11961
cbc00a03
RM
119622012-05-21 Roland McGrath <roland@hack.frob.com>
11963
11964 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11965 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11966 __alignof__ (long double).
11967
478143fa
AZ
119682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11969
11970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11971
c7683a6d
RH
119722012-05-20 Richard Henderson <rth@twiddle.net>
11973
11974 * misc/getauxval.c: New file.
11975 * misc/sys/auxv.h: New file.
11976 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11977 (routines): Add getauxval.
11978 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11979 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11980 * elf/dl-sysdep.c (_dl_auxv): Remove.
11981 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11982 * elf/dl-support.c (_dl_auxv): New variable.
11983 (_dl_aux_init): Initialize it.
11984 * manual/startup.texi (Auxiliary Vector): New node.
11985 * sysdeps/generic/bits/hwcap.h: New file.
11986 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11987 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11988 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11989 * sysdeps/sparc/sysdep.h: ... here. Include it.
11990 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11993 Update.
c7683a6d
RH
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11996 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11997 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12002
a6f1845d
AZ
120032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12004
12005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12006
cbcbe830
DM
120072012-05-19 David S. Miller <davem@davemloft.net>
12008
12009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12010
e0b16cc2
JM
120112012-05-19 Joseph Myers <joseph@codesourcery.com>
12012
12013 [BZ #14123]
12014 * math/s_ccosh.c: Include <float.h>
12015 (__ccosh): Avoid internal overflow calculating sinh and cosh
12016 values before multiplying by sin and cos values.
12017 * math/s_ccoshf.c: Likewise.
12018 * math/s_ccoshl.c: Likewise.
12019 * math/s_csin.c: Likewise.
12020 * math/s_csinf.c: Likewise.
12021 * math/s_csinl.c: Likewise.
12022 * math/s_csinh.c: Likewise.
12023 * math/s_csinhf.c: Likewise.
12024 * math/s_csinhl.c: Likewise.
12025 * math/libm-test.inc (ccos_test): Add more tests.
12026 (ccosh_test): Likewise.
12027 (csin_test): Likewise.
12028 (csinh_test): Likewise.
12029 * sysdeps/i386/fpu/libm-test-ulps: Update.
12030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12031
6ad13e08
L
120322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12033
f66f0ce8
L
12034 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12035 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12036
6ad13e08
L
12037 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12038
b1d072a7
JM
120392012-05-19 Joseph Myers <joseph@codesourcery.com>
12040
12041 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12042 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12043 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12044 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12045 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12046 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12047 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12048 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12049 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12050 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12051 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12052 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12053 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12054 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12055 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12056 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12057 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12058 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12059 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12060 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12061 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12062 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12063 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12064 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12065 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12066 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12067 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12068 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12069 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12070 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12071 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12072
9eae47cb
AJ
120732012-05-18 Andreas Jaeger <aj@suse.de>
12074
12075 * csu/.gitignore: Delete.
12076
bb07f69f
L
120772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12078
12079 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12080 (timex): Use __syscall_slong_t.
12081
e6bdb741
AJ
120822012-05-18 Andreas Jaeger <aj@suse.de>
12083 Carlos O'Donell <carlos_odonell@mentor.com>
12084
12085 * manual/install.texi (Configuring and compiling): Update
12086 description about files modified in the source directory.
d6c33fda 12087 * INSTALL: Regenerated.
e6bdb741 12088
1b74487e
L
120892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12090
12091 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12092 value. Use "or" to set return value to -1.
12093 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12094 negate return value.
12095
a88b64b9
TMQMF
120962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12097
12098 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12099 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12100 failure if the compiler has Graphite support disabled.
12101 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12102 Likewise.
12103 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12104 CFLAGS-memmove.c): Likewise.
12105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12106 Likewise.
12107
3707636e
L
121082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12109
610b8622
L
12110 * sysdeps/x86_64/x32/_itoa.h: New file.
12111
7cd195df
L
12112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12113 getdents system call only if kernel and user dirents have the
12114 same d_ino and d_off.
12115
94b07d20
L
12116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12117 LLONG_MAX != LONG_MAX.
12118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12119 (_fitoa_word): Likewise.
12120
18298070
L
12121 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12122 years.
12123 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12124 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12125 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12126
553c7ea4
L
12127 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12128 include <bits/wordsize.h>. Check __x86_64__ instead of
12129 __WORDSIZE.
12130 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12131 if __x86_64__ is defined. Use anonymous union on fpstate.
12132
3707636e
L
12133 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12134 anonymous union.
12135
b53ef01a
AS
121362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12137
37fb1dc0
AS
12138 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12139 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12140 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12141 Refer to _rtld_local_ro instead of _rtld_global_ro.
12142 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12143 Likewise.
12144 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12145 Likewise.
12146 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12147 Likewise.
12148 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12149 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12150 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12151
b53ef01a
AS
12152 * sysdeps/powerpc/powerpc32/dl-machine.c
12153 (__elf_machine_runtime_setup) [PROF]: Don't reference
12154 _dl_prof_resolve.
12155
7a185db2
AJ
121562012-05-18 Andreas Jaeger <aj@suse.de>
12157
12158 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12159 function only available for GCCs before 3.4 since GCC 3.4
12160 introduced a builtin.
12161 (lrint): Likewise.
12162 (llrintf): Likewise.
12163 (llrint): Likewise.
12164 (fmaxf): Likewise.
12165 (fmax): Likewise.
12166 (fminf): Likewise.
12167 (fmin): Likewise.
12168 (rint): Likewise.
12169 (rintf): Likewise.
12170 (nearbyint): Likewise.
12171 (nearbyintf): Likewise.
12172 (ceil): Likewise.
12173 (ceilf): Likewise.
12174 (floor): Likewise.
12175 (floorf): Likewise.
12176
3e5aef87
L
121772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12178
428bd707
L
12179 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12180 on both fields and cast pointer to __syscall_ulong_t.
12181
3e5aef87
L
12182 * bits/types.h (__fsword_t): New type.
12183 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12184 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12185 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12186 (__FSWORD_T_TYPE): Likewise.
12187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12188 (__FSWORD_T_TYPE): Likewise.
12189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12190 (__FSWORD_T_TYPE): Likewise.
12191 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12192 (__FSWORD_T_TYPE): Likewise.
12193 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12194 __SWORD_TYPE with __fsword_t.
12195 (statfs64): Likewise.
12196
1ba7c3dc
DM
121972012-05-17 David S. Miller <davem@davemloft.net>
12198
12199 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12200
59910343
AJ
122012012-05-17 Andreas Jaeger <aj@suse.de>
12202
12203 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12204 warning.
12205
2e4c1e9e
L
122062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12207
12208 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12209
de7f5ce7
AJ
122102012-05-17 Andreas Jaeger <aj@suse.de>
12211
12212 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12213 when it is used.
12214
286abc3d
CM
122152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12216
12217 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12218
477cc68e
L
122192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12220
12221 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12222 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12223
1a0994f5
CD
122242012-05-17 Andreas Jaeger <aj@suse.de>
12225 Carlos O'Donell <carlos_odonell@mentor.com>
12226
12227 [BZ #14059]
12228 * sysdeps/x86_64/multiarch/init-arch.h
12229 (bit_YMM_Usable): Rename to...
12230 (bit_AVX_Usable): ... this.
12231 (bit_FMA4_Usable): New macro.
12232 (bit_XMM_state): New macro.
12233 (bit_YMM_state): New macro.
12234 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12235 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12236 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12237 (CPUID_OSXSAVE): New macro.
12238 (CPUID_AVX): New macro.
12239 (CPUID_FMA4): New macro.
12240 (index_YMM_Usable): Rename to...
12241 (index_AVX_Usable): ... this.
12242 (HAS_AVX): Use HAS_ARCH_FEATURE.
12243 (HAS_FMA4): Likewise.
12244 (HAS_YMM_USABLE): Remove.
12245 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12246 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12247 are present.
12248 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12249 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12250 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12251 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12252 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12253
0af797de
CM
122542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12255
12256 * math/libm-test.c: Support platforms without multiple rounding modes.
12257 * math/bug-nextafter.c: Support platforms without FP exceptions.
12258 * math/bug-nexttoward.c: Likewise.
12259 * math/test-fenv.c: Likewise.
12260 * math/test-misc.c: Likewise.
12261 * stdlib/bug-getcontext.c: Likewise.
12262
e39745ff
AJ
122632012-05-17 Andreas Jaeger <aj@suse.de>
12264
12265 * manual/examples/search.c (critter_cmp): Change signature to
12266 avoid warnings.
12267 * manual/string.texi (Collation Functions): Likewise.
12268
48970aba
L
122692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12270
12271 * bits/types.h: Fold copyright years.
12272 * bits/typesizes.h: Likewise.
12273 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12274 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12275 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12276 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12277 * time/time.h: Likewise.
12278
bedee953
PP
122792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12280
12281 [BZ #208]
12282 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12283 in instead of returning them. Return void.
12284 (__libc_mallinfo): Accumulate over all arenas.
12285 (__malloc_stats): Adjust for change in int_mallinfo interface.
12286
61653dfb
RM
122872012-05-16 Roland McGrath <roland@hack.frob.com>
12288
30b99d79
RM
12289 [BZ #10375]
12290 * configure.in (NM): Add AC_CHECK_TOOL for it.
12291 (libc_extra_cflags): New substituted variable.
12292 Check for -fstack-protector being used implicitly.
12293 * configure: Regenerated.
12294 * config.make.in (config-extra-cflags): New variable,
12295 gets @libc_extra_cflags@.
12296 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12297
61653dfb
RM
12298 [BZ #10375]
12299 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12300 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12301 * configure: Regenerated.
12302 * config.make.in (CPPUNDEFS): New substituted variable.
12303 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12304 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12305 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12306
661768bb
L
123072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12310 (mq_attr): Use __syscall_slong_t.
12311
d4261567
L
123122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12313
12314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12315 Check __x86_64__ instead of __WORDSIZE.
12316 (_STAT_VER_LINUX): Likewise.
12317 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12318 __syscall_ulong_t and __syscall_slong_t.
12319 (stat64): Likewise.
12320
cf3ff365
L
123212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12322
12323 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12324
76cf3e4d
L
123252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12326
12327 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12328
a637753a
L
123292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12330
12331 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12332 __syscall_ulong_t.
12333
d5e05119
L
12334 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12335 include <bits/wordsize.h>. Check __x86_64__ instead of
12336 __WORDSIZE.
12337 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12338 defined.
12339 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12340
f62ee380
L
12341 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12342 include <bits/wordsize.h>. Check __x86_64__ instead of
12343 __WORDSIZE.
12344 (user_regs_struct): Use "__extension__ unsigned long long"
12345 instead of "unsigned long" if __x86_64__ is defined.
12346 (user): Likewise. Pad after pointer field if __ILP32__ is
12347 defined.
12348
4e124ced
JM
123492012-05-16 Joseph Myers <joseph@codesourcery.com>
12350
6a3951a0
JM
12351 * configure.in (makeinfo): Require version 4.5 or later. Allow
12352 versions 5 to 9.
12353 * configure: Regenerated.
12354 * manual/install.texi (texinfo): Increase version requirement to
12355 4.5 or later.
12356 * INSTALL: Regenerated.
12357
4e124ced
JM
12358 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12359
953ca31a
L
123602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12361
12362 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12363
617aca05
L
12364 * sysdeps/x86_64/x32/ffs.c: New file.
12365
5762f7ae
L
12366 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12367 __syscall_ulong_t.
12368 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12369 defined. Use __syscall_ulong_t.
12370 (shminfo): Use __syscall_ulong_t.
12371 (shm_info): Likewise.
12372
a26b6856
L
12373 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12374 __syscall_ulong_t.
12375
cb2b9ef7
L
12376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12377 <bits/wordsize.h>.
12378 (msgqnum_t): Use __syscall_ulong_t.
12379 (msglen_t): Likewise.
12380 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12381 __syscall_ulong_t.
12382
34683bb0
L
12383 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12384 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12385
84a68786
L
12386 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12387
48baa5f1
L
12388 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12389 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12390
180be88b
L
12391 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12392 __syscall_slong_t.
12393
5e90c8ad
L
12394 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12395 include <bits/wordsize.h>. Check __x86_64__ instead of
12396 __WORDSIZE.
12397
23dfb58b
L
12398 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12399 "unsigned long long int" if __x86_64__ is defined.
12400 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12401
ce5d54b0
L
12402 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12403 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12404 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12405
13dc9eac
L
12406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12407 <stdint.h>.
12408 (GET_PC): Cast to uintptr_t first.
12409 (GET_FRAME): Likewise.
12410 (GET_STACK): Likewise.
12411
a7895d15
L
12412 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12413 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12415 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12417 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12419 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12421 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12423 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12427 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12430 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12431 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12432 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12433 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12435 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12436 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12439 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12441
656416c9
AS
124422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12443
5bd66283
AS
12444 * Makerules (+depfiles): Also collect depfiles from .oS in
12445 $(extra-objs).
12446 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12447 .oS, $(libnldbl-routines)).
12448
656416c9
AS
12449 * Makerules (native-compile-mkdep-flags): Define.
12450 * sunrpc/Makefile (extra-objs): Add $(addprefix
12451 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12452 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12453 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12454 calling $(make-target-directory).
12455
a46f2169
L
124562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12457
12458 * bits/types.h (__snseconds_t): Removed.
12459 * time/time.h (struct timespec): Replace __snseconds_t with
12460 __syscall_slong_t.
12461 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12462 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12463 Likewise.
12464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12465 (__SNSECONDS_T_TYPE): Likewise.
12466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12467 (__SNSECONDS_T_TYPE): Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12469 (__SNSECONDS_T_TYPE): Likewise.
12470
6af6528b
L
124712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12472
12473 * sysdeps/mach/hurd/bits/typesizes.h
12474 (__SYSCALL_SLONG_TYPE): New macro.
12475 (__SYSCALL_ULONG_TYPE): Likewise.
12476
de986b56
L
124772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * bits/types.h (__syscall_slong_t): New type.
12480 (__syscall_ulong_t): Likewise.
12481
12482 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12483 (__SYSCALL_ULONG_TYPE): Likewise.
12484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12485 (__SYSCALL_SLONG_TYPE): Likewise.
12486 (__SYSCALL_ULONG_TYPE): Likewise.
12487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12488 (__SYSCALL_SLONG_TYPE): Likewise.
12489 (__SYSCALL_ULONG_TYPE): Likewise.
12490 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12491 (__SYSCALL_SLONG_TYPE): Likewise.
12492 (__SYSCALL_ULONG_TYPE): Likewise.
12493
85736dc7
L
124942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12495
12496 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12497 Add sigaltstack-offsets.sym.
12498 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12499 <sigaltstack-offsets.h>.
12500 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12501 longjmp_msg pointer.
12502 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12503 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12504 signal stack.
12505 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12506
cc03b296
JM
125072012-05-15 Joseph Myers <joseph@codesourcery.com>
12508
a9538892
JM
12509 * elf/stackguard-macros.h: Remove file.
12510 * sysdeps/generic/stackguard-macros.h: New file.
12511 * sysdeps/i386/stackguard-macros.h: Likewise.
12512 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12513 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12514 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12515 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12516 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12517 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12518 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12519 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12520 <elf/stackguard-macros.h>.
12521
cc03b296
JM
12522 [BZ #14109]
12523 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12524 __aligned__ in attribute.
12525 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12526 (gregset_t): Likewise.
12527
93171016
L
125282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12529
12530 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12531 * sysdeps/x86_64/64/Implies-after: Here. New file.
12532 * sysdeps/x86_64/x32/Implies-after: New file.
12533
d86813a0
L
125342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12535
12536 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12537 and access return value for _dl_profile_fixup. Use R10_LP to
12538 load frame size.
12539
2953ec75
L
125402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12541
12542 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12543
3b550e9e
L
125442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12545
12546 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12547 * sysdeps/x86_64/x32/sysdep.h: New file.
12548
eda41706
L
125492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12550
12551 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12552 * sysdeps/x86_64/setjmp.S: Likewise.
12553
9ea01d93
AZ
125542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12555
12556 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12557 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12558 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12559 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12560 remove unused global constant.
12561
02a91938
CM
125622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12563
12564 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12565 include of <not-cancel.h>.
12566
6540185f
RM
125672012-05-15 Roland McGrath <roland@hack.frob.com>
12568
12569 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12570
509072a0
AJ
125712012-05-15 Jeff Law <law@redhat.com>
12572 Andreas Jaeger <aj@suse.de>
12573
12574 [BZ #13594]
12575 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12576 out from...
12577 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12578 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12579 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12580 code changing __hst_map_handle.map.
12581
ba75122d
RM
125822012-05-15 Roland McGrath <roland@hack.frob.com>
12583
12584 * configure.in (sysnames): Look for Implies-before and Implies-after
12585 files.
12586 * configure: Regenerated.
12587
890d8bd8
L
125882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12589
12590 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12591 8-byte data alignment with LP_SIZE alignment.
12592
f6ee6623
L
125932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12596 into R10_LP.
12597
ea2626f6
L
125982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12599
12600 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12601
085f715e
L
126022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12605 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12606 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12607 Likewise.
12608 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12609
be8498fc
L
126102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12611
12612 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12613 (stackinfo_sub_sp): Likewise.
12614
70bc83b9
L
126152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12616
12617 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12618 RAX_LP.
12619
9bc0b730
L
126202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12621
12622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12623 into R*_LP.
12624
6d2850e7
L
126252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12626
12627 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12628 sizes into R*_LP.
12629
3cb84561
L
126302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12631
12632 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12633
54e2ed81
L
126342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12635
12636 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12637 into R11_LP and load __x86_64_shared_cache_size_half into
12638 R8_LP.
12639
8a17f349
L
126402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12641
12642 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12643 R8_LP.
12644
777b1eea
AZ
126452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12646
12647 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12648 logb for POWER7.
12649 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12650 logbf for POWER7.
12651 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12652 logbl for POWER7.
12653 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12654 powerpc32/power7/fpu/s_logb.c via #include.
12655 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12656 powerpc32/power7/fpu/s_logbf.c via #include.
12657 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12658 powerpc32/power7/fpu/s_logbl.c via #include.
12659
d20d4ac2
JM
126602012-05-15 Joseph Myers <joseph@codesourcery.com>
12661
12662 * README.libm: Remove file.
12663
6cdef1ab
L
126642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12665
12666 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12667 count for x32. Use R*_LP and omit operand-size suffix.
12668
0b254d8f
L
126692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12672 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12673 * sysdeps/x86_64/x32/shlib-versions: New file.
12674
ceb809dc
RM
126752012-05-14 Roland McGrath <roland@hack.frob.com>
12676
12677 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12678 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12679 Use _dl_fatal_printf instead.
12680
37f1abd4
JM
126812012-05-14 Joseph Myers <joseph@codesourcery.com>
12682
12683 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12684 set if not set by the user. Do not allow for being unset.
12685 * sysdeps/unix/sysv/linux/configure: Regenerated.
12686
11de3a33
L
126872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12688
12689 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12690 the `q' suffix from lea and replace .quad with ASM_ADDR.
12691
e02f153a
L
126922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12693
12694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12695 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12696 instead of $17.
12697 (PTR_DEMANGLE): Likewise.
12698
520ae0fd
L
126992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12700
12701 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12702 (LP_OP): Likewise.
12703 (ASM_ADDR): Likewise.
12704 (RAX_LP): Likewise.
12705 (RBP_LP): Likewise.
12706 (RBX_LP): Likewise.
12707 (RCX_LP): Likewise.
12708 (RDI_LP): Likewise.
12709 (RSI_LP): Likewise.
12710 (RSP_LP): Likewise.
12711 (R8_LP): Likewise.
12712 (R9_LP): Likewise.
12713 (R10_LP): Likewise.
12714 (R10_LP): Likewise.
12715 (R11_LP): Likewise.
12716 (R12_LP): Likewise.
12717 (R13_LP): Likewise.
12718 (R14_LP): Likewise.
12719 (R15_LP): Likewise.
12720
b985be81
L
127212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12722
12723 * sysdeps/x86_64/x32/dl-machine.h: New file.
12724
6a4888ff
AJ
127252012-05-14 Andreas Jaeger <aj@suse.de>
12726
12727 * manual/Makefile (subdir): Remove export of subdir.
12728 (all): Remove target.
12729 (.PHONY): Remove all from list.
12730 (mkinstalldirs): Remove.
12731 (.PHONY): Remove installdirs from list.
12732 ($(inst_infodir)/libc.info): Use make-target-directory.
12733 (installdirs): Remove.
12734 (subdir_%): Remove.
12735 (glibc-targets): Remove.
12736 (lib): Remove.
12737 (stubs): Remove.
12738 ($(objpfx)stubs ../po/manual.pot): Remove.
12739 ($(objpfx)stamp%): Remove.
12740 (make-target-directory): Remove.
12741 (subdir_install): Remove.
12742 (routines): Remove.
12743 (aux): Remove.
12744 (sources): Remove.
12745 (objects): Remove.
12746 (headers): Remove.
12747
12748 [BZ #13750]
12749 * manual/.gitignore: Remove, it's not needed anymore.
12750 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12751 all files in it.
12752 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12753 directory.
12754 (texis): Renamed to $(objpfx)texis.
12755 (texis-path): New, contains path to generated files.
12756 (chapters.%): Use texis-path for complete path, add extra argument
12757 libc-texinfo.sh.
12758 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12759 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12760 (summary,texi, stamp-summary): Use complete path of
12761 files. Generate files in build dir.
12762 (dir-add.texi): Build in build dir.
12763 (libm-err.texi,stamp-libm-err): Likewise.
12764 (version.texi, stamp-version): Likewise.
12765 (.%c.texi): Likewise.
12766 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12767 (mostlyclean): Remove target.
12768 (realclean): Remove target.
12769 (generated): Add new variable with contents from mostlyclean and
12770 realclean, remove entries duplicated in common-mostlyclean, add
12771 stamp-libm-err and stamp-version.
12772 (generated-dirs): Add libc directory.
12773 ($(inst_infodir)/libc.info): Install files from build dir.
12774
12775 * manual/install.texi (Configuring and compiling): Adjust since
12776 the info files are not part of the tar ball anymore.
12777
7ac77294
AJ
127782012-05-14 Andreas Jaeger <aj@suse.de>
12779
12780 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12781 variable.
12782
ffb7875d
JM
127832012-05-14 Joseph Myers <joseph@codesourcery.com>
12784
12785 [BZ #13717]
12786 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12787 to 2.2.0 where earlier.
12788 * sysdeps/unix/sysv/linux/configure: Regenerated.
12789 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12790 Remove conditional code.
12791 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12792 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12793 Remove conditional code.
12794 [!__NR_lchown]: Likewise.
12795 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12796 [__NR_lchown]: Likewise.
12797 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12798 comment referencing __ASSUME_LCHOWN_SYSCALL.
12799 * sysdeps/unix/sysv/linux/i386/sigaction.c
12800 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12801 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12802 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12803 Remove conditional code.
12804 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12805 (__protocol_available): Remove #if 0 code.
12806 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12807 conditional code.
12808 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12809 * sysdeps/unix/sysv/linux/kernel-features.h
12810 (__ASSUME_GETCWD_SYSCALL): Don't define.
12811 (__ASSUME_REALTIME_SIGNALS): Likewise.
12812 (__ASSUME_PREAD_SYSCALL): Likewise.
12813 (__ASSUME_PWRITE_SYSCALL): Likewise.
12814 (__ASSUME_POLL_SYSCALL): Likewise.
12815 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12816 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12817 non-SPARC.
12818 (__ASSUME_SIOCGIFNAME): Don't define.
12819 (__ASSUME_MSG_NOSIGNAL): Likewise.
12820 (__ASSUME_SENDFILE): Define unconditionally.
12821 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12822 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12823 conditional code.
12824 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12825 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12826 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12827 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12828 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12829 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12830 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12832 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12835 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12836 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12841 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12842 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12844 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12845 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12847 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12848 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12850 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12851 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12853 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12854 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12855 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12856 Remove conditional code.
12857 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12858 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12859 Remove conditional code.
12860 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12861 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12862 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12863 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12864 Remove conditional code.
12865 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12866 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12867 Remove conditional code.
12868 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12869 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12870 Remove conditional code.
12871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12872 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12873 Remove conditional code.
12874 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12875 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12876 Remove conditional code.
12877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12878 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12879 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12880 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12881 * sysdeps/unix/sysv/linux/sigaction.c
12882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12884 * sysdeps/unix/sysv/linux/sigpending.c
12885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12887 * sysdeps/unix/sysv/linux/sigprocmask.c
12888 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12889 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12890 * sysdeps/unix/sysv/linux/sigsuspend.c
12891 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12892 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12893 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12894 (__libc_missing_rt_sigs): Remove.
12895 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12896 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12897 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12898 Remove conditional code.
12899 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12900 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12901 return 1.
12902 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12903 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12904 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12905 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12906
1bfb7291
AJ
129072012-05-14 Andreas Jaeger <aj@suse.de>
12908
caae5a81
AJ
12909 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12910 it's not used in glibc.
12911 (__coshm1): Likewise.
12912 (__acosh1p): Likewise.
12913 (__sgn): Likewise.
12914
1bfb7291
AJ
12915 * manual/string.texi (Copying and Concatenation): Add missing
12916 variable in concat example.
12917 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12918
c044d724
L
129192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12920
144c5467 12921 [BZ #14103]
c044d724
L
12922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12923 __builtin_clzl with __builtin_clzll.
12924
2523c62b
L
129252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 [BZ #14104]
12928 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12929 libc_freeres_ptr.
12930
d7bb4c42
LD
129312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12932
12933 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12934 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12935 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12936 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12937
9dc4e1fb
MF
129382012-05-14 Mike Frysinger <vapier@gentoo.org>
12939
12940 * NEWS: Update ia64 info.
12941
c7df0112
AS
129422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12943
12944 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12945 used as bcopy.
12946
dc70356c
TS
129472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12948
12949 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12950 * sysdeps/unix/syscalls.list (dup3): Likewise.
12951 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12952 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12953
9fb1a21f
L
129542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12957 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12958
4822a2a5
L
129592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12960
12961 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12962 thread pointer.
12963 (TLS_IE): Use mov/add instead of movq/addq to load thread
12964 pointer.
12965 (TLS_GD_PREFIX): New.
12966 (TLS_GD): Use it.
12967
842b81d6
DM
129682012-05-11 David S. Miller <davem@davemloft.net>
12969
12970 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12971 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12972 (_FPU_SETCW): Likewise.
12973
1cf463cd
L
129742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12975
12976 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12977 is 32-byte aligned.
12978
60cc4a18
AS
129792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12980
12981 [BZ #11837]
12982 * iconvdata/gb18030.c: Update tables.
12983 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12984 characters specially.
12985 (BODY for TO_LOOP): Add encoding of missing ranges.
12986
febb44a4
TS
129872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12988
12989 [BZ #13673]
12990 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12991 * sysdeps/mach/hurd/dup3.c: Likewise.
12992 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12993 * sysdeps/powerpc/memmove.c:: Likewise.
12994
0a10fb9e
L
129952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12996
12997 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12998 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12999
df8a552f
L
130002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 * elf/elf.h (R_X86_64_RELATIVE64): New.
13003 (R_X86_64_NUM): Updated.
13004 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13005 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13006 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13007 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13008 tst-quad1pie tst-quad2pie
13009 (modules-names): Add tst-quadmod1 tst-quadmod2.
13010 ($(objpfx)tst-quad1): New dependency.
13011 ($(objpfx)tst-quad2): Likewise.
13012 ($(objpfx)tst-quad1pie): Likewise.
13013 ($(objpfx)tst-quad2pie): Likewise.
13014 * sysdeps/x86_64/tst-quad1.c: New file.
13015 * sysdeps/x86_64/tst-quad1pie.c: New file.
13016 * sysdeps/x86_64/tst-quad2.c: Likewise.
13017 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13018 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13019 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13020 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13021 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13022
f34d6f84
ST
130232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13024
f42d41d1
ST
13025 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13026 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13027 * streams/stropts.h (t_scalar_t): Define type.
13028
3c3571fc
ST
13029 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13030 (_PATH_PRESERVE): Set to "/var/lib".
13031 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13032
61f06bd3
ST
13033 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13034 instead of int.
13035
918d4d71
ST
13036 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13037 if __dir_mkfile succeeded.
13038
f34d6f84
ST
13039 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13040 checking for _hurd_dtablesize. Unlock it right after having
13041 finished _hurd_dtable allocation.
13042
10589b4a
TS
130432012-05-10 Thomas Schwinge <thomas@schwinge.name>
13044
674cdbc7
TS
13045 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13046 * sysdeps/mach/hurd/configure: Regenerated.
13047 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13048 special-casing to...
13049 * sysdeps/gnu/configure.in: ... this new file.
13050 * sysdeps/unix/sysv/linux/configure: Regenerated.
13051 * sysdeps/gnu/configure: New generated file.
13052
8e41b99f
TS
13053 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13054 for Linux: use nsec instead of usec, as well as:
13055 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13056 members of type struct timespec.
13057 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13058 New macros.
13059 (struct stat64): Likewise.
13060 (_STATBUF_ST_NSEC): New macro.
13061 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13062
10589b4a
TS
13063 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13064 __strtoul_internal rather than strtoul.
13065
63643c85
PT
130662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13067
13068 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13069 and reject them.
13070
3faebe6a
ST
130712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13072
13073 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13074 which preserves existing values.
13075 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13076
c6474b07
PT
130772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13078
13079 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13080 TIMEOUT values. Return EINVAL for NFDS values either negative or
13081 greater than FD_SETSIZE.
13082
1043890b
ST
130832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13084
13085 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13086 allocated, call __vm_protect to finish enabling the existing space, and
13087 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13088 allocate the remainder.
13089
37ed8b9b
PT
130902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13091
13092 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13093 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13094
db653660
ST
130952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13096
37ed8b9b
PT
13097 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13098 sysdeps/mach/hurd/readlink.c.
b29d4053 13099
db653660
ST
13100 * posix/tst-sysconf.c (posix_options): Only use
13101 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13102 _POSIX_SYNCHRONIZED_IO when they are defined
13103 * sysdeps/mach/hurd/bits/posix_opt.h:
13104 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13105 (_XOPEN_REALTIME): Undefine macro.
13106 (_XOPEN_REALTIME_THREADS): Undefine macro.
13107 (_XOPEN_SHM): Undefine macro.
13108 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13109 macro to -1.
13110 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13111 macro to -1.
13112 (_POSIX_ASYNC_IO): Undefine macro.
13113 (_POSIX_PRIORITIZED_IO): Undefine macro.
13114 (_POSIX_SPIN_LOCKS): Define macro to -1.
13115
ee16e894
ST
13116 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13117 SA_NODEFER, SA_RESETHAND.
13118 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13119 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13120 F_DUPFD_CLOEXEC.
13121
6103ae3b
TS
131222012-05-10 Thomas Schwinge <thomas@schwinge.name>
13123
13124 * elf/Makefile (pldd-modules): Define unconditionally.
13125
80b4e5f3
TS
131262012-05-10 Thomas Schwinge <thomas@schwinge.name>
13127
13128 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13129
edadcbd6
ST
131302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13131
13132 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13133 Return ENOENT when name is empty.
13134 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13135
80694780
TS
131362012-05-10 Thomas Schwinge <thomas@schwinge.name>
13137
1792c087
TS
13138 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13139
80694780
TS
13140 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13141
6b645f0d
ST
131422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13143
80694780
TS
13144 Fix mlock in all cases except non-readable pages.
13145 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13146 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13147
6b645f0d
ST
13148 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13149 (__mkdir): When path is `/', just fail with EEXIST.
13150 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13151
e468f8a3
TS
131522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13153
13154 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13155 <sys/uio.h> (for writev).
13156 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13157 and <sys/param.h> (for MIN).
13158
a4186cff
PT
131592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13160
13161 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13162 REQUESTED_TIME. Properly set the remaining time and return EINTR
13163 if interrupted.
13164
510bbf14
TS
131652012-05-10 Thomas Schwinge <thomas@schwinge.name>
13166
13167 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13168 Depend on against $(link-rpcuserlibs).
13169
5d5722e8
ST
131702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13171
a4186cff
PT
13172 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13173 (__libc_stack_end): Do not use attribute_relro.
13174 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13175 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13176 to libthread-provided value.
a4186cff
PT
13177 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13178 attribute_relro.
5d5722e8 13179
37233df9
TS
131802012-05-10 Thomas Schwinge <thomas@schwinge.name>
13181
be971a2b
TS
13182 [BZ #3748]
13183 * bits/libc-lock.h (__libc_once_get): New macro.
13184 * sysdeps/mach/bits/libc-lock.h: Likewise.
13185 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13186 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13187 instead of using implementation details.
13188
37233df9
TS
13189 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13190 * libio/freopen.c: Likewise.
13191 * libio/freopen64.c: Likewise.
13192 * misc/syslog.c: Likewise.
13193 * nscd/connections.c: Likewise.
13194 * nscd/netgroupcache.c: Likewise.
13195 * sysdeps/posix/getcwd.c: Likewise.
13196
38de94a5
RM
131972012-05-10 Roland McGrath <roland@hack.frob.com>
13198
13199 * math/w_ilogbf.c: Add #include <limits.h>.
13200
67530489
ST
132012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13202
a4186cff 13203 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13204 path instead of returning without unlocking.
13205
67530489
ST
13206 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13207 immediate-write ioctls.
13208 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13209
5aa3a74a
TS
132102012-05-10 Thomas Schwinge <thomas@schwinge.name>
13211
18bad2ae
TS
13212 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13213 __builtin_frame_address instead of making assumptions about the
13214 location of the return address relative to DATA. Force early load of
13215 the return address.
13216 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13217 __builtin_frame_address.
13218
5aa3a74a
TS
13219 dup3 for GNU Hurd.
13220 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13221 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13222 implement dup3 and do some further code clean-ups.
13223 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13224 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13225
ecd0de9a
ST
132262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13227
cd9fa985
ST
13228 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13229
a4186cff
PT
13230 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13231 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13232 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13233 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13234 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13235 d->port.lock.
802ca5a5 13236
a4186cff
PT
13237 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13238 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13239 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13240
bcf55240
TS
132412012-05-10 Thomas Schwinge <thomas@schwinge.name>
13242
6960eb42
TS
13243 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13244 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13245 definitions.
13246
eb43375f
TS
13247 accept4 for GNU Hurd.
13248 * include/sys/socket.h (__libc_accept4): New prototype.
13249 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13250 to implement __libc_accept4.
13251 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13252 __libc_accept4.
13253 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13254
bcf55240
TS
13255 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13256 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13257 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13258 signal-defines.sym.
13259
6178c55b
ST
132602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13261
a4186cff 13262 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13263
6f080c2f
TS
132642012-05-10 Thomas Schwinge <thomas@schwinge.name>
13265
13266 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13267 assertion on O_CLOEXEC flag.
13268 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13269 * hurd/intern-fd.c: Likewise.
13270 * hurd/port2fd.c: Likewise.
13271
bcfe3a54
ST
132722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13273
13274 [BZ #3906]
13275 * bits/in.h (IPV6_PKTINFO): Define new macro.
13276 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13277
89c9aa49
AZ
132782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13279
13280 [BZ #13954]
13281 [BZ #13955]
13282 [BZ #13956]
13283 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13284 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13285 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13286 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13287 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13288 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13289 * math/libm-test.inc (logb_test) : Additional logb tests.
13290
021db4be
AJ
132912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13292 Andreas Jaeger <aj@suse.de>
13293
13294 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13295 * configure: Regenerated.
13296 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13297 * config.make.in (link-obsolete-rpc): New substituted variable.
13298 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13299 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13300 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13301 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13302 so that libc.a contains the symbols.
13303 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13304 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13305 * sunrpc/auth_none.c: Likewise.
13306 * sunrpc/auth_unix.c: Likewise.
13307 * sunrpc/authdes_prot.c: Likewise.
13308 * sunrpc/authuxprot.c: Likewise.
13309 * sunrpc/clnt_gen.c: Likewise.
13310 * sunrpc/clnt_perr.c: Likewise.
13311 * sunrpc/clnt_raw.c: Likewise.
13312 * sunrpc/clnt_simp.c: Likewise.
13313 * sunrpc/clnt_tcp.c: Likewise.
13314 * sunrpc/clnt_udp.c: Likewise.
13315 * sunrpc/clnt_unix.c: Likewise.
13316 * sunrpc/des_crypt.c: Likewise.
13317 * sunrpc/des_soft.c: Likewise.
13318 * sunrpc/get_myaddr.c: Likewise.
13319 * sunrpc/key_call.c: Likewise.
13320 * sunrpc/key_prot.c: Likewise.
13321 * sunrpc/netname.c: Likewise.
13322 * sunrpc/pm_getmaps.c: Likewise.
13323 * sunrpc/pm_getport.c: Likewise.
13324 * sunrpc/pmap_clnt.c: Likewise.
13325 * sunrpc/pmap_prot.c: Likewise.
13326 * sunrpc/pmap_prot2.c: Likewise.
13327 * sunrpc/pmap_rmt.c: Likewise.
13328 * sunrpc/publickey.c: Likewise.
13329 * sunrpc/rpc_cmsg.c: Likewise.
13330 * sunrpc/rpc_common.c: Likewise.
13331 * sunrpc/rpc_dtable.c: Likewise.
13332 * sunrpc/rpc_prot.c: Likewise.
13333 * sunrpc/rpc_thread.c: Likewise.
13334 * sunrpc/rtime.c: Likewise.
13335 * sunrpc/svc.c: Likewise.
13336 * sunrpc/svc_auth.c: Likewise.
13337 * sunrpc/svc_raw.c: Likewise.
13338 * sunrpc/svc_run.c: Likewise.
13339 * sunrpc/svc_tcp.c: Likewise.
13340 * sunrpc/svc_udp.c: Likewise.
13341 * sunrpc/svc_unix.c: Likewise.
13342 * sunrpc/svcauth_des.c: Likewise.
13343 * sunrpc/xcrypt.c: Likewise.
13344 * sunrpc/xdr.c: Likewise.
13345 * sunrpc/xdr_array.c: Likewise.
13346 * sunrpc/xdr_float.c: Likewise.
13347 * sunrpc/xdr_intXX_t.c: Likewise.
13348 * sunrpc/xdr_mem.c: Likewise.
13349 * sunrpc/xdr_rec.c: Likewise.
13350 * sunrpc/xdr_ref.c: Likewise.
13351 * sunrpc/xdr_sizeof.c: Likewise.
13352 * sunrpc/xdr_stdio.c: Likewise.
13353
b5c086a2
RM
133542012-05-10 Roland McGrath <roland@hack.frob.com>
13355
13356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13357 change. Update copyright years.
13358
6d74dd09
JM
133592012-05-10 Joseph Myers <joseph@codesourcery.com>
13360
13361 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13362
28e72501
MK
133632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13364 Joseph Myers <joseph@codesourcery.com>
13365 Paul Pluzhnikov <ppluzhnikov@google.com>
13366
13367 [BZ #14012]
13368 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13369 requiring rpcgen.
13370 [cross-compiling] (extra-libs): Likewise.
13371 [cross-compiling] (extra-libs-others): Likewise.
13372 [cross-compiling] (librpcsvc-routines): Likewise.
13373 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13374 [cross-compiling] (omit-deps): Likewise.
13375 (sunrpc-CPPFLAGS): New variable.
13376 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13377 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13378 (cross-rpcgen-objs): New variable.
13379 (extra-objs): Append $(cross-rpcgen-objs).
13380 ($(cross-rpcgen-objs)): New rule.
13381 ($(objpfx)cross-rpcgen): Likewise.
13382 (rpcgen-cmd): Define to use $(built-program-file). Expand
13383 comment.
13384 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13385 ($(objpfx)x%.stmp): Likewise.
13386 * sunrpc/proto.h [IS_IN_build] (_): Define.
13387 [IS_IN_build] (_libc_intl_domainname): Likewise.
13388
c8c59454
L
133892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13390
13391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13392 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13393 and R_X86_64_TPOFF64.
13394
6f27cd16
JM
133952012-05-10 Joseph Myers <joseph@codesourcery.com>
13396
13397 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13398 sysdeps/unix/sysv/syscalls.list.
13399 (stime): Likewise.
13400 (utime): Likewise.
13401 * sysdeps/unix/sysv/syscalls.list: Remove file.
13402
02467e1c
PE
134032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13404
13405 [BZ #3440]
13406 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13407 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13408 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13409 (__LC_IDENTIFICATION): Make these macros useful in #if
13410 expressions, as required by C99.
13411
da392631
AS
134122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13413
13414 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13415 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13416 after this.
13417
8115f29b
L
134182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * stdlib/longlong.h: Updated from GCC.
13421
bdd74070
AJ
134222012-05-09 Andreas Jaeger <aj@suse.de>
13423
edfe0dbe
AJ
13424 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13425 default is first entry.
13426 (run_mode): Set type.
13427 (main): Remove informal message about syslog.
13428 (options): Fix typo.
13429
bcfe3a54
ST
13430 [BZ #14053]
13431 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13432 to asm.
bcfe3a54
ST
13433 (lrint): Likewise.
13434 (llrintf): Likewise.
13435 (llrint): Likewise.
13436 (rint): Likewise.
13437 (rintf): Likewise.
13438 (nearbyint): Likewise.
13439 (nearbyintf): Likewise.
bdd74070 13440
91d8d69e
AJ
134412012-05-09 Andreas Jaeger <aj@suse.de>
13442 Pedro Alves <palves@redhat.com>
13443
13444 * nscd/nscd.c (run_mode): Use enum.
13445 (main): Cleanup coding style issue.
13446
bb90b80b
AJ
134472012-05-09 Alexandre Oliva <aoliva@redhat.com>
13448 Andreas Jaeger <aj@suse.de>
13449
bcfe3a54
ST
13450 * nscd/nscd.c (go_background): Replaced with...
13451 (run_mode): ... this.
bb90b80b 13452 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13453 (options): Add -F --foreground.
13454 (main): Implement it.
13455 (parse_opt): Parse it.
bb90b80b 13456
1a4b75a1
AJ
134572012-05-09 Andreas Jaeger <aj@suse.de>
13458
13459 [BZ #14083]
13460 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13461 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13462 -Wconversion warning.
13463 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13464 Likewise.
13465
b1cc2472
JM
134662012-05-09 Joseph Myers <joseph@codesourcery.com>
13467
13468 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13469 == 0.
13470 (LC_ALL): Use macro-int-constant.
13471 (LC_COLLATE): Likewise.
13472 (LC_CTYPE): Likewise.
13473 (LC_MESSAGES): Likewise.
13474 (LC_MONETARY): Likewise.
13475 (LC_NUMERIC): Likewise.
13476 (LC_TIME): Likewise.
13477 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13478 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13479 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13480 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13481 Specify type.
13482 [C99-based standards] (float_t): Expect type.
13483 [C99-based standards] (double_t): Expect type.
13484 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13485 type.
13486 [C99-based standards] (HUGE_VALL): Likewise.
13487 [C99-based standards] (INFINITY): Likewise.
13488 [C99-based standards] (NAN): Likewise.
13489 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13490 [C99-based standards] (FP_NAN): Likewise.
13491 [C99-based standards] (FP_NORMAL): Likewise.
13492 [C99-based standards] (FP_SUBNORMAL): Likewise.
13493 [C99-based standards] (FP_ZERO): Likewise.
13494 [C99-based standards] (FP_FAST_FMA): Use
13495 optional-macro-int-constant. Specify type. Require == 1.
13496 [C99-based standards] (FP_FAST_FMAF): Likewise.
13497 [C99-based standards] (FP_FAST_FMAL): Likewise.
13498 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13499 [C99-based standards] (FP_ILOGBNAN): Likewise.
13500 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13501 Specify type.
13502 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13503 [C99-based standards] (math_errhandling): Specify type.
13504 [ISO99 || ISO11] (signgam): Do not allow.
13505 [non-C99-based standards] (copysignf): Do not allow.
13506 [non-C99-based standards] (exp2f): Likewise.
13507 [non-C99-based standards] (log2f): Likewise.
13508 [non-C99-based standards] (modff): Allow.
13509 [non-C99-based standards] (erff): Do not allow.
13510 [non-C99-based standards] (erfcf): Likewise.
13511 [non-C99-based standards] (gammaf): Likewise.
13512 [non-C99-based standards] (hypotf): Likewise.
13513 [non-C99-based standards] (j0f): Likewise.
13514 [non-C99-based standards] (j1f): Likewise.
13515 [non-C99-based standards] (jnf): Likewise.
13516 [non-C99-based standards] (lgammaf): Likewise.
13517 [non-C99-based standards] (tgammaf): Likewise.
13518 [non-C99-based standards] (y0f): Likewise.
13519 [non-C99-based standards] (y1f): Likewise.
13520 [non-C99-based standards] (ynf): Likewise.
13521 [non-C99-based standards] (isnanf): Likewise.
13522 [non-C99-based standards] (acoshf): Likewise.
13523 [non-C99-based standards] (asinhf): Likewise.
13524 [non-C99-based standards] (atanhf): Likewise.
13525 [non-C99-based standards] (cbrtf): Likewise.
13526 [non-C99-based standards] (expm1f): Likewise.
13527 [non-C99-based standards] (ilogbf): Likewise.
13528 [non-C99-based standards] (log1pf): Likewise.
13529 [non-C99-based standards] (logbf): Likewise.
13530 [non-C99-based standards] (nextafterf): Likewise.
13531 [non-C99-based standards] (remainderf): Likewise.
13532 [non-C99-based standards] (rintf): Likewise.
13533 [non-C99-based standards] (scalbf): Likewise.
13534 [non-C99-based standards] (copysignl): Likewise.
13535 [non-C99-based standards] (exp2l): Likewise.
13536 [non-C99-based standards] (log2l): Likewise.
13537 [non-C99-based standards] (modfl): Allow.
13538 [non-C99-based standards] (erfl): Do not allow.
13539 [non-C99-based standards] (erfcl): Likewise.
13540 [non-C99-based standards] (gammal): Likewise.
13541 [non-C99-based standards] (hypotl): Likewise.
13542 [non-C99-based standards] (j0l): Likewise.
13543 [non-C99-based standards] (j1l): Likewise.
13544 [non-C99-based standards] (jnl): Likewise.
13545 [non-C99-based standards] (lgammal): Likewise.
13546 [non-C99-based standards] (tgammal): Likewise.
13547 [non-C99-based standards] (y0l): Likewise.
13548 [non-C99-based standards] (y1l): Likewise.
13549 [non-C99-based standards] (ynl): Likewise.
13550 [non-C99-based standards] (isnanl): Likewise.
13551 [non-C99-based standards] (acoshl): Likewise.
13552 [non-C99-based standards] (asinhl): Likewise.
13553 [non-C99-based standards] (atanhl): Likewise.
13554 [non-C99-based standards] (cbrtl): Likewise.
13555 [non-C99-based standards] (expm1l): Likewise.
13556 [non-C99-based standards] (ilogbl): Likewise.
13557 [non-C99-based standards] (log1pl): Likewise.
13558 [non-C99-based standards] (logbl): Likewise.
13559 [non-C99-based standards] (nextafterl): Likewise.
13560 [non-C99-based standards] (remainderl): Likewise.
13561 [non-C99-based standards] (rintl): Likewise.
13562 [non-C99-based standards] (scalbl): Likewise.
13563 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13564 [non-C99-based standards] (FP_*): Do not allow.
13565 [C99-based standards] (FP_*): Change to
13566 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13567 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13568 allow.
13569 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13570 (SIG_ERR): Likewise.
13571 [X/Open-based standards] (SIG_HOLD): Likewise.
13572 (SIG_IGN): Likewise.
13573 (SIGABRT): Use macro-int-constant. Specify type. Require
13574 positive value.
13575 (SIGFPE): Likewise.
13576 (SIGILL): Likewise.
13577 (SIGINT): Likewise.
13578 (SIGSEGV): Likewise.
13579 (SIGTER): Likewise.
13580 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13581 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13582 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13583 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13584 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13585 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13586 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13587 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13588 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13589 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13590 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13591 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13592 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13593 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13594 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13595 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13596 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13597 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13598 [X/Open-based standards] (SIGTRAP): Likewise.
13599 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13600 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13601 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13602 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13603 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13604 allow.
13605
b9f1922d
IW
136062012-05-08 Ian Wienand <ianw@vmware.com>
13607
13608 [BZ #14080]
13609 * time/tzset.c (__tzset_parse_tz): Update default rules for
13610 daylight time changes in the Energy Policy Act of 2005.
13611
1db86e88
AJ
136122012-05-09 Andreas Jaeger <aj@suse.de>
13613
13614 [BZ #13983]
13615 * elf/ldconfig.c (parse_conf): Change string to make clear that
13616 ldconfig only issued a warning if ld.so.conf does not exist.
13617
dee4a4e3
DM
136182012-05-08 David S. Miller <davem@davemloft.net>
13619
ee0db190
DM
13620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13621 movxtod instead of popping the value on the stack.
13622
dee4a4e3
DM
13623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13624
6a43ec98
CD
136252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13626
13627 * config.h.in: Add HAVE_ARM_PCS_VFP.
13628
05c2c961
RMG
136292012-05-08 Roland Mc Grath <roland@hack.frob.com>
13630
bcfe3a54
ST
13631 [BZ #13979]
13632 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13633 checking but the checks are disabled for any reason.
05c2c961 13634
4b30f61a
L
136352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13636
13637 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13638 and ELF64_R_TYPE with ELFW(R_TYPE).
13639
eee2bc67
JM
136402012-05-08 Joseph Myers <joseph@codesourcery.com>
13641
7ea5391a
JM
13642 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13643 (ulimit): Likewise.
13644
eee2bc67
JM
13645 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13646 (settimeofday): Likewise.
13647
abb66a67
MF
136482012-05-08 Mike Frysinger <vapier@gentoo.org>
13649
13650 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13651 a struct th_u2 inside the union, and move tu_block/tu_code into
13652 a new th_u3 union of tu_block/tu_code inside of that. Move
13653 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13654 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13655 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13656 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13657 (th_stuff): Change to th_u1.tu_stuff.
13658 (th_data): Define.
13659 (th_msg): Change to th_u1.th_u2.tu_data.
13660
7f18b530
DM
136612012-05-07 David S. Miller <davem@davemloft.net>
13662
05760585
DM
13663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13664
7f18b530
DM
13665 [BZ #14074]
13666 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13667 (SETUP_PIC_REG): Use it.
13668 (SETUP_PIC_REG_LEAF): Use it.
13669
495fd99f
JM
136702012-05-07 Joseph Myers <joseph@codesourcery.com>
13671
13672 [BZ #13885]
13673 [BZ #13923]
13674 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13675 USE_AS_EXPM1L.
13676 (EXPL_FINITE): Likewise.
13677 (FLDLOG): Likewise.
13678 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13679 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13680 e_expl.S.
13681 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13682 USE_AS_EXPM1L.
13683 (EXPL_FINITE): Likewise.
13684 (FLDLOG): Likewise.
13685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13686 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13687 e_expl.S.
13688 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13689 test of -max_value argument for long double.
13690 * sysdeps/i386/fpu/libm-test-ulps: Update.
13691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13692
6693d694
DM
136932012-05-06 David S. Miller <davem@davemloft.net>
13694
13695 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13696 quad soft-float symbols whose references which are compiler
13697 generated.
13698 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13699
6c23e11c
JM
137002012-05-06 Joseph Myers <joseph@codesourcery.com>
13701
d8b82cad
JM
13702 [BZ #13884]
13703 [BZ #13914]
13704 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13705 USE_AS_EXP10L.
13706 (EXPL_FINITE): Likewise.
13707 (FLDLOG): Likewise.
13708 (c0): Likewise.
13709 (c1): Likewise.
13710 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13711 Adjust comments for base varying.
13712 (__expl_finite): Change alias to EXPL_FINITE.
13713 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13714 e_expl.S.
13715 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13716 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13717 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13718 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13719 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13720 USE_AS_EXP10L.
13721 (EXPL_FINITE): Likewise.
13722 (FLDLOG): Likewise.
13723 (c0): Likewise.
13724 (c1): Likewise.
13725 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13726 Adjust comments for base varying.
13727 (__expl_finite): Change alias to EXPL_FINITE.
13728 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13729 tests for bugs.
13730 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13731
6c23e11c
JM
13732 [BZ #14064]
13733 * math/libm-test.inc (check_float_internal): Correct ulp
13734 calculation for subnormal expected results.
13735
29ba805c
AJ
137362012-05-06 Andreas Jaeger <aj@suse.de>
13737
13738 * Makeconfig (+math-flags): New, set to -frounding-math.
13739 (+cflags): Add +math-flags so that all of glibc gets compiled with
13740 it.
13741
13742 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13743
7b17aeda
JM
137442012-05-05 Joseph Myers <joseph@codesourcery.com>
13745
5779f134
JM
13746 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13747 Disable one test.
13748
41498f4d
JM
13749 [BZ #13787]
13750 [BZ #13922]
13751 [BZ #14036]
13752 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13753 (__ieee754_expl): Allow for and saturate large arguments.
13754 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13755 (u_threshold): Likewise.
13756 (__exp): Call __ieee754_exp before checking for overflow and
13757 underflow.
13758 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13759 (u_threshold): Likewise.
13760 (__expf): Call __ieee754_expf before checking for overflow and
13761 underflow.
13762 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13763 (u_threshold): Likewise.
13764 (__expl): Call __ieee754_expl before checking for overflow and
13765 underflow.
13766 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13767 (__ieee754_expl): Allow for and saturate large arguments.
13768 * math/libm-test.inc (exp_test): Add another test. Do not allow
13769 missing overflow exception on overflow.
13770 (expm1_test): Do not allow missing overflow exception on overflow.
13771
6698b8bf
JM
13772 * sysdeps/i386/fpu/e_expl.c: Move to ...
13773 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13774 rather than using inline asm.
13775 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13776 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13777 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13778
7b17aeda
JM
13779 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13780 (nice): Likewise.
13781 (poll): Likewise.
13782 (signal): Likewise.
13783 (time): Likewise.
13784 (times): Likewise.
13785
f7c85819
JM
137862012-05-04 Joseph Myers <joseph@codesourcery.com>
13787
13788 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13789 sysdeps/unix/common/syscalls.list.
13790 (fchmod): Likewise.
13791 (fchown): Likewise.
13792 (ftruncate): Likewise.
13793 (getrusage): Likewise.
13794 (gettimeofday): Likewise.
13795 (setpgid): Likewise.
13796 (setregid): Likewise.
13797 (setreuid): Likewise.
13798 (sigaction): Likewise.
13799 (truncate): Likewise.
13800 (vhangup): Likewise.
13801 * sysdeps/unix/common/syscalls.list: Remove file.
13802 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13803 * sysdeps/unix/sysv/linux/Implies: Likewise.
13804
336270d0
L
138052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13806
13807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13810 Moved to ...
13811 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13812 Here.
13813 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13814 to ...
13815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13816 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13817 to ...
13818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13819 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13820 to ...
13821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13822 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13823 to ...
13824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13825 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13826 to ...
13827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13828 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13829 to ...
13830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13831 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13832 to ...
13833 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13834 Here.
13835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13836 to ...
13837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13838 Here.
13839 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13840 to ...
13841 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13842 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13843 Moved to ...
13844 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13845 Here.
13846 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13847 to ...
13848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13849
d128e450
JM
138502012-05-04 Joseph Myers <joseph@codesourcery.com>
13851
fa8ee516
JM
13852 * sysdeps/unix/common/bits/dirent.h: Remove file.
13853 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13854
d128e450
JM
13855 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13856 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13857 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13858 * sysdeps/unix/bsd/isatty.c: Likewise.
13859 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13860 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13861 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13862
ff8faaf0 138632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13864
62881be4 13865 [BZ #13563]
31dc8730
AZ
13866 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13867 long double comparison inaccuracies.
13868 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13870
6fef930c
AS
138712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13872
13873 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13874 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13875
8f203e6c
JM
138762012-05-04 Joseph Myers <joseph@codesourcery.com>
13877
13878 [BZ #14049]
13879 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13880 nonzero digits before rounding a hex value.
13881 * stdlib/tst-strtod.c (tests): Add another test.
13882
5197d9c2
AK
138832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13884
13885 * sysdeps/s390/fpu/libm-test-ulps: Update.
13886
f0c1dedf
AJ
138872012-05-03 Andreas Jaeger <aj@suse.de>
13888
13889 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13890 does not get optimized out.
13891 (malloc_opt_barrier): New.
13892
a65ef2ae 138932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13894 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13895
2b942cb7 13896 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13897 intermediate file deletion.
2b942cb7 13898 (generated): Add .symlist files.
a65ef2ae 13899
54b71e02
JM
139002012-05-03 Joseph Myers <joseph@codesourcery.com>
13901
13902 [BZ #13775]
13903 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13904 Redirect under this condition.
13905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13906 [__USE_GNU] (__dprintf_chk): Not under this condition.
13907 [__USE_GNU] (__vdprintf_chk): Likewise.
13908 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13909 under this condition.
13910 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13911 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13912 [__USE_XOPEN2K8] (vdprintf): Likewise.
13913 [__USE_GNU] (__dprintf_chk): Not under this condition.
13914 [__USE_GNU] (__vdprintf_chk): Likewise.
13915 [__USE_GNU] (dprintf): Likewise.
13916 [__USE_GNU] (vdprintf): Likewise.
13917
d3dfcc41
RM
139182012-05-03 Roland McGrath <roland@hack.frob.com>
13919
13920 * elf/Makefile (common-generated): Set this instead of generated for
13921 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13922 $(all-built-dso)-derived lists.
13923
7ac30cc5
AJ
139242012-05-03 Andreas Jaeger <aj@suse.de>
13925
0c51e550
AJ
13926 * sysdeps/i386/fpu/libm-test-ulps: Update.
13927
7ac30cc5
AJ
13928 * FAQ: Removed.
13929 * FAQ.in: Likewise.
13930 * scripts/gen-FAQ.pl: Likewise.
13931 * manual/install.texi (Installation): Point to online location of
13932 FAQ.
13933 * Makefile (files-for-dist): Remove FAQ.
13934 (FAQ): Remove.
13935
d4c2917f
AM
139362012-05-02 Allan McRae <allan@archlinux.org>
13937
13938 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13939 (LDFLAGS-reldepmod5.so): Likewise.
13940 (LDFLAGS-reldep6mod1.so): Likewise.
13941 (LDFLAGS-reldep6mod4.so): Likewise.
13942 (LDFLAGS-reldep8mod3.so): Likewise.
13943 (LDFLAGS-unload4mod1.so): Likewise.
13944 (LDFLAGS-unload4mod2.so): Likewise.
13945 (LDFLAGS-tst-initorder): Likewise.
13946 (LDFLAGS-tst-initordera2.so): Likewise.
13947 (LDFLAGS-tst-initordera3.so): Likewise.
13948 (LDFLAGS-tst-initordera4.so): Likewise.
13949 (LDFLAGS-tst-initorderb2.so): Likewise.
13950 (LDFLAGS-noload): Likewise.
13951 (LDFLAGS-next): Likewise.
13952 (LDFLAGS-order2mod1.so): Likewise.
13953 (LDFLAGS-order2mod2.so): Likewise.
13954 (LDFLAGS-tst-initorder2): Likewise.
13955 (LDFLAGS-tst-initorder2a.so): Likewise.
13956 (LDFLAGS-tst-initorder2b.so): Likewise.
13957 (LDFLAGS-tst-initorder2c.so): Likewise.
13958 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13959
d77f993f
DM
139602012-05-02 David S. Miller <davem@davemloft.net>
13961
13962 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13963
171a70b4
PP
139642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13965
13966 [BZ #14055]
13967 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13968
0be196ad
AJ
139692012-05-02 Andreas Jaeger <aj@suse.de>
13970
13971 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13972 since we manipulate rounding mode.
13973 (CPPFLAGS-test-idouble.c): Likewise.
13974 (CPPFLAGS-test-ifloat.c): Likewise.
13975 (CFLAGS-test-ldouble.c): Likewise.
13976 (CFLAGS-test-double.c): Likewise.
13977 (CFLAGS-test-float.c): Likewise.
13978 (CFLAGS-test-misc.c): Likewise.
13979 (CFLAGS-test-test-fenv.c): Likewise.
13980
4f9d04aa
AZ
139812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13982
2b942cb7
RM
13983 [BZ #2550]
13984 [BZ #2570]
13985 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13986 comparisons to determine direction to adjust input.
4f9d04aa 13987
82a79e7d
RM
139882012-05-01 Roland McGrath <roland@hack.frob.com>
13989
f5a01ca9
RM
13990 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13991 output to the target.
13992
90fe4186
RM
13993 * scripts/localplt.awk: New file.
13994 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13995 (check-localplt-CFLAGS): Variable removed.
13996 ($(all-built-dso:=.jmprel)): New static pattern rule.
13997 (generated): Add those targets.
13998 (localplt-built-dso): New variable.
13999 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14000
14001 * elf/check-localplt.c: File removed.
14002
82397ed6
RM
14003 * scripts/check-execstack.awk: New file.
14004 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14005 (check-execstack-CFLAGS): Variable removed.
14006 ($(objpfx)check-execstack.h): Target removed.
14007 ($(objpfx)execstack-default): New target.
14008 (generated): Add that instead of check-execstack.h.
14009 ($(all-built-dso:=.phdr)): New static pattern rule.
14010 (generated): Add those targets.
14011 * elf/check-execstack.c: File removed.
14012
82a79e7d
RM
14013 * scripts/check-textrel.awk: New file.
14014 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14015 (check-textrel-CFLAGS): Variable removed.
14016 (all-built-dso): Use := to define.o
14017 ($(all-built-dso:=.dyn)): New static pattern rule.
14018 (generated): Add those targets.
14019 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14020 * config.make.in (READELF): New substituted variable.
14021 * elf/check-textrel.c: File removed.
14022
62fde54f 140232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14024
615605c9
JM
14025 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14026 allow.
14027 * conform/data/ctype.h-data [C99-based standards] (isblank):
14028 Expect function.
14029 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14030 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14031 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14032 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14033 Specify type. Require positive value.
14034 (EILSEQ): Likewise.
14035 (ERANGE): Likewise.
14036 [ISO || POSIX] (EILSEQ): Do not expect.
14037 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14038 Specify type. Require positive value.
14039 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14047 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14048 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14049 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14050 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14051 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14052 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14053 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14054 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14055 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14056 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14057 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14058 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14059 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14061 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14062 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14063 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14064 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14065 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14066 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14068 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14069 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14070 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14071 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14072 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14073 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14074 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14075 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14076 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14077 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14078 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14079 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14080 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14081 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14082 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14083 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14084 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14085 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14086 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14087 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14088 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14089 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14090 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14091 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14092 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14093 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14094 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14095 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14096 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14097 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14098 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14099 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14100 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14101 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14102 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14103 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14104 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14105 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14106 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14107 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14108 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14109 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14110 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14111 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14112 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14113 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14114 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14115 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14116 Require >= 2.
14117 (FLT_ROUNDS): Expect as macro, not constant.
14118 (FLT_MANT_DIG): Use macro-int-constant.
14119 (DBL_MANT_DIG): Likewise.
14120 (LDBL_MANT_DIG): Likewise.
14121 (FLT_DIG): Likewise.
14122 (DBL_DIG): Likewise.
14123 (LDBL_DIG): Likewise.
14124 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14125 (DBL_MIN_EXP): Likewise.
14126 (LDBL_MIN_EXP): Likewise.
14127 (FLT_MAX_EXP): Use macro-int-constant.
14128 (DBL_MAX_EXP): Likewise.
14129 (LDBL_MAX_EXP): Likewise.
14130 (FLT_MAX_10_EXP): Likewise.
14131 (DBL_MAX_10_EXP): Likewise.
14132 (LDBL_MAX_10_EXP): Likewise.
14133 (FLT_MAX): Use macro-constant.
14134 (DBL_MAX): Likewise.
14135 (LDBL_MAX): Likewise.
14136 (FLT_EPSILON): Use macro-constant. Give upper bound.
14137 (DBL_EPSILON): Likewise.
14138 (LDBL_EPSILON): Likewise.
14139 (FLT_MIN): Likewise.
14140 (DBL_MIN): Likewise.
14141 (LDBL_MIN): Likewise.
14142 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14143 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14144 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14145 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14146 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14147 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14148 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14149 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14150 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14151 [ISO11] (FLT_TRUE_MIN): Likewise.
14152 [ISO11] (LDBL_TRUE_MIN): Likewise.
14153 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14154 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14155 (SCHAR_MIN): Use macro-int-constant. Specify type.
14156 (SCHAR_MAX): Likewise.
14157 (UCHAR_MAX): Likewise.
14158 (CHAR_MIN): Likewise.
14159 (CHAR_MAX): Likewise.
14160 (MB_LEN_MAX): Use macro-int-constant.
14161 (SHRT_MIN): Use macro-int-constant. Specify type.
14162 (SHRT_MAX): Likewise.
14163 (USHRT_MAX): Likewise.
14164 (INT_MAX): Likewise.
14165 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14166 bound negative.
14167 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14168 bound with "U".
14169 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14170 bound with "L".
14171 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14172 bound negative. Suffix upper bound with "L".
14173 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14174 bound with "UL".
14175 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14176 Specify type.
14177 [C99-based standards] (LLONG_MAX): Likewise.
14178 [C99-based standards] (ULLONG_MAX): Likewise.
14179 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14180 == 0.
14181 [ISO11] (max_align_t): Require type.
14182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14183
c9140a62
JM
14184 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14185 from $CFLAGS, without defining away __attribute__ calls.
14186 (checknamespace): Use $CFLAGS_namespace.
14187
9af0bf29
JM
14188 * conform/conformtest.pl (@keywords): Only include C99 keywords
14189 for standards based on C99 or C11.
14190
343222a2
JM
14191 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14192 Disable tests.
14193 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14194 UNIX98]: Likewise.
14195
661f8cf0
JM
14196 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14197 usability of symbols in #if.
14198
ee74b9cb
JM
14199 * conform/conformtest.pl: If macro or constant types start
14200 "promoted:", expect the symbol to be of the following type
14201 promoted by the integer promotions.
62fde54f 14202
aafc49b3
JM
14203 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14204 in one place. Also handle "macro-constant".
14205
fefdf574
JM
14206 * conform/conformtest.pl: Only accept expected macro values with
14207 "==". Parse all "macro" lines in one place.
14208 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14209
f2d922fe
JM
14210 * conform/conformtest.pl: Handle braced types on "constant" lines
14211 instead of handling "typed-constant".
14212 * conform/data/signal.h-data: Use "constant" instead of
14213 "typed-constant".
14214
d22956c9
JM
14215 * conform/conformtest.pl: Handle "optional-" at start of lines in
14216 one place rather than duplicating several cases. Handle each
14217 format of "macro" line with initial "optional-".
14218
028e2e38
JM
14219 * conform/conformtest.pl: Only accept expected constant or
14220 optional-constant values with "==". Parse all "constant" lines in
14221 one place. Parse all "optional-constant" lines in one place.
14222 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14223 * conform/data/fmtmsg.h-data: Likewise.
14224 * conform/data/netinet/in.h-data: Likewise.
14225 * conform/data/tar.h-data: Likewise.
14226 * conform/data/limits.h-data: Use "==" form on "constant" and
14227 "optional-constant" lines.
14228
1b8f2850
JM
14229 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14230 Use -std=c99 for XOPEN2K.
14231 (@knownproblems): Remove.
14232 (newtoken): Don't check %isknown.
14233
a05a144b
JM
14234 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14235 Do not expect macro.
14236 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14237 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14245 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14246 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14247 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14248 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14249 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14266 [XPG3] (acosh): Likewise.
14267 [XPG3] (asinh): Likewise.
14268 [XPG3] (atanh): Likewise.
14269 [XPG3] (cbrt): Likewise.
14270 [XPG3] (expm1): Likewise.
14271 [XPG3] (ilogb): Likewise.
14272 [XPG3] (log1p): Likewise.
14273 [XPG3] (logb): Likewise.
14274 [XPG3] (nextafter): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14277 [XPG3] (remainder): Likewise.
14278 [XPG3] (rint): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14286 [UNIX98 || XOPEN2K] (scalb): Expect.
14287 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14288 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14317 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14320 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14321 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14322 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14323 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14324 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14325 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14326 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14327 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14374 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14375 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14376 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14377 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14378 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14379 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14380 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14381 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14382 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14383 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14384 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14385 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14386 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14387 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14388 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14389 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14390 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14391 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14392 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14393 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14394 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14395 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14396 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14397 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14398 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14399 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14400 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14401 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14402 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14403 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14404 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14405 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14406 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14407 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14408 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14409 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14410 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14411 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14412 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14413 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14414 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14415 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14416 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14417 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14418 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14419 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14420 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14421 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14422 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14423 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14424
73c5ebe3
JM
14425 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14426 _XOPEN_SOURCE_EXTENDED for XPG4.
14427
39c33b6c
JM
14428 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14429
62fde54f
JM
14430 * Makeconfig (localtime): Remove variable.
14431 (inst_localtime-file): Likewise.
14432
0741d64c
AS
144332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14434
14435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14436 Update.
14437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14438 Update.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14440 Update.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14442 Update.
14443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14444 Update.
14445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14446 Update.
14447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14448 Update.
14449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14450 Update.
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14452 Update.
14453
7cb029ee
JM
144542012-05-01 Joseph Myers <joseph@codesourcery.com>
14455
14456 [BZ #2550]
14457 [BZ #2570]
14458 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14459 comparisons to determine direction to adjust input.
14460 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14461 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14462 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14463 Likewise.
14464 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14465 Likewise.
14466 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14467 Likewise.
14468 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14469 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14470 Likewise.
14471 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14472 Likewise.
14473 * math/libm-test.inc (nexttoward_test): Add more tests.
14474
412bd966
AS
144752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14476
14477 [BZ #14040]
14478 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14479 in version GLIBC_2.1, not GLIBC_2.0.
14480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14481 Likewise.
14482
9568c0c2
JM
144832012-04-30 Joseph Myers <joseph@codesourcery.com>
14484
adfbc8ac
JM
14485 [BZ #13942]
14486 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14487 (1 - x) * (1 + x).
14488 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14489 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14490 * math/libm-test.inc (acos_test): Add more tests.
14491 (asin_test): Likewise.
14492 * sysdeps/i386/fpu/libm-test-ulps: Update.
14493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14494
5ba3cc69
JM
14495 [BZ #14034]
14496 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14497 of square root.
14498 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14499 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14500 * math/libm-test.inc (acos_test_tonearest): New function.
14501 (acos_test_towardzero): Likewise.
14502 (acos_test_downward): Likewise.
14503 (acos_test_upward): Likewise.
14504 (asin_test_tonearest): Likewise.
14505 (asin_test_towardzero): Likewise.
14506 (asin_test_downward): Likewise.
14507 (asin_test_upward): Likewise.
14508 (main): Call the new functions.
14509 * sysdeps/i386/fpu/libm-test-ulps: Update.
14510 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14511
9568c0c2
JM
14512 [BZ #13884]
14513 [BZ #13924]
14514 * math/e_exp10.c: Include <float.h>.
14515 (__ieee754_exp10): Handle underflow here rather than multiplying
14516 large negative argument by M_LN10.
14517 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14518 of __ieee754_expf.
14519 * math/e_exp10l.c: Include <float.h>.
14520 (__ieee754_exp10l): Handle underflow here rather than multiplying
14521 large negative argument by M_LN10l.
14522 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14523 spurious overflow exception on underflow.
14524
5ac3ea17
MP
145252012-04-29 Marek Polacek <polacek@redhat.com>
14526
14527 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14528 (__fortify_function): New macro.
14529 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14530 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14531 __extern_always_inline.
14532 * libio/bits/stdio2.h: Likewise.
14533 * libio/bits/stdio.h: Likewise.
14534 * string/string.h: Likewise.
14535 * string/bits/string3.h: Likewise.
14536 * include/stdio.h: Likewise.
14537 * stdlib/bits/stdlib.h: Likewise.
14538 * stdlib/stdlib.h: Likewise.
14539 * rt/bits/mqueue2.h: Likewise.
14540 * rt/mqueue.h: Likewise.
14541 * posix/bits/unistd.h: Likewise.
14542 * posix/unistd.h: Likewise.
14543 * io/bits/poll2.h: Likewise.
14544 * io/bits/fcntl2.h: Likewise.
14545 * io/fcntl.h: Likewise.
14546 * io/sys/poll.h: Likewise.
14547 * misc/bits/syslog.h: Likewise.
14548 * misc/bits/syslog-ldbl.h: Likewise.
14549 * misc/sys/syslog.h: Likewise.
14550 * socket/bits/socket2.h: Likewise.
14551 * socket/sys/socket.h: Likewise.
14552 * debug/tst-chk1.c: Likewise.
14553 * wcsmbs/bits/wchar2.h: Likewise.
14554 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14555 * wcsmbs/wchar.h: Likewise.
14556
ecf0ebfb
AJ
145572012-04-29 Andreas Jaeger <aj@suse.de>
14558
14559 * Makerules (tests): Remove enable-check-abi protection.
14560 (check-abi-warn): Remove.
14561 (check-abi-%): Remove check-abi-warn usage.
14562
14563 * configure.in: Remove check-abi configure option.
14564 * configure: Regenerated.
14565 * config.make.in (enable-check-abi): Remove.
14566
6d5c57fa
AS
145672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14568
24c5d07e 14569 [BZ #14033]
ded5180a
AS
14570 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14571 double functions to double *_finite functions.
14572
7e0d315d
AS
14573 [BZ #13941]
14574 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14575 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14576 LDBL_MIN_EXP.
14577 * stdio-common/Makefile (tests): Add tst-sprintf3.
14578 * stdio-common/tst-sprintf3.c: New file.
14579
6d5c57fa
AS
14580 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14581 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14582
0749ff8b
JM
145832012-04-28 Joseph Myers <joseph@codesourcery.com>
14584
14585 * conform/conformtest.pl: Remove duplicate typed-constant
14586 handling.
14587
8dbd5d7b
DM
145882012-04-28 David S. Miller <davem@davemloft.net>
14589
14590 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14591 (check-abi-%): Remove AWK script prerequisite and explicit
14592 abilist directory.
14593 (check-abi): Rewrite to just diff the symlist with the abilist.
14594 (config-tls, config-abi-config): Delete, no longer used.
14595 (update-abi-%): Remove AWK script and explicit abilist directory.
14596 (update-abi): Rewrite to simply compare and conditionally copy the
14597 symlist and the sysdep abilist file. Remove update-abi-config
14598 checks.
14599 * abilist/ld.abilist: Remove.
14600 * abilist/libBrokenLocale.abilist: Remove.
14601 * abilist/libanl.abilist: Remove.
14602 * abilist/libcrypt.abilist: Remove.
14603 * abilist/libdl.abilist: Remove.
14604 * abilist/librt.abilist: Remove.
14605 * abilist/libthread_db.abilist: Remove.
14606 * abilist/libutil.abilist: Remove.
14607 * scripts/extract-abilist.awk: Remove.
14608 * scripts/merge-abilist.awk: Remove.
14609 * sysdeps/generic/libcidn.abilist: New file.
14610 * sysdeps/generic/libnss_compat.abilist: New file.
14611 * sysdeps/generic/libnss_db.abilist: New file.
14612 * sysdeps/generic/libnss_dns.abilist: New file.
14613 * sysdeps/generic/libnss_files.abilist: New file.
14614 * sysdeps/generic/libnss_hesiod.abilist: New file.
14615 * sysdeps/generic/libnss_nis.abilist: New file.
14616 * sysdeps/generic/libnss_nisplus.abilist: New file.
14617 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14618 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14619 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14620 file.
14621 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14622 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14623 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14624 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14625 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14626 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14627 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14628 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14629 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14630 file.
14631 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14633 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14635 file.
14636 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14637 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14639 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14640 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14641 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14642 file.
14643 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14645 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14646 file.
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14649 New file.
14650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14651 New file.
14652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14653 New file.
14654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14655 New file.
14656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14657 New file.
14658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14659 New file.
14660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14661 New file.
14662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14663 New file.
14664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14665 New file.
14666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14667 New file.
14668 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14669 New file.
14670 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14671 New file.
14672 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14673 New file.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14675 file.
14676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14677 New file.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14679 New file.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14681 file.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14683 New file.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14685 New file.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14687 file.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14689 New file.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14691 New file.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14693 New file.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14695 New file.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14697 New file.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14699 New file.
14700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14702 file.
14703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14704 New file.
14705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14706 file.
14707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14708 file.
14709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14710 file.
14711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14712 file.
14713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14714 file.
14715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14716 New file.
14717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14718 file.
14719 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14720 file.
14721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14722 New file.
14723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14724 file.
14725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14727 file.
14728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14729 New file.
14730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14731 file.
14732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14733 file.
14734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14735 file.
14736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14737 file.
14738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14739 file.
14740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14741 New file.
14742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14743 file.
14744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14745 file.
14746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14747 New file.
14748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14749 file.
14750 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14751 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14752 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14753 file.
14754 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14755 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14756 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14757 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14758 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14759 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14760 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14761 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14762 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14763 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14766 file.
14767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14768 New file.
14769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14770 file.
14771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14772 file.
14773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14774 file.
14775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14776 file.
14777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14778 file.
14779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14780 New file.
14781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14782 New file.
14783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14784 file.
14785 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14786 New file.
14787 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14788 file.
14789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14791 file.
14792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14793 New file.
14794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14795 file.
14796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14797 file.
14798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14799 file.
14800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14801 file.
14802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14803 file.
14804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14805 New file.
14806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14807 New file.
14808 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14809 file.
14810 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14811 New file.
14812 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14813 file.
14814
41d73a1b
JM
148152012-04-28 Joseph Myers <joseph@codesourcery.com>
14816
14817 * conform/conformtest.pl: Fix typo in handling typed-constant from
14818 allow-header.
14819
28aeeda4
JM
148202012-04-27 Joseph Myers <joseph@codesourcery.com>
14821
adae8f5e
JM
14822 * README: Cut down references to pre-2.6 Linux kernels and
14823 Linuxthreads. Update lists of configurations in libc and ports
14824 and sort alphabetically. Say "or newer" with Linux kernel version
14825 requirements.
14826
28aeeda4
JM
14827 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14828
a462cb63
RA
148292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14830
14831 [BZ #887]
14832 * math/libm-test.inc (logb_test_downward): New test to expose
14833 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14834 rounding mode.
14835
6ad3493e
JM
148362012-04-27 Joseph Myers <joseph@codesourcery.com>
14837
14838 [BZ #14027]
14839 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14840 to be done.
14841 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14842 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14843
2ce4f015
JM
148442012-04-26 Joseph Myers <joseph@codesourcery.com>
14845
5aeb141a
JM
14846 * sysdeps/unix/i386/brk.S: Remove file.
14847 * sysdeps/unix/i386/dl-brk.S: Likewise.
14848 * sysdeps/unix/i386/pipe.S: Likewise.
14849 * sysdeps/unix/i386/sigreturn.S: Likewise.
14850 * sysdeps/unix/i386/syscall.S: Likewise.
14851 * sysdeps/unix/i386/vfork.S: Likewise.
14852 * sysdeps/unix/i386/wait.S: Likewise.
14853
7143acae
JM
14854 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14855 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14856
2ce4f015
JM
14857 * configure.in (arm*-none*): Do not allow without
14858 --enable-hacker-mode.
14859 (netbsd*): Remove case setting base_os.
14860 (386bsd*): Likewise.
14861 (freebsd*): Likewise.
14862 (bsdi*): Likewise.
14863 (osf*): Likewise.
14864 (sunos*): Likewise.
14865 (ultrix*): Likewise.
14866 (newsos*): Likewise.
14867 (dynix*): Likewise.
14868 (*bsd*): Likewise.
14869 (sysv*): Likewise.
14870 (isc*): Likewise.
14871 (esix*): Likewise.
14872 (sco*): Likewise.
14873 (minix*): Likewise.
14874 (irix4*): Likewise.
14875 (irix6*): Likewise.
14876 (solaris[2-9]*): Likewise.
14877 (none): Likewise.
14878 * configure: Regenerated.
14879
0ac229c8
AZ
148802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14881
14882 [BZ #11521]
14883 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14884 overflow or cancellation in calculating denominator.
14885 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14886 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14887 down expression to avoid unexpected rounding in newer GCCs.
14888 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14889
33f244f4
DM
148902012-04-26 David S. Miller <davem@davemloft.net>
14891
14892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14893 long-double compat symbols.
14894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14905 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14907
cfa1f3e8
DM
149082012-04-25 David S. Miller <davem@davemloft.net>
14909
14910 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14911 HWCAP_* values only after the memory barriers have been defined.
14912 (atomic_full_barrier): Define.
14913 (atomic_read_barrier): Define.
14914 (atomic_write_barrier): Define.
14915
6e236b92
SP
149162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14917
14918 * shlib-versions: Add libgcc_s version information.
14919 * sysdeps/generic/libgcc_s.h: Remove.
14920 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14921 libgcc_s.h.
14922 * sysdeps/gnu/unwind-resume.c: Likewise.
14923 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14924
aab39a09
DM
149252012-04-25 David S. Miller <davem@davemloft.net>
14926
14927 * sysdeps/unix/sparc/brk.S: Delete.
14928 * sysdeps/unix/sparc/dl-brk.S: Delete.
14929 * sysdeps/unix/sparc/pipe.S: Delete.
14930 * sysdeps/unix/sparc/sysdep.S: Delete.
14931 * sysdeps/unix/sparc/sysdep.h: Delete.
14932 * sysdeps/unix/sparc/vfork.S: Delete.
14933 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14934 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14936 ret_ERRVAL, r0, r1, MOVE): Define.
14937 (JUMPTARGET): Remove.
14938 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14939 sysdeps/unix/sparc/sysdep.h
14940 (ENTRY, END): Remove.
14941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14942
a3cc4f48
JM
149432012-04-25 Joseph Myers <joseph@codesourcery.com>
14944
2ed8cda2
JM
14945 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14946 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14947 -DIS_IN_build.
14948
35d76d59
JM
14949 * timezone/README: Update upstream location and email address for
14950 tzcode and tzdata.
14951 * timezone/zdump.c: Update from tzcode 2012b.
14952 * timezone/zic.c: Likewise.
14953
a3cc4f48
JM
14954 * configure.in (libc_cv_as_needed): Remove test.
14955 * configure: Regenerated.
14956 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14957 conditional definition.
14958 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14959 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14960 * config.make.in (have-as-needed): Remove variable.
14961
ceab42c3
SP
149622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14963 Paul Pluzhnikov <ppluzhnikov@google.com>
14964
14965 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14966 strings correctly.
14967
3ce2865f
CLT
149682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14969
14970 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14971 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14972 * sysdeps/sh/strlen.S: Likewise.
14973
f37e0d68
JM
149742012-04-24 Joseph Myers <joseph@codesourcery.com>
14975
ae186e9a
JM
14976 * sysdeps/unix/fork.S: Remove file.
14977 * sysdeps/unix/i386/fork.S: Likewise.
14978 * sysdeps/unix/sparc/fork.S: Likewise.
14979
b96914af
JM
14980 * sysdeps/unix/system.c: Remove file.
14981 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14982
f37e0d68
JM
14983 * sysdeps/unix/getegid.S: Remove file.
14984 * sysdeps/unix/geteuid.S: Likewise.
14985
87ef29ca
RM
149862012-04-24 Roland McGrath <roland@hack.frob.com>
14987
83bcd236
RM
14988 * scripts/check-localplt.awk: New file.
14989 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14990 of diff.
14991 * scripts/data/localplt-generic.data: Add a comment.
14992
87ef29ca
RM
14993 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14994 NODE when __dir_mkfile failed.
14995 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14996 Reported by Ludovic Courtès <ludo@gnu.org>.
14997
e5a6e567
AJ
149982012-04-24 Andreas Jaeger <aj@suse.de>
14999
15000 * Makerules (common-clean): Also remove gen-as-const-headers
15001 files.
15002
c1820385
JM
150032012-04-24 Joseph Myers <joseph@codesourcery.com>
15004
15005 * Makerules (native-compile): Do not change working directory for
15006 build. Use $(OUTPUT_OPTION) in command.
15007 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15008
94e02fc4
AZ
150092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15010
15011 [BZ #13886]
15012 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15013 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15014 * math/libm-test.inc (floor_test): Add more tests.
15015 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15016
3a533ca3
JM
150172012-04-24 Joseph Myers <joseph@codesourcery.com>
15018
940ab4b3
JM
15019 * sysdeps/unix/getdents.c: Remove file.
15020 * sysdeps/unix/sysv/getdents.c: Likewise.
15021 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15022
90e037bd
JM
15023 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15024 sysdeps/unix/mman/syscalls.list.
15025 (mmap): Likewise.
15026 (mprotect): Likewise.
15027 (msync): Likewise.
15028 (munmap): Likewise.
15029 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15030 * sysdeps/unix/mman/syscalls.list: Remove.
15031 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15032
3a533ca3
JM
15033 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15034 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15035 * configure: Regenerated.
15036 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15037 $(libgcc_s_suffix).
15038 * config.make.in (libgcc_s_suffix): Remove variable.
15039
1ad743de
JM
150402012-04-23 Joseph Myers <joseph@codesourcery.com>
15041
4ad451e2
JM
15042 * sysdeps/unix/sysv/gethostname.c: Move to ...
15043 * sysdeps/posix/gethostname.c: ... here.
15044
5e37ce39
JM
15045 * sysdeps/unix/execve.S: Remove file.
15046
1ad743de
JM
15047 * sysdeps/unix/_exit.S: Remove file.
15048
4e681b5b
AJ
150492012-04-23 Andreas Jaeger <aj@suse.de>
15050
15051 [BZ #13739]
15052 * manual/Makefile: Remove make dist support, there's no
15053 need for a stand-alone documentation tar ball.
15054 (TEXI2DVI): Define always, it's not in Makeconfig.
15055 (dist): Removed.
15056 (tar-it): Removed.
15057 (edition): Removed.
15058 (glibc-doc-$(edition).tar): Removed
15059 (%.Z): Removed.
15060 (%.gz): Removed.
15061 (%.uu): Removed.
15062 (ETAGS): Remove, it's in Makeconfig.
15063 (move-if-change): Remove, it's in Makeconfig.
15064
38686a03 150652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15066
15067 [BZ #13970]
15068 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15069 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15070 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15071 (strtod_l, strtof_l, strtold_l): Remove __wur.
15072 It is not necessarily an error to ignore strtol's return value.
15073 One can reliably look at the stored endptr to decide whether
15074 the number had valid syntax.
15075
7c0616fa
AJ
150762012-04-21 Andreas Jaeger <aj@suse.de>
15077
803cb6b7 15078 [BZ #13739]
7c0616fa
AJ
15079 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15080
b0fe253f
JM
150812012-04-21 Joseph Myers <joseph@codesourcery.com>
15082
15083 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15084 * sysdeps/unix/sysv/Versions: Remove file.
15085
8280f22d
MT
150862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15087
15088 [BZ #13927]
15089 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15090
75ce411f 150912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15092
15093 [BZ #7064]
15094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15095 version from __vm86.
15096
097d59fa
JM
150972012-04-20 Joseph Myers <joseph@codesourcery.com>
15098
a90f3bcb
JM
15099 * sysdeps/unix/common/lxstat.c: Remove file.
15100 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15101
edc7ea78
JM
15102 * sysdeps/unix/sysv/Makefile: Remove file.
15103
cb78c221
JM
15104 * sysdeps/unix/sysv/direct.h: Remove file.
15105
efa6a45f
JM
15106 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15107 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15108 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15109 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15110 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15111 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15112 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15113
9c9f2d0c
JM
15114 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15115
4541c83b
JM
15116 * sysdeps/unix/xmknod.c: Remove file.
15117 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15118
f5d153a0
JM
15119 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15120
aa746595
JM
15121 * sysdeps/unix/sysv/i386/time.S: Remove file.
15122
cce5905e
JM
15123 * sysdeps/unix/fxstat.c: Remove file.
15124 * sysdeps/unix/xstat.c: Likewise.
15125 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15126
37fa3841
JM
15127 * sysdeps/unix/sysv/sigaction.c: Remove file.
15128
ff1962a3
JM
15129 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15130 (sysdep_headers): Remove variable.
15131 [termio.h not in sysdep_headers] (generated): Likewise.
15132 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15133 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15134 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15135 * sysdeps/unix/sysv/tcflow.c: Likewise.
15136 * sysdeps/unix/sysv/tcflush.c: Likewise.
15137 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15138 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15139 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15140 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15141 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15142
e7740d31
JM
15143 * sysdeps/unix/siglist.c: Remove file.
15144
ee06f18b
JM
15145 * sysdeps/unix/getppid.S: Remove file.
15146
097d59fa
JM
15147 * sysdeps/unix/mkdir.c: Remove file.
15148 * sysdeps/unix/rmdir.c: Likewise.
15149
ff3d51ec
AS
151502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15151
15152 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15153 ERR_MAX value.
15154 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15155 errlist-compat value.
15156
50f81fd7
DM
151572012-04-18 David S. Miller <davem@davemloft.net>
15158
15159 * sysdeps/generic/memcopy.h (reg_char): Delete.
15160 * debug/strcat_chk.c: Use char, not reg_char.
15161 * debug/strcpy_chk.c: Likewise.
15162 * debug/strncat_chk.c: Likewise.
15163 * debug/strncpy_chk.c: Likewise.
15164 * string/memchr.c: Likewise.
15165 * string/memrchr.c: Likewise.
15166 * string/rawmemchr.c: Likewise.
15167 * string/strcat.c: Likewise.
15168 * string/strchr.c: Likewise.
15169 * string/strchrnul.c: Likewise.
15170 * string/strcmp.c: Likewise.
15171 * string/strcpy.c: Likewise.
15172 * string/strncat.c: Likewise.
15173 * string/strncmp.c: Likewise.
15174 * string/strncpy.c: Likewise.
15175
8ff41c46
WS
151762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15177
15178 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15179 __builtin_memcopy is called when src and dest ranges are known to not
15180 overlap.
15181
6b652f46
WS
151822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15183
15184 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15185 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15186 fwd_align_merge macro call.
15187 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15188 bwd_align_merge macro call.
15189 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15190
b282631e
WS
151912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15192
15193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15194 bwd_align_merge macros.
15195 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15196 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15197 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15198
95aa737c
DM
151992012-04-18 David S. Miller <davem@davemloft.net>
15200
15201 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15202
7a99a614
AJ
152032012-04-18 Andreas Jaeger <aj@suse.de>
15204
15205 [BZ# 6794]
15206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15207 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15208 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15209
15210 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15211 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15212 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15213
15214 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15215 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15216 Adjust for changed ldbl-128 files.
15217
15218 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15219 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15220 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15221
e5270c23
DM
152222012-04-17 David S. Miller <davem@davemloft.net>
15223
15224 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15225
fb5e92c9
AS
152262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15229 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15230 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15231 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15232 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15233 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15234
76da7265
AZ
152352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15236
15237 [BZ #6794]
15238 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15239 * math/libm-test.inc: Add ilogb errno and exception tests.
15240 * math/w_ilogb.c: New file: ilogb wrapper.
15241 * math/w_ilogbf.c: New file: ilogbf wrapper.
15242 * math/w_ilogbl.c: New file: ilogbl wrapper.
15243 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15244 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15245 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15246 exception being thrown with 0.0 as argument.
15247 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15248 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15249 exception being thrown with 0.0 as argument.
15250 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15251 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15252 exception being thrown with 0.0 as argument.
15253 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15254 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15255 exception being thrown with 0.0 as argument.
15256 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15257 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15258 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15259 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15260 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15261 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15262 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15263 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15264 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15265
0396e69d
PB
152662012-04-17 Petr Baudis <pasky@ucw.cz>
15267
15268 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15269 with altivec.
15270
750b5926
MP
152712012-04-16 Marek Polacek <polacek@redhat.com>
15272
15273 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15274
751728a1
MP
152752012-04-16 Marek Polacek <polacek@redhat.com>
15276
15277 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15278 operands of fdivp instruction.
15279
34a27407
L
152802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15281
15282 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15283 * elf/tst-auditmod3b.c: Likewise.
15284 * elf/tst-auditmod4b.c: Likewise.
15285 * elf/tst-auditmod5b.c: Likewise.
15286 * elf/tst-auditmod6b.c: Likewise.
15287 * elf/tst-auditmod6c.c: Likewise.
15288 * elf/tst-auditmod7b.c: Likewise.
15289 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15290 * sysdeps/x86_64/preconfigure.in: Likewise.
15291 * sysdeps/x86_64/preconfigure: Regenerated.
15292
7e73e17d
L
152932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15294
15295 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15296 __ILP32__.
15297
c7a6ab72
AB
152982012-04-13 Antoine Balestrat <merkil33@gmail.com>
15299
15300 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15301 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15302
a9e8e0e0
CL
153032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15304
15305 [BZ #13973]
15306 * locale/iso-639.def: Fix gl language name. Spotted by
15307 Yaron Shahrabani.
15308
ec98af7d
RM
153092012-04-12 Roland McGrath <roland@hack.frob.com>
15310
15311 [BZ #2074]
15312 * libio/libio.h (__io_write_fn): Update comment.
15313
247c3ede
PB
153142012-04-12 Petr Baudis <pasky@ucw.cz>
15315
15316 [BZ #2074]
15317 * stdio.texi (Hook Functions): The user provided writer function
15318 is not allowed to return -1.
15319
55939d6d
DM
153202012-04-11 David S. Miller <davem@davemloft.net>
15321
15322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15323
90020f5a
MF
153242012-04-11 Mike Frysinger <vapier@gentoo.org>
15325
15326 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15327 Add a leading slash to rtkaio.
15328
288f9098
JM
153292012-04-11 Jim Meyering <meyering@redhat.com>
15330
90020f5a
MF
15331 [BZ #11959]
15332 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15333 It is not necessarily an error to ignore fwrite's return
15334 value. One can reliably use ferror to test for errors after
15335 the fact.
288f9098 15336
4be2b570
L
153372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15338
15339 * bits/types.h (__snseconds_t): New type.
15340 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15341
15342 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15344 (__SNSECONDS_T_TYPE): Likewise.
15345 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15346 (__SNSECONDS_T_TYPE): Likewise.
15347 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15348 (__SNSECONDS_T_TYPE): Likewise.
15349
288f9098 153502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15351
15352 [BZ #2636]
15353 * manual/time.texi (Processor Time): Return type of times is
15354 elapsed real time since an arbitrary point in the past.
15355 (CPU Time): Move CLK_TCK from here...
15356 (Processor Time): ...to here. Correct description.
15357 * manual/conf.texi (Constants for Sysconf): Correct description of
15358 _SC_CLK_TCK.
15359
d7dd4413
DM
153602012-04-10 David S. Miller <davem@davemloft.net>
15361
15362 [BZ #13967]
15363 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15364 where the is a gap between DT_REL(A) and DT_JMPREL.
15365
b46068fc
L
153662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15367
15368 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15369 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15370 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15371
73d65cc3
SP
153722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15373
15374 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15375 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15376 (dl_main): Handle --inhibit-cache.
15377 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15378 _dl_inhibit_cache.
15379 * elf/dl-load.c (_dl_map_object): Use it.
15380 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15381
bcc8d661
JM
153822012-04-09 Joseph Myers <joseph@codesourcery.com>
15383
8f9a2fae
JM
15384 [BZ #13872]
15385 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15386 (__ieee754_powl): Saturate large exponents rather than testing for
15387 overflow of y*log2(x).
15388 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15389 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15390 exceptions.
15391
bcc8d661
JM
15392 [BZ #11521]
15393 * math/s_ctan.c: Include <float.h>.
15394 (__ctan): Avoid internal overflow or cancellation in calculating
15395 denominator.
15396 * math/s_ctanf.c: Likewise.
15397 * math/s_ctanl.c: Likewise.
15398 * math/s_ctanh.c: Likewise.
15399 * math/s_ctanhf.c: Likewise.
15400 * math/s_ctanhl.c: Likewise.
15401 * math/libm-test.inc (ctan_test): Add more tests.
15402 (ctanh_test): Likewise.
15403 * sysdeps/i386/fpu/libm-test-ulps: Update.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15405
823fbbb4
AJ
154062012-04-09 Andreas Jaeger <aj@suse.de>
15407
03879793
AJ
15408 [BZ #6894]
15409 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15410 is an optional BSD extension.
15411
823fbbb4
AJ
15412 [BZ #10254]
15413 * manual/stdio.texi (Opening Streams): Document additional fopen
15414 parameters.
15415
8de131cb
RM
154162012-04-09 Roland McGrath <roland@hack.frob.com>
15417
15418 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15419 %eax without telling the compiler.
15420
c0ed9d7d
CD
154212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15422
15423 [BZ # 13963]
15424 * manual/install.texi: Use sourceware.org.
15425
c483f6b4
JM
154262012-04-09 Joseph Myers <joseph@codesourcery.com>
15427
d7dd9453
JM
15428 [BZ #13873]
15429 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15430 (__ieee754_pow): Generate overflow and underflow using huge*huge
15431 and tiny*tiny rather than just returning constant infinity or zero
15432 for large exponents.
15433 * math/libm-test.inc (pow_test): Require overflow exceptions for
15434 applicable cases of large exponents.
15435
c483f6b4
JM
15436 [BZ #706]
15437 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15438 (__ieee754_pow): Use iterative multiplication algorithm only for
15439 integer exponents with absolute value below 1024. Check for odd
15440 integer exponents when using algorithm for real exponents.
15441 * math/libm-test.inc (pow_test): Add more tests.
15442 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15443
d2de7579
JM
154442012-04-08 Joseph Myers <joseph@codesourcery.com>
15445
15446 [BZ #13705]
15447 * math/libm-test.inc (exp_test): Do not allow overflow exception
15448 on underflow test.
15449
f77f1232
AJ
154502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15451
15452 [BZ #13705]
15453 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15454 instead of __kernel_standard_f.
15455
3884932b
MF
154562012-04-08 Mike Frysinger <vapier@gentoo.org>
15457
15458 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15459 * sysdeps/x86_64/memset_chk.S: Likewise.
15460
54472e9c
AJ
154612012-04-08 Andreas Jaeger <aj@suse.de>
15462
6ab0fbfc
AJ
15463 [BZ #10153]
15464 * manual/startup.texi (Environment Access): Describe return value
15465 for putenv and setenv.
15466
61efba8c
AJ
15467 [BZ #6895]
15468 * manual/filesys.texi (Directory Entries): Add description for
15469 DT_LNK.
15470
95c3f29a
AJ
15471 [BZ #6890]
15472 * manual/filesys.texi (Directory Entries): Clarify that it's file
15473 system not operating system in the description of DT_UNKNOWN.
15474
54472e9c
AJ
15475 [BZ #6578]
15476 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15477
624254b1
SC
154782012-04-08 Stephen Compall <s11@member.fsf.org>
15479
15480 [BZ #6649]
15481 * manual/llio.texi (Opening and Closing Files): Add cross
15482 reference to explain mode argument.
15483
1e4920e0
MF
154842012-04-07 Mike Frysinger <vapier@gentoo.org>
15485
15486 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15487 * sysdeps/x86_64/memset_chk.S: Likewise.
15488
5ed848f3
DM
154892012-04-07 David S. Miller <davem@davemloft.net>
15490
15491 * elf/elf.h (R_SPARC_WDISP10): Define.
15492 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15493 R_SPARC_SIZE32.
15494 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15495 R_SPARC_SIZE64 and R_SPARC_H34.
15496
96154cd8
CD
154972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15498
15499 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15500 conditions and remove no longer applicable assertion.
15501
9904dc47
L
155022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15503
15504 * bits/byteswap.h: Include <features.h>.
15505 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15506 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15507
f8887d0a
L
155082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15509
15510 * bits/byteswap.h (__bswap_16): Removed.
15511 Include <bits/byteswap-16.h> to get __bswap_16.
15512 * sysdeps/i386/bits/byteswap.h: Likewise.
15513 * sysdeps/s390/bits/byteswap.h: Likewise.
15514 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15515 * bits/byteswap-16.h: New file.
15516 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15517 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15518 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15519 * string/Makefile (headers): Add bits/byteswap-16.h.
15520
62470f60
PP
155212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15522
15523 [BZ #13895]
15524 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15525 extra indirection.
15526 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15527 * nss/tst-nss-static.c: New.
15528
4dad7bab
RM
155292012-04-06 Robert Millan <rmh@gnu.org>
15530
15531 [BZ #6486]
15532 * manual/llio.texi (File Position Primitive): lseek
15533 refers to WHENCE when it really means OFFSET.
15534
e9142a17
AJ
155352012-04-06 Andreas Jaeger <aj@suse.de>
15536
2c040eff
AJ
15537 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15538 strncmp declarations.
15539
e9142a17
AJ
15540 * abilist/libc.abilist: Add __poll and __ppoll.
15541
ff9f1c5f
DM
155422012-04-05 David S. Miller <davem@davemloft.net>
15543
dcd2ae90
DM
15544 * scripts/check-local-headers.sh: Accept a host triplet in the
15545 path matched by the exclude regexp.
15546
993eb054
DM
15547 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15548 definition.
15549 * sysdeps/powerpc/powerpc32/dl-machine.h
15550 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15551 * sysdeps/s390/s390-32/dl-machine.h
15552 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15553 * sysdeps/sparc/sparc32/dl-machine.h
15554 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15555 * sysdeps/sparc/sparc64/dl-machine.h
15556 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15557
ff9f1c5f
DM
15558 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15559 lazy binding.
48e2e132 15560 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15561 undefined symbol errors.
15562
48e2e132 15563 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15564 DT_NEEDED entries.
15565
e80d6f94
MM
155662012-04-05 Michael Matz <matz@suse.de>
15567
15568 [BZ #13592]
15569 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15570
349fa79f
AJ
155712012-04-05 Andreas Jaeger <aj@suse.de>
15572
15573 [BZ #13908]
15574 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15575 comment.
15576
f402708f
KK
155772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15578
15579 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15580 which ROUND is no valid rounding mode.
15581
2ecccfc9
KK
155822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15583
15584 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15585 read again.
15586 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15587
8a53f50f
KK
155882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15589
15590 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15591 an exception using FPU order intentionally.
15592
155932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15594
15595 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15596 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15597 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15598 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15599
d653abb7
SJ
156002012-04-05 Simon Josefsson <simon@josefsson.org>
15601
15602 [BZ #12340]
15603 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15604 EINVAL when BUFLEN is too smal.
15605
c3b1bf7d
TS
156062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15607
15608 [BZ #13553]
15609 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15610 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15611
b1aa60f3
AJ
156122012-04-03 Andreas Jaeger <aj@suse.de>
15613
c3b1bf7d 15614 [BZ #13938]
67f60a26
AJ
15615 * manual/setjmp.texi (System V contexts): Fix sentence.
15616
b1aa60f3
AJ
15617 [BZ #13926]
15618 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15619 New macro for this case.
15620 [!__GNUC__] (__bswap_64): New inline function for this case.
15621 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15622 * bits/byteswap.h: Likewise.
15623 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15624 ull, guard with __GLIBC_HAVE_LONG_LONG.
15625
15626 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15627 __GLIBC_HAVE_LONG_LONG.
15628
15629 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15630 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15631
39c59c35
TMQMF
156322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15633
15634 [BZ #13691]
15635 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15636 inptr and inend, rather than using last_ch.
15637
135ffda8
DM
156382012-04-02 David S. Miller <davem@davemloft.net>
15639
15640 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15641 * stdio-common/printf-parse.h (read_int): Change return type to
15642 'int', return -1 on INT_MAX overflow.
15643 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15644 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15645 overflows INT_MAX. Check for overflow of in-format-string precision
15646 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15647 SIZE_MAX not INT_MAX for integer overflow test.
15648 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15649 skip the construct in the format string but do not record anything.
15650 * stdio-common/bug22.c: Adjust to test both width/prevision
15651 INT_MAX overflow as well as total length INT_MAX overflow. Check
15652 explicitly for proper errno values.
15653
228c019e
TS
156542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15655
302cadd3
TS
15656 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15657 CHAR_MAX.
15658 * string/test-strcmp.c [! WIDE]: Likewise.
15659 * time/tst-mktime2.c: Likewise for INT_MAX.
15660 * string/test-string.h: #include <sys/param.h> for MIN.
15661
228c019e
TS
15662 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15663 * sysdeps/i386/init-first.c (init): Likewise.
15664 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15665 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15666 * sysdeps/sh/init-first.c (init): Likewise.
15667
cfa633f5
UD
156682012-04-01 Ulrich Drepper <drepper@gmail.com>
15669
15670 * po/ru.po: Update from translation team.
d1635ef8 15671 * po/vi.po: Likewise.
cfa633f5 15672
6cd0a5ea
SP
156732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 * resolv/nss_dns/dns-host.c: Merge copyright years.
15676
4b43400f
LD
156772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15678
15679 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15680 Optimize memcpy with prefetch if
15681 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15682 src, dst pointers have unequal 16 byte alignments.
15683
48c41d04
SP
156842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15685
15686 [BZ #13928]
15687 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15688 from a CNAME entry and return the minimum ttl for the query.
15689 (gaih_getanswer_slice): Likewise.
15690
b8dc394d
JL
156912012-03-30 Jeff Law <law@redhat.com>
15692
15693 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15694 due to long keys.
15695 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15696 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15697
2f5a5ed0
JL
15698 * resolv/nss_dns/dns-host.c: Update copyright year.
15699
1d39e359
UD
157002012-03-30 Ulrich Drepper <drepper@gmail.com>
15701
c030f70c 15702 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15703 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15704
1d39e359
UD
15705 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15706 comments for sendmmsg.
15707
157082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15709
15710 [BZ #13691]
15711 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15712 with only 1 character between 0x0041 and 0x01b0.
15713 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15714 * wcsmbs/tst-mbsnrtowcs.c: New file.
15715
20fde227
DM
157162012-03-29 David S. Miller <davem@davemloft.net>
15717
15718 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15719 small copies by hand.
15720
984a4237
JL
157212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15722
15723 [BZ #13761]
15724 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15725 _nss_compat_initgroups_dyn): Fall back to malloc/free
15726 for large group memberships.
15727
18c9d62b
DM
157282012-03-28 David S. Miller <davem@davemloft.net>
15729
88d85d4f
DM
15730 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15731 that branches into memcpy.
15732 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15733 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15734 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15735 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15737 bits.
15738 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15739 implementation too.
15740 * sysdeps/sparc/mempcpy.S: New file.
15741
e5aa83e1
DM
15742 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15743 the IFUNC routine in the libc case.
15744 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15745
88570753
DM
15746 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15747 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15748 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15749 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15750 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15751 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15752 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15753 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15754
249d7567
DM
15755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15756 loop to 256 bytes instead of 64 bytes and fix test signedness.
15757
18c9d62b
DM
15758 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15759 * sysdeps/sparc/sparc32/Makefile: rather than here...
15760 * sysdeps/sparc/sparc64/Makefile: and here.
15761
05f3d1f6
UD
157622012-03-28 Ulrich Drepper <drepper@gmail.com>
15763
15764 * malloc/mallocbug.c: Avoid warnings about unused variables.
15765
86ae07a8
JL
157662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15767
15768 [BZ #13760]
15769 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15770 in the right place. Discard and retry query if response is
15771 larger than input buffer size.
15772
41bf21a1
JM
157732012-03-28 Joseph Myers <joseph@codesourcery.com>
15774
d6270972
JM
15775 [BZ #369]
15776 [BZ #2678]
15777 [BZ #3866]
15778 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15779 x for large integer exponent.
15780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15782 sign of result as needed afterwards.
15783 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15784 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15785 result for underflowing pow the same as for overflow.
15786 (__kernel_standard_l): Handle powl overflow and underflow here
15787 rather than calling __kernel_standard.
15788 * math/libm-test.inc (pow_test): Add more tests.
15789
414fca03 15790 [BZ #3868]
41bf21a1
JM
15791 [BZ #13879]
15792 [BZ #13910]
15793 [BZ #13911]
15794 [BZ #13912]
15795 [BZ #13913]
15796 [BZ #13915]
15797 [BZ #13916]
15798 [BZ #13917]
15799 [BZ #13918]
15800 [BZ #13919]
15801 [BZ #13920]
15802 [BZ #13921]
15803 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15804 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15805 (__kernel_standard_l): New function.
15806 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15807 __kernel_standard.
15808 * math/w_acosl.c (__acosl): Likewise.
15809 * math/w_asinl.c (__asinl): Likewise.
15810 * math/w_atan2l.c (__atan2l): Likewise.
15811 * math/w_atanhl.c (__atanhl): Likewise.
15812 * math/w_coshl.c (__coshl): Likewise.
15813 * math/w_exp10l.c (__exp10l): Likewise.
15814 * math/w_exp2l.c (__exp2l): Likewise.
15815 * math/w_fmodl.c (__fmodl): Likewise.
15816 * math/w_hypotl.c (__hypotl): Likewise.
15817 * math/w_j0l.c (__j0l, __y0l): Likewise.
15818 * math/w_j1l.c (__j1l, __y1l): Likewise.
15819 * math/w_jnl.c (__jnl, __ynl): Likewise.
15820 * math/w_lgammal.c (__lgammal): Likewise.
15821 * math/w_log10l.c (__log10l): Likewise.
15822 * math/w_log2l.c (__log2l): Likewise.
15823 * math/w_logl.c (__logl): Likewise.
15824 * math/w_powl.c (__powl): Likewise.
15825 * math/w_remainderl.c (__remainderl): Likewise.
15826 * math/w_scalbl.c (sysv_scalbl): Likewise.
15827 * math/w_sinhl.c (__sinhl): Likewise.
15828 * math/w_sqrtl.c (__sqrtl): Likewise.
15829 * math/w_tgammal.c (__tgammal): Likewise.
15830 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15831 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15832 * math/libm-test.inc (acos_test): Add more tests.
15833 (acosh_test): Likewise.
15834 (asin_test): Likewise.
15835 (atanh_test): Likewise.
15836 (exp_test): Likewise.
15837 (exp10_test): Likewise.
15838 (exp2_test): Likewise.
15839 (expm1_test): Likewise.
15840 (lgamma_test): Likewise.
15841 (log_test): Likewise.
15842 (log10_test): Likewise.
15843 (log1p_test): Likewise.
15844 (log2_test): Likewise.
15845 (pow_test): Do not allow some spurious overflow exceptions.
15846 (sqrt_test): Add more tests.
15847 (tgamma_test): Likewise.
15848 (y0_test): Likewise.
15849 (y1_test): Likewise.
15850 (yn_test): Likewise.
15851
dd62fda6
AB
158522012-03-27 Anton Blanchard <anton@samba.org>
15853
15854 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15855 MAP_HUGETLB.
15856 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15857 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15858 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15859
1e3cdfda
AJ
158602012-03-27 David S. Miller <davem@davemloft.net>
15861
b855ab85
DM
15862 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15863
1e3cdfda
AJ
15864 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15865 have-as-vis3 check.
15866
158672012-03-27 Andreas Jaeger <aj@suse.de>
15868
15869 * sysdeps/x86_64/elf/configure.in: Moved to ...
15870 * sysdeps/x86_64/configure.in: ... here.
15871 * sysdeps/x86_64/elf/start.S: Moved to ...
15872 * sysdeps/x86_64/start.S: ... here.
15873 * sysdeps/x86_64/elf/configure: Delete.
15874
15875 * sysdeps/x86_64/configure.in: Merge contents from
15876 sysdeps/i386/configure.in (without i686 check).
15877
15878 * sysdeps/i386/elf/Versions: Merge into ...
15879 * sysdeps/i386/Versions: ... this.
15880 * sysdeps/i386/elf/Versions: Delete file.
15881 * sysdeps/i386/elf/start.S: Moved to ...
15882 * sysdeps/i386/start.S: ...here.
15883 * sysdeps/i386/elf/configure.in: Merge into...
15884 * sysdeps/i386/configure.in: ...here.
15885 * sysdeps/i386/elf/configure.in: Delete file.
15886 * sysdeps/i386/elf/configure: Delete file.
15887
15888 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15889 * debug/backtracesyms.c: ... here.
15890 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15891 * debug/backtracesymsfd.c: ... here.
15892 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15893 * sysdeps/generic/ifunc-sel.h: ... here.
15894
15895 * sysdeps/unix/i386/start.c: Delete file.
15896 * sysdeps/unix/sparc/start.c: Delete file.
15897 * sysdeps/unix/start.c: Delete file.
15898
15899 * sysdeps/sh/elf/configure.in: Moved to ...
15900 * sysdeps/sh/configure.in: ... here.
15901 * sysdeps/sh/elf/start.S: Moved to ...
15902 * sysdeps/sh/start.S: ... here.
15903 * sysdeps/sh/elf/configure: Delete file.
15904
15905 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15906 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15907 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15908 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15909 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15910 * sysdeps/powerpc/powerpc64/start.S: here.
15911 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15912 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15913 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15914 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15915 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15916
15917 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15918 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15919 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15920 * sysdeps/powerpc/powerpc32/start.S: ... here.
15921 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15922 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15923 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15924
15925 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15926 * sysdeps/powerpc/ifunc-sel.h: ... here.
15927 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15928 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15929
15930 * sysdeps/sparc/elf/configure.in: Moved to ...
15931 * sysdeps/sparc/configure.in: ... here.
15932 * sysdeps/sparc/elf/configure: Delete file.
15933 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15934 * sysdeps/sparc/sparc32/start.S: ... here.
15935 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15936 * sysdeps/sparc/sparc64/start.S: ... here.
15937 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15938 * sysdeps/sparc/sparc32/Makefile: ... this.
15939 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15940 * sysdeps/sparc/sparc64/Makefile: ... this.
15941
15942 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15943 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15944 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15945 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15946 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15947 * sysdeps/s390/s390-32/setjmp.S: ... here.
15948 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15949 * sysdeps/s390/s390-32/configure.in: ... here.
15950 * sysdeps/s390/s390-32/elf/configure: Delete file.
15951 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15952 * sysdeps/s390/s390-32/start.S: ... here.
15953
15954 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15955 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15956 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15957 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15958 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15959 * sysdeps/s390/s390-64/setjmp.S: ... here.
15960 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15961 * sysdeps/s390/s390-64/configure.in: ... here
15962 * sysdeps/s390/s390-64/elf/configure: Delete file.
15963 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15964 * sysdeps/s390/s390-64/start.S: ... here.
15965 * sysdeps/s390/s390-64/elf/configure: Delete.
15966
15967 * configure.in: Remove support for elf directories in sysdeps.
15968
15969 * configure: Regenerated.
15970 * sysdeps/i386/configure: Regenerated.
15971 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15972 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15973 * sysdeps/s390/s390-32/configure: Regenerated.
15974 * sysdeps/s390/s390-64/configure: Regenerated.
15975 * sysdeps/sh/configure: Regenerated.
15976 * sysdeps/sparc/configure: Regenerated.
15977 * sysdeps/x86_64/configure: Regenerated.
15978
a3f61311
AS
159792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15980
c876e002
AS
15981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15982
a3f61311
AS
15983 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15984 denormal result into account.
15985
ac4c54f0
RM
159862012-03-25 Roland McGrath <roland@hack.frob.com>
15987
15988 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15989 Reported by Allan McRae <allan@archlinux.org>.
15990
6a9b9c02
JL
159912012-03-23 Jeff Law <law@redhat.com>
15992
15993 * nss/getnssent.c (__nss_getent): Fix typo.
15994
4c42a0c1
DM
159952012-03-23 David S. Miller <davem@davemloft.net>
15996
15997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15998
1532c7ac
L
159992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16000
16001 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16002 to pad to uint64_t for each field.
16003 (dl_tls_index): Replace unsigned long with uint64_t.
16004
3ff42526
PP
160052012-03-23 Daniel Jacobowitz <dmj@google.com>
16006 Paul Pluzhnikov <ppluzhnikov@google.com>
16007
16008 [BZ #6528]
16009 * grp/Makefile (otherlibs): Don't set it.
16010 * inet/Makefile (otherlibs): Likewise.
16011 * login/Makefile (otherlibs): Likewise.
16012 * nscd/Makefile (otherlibs): Likewise.
16013 * posix/Makefile (otherlibs): Likewise.
16014 * pwd/Makefile (otherlibs): Likewise.
16015 * rt/Makefile (otherlibs): Likewise.
16016 * sunrpc/Makefile (otherlibs): Likewise.
16017 * nss/Makefile (otherlibs): Likewise.
16018 Add libnss_files to routines and static-only-routines.
16019 ($(objpfx)getent): Remove rule.
16020 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16021 static-only-routines.
16022
7c69cd14
JM
160232012-03-22 Joseph Myers <joseph@codesourcery.com>
16024
16025 [BZ #13892]
16026 * math/s_cexp.c: Include <float.h>.
16027 (__cexp): Handle exp result overflowing not necessarily
16028 overflowing both real and imaginary parts of result.
16029 * math/s_cexpf.c: Likewise.
16030 * math/s_cexpl.c: Likewise.
16031 * math/libm-test.inc (cexp_test): Add more tests.
16032 * sysdeps/i386/fpu/libm-test-ulps: Update.
16033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16034
81b035fe
L
160352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16036
16037 * include/link.h (ELFW): New macro.
16038 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16039 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16040
1da7940c
L
160412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16044 with uint64_t.
16045
b749dbb9
L
160462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16047
16048 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16049 declaration.
16050 (struct La_x32_retval): Likewise.
16051
2ff87f3f
L
160522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16053
16054 * sysdeps/x86_64/preconfigure.in: New file.
16055 * sysdeps/x86_64/preconfigure: New generated file.
16056
c0df8e69
JM
160572012-03-22 Joseph Myers <joseph@codesourcery.com>
16058
48e44791
JM
16059 [BZ #13824]
16060 * math/e_exp2l.c: Include <float.h>.
16061 (__ieee754_exp2l): Handle overflow and underflow cases
16062 separately. Only pass fractional part of argument to
16063 __ieee754_expl.
16064 * math/libm-test.inc (exp2_test): Add more tests.
16065
c0df8e69
JM
16066 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16067 negating x to take absolute value.
16068 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16069 Likewise.
16070 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16071 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16072 Likewise.
16073 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16074 computing low part if x was negated.
16075 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16076
c8e43ba7
L
160772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16078
16079 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16080 la_x32_gnu_pltexit.
16081 (pltexit): Cast int_retval to ptrdiff_t.
16082 * elf/tst-auditmod3b.c: Likewise.
16083 * elf/tst-auditmod4b.c: Likewise.
16084 * elf/tst-auditmod5b.c: Likewise.
16085 * elf/tst-auditmod6b.c: Likewise.
16086 * elf/tst-auditmod6c.c: Likewise.
16087 * elf/tst-auditmod7b.c: Likewise.
16088
16089 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16090 and x32_gnu_pltexit.
16091
16092 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16093 __ELF_NATIVE_CLASS.
16094 (La_x32_regs): New macro.
16095 (La_x32_retval): Likewise.
16096 (la_x32_gnu_pltenter): New function prototype.
16097 (la_x32_gnu_pltexit): Likewise.
16098
7998fa78
AS
160992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16100
dcb33988
AS
16101 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16102 exponent.
16103
233fc563
AS
16104 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16105
7998fa78
AS
16106 * configure.in (libc_cv_cc_nofma): Check for option to disable
16107 generation of FMA instructions.
16108 * configure: Regenerate.
16109 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16110 * sysdeps/ieee754/dbl-64/Makefile: New file.
16111 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16112 Remove brandred-fma4.
16113 (CFLAGS-brandred-fma4.c): Remove.
16114 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16115 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16116 define.
16117 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16118 define.
16119
8e95c99a
L
161202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16121
16122 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16123 LLONG_MAX != LONG_MAX.
16124 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16125 (_fitoa_word): Likewise.
16126 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16127 LLONG_MAX != LONG_MAX.
16128 * stdio-common/_itowa.h: Include <_itoa.h>.
16129 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16130 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16131 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16132 only if not defined.
16133 (_ITOA_WORD_TYPE): Likewise.
16134 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16135 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16136
6f4db457
DM
161372012-03-21 David S. Miller <davem@davemloft.net>
16138
16139 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16140
7785fe5a
L
161412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16142
16143 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16144 of x86_64 when setting libc_cv_slibdir, libdir and
16145 libc_cv_localedir.
16146 * sysdeps/unix/sysv/linux/configure: Regenerated.
16147
4535cd55
JM
161482012-03-21 Joseph Myers <joseph@codesourcery.com>
16149
16150 * manual/lang.texi (Old Varargs): Remove section.
16151 (How Variadic): Update menu.
16152 (va_start): Do not mention varargs.h.
16153
17228132
TS
161542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16155 Joseph Myers <joseph@codesourcery.com>
16156
16157 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16158 link test.
16159 * configure: Regenerated.
16160
8149f976
TS
161612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16162
05f3d1f6
UD
16163 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16164 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16165 conformtest.pl
8149f976 16166
1a4ac776
JM
161672012-03-21 Joseph Myers <joseph@codesourcery.com>
16168
be22ce65
JM
16169 * NOTES: Remove.
16170 * Makefile (files-for-dist): Remove NOTES.
16171 (NOTES): Remove rule.
16172 * README: Don't refer to NOTES.
16173 * manual/creature.texi: Don't include macros.texi.
16174 * manual/intro.texi (creature.texi): Remove comment referring to
16175 NOTES.
16176
40b601fb
JM
16177 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16178 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16179 * configure: Regenerated.
16180 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16181 LIBC_TRY_CC_OPTION.
16182 (libc_cv_as_i686): Likewise.
16183 (libc_cv_cc_avx): Likewise.
16184 (libc_cv_cc_sse2avx): Likewise.
16185 (libc_cv_cc_fma4): Likewise.
16186 (libc_cv_cc_novzeroupper): Likewise.
16187 * sysdeps/i386/configure: Regenerated.
16188
1a4ac776
JM
16189 [BZ #13883]
16190 * sysdeps/i386/fpu/s_cexp.S: Remove.
16191 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16192 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16193 * math/libm-test.inc (cexp_test): Add more tests.
16194 * sysdeps/i386/fpu/libm-test-ulps: Update.
16195 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16196
a458e7fe
AM
161972012-03-21 Allan McRae <allan@archlinux.org>
16198
16199 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16200
0cb7efc5
JM
162012012-03-21 Joseph Myers <joseph@codesourcery.com>
16202
16203 [BZ #13871]
16204 * math/w_exp2.c: Do not include <float.h>.
16205 (o_threshold, u_threshold): Remove.
16206 (__exp2): Calculate result before checking finiteness and calling
16207 __kernel_standard.
16208 * math/w_exp2f.c: Likewise.
16209 * math/w_exp2l.c: Likewise.
16210 * math/libm-test.inc (exp2_test): Require overflow exception for
16211 1e6 input.
2460d3aa
JM
16212
16213 [BZ #3866]
16214 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16215 range of signed 64-bit integers before using fistpll. Remove
16216 checks for whether integers fit in mantissa bits.
16217 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16218 the range of signed 32-bit integers before using fistpl. Remove
16219 checks for whether integers fit in mantissa bits.
16220 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16221 (__ieee754_powl): Test for y outside the range of signed 64-bit
16222 integers before using fistpll. Reduce 64-bit values to 63-bit
16223 ones as needed.
16224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16225 divide-by-zero is raised for zero to large negative powers.
16226 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16227 (__ieee754_powl): Test for y outside the range of signed 64-bit
16228 integers before using fistpll. Reduce 64-bit values to 63-bit
16229 ones as needed.
16230 * math/libm-test.inc (pow_test): Add more tests.
16231
eb96ffb0
L
162322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16233
16234 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16235 <stdio-common/_itoa.h>.
16236 * debug/segfault.c: Likewise.
16237 * elf/dl-cache.c: Likewise.
16238 * elf/dl-minimal.c: Likewise.
16239 * elf/dl-misc.c: Likewise.
16240 * elf/dl-sysdep.c: Likewise.
16241 * elf/dl-version.c: Likewise.
16242 * elf/rtld.c: Likewise.
16243 * hurd/hurdsock.c: Likewise.
16244 * hurd/lookup-retry.c: Likewise.
16245 * malloc/malloc.c: Likewise.
16246 * malloc/mtrace.c: Likewise.
16247 * nscd/nscd_getgr_r.c: Likewise.
16248 * nscd/nscd_getpw_r.c: Likewise.
16249 * nscd/nscd_getserv_r.c: Likewise.
16250 * posix/getopt_init.c: Likewise.
16251 * posix/wordexp.c: Likewise.
16252 * stdio-common/_itoa.c: Likewise.
16253 * stdio-common/printf_fphex.c: Likewise.
16254 * stdio-common/vfprintf.c: Likewise.
16255 * string/_strerror.c: Likewise.
16256 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16257 * sysdeps/i386/i686/hp-timing.h: Likewise.
16258 * sysdeps/mach/_strerror.c: Likewise.
16259 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16260 * sysdeps/mach/hurd/sethostid.c: Likewise.
16261 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16262 * sysdeps/mach/xpg-strerror.c: Likewise.
16263 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16264 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16265 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16266 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16267 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16268 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16269 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16270 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16271 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16272 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16273 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16274 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16275 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16276 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16277 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16278 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16279 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16280 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16281 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16282 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16283 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16284
16285 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16286
16287 * stdio-common/_itoa.h: Moved to ...
16288 * sysdeps/generic/_itoa.h: Here.
16289
16290 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16291
16292 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16293 instead of "_itoa.h" and "_itowa.h".
16294 * stdio-common/vfprintf.: Likewise.
16295
d1af992d
L
162962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16297
16298 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16299 <bits/wordsize.h>.
16300 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16301 (__signbit): Likwise.
16302 (llrintf): Likwise.
16303 (llrint): Likwise.
16304
114883e0
L
163052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16306
16307 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16308 __WORDSIZE != 64.
16309
c135cc1b
JM
163102012-03-20 Joseph Myers <joseph@codesourcery.com>
16311
16312 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16313 OVERFLOW_EXCEPTION_OK.
16314 * math/libm-test.inc ("Philosophy"): Update comment about
16315 exception testing.
16316 (OVERFLOW_EXCEPTION): Define.
16317 (OVERFLOW_EXCEPTION_OK): Likewise.
16318 (INVALID_EXCEPTION_OK): Renumber.
16319 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16320 (IGNORE_ZERO_INF_SIGN): Likewise.
16321 (test_exceptions): Handle FE_OVERFLOW.
16322 (exp10_test): Expect overflow exceptions.
16323 (exp2_test): Likewise.
16324 (expm1_test): Likewise.
16325 (nextafter_test): Likewise.
16326 (pow_test): Likewise.
16327 (scalbn_test): Likewise.
16328 (scalbln_test): Likewise.
16329
95443d88
L
163302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16331
16332 * sysdeps/x86_64/bits/atomic.h
16333 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16334 64bit integer.
16335 (atomic_exchange_acq): Likewise.
16336 (__arch_exchange_and_add_body): Likewise.
16337 (__arch_add_body): Likewise.
16338 (atomic_add_negative): Likewise.
16339 (atomic_add_zero): Likewise.
16340
490df6c4
L
163412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16342
c2722551 16343 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16344 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16345
5e52b189
L
163462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16347
16348 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16349 Check __x86_64__ instead of __WORDSIZE.
16350
a9879d4c
L
163512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16352
16353 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16354
5df98260
DM
163552012-03-19 David S. Miller <davem@davemloft.net>
16356
e1497744
DM
16357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16358
5df98260
DM
16359 * sysdeps/sparc/fpu/fenv_private.h: New file.
16360 * sysdeps/sparc/fpu/math_private.h: Use it.
16361 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16362 Remove.
16363 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16364 (libc_feholdexcept_setroundl): Remove.
16365 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16366 Remove.
16367 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16368 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16369
b4c35121
L
163702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16371
16372 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16373 int64_t instead of long int.
16374 (INSERT_WORDS64): Likwise.
16375
56965fd7
L
163762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16377
16378 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16379 _Unwind_GetCFA return to _Unwind_Ptr first.
16380
83d1aec8
JM
163812012-03-19 Joseph Myers <joseph@codesourcery.com>
16382
1897ad44
JM
16383 [BZ #13629]
16384 * math/s_clog.c: Include <float.h>.
16385 (__clog): Scale large or subnormal inputs.
16386 * math/s_clogf.c: Likewise.
16387 * math/s_clogl.c: Likewise.
16388 * math/s_clog10.c: Include <float.h>.
16389 (M_LOG10_2): Define.
16390 (__clog10): Scale large or subnormal inputs.
16391 * math/s_clog10f.c: Likewise.
16392 * math/s_clog10l.c: Likewise.
16393 * math/libm-test.inc (clog_test): Add more tests.
16394 (clog10_test): Likewise.
16395 * sysdeps/i386/fpu/libm-test-ulps: Update.
16396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16397
7726d6a9
JM
16398 [BZ #11451]
16399 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16400 x and y.
16401 * math/libm-test.inc (atan2_test): Add another test.
16402
83d1aec8
JM
16403 * Makerules (common-objdir-compile): Remove.
16404 * sysdeps/unix/Makefile (config-generated): Do not add
16405 $(unix-generated) to variable.
16406 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16407 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16408 Remove rule.
16409 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16410 Likewise.
16411 [generic bits/local_lim.h] (before-compile): Do not append to
16412 variable.
16413 [generic bits/local_lim.h] (common-generated): Likewise.
16414 [generic sys/param.h] (before-compile): Do not append to variable.
16415 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16416 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16417 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16418 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16419 include.
16420 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16421 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16422 [generic sys/param.h] ($(addprefix
16423 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16424 [generic sys/param.h] (common-generated): Do not append to
16425 variable.
16426 [generic sys/param.h] (sysdep_headers): Likewise.
16427 [generic bits/errno.h] (before-compile): Do not append to
16428 variable.
16429 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16430 rule.
16431 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16432 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16433 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16434 [generic bits/errno.h] (common-generated): Do not append to
16435 variable.
16436 [generic bits/ioctls.h] (before-compile): Do not append to
16437 variable.
16438 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16439 rule.
16440 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16441 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16442 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16443 rule.
16444 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16445 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16446 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16447 [generic bits/ioctls.h] (common-generated): Do not append to
16448 variable.
16449 [generic sys/syscall.h] (syscall.h): Remove variable.
16450 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16451 rule.
16452 [generic sys/syscall.h] (before-compile): Do not append to
16453 variable.
16454 [generic sys/syscall.h] (common-generated): Likewise.
16455 * sysdeps/unix/errnos-tmpl.c: Remove file.
16456 * sysdeps/unix/errnos.awk: Likewise.
16457 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16458 * sysdeps/unix/ioctls.awk: Likewise.
16459 * sysdeps/unix/mk-local_lim.c: Likewise.
16460 * sysdeps/unix/snarf-ioctls: Likewise.
16461
4851a949
RH
164622012-03-19 Richard Henderson <rth@twiddle.net>
16463
bd37f2ee
RH
16464 * sysdeps/i386/fpu/fenv_private.h: New file.
16465 * sysdeps/i386/fpu/math_private.h: Use it.
16466 (math_opt_barrier, math_force_eval): Remove.
16467 (libc_feholdexcept_setround_53bit): Remove.
16468 (libc_feupdateenv_53bit): Remove.
16469 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16470 (math_opt_barrier, math_force_eval): Remove.
16471 (libc_feholdexcept): Remove.
16472 (libc_feholdexcept_setround): Remove.
16473 (libc_fetestexcept, libc_fesetenv): Remove.
16474 (libc_feupdateenv_test): Remove.
16475 (libc_feupdateenv, libc_feholdsetround): Remove.
16476 (libc_feresetround): Remove.
16477
d0adc922
RH
16478 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16479 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16480
0fe0f1f8
RH
16481 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16482 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16483 (libc_feupdateenv_testl): New.
16484 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16485 (libc_feupdateenv_testf): New.
16486 (libc_feupdateenv): Use libc_feupdateenv_test.
16487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16488 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16489
eb92c487
RH
16490 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16491 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16492 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16493 (libc_feresetround_noex): New.
16494 (libc_feresetround_noexf): New.
16495 (libc_feresetround_noexl): New.
16496 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16497 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16498 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16499 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16500 SET_RESTORE_ROUND.
16501 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16502 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16503 (__cos): Likewise.
16504 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16505 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16506 SET_RESTORE_ROUND_NOEX.
16507 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16508 SET_RESTORE_ROUND_NOEXF.
16509 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16510 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16511 (libc_feholdsetroundf): New.
16512 (libc_feresetround, libc_feresetroundf): New.
16513
7d2e8012
RH
16514 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16515 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16516 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16517
b4dabbb4
RH
16518 * sysdeps/generic/math_private.h: Include <fenv.h>.
16519 (default_libc_feholdexcept): New.
16520 (default_libc_feholdexcept_setround): New.
16521 (default_libc_fesetenv, default_libc_feupdateenv): New.
16522 (libc_feholdexcept): Only define if undefined.
16523 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16524 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16525 (libc_feholdexcept_setroundl): Likewise.
16526 (libc_feholdexcept_setround_53bit): Likewise.
16527 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16528 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16529 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16530 (libc_feupdateenv_53bit): Likewise.
16531 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16532 (libc_feholdexcept): Convert from macro to inline function.
16533 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16534 (libc_fesetenv, libc_feupdateenv): Likewise.
16535
4851a949
RH
16536 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16537 not previously defined.
16538 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16539 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16540 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16541 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16542 * sysdeps/ieee754/flt-32/math_private.h: New file.
16543 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16544 math_private.h below SET_FLOAT_WORD.
16545 (__isnan, __isinf_ns, __finite): Remove.
16546 (__isnanf, __isinf_nsf, __finitef): Remove.
16547
e79d442e
AS
165482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16549
16550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16551
90b80344
DM
165522012-03-17 David S. Miller <davem@davemloft.net>
16553
16554 [BZ #6471]
16555 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16556 for 2.16.
16557
edc21804
DM
165582012-03-16 David S. Miller <davem@davemloft.net>
16559
77e927af
DM
16560 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16561 warnings.
16562
374976dd
DM
16563 [BZ #6471]
16564 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16565 properly.
16566 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16567 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16568 sysdep_routines when subdir is sysvipc.
16569 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16570 __getshmlba helper.
16571
edc21804
DM
16572 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16573
473c3ef3
L
165742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16575
16576 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16577 [__LP64__].
16578
eb0f39b6
L
165792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16580
16581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16582 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16583 (__lround): Renamed to ...
16584 (__llround): This. Replace long int with long long int.
16585 Define lround functions as aliases of llround functions.
16586 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16587
6b6cd74b
L
165882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16589
16590 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16591 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16592 adresses to uintptr_t. Replace "long int" and "unsigned long
16593 int" with "greg_t" on va_arg.
16594
f1a77b01
L
165952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16596
16597 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16598 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16599
16600 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16601 Move e_machine check before EI_CLASS check. Handle x32
16602 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16603 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16604 SKIP_EM_IA_64 and include
16605 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16606
16607 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16608 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16609 (add_system_dir): New macro.
16610
16611 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16612 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16613
11b90b9f
JM
166142012-03-16 Joseph Myers <joseph@codesourcery.com>
16615
c36e1d23
JM
16616 [BZ #2551]
16617 [BZ #2552]
16618 [BZ #2553]
16619 [BZ #2554]
16620 [BZ #2562]
16621 [BZ #2563]
16622 [BZ #2565]
16623 [BZ #2566]
16624 [BZ #2576]
16625 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16626 (y0): Likewise.
16627 * math/w_j0f.c (j0f): Likewise.
16628 (y0f): Likewise.
16629 * math/w_j0l.c (__j0l): Likewise.
16630 (__y0l): Likewise.
16631 * math/w_j1.c (j1): Likewise.
16632 (y1): Likewise.
16633 * math/w_j1f.c (j1f): Likewise.
16634 (y1f): Likewise.
16635 * math/w_j1l.c (__j1l): Likewise.
16636 (__y1l): Likewise.
16637 * math/w_jn.c (jn): Likewise.
16638 (yn): Likewise.
16639 * math/w_jnf.c (jnf): Likewise.
16640 (ynf): Likewise.
16641 * math/w_jnl.c (__jnl): Likewise.
16642 (__ynl): Likewise.
16643 * math/libm-test.inc (j0_test): Add more tests.
16644 (j1_test): Likewise.
16645 (jn_test): Likewise. Add trailing semicolon to existing test.
16646 (y0_test): Likewise.
16647 (y1_test): Likewise.
16648 * sysdeps/i386/fpu/libm-test-ulps: Update.
16649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16650
11b90b9f
JM
16651 [BZ #13851]
16652 [BZ #13854]
16653 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16654 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16655 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16657 (__tanl): Set errno for infinite argument.
16658 * sysdeps/i386/fpu/mptan.c: Remove.
16659 * sysdeps/i386/fpu/s_tan.S: Likewise.
16660 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16661 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16662 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16663 * math/libm-test.inc (tan_test): Add more tests and enable more
16664 tests for double and long double.
16665 * sysdeps/i386/fpu/libm-test-ulps: Update.
16666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16667
6a1bd2a1
JK
166682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16669
16670 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16671 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16672
10a803e0
RM
166732012-03-16 Roland McGrath <roland@hack.frob.com>
16674
16675 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16676 * configure.in: Use it for both main tree and add-ons.
16677 * configure: Regenerated.
16678
f196c7f7
L
166792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16680
16681 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16682
8848d99d
JM
166832012-03-16 Joseph Myers <joseph@codesourcery.com>
16684
96cbe7f4
JM
16685 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16686 in comment.
16687
8848d99d
JM
16688 [BZ #13851]
16689 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16690 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16691 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16692 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16693 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16694 infinite argument.
16695 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16696 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16697 != 0 for prec == 2.
16698 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16699 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16700 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16701 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16702 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16703 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16704 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16705 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16706 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16707 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16708 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16709 * math/libm-test.inc (cos_test): Add more tests and enable more
16710 tests for long double.
16711 (sin_test): Likewise.
16712 (sincos_test): Likewise.
16713 * sysdeps/i386/fpu/libm-test-ulps: Update.
16714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16715
dd7f4703
DM
167162012-03-16 David S. Miller <davem@davemloft.net>
16717
16718 * sysdeps/sparc/fpu/math_private.h: New file.
16719
006f1daa
DM
167202012-03-15 David S. Miller <davem@davemloft.net>
16721
c0c83bc8
DM
16722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16723 file.
e6a62e18 16724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16726 file.
e6a62e18
DM
16727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16732 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16733 sysdep routines.
16734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16735
88cb87d9
DM
16736 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16737 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16738
006f1daa 16739 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16741 sparc-ifunc.h
006f1daa 16742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16744 Likewise.
16745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16746 Likewise.
006f1daa
DM
16747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16751 Likewise.
006f1daa
DM
16752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16757 Likewise.
16758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16759 Likewise.
006f1daa
DM
16760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16764 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16765 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16766 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16767 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16770 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16771 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16774 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16775 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16776 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16777 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16778 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16779 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16780 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16781 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16782 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16783 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16784
11e0098e
AS
167852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16786
16787 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16788 scaling.
16789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16790
e85b09d0
AJ
167912012-03-15 Andreas Jaeger <aj@suse.de>
16792
16793 [BZ #13852]
16794 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16795 ieee754/flt-32 implementation for sin, cos and sincos.
16796 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16797 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16798 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16799 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16800 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16801 ieee754/flt-32 implementation for tan.
16802
16803 * math/libm-test.inc (cos_test): Enable some large input tests for
16804 float as well
16805 (sin_test): Likewise.
16806 (sincos_test): Likewise.
16807 (tan_test): Add tests for large input.
16808
16809 * sysdeps/i386/fpu/libm-test-ulps: Update.
16810
81c64153
AJ
168112012-03-15 Andreas Jaeger <aj@suse.de>
16812
16813 [BZ #13658]
16814 * math/libm-test.inc (cos_test): Add more test cases.
16815 (sin_test): Likewise.
16816 (sincos_test): Likewise.
16817
7bbfa5c6
AJ
168182012-03-15 Andreas Jaeger <aj@suse.de>
16819
16820 [BZ #13837]
16821 * math/libm-test.inc (cos_test): Add a test case for large input
16822 value.
16823 (sin_test): Likewise.
16824 (sincos_test): Likewise.
16825
168262012-03-15 Andreas Jaeger <aj@suse.de>,
16827 Joseph Myers <joseph@codesourcery.com>
16828
16829 [BZ #13658]
0671f479 16830 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16831 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16832 * sysdeps/i386/fpu/branred.c: Likewise.
16833 * sysdeps/i386/fpu/dosincos.c: Likewise.
16834 * sysdeps/i386/fpu/mpa.c: Likewise.
16835 * sysdeps/i386/fpu/s_cos.S: Likewise.
16836 * sysdeps/i386/fpu/s_sin.S: Likewise.
16837 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16838 * sysdeps/i386/fpu/sincos32.c: Likewise.
16839
16840 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16841 Define.
16842 (libc_feupdateenv_53bit): Define.
16843 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16844 Define.
16845 (libc_feupdateenv_53bit): Define.
16846
16847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16848 53 bit (without extend i386 double precision).
16849
16850 * math/libm-test.inc (sincos_test): Add tests for large input.
16851 (sin): Likewise.
16852 (cos): Likewise.
16853
16854 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16855
9cad04ea
AS
168562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16857
16858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16859
f7062b9a
DM
168602012-03-15 David S. Miller <davem@davemloft.net>
16861
16862 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16863 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16864 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16865 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16873 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16874 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16875 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16876 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16878 file.
f7062b9a 16879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16881 file.
f7062b9a 16882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16884 file.
f7062b9a 16885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16887 file.
f7062b9a
DM
16888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16890 fmin/fmax sysdep routines.
16891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16892
7bd951ff
DM
168932012-03-14 David S. Miller <davem@davemloft.net>
16894
559398ab
DM
16895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16896 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16897 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16898 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16899 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16900 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16901 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16902 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16905 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16906 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16910 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16911 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16912 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16913 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16914 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16915 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16916 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16917 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16918 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16919 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16920 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16923 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16924 routines.
16925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16926 file.
559398ab 16927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16929 file.
559398ab 16930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16932 file.
559398ab 16933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16935 file.
559398ab 16936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16938 file.
559398ab 16939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16941 file.
16942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16943 file.
16944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16945 file.
16946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16947 file.
16948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16949 New file.
16950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16951 file.
16952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16953 file.
559398ab 16954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16956 file.
559398ab 16957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16959 file.
559398ab 16960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16962 file.
559398ab 16963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16965 VIS3 routines.
559398ab
DM
16966
16967 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16968 New file.
16969
5a1c1e32
DM
16970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16971
eae47a36
DM
16972 * sysdeps/sparc/configure.in: New file.
16973 * sysdeps/sparc/configure: Generate.
16974 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16975 * configure: Regenerate.
16976 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16977 * config.make.in (have-as-vis3): New.
16978 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16979 available use -Av9d instead of -Av9a.
16980 * sysdeps/sparc/sparc64/Makefile: Likewise.
16981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16983 New file.
16984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16985 file.
16986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16987 New file.
16988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16989 file.
eae47a36
DM
16990 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16991 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16992 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16993 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16994 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16995
c0c83bc8
DM
16996 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16997 fzeros/fnegs to load 0x80000000 into a float register instead of
16998 using the stack.
7bd951ff
DM
16999 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17000
bd951ccb
JM
170012012-03-14 Joseph Myers <joseph@codesourcery.com>
17002
17003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17004 bits/syscall.h.
17005 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17006 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17007 ($(inst_includedir)/bits/syscall.h): Remove rule.
17008 ($(objpfx)bits/syscall.d): Include instead of
17009 $(objpfx)syscall-list.d.
17010 (generated): Change syscall-list.h and syscall-list.d to
17011 bits/syscall.h and bits/syscall.d.
17012
bb4e6db2
RM
170132012-03-14 Roland McGrath <roland@hack.frob.com>
17014
17015 [BZ #13846]
17016 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17017
aa4a2ae1
JM
170182012-03-14 Joseph Myers <joseph@codesourcery.com>
17019
e456826d
JM
17020 [BZ #13841]
17021 * math/s_csqrt.c: Include <float.h>.
17022 (__csqrt): Scale large or subnormal inputs.
17023 * math/s_csqrtf.c: Likewise.
17024 * math/s_csqrtl.c: Likewise.
17025 * math/libm-test.inc (csqrt_test): Add more tests.
17026 * sysdeps/i386/fpu/libm-test-ulps: Update.
17027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028
aa4a2ae1
JM
17029 [BZ #13840]
17030 * math/libm-test.inc (hypot_test): Add more tests.
17031
7c10fd35
DM
170322012-03-13 David S. Miller <davem@davemloft.net>
17033
17034 [BZ #13840]
17035 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17036 double-precision for the calculation instead of scaling.
17037
f453b98b
JM
170382012-03-13 Joseph Myers <joseph@codesourcery.com>
17039
17040 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17041 manipulate bits before adding and subtracting TWO52[sx].
17042 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17043 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17044 Likewise.
17045 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17046
09a3453f
DM
170472012-03-13 David S. Miller <davem@davemloft.net>
17048
8e59da90
DM
17049 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17050 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17052 rtld-global-offsets.h
17053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17054
2a8ab7f2
DM
17055 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17056 large parameters.
17057
10f62770
DM
17058 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17059
5f0bdb18
DM
17060 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17061 'err' in the ifdef scope in which it is actually used.
17062
09a3453f
DM
17063 * nss/nss_db/db-init.c: Include string.h
17064
b4b2eb5e
DM
170652012-03-12 David S. Miller <davem@davemloft.net>
17066
98bb2f1c
DM
17067 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17068 masking out of the most significant byte of random value used.
17069 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17070 Fix coding style in previous change.
17071
b4b2eb5e
DM
17072 * sysdeps/unix/sysv/linux/kernel-features.h
17073 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17074 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17075 expression.
17076 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17077 later.
17078
6e226b09
DM
170792012-03-11 David S. Miller <davem@davemloft.net>
17080
a1bcbd40
DM
17081 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17082 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17083 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17084 for 'resultvar' otherwise things get truncated on 64-bit.
17085
cb9d6174
DM
17086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17087 Fix masking out of the most significant byte of random value used.
17088
6e226b09
DM
17089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17090
058c132d
AS
170912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17092
17093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17094
2d2cd515
DM
170952012-03-09 David S. Miller <davem@davemloft.net>
17096
17097 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17098 variables with appropriate CPP guards.
17099 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17100 frame pointer, not the stack pointer. Correct layout comments. Fix test
17101 on resulting framesize and the management of the outregs buffer for pltexit.
17102 Preserve floating point return values across _dl_call_pltexit call.
17103 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17104 framesize and the management of the outregs buffer for pltexit.
17105 Preserve floating point return values across _dl_call_pltexit
17106 call.
17107 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17108 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17109 (print_exit): Fix format string for return register value.
17110
9a07f9d0
JM
171112012-03-10 Joseph Myers <joseph@codesourcery.com>
17112
17113 * sunrpc/Makefile (others): Add rpcgen.
17114 ($(objpfx)rpcgen): Remove special build rule and dependency on
17115 libc.
17116 * sunrpc/rpcgen.c: New file.
17117
547b5e30
PE
171182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17119
c524201a
PE
17120 [BZ #13673]
17121 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17122 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17123 * sysdeps/i386/crti.S: Likewise.
17124 * sysdeps/i386/crtn.S: Likewise.
17125 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17126 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17127 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17128 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17129 * sysdeps/sh/crti.S: Likewise.
17130 * sysdeps/sh/crtn.S: Likewise.
17131 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17132
7b6235f2
PE
17133 [BZ #13673]
17134 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17135 with URL.
17136 * locale/programs/locfile-kw.gperf: Likewise.
17137 * locale/programs/charmap-kw.h: Regenerated.
17138 * locale/programs/locfile-kw.h: Likewise.
17139
547b5e30
PE
17140 [BZ #13673]
17141 * intl/plural.y: Replace FSF snail mail address with URL.
17142 * intl/plural.c: Regenerated.
17143
5f0a5dae
RH
171442012-03-09 Richard Henderson <rth@twiddle.net>
17145
17146 * include/math_private.h: Remove file.
17147 * math/math_private.h: Move file ...
17148 * sysdeps/generic/math_private.h: ... here.
17149
b8c03620
RH
17150 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17151 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17152 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17153
4e234f5d 17154 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17155 and <math_private.h>.
17156 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17157 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17158 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17159 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17160 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17192 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17203 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17204 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17205 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17206 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17207 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17208 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17209 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17210 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17211 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17213 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17215 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17216 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17217 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17218 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17219 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17220 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17221 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17222 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17223 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17225 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17226 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17227 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17228 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17229 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17230 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17231 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17235 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17243 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17248 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17249 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17251 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17252 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17253 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17254 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17255 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17256 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17257 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17258 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17259 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17260 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17264 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17265 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17266 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17267 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17268 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17269 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17270 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17271 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17272 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17273 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17274 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17275 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17276 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17277 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17278 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17279 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17280 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17281 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17282 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17283 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17284 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17285 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17286 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17287 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17288 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17289 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17290 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17291 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17292 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17293 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17294 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17295 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17296 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17297 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17299 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17300 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17301 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17302 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17303 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17304 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17305 * sysdeps/ieee754/k_standard.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17379 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17380 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17383 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17384 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17385 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17392 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17397 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17399 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17409 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17410 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17411 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17413 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17414 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17415 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17421 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17425 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17426 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17427 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17428 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17429 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17430 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17431 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17432 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17433 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17434 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17435 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17436 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17437 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17438 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17440 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17441 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17442 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17443 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17444 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17445 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17446 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17447 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17448 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17449 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17451 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17452 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17453 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17454 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17455 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17456 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17457 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17458 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17459 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17460 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17461 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17462 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17463 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17464 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17465 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17466 * sysdeps/ieee754/s_lib_version.c: Likewise.
17467 * sysdeps/ieee754/s_matherr.c: Likewise.
17468 * sysdeps/ieee754/s_signgam.c: Likewise.
17469 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17470 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17471 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17472 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17473 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17475 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17476 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17477 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17478 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17479 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17480 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17481 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17482 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17483 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17484 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17485 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17486 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17487 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17488 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17489 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17490
1991fa03
JM
174912012-03-09 Joseph Myers <joseph@codesourcery.com>
17492
17493 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17494 * sunrpc/rpc_main.c: Likewise.
17495 * sunrpc/rpc_svcout.c: Likewise.
17496
60d6f5a6
DM
174972012-03-09 David S. Miller <davem@davemloft.net>
17498
17499 * include/math_private.h: New file.
17500
4962050e
JM
175012012-03-09 Joseph Myers <joseph@codesourcery.com>
17502
02a6f887
JM
17503 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17504 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17505 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17506 from <bits/socket_type.h>.
17507 (enum __socket_type): Don't define here.
17508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17510 bits/socket_type.h.
17511
c6e013c1
JM
17512 [BZ #13566]
17513 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17514 checking __USE_GNU.
17515
4962050e
JM
17516 * Makerules ($(inst_includedir)/%.h): New rule.
17517 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17518 (install-others): Remove variable setting.
17519 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17520
38842f45
RH
175212012-03-08 Richard Henderson <rth@twiddle.net>
17522
67bb6da6
RH
17523 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17524 from macro to inline function; merge with the
17525 !__LIBC_INTERNAL_MATH_INLINES version.
17526 (__ieee754_sqrtf): Likewise.
17527
15194b4b
RH
17528 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17529 to inline function.
17530 (__rintf, __floor, __floorf): Likewise.
17531
64e21ede
RH
17532 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17533 macro to inline function.
17534 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17535
38842f45
RH
17536 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17537 not <math/math_private.h>.
17538
c64bf5fe
DM
175392012-03-08 David S. Miller <davem@davemloft.net>
17540
17541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17542 copyright year.
17543 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17544
82d86f28
TS
175452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17546
17547 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17548 normalization.
17549 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17550 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17551
aea5d727
UD
175522012-03-08 Ulrich Drepper <drepper@gmail.com>
17553
17554 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17555 be defined individually, they must be defined as a block. Define
17556 S for printing a string instead of hidint the different by using a
17557 macro for adding the 'l'.
17558 * stdio-common/tst-fphex-wide.c: Adjust.
17559
70bca0a3
MP
175602012-03-07 Marek Polacek <polacek@redhat.com>
17561
17562 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17563
65b81130
MP
175642012-03-08 Marek Polacek <polacek@redhat.com>
17565
17566 [BZ #13806]
17567 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17568 * stdio-common/tst-fphex.c: Define a few macros to make the
17569 test reusable. Use them.
17570 * stdio-common/tst-fphex-wide.c: New file.
17571
07037eeb
JM
175722012-03-08 Joseph Myers <joseph@codesourcery.com>
17573
a7a93d50
JM
17574 [BZ #6911]
17575 * manual/macros.texi (gnusystems): New macro.
17576 (nongnusystems): Likewise.
17577 (gnulinuxhurdsystems): Likewise.
17578 (gnuhurdsystems): Likewise..
17579 (gnulinuxsystems): Likewise.
17580 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17581 variants of the GNU system, not "GNU system".
17582 * manual/conf.texi: Likewise.
17583 * manual/errno.texi: Likewise. Update example of errno macro
17584 expansion.
17585 * manual/filesys.texi: Likewise.
17586 (getumask): Document as specific to GNU/Hurd.
17587 * manual/install.texi: Likewise. Reword some references to
17588 GNU/Linux.
17589 * manual/intro.texi: Likewise.
17590 * manual/io.texi: Likewise.
17591 (File Name Portability): Detail which constraints are inapplicable
17592 to all GNU systems and which are only inapplicable to GNU/Hurd.
17593 * manual/job.texi: Likewise.
17594 * manual/llio.texi: Likewise.
17595 (O_NOCTTY): Document as present on GNU/Linux.
17596 * manual/maint.texi: Likewise.
17597 * manual/memory.texi: Likewise.
17598 * manual/pattern.texi: Likewise.
17599 * manual/pipe.texi: Likewise.
17600 * manual/process.texi: Likewise.
17601 * manual/resource.texi: Likewise.
17602 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17603 child on GNU/Hurd.
17604 * manual/setjmp.texi: Likewise.
17605 * manual/signal.texi: Likewise.
17606 * manual/startup.texi: Likewise.
17607 * manual/stdio.texi: Likewise.
17608 * manual/terminal.texi: Likewise.
17609 (ONLCR): Document as POSIX.
17610 (OXTABS): Document availability on GNU/Linux as XTABS.
17611 (ONOEOT): Document availability separately from other bits.
17612 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17613 * manual/time.texi: Likewise.
17614 * manual/users.texi: Likewise.
17615 * INSTALL: Regenerated.
17616 * sysdeps/gnu/errlist.c: Regenerated.
17617
07037eeb
JM
17618 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17619 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17620 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17621 puts.
17622 * configure: Regenerated.
17623
d1d3431a
JM
176242012-03-07 Joseph Myers <joseph@codesourcery.com>
17625
af6a1e37
JM
17626 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17627 default includes instead of AC_HEADER_CHECK.
17628 * sysdeps/i386/configure: Regenerated.
17629
d1d3431a
JM
17630 [BZ #10716]
17631 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17632 * math/s_cacoshf.c (__cacoshf): Likewise.
17633 * math/s_cacoshl.c (__cacoshl): Likewise.
17634 * math/s_casinh.c (__casinh): Set signs of result from argument.
17635 * math/s_casinhf.c (__casinhf): Likewise.
17636 * math/s_casinhl.c (__casinhl): Likewise.
17637 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17638 (casinh_test): Add more tests.
17639 * sysdeps/i386/fpu/libm-test-ulps: Update.
17640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17641
482ff4da
UD
176422012-03-07 Ulrich Drepper <drepper@gmail.com>
17643
872fda05
UD
17644 * po/zh_TW.po: Update from translation team.
17645
a4300c7a
UD
17646 * login/Makefile (distribute): Remove variable.
17647 * catgets/Makefile: Likewise.
17648 * mach/Makefile: Likewise.
17649 * malloc/Makefile: Likewise.
17650 * misc/Makefile: Likewise.
17651 * iconv/Makefile: Likewise.
17652 * nscd/Makefile: Likewise.
17653 * hurd/Makefile: Likewise.
17654 * manual/Makefile: Likewise.
17655 * locale/Makefile: Likewise.
17656 * intl/Makefile: Likewise.
17657 * conform/Makefile: Likewise.
17658 * nss/Makefile: Likewise.
17659 * time/Makefile: Likewise.
17660 * soft-fp/Makefile: Likewise.
17661 * dirent/Makefile: Likewise.
17662 * gmon/Makefile: Likewise.
17663 * po/Makefile: Likewise.
17664 * rt/Makefile: Likewise.
17665 * socket/Makefile: Likewise.
17666 * math/Makefile: Likewise.
17667 * signal/Makefile: Likewise.
17668 * debug/Makefile: Likewise.
17669 * elf/Makefile: Likewise.
17670 * timezone/Makefile: Likewise.
17671 * stdlib/Makefile: Likewise.
17672 * iconvdata/Makefile: Likewise.
17673 * sunrpc/Makefile: Likewise.
17674 * io/Makefile: Likewise.
17675 * argp/Makefile: Likewise.
17676 * inet/Makefile: Likewise.
17677 * hesiod/Makefile: Likewise.
17678 * grp/Makefile: Likewise.
17679 * csu/Makefile: Likewise.
17680 * wctype/Makefile: Likewise.
17681 * crypt/Makefile: Likewise.
17682 * libio/Makefile: Likewise.
17683 * string/Makefile: Likewise.
17684 * nis/Makefile: Likewise.
17685 * resolv/Makefile: Likewise.
17686 * stdio-common/Makefile: Likewise.
17687 * wcsmbs/Makefile: Likewise.
17688 * dlfcn/Makefile: Likewise.
17689 * posix/Makefile: Likewise.
17690
3b7c4e74 17691 [BZ #6959]
482ff4da
UD
17692 * timezone/Makefile: Don't install timezone files, just the programs
17693 and scripts.
17694
f72ed77d
UD
176952012-03-06 Ulrich Drepper <drepper@gmail.com>
17696
a000466f
UD
17697 * nss/databases.def: Add missing gshadow entry.
17698
f72ed77d
UD
17699 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17700
a53b7a4e
MP
177012012-03-06 Marek Polacek <polacek@redhat.com>
17702
17703 [BZ #13726]
17704 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17705 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17706 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17707 * stdio-common/tst-long-dbl-fphex.c: New file.
17708
e9258400
DM
177092012-03-06 David S. Miller <davem@davemloft.net>
17710
17711 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17712 (set_obp_int): New function.
17713 (get_obp_int): New function.
17714 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17715 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17716 Avoid unused variable warnings on 'val' and use builtin_expect.
17717 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17718 __builtin_expect.
e9258400
DM
17719 (INLINE_CLONE_SYSCALL): Likewise.
17720
3bd2c723
DM
177212012-03-05 David S. Miller <davem@davemloft.net>
17722
17723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17724
bbb78d03
AS
177252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17726
884c5db4
AS
17727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17728
bbb78d03
AS
17729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17730 only for |x| >= 40.
17731 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17732
1c9f702a 177332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17734
17735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17736 Replace gettimeofday with __vdso_gettimeofday.
17737
7be16f82
RM
17738 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17739 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17740 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17741
17742 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17743 time with __vdso_time.
17744
ed58a00f
JM
177452012-03-05 Joseph Myers <joseph@codesourcery.com>
17746
17747 * manual/lang.texi (size_t): Note types to which size_t may be
17748 equivalent with the GNU C Library, but do not describe when
17749 differences between them are significant.
17750
30ee4ced
AJ
177512012-03-05 Andreas Jaeger <aj@suse.de>
17752
17753 * sysdeps/i386/fpu/libm-test-ulps: Update.
17754
b7cd39e8
JM
177552012-03-05 Joseph Myers <joseph@codesourcery.com>
17756
17757 [BZ #3976]
17758 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17759 (__ieee754_pow): Save and restore rounding mode and use
17760 round-to-nearest for main computations.
17761 * math/libm-test.inc (pow_test_tonearest): New function.
17762 (pow_test_towardzero): Likewise.
17763 (pow_test_downward): Likewise.
17764 (pow_test_upward): Likewise.
17765 (main): Call the new functions.
17766 * sysdeps/i386/fpu/libm-test-ulps: Update.
17767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17768
17769 [BZ #3976]
17770 * math/libm-test.inc (cosh_test_tonearest): New function.
17771 (cosh_test_towardzero): Likewise.
17772 (cosh_test_downward): Likewise.
17773 (cosh_test_upward): Likewise.
17774 (sinh_test_tonearest): Likewise.
17775 (sinh_test_towardzero): Likewise.
17776 (sinh_test_downward): Likewise.
17777 (sinh_test_upward): Likewise.
17778 (main): Call the new functions.
17779 * sysdeps/i386/fpu/libm-test-ulps: Update.
17780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17781
6c6a98c9
TV
177822012-03-05 Tom de Vries <tom@codesourcery.com>
17783
17784 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17785 default stack guard is set in last bytes.
17786 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17787
21bb2d2e 177882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17789
21bb2d2e 17790 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17791
21bb2d2e
AJ
17792 [BZ #13656]
17793 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17794 possibly allocate from heap instead of stack.
17795 * stdio-common/bug-vfprintf-nargs.c: New file.
17796 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17797
c6922934
AS
177982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17799
17800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17801
bc957d53
MP
178022012-03-03 Marek Polacek <polacek@redhat.com>
17803
17804 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17805 * math/math_private.h: Likewise.
17806 * stdlib/tst-strtod.c: Likewise.
17807 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17808 * sysdeps/x86_64/bits/atomic.h: Likewise.
17809
6358490d
DM
178102012-03-02 David S. Miller <davem@davemloft.net>
17811
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17816 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17817 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17818 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17819 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17820
01ae168d
RM
178212012-03-02 Roland McGrath <roland@hack.frob.com>
17822
d9a17c07
RM
17823 [BZ #13792]
17824 * manual/examples/README: New file, says the example source files
17825 can be used under GPL>=2.
17826 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17827 line containing just "*/".
17828 * manual/examples/add.c: Add copyright header (GPL>=2).
17829 * manual/examples/argp-ex1.c: Likewise.
17830 * manual/examples/argp-ex2.c: Likewise.
17831 * manual/examples/argp-ex3.c: Likewise.
17832 * manual/examples/argp-ex4.c: Likewise.
17833 * manual/examples/atexit.c: Likewise.
17834 * manual/examples/db.c: Likewise.
17835 * manual/examples/dir.c: Likewise.
17836 * manual/examples/dir2.c: Likewise.
17837 * manual/examples/execinfo.c: Likewise.
17838 * manual/examples/filecli.c: Likewise.
17839 * manual/examples/filesrv.c: Likewise.
17840 * manual/examples/fmtmsgexpl.c: Likewise.
17841 * manual/examples/genpass.c: Likewise.
17842 * manual/examples/inetcli.c: Likewise.
17843 * manual/examples/inetsrv.c: Likewise.
17844 * manual/examples/isockad.c: Likewise.
17845 * manual/examples/longopt.c: Likewise.
17846 * manual/examples/memopen.c: Likewise.
17847 * manual/examples/memstrm.c: Likewise.
17848 * manual/examples/mkfsock.c: Likewise.
17849 * manual/examples/mkisock.c: Likewise.
17850 * manual/examples/mygetpass.c: Likewise.
17851 * manual/examples/pipe.c: Likewise.
17852 * manual/examples/popen.c: Likewise.
17853 * manual/examples/rprintf.c: Likewise.
17854 * manual/examples/search.c: Likewise.
17855 * manual/examples/select.c: Likewise.
17856 * manual/examples/setjmp.c: Likewise.
17857 * manual/examples/sigh1.c: Likewise.
17858 * manual/examples/sigusr.c: Likewise.
17859 * manual/examples/stpcpy.c: Likewise.
17860 * manual/examples/strdupa.c: Likewise.
17861 * manual/examples/strftim.c: Likewise.
17862 * manual/examples/strncat.c: Likewise.
17863 * manual/examples/subopt.c: Likewise.
17864 * manual/examples/swapcontext.c: Likewise.
17865 * manual/examples/termios.c: Likewise.
17866 * manual/examples/testopt.c: Likewise.
17867 * manual/examples/testpass.c: Likewise.
17868 * manual/examples/timeval_subtract.c: Likewise.
17869
01ae168d
RM
17870 [BZ #13792]
17871 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17872 function to ...
17873 * manual/timeval_subtract.c.texi: ... here, new file.
17874
49efa33d
DM
178752012-03-02 David S. Miller <davem@davemloft.net>
17876
17877 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17878
28afd92d
JM
178792012-03-02 Joseph Myers <joseph@codesourcery.com>
17880
804360ed
JM
17881 [BZ #3976]
17882 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17883 (__sin): Save and restore rounding mode and use round-to-nearest
17884 for all computations.
17885 (__cos): Save and restore rounding mode and use round-to-nearest
17886 for all computations.
17887 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17888 <fenv.h>.
17889 (tan): Save and restore rounding mode and use round-to-nearest for
17890 all computations.
17891 * math/libm-test.inc (cos_test_tonearest): New function.
17892 (cos_test_towardzero): Likewise.
17893 (cos_test_downward): Likewise.
17894 (cos_test_upward): Likewise.
17895 (sin_test_tonearest): Likewise.
17896 (sin_test_towardzero): Likewise.
17897 (sin_test_downward): Likewise.
17898 (sin_test_upward): Likewise.
17899 (tan_test_tonearest): Likewise.
17900 (tan_test_towardzero): Likewise.
17901 (tan_test_downward): Likewise.
17902 (tan_test_upward): Likewise.
17903 (main): Call the new functions.
17904 * sysdeps/i386/fpu/libm-test-ulps: Update.
17905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17906
a6d06d7b
JM
17907 [BZ #10135]
17908 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17909 small n, then large n, before computing and testing k+n.
17910 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17912 Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17914 Likewise.
17915 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17916 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17917 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17918 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17919 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17920 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17921 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17922 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17923 * math/libm-test.inc (scalbn_test): Add more tests.
17924 (scalbln_test): Likewise.
17925
07e12bb3
JM
17926 * manual/filesys.texi (mode_t): Describe constraints on size and
17927 signedness, not exact equivalence to a particular type.
17928 (ino_t): Likewise.
17929 (ino64_t): Likewise.
17930 (dev_t): Likewise.
17931 (nlink_t): Likewise.
17932 (blkcnt_t): Likewise.
17933 (blkcnt64_t): Likewise.
17934 * manual/llio.texi (off_t): Likewise.
17935
28afd92d
JM
17936 [BZ #3976]
17937 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17938 (__ieee754_exp): Save and restore rounding mode and use
17939 round-to-nearest for all computations.
17940 * math/libm-test.inc (exp_test_tonearest): New function.
17941 (exp_test_towardzero): Likewise.
17942 (exp_test_downward): Likewise.
17943 (exp_test_upward): Likewise.
17944 (main): Call the new functions.
17945 * sysdeps/i386/fpu/libm-test-ulps: Update.
17946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17947
b1eeb65d
CD
179482012-03-01 Chris Demetriou <cgd@google.com>
17949
17950 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17951 have predictable order.
17952
53362a4b
DM
179532012-03-01 David S. Miller <davem@davemloft.net>
17954
3c969083
DM
17955 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17956
759707de
DM
17957 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17958 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17959 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17960 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17961
dfdb8ff2
DM
17962 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17963 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17964 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17966 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17967 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17968 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17969 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17970 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17971
ead89f96
DM
17972 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17973
7f66bd07
DM
17974 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17975 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17976 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17977
53362a4b
DM
17978 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17980 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17981 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17982 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17983 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17984 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17985 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17986 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17987 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17988 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17989 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17990 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17991 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17992 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17993 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17994 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17995 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17996 * sysdeps/sparc/elf/configure: Regenerated.
17997
7b1902cb
JM
179982012-03-01 Joseph Myers <joseph@codesourcery.com>
17999
bec039bc
JM
18000 * configure.in (AS, LD): Require binutils 2.20 or later.
18001 * configure: Regenerated.
18002 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18003 as required minimum version.
18004 * INSTALL: Regenerated.
18005
7b1902cb
JM
18006 [BZ #2541]
18007 [BZ #4108]
18008 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18009 before squaring exponent.
18010 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18011 bottom long double and 27 bits of top long double before squaring
18012 exponent.
18013 * math/libm-test.inc (erfc_test): Add more tests.
18014 * sysdeps/i386/fpu/libm-test-ulps: Update.
18015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18017
f775c276
KT
180182012-03-01 Kai Tietz <ktietz@redhat.com>
18019
18020 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18021 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18022 containing bit-fields.
18023 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18024 * soft-fp/single.h (_FP_UNION_S): Likewise.
18025 * soft-fp/double.h (_FP_UNION_D): Likewise.
18026
5b8a4d4a
JM
180272012-02-29 Joseph Myers <joseph@codesourcery.com>
18028
0bab47b6
JM
18029 [BZ #13786]
18030 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18031 not include ../strcmp.S.
18032 [USE_AS_STRNCASECMP_L]: Likewise.
18033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18034 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18035 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18036 (__strncasecmp_l_ia32): Define as alias to
18037 __strncasecmp_l_nonascii.
18038
0fcad3e2
JM
18039 [BZ #5794]
18040 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18041 * sysdeps/i386/fpu/libm-test-ulps: Update.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18043
5b8a4d4a
JM
18044 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18046
8fdceb2e
JL
180472012-02-29 Jeff Law <law@redhat.com>
18048
18049 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18050 out of bounds read.
18051
1f393a11
MP
180522012-02-29 Marek Polacek <polacek@redhat.com>
18053
18054 [BZ #13706]
18055 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18056 * elf/Makefile: Add rules to run tst-unused-dep.out.
18057
8847f037
DM
180582012-02-28 David S. Miller <davem@davemloft.net>
18059
18060 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18061 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18062 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18063 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18064 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18065 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18066
169d7f11
JM
180672012-02-29 Joseph Myers <joseph@codesourcery.com>
18068
18069 * math/libm-test.inc (llround_test): Move one test from
18070 lround_test. Use TEST_f_L in moved test.
18071 (lround_test): Move misplaced test to llround_test. Add testcase
18072 from bug 2561.
18073
39adf059
UD
180742012-02-28 Ulrich Drepper <drepper@gmail.com>
18075
18076 * sysdeps/x86_64/fpu/e_expf.S: New file.
18077 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18078
71b5d1c5
SB
180792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18080
18081 [BZ #13637]
18082 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18083 of remain_len that may cause incomplete multi-byte character and
18084 false match.
18085 * posix/bug-regex33.c: New file.
18086 * posix/Makefile (tests): Add bug-regex33.
18087
1f77f049
JM
180882012-02-28 Joseph Myers <joseph@codesourcery.com>
18089
18090 * manual/macros.texi: New file.
18091 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18092 * manual/libc.texinfo: Include macros.texi.
18093 * manual/creatute.texi: Likewise.
18094 * manual/install.texi: Likewise.
18095 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18096 @glibcadj{} in references to the GNU C Library.
18097 * manual/charset.texi: Likewise.
18098 * manual/conf.texi: Likewise.
18099 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18100 when not using those macros.
18101 * manual/creature.texi: Likewise.
18102 * manual/crypt.texi: Likewise.
18103 * manual/errno.texi: Likewise.
18104 * manual/filesys.texi: Likewise.
18105 * manual/header.texi: Likewise.
18106 * manual/install.texi: Likewise.
18107 * manual/intro.texi: Likewise.
18108 * manual/io.texi: Likewise.
18109 * manual/job.texi: Likewise.
18110 * manual/lang.texi: Likewise.
18111 * manual/libc.texiinfo: Likewise.
18112 * manual/llio.texi: Likewise.
18113 * manual/locale.texi: Likewise.
18114 * manual/maint.texi: Likewise.
18115 * manual/math.texi: Likewise.
18116 * manual/memory.texi: Likewise.
18117 * manual/message.texi: Likewise.
18118 * manual/nss.texi: Likewise.
18119 * manual/pattern.texi: Likewise.
18120 * manual/process.texi: Likewise.
18121 * manual/resource.texi: Likewise.
18122 * manual/search.texi: Likewise.
18123 * manual/setjmp.texi: Likewise.
18124 * manual/signal.texi: Likewise.
18125 * manual/socket.texi: Likewise.
18126 * manual/startup.texi: Likewise.
18127 * manual/stdio.texi: Likewise.
18128 * manual/string.texi: Likewise.
18129 * manual/sysinfo.texi: Likewise.
18130 * manual/syslog.texi: Likewise.
18131 * manual/terminal.texi: Likewise.
18132 * manual/time.texi: Likewise.
18133 * manual/users.texi: Likewise.
18134 * INSTALL: Regenerated.
18135 * NOTES: Regenerated.
d40c5d54 18136 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18137
450bf206
AS
181382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18139
18140 * include/dirent.h: Include <dirstream.h> before
18141 <dirent/dirent.h>.
18142
741a235b
DM
181432012-02-28 David S. Miller <davem@davemloft.net>
18144
18145 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18146 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18147 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18148 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18149
d6b5aa58
DM
181502012-02-27 David S. Miller <davem@davemloft.net>
18151
1aff59a3
DM
18152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18154 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18156
d6b5aa58
DM
18157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18158 frame pointer instead of stack pointer relative arg slot.
18159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18160 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18161 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18162
433f48bf
CD
181632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18164
18165 [BZ #3992]
18166 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18167
d674b76d
DM
181682012-02-27 David S. Miller <davem@davemloft.net>
18169
18170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18171 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18172 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18173 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18174 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18175 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18176 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18177 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18178
0e7727f7
JM
181792012-02-27 Joseph Myers <joseph@codesourcery.com>
18180
18181 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18182 later. Allow versions 5-9.
43be4ca2 18183 * configure: Regenerated.
0e7727f7
JM
18184 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18185 required minimum version and 4.6 as recommended version. Do not
18186 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18187 * INSTALL: Regenerated.
0e7727f7 18188
a78bc654
DM
181892012-02-27 David S. Miller <davem@davemloft.net>
18190
428d5830
DM
18191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18197 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18198 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18199
a78bc654
DM
18200 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18201 manipulate bits before adding and subtracting TWO112[sx].
18202 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18203
4579f81c
RM
182042012-02-27 Roland McGrath <roland@hack.frob.com>
18205
36c8acb4
RM
18206 [BZ #13775]
18207 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18208 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18209 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18210 being in POSIX, because they are in 1003.1-2008.
18211
84ad622b
RM
18212 * rt/tst-aio.c: Include <fcntl.h>.
18213 * rt/tst-aio7.c: Likewise.
18214 * rt/tst-aio64.c: Likewise.
18215
4579f81c
RM
18216 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18217
abd923db
JM
182182012-02-27 Joseph Myers <joseph@codesourcery.com>
18219
18220 * manual/install.texi (--with-headers): Describe headers as
18221 interface headers, not private headers.
18222 (Specific advice for GNU/Linux systems): Describe use of headers
18223 from "make headers_install", not private headers from older
18224 kernels.
43be4ca2 18225 * INSTALL: Regenerated.
abd923db
JM
18226 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18227 Change to 2.6.19.
18228 * sysdeps/unix/sysv/linux/configure: Regenerated.
18229
6664049b
JM
18230 * manual/llio.texi (fclean): Remove documentation.
18231
bb8b6697
JM
18232 * manual/Makefile (libc-texi-generated): New variable. Include
18233 version.texi.
18234 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18235 $(libc-texi-generated), not duplicated list of files.
18236 (version.texi, stamp-version): New rules.
18237 (realclean): Remove $(libc-texi-generated), not individual files
18238 from that list. Do not remove dir-add.texinfo.
18239 * manual/libc.texinfo: Comment out uses of edition numbers and
18240 references to printed manual. Remove last-updated dates.
18241 (EDITION): Comment out.
18242 (ISBN): Likewise.
18243 (VERSION, UPDATED): Remove.
18244 (version.texi): Include.
18245
12e5c3b9
AS
182462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18247
18248 * sysdeps/posix/spawni.c: Include <signal.h>.
18249 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18250 * sysdeps/pthread/aio_fsync.c: Likewise.
18251
4efeffc1 182522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18253
ba63ba08
UD
18254 * conform/Makefile (tests): Run only when not cross-compiling and
18255 when fast-check is not defined.
18256
d94a4670
UD
18257 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18258 * conform/data/limits.h-data: Fixes for POSIX2008.
18259 * conform/run-conformtest.sh: Run all tests.
18260 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18261 headers.
18262 * include/bits/dlfcn.h: Likewise.
18263 * include/langinfo.h: Likewise.
18264 * include/monetary.h: Likewise.
18265 * include/sys/poll.h: Likewise.
18266
18267 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18268 for __USE_GNU.
18269 * posix/spawn.h: Define __need_sigset_t.
18270 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18271 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18272 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18273 to get sigevent_t only.
18274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18275 only for __USE_GNU.
18276 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18277 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18278 process_vm_writev only for __USE_GNU.
18279 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18280
18281 * conform/Makefile: For now ignore errors from run-conformtest.
18282 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18283 POSIX to avoid namespace pollution. Don't prepend headers.
18284 * conform/data/aio.h-data: Fixes for POSIX testing.
18285 * conform/data/fcntl.h-data: Likewise.
18286 * conform/data/glob.h-data: Likewise.
18287 * conform/data/grp.h-data: Likewise.
18288 * conform/data/pthread.h-data: Likewise.
18289 * conform/data/pwd.h-data: Likewise.
18290 * conform/data/signal.h-data: Likewise.
18291 * conform/data/spawn.h-data: Likewise.
18292 * conform/data/stdio.h-data: Likewise.
18293 * conform/data/stdlib.h-data: Likewise.
18294 * conform/data/stropts.h-data: Likewise.
18295 * conform/data/sys/mman.h-data: Likewise.
18296 * conform/data/sys/stat.h-data: Likewise.
18297 * conform/data/sys/types.h-data: Likewise.
18298 * conform/data/sys/wait.h-data: Likewise.
18299 * conform/data/time.h-data: Likewise.
18300 * conform/data/unistd.h-data: Likewise.
18301 * conform/data/utime.h-data: Likewise.
18302
18303 * io/sys/stat.h: fchmod was always in POSIX.
18304 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18305 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18306 * rt/aio.h: Define __need_timespec before including <time.h>.
18307 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18308 struct. Add forward declaration of pthread_attr_t and use it in
18309 sigevent.
18310 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18311 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18312 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18313 always remove CLK_TCK definition.
18314
c20105c3
AS
183152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18316
18317 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18318
7a270350
UD
183192012-02-25 Ulrich Drepper <drepper@gmail.com>
18320
31341567
UD
18321 * conform/run-conformtest.sh: New file.
18322 * conform/Makefile: Run run-conformtest for tests.
18323 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18324 support.
18325
18326 * conform/data/uchar.h-data: New file.
18327 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18328 * conform/data/arpa/inet.h-data: Likewise.
18329 * conform/data/assert.h-data: Likewise.
18330 * conform/data/complex.h-data: Likewise.
18331 * conform/data/cpio.h-data: Likewise.
18332 * conform/data/ctype.h-data: Likewise.
18333 * conform/data/dirent.h-data: Likewise.
18334 * conform/data/dlfcn.h-data: Likewise.
18335 * conform/data/errno.h-data: Likewise.
18336 * conform/data/fcntl.h-data: Likewise.
18337 * conform/data/float.h-data: Likewise.
18338 * conform/data/fmtmsg.h-data: Likewise.
18339 * conform/data/fnmatch.h-data: Likewise.
18340 * conform/data/ftw.h-data: Likewise.
18341 * conform/data/glob.h-data: Likewise.
18342 * conform/data/grp.h-data: Likewise.
18343 * conform/data/iconv.h-data: Likewise.
18344 * conform/data/inttypes.h-data: Likewise.
18345 * conform/data/langinfo.h-data: Likewise.
18346 * conform/data/libgen.h-data: Likewise.
18347 * conform/data/limits.h-data: Likewise.
18348 * conform/data/locale.h-data: Likewise.
18349 * conform/data/math.h-data: Likewise.
18350 * conform/data/monetary.h-data: Likewise.
18351 * conform/data/mqueue.h-data: Likewise.
18352 * conform/data/ndbm.h-data: Likewise.
18353 * conform/data/net/if.h-data: Likewise.
18354 * conform/data/netdb.h-data: Likewise.
18355 * conform/data/netinet/in.h-data: Likewise.
18356 * conform/data/nl_types.h-data: Likewise.
18357 * conform/data/poll.h-data: Likewise.
18358 * conform/data/pthread.h-data: Likewise.
18359 * conform/data/pwd.h-data: Likewise.
18360 * conform/data/regex.h-data: Likewise.
18361 * conform/data/sched.h-data: Likewise.
18362 * conform/data/search.h-data: Likewise.
18363 * conform/data/semaphore.h-data: Likewise.
18364 * conform/data/setjmp.h-data: Likewise.
18365 * conform/data/signal.h-data: Likewise.
18366 * conform/data/spawn.h-data: Likewise.
18367 * conform/data/stdarg.h-data: Likewise.
18368 * conform/data/stdio.h-data: Likewise.
18369 * conform/data/stdlib.h-data: Likewise.
18370 * conform/data/string.h-data: Likewise.
18371 * conform/data/strings.h-data: Likewise.
18372 * conform/data/stropts.h-data: Likewise.
18373 * conform/data/sys/ipc.h-data: Likewise.
18374 * conform/data/sys/mman.h-data: Likewise.
18375 * conform/data/sys/msg.h-data: Likewise.
18376 * conform/data/sys/resource.h-data: Likewise.
18377 * conform/data/sys/select.h-data: Likewise.
18378 * conform/data/sys/sem.h-data: Likewise.
18379 * conform/data/sys/shm.h-data: Likewise.
18380 * conform/data/sys/socket.h-data: Likewise.
18381 * conform/data/sys/stat.h-data: Likewise.
18382 * conform/data/sys/statvfs.h-data: Likewise.
18383 * conform/data/sys/time.h-data: Likewise.
18384 * conform/data/sys/timeb.h-data: Likewise.
18385 * conform/data/sys/times.h-data: Likewise.
18386 * conform/data/sys/types.h-data: Likewise.
18387 * conform/data/sys/uio.h-data: Likewise.
18388 * conform/data/sys/un.h-data: Likewise.
18389 * conform/data/sys/utsname.h-data: Likewise.
18390 * conform/data/sys/wait.h-data: Likewise.
18391 * conform/data/syslog.h-data: Likewise.
18392 * conform/data/tar.h-data: Likewise.
18393 * conform/data/termios.h-data: Likewise.
18394 * conform/data/utime.h-data: Likewise.
18395 * conform/data/utmpx.h-data: Likewise.
18396 * conform/data/varargs.h-data: Likewise.
18397 * conform/data/wchar.h-data: Likewise.
18398 * conform/data/wctype.h-data: Likewise.
18399 * conform/data/wordexp.h-data: Likewise.
18400
18401 * include/stropts.h: New file.
18402 * include/uchar.h: New file.
18403 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18404 * include/assert.h: Likewise.
18405 * include/ctype.h: Likewise.
18406 * include/dirent.h: Likewise.
18407 * include/dlfcn.h: Likewise.
18408 * include/fcntl.h: Likewise.
18409 * include/fnmatch.h: Likewise.
18410 * include/glob.h: Likewise.
18411 * include/grp.h: Likewise.
18412 * include/libio.h: Likewise.
18413 * include/locale.h: Likewise.
18414 * include/math.h: Likewise.
18415 * include/net/if.h: Likewise.
18416 * include/netdb.h: Likewise.
18417 * include/netinet/in.h: Likewise.
18418 * include/pthread.h: Likewise.
18419 * include/pwd.h: Likewise.
18420 * include/regex.h: Likewise.
18421 * include/sched.h: Likewise.
18422 * include/search.h: Likewise.
18423 * include/setjmp.h: Likewise.
18424 * include/signal.h: Likewise.
18425 * include/stdio.h: Likewise.
18426 * include/stdlib.h: Likewise.
18427 * include/string.h: Likewise.
18428 * include/sys/cdefs.h: Likewise.
18429 * include/sys/mman.h: Likewise.
18430 * include/sys/msg.h: Likewise.
18431 * include/sys/resource.h: Likewise.
18432 * include/sys/select.h: Likewise.
18433 * include/sys/socket.h: Likewise.
18434 * include/sys/stat.h: Likewise.
18435 * include/sys/statvfs.h: Likewise.
18436 * include/sys/time.h: Likewise.
18437 * include/sys/times.h: Likewise.
18438 * include/sys/uio.h: Likewise.
18439 * include/sys/utsname.h: Likewise.
18440 * include/sys/wait.h: Likewise.
18441 * include/termios.h: Likewise.
18442 * include/time.h: Likewise.
18443 * include/ulimit.h: Likewise.
18444 * include/unistd.h: Likewise.
18445 * include/utime.h: Likewise.
18446 * include/wchar.h: Likewise.
18447 * include/wctype.h: Likewise.
18448 * include/wordexp.h: Likewise.
18449
18450 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18451
7a270350
UD
18452 * time/time.h: TIME_UTC must be a macro.
18453 Make timespec_get available for ISO C11 only as well.
18454
7724defc
UD
184552012-02-24 Ulrich Drepper <drepper@gmail.com>
18456
18457 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18458 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18459
6b1d1d46
JM
184602012-02-24 Joseph Myers <joseph@codesourcery.com>
18461
18462 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18463
0f8bbd69
JM
184642012-02-24 Joseph Myers <joseph@codesourcery.com>
18465
18466 * manual/texinfo.tex: Update to version 2012-01-19.16.
18467
66ab80bc
JM
184682012-02-24 Joseph Myers <joseph@codesourcery.com>
18469
18470 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18471
74981cc5
RM
184722012-02-24 Roland McGrath <roland@hack.frob.com>
18473
ee968201
RM
18474 [BZ #13738]
18475 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18476 * manual/fdl-1.3.texi: New file.
18477 * manual/fdl-1.1.texi: File removed.
18478
74981cc5
RM
18479 [BZ #13738]
18480 * manual/libc.texinfo (FDL_VERSION): New @set.
18481 Use it for mention of FDL in cover text.
18482 (Documentation License): Use it in @include file name.
18483
7bb764bc
JM
184842012-02-22 Joseph Myers <joseph@codesourcery.com>
18485 Roland McGrath <roland@hack.frob.com>
18486
18487 [BZ #5461]
18488 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18489 not LONG_LONG_MAX and LONG_LONG_MIN.
18490 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18491 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18492 name.
18493 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18494
6cbeae47
JM
184952012-02-22 Joseph Myers <joseph@codesourcery.com>
18496
18497 [BZ #2547]
18498 [BZ #11365]
18499 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18500 manipulate bits before adding and subtracting TWO23[sx].
18501 * math/libm-test.inc (nearbyint_test): Add more tests.
18502
fe45ce09
JM
185032012-02-22 Joseph Myers <joseph@codesourcery.com>
18504
18505 [BZ #2548]
18506 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18507 bits before adding and subtracting TWO23[sx].
18508 * math/libm-test.inc (rint_test): Add more tests.
18509 (rint_test_tonearest): Likewise.
18510 (rint_test_towardzero): Likewise.
18511 (rint_test_downward): Likewise.
18512 (rint_test_upward: Likewise.
18513
ff3b3d82
JM
185142012-02-22 Joseph Myers <joseph@codesourcery.com>
18515
18516 [BZ #10110]
18517 * include/stdc-predef.h: New file. Extracted from features.h.
18518 * include/features.h: Include stdc-predef.h.
18519 * Makefile (headers): Add stdc-predef.h.
18520 * CONFORMANCE (Compiler limitations): Update.
18521
ef0aab35
JM
185222012-02-22 Joseph Myers <joseph@codesourcery.com>
18523
18524 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18525
58639409
DM
185262012-02-21 David S. Miller <davem@davemloft.net>
18527
18528 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18529 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18530
c0e70b25
DM
185312012-02-20 David S. Miller <davem@davemloft.net>
18532
18533 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18534 using a normal save/restore sequence, rather than allocating a
18535 dummy stack frame just to store a frame pointer and restore.
18536 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18537
fb06851d
JM
185382012-02-21 Joseph Myers <joseph@codesourcery.com>
18539
18540 * manual/install.texi: Fix stray word in line-wrapped comment.
18541
7a8b71c3
DM
185422012-02-20 David S. Miller <davem@davemloft.net>
18543
d510c123
DM
18544 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18545 both binutils and gcc support GOTDATA.
18546
0722d7c2
DM
18547 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18548 "rd %pc" in the PIC register setup sequences.
18549
3d2b3019
DM
18550 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18551 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18552 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18553 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18554 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18555 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18556 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18557 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18559 (SYSCALL_ERROR_HANDLER): Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18561 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18562 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18563 (SYSCALL_ERROR_HANDLER): Likewise.
18564
c80098a9
DM
18565 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18566 (HAVE_GCC_GOTDATA): New.
18567 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18568 relocation support in both binutils and gcc.
18569 * sysdeps/sparc/elf/configure: Regenerate.
18570
3a2545a0
DM
18571 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18572 * sysdeps/sparc/sparc32/elf/configure: Delete.
18573 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18574 * sysdeps/sparc/sparc64/elf/configure: Delete.
18575 * sysdeps/sparc/elf/configure.in: New file.
18576 * sysdeps/sparc/elf/configure: Generate.
18577
7a8b71c3
DM
18578 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18579 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18580 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18581 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18582 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18583
f1e86fca
JM
185842012-02-21 Joseph Myers <joseph@codesourcery.com>
18585
18586 * manual/install.texi: Do not mention specific glibc version
18587 numbers.
18588 * manual/libc.texinfo (VERSION, UPDATED): Update.
18589 (@copying): Use @copyright{} and range of years.
18590
0e7dfaef
JM
185912012-02-21 Joseph Myers <joseph@codesourcery.com>
18592
18593 [BZ #13695]
18594 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18595 [crti.S not in sysdirs] (generated): Do not append.
18596 [crti.S not in sysdirs] (omit-deps): Likewise.
18597 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18598 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18599 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18600 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18601 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18602 Likewise.
18603 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18604 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18605 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18606 * csu/defs.awk: Remove file.
18607 * sysdeps/generic/initfini.c: Likewise.
18608 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18609 variable.
18610 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18611 Likewise.
18612
599af3ca
JM
186132012-02-20 Joseph Myers <joseph@codesourcery.com>
18614
18615 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18616 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18617 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18618 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18620 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18621 <bits/epoll.h>.
18622 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18623 (__EPOLL_PACKED): Define to empty if not defined by
18624 <bits/epoll.h>.
18625 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18627 bits/epoll.h.
18628
0e499750
JM
186292012-02-20 Joseph Myers <joseph@codesourcery.com>
18630
18631 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18632 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18634 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18635 <bits/timerfd.h>.
18636 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18638 bits/timerfd.h.
18639
5ad91f6e
JM
186402012-02-20 Joseph Myers <joseph@codesourcery.com>
18641
18642 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18643 in C locale.
18644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18645 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18648
06b99b02
AJ
186492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18650
18651 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18652 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18653
7638c0fd
AS
186542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18657 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18658 defined.
18659 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18660 Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18662 entry for 2.16.
18663
92221550
AJ
186642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18665
18666 * math/w_acos.c: Use non-signaling floating-point comparisons.
18667 * math/w_acosf.c: Likewise.
18668 * math/w_acosh.c: Likewise.
18669 * math/w_acoshf.c: Likewise.
18670 * math/w_acoshl.c: Likewise.
18671 * math/w_acosl.c: Likewise.
18672 * math/w_asin.c: Likewise.
18673 * math/w_asinf.c: Likewise.
18674 * math/w_asinl.c: Likewise.
18675 * math/w_atanh.c: Likewise.
18676 * math/w_atanhf.c: Likewise.
18677 * math/w_atanhl.c: Likewise.
18678 * math/w_exp2.c: Likewise.
18679 * math/w_exp2f.c: Likewise.
18680 * math/w_exp2l.c: Likewise.
18681 * math/w_j0.c: Likewise.
18682 * math/w_j0f.c: Likewise.
18683 * math/w_j0l.c: Likewise.
18684 * math/w_j1.c: Likewise.
18685 * math/w_j1f.c: Likewise.
18686 * math/w_j1l.c: Likewise.
18687 * math/w_jn.c: Likewise.
18688 * math/w_jnf.c: Likewise.
18689 * math/w_log.c: Likewise.
18690 * math/w_log10.c: Likewise.
18691 * math/w_log10f.c: Likewise.
18692 * math/w_log10l.c: Likewise.
18693 * math/w_log2.c: Likewise.
18694 * math/w_log2f.c: Likewise.
18695 * math/w_log2l.c: Likewise.
18696 * math/w_logf.c: Likewise.
18697 * math/w_logl.c: Likewise.
18698 * math/w_sqrt.c: Likewise.
18699 * math/w_sqrtf.c: Likewise.
18700 * math/w_sqrtl.c: Likewise.
18701 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18702 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18703 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18704 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18705 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18706
ebaf36eb
JM
187072012-02-19 Joseph Myers <joseph@codesourcery.com>
18708
18709 [BZ #9739]
18710 * manual/string.texi (strnlen): Use correct parameter name in
18711 equivalent expression.
18712
71c254a6
JM
187132012-02-19 Joseph Myers <joseph@codesourcery.com>
18714
18715 [BZ #11174]
18716 * manual/users.texi (seteuid): Consistently use neweuid for
18717 argument name.
18718
16d2c631
JM
187192012-02-19 Joseph Myers <joseph@codesourcery.com>
18720
18721 [BZ #13704]
18722 * manual/nss.texi (Services in the NSS configuration): Correct
18723 list of services in example configuration file.
18724
cd837b09
NB
187252012-02-19 Nick Bowler <nbowler@draconx.ca>
18726
18727 [BZ #11322]
18728 * manual/arith.texi: Remove statements about negative zero
18729 behaving identically to zero.
18730
02c4bbad
JM
187312012-02-18 Joseph Myers <joseph@codesourcery.com>
18732
18733 [BZ #5993]
18734 * manual/install.texi: Do not document upgrading from libc5.
18735
366842e7
JM
187362012-02-18 Joseph Myers <joseph@codesourcery.com>
18737
18738 [BZ #4596]
18739 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18740
dd54084d
DM
187412012-02-18 David S. Miller <davem@davemloft.net>
18742
18743 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18744 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18745 %o7 across the call.
18746 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18747 instead.
18748 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18749 SETUP_PIC_REG_LEAF.
18750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18751 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18752 * sysdeps/sparc/crtn.S: Likewise.
18753
2bcc53a3
UD
187542012-02-17 Ulrich Drepper <drepper@gmail.com>
18755
18756 * aout/Makefile: Remove.
18757
09c093b5
RK
187582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18759
18760 [BZ #13058]
18761 * manual/examples/argp-ex1.c (main): Format definition in GNU
18762 style.
18763 * manual/examples/argp-ex2.c (main): Likewise.
18764 * manual/examples/argp-ex3.c (main): Likewise.
18765 * manual/examples/argp-ex4.c (main): Likewise.
18766 * manual/examples/longopt.c (main): Use new-style prototype
18767 definition.
18768 * manual/examples/strncat.c (main): Specify return type and use
18769 (void) for arguments.
18770 * manual/examples/subopt.c (main): Use char **argv argument.
18771
2ee633a2
JM
187722012-02-17 Joseph Myers <joseph@codesourcery.com>
18773
18774 [BZ #5077]
18775 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18776 rounding modes.
18777
0520adde
FB
187782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18779
18780 [BZ #6907]
18781 * manual/string.texi (strchr): Change when strchrnul is
18782 recommended.
18783
3f4081cd
DGM
187842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18785
18786 [BZ #174]
18787 * manual/locale.texi (setlocale): Document LOCPATH.
18788
d1b10e78
JM
187892012-02-17 Joseph Myers <joseph@codesourcery.com>
18790
18791 [BZ #10210]
18792 * manual/process.texi (execle): Move @dots{} before last argument.
18793
79c6869c
PB
187942012-02-17 Paul Bolle <pebolle@tiscali.nl>
18795
18796 [BZ #12047]
18797 * manual/charset.texi (Generic Charset Conversion): Fix typo
18798 (LC_TYPE -> LC_CTYPE).
18799
cc6e48bc
NB
188002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18801
18802 [BZ #5805]
18803 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18804 (scalbnf): Likewise.
18805 (scalbnl): Likewise.
18806 (scalbln): Likewise.
18807 (scalblnf): Likewise.
18808 (scalblnl): Likewise.
18809 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18810 (vwarnx): Likewise.
18811 (verr): Likewise.
18812 (verrx): Likewise.
18813 * manual/filesys.texi (telldir): Use braces around return type.
18814 * manual/llio.texi (mmap): Add space after comma.
18815 (mmap64): Likewise.
18816 * manual/math.texi (jn): Use @var{} on parameter names.
18817 (jnf): Likewise.
18818 (jnl): Likewise.
18819 (yn): Likewise.
18820 (ynf): Likewise.
18821 (ynl): Likewise.
18822 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18823 line.
18824 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18825 "...".
18826 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18827 (sched_get_priority_max): Likewise.
18828 * manual/signal.texi (sigvec): Add space after comma.
18829 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18830 names.
18831 (if_indextoname): Likewise.
18832 (if_freenameindex): Likewise.
18833 (sendto): Use ',' instead of '.' in prototype.
18834 * manual/startup.texi (syscall): Use @dots{} instead of literal
18835 "...".
18836 * manual/stdio.texi (__fpending): Separate initial words of
18837 paragraph from @deftypefun line.
18838 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18839 "...".
18840 (vsyslog): Use @var{} on parameter names.
18841 * manual/terminal.texi (stty): Use @var{} on parameter names.
18842 * manual/users.texi (getutmp): Use @var{} on parameter names.
18843 (getutmpx): Likewise.
18844
5b23062f
JM
188452012-02-17 Joseph Myers <joseph@codesourcery.com>
18846
18847 [BZ #6884]
18848 * manual/stdio.texi (fopen): Fix typos in description of
18849 ",ccs=STRING".
18850
8dee4833
AJ
188512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18852
18853 [BZ #4026]
18854 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18855 get clock_id definition.
18856
9078ce93
TS
188572012-02-17 Thomas Schwinge <thomas@schwinge.name>
18858
18859 [BZ #4822]
18860 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18861 (madvise): Cast every argument to void on its own.
18862
3835c55f
JM
188632012-02-17 Joseph Myers <joseph@codesourcery.com>
18864
18865 [BZ #9902]
18866 * manual/startup.texi (Exit Status): Fix typo.
18867
35c47e37
JM
188682012-02-17 Joseph Myers <joseph@codesourcery.com>
18869
18870 [BZ #10140]
18871 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18872 * manual/examples/argp-ex2.c: Likewise.
18873 * manual/examples/argp-ex3.c: Likewise.
18874
e3b69ca7
RH
188752012-02-16 Richard Henderson <rth@redhat.com>
18876
18877 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18878 * sysdeps/s390/s390-32/initfini.c: Remove.
18879 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18880 * sysdeps/s390/s390-64/initfini.c: Remove.
18881
df83af67
KK
188822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18883
18884 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18885 compiler output for sysdeps/generic/initfini.c.
18886 * sysdeps/sh/elf/initfini.c: Remove file.
18887
f63f3380
DM
188882012-02-16 David S. Miller <davem@davemloft.net>
18889
fb59b3a4
DM
18890 [BZ #11494]
18891 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18892
f63f3380
DM
18893 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18894 * sysdeps/sparc/crti.S: New file.
18895 * sysdeps/sparc/crtn.S: New file.
18896 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18897 * sysdeps/sparc/sparc64/Makefile: Likewise.
18898
df6a4a4a
MF
188992012-02-15 Mike Frysinger <vapier@gentoo.org>
18900
6dd8f3dc 18901 [BZ #3335]
df6a4a4a
MF
18902 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18903
1cac7236
RM
189042012-02-15 Roland McGrath <roland@hack.frob.com>
18905
d2c736f8
RM
18906 [BZ #4822]
18907 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18908
1cac7236
RM
18909 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18910 (write, read, close): Likewise.
18911 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18912
8e475601
JM
189132012-02-15 Joseph Myers <joseph@codesourcery.com>
18914
18915 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18916 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18917 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18918 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18919 <bits/signalfd.h>.
18920 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18921 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18922 bits/signalfd.h.
18923
ed656b40
MP
189242012-02-14 Marek Polacek <polacek@redhat.com>
18925
18926 * sysdeps/x86_64/crti.S: New file.
18927 * sysdeps/x86_64/crtn.S: New file.
18928 * sysdeps/x86_64/elf/initfini.c: Remove file.
18929
2a979d3a
JM
189302012-02-13 Joseph Myers <joseph@codesourcery.com>
18931
18932 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18933 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18934 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18935 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18936 <bits/inotify.h>.
18937 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18939 bits/inotify.h.
18940
2a418ac3
JM
189412012-02-13 Joseph Myers <joseph@codesourcery.com>
18942
18943 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18944 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18945 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18946 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18947 <bits/eventfd.h>.
18948 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18950 bits/eventfd.h.
18951
fb779be7
TS
189522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18953
e19e83c5
RM
18954 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18955 __feraiseexcept instead of feraiseexcept.
7c35ffed 18956
fb779be7
TS
18957 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18958 nanosleep invocations.
18959 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18960 strings, and add error checking for a nanosleep invocations.
18961
59ba27a6
PE
189622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18963
18964 Replace FSF snail mail address with URLs, as per GNU coding standards.
18965 Most of the snail mail addresses were wrong anyway, and omitting
18966 them makes the source code easier to maintain. Almost all of the
18967 changes are to license notices and to locale LC_IDENTIFICATION
18968 addresses, except for this one:
18969 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18970 not its snail mail address.
18971
57b957eb
RH
189722012-02-09 Richard Henderson <rth@twiddle.net>
18973
af850b1c
RH
18974 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18975 of kernel-features.h.
18976
57b957eb
RH
18977 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18978
6b73181a
MP
189792012-02-08 Marek Polacek <polacek@redhat.com>
18980
18981 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18982 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18983 * sysdeps/gnu/_G_config.h: Likewise.
18984 * sysdeps/generic/_G_config.h: Likewise.
18985
26ecc33a
AS
189862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18987
6c6dbc63
AS
18988 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18989 tests.
18990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18991
e216c012
AS
18992 * sysdeps/powerpc/powerpc32/crti.S: New file.
18993 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18994 * sysdeps/powerpc/powerpc64/crti.S: New file.
18995 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18996
26ecc33a
AS
18997 * Makeconfig (have-initfini): Don't set.
18998 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18999 * configure.in (nopic_initfini): Don't substitute.
19000 * config.h.in (HAVE_INITFINI): Don't #undef.
19001 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19002 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19003
3add8e13
JM
190042012-02-08 Joseph Myers <joseph@codesourcery.com>
19005
19006 Support crti.S and crtn.S provided directly by architectures.
19007 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19008 [crti.S in sysdirs] (omit-deps): Likewise.
19009 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19010 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19011 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19012 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19013 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19014 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19015 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19016 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19017 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19018 compiler output for sysdeps/generic/initfini.c.
19019 * sysdeps/i386/elf/Makefile: Remove file.
19020 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19021
a22f12b4
MP
190222012-02-07 Marek Polacek <polacek@redhat.com>
19023
19024 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19025 * sysdeps/gnu/_G_config.h: Likewise.
19026 * sysdeps/mach/hurd/_G_config.h: Likewise.
19027
148cf100
MP
190282012-02-07 Marek Polacek <polacek@redhat.com>
19029
19030 * math/Makefile (tests): Add tst-CMPLX2.
19031 * math/tst-CMPLX2.c: New file.
19032
cfdc0dd7
AS
190332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19034
84ba42c4
AS
19035 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19036
cfdc0dd7
AS
19037 * math/libm-test.inc (jn_test): Add missing L suffix.
19038
622c86f4
MP
190392012-02-06 Marek Polacek <polacek@redhat.com>
19040
19041 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19042 * sysdeps/i386/fpu/e_powf.S: Likewise.
19043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19045 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19046 * sysdeps/i386/fpu/e_pow.S: Likewise.
19047 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19048 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19049 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19050 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19051 * sysdeps/i386/fpu/e_log2.S: Likewise.
19052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19053 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19054 * sysdeps/i386/fpu/e_powl.S: Likewise.
19055 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19056 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19057 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19058 * sysdeps/i386/fpu/e_logl.S: Likewise.
19059 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19060 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19061 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19062 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19063 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19064 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19065 * sysdeps/i386/fpu/e_log.S: Likewise.
19066 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19067 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19068 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19069 * sysdeps/i386/fpu/e_logf.S: Likewise.
19070 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19071 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19072 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19073 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19074 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19075 * sysdeps/i386/fpu/e_log10.S: Likewise.
19076 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19078 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19079 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19080 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19081 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19082 * sysdeps/i386/asm-syntax.h: Likewise.
19083 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19084 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19085 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19086 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19087 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19088 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19089 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19090 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19091 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19092 * sysdeps/powerpc/sysdep.h: Likewise.
19093 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19095
d4a54ac6
JM
190962012-02-06 Joseph Myers <joseph@codesourcery.com>
19097
19098 [BZ #411]
19099 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19100
314054ea
JM
191012012-02-06 Joseph Myers <joseph@codesourcery.com>
19102
19103 * sysdeps/i386/sysdep.h: Include <features.h>.
19104 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19105 version.
19106
d8e0ca50
JM
191072012-02-05 Joseph Myers <joseph@codesourcery.com>
19108
19109 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19110 Define.
19111 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19112 LOAD_PIC_REG_STR.
19113
b1da7dd9
JM
191142012-02-03 Joseph Myers <joseph@codesourcery.com>
19115
19116 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19117 (SETUP_PIC_REG): Use GET_PC_THUNK.
19118 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19119 macro.
19120
9a1d9254
JM
191212012-02-03 Joseph Myers <joseph@codesourcery.com>
19122
19123 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19124 for non-PIC compilation.
19125 (SETUP_PIC_REG): Add .p2align directive.
19126 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19127 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19128 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19129 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19130 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19131 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19132 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19133 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19134 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19135 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19136 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19137 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19138 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19139 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19140 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19141 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19142 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19143 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19144 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19145 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19146 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19147 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19150 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19151 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19152 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19154 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19155 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19156 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19157 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19158 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19159 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19160 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19162 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19163 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19164 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19165 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19166 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19167
65dc3b75
JM
191682012-02-03 Joseph Myers <joseph@codesourcery.com>
19169
19170 * math/tst-CMPLX.c: Include <stdio.h>.
19171
d55bf177
JM
191722012-01-31 Joseph Myers <joseph@codesourcery.com>
19173
19174 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19175 float.
19176 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19177 * sysdeps/sparc/bits/mathdef.h: Likewise.
19178
69db4f8f
MP
191792012-01-31 Marek Polacek <polacek@redhat.com>
19180
19181 * libio/libio.h: Don't define _PARAMS.
19182 * locale/programs/config.h: Don't define PARAMS.
19183 * stdlib/strtol_l.c: Likewise.
19184 (__strtol_l): Remove PARAMS from the prototype.
19185
41b81892
UD
191862012-01-31 Ulrich Drepper <drepper@gmail.com>
19187
3b49edc0
UD
19188 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19189 names. Just use the correct names. Remove unnecessary wrapper
19190 functions.
19191 * malloc/arena.c: Likewise.
19192 * malloc/hooks.c: Likewise.
19193
41b81892
UD
19194 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19195 ARENA_TEST says not to. Simplify test for creation of a new arena.
19196 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19197
27a25b6e
UD
191982012-01-30 Ulrich Drepper <drepper@gmail.com>
19199
19200 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19201 into tail calls.
19202 (update_get_addr): New function.
19203 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19204 GET_ADDR_MODULE parameter.
19205
c8a89e7d
JM
192062012-01-30 Joseph Myers <joseph@codesourcery.com>
19207
19208 * crypt/cert.c: Remove __STDC__ conditionals.
19209 * crypt/crypt-entry.c: Likewise.
19210 * crypt/crypt_util.c: Likewise.
19211 * libio/filedoalloc.c: Likewise.
19212 * libio/fileops.c: Likewise.
19213 * libio/genops.c: Likewise.
19214 * libio/iofclose.c: Likewise.
19215 * libio/iofdopen.c: Likewise.
19216 * libio/iofopen.c: Likewise.
19217 * libio/iofopen64.c: Likewise.
19218 * libio/iogetdelim.c: Likewise.
19219 * libio/iopopen.c: Likewise.
19220 * libio/obprintf.c: Likewise.
19221 * libio/oldfileops.c: Likewise.
19222 * libio/oldiofclose.c: Likewise.
19223 * libio/oldiofdopen.c: Likewise.
19224 * libio/oldiofopen.c: Likewise.
19225 * libio/oldiopopen.c: Likewise.
19226 * libio/wfiledoalloc.c: Likewise.
19227 * libio/wgenops.c: Likewise.
19228 * locale/programs/xmalloc.c: Likewise.
19229 * misc/syslog.c: Likewise.
19230 * stdio-common/xbug.c: Likewise.
19231 * string/memchr.c: Likewise.
19232 * string/memcmp.c: Likewise.
19233 * string/memrchr.c: Likewise.
19234 * string/rawmemchr.c: Likewise.
19235 * sysdeps/posix/getcwd.c: Likewise.
19236 * time/strftime_l.c: Likewise.
19237
3b100462
JM
192382012-01-30 Joseph Myers <joseph@codesourcery.com>
19239
19240 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19241 * config.make.in (config-cflags-sse2avx): Define.
19242 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19243 Fix typo.
19244
607998af
CM
192452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19246
19247 * scripts/config.guess: Update from upstream config git repository.
19248 * scripts/config.sub: Likewise.
19249
3601428f
CM
192502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19251
3ac8b282
CM
19252 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19253 (EM_NUM): Update.
19254 (R_TILEPRO_*, R_TILEGX_*): New macros.
19255
e034841e
CM
19256 * scripts/firstversions.awk: Fix bug in version range handling.
19257
540d7568
CM
19258 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19259
3601428f
CM
19260 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19261
463de862
CM
19262 * include/sys/epoll.h: New file.
19263 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19264 libc_hidden_def.
19265
73139a76
UD
192662012-01-28 Ulrich Drepper <drepper@gmail.com>
19267
96bc5b45
UD
19268 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19269 Avoid unnecessary __WORDSIZE == 64 test.
19270 (fmaxf): Use VEX format if possible.
19271 (fmax): Likewise.
19272 (fminf): Likewise.
19273 (fmin): Likewise.
19274
56f6f6a2
UD
19275 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19276 * math/math_private.h: Remove libc_fegetround* and
19277 libc_fesetround*.
19278 * sysdeps/i386/configure.in: Check for -msse2avx.
19279 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19280 also if SSE2AVX is defined.
19281 Remove libc_fegetround* and libc_fesetround*.
19282 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19283 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19285 of HAS_YMM_USABLE.
19286 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19287 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19288 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19290 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19291
73139a76
UD
19292 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19293
d73f93a4
AZ
192942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19295
19296 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19297 size is not set.
19298 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19299
6ee65ed6
UD
193002012-01-27 Ulrich Drepper <drepper@gmail.com>
19301
19302 [BZ #13618]
19303 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19304 relocation.
19305 * Makeconfig (libm): Define.
19306 * elf/Makefile: Add rules to build and run tst-relsort1.
19307 * elf/tst-relsort1.c: New file.
19308 * elf/tst-relsort1mod1.c: New file.
19309 * elf/tst-relsort1mod2.c: New file.
19310
8db21882
JM
193112012-01-27 Joseph Myers <joseph@codesourcery.com>
19312
19313 * math/s_ldexp.c: Remove __STDC__ conditionals.
19314 * math/s_ldexpf.c: Likewise.
19315 * math/s_ldexpl.c: Likewise.
19316 * math/s_nextafter.c: Likewise.
19317 * math/s_nexttowardf.c: Likewise.
19318 * math/s_significand.c: Likewise.
19319 * math/s_significandf.c: Likewise.
19320 * math/s_significandl.c: Likewise.
19321 * math/w_jnl.c: Likewise.
19322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19327 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19328 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19329 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19330 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19331 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19332 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19334 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19335 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19336 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19337 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19338 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19339 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19341 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19342 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19343 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19344 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19345 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19346 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19347 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19348 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19349 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19350 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19351 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19352 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19353 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19354 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19355 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19356 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19358 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19359 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19360 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19361 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19362 * sysdeps/ieee754/k_standard.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19382 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19388 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19395 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19396 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19397 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19403 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19404 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19405 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19406 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19407 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19408 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19409 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19410 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19411 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19412 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19413 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19414 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19415 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19416 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19417 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19418 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19419 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19420 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19421 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19422 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19423 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19424 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19425 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19426 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19427 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19428 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19429 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19430 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19431 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19432 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19433 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19435 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19436 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19437 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19438 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19439 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19440 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19441 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19442 * sysdeps/ieee754/s_matherr.c: Likewise.
19443 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19444 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19447
965a54a4
JM
194482012-01-26 Joseph Myers <joseph@codesourcery.com>
19449
19450 * crypt/md5.h: Remove __STDC__ conditionals.
19451 * libio/libioP.h: Likewise.
19452 * locale/programs/config.h: Likewise.
19453 * sysdeps/generic/sysdep.h: Likewise.
19454 * sysdeps/i386/asm-syntax.h: Likewise.
19455 * sysdeps/s390/asm-syntax.h: Likewise.
19456 * sysdeps/unix/sysdep.h: Likewise.
19457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19459
7071ad79
JM
194602012-01-26 Joseph Myers <joseph@codesourcery.com>
19461
19462 * libio/libio.h: Remove __STDC__ conditionals.
19463 * malloc/obstack.h: Likewise.
19464 * math/complex.h: Likewise.
19465 * math/math.h: Likewise.
19466 * sysdeps/generic/_G_config.h: Likewise.
19467 * sysdeps/gnu/_G_config.h: Likewise.
19468 * sysdeps/mach/hurd/_G_config.h: Likewise.
19469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19471 * sysdeps/sparc/bits/mathdef.h: Likewise.
19472
afc5ed09
UD
194732012-01-26 Ulrich Drepper <drepper@gmail.com>
19474
19475 [BZ #13583]
19476 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19477 Clean up HAS_* macros.
afc5ed09 19478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19479 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19480 possible.
19481 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19482 HAS_AVX.
19483 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19484 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19485 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19486 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19487 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19488
bdb6de1d
JM
194892012-01-25 Joseph Myers <joseph@codesourcery.com>
19490
19491 * elf/tst-unique3.cc (gets): Remove declaration.
19492 * elf/tst-unique3lib.cc (gets): Likewise.
19493 * elf/tst-unique3lib2.cc (gets): Likewise.
19494 * elf/tst-unique4.cc (gets): Likewise.
19495
b15549e6
UD
194962012-01-24 Ulrich Drepper <drepper@gmail.com>
19497
19498 * include/stdio.h: Add C++ protection. Add gets declarations and
19499 definitions.
19500 * debug/tst-chk1.c: Don't declare gets here.
19501 * stdio-common/tst-gets.c: Likewise.
19502
a037381f
JM
195032012-01-24 Joseph Myers <joseph@codesourcery.com>
19504
19505 * posix/glob: Remove directory.
19506
f1d4aa75
JM
195072012-01-24 Joseph Myers <joseph@codesourcery.com>
19508
19509 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19510
81c0c964
PT
195112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19512
19513 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19514 of the non-standard EPFNOSUPPORT.
19515
0ea698ae
ST
195162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19517
19518 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19519 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19520 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19521
d220b117
UD
195222012-01-21 Ulrich Drepper <drepper@gmail.com>
19523
19524 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19525
3e1aa84e
UD
195262012-01-20 Ulrich Drepper <drepper@gmail.com>
19527
19528 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19529 transient errors.
19530 * nscd/grpcache.c (cache_addgr): Likewise.
19531 * nscd/hstcache.c (cache_addhst): Likewise.
19532 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19533 * nscd/pwdcache.c (cache_addpw): Likewise.
19534 * nscd/servicescache.c (cache_addserv): Likewise.
19535
400aa020
UD
195362012-01-16 Ulrich Drepper <drepper@gmail.com>
19537
d77e7869
UD
19538 * malloc/malloc.c: Various cleanups.
19539 * malloc/hooks.c: Likewise.
19540
400aa020
UD
19541 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19542 * stdlib/bug-fmtmsg1.c: New file.
19543
19544 * stdlib/fmtmsg.c (init): Add missing unlock.
19545 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19546
e0a309cf
MP
195472012-01-12 Marek Polacek <polacek@redhat.com>
19548
19549 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19550 and _GNU_SOURCE.
19551
929d11c7
WS
195522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19553
19554 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19555 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19556 macro to ensure uniqueness of label name.
19557 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19558 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19559
41d0e869
UD
195602012-01-11 Ulrich Drepper <drepper@gmail.com>
19561
0cc5ed3b
UD
19562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19563
41d0e869
UD
19564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19565 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19566 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19568
a47a831a
UD
195692012-01-10 Ulrich Drepper <drepper@gmail.com>
19570
daa891c0
UD
19571 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19572
19573 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19574 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19575 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19576
e58ef0f2
UD
19577 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19578
a47a831a 19579 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19580 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19581 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19583
19584 * math/bits/math-finite.h: Add ldexp support.
19585
a0bfc9c7
MP
195862012-01-10 Marek Polacek <polacek@redhat.com>
19587
19588 * locale/programs/localedef.h (show_archive_content): Add noreturn
19589 attribute.
19590
d6e97a1d
UD
195912012-01-09 Ulrich Drepper <drepper@gmail.com>
19592
19593 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19594
d5835c26
UD
195952012-01-08 Ulrich Drepper <drepper@gmail.com>
19596
e5f484c6
UD
19597 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19598
d5835c26
UD
19599 * io/Makefile (headers): Add bits/poll2.h.
19600
d1f741e9
WS
196012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19602
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19604 typo #include statement.
19605
ec09c1c4
UD
196062012-01-08 Ulrich Drepper <drepper@gmail.com>
19607
19608 * include/sys/cdefs.h: Define __attribute_alloc_size.
19609 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19610 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19611 * elf/pldd.c: Likewise.
19612 * iconv/iconv_charmap.c: Likewise.
19613 * iconv/iconvconfig.c: Likewise.
19614 * iconv/strtab.c: Likewise.
19615 * locale/programs/locale.c: Likewise.
19616 * locale/programs/localedef.h: Likewise.
19617 * locale/programs/simple-hash.c: Likewise.
19618 * nscd/nscd.h: Likewise.
19619 * nss/makedb.c: Likewise.
19620 * sysdeps/generic/ldconfig.h: Likewise.
19621 * locale/programs/localedef.c: Remove xmalloc prototype.
19622 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19623
20b38e03
PP
196242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19625
19626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19627 appropriate.
19628
a0da5fe1
UD
196292012-01-08 Ulrich Drepper <drepper@gmail.com>
19630
1d5a644a 19631 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19632 * math/tst-CMPLX.c: New file.
1d5a644a 19633
8784a6db
UD
19634 * math/complex.h (CMPLXL): Fix typo.
19635
d9a216c0
UD
19636 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19637 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19638 GLIBC_2.16.
19639 * debug/tst-chk1.c: Add poll and ppoll tests.
19640 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19641 * include/sys/poll.h: Add hidden proto for ppoll.
19642 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19643 * sysdeps/mach/hurd/ppoll.c: Likewise.
19644 * io/ppoll.c: Likewise.
19645 * debug/poll_chk.c: New file.
19646 * debug/ppoll_chk.c: New file.
19647 * include/bits/poll2.h: New file.
19648 * io/bits/poll2.h: New file.
19649
ac097f5c
UD
19650 [BZ #1350]
19651 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19652
2119dcfa
UD
19653 * configure.in: static is always set to yes. Remove.
19654 * config.make.in: Don't set build-static.
19655 * Makeconfig: Remove use of build-static.
19656 * dlfcn/Makefile: Likewise.
19657 * elf/Makefile: Likewise.
19658 * math/Makefile: Likewise.
19659 * misc/Makefile: Likewise.
19660 * nptl/Makefile: Likewise.
19661 * sysdeps/mach/hurd/Makefile: Likewise.
19662
121766a9
UD
19663 * configure.in: PWD_P is not used anymore.
19664 * config.make.in: Remove PWD_P entry.
19665
51a1d39c 19666 * configure.in: Remove last remnants of RANLIB.
8720d066 19667 No need to check for signed size_t anymore.
215f4bdc
UD
19668 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19669 and IA-64.
3857022a 19670 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19671 * aclocal.m4: Likewise.
19672
d3ed7225
UD
19673 * wcsmbs/mbrtoc16.c: Implement using towc function.
19674 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19675 * wcsmbs/wcsmbsload.c: Likewise.
19676 * iconv/gconv_simple.c: Likewise.
19677 * iconv/gconv_int.h: Likewise.
19678 * iconv/gconv_builtin.h: Likewise.
19679 * iconv/iconv_prog.c: Remove CHAR16 handling.
19680
19681 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19682
19683 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19684
a0da5fe1
UD
19685 * configure.in: Remove --with-elf and --enable-bounded options.
19686 Dont set base_machine for ia64. More non-ELF conditions removed.
19687 Remove testing and setting of leading underscore information.
19688 * config.make.in (build-bounded): Set to no.
19689 * config.h.in: Remove NO_UNDERSCORES entry.
19690 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19691 them.
19692 * csu/start.c: Remove !NO_UNDERSCORE code.
19693 * locale/localeinfo.h: Likewise.
19694 * sysdeps/generic/machine-gmon.h: Likewise.
19695 * sysdeps/generic/sysdep.h: Likewise.
19696 * sysdeps/i386/sysdep.h: Likewise.
19697 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19698 * sysdeps/mach/sysdep.h: Likewise.
19699 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19700 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19701 * sysdeps/sh/sysdep.h: Likewise.
19702 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19703 * sysdeps/unix/i386/sysdep.S: Likewise.
19704 * sysdeps/unix/sparc/start.c: Likewise.
19705 * sysdeps/unix/sparc/sysdep.S: Likewise.
19706 * sysdeps/unix/sparc/sysdep.h: Likewise.
19707 * sysdeps/unix/start.c: Likewise.
19708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19709 * sysdeps/x86_64/sysdep.h: Likewise.
19710
df78418a
UD
197112012-01-07 Ulrich Drepper <drepper@gmail.com>
19712
a784e502
UD
19713 [BZ #13553]
19714 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19715 for non-gcc.
19716 * argp/argp-fmtstream.h: Use const instead __const.
19717 * argp/argp.h: Likewise.
19718 * assert/assert.h: Likewise.
19719 * bits/fenv.h: Likewise.
19720 * bits/sched.h: Likewise.
19721 * bits/sigset.h: Likewise.
19722 * bits/sigthread.h: Likewise.
19723 * catgets/nl_types.h: Likewise.
19724 * conform/data/pthread.h-data: Likewise.
19725 * crypt/crypt-private.h: Likewise.
19726 * crypt/crypt.h: Likewise.
19727 * crypt/crypt_util.c: Likewise.
19728 * ctype/ctype.h: Likewise.
19729 * debug/execinfo.h: Likewise.
19730 * debug/mbsnrtowcs_chk.c: Likewise.
19731 * debug/mbsrtowcs_chk.c: Likewise.
19732 * debug/wcsnrtombs_chk.c: Likewise.
19733 * debug/wcsrtombs_chk.c: Likewise.
19734 * debug/wcstombs_chk.c: Likewise.
19735 * dirent/dirent.h: Likewise.
19736 * dlfcn/dlfcn.h: Likewise.
19737 * elf/neededtest4.c: Likewise.
19738 * grp/grp.h: Likewise.
19739 * gshadow/gshadow.h: Likewise.
19740 * iconv/gconv.h: Likewise.
19741 * iconv/gconv_int.h: Likewise.
19742 * iconv/gconv_simple.c: Likewise.
19743 * iconv/iconv.h: Likewise.
19744 * iconv/loop.c: Likewise.
19745 * iconv/skeleton.c: Likewise.
19746 * include/aio.h: Likewise.
19747 * include/aliases.h: Likewise.
19748 * include/argz.h: Likewise.
19749 * include/arpa/inet.h: Likewise.
19750 * include/assert.h: Likewise.
19751 * include/dirent.h: Likewise.
19752 * include/dlfcn.h: Likewise.
19753 * include/execinfo.h: Likewise.
19754 * include/fcntl.h: Likewise.
19755 * include/fenv.h: Likewise.
19756 * include/glob.h: Likewise.
19757 * include/grp.h: Likewise.
19758 * include/libintl.h: Likewise.
19759 * include/mntent.h: Likewise.
19760 * include/netdb.h: Likewise.
19761 * include/pwd.h: Likewise.
19762 * include/rpc/netdb.h: Likewise.
19763 * include/sched.h: Likewise.
19764 * include/search.h: Likewise.
19765 * include/shadow.h: Likewise.
19766 * include/signal.h: Likewise.
19767 * include/stdio.h: Likewise.
19768 * include/stdlib.h: Likewise.
19769 * include/string.h: Likewise.
19770 * include/sys/socket.h: Likewise.
19771 * include/sys/stat.h: Likewise.
19772 * include/sys/statfs.h: Likewise.
19773 * include/sys/statvfs.h: Likewise.
19774 * include/sys/syslog.h: Likewise.
19775 * include/sys/time.h: Likewise.
19776 * include/sys/uio.h: Likewise.
19777 * include/time.h: Likewise.
19778 * include/unistd.h: Likewise.
19779 * include/utmp.h: Likewise.
19780 * include/wchar.h: Likewise.
19781 * include/wctype.h: Likewise.
19782 * inet/aliases.h: Likewise.
19783 * inet/arpa/inet.h: Likewise.
19784 * inet/netinet/ether.h: Likewise.
19785 * inet/netinet/in.h: Likewise.
19786 * intl/libintl.h: Likewise.
19787 * io/bits/fcntl2.h: Likewise.
19788 * io/fcntl.h: Likewise.
19789 * io/ftw.h: Likewise.
19790 * io/sys/poll.h: Likewise.
19791 * io/sys/stat.h: Likewise.
19792 * io/sys/statfs.h: Likewise.
19793 * io/sys/statvfs.h: Likewise.
19794 * io/utime.h: Likewise.
19795 * libio/bits/stdio.h: Likewise.
19796 * libio/bits/stdio2.h: Likewise.
19797 * libio/libio.h: Likewise.
19798 * libio/libioP.h: Likewise.
19799 * libio/stdio.h: Likewise.
19800 * locale/lc-ctype.c: Likewise.
19801 * locale/locale.h: Likewise.
19802 * login/utmp.h: Likewise.
19803 * malloc/arena.c: Likewise.
19804 * malloc/malloc.c: Likewise.
19805 * malloc/malloc.h: Likewise.
19806 * malloc/mcheck.c: Likewise.
19807 * malloc/mtrace.c: Likewise.
19808 * math/bits/mathcalls.h: Likewise.
19809 * math/fenv.h: Likewise.
19810 * math/math_private.h: Likewise.
19811 * misc/bits/error.h: Likewise.
19812 * misc/bits/syslog.h: Likewise.
19813 * misc/err.h: Likewise.
19814 * misc/error.h: Likewise.
19815 * misc/fstab.h: Likewise.
19816 * misc/mntent.h: Likewise.
19817 * misc/regexp.h: Likewise.
19818 * misc/search.h: Likewise.
19819 * misc/sgtty.h: Likewise.
19820 * misc/sys/mman.h: Likewise.
19821 * misc/sys/syslog.h: Likewise.
19822 * misc/sys/uio.h: Likewise.
19823 * misc/sys/xattr.h: Likewise.
19824 * misc/ttyent.h: Likewise.
19825 * nis/rpcsvc/ypclnt.h: Likewise.
19826 * nss/nss.h: Likewise.
19827 * posix/bits/unistd.h: Likewise.
19828 * posix/fnmatch.h: Likewise.
19829 * posix/glob.h: Likewise.
19830 * posix/sched.h: Likewise.
19831 * posix/spawn.h: Likewise.
19832 * posix/sys/wait.h: Likewise.
19833 * posix/unistd.h: Likewise.
19834 * posix/wordexp.h: Likewise.
19835 * pwd/pwd.h: Likewise.
19836 * resolv/netdb.h: Likewise.
19837 * resource/sys/resource.h: Likewise.
19838 * rt/aio.h: Likewise.
19839 * rt/bits/mqueue2.h: Likewise.
19840 * rt/mqueue.h: Likewise.
19841 * shadow/shadow.h: Likewise.
19842 * signal/signal.h: Likewise.
19843 * socket/send.c: Likewise.
19844 * socket/sendto.c: Likewise.
19845 * socket/sys/socket.h: Likewise.
19846 * stdio-common/printf.h: Likewise.
19847 * stdlib/bits/stdlib.h: Likewise.
19848 * stdlib/fmtmsg.h: Likewise.
19849 * stdlib/monetary.h: Likewise.
19850 * stdlib/stdlib.h: Likewise.
19851 * stdlib/ucontext.h: Likewise.
19852 * streams/stropts.h: Likewise.
19853 * string/argz.h: Likewise.
19854 * string/bits/string2.h: Likewise.
19855 * string/string.h: Likewise.
19856 * string/strings.h: Likewise.
19857 * sunrpc/rpc/auth.h: Likewise.
19858 * sunrpc/rpc/auth_des.h: Likewise.
19859 * sunrpc/rpc/clnt.h: Likewise.
19860 * sunrpc/rpc/netdb.h: Likewise.
19861 * sunrpc/rpc/pmap_clnt.h: Likewise.
19862 * sunrpc/rpc/xdr.h: Likewise.
19863 * sysdeps/generic/inttypes.h: Likewise.
19864 * sysdeps/generic/net/if.h: Likewise.
19865 * sysdeps/generic/sys/swap.h: Likewise.
19866 * sysdeps/gnu/net/if.h: Likewise.
19867 * sysdeps/gnu/utmpx.h: Likewise.
19868 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19869 * sysdeps/i386/i486/bits/string.h: Likewise.
19870 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19871 * sysdeps/s390/bits/string.h: Likewise.
19872 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19873 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19874 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19875 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19876 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19877 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19878 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19879 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19880 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19881 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19882 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19883 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19884 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19885 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19886 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19887 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19888 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19889 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19890 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19891 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19892 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19893 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19894 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19895 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19896 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19897 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19898 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19900 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19901 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19902 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19903 * sysvipc/sys/ipc.h: Likewise.
19904 * sysvipc/sys/msg.h: Likewise.
19905 * sysvipc/sys/sem.h: Likewise.
19906 * sysvipc/sys/shm.h: Likewise.
19907 * termios/termios.h: Likewise.
19908 * time/sys/time.h: Likewise.
19909 * time/time.h: Likewise.
19910 * wcsmbs/bits/wchar2.h: Likewise.
19911 * wcsmbs/uchar.h: Likewise.
19912 * wcsmbs/wchar.h: Likewise.
19913 * wctype/wctype.h: Likewise.
19914
0269750c
UD
19915 [BZ #13551]
19916 * Makeconfig: Remove all but ELF support including AIX support.
19917 * Makerules: Likewise.
19918 * config.h.in: Likewise.
19919 * config.make.in: Likewise.
19920 * configure: Likewise.
19921 * configure.in: Likewise.
19922 * csu/Makefile: Likewise.
19923 * csu/version.c: Likewise.
19924 * debug/Makefile: Likewise.
19925 * dlfcn/Makefile: Likewise.
19926 * elf/Makefile: Likewise.
19927 * extra-lib.mk: Likewise.
19928 * iconv/Makefile: Likewise.
19929 * include/libc-symbols.h: Likewise.
19930 * include/shlib-compat.h: Likewise.
19931 * resolv/Makefile: Likewise.
19932 * resolv/res_libc.c: Likewise.
19933 * rt/Makefile: Likewise.
19934 * sysdeps/i386/asm-syntax.h: Likewise.
19935 * sysdeps/i386/sysdep.h: Likewise.
19936 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19937 * sysdeps/mach/sysdep.h: Likewise.
19938 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19939 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19940 * sysdeps/s390/asm-syntax.h: Likewise.
19941 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19942 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19943 * sysdeps/sh/sysdep.h: Likewise.
19944 * sysdeps/unix/sparc/sysdep.h: Likewise.
19945 * sysdeps/wordsize-32/divdi3.c: Likewise.
19946 * sysdeps/x86_64/sysdep.h: Likewise.
19947
00bbd29b
UD
19948 * argp/Versions: Remove _argp_unlock_xxx.
19949
19950 [BZ #13559]
19951 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19952 * abilist/libBrokenLocale.abilist: Likewise.
19953 * abilist/libanl.abilist: Likewise.
19954 * abilist/libc.abilist: Likewise.
19955 * abilist/libcrypt.abilist: Likewise.
19956 * abilist/libdl.abilist: Likewise.
19957 * abilist/libm.abilist: Likewise.
19958 * abilist/libnsl.abilist: Likewise.
19959 * abilist/libpthread.abilist: Likewise.
19960 * abilist/libresolv.abilist: Likewise.
19961 * abilist/librt.abilist: Likewise.
19962 * abilist/libthread_db.abilist: Likewise.
19963 * abilist/libutil.abilist: Likewise.
19964 * abilist/libnss_db.abilist: New file.
19965
19966 * scripts/abilist.awk: Add support for indirect functions.
19967
a2693a0e
UD
19968 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19969
3f05895f
UD
19970 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19971
ecb6fb48
UD
19972 * shlib-versions: Remove entries for ports architectures.
19973
664f8cb9
UD
19974 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19975 files in ports.
19976 * elf/stackguard-macros.h: Remove support for IA-64.
19977 * elf/tst-auditmod1.c: Likewise.
19978 * sysdeps/generic/ldsodefs.h: Likewise.
19979
7ae81d88
UD
19980 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19981 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19982 configure files.
19983
bdeba135
UD
19984 [BZ #13552]
19985 * configure.in: Remove --enable-omitfp support.
19986 * FAQ.in: Adjust.
19987 * config.make.in: Likewise.
19988 * Makeconfig: Likewise.
19989 * manual/install.texi: Likewise.
19990
d75a0a62
UD
19991 In case anyone cares, the IA-64 architecture could move to ports.
19992 * sysdeps/ia64/*: Removed.
19993 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19994 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19995
dcc9756b
UD
19996 [BZ #13555]
19997 * configure.in: Remove entries for unsupported architectures.
19998
d3761ebc 19999 [BZ #13533]
9954432e
UD
20000 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20001 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20002 routines.
20003 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20004 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20005 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20006 fall back to using wcrtomb.
20007 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20008 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20009 renaming.
20010 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20011 * wcsmbs/tst-c16c32-1.c: New file.
20012
20013 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20014 local variable.
20015
c3a87236
UD
20016 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20017
28926a1b
UD
20018 * elf/tst-unique3.cc: Add explicit declaration of gets.
20019 * elf/tst-unique3lib.cc: Likewise.
20020 * elf/tst-unique3lib2.cc: Likewise.
20021 * elf/tst-unique4.cc: Likewise.
20022
df78418a
UD
20023 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20024
8ecd6b2a
JM
200252012-01-06 Joseph Myers <joseph@codesourcery.com>
20026
20027 [BZ #13566]
20028 * assert/assert.h (static_assert): Don't define for C++.
20029 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20030 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20031
9f115170
UD
200322012-01-03 Ulrich Drepper <drepper@gmail.com>
20033
5e0d0300
UD
20034 * iconv/loop.c (single loop): Fix assertion in storing of
20035 remaining bytes.
20036
9f115170
UD
20037 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20038
81fb02b0
UD
200392012-01-01 Ulrich Drepper <drepper@gmail.com>
20040
20041 * posix/getconf.c: Update copyright year.
20042 * nss/getent.c: Likewise.
a316c1f6 20043 * nss/makedb.c: Likewise.
81fb02b0
UD
20044 * iconv/iconvconfig.c: Likewise.
20045 * iconv/iconv_prog.c: Likewise.
20046 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20047 * elf/pldd.c: Likewise.
20048 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20049 * catgets/gencat.c: Likewise.
20050 * csu/version.c: Likewise.
20051 * elf/ldd.bash.in: Likewise.
20052 * elf/sprof.c (print_version): Likewise.
20053 * locale/programs/locale.c: Likewise.
20054 * locale/programs/localedef.c: Likewise.
a316c1f6 20055 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20056 * nscd/nscd.c (print_version): Likewise.
20057 * debug/xtrace.sh: Likewise.
20058 * malloc/memusage.sh: Likewise.
20059 * malloc/mtrace.pl: Likewise.
20060 * debug/catchsegv.sh: Likewise.
20061
2ba92745
JJ
200622011-12-30 Jakub Jelinek <jakub@redhat.com>
20063
20064 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20065 pure attribute.
20066
dadebdae
UD
200672011-12-24 Ulrich Drepper <drepper@gmail.com>
20068
d3761ebc 20069 [BZ #13533]
db6af3eb
UD
20070 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20071 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20072 transformations.
20073 * iconv/gconv_int.h: Likewise.
20074 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20075 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20076 from libc for GLIBC_2.16.
20077 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20078 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20079 * wcsmbs/uchar.h: Really define mbstate_t.
20080 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20081 * wcsmbs/c16rtomb.c: New file.
20082 * wcsmbs/mbrtoc16.c: New file.
20083 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20084 for C/POSIX locale.
20085 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20086 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20087
dadebdae
UD
20088 * wcsmbs/wchar.h: Add missing __restrict.
20089
67371b56
UD
200902011-12-23 Ulrich Drepper <drepper@gmail.com>
20091
74033a25
UD
20092 [BZ #13532]
20093 * time/Makefile (routines): Add timespec_get.
20094 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20095 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20096 timespec for ISO C11.
20097 * time/timespec_get.c: New file.
20098 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20099 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20100
380d7e87
UD
20101 [BZ #13531]
20102 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20103 * stdlib/stdlib.h: Declare aligned_alloc.
20104 * Versions.def: Add GLIBC_2.16 for libc.
20105 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20106
4e9e7a35
UD
20107 [BZ 13527]
20108 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20109 ISO C11.
20110
380d7e87 20111 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20112 code.
20113
03a71829
UD
20114 [BZ #13528]
20115 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20116
839e283e
UD
20117 [BZ #13529]
20118 * assert/assert.h (static_assert): Define.
20119
ce5294e2 20120 * version.h: Update for 2.16 development version.
90fa7312 20121
8d44e150 20122 [BZ #13526]
d7809905
UD
20123 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20124 _ISOC11_SOURCE.
20125
c0da14cd
UD
20126 * version.h (RELEASE): Bump for 2.15 release.
20127 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20128
530a3249
MP
20129 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20130 Patch by Marek Polacek <mpolacek@redhat.com>.
20131
67371b56
UD
20132 * bits/byteswap.h: Protect long long constants with __extension__.
20133 * sysdeps/i386/bits/byteswap.h: Likewise.
20134 * sysdeps/ia64/bits/byteswap.h: Likewise.
20135 * sysdeps/s390/bits/byteswap.h: Likewise.
20136 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20137
15db4de1
LD
201382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20139
20140 [BZ #13540]
bbe315ea
LD
20141 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20142 destination buffer.
15db4de1
LD
20143 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20144
2b2596b1
MP
201452011-12-23 Marek Polacek <polacek@redhat.com>
20146
20147 * elf/dl-addr.c (determine_info): Add inline keyword.
20148 * elf/tst-auditmod4b.c (check_avx): Likewise.
20149 * elf/tst-auditmod6b.c (check_avx): Likewise.
20150 * elf/tst-auditmod6c.c (check_avx): Likewise.
20151 * elf/tst-auditmod7b.c (check_avx): Likewise.
20152
70c6c246
UD
201532011-12-23 Ulrich Drepper <drepper@gmail.com>
20154
20155 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20156 !__SSE_MATH__.
20157
c044cf14
LD
201582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20159
15db4de1 20160 [BZ #13540]
c044cf14
LD
20161 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20162 processing for last bytes.
20163
6b13d9d9
BH
201642011-08-06 Bruno Haible <bruno@clisp.org>
20165
d455f537
BH
20166 [BZ #13061]
20167 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20168 U+0385, not to U+1FEE.
20169
6b13d9d9
BH
20170 [BZ #13062]
20171 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20172 entry for U+00A5 U+0301.
20173
db910efd
UD
201742011-12-22 Ulrich Drepper <drepper@gmail.com>
20175
27deeafc
UD
20176 [BZ #13166]
20177 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20178 buffer for the output is too small.
20179
aed9d171
UD
20180 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20181 optimization.
20182
db910efd
UD
20183 [BZ #13185]
20184 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20185 SSE flags if possible.
20186
2bd779ae
LD
201872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20188
e7f9dac3 20189 [BZ #13540]
2bd779ae
LD
20190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20191 processing for last bytes.
20192
154bfc16
JM
201932011-12-22 Joseph Myers <joseph@codesourcery.com>
20194
20195 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20196 (syscall-list-default-options, syscall-list-default-condition)
20197 (syscall-list-includes): Define.
20198 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20199 list of ABIs and options and #if conditions for each ABI. Do not
20200 handle common syscalls between ABIs specially.
20201 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20202 Remove.
20203 (syscall-list-variants, syscall-list-32bit-options)
20204 (syscall-list-32bit-condition, syscall-list-64bit-options)
20205 (syscall-list-64bit-condition): Define.
20206 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20207 (syscall-list-variants, syscall-list-32bit-options)
20208 (syscall-list-32bit-condition, syscall-list-64bit-options)
20209 (syscall-list-64bit-condition): Define.
20210 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20211 Remove.
20212 (syscall-list-variants, syscall-list-32bit-options)
20213 (syscall-list-32bit-condition, syscall-list-64bit-options)
20214 (syscall-list-64bit-condition): Define.
20215 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20216 Remove.
20217 (syscall-list-variants, syscall-list-32bit-options)
20218 (syscall-list-32bit-condition, syscall-list-64bit-options)
20219 (syscall-list-64bit-condition): Define.
20220
21eaf3a5
UD
202212011-12-22 Ulrich Drepper <drepper@gmail.com>
20222
16c6f992
UD
20223 * locale/iso-639.def: Add brx entry.
20224
41043168
UD
20225 [BZ #13328]
20226 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20227 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20228
21eaf3a5
UD
20229 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20230 __feraiseexcept_renamed.
20231
e3a851a2
UD
202322011-12-21 Ulrich Drepper <drepper@gmail.com>
20233
4920765e
UD
20234 [BZ #13538]
20235 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20236 EPOLLET with unsigned values.
20237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20238 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20239
e3a851a2
UD
20240 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20241 to large cancellation.
20242 * math/s_cacoshf.c: Likewise.
20243 * math/s_cacoshl.c: Likewise.
20244
b27e24b8
RK
202452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20246
20247 [BZ #13305]
aebefeee 20248 [BZ #12786]
b27e24b8
RK
20249 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20250 * math/s_cacoshf.c: Likewise.
20251 * math/s_cacoshl.c: Likewise.
20252
ee190f67
UD
202532011-12-21 Ulrich Drepper <drepper@gmail.com>
20254
20255 [BZ #13439]
20256 * iconv/gconv.h: Define __GCONV_SWAP.
20257 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20258 * iconvdata/utf-16.c: Likewise.
20259 * iconvdata/utf-32.c: Likewise.
20260
707f25df
AS
202612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20262
20263 [BZ #13524]
20264 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20265 numerator after shifting it by one limb.
20266
d2daaa1e
RÁE
202672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20268
20269 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20270 under [__USE_EXTERN_INLINES].
20271
a4647e72
UD
202722011-12-17 Ulrich Drepper <drepper@gmail.com>
20273
20274 [BZ #13446]
20275 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20276
f0b264f1
AZ
202772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20278
20279 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20280 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20281 optimized code.
20282 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20284 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20285 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20286 for strncasecmp/strncasecmp_l compilation.
20287 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20288 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20289
8ef4f244
MP
202902011-12-08 Marek Polacek <mpolacek@redhat.com>
20291
20292 [BZ #13484]
20293 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20294 of __asm__.
20295
97ac2654
UD
202962011-12-17 Ulrich Drepper <drepper@gmail.com>
20297
20298 [BZ #13506]
20299 * time/tzfile.c (__tzfile_read): Check values from file header.
20300
91d2a845
WS
203012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20302
20303 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20304 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20305 * powerpc/powerpc32/dl-start.S: Likewise.
20306 * powerpc/powerpc32/elf/start.S: Likewise.
20307 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20308 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20309 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20310 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20311 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20312 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20313 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20314 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20315 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20316 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20317 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20318 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20319 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20320 * powerpc/powerpc32/memset.S: Likewise.
20321 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20322 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20323 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20324 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20325 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20326 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20327 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20328 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20329 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20330 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20331 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20332 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20333 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20334
a1267ba1
AZ
203352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20336
20337 * math/libm-test.inc: Added more nearbyint tests.
20338 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20340 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20342
ad8ac1bd
RL
203432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20344
20345 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20346 FD_CLOEXEC.
20347
1d3e4b61
UD
203482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20349
20350 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20351 Add wcscpy-ssse3 wcscpy-c.
20352 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20353 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20354 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20355 * sysdeps/x86_64/wcschr.S: New file.
20356 * sysdeps/x86_64/wcsrchr.S: New file.
20357 * string/test-strcmp.c: Remove checking of wcscmp function for
20358 wrong alignments.
20359 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20360 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20361 wcsrchr-sse2 wcsrchr-c.
20362 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20363 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20364 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20365 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20366 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20367 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20368 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20369 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20370 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20371 * wcsmbc/wcschr.c (WCSCHR): New macro.
20372
5b330a2d
UD
203732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20374
20375 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20376 * wcsmbs/test-wcsrchr.c: New file.
20377 * string/test-strrchr.c: Add wcsrchr support.
20378 (WIDE): New macro.
20379 * wcsmbs/test-wcscpy.c: New file.
20380 * string/test-strcpy.c: Add wcscpy support.
20381 (WIDE): New macro.
26428b7c 20382
f039c043
UD
203832011-12-10 Ulrich Drepper <drepper@gmail.com>
20384
20385 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20386 the inner loop.
20387
850fb039
AS
203882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20389
20390 [BZ #13472]
20391 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20392
4efbd5cb
UD
203932011-12-04 Ulrich Drepper <drepper@gmail.com>
20394
52ff5dd0 20395 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20396 Minor optimizations.
52ff5dd0 20397
4efbd5cb
UD
20398 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20399 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20400 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20401
8a426e12
UD
204022011-12-03 Ulrich Drepper <drepper@gmail.com>
20403
aff2453d
UD
20404 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20405 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20406 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20407 for gcc to avoid warnings.
20408 * inet/Makefile (tests): Add tst-checks.
20409 * inet/tst-checks.c: New file.
20410
20411 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20412 warning.
20413
20414 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20415 __wmemcmp_sse2.
20416
20417 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20418 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20419
8a426e12
UD
20420 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20421
9bea3473
UD
204222011-12-02 Ulrich Drepper <drepper@gmail.com>
20423
3a965496
UD
20424 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20425 problem.
20426
9bea3473
UD
20427 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20428
f101631b
UD
204292011-11-29 Joseph Myers <joseph@codesourcery.com>
20430
20431 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20432 conditional on GCC version.
20433 (__arch_compare_and_exchange_val_8_acq)
20434 (__arch_compare_and_exchange_val_16_acq)
20435 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20436 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20437 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20438
a98275aa
UD
204392011-12-02 Joseph Myers <joseph@codesourcery.com>
20440
20441 * sysdeps/sh/backtrace.c: New file.
20442
d4cc29a2
AS
204432011-12-02 Andreas Schwab <schwab@redhat.com>
20444
20445 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20446 parenthesis.
20447
6257af2d
AS
204482011-12-01 Andreas Schwab <schwab@redhat.com>
20449
20450 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20451 falling back to utime.
20452
b5f44c1a
AS
204532011-11-30 Andreas Schwab <schwab@redhat.com>
20454
20455 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20456 expectations for float.
20457
f3a6cc0a
AS
204582011-11-29 Andreas Schwab <schwab@redhat.com>
20459
20460 * locale/weight.h (findidx): Add parameter len.
20461 * locale/weightwc.h (findidx): Likewise.
20462 * posix/fnmatch_loop.c (FCT): Adjust caller.
20463 * posix/regcomp.c (build_equiv_class): Likewise.
20464 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20465 * posix/regexec.c (check_node_accept_bytes): Likewise.
20466 * string/strcoll_l.c (STRCOLL): Likewise.
20467 * string/strxfrm_l.c (STRXFRM): Likewise.
20468
9d65ea3a
UD
204692011-11-17 Ulrich Drepper <drepper@gmail.com>
20470
20471 * Makefile.in: Remove CVSOPT handling.
20472 * configure.in: Remove use of AC_REVISION.
20473 * iconvdata/Makefile (distribute): No need to filter out CVS.
20474 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20475 handling.
20476
5583a086
AS
204772011-11-16 Andreas Schwab <schwab@redhat.com>
20478
20479 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20480 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20481 [USE_AS_STRNCASECMP_L]: Likewise.
20482 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20483 NO_TLS_DIRECT_SEG_REFS.
20484 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20485 Fix argument offsets for non-PIC.
20486 [USE_AS_STRNCASECMP_L]: Likewise.
20487 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20488 NO_TLS_DIRECT_SEG_REFS.
20489
d62a8200
UD
204902011-11-15 Ulrich Drepper <drepper@gmail.com>
20491
9d65ea3a 20492 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20493 O_CLOEXEC.
20494 * locale/loadlocale.c (_nl_load_locale): Likewise.
20495
09f93bd3
AS
204962011-11-15 Andreas Schwab <schwab@redhat.com>
20497
446514f9
AS
20498 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20499 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20501 (SYSCALL_GETTIME): Set errno on error.
20502
09f93bd3
AS
20503 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20504 count references to noai6ai_cached.
20505
312be3f9
UD
205062011-11-15 Ulrich Drepper <drepper@gmail.com>
20507
20508 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20509
20510 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20511 FD_CLOEXEC for /proc/self/maps.
20512
20513 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20514 FD_CLOEXEC for /proc/meminfo.
20515
20516 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20517 gai.conf.
20518
20519 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20520 FD_CLOEXEC for given file.
20521
20522 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20523
20524 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20525 FD_CLOEXEC for /etc/hosts.
20526 (_gethtent): Likewise.
20527
20528 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20529
20530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20531 cancellation and set FD_CLOEXEC for /etc/netgroup.
20532
20533 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20534 reading /etc/publickey.
20535
20536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20537 allow cancellation when reading /etc/group.
20538
20539 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20540 cancellation.
20541 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20542
20543 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20544 when using data file.
20545
20546 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20547
20548 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20549 (write_nis_obj): Use "c" and "e" in fopen.
20550
20551 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20552
20553 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20554
20555 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20556
20557 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20558
20559 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20560 locale.alias.
20561
20562 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20563
20564 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20565
20566 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20567
20568 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20569 file parsing and set FD_CLOEXEC.
20570
82af0fa8
UD
205712011-11-14 Ulrich Drepper <drepper@gmail.com>
20572
20573 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20574
a5fb313c
AS
205752011-11-14 Andreas Schwab <schwab@redhat.com>
20576
20577 * malloc/arena.c (arena_get2): Don't call reused_arena when
20578 _int_new_arena failed.
20579
6abf3465
UD
205802011-11-14 Ulrich Drepper <drepper@gmail.com>
20581
20582 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20583 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20584 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20585 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20586 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20587 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20588 to compile strcasecmp and strncasecmp.
20589 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20590 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20591
20592 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20593
76e3966e
UD
205942011-11-13 Ulrich Drepper <drepper@gmail.com>
20595
20596 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20597 locale-defines.sym to gen-as-const-headers.
20598 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20599 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20601 to compile strcasecmp and strncasecmp.
20602 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20603 strcasecmp_l and strncasecmp_l.
20604 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20605 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20606 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20607 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20608 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20609 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20610 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20611 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20612 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20613 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20614 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20615
ab26144e
UD
206162011-11-12 Ulrich Drepper <drepper@gmail.com>
20617
7edb22ef
UD
20618 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20619 result of SYSDEP_GETTIME_CPU to retval.
20620 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20621 parameter list to macro. Remove trailing semicolon. Adjust users.
20622
9694fc44
UD
20623 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20624 variable.
20625
8ad89ef8
UD
20626 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20627 mantissa words.
20628 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20629
0c822ef9
UD
20630 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20631 from unused variable.
20632
874e0564
UD
20633 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20634 DWARF definitions.
20635 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20636 for assembling.
20637
3a2edc79
UD
20638 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20639 over namespaces.
20640
f3c2577f
UD
20641 * sunrpc/rpc_prot.c (rejected): Fix case value.
20642
294ce126
UD
20643 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20644 unsigned long long int to avoid warnings in shift.
20645
5e2b63c6
UD
20646 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20647 of use of trans.
20648 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20649 variable tmp.
20650
e7f4b08e
UD
20651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20652 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20653 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20654
ab26144e
UD
20655 * nis/nis_table.c (nis_list): Use variable of correct type for
20656 result of __follow_path call.
20657
8a6d5255
AZ
206582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20659
20660 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20661 of math functions ceil, trunc, floor, round, and sqrt, when
20662 avaliable on the platform.
20663 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20664 name clash.
20665 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20666 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20667 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20668
aaddc98c
MP
206692011-10-30 Marek Polacek <mpolacek@redhat.com>
20670
20671 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20672 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20673
95b7042b
RM
206742011-11-11 Roland McGrath <roland@hack.frob.com>
20675
20676 * include/unistd.h: Fix __readlink return type.
20677 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20678
57769839
UD
206792011-11-11 Ulrich Drepper <drepper@gmail.com>
20680
20681 * stdlib/ucontext.h: Undo last change for makecontext.
20682
edc5984d
AS
206832011-11-11 Andreas Schwab <schwab@redhat.com>
20684
98591e58
AS
20685 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20686
edc5984d
AS
20687 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20688 * setjmp/setjmp.h: Mark functions as non-leaf.
20689 * setjmp/bits/setjmp2.h: Likewise.
20690 * stdlib/ucontext.h: Likewise.
20691
77cdc054
AS
206922011-11-10 Andreas Schwab <schwab@redhat.com>
20693
20694 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20695 (reused_arena): Don't check arena limit.
20696 (arena_get2): Atomically check arena limit.
20697
fe72eebd
UD
206982011-11-08 Ulrich Drepper <drepper@gmail.com>
20699
5f078c32
UD
20700 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20701 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20702
fe72eebd
UD
20703 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20704 instructions.
20705
ae1bc2fa
AS
207062011-11-07 Andreas Schwab <schwab@redhat.com>
20707
7583a88d
AS
20708 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20709 handler when locking.
20710
ae1bc2fa
AS
20711 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20712 Fix size of allocated buffer.
20713
10fb0bfa
AS
207142011-11-04 Andreas Schwab <schwab@redhat.com>
20715
998832a4
AS
20716 [BZ #10103]
20717 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20718 declarations for long double functions.
20719 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20720
10fb0bfa
AS
20721 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20722
3d7ba52b
AS
207232011-11-03 Andreas Schwab <schwab@redhat.com>
20724
a9ae54a1
AS
20725 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20726 installed.
20727
3d7ba52b
AS
20728 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20729 is disabled.
20730
bc8db248
ST
207312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20732
20733 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20734
45b96dd6
AS
207352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20736
647776f6
AS
20737 * include/alloca.h (stackinfo_alloca_round): Define.
20738 (extend_alloca): Use it.
20739 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20740 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20741 here.
20742
d91a8b93
AS
20743 * scripts/check-local-headers.sh: Ignore libaudit.h.
20744
45b96dd6
AS
20745 * nscd/Makefile (extra-objs): Make recursively expanded.
20746
432d41ce
UD
207472011-11-01 Ulrich Drepper <drepper@gmail.com>
20748
34372fc6
UD
20749 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20750 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20751
fadb59f8
UD
20752 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20753 * posix/tst-rfc3484-2.c: Likewise.
20754 * posix/tst-rfc3484-3.c: Likewise.
20755
78239589
UD
20756 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20757 process_vm_writev.
20758 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20759 process_vm_writev.
20760 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20761 process_vm_writev from libc using GLIBC_2.15 version.
20762
432d41ce
UD
20763 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20764
02f9c6cf
PP
207652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20766
20767 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20768 stack usage.
20769
3a2c0242
UD
207702011-10-31 Ulrich Drepper <drepper@gmail.com>
20771
f4ec4833
UD
20772 [BZ #13367]
20773 * nss/getent.c (initgroups_keys): Show error message in case no group
20774 names are given.
20775
3a2c0242
UD
20776 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20777 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20778 __bump_nl_timestamp.
20779 * nscd/connections (nscd_init): When host database is served open
20780 netlink socket and request notification about configuration changes.
20781 (main_loop_poll): Track netlink file descriptor and bump timestamp
20782 in case data becomes available.
20783 (main_loop_epoll): Likewise.
20784 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20785 (database_pers_head): Add extra_data fileds.
20786 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20787 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20788 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20789 Adjust caller.
20790 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20791 in6ai data, call __free_in6ai.
20792 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20793 Add -DHAVE_NETLINK.
20794 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20795 interface information. Reuse previous data if netlink timestamp
20796 is not changed.
20797 (__bump_nl_timestamp): New function.
20798 (__free_in6ai): New function.
20799
636064eb
UD
208002011-10-30 Ulrich Drepper <drepper@gmail.com>
20801
20802 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20803 close_not_cancel_no_status here.
20804 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20805
9beb2334
UD
208062011-10-29 Ulrich Drepper <drepper@gmail.com>
20807
6ef76f3b
UD
20808 [BZ #13276]
20809 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20810 return value.
20811
0ffc4f3e 20812 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20813 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20814 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20815
cb95113e
UD
208162011-07-03 Andreas Jaeger <aj@suse.de>
20817
20818 [BZ #10709]
20819 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20820 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20821 * math/libm-test.inc (sin_test): Add test case.
20822
a1b560ff
UD
208232011-10-29 Ulrich Drepper <drepper@gmail.com>
20824
c9aaface
UD
20825 [BZ #13337]
20826 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20827 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20828
d272e7f1
UD
20829 * elf/chroot_canon.c (chroot_canon): Cleanups.
20830
1bc33071
UD
20831 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20832
1760874d
TJ
20833 [BZ #13335]
20834 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20835 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20836
51d91b18
UD
20837 * string/test-strchr.c: Make usable for strchrnul testing.
20838 * string/test-strchrnul.c: New file.
20839 * string/Makefile (strop-tests): Add strchrnul.
20840
a1b560ff 20841 * po/it.po: Update from translation team.
b611fb81 20842 * po/es.po: Likewise.
a1b560ff 20843
a5b81e1f
UD
208442011-10-28 Ulrich Drepper <drepper@gmail.com>
20845
fd52bc6d
UD
20846 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20847 the three constants needed as parameters. Drop the others.
20848 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20849 __m128i_strloadu_tolower.
52e4b9eb
UD
20850 Create and initialize variable zero and use it in all the places
20851 where _mm_setzero_si128 was used.
fd52bc6d 20852
a5b81e1f
UD
20853 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20854 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20855 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20856 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20857 anymore.
20858 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20859 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20860 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20861 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20862 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20863 __mpranred, __mptan.
20864 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20865 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20866 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20867 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20868 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20869 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20871 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20872 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20873
b4343346
AS
208742011-10-28 Andreas Schwab <schwab@redhat.com>
20875
0c92d8a8
AS
20876 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20877 redefine if SHARED.
20878 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20879
b4343346
AS
20880 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20881 wide char related routines to wcsmbs subdir.
20882
3871f58f
AS
208832011-10-27 Andreas Schwab <schwab@redhat.com>
20884
20885 [BZ #13344]
20886 * misc/sys/cdefs.h (__THROWNL): Define.
20887 * posix/unistd.h: Use __THREADNL instead of __THREAD
20888 for memory synchronization functions.
20889
94d44d9f
RM
208902011-10-26 Roland McGrath <roland@hack.frob.com>
20891
21b64b15 20892 [BZ #13349]
94d44d9f
RM
20893 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20894 doesn't exist.
20895 * manual/stdio.texi (Obstack Streams): Node removed.
20896
f6ce9294
AS
208972011-10-26 Andreas Schwab <schwab@redhat.com>
20898
80479147
AS
20899 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20900 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20901 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20902
f6ce9294
AS
20903 * math/math_private.h (math_force_eval): Allow non-addressable
20904 arguments.
20905 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20906
618280a1
UD
209072011-10-25 Ulrich Drepper <drepper@gmail.com>
20908
e0016b11
UD
20909 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20910 file is not needed.
20911
20912 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20914 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20915 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20917 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20918 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20920 Add AVX variants.
20921 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20922 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20923 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20924 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20925 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20926 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20927 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20928 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20929 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20930 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20931 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20932 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20933 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20934 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20935 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20936 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20938 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20939 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20940
20941 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20942 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20943
618280a1
UD
20944 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20945 place. Use VEX encoding when compiling for AVX.
20946
37822576
AS
209472011-10-25 Andreas Schwab <schwab@redhat.com>
20948
1f1e1947
AS
20949 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20950 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20951
37822576
AS
20952 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20953
31ea014d
UD
209542011-10-25 Ulrich Drepper <drepper@gmail.com>
20955
d7826aa1 20956 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20957 useless if() expression.
d7826aa1
UD
20958 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20959 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20961 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20964 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20966 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20967 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20968 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20969 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20970 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20971 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20972 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20973 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20974 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20975 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20976 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20977
31ea014d
UD
20978 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20979
16437fec
AS
209802011-10-25 Andreas Schwab <schwab@redhat.com>
20981
20982 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20983 condition.
20984 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20985
31d3cc00
UD
209862011-10-25 Ulrich Drepper <drepper@gmail.com>
20987
20988 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20989 .text section. Avoid duplicate constants.
20990 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21000 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21001 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21002 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21005 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21006 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21007 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21008 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21010 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21013 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21014 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21015 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21016 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21017 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21018 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21019 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21020 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21021 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21022 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21023 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21024 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21025 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21026 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21028 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21029 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21031 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21032 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21033 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21034 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21035
58985aa9
UD
210362011-10-24 Ulrich Drepper <drepper@gmail.com>
21037
202c9deb
UD
21038 * sysdeps/x86_64/dla.h: Move to ...
21039 * sysdeps/x86_64/fpu/dla.h: ...here.
21040 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21041 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21042
af968f62
UD
21043 * config.make.in: Add have-mfma4 entry.
21044 * configure.in: Substitute libc_cv_cc_fma4.
21045 * math/Makefile (dbl-only-routines): Add sincostab.
21046 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21047 Use __sincostab not sincos.
21048 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21049 name is a macro.
21050 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21053 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21054 using __copysign.
21055 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21056 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21057 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21058 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21059 and __inv.
21060 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21061 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21062 __copysign.
21063 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21064 define aliases when function name is a macro.
21065 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21066 sysdeps/ieee754/dbl-64/sincos.tbl.
21067 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21068 fma4-enabled routines.
21069 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21070 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21071 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21072 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21073 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21074 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21075 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21076 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21077 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21079 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21080 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21081 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21082 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21083 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21084 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21085 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21086 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21087 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21088 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21089 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21090 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21091 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21092 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21093 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21094 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21096 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21097 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21098 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21099
58985aa9
UD
21100 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21101 rename.
21102 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21106 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21108 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21109 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21110
a201fbcf
AS
211112011-10-24 Andreas Schwab <schwab@redhat.com>
21112
21113 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21114
fc2ee42a
LD
211152011-10-23 Ulrich Drepper <drepper@gmail.com>
21116
bb3129bd
UD
21117 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21118
0275fff8
UD
21119 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21120 prediction.
21121 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21122
2fa2ae85
UD
21123 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21124 Remove unused variable magic_bits.
21125 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21126
fc2ee42a
LD
21127 * string/strnlen.c: Define and use STRNLEN macro.
21128 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21129 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21131 * wcsmbs/wcslen.c: Define and use WCSLEN.
21132 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21133 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21134 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21135 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21136 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21137 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21138 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21139
ce7dd29f
LD
211402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21141
21142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21143 strnlen-sse2-no-bsf.
21144 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21146 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21147 Add strnlen support.
21148 (USE_AS_STRNLEN): New macro.
21149 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21150 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21151 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21152 * sysdeps/x86_64/wcslen.S: New file.
21153
979c70a3
MZ
211542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21155
21156 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21157 XMM-moves are used for copying on small sizes.
21158
2d09f82f
LD
211592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21160
21161 * wcsmbs/Makefile (strop-tests): Add wcschr.
21162 * wcsmbs/test-wcschr.c: New file.
21163 * string/test-strchr.c: Update.
21164 Add wcschr support.
21165 (WIDE): New macro.
21166
619fccca
LD
211672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21168
2d09f82f 21169 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21170 * wcsmbs/test-wcslen.c: New file.
21171 * string/test-strlen.c: Update.
21172 Add wcslen support.
21173 (WIDE): New macro.
21174
09f699ea
UD
211752011-10-23 Ulrich Drepper <drepper@gmail.com>
21176
21177 * po/it.po: Update from translation team.
21178
95584d3b
LD
211792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21180
21181 * sysdeps/x86_64/wcscmp.S: Update.
21182 Fix wrong comparison semantics.
21183 wcscmp shall use signed comparison not unsigned.
21184 Don't use substraction to avoid overflow bug.
21185 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21186 * wcsmbc/wcscmp.c: Likewise.
21187 * string/test-strcmp.c: Likewise.
21188 Add new tests to check cases with negative values.
21189
c8b3296b
UD
211902011-10-23 Ulrich Drepper <drepper@gmail.com>
21191
21192 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21193 * sysdeps/x86_64/dla.h: ...here. New file.
21194 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21195 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21196 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21197 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21198 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21199 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21200 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21201 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21202 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21203
246ad57a
AS
212042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21205
21206 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21207 __ynl_finite aliases.
21208
a1a87169
UD
212092011-10-22 Ulrich Drepper <drepper@gmail.com>
21210
0d355eb7
UD
21211 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21212
a1a87169
UD
21213 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21214 define DLA_FMA.
21215 [DLA_FMA] (EMULV): Use DLA_FMA.
21216 [DLA_FMA] (MUL12): Use EMULV.
21217 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21218 that are not needed.
21219 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21220 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21221 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21222 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21223 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21224 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21225 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21226
ee2aafe0
AS
212272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21228
21229 * math/s_nan.c: Undef __nan.
21230 * math/s_nanf.c: Undef __nanf.
21231 * math/s_nanl.c: Undef __nanl.
21232 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21233 "math_private.h".
21234
bc62c2fb
UD
212352011-10-22 Ulrich Drepper <drepper@gmail.com>
21236
77425c63
UD
21237 * math/s_catan.c: Add branch predictions.
21238 * math/s_catanf.c: Likewise.
21239 * math/s_catanh.c: Likewise.
21240 * math/s_catanhf.c: Likewise.
21241 * math/s_catanhl.c: Likewise.
21242 * math/s_catanl.c: Likewise.
21243 * math/s_cexp.c: Likewise.
21244 * math/s_cexpf.c: Likewise.
21245 * math/s_cexpl.c: Likewise.
21246 * math/s_clog.c: Likewise.
21247 * math/s_clog10.c: Likewise.
21248 * math/s_clog10f.c: Likewise.
21249 * math/s_clog10l.c: Likewise.
21250 * math/s_clogf.c: Likewise.
21251 * math/s_clogl.c: Likewise.
21252 * math/s_csqrt.c: Likewise.
21253 * math/s_csqrtf.c: Likewise.
21254 * math/s_csqrtl.c: Likewise.
21255 * math/s_ctanf.c: Likewise.
21256 * math/s_ctanh.c: Likewise.
21257 * math/s_ctanhf.c: Likewise.
21258 * math/s_ctanhl.c: Likewise.
21259 * math/s_ctanl.c: Likewise.
21260
bc62c2fb
UD
21261 * math/math_private.h: Define __nan, __nanf, __nanl.
21262 * math/s_cacosh.c: Include <math_private.h>.
21263 * math/s_cacoshl.c: Likewise.
21264 * math/s_casinh.c: Likewise.
21265 * math/s_casinhf.c: Likewise.
21266 * math/s_casinhl.c: Likewise.
21267 * math/s_ccos.c: Rely entire on ccosh.
21268 * math/s_ccosf.c: Rely entire on ccoshf.
21269 * math/s_ccosl.c: Rely entirely on ccoshl.
21270 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21271 Remove tests for FE_INVALID.
21272 * math/s_ccoshf.c: Likewise.
21273 * math/s_ccoshl.c: Likewise.
21274 * math/s_csin.c: Likewise.
21275 * math/s_csinf.c: Likewise.
21276 * math/s_csinh.c Likewise.
21277 * math/s_csinhf.c: Likewise.
21278 * math/s_csinhl.c: Likewise.
21279 * math/s_csinl.c: Likewise.
21280 * math/s_ctan.c: Likewise.
21281 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21282 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21283 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21284
8ec250a4
UD
212852011-10-21 Ulrich Drepper <drepper@gmail.com>
21286
c196fed8
UD
21287 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21288 compilation problems.
21289
8ec250a4
UD
21290 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21291 __builtin_expect.
21292
8d4f46c6
UD
212932011-10-20 Ulrich Drepper <drepper@gmail.com>
21294
ed72b654
UD
21295 * sysdeps/i386/configure.in: Test for -mfma4 option.
21296 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21297 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21298 COMMON_CPUID_INDEX_80000001.
21299 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21300 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21301 use it if FMA3 is not supported.
21302 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21303
8d4f46c6
UD
21304 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21305 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21306
d45c60c2
AS
213072011-10-20 Andreas Schwab <schwab@redhat.com>
21308
21309 [BZ #12892]
21310 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21311 it would create a cycle with a link time dependency.
21312
d9a4d2ab
UD
213132011-10-19 Ulrich Drepper <drepper@gmail.com>
21314
855d1560
UD
21315 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21316 instruction.
21317 * string/Makefile (strop-tests): Add rawmemchr.
21318 * string/test-rawmemchr.c: New file.
21319
d9a4d2ab
UD
21320 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21321 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21322 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21323 when compiling str{,n}casecmp and when AVX is available. Hook up
21324 new optimized code in initializers.
21325
8f3b1ffe
AS
213262011-10-19 Andreas Schwab <schwab@redhat.com>
21327
21328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21329 __feraiseexcept instead of feraiseexcept.
21330
d38f1dba
UD
213312011-10-18 Ulrich Drepper <drepper@gmail.com>
21332
d9a8d0ab
UD
21333 * math/math_private.h: Define defaults for libc_fetestexcept and
21334 libc_feupdateenv.
21335 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21336 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21337 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21338 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21339 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21340 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21341 libc_fetestexcept and libc_feupdateenv.
21342
4855e3dd
UD
21343 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21344 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21345 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21346 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21347 libc_feholdexcept_setround.
21348
581d30e3
UD
21349 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21350 Add s_nearbyint-c and s_nearbyintf-c.
21351 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21352 nearbyintf inlines.
21353 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21354 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21355 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21356 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21357
d38f1dba
UD
21358 * math/math_private.h: Define defaults for libc_fegetround,
21359 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21360 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21361 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21363 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21364 standard functions.
21365 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21366 Remove comments and hacks for old compiler versions.
21367 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21368 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21369 libc_feholdexceptl.
21370
caa6c9d8
AS
213712011-10-18 Andreas Schwab <schwab@redhat.com>
21372
21373 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21374 (__feraiseexcept_renamed): Add __NTH.
21375 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21376 namespace violations.
21377
97c066e6
UD
213782011-10-17 Ulrich Drepper <drepper@gmail.com>
21379
99ce7b04
UD
21380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21381
1004d182
UD
21382 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21383
228a984d
UD
21384 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21385 recently added interfaces.
21386 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21387
c8553a6a
UD
21388 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21389 about macro parameter expansion.
21390
ed22dcf6
UD
21391 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21392 __NO_MATH_INLINES is defined. Cleanups.
21393
21394 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21395 and __floorf is target has SSE4.1.
21396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21397 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21398 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21399 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21400
b171c137
UD
21401 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21402 name.
21403 (floorf): Likewise.
21404
97c066e6
UD
21405 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21406
629f62ef
AS
214072011-10-17 Andreas Schwab <schwab@redhat.com>
21408
49a43d80
AS
21409 * misc/sys/cdefs.h: Fix last change.
21410
629f62ef
AS
21411 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21412 database lookup.
21413
e453f6cd
UD
214142011-10-16 Ulrich Drepper <drepper@gmail.com>
21415
aa78043a
UD
21416 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21417
ad0f5cad
UD
21418 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21419 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21420 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21421 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21423 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21424 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21425 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21426 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21427 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21428 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21429 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21430 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21431 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21432 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21433 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21434 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21435 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21436 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21437 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21438 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21439 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21440
21441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21442 ceil, ceilf, floor, floorf.
21443
21444 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21445 Perform IRELATIVE relocations last.
21446
e453f6cd
UD
21447 * elf/do-rel.h: Add another parameter nrelative, replacing the
21448 local variable with the same name. Change name of the function
21449 to end in Rel or Rela (uppercase).
21450 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21451 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21452 elf_dynamic_do_##reloc function.
21453
fd5bdc09
UD
214542011-10-15 Ulrich Drepper <drepper@gmail.com>
21455
79b195b5
UD
21456 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21457 is sufficient, at least on modern CPUs.
21458
d4a28569
UD
21459 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21460
b61099b5
UD
21461 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21462 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21463
bcf01e6d
UD
21464 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21465 __expl_finite.
21466 * math/bits/math-finite.h: Add entries for exp.
21467 * math/e_expl.c: Add __*_finite alias.
21468 * sysdeps/i386/fpu/e_exp.S: Likewise.
21469 * sysdeps/i386/fpu/e_expf.S: Likewise.
21470 * sysdeps/i386/fpu/e_expl.c: Likewise.
21471 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21472 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21473 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21474 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21475 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21476 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21477 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21478
ba1a0d59
UD
21479 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21480 is sufficient, at least on modern CPUs.
21481
fd5bdc09
UD
21482 * ctype/ctype-info.c (__ctype_init): Define.
21483 * include/ctype.h (__ctype_init): Declare.
21484 (__ctype_b_loc): The variable is always initialized.
21485 (__ctype_toupper_loc): Likewise.
21486 (__ctype_tolower_loc): Likewise.
21487 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21488 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21489
7872cfb0
AS
214902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21491
b468825a
AS
21492 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21493
7872cfb0
AS
21494 * configure.in: Also look in $cxxmachine/include for C++ system
21495 headers.
21496
be13f7bf
LD
214972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21498
21499 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21500 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21501 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21502 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21503 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21504 (USE_AS_WMEMCMP): New macro.
21505 Fixing indents.
21506 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21507 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21508 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21509 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21510 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21511 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21512 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21513 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21514 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21515 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21516 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21517 (USE_AS_WMEMCMP): New macro.
21518 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21519 * sysdeps/string/test-memcmp.c: Update.
21520 Fix simple_wmemcmp.
21521 Add new tests.
21522 * wcsmbs/wmemcmp.c: Update.
21523 (WMEMCMP): New macro.
21524 Fix overflow bug.
21525
556a2007
AJ
215262011-10-12 Andreas Jaeger <aj@suse.de>
21527
21528 [BZ #13268]
21529 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21530
538faaa7
UD
215312011-10-15 Ulrich Drepper <drepper@gmail.com>
21532
ab6737ff
UD
21533 * libio/iofwide.c (do_length): Avoid warning.
21534
538faaa7
UD
21535 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21536
396a21b1
UD
215372011-10-14 Ulrich Drepper <drepper@gmail.com>
21538
cdf2901f
UD
21539 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21540
38ad40ce
UD
21541 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21542 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21543 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21544 * sysdeps/i386/i686/fpu/e_log.S: New file.
21545 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21546 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21547
396a21b1
UD
21548 * ctype/ctype.h: Add support for inlined isXXX functions when
21549 compiling C++ code.
21550
6b1f68c9
AS
215512011-10-14 Andreas Schwab <schwab@redhat.com>
21552
349290c0
AS
21553 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21554
6b1f68c9
AS
21555 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21556
f2282d42
RM
215572011-10-13 Roland McGrath <roland@hack.frob.com>
21558
21559 [BZ #13291]
21560 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21561
5298ffa8
AS
215622011-10-13 Andreas Schwab <schwab@redhat.com>
21563
714fad23
AS
21564 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21565 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21566 feraiseexcept.
21567
81dcc7fb
AS
21568 * sysdeps/x86_64/memrchr.S: Check for zero size.
21569
5298ffa8
AS
21570 * string/stratcliff.c: Add memrchr tests.
21571
951fbcec
LD
215722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21573
21574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21575 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21576 rawmemchr-sse2 rawmemchr-sse2-bsf.
21577 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21578 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21579 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21580 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21581 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21582 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21583 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21584 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21585 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21586 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21587 * string/memrchr.c (MEMRCHR): New macro.
21588
0ac5ae23
UD
215892011-10-12 Ulrich Drepper <drepper@gmail.com>
21590
21591 Add integration with gcc's -ffinite-math-only and optimize wrapper
21592 functions in libm.
21593 * Versions.def: Define GLIBC_2.15 version for libm.
21594 * math/Makefile (headers): Add bits/math-finite.h.
21595 * math/bits/math-finite.h: New file.
21596 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21597 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21598 * math/e_acoshl.c: Add __*_finite alias.
21599 * math/e_acosl.c: Likewise.
21600 * math/e_asinl.c: Likewise.
21601 * math/e_atan2l.c: Likewise.
21602 * math/e_atanhl.c: Likewise.
21603 * math/e_coshl.c: Likewise.
21604 * math/e_exp10.c: Likewise.
21605 * math/e_exp10f.c: Likewise.
21606 * math/e_exp10l.c: Likewise.
21607 * math/e_exp2l.c: Likewise.
21608 * math/e_fmodl.c: Likewise.
21609 * math/e_gammal_r.c: Likewise.
21610 * math/e_hypotl.c: Likewise.
21611 * math/e_j0l.c: Likewise.
21612 * math/e_j1l.c: Likewise.
21613 * math/e_jnl.c: Likewise.
21614 * math/e_lgammal_r.c: Likewise.
21615 * math/e_log10l.c: Likewise.
21616 * math/e_log2l.c: Likewise.
21617 * math/e_logl.c: Likewise.
21618 * math/e_powl.c: Likewise.
21619 * math/e_sinhl.c: Likewise.
21620 * math/e_sqrtl.c: Likewise.
21621 * math/e_scalb.c: Completely rewritten and optimized.
21622 * math/e_scalbf.c: Likewise.
21623 * math/e_scalbl.c: Likewise.
21624 * math/w_acos.c: Likewise.
21625 * math/w_acosf.c: Likewise.
21626 * math/w_acosl.c: Likewise.
21627 * math/w_acosh.c: Likewise.
21628 * math/w_acoshf.c: Likewise.
21629 * math/w_acoshl.c: Likewise.
21630 * math/w_asin.c: Likewise.
21631 * math/w_asinf.c: Likewise.
21632 * math/w_asinl.c: Likewise.
21633 * math/w_atan2.c: Likewise.
21634 * math/w_atan2f.c: Likewise.
21635 * math/w_atan2l.c: Likewise.
21636 * math/w_atanh.c: Likewise.
21637 * math/w_atanhf.c: Likewise.
21638 * math/w_atanhl.c: Likewise.
21639 * math/w_exp10.c: Likewise.
21640 * math/w_exp10f.c: Likewise.
21641 * math/w_exp10l.c: Likewise.
21642 * math/w_fmod.c: Likewise.
21643 * math/w_fmodf.c: Likewise.
21644 * math/w_fmodl.c: Likewise.
21645 * math/w_j0.c: Likewise.
21646 * math/w_j0f.c: Likewise.
21647 * math/w_j0l.c: Likewise.
21648 * math/w_j1.c: Likewise.
21649 * math/w_j1f.c: Likewise.
21650 * math/w_j1l.c: Likewise.
21651 * math/w_jn.c: Likewise.
21652 * math/w_jnf.c: Likewise.
21653 * math/w_log.c: Likewise.
21654 * math/w_logf.c: Likewise.
21655 * math/w_logl.c: Likewise.
21656 * math/w_log10.c: Likewise.
21657 * math/w_log10f.c: Likewise.
21658 * math/w_log10l.c: Likewise.
21659 * math/w_log2.c: Likewise.
21660 * math/w_log2f.c: Likewise.
21661 * math/w_log2l.c: Likewise.
21662 * math/w_pow.c: Likewise.
21663 * math/w_powf.c: Likewise.
21664 * math/w_powl.c: Likewise.
21665 * math/w_remainder.c: Likewise.
21666 * math/w_remainderf.c: Likewise.
21667 * math/w_remainderl.c: Likewise.
21668 * math/w_scalb.c: Likewise.
21669 * math/w_scalbf.c: Likewise.
21670 * math/w_scalbl.c: Likewise.
21671 * math/w_sqrt.c: Likewise.
21672 * math/w_sqrtf.c: Likewise.
21673 * math/w_sqrtl.c: Likewise.
21674 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21675 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21676 used.
21677 * math/math_private.h: Declare __kernel_standard_f.
21678 * math/w_cosh.c: Remove cruft and optimize a bit.
21679 * math/w_coshf.c: Likewise.
21680 * math/w_coshl.c: Likewise.
21681 * math/w_exp2.c: Likewise.
21682 * math/w_exp2f.c: Likewise.
21683 * math/w_exp2l.c: Likewise.
21684 * math/w_hypot.c: Likewise.
21685 * math/w_hypotf.c: Likewise.
21686 * math/w_hypotl.c: Likewise.
21687 * math/w_lgamma.c: Likewise.
21688 * math/w_lgamma_r.c: Likewise.
21689 * math/w_lgammaf.c: Likewise.
21690 * math/w_lgammaf_r.c: Likewise.
21691 * math/w_lgammal.c: Likewise.
21692 * math/w_lgammal_r.c: Likewise.
21693 * math/w_sinh.c: Likewise.
21694 * math/w_sinhf.c: Likewise.
21695 * math/w_sinhl.c: Likewise.
21696 * math/w_tgamma.c: Likewise.
21697 * math/w_tgammaf.c: Likewise.
21698 * math/w_tgammal.c: Likewise.
21699 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21701 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21702 Minor optimizations. Pretty printing. Remove cruft.
21703 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21704 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21705 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21706 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21707 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21708 * sysdeps/i386/fpu/e_asin.S: Likewise.
21709 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21710 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21711 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21712 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21713 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21715 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21716 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21717 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21718 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21719 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21720 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21721 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21722 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21723 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21724 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21725 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21726 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21727 * sysdeps/i386/fpu/e_log.S: Likewise.
21728 * sysdeps/i386/fpu/e_log10.S: Likewise.
21729 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21730 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21731 * sysdeps/i386/fpu/e_log2.S: Likewise.
21732 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21733 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21734 * sysdeps/i386/fpu/e_logf.S: Likewise.
21735 * sysdeps/i386/fpu/e_logl.S: Likewise.
21736 * sysdeps/i386/fpu/e_pow.S: Likewise.
21737 * sysdeps/i386/fpu/e_powf.S: Likewise.
21738 * sysdeps/i386/fpu/e_powl.S: Likewise.
21739 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21740 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21741 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21742 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21743 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21744 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21745 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21746 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21747 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21748 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21749 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21750 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21751 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21752 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21753 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21754 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21755 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21756 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21757 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21758 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21768 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21769 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21770 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21771 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21772 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21773 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21774 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21775 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21776 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21777 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21778 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21779 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21780 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21781 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21782 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21783 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21784 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21785 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21786 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21787 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21788 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21789 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21820 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21825 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21827 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21829 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21839 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21840 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21841 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21845 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21846 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21847 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21848 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21849 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21850 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21851 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21853 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21854 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21855 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21856 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21858 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21859 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21860 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21861 (__isnanf): Likewise.
21862 (__isinf_ns): Likewise.
21863 (__isinf_nsf): Likewise.
21864 (__finite): Likewise.
21865 (__finitef): Likewise.
21866 (__ieee754_sqrt): Define as macro.
21867 (__ieee754_sqrtf): Define as macro.
21868 (__ieee754_sqrtl): Define as macro.
21869 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21870 inlined copy.
21871 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21872 __FINITE_MATH_ONLY__ consistent.
21873 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21874
12cc2fcd
AS
218752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21876
a843a204
AS
21877 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21878 of rawmemchr.
21879
12cc2fcd
AS
21880 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21881
c853acd5
UD
218822011-10-09 Ulrich Drepper <drepper@gmail.com>
21883
21884 * po/ja.po: Update from translation team.
21885
c658d255
RM
218862011-10-08 Roland McGrath <roland@hack.frob.com>
21887
110946e4
RM
21888 * locale/programs/locarchive.c (prepare_address_space): New function.
21889 (create_archive, enlarge_archive, open_archive): Use it.
21890
50604220
RM
21891 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21892 inside [SHARED], where it is used.
21893
c658d255
RM
21894 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21895
21896 * nss/getent.c (netgroup_keys): Remove unused variable.
21897 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21898
6a621eb7
UD
218992011-10-08 Ulrich Drepper <drepper@gmail.com>
21900
7edb55ce
UD
21901 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21902 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21904 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21905 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21906 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21907 * math/Makefile (libm-calls): Add s_isinf_ns.
21908 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21909 * math/multc3.c: Likewise.
21910 * math/s_casin.c: Likewise.
21911 * math/s_casinf.c: Likewise.
21912 * math/s_casinl.c: Likewise.
21913 * math/s_ccos.c: Likewise.
21914 * math/s_ccosf.c: Likewise.
21915 * math/s_ccosl.c: Likewise.
21916 * math/s_ctan.c: Likewise.
21917 * math/s_ctanf.c: Likewise.
21918 * math/s_ctanh.c: Likewise.
21919 * math/s_ctanhf.c: Likewise.
21920 * math/s_ctanhl.c: Likewise.
21921 * math/s_ctanl.c: Likewise.
21922 * math/w_fmod.c: Likewise.
21923 * math/w_fmodf.c: Likewise.
21924 * math/w_fmodl.c: Likewise.
21925 * math/w_remainder.c: Likewise.
21926 * math/w_remainderf.c: Likewise.
21927 * math/w_remainderl.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21929 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21930 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21931 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21932 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21933 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21934 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21935 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21936
187da0ae
UD
21937 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21938 of the number.
21939 * stdio-common/printf_fphex.c: Likewise.
21940 * stdio-common/printf_size.c: Likewise.
21941
9277c064
UD
21942 * math/e_exp10.c: Include math_private.h using <...> not "...".
21943 * math/e_exp10f.c: Likewise.
21944 * math/e_exp10l.c: Likewise.
21945 * math/e_exp2l.c: Likewise.
21946 * math/e_j0l.c: Likewise.
21947 * math/e_j1l.c: Likewise.
21948 * math/e_jnl.c: Likewise.
21949 * math/e_lgammal_r.c: Likewise.
21950 * math/e_rem_pio2l.c: Likewise.
21951 * math/e_scalb.c: Likewise.
21952 * math/e_scalbf.c: Likewise.
21953 * math/e_scalbl.c: Likewise.
21954 * math/k_cosl.c: Likewise.
21955 * math/k_sinl.c: Likewise.
21956 * math/k_tanl.c: Likewise.
21957 * math/s_cacoshf.c: Likewise.
21958 * math/s_catan.c: Likewise.
21959 * math/s_catanf.c: Likewise.
21960 * math/s_catanh.c: Likewise.
21961 * math/s_catanhf.c: Likewise.
21962 * math/s_catanhl.c: Likewise.
21963 * math/s_catanl.c: Likewise.
21964 * math/s_ccosh.c: Likewise.
21965 * math/s_ccoshf.c: Likewise.
21966 * math/s_ccoshl.c: Likewise.
21967 * math/s_cexp.c: Likewise.
21968 * math/s_cexpf.c: Likewise.
21969 * math/s_cexpl.c: Likewise.
21970 * math/s_clog.c: Likewise.
21971 * math/s_clog10.c: Likewise.
21972 * math/s_clog10f.c: Likewise.
21973 * math/s_clog10l.c: Likewise.
21974 * math/s_clogf.c: Likewise.
21975 * math/s_clogl.c: Likewise.
21976 * math/s_csin.c: Likewise.
21977 * math/s_csinf.c: Likewise.
21978 * math/s_csinh.c: Likewise.
21979 * math/s_csinhf.c: Likewise.
21980 * math/s_csinhl.c: Likewise.
21981 * math/s_csinl.c: Likewise.
21982 * math/s_csqrt.c: Likewise.
21983 * math/s_csqrtf.c: Likewise.
21984 * math/s_csqrtl.c: Likewise.
21985 * math/s_ctan.c: Likewise.
21986 * math/s_ctanf.c: Likewise.
21987 * math/s_ctanh.c: Likewise.
21988 * math/s_ctanhf.c: Likewise.
21989 * math/s_ctanhl.c: Likewise.
21990 * math/s_ctanl.c: Likewise.
21991 * math/s_ldexp.c: Likewise.
21992 * math/s_ldexpf.c: Likewise.
21993 * math/s_ldexpl.c: Likewise.
21994 * math/s_significand.c: Likewise.
21995 * math/s_significandf.c: Likewise.
21996 * math/s_significandl.c: Likewise.
21997 * math/w_acos.c: Likewise.
21998 * math/w_acosf.c: Likewise.
21999 * math/w_acosh.c: Likewise.
22000 * math/w_acoshf.c: Likewise.
22001 * math/w_acoshl.c: Likewise.
22002 * math/w_acosl.c: Likewise.
22003 * math/w_asin.c: Likewise.
22004 * math/w_asinf.c: Likewise.
22005 * math/w_asinl.c: Likewise.
22006 * math/w_atan2.c: Likewise.
22007 * math/w_atan2f.c: Likewise.
22008 * math/w_atan2l.c: Likewise.
22009 * math/w_atanh.c: Likewise.
22010 * math/w_atanhf.c: Likewise.
22011 * math/w_atanhl.c: Likewise.
22012 * math/w_cosh.c: Likewise.
22013 * math/w_coshf.c: Likewise.
22014 * math/w_coshl.c: Likewise.
22015 * math/w_dremf.c: Likewise.
22016 * math/w_exp10.c: Likewise.
22017 * math/w_exp10f.c: Likewise.
22018 * math/w_exp10l.c: Likewise.
22019 * math/w_exp2.c: Likewise.
22020 * math/w_exp2f.c: Likewise.
22021 * math/w_fmod.c: Likewise.
22022 * math/w_fmodf.c: Likewise.
22023 * math/w_fmodl.c: Likewise.
22024 * math/w_hypot.c: Likewise.
22025 * math/w_hypotf.c: Likewise.
22026 * math/w_hypotl.c: Likewise.
22027 * math/w_j0.c: Likewise.
22028 * math/w_j0f.c: Likewise.
22029 * math/w_j0l.c: Likewise.
22030 * math/w_j1.c: Likewise.
22031 * math/w_j1f.c: Likewise.
22032 * math/w_j1l.c: Likewise.
22033 * math/w_jn.c: Likewise.
22034 * math/w_jnf.c: Likewise.
22035 * math/w_jnl.c: Likewise.
22036 * math/w_lgamma.c: Likewise.
22037 * math/w_lgamma_r.c: Likewise.
22038 * math/w_lgammaf.c: Likewise.
22039 * math/w_lgammaf_r.c: Likewise.
22040 * math/w_lgammal.c: Likewise.
22041 * math/w_lgammal_r.c: Likewise.
22042 * math/w_log.c: Likewise.
22043 * math/w_log10.c: Likewise.
22044 * math/w_log10f.c: Likewise.
22045 * math/w_log10l.c: Likewise.
22046 * math/w_log2.c: Likewise.
22047 * math/w_log2f.c: Likewise.
22048 * math/w_log2l.c: Likewise.
22049 * math/w_logf.c: Likewise.
22050 * math/w_logl.c: Likewise.
22051 * math/w_pow.c: Likewise.
22052 * math/w_powf.c: Likewise.
22053 * math/w_powl.c: Likewise.
22054 * math/w_remainder.c: Likewise.
22055 * math/w_remainderf.c: Likewise.
22056 * math/w_remainderl.c: Likewise.
22057 * math/w_scalb.c: Likewise.
22058 * math/w_scalbf.c: Likewise.
22059 * math/w_scalbl.c: Likewise.
22060 * math/w_sinh.c: Likewise.
22061 * math/w_sinhf.c: Likewise.
22062 * math/w_sinhl.c: Likewise.
22063 * math/w_sqrt.c: Likewise.
22064 * math/w_sqrtf.c: Likewise.
22065 * math/w_sqrtl.c: Likewise.
22066 * math/w_tgamma.c: Likewise.
22067 * math/w_tgammaf.c: Likewise.
22068 * math/w_tgammal.c: Likewise.
22069
6a621eb7
UD
22070 * po/ja.po: Update from translation team.
22071
bf582445
AJ
220722011-09-29 Andreas Jaeger <aj@suse.de>
22073
f9efbf3a
AJ
22074 [BZ #13179]
22075 * sunrpc/netname.c (netname2host): Fix logic.
22076
bf582445
AJ
22077 [BZ #6779]
22078 [BZ #6783]
22079 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22080 correctly.
22081 * math/w_remainder.c (__remainder): Likewise.
22082 * math/w_remainderf.c (__remainderf): Likewise.
22083 * math/libm-test.inc (remainder_test): Add test cases.
22084
48693bea
AK
220852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22086
22087 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22088 sdiv_qrnnd.
22089
42622229
LD
220902011-10-07 Ulrich Drepper <drepper@gmail.com>
22091
22092 * string/test-memcmp.c: Avoid unncessary #defines.
22093 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22094
093ecf92
LD
220952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22096
22097 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22098 Use new sse2 version for core i3 - i7 as it's faster
22099 than sse42 version.
22100 (bit_Prefer_PMINUB_for_stringop): New.
22101 * sysdeps/x86_64/rawmemchr.S: Update.
22102 Replace with faster SSE2 version.
22103 * sysdeps/x86_64/memrchr.S: New file.
22104 * sysdeps/x86_64/memchr.S: Update.
22105 Replace with faster SSE2 version.
22106
fde56e5c
MP
221072011-09-12 Marek Polacek <mpolacek@redhat.com>
22108
22109 * elf/dl-load.c (lose): Add cast to avoid warning.
22110
21fd49a9
UD
221112011-10-07 Ulrich Drepper <drepper@gmail.com>
22112
5a06e643
UD
22113 * po/ca.po: Update from translation team.
22114
684ae515
UD
22115 * inet/getnetgrent_r.c: Hook up nscd.
22116 * nscd/Makefile (routines): Add nscd_netgroup.
22117 (nscd-modules): Add netgroupcache.
22118 (CFLAGS-netgroupcache.c): Define.
22119 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22120 (cache_search): Add const to second parameter.
22121 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22122 INNETGR.
22123 (dbs): Add netgrdb entry.
22124 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22125 (verify_persistent_db): Handle netgrdb.
22126 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22127 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22128 GETFDNETGR.
22129 (netgroup_response_header): Define.
22130 (innetgroup_response_header): Define.
22131 (datahead): Add netgroup_response_header and innetgroup_response_header
22132 elements.
22133 * nscd/nscd.conf: Add entries for netgroup cache.
22134 * nscd/nscd.h (dbtype): Add netgrdb.
22135 (_PATH_NSCD_NETGROUP_DB): Define.
22136 (netgroup_iov_disabled): Declare.
22137 (xmalloc, xcalloc, xrealloc): Move declarations here.
22138 (cache_search): Adjust prototype.
22139 Add netgroup-related prototypes.
22140 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22141 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22142 (__nscd_innetgr): Declare.
22143 * nscd/selinux.c (perms): Use access_vector_t as element type and
22144 add netgroup-related initializers.
22145 * nscd/netgroupcache.c: New file.
22146 * nscd/nscd_netgroup.c: New file.
22147 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22148 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22149 For four parameters use innetgr.
22150 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22151 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22152 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22153 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22154
21fd49a9
UD
22155 * nscd/connections.c (register_traced_file): Don't register file
22156 for disabled databases.
22157
054c0457
UD
221582011-10-06 Ulrich Drepper <drepper@gmail.com>
22159
32b63198
UD
22160 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22161
054c0457
UD
22162 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22163 from tree and freeing node.
22164
64031225
JO
221652011-09-25 Jiri Olsa <jolsa@redhat.com>
22166
22167 * nss/nsswitch.c (__nss_database_lookup): Handle
22168 nss_parse_service_list out of memory case.
22169
0490345c
JO
221702011-09-15 Jiri Olsa <jolsa@redhat.com>
22171
22172 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22173 out of memory case.
22174
3a62d00d
AS
221752011-10-04 Andreas Schwab <schwab@redhat.com>
22176
22177 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22178 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22179 pass it down.
22180 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22181 elf_machine_rela, elf_machine_lazy_rel.
22182 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22183 (ELF_DYNAMIC_DO_REL): Likewise.
22184 (ELF_DYNAMIC_DO_RELA): Likewise.
22185 (ELF_DYNAMIC_RELOCATE): Likewise.
22186 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22187 to ELF_DYNAMIC_DO_REL.
22188 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22189 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22190 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22191 elf_machine_rela.
22192 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22193 skip_ifunc, don't call ifunc function if non-zero.
22194 (elf_machine_rela): Likewise.
22195 (elf_machine_lazy_rel): Likewise.
22196 (elf_machine_lazy_rela): Likewise.
22197 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22198 (elf_machine_lazy_rel): Likewise.
22199 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22200 Likewise.
22201 (elf_machine_lazy_rel): Likewise.
22202 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22203 Likewise.
22204 (elf_machine_lazy_rel): Likewise.
22205 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22206 (elf_machine_lazy_rel): Likewise.
22207 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22208 (elf_machine_lazy_rel): Likewise.
22209 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22210 (elf_machine_lazy_rel): Likewise.
22211 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22212 (elf_machine_lazy_rel): Likewise.
22213 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22214 (elf_machine_lazy_rel): Likewise.
22215 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22216 (elf_machine_lazy_rel): Likewise.
22217
68577918
UD
222182011-09-28 Ulrich Drepper <drepper@gmail.com>
22219
22220 * nss/nss_files/files-init.c (_nss_files_init): Use static
22221 initialization for all the *_traced_file variables.
22222
68822d74
AS
222232011-09-28 Andreas Schwab <schwab@redhat.com>
22224
22225 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22226
2056100b
RM
222272011-09-27 Roland McGrath <roland@hack.frob.com>
22228
22229 [BZ #13226]
22230 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22231
32c76b63
AS
222322011-09-27 Andreas Schwab <schwab@redhat.com>
22233
22234 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22235 Reread the line before reparsing it.
22236
bf972c9d
AS
222372011-09-26 Andreas Schwab <schwab@redhat.com>
22238
22239 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22240
e057a1b5
JM
222412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22242 Maxim Kuvyrkov <maxim@codesourcery.com>
22243 Joseph Myers <joseph@codesourcery.com>
22244
22245 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22246 if needed for __stack_chk_guard.
22247
bc7e1c36
RM
222482011-09-19 Roland McGrath <roland@hack.frob.com>
22249
ecb1482f
RM
22250 * sysdeps/posix/spawni.c (script_execute): Always define it.
22251 It will be optimized away if unused.
22252 (maybe_script_execute): New function.
22253 (__spawni): Call it.
22254
bc7e1c36
RM
22255 * Makerules: Don't include tls.make.
22256 (config-tls): Always set to thread.
22257 * tls.make.c: File removed.
22258
1c3b002b
MF
222592011-09-19 Mike Frysinger <vapier@gentoo.org>
22260
22261 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22262 * config.make.in (CPPFLAGS-config): New substituted variable.
22263
2840865d
UD
222642011-09-15 Ulrich Drepper <drepper@gmail.com>
22265
88738eb6
UD
22266 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22267
cbf645a6 22268 [BZ #13192]
2840865d
UD
22269 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22270 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22271
b402e91a
RM
222722011-09-15 Roland McGrath <roland@hack.frob.com>
22273
22274 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22275 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22276 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22277 (CALL_FAIL): Likewise.
22278 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22279 (CALL_FAIL): Macro removed.
22280 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22281
4c1a1f71
UD
222822011-09-15 Ulrich Drepper <drepper@gmail.com>
22283
22284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22285 for __FINITE_MATH_ONLY__ == 1.
22286
edc121be
AS
222872011-09-15 Andreas Schwab <schwab@redhat.com>
22288
22289 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22290 __ieee754_sqrt instead of sqrt.
22291 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22292 __ieee754_sqrtf instead of sqrtf.
22293 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22294 __floorf instead of floorf.
22295 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22296 __floorf, __truncf instead of floorf, truncf.
22297
cd205654
UD
222982011-09-14 Ulrich Drepper <drepper@gmail.com>
22299
ee4d0315
UD
22300 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22301
cd205654
UD
22302 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22303 __extern_always_inline.
22304 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22305 32-bit.
22306
48b67d71
AS
223072011-09-14 Andreas Schwab <schwab@redhat.com>
22308
22309 * elf/rtld.c (dl_main): Also relocate in dependency order when
22310 doing symbol dependency testing.
22311
1ae12c75
AS
223122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22313
22314 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22315 Always define `refsym'.
22316
995a80df
AS
223172011-09-13 Andreas Schwab <schwab@redhat.com>
22318
e529793b
AS
22319 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22320 (__FD_ELT): Renamed from __FDELT.
22321 * misc/bits/select2.h (__FD_ELT): Likewise.
22322 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22323 __FD_MASK instead of __FDELT, __FDMASK.
22324 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22325 Likewise.
22326 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22327 Likewise.
22328
52d4fef8
AS
22329 * elf/Makefile (gen-ldd): Fix pattern.
22330
995a80df
AS
22331 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22332 (init_tls): Likewise.
22333
8682f8b0
UD
223342011-09-12 Ulrich Drepper <drepper@gmail.com>
22335
22336 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22337
de82006d
AS
223382011-09-12 Andreas Schwab <schwab@redhat.com>
22339
a7c8e6a1
AS
22340 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22341 `struct cmsghdr *' instead of `void *'.
22342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22343 Likewise.
22344
0f31fe77
AS
223452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22346
22347 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22348 if non-absolute.
22349 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22350 ldd_rewrite_script.
0f31fe77 22351
32b4c839
UD
223522011-09-11 Ulrich Drepper <drepper@gmail.com>
22353
83cd1420
UD
22354 * configure.in: Remove --with-tls option.
22355 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22356 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22357 out in case it is missing.
22358 * sysdeps/ia64/elf/configure.in: Likewise.
22359 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22360 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22361 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22362 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22363 * sysdeps/sh/elf/configure.in: Likewise.
22364 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22365 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22366 * sysdeps/x86_64/elf/configure.in: Likewise.
22367 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22368 * sysdeps/mach/hurd/tls.h: Likewise.
22369
633f745d
UD
22370 [BZ #13067]
22371 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22372
f318beb8
UD
22373 [BZ #13090]
22374 * configure.in: Fix use of AC_INIT.
22375
32b4c839
UD
22376 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22377
3ce1f295
UD
223782011-09-10 Ulrich Drepper <drepper@gmail.com>
22379
bb016596
UD
22380 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22381 __set_errno.
8e58439c
UD
22382 * malloc/hooks.c: Likewise.
22383
aebae053 22384 [BZ #11929]
02d46fc4
UD
22385 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22386 variables statically.
22387 (narenas): Initialize.
22388 (list_lock): Initialize.
bb016596
UD
22389 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22390 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22391 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22392 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22393 Add initializers to main_arena and mp_.
22394 (malloc_state): Remove pagesize member. Change all users to use
22395 GLRO(dl_pagesize).
22396
22397 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22398 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22399 is always initialized.
22400
22a89187
UD
22401 * malloc/malloc.c: Removed unused configurations and dead code.
22402 * malloc/arena.c: Likewise.
22403 * malloc/hooks.c: Likewise.
02d46fc4 22404 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22405
d063d164
UD
22406 * include/tls.h: Removed. USE___THREAD must always be defined.
22407 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22408 * elf/dl-libc.c: Likewise.
22409 * elf/dl-tsd.c: Likewise.
22410 * include/errno.h: Likewise.
22411 * include/netdb.h: Likewise.
22412 * include/resolv.h: Likewise.
22413 * inet/herrno-loc.c: Likewise.
22414 * inet/herrno.c: Likewise.
22415 * malloc/arena.c: Likewise.
22416 * malloc/hooks.c: Likewise.
22417 * malloc/malloc.c: Likewise.
22418 * resolv/res-state.c: Likewise.
22419 * resolv/res_libc.c: Likewise.
22420 * sysdeps/i386/dl-machine.h: Likewise.
22421 * sysdeps/ia64/dl-machine.h: Likewise.
22422 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22423 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22424 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22425 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22426 * sysdeps/sh/dl-machine.h: Likewise.
22427 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22428 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22429 * sysdeps/unix/i386/sysdep.S: Likewise.
22430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22431 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22432 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22435 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22437 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22439 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22440 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22441 * sysdeps/x86_64/dl-machine.h: Likewise.
22442 * tls.make.c: Likewise.
22443
3ce1f295
UD
22444 * configure.in: Remove --with-__thread option. Make tests for
22445 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22446 tls_model attribute fail if no support is available. Remove
22447 USE_IN_LIBIO.
22448 * Makeconfig: Adjust for dropped configure option. All features are
22449 now mandatory.
22450 * Makerules: Likewise.
22451 * Versions.def: Likewise.
22452 * argp/argp-fmtstream.c: Likewise.
22453 * argp/argp-fmtstream.h: Likewise.
22454 * argp/argp-help.c: Likewise.
22455 * assert/assert.c: Likewise.
22456 * config.h.in: Likewise.
22457 * config.make.in: Likewise.
22458 * configure: Likewise.
22459 * configure.in: Likewise.
22460 * csu/Versions: Likewise.
22461 * csu/init.c: Likewise.
22462 * elf/tst-audit2.c: Likewise.
22463 * elf/tst-tls10.c: Likewise.
22464 * elf/tst-tls10.h: Likewise.
22465 * elf/tst-tls11.c: Likewise.
22466 * elf/tst-tls12.c: Likewise.
22467 * elf/tst-tls14.c: Likewise.
22468 * elf/tst-tlsmod11.c: Likewise.
22469 * elf/tst-tlsmod12.c: Likewise.
22470 * elf/tst-tlsmod13.c: Likewise.
22471 * elf/tst-tlsmod13a.c: Likewise.
22472 * elf/tst-tlsmod14a.c: Likewise.
22473 * elf/tst-tlsmod15b.c: Likewise.
22474 * elf/tst-tlsmod16a.c: Likewise.
22475 * elf/tst-tlsmod16b.c: Likewise.
22476 * elf/tst-tlsmod7.c: Likewise.
22477 * elf/tst-tlsmod8.c: Likewise.
22478 * elf/tst-tlsmod9.c: Likewise.
22479 * gmon/gmon.c: Likewise.
22480 * grp/fgetgrent_r.c: Likewise.
22481 * grp/putgrent.c: Likewise.
22482 * hurd/fopenport.c: Likewise.
22483 * include/libc-symbols.h: Likewise.
22484 * include/tls.h: Likewise.
22485 * intl/gettextP.h: Likewise.
22486 * intl/loadinfo.h: Likewise.
22487 * locale/global-locale.c: Likewise.
22488 * locale/localeinfo.h: Likewise.
22489 * mach/devstream.c: Likewise.
22490 * malloc/arena.c: Likewise.
22491 * malloc/set-freeres.c: Likewise.
22492 * misc/err.c: Likewise.
22493 * misc/getttyent.c: Likewise.
22494 * misc/mntent_r.c: Likewise.
22495 * posix/getopt.c: Likewise.
22496 * posix/wordexp.c: Likewise.
22497 * pwd/fgetpwent_r.c: Likewise.
22498 * resolv/Versions: Likewise.
22499 * resolv/res_hconf.c: Likewise.
22500 * shadow/fgetspent_r.c: Likewise.
22501 * shadow/putspent.c: Likewise.
22502 * stdio-common/printf_fphex.c: Likewise.
22503 * stdio-common/tmpfile.c: Likewise.
22504 * stdlib/abort.c: Likewise.
22505 * stdlib/fmtmsg.c: Likewise.
22506 * sunrpc/auth_unix.c: Likewise.
22507 * sunrpc/clnt_perr.c: Likewise.
22508 * sunrpc/clnt_tcp.c: Likewise.
22509 * sunrpc/clnt_udp.c: Likewise.
22510 * sunrpc/clnt_unix.c: Likewise.
22511 * sunrpc/openchild.c: Likewise.
22512 * sunrpc/svc_simple.c: Likewise.
22513 * sunrpc/svc_tcp.c: Likewise.
22514 * sunrpc/svc_udp.c: Likewise.
22515 * sunrpc/svc_unix.c: Likewise.
22516 * sunrpc/xdr.c: Likewise.
22517 * sunrpc/xdr_array.c: Likewise.
22518 * sunrpc/xdr_rec.c: Likewise.
22519 * sunrpc/xdr_ref.c: Likewise.
22520 * sunrpc/xdr_stdio.c: Likewise.
22521
1248c1c4
PB
225222011-09-09 Ulrich Drepper <drepper@gmail.com>
22523
22524 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22525
225262011-07-03 Andreas Jaeger <aj@suse.de>
22527
22528 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22529 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22530 regenerate with gen-libm-tests.pl.
22531
225322010-05-12 Petr Baudis <pasky@suse.cz>
22533
22534 [BZ #11589]
22535 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22536 around j0() zero points by switching to j1().
22537 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22538 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22541
f22e1074
UD
225422011-09-09 Ulrich Drepper <drepper@gmail.com>
22543
f19009c1
UD
22544 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22545 instead of 0.
22546 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22547 instead of 0.
f19009c1
UD
22548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22549 Patch in part by Pavel Roskin <proski@gnu.org>.
22550
3f8cc204
UD
22551 [BZ #13138]
22552 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22553 realloc.
22554 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22555 Free memory block if necessary.
22556
f22e1074
UD
22557 [BZ #12847]
22558 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22559 be NULL. Don't lock in this case.
22560
0a2349f9
RM
225612011-09-09 Roland McGrath <roland@hack.frob.com>
22562
22563 * elf/elf.h (ELFOSABI_GNU): New macro.
22564 (ELFOSABI_LINUX): Define to that.
22565
f3cdd467
DZ
225662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22567
22568 * string/strncat.c (strncat): Undef the symbol in case it has been
22569 defined in bits/string.h.
22570
74718d13
UD
225712011-09-09 Ulrich Drepper <drepper@gmail.com>
22572
633e9e0f
UD
22573 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22574
0a2349f9 22575 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22576 link map.
22577
f9924780
AJ
225782011-08-17 Andreas Jaeger <aj@suse.de>
22579
22580 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22581
7f5517aa
PP
225822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22583 Ian Lance Taylor <iant@google.com>
22584
22585 * math/libm-test.inc (lround_test): New testcase.
22586 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22587
762011fe
UD
225882011-09-08 Ulrich Drepper <drepper@gmail.com>
22589
92963737
UD
22590 * Makefile: Remove support for automatic cvs check-ins.
22591 * Makerules: Likewise.
22592 * config.make.in: Likewise.
22593 * configure.in: Likewise.
22594 * intl/Makefile: Likewise.
22595 * locale/Makefile: Likewise.
22596 * po/Makefile: Likewise.
22597 * posix/Makefile: Likewise.
22598 * sysdeps/gnu/Makefile: Likewise.
22599 * sysdeps/mach/hurd/Makefile: Likewise.
22600 * sysdeps/sparc/sparc32/Makefile: Likewise.
22601
b0727fd8
JS
22602 [BZ #13118]
22603 * posix/Makefile (bug-regex32-ENV): Define.
22604 Patch by John Stanley <jpsinthemix@verizon.net>.
22605
a0f33f99
UD
22606 * misc/Makefile (headers): Add bits/select2.h.
22607 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22608 * misc/bits/select2.h: New file.
22609 * include/bits/select2.h: New file.
22610 * debug/Makefile (routines): Add fdelt_chk.
22611 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22612 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22613 FD_ISSET.
22614 * debug/fdelt_chk.c: New file.
22615
762011fe
UD
22616 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22617 * wcsmbs/test-wmemcmp.c: Likewise.
22618 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22619 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22620
226212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22622
22623 * string/Makefile (strop-tests): Add memcmp.
22624 * string/test-wmemcmp.c: New file.
22625 * string/test-memcmp.c: Add wmemcmp support.
22626
7f513ec8
RM
226272011-09-08 Roland McGrath <roland@hack.frob.com>
22628
0442afb4
RM
22629 [BZ #13153]
22630 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22631 2011-07-19 change.
22632
7f513ec8
RM
22633 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22634 garbage value in a __mach_port_mod_refs call in the cases of the
22635 task-self and thread-self ports.
22636
a12b2239
ST
226372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22638
22639 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22640
610f9ab4
AS
226412011-09-08 Andreas Schwab <schwab@redhat.com>
22642
7f513ec8 22643 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22644
48882a1a
LD
226452011-09-07 Ulrich Drepper <drepper@gmail.com>
22646
b49865be
UD
22647 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22648
fdc86bc9
UD
22649 * elf/dl-libc.c (dlerror_run): Pass back error code from
22650 dl_catch_error.
22651
c966526a
UD
22652 [BZ #13123]
22653 * elf/dl-load.c (lose): Free l_origin if it is valid.
22654
48882a1a
LD
22655 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22656 names.
22657 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22658 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22659 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22660 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22661 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22662 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22663
77a2a8b4
AZ
226642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22665
22666 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22667 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22668 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22670 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22671 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22672 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22673 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22674 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22675 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22676
24f579d8
AM
226772011-08-15 Alan Modra <amodra@gmail.com>
22678
22679 [BZ #13092]
22680 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22681 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22682 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22683 ppc_mcount to static-only-routines.
22684 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22685 __mcount_internal.
22686 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22687 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22688
3d4837df
UD
226892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22690
22691 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22692 for finite and infinity parameters.
22693
22700377
WS
226942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22695
22696 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22697 and add nop instructions for throughput optimization.
22698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22699
5025581e
WS
227002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22701
22702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22703 aligned copy for power7 with vector-scalar instructions.
22704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22705
08a300c9
L
227062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22707
22708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22709 AVX check.
22710
59178ef9
AS
227112011-09-07 Andreas Schwab <schwab@redhat.com>
22712
22713 [BZ #13144]
22714 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22715 last change.
22716
e38ba7ab
UD
227172011-09-07 Ulrich Drepper <drepper@gmail.com>
22718
22719 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22720 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22721 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22722 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22723 clock_gettime.
22724
d53a73ac
UD
227252011-09-06 Ulrich Drepper <drepper@gmail.com>
22726
fc8bffcc
UD
22727 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22728 Forgot to demangle the pointer.
22729
ceaa0c5d
UD
22730 * sysdeps/i386/sysdep.h: Define atom_text_section.
22731 * sysdeps/x86_64/sysdep.h: Likewise.
22732 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22733 section with atom_text_section.
22734 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22736 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22738 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22739
a77d3c17
UD
22740 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22742 already be defined. Change to take two parameters and don't assign
22743 result to variable. Adjust all users.
22744 Define INTERNAL_GETTIME if not already defined.
22745 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22746 call.
22747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22748 HAVE_CLOCK_GETTIME_VSYSCALL.
22749 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22750
d53a73ac
UD
22751 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22752 gettimeofday vsyscall, just use time.
22753
a8f84144
AS
227542011-09-06 Andreas Schwab <schwab@redhat.com>
22755
22756 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22757 <errno.h>.
22758
ef606249
UD
227592011-09-06 Ulrich Drepper <drepper@gmail.com>
22760
22761 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22762 syscall on x86-64.
22763 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22764 syscall.
22765 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22766 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22767 syscall if possible.
22768
6585cb60
UD
227692011-09-05 Ulrich Drepper <drepper@gmail.com>
22770
22771 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22772 e_ident. Don't pass to find_mapsXX.
22773 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22774
a5f524e4
LD
227752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22776
22777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22778 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22779 * sysdeps/x86_64/multiarch/strchr.S: Update.
22780 Check bit_slow_BSF bit.
22781 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22782 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22783 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22784
554881ef
UD
227852011-09-05 Ulrich Drepper <drepper@gmail.com>
22786
d96de963
UD
22787 [BZ #13134]
22788 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22789 before glibc 2.15.
22790 (tryshell): Define.
22791 (__spawni): Change last parameter to be flag. Test
22792 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22793 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22794 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22795 * posix/spawni.c: Likewise.
22796 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22797 * posix/spawnp.c: Likewise. Change normal version to use
22798 SPAWN_XFLAGS_USE_PATH.
22799 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22800 SPAWN_XFLAGS_TRY_SHELL.
22801
d48e5868
UD
22802 [BZ #13150]
22803 * posix/glob.h: Remove gcc 1.x support.
22804
554881ef
UD
22805 [BZ #13068]
22806 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22807
693fb948
LD
228082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22809
22810 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22811 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22812 strrchr-sse2-bsf
22813 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22814 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22815 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22816 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22817 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22818 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22819
1b48c537
UD
228202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22821
49d42c37
UD
22822 * sysdeps/x86_64/wcscmp.S: New file.
22823
1b48c537
UD
22824 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22825 wcscmp-c wcscmp-sse2
22826 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22827 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22828 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22829 * wcsmbs/wcscmp.c: Allow renaming.
22830
15c95c5d
DM
228312011-09-05 David S. Miller <davem@davemloft.net>
22832
22833 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22834 stack slot, rather than the struct return pointer slot.
22835 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22836 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22838 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22839
2f0ad8f3
UD
228402011-09-05 Ulrich Drepper <drepper@gmail.com>
22841
d88ae418
UD
22842 * po/ja.po: Update from translation team.
22843
2f0ad8f3
UD
22844 [BZ #13144]
22845 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22846 kernel in 64-bit binaries.
22847
5f4318d1
DM
228482011-09-01 David S. Miller <davem@davemloft.net>
22849
22850 * elf/elf.h (HWCAP_SPARC_*): Move to..
22851 * sysdeps/sparc/sysdep.h: this new file and add new values.
22852 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22853 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22854 _DL_HWCAP_COUNT to 24.
22855 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22856 entries.
22857 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22858 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22859 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22861 instead of magic constants.
22862 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22863
3ba57516
DM
228642011-08-31 David S. Miller <davem@davemloft.net>
22865
22866 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22867 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22868 Reimplement to do errno handling inline.
22869 (SYSCALL_ERROR_HANDLER): New macro.
22870 (__SYSCALL_STRING): Do not do errno handling in asm.
22871 (__CLONE_SYSCALL_STRING): Delete.
22872 (__INTERNAL_SYSCALL_STRING): Delete.
22873 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22874 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22875 (PSEUDO): Reimplement to do errno handling inline.
22876 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22877 (SYSCALL_ERROR_HANDLER): New macro.
22878 (__SYSCALL_STRING): Do not do errno handling in asm.
22879 (__CLONE_SYSCALL_STRING): Delete.
22880 (__INTERNAL_SYSCALL_STRING): Delete.
22881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22882 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22883 i386.
22884 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22885 (inline_syscall*): Add 'err' argument.
22886 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22887 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22888 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22889 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22890
22891 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22893
2bc17433
AS
228942011-08-30 Andreas Schwab <schwab@redhat.com>
22895
22896 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22897
fbeb5f4d
JO
228982011-08-29 Jiri Olsa <jolsa@redhat.com>
22899
22900 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22901 directive.
22902
ad69cc26
DM
229032011-08-24 David S. Miller <davem@davemloft.net>
22904
22905 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22906
39dd69df
AS
229072011-08-24 Andreas Schwab <schwab@redhat.com>
22908
22909 * elf/Makefile: Add rules to build and run unload8 test.
22910 * elf/unload8.c: New file.
22911 * elf/unload8mod1.c: New file.
22912 * elf/unload8mod1x.c: New file.
22913 * elf/unload8mod2.c: New file.
22914 * elf/unload8mod3.c: New file.
22915
22916 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22917 it wasn't used.
22918
2c0b250a
DM
229192011-08-23 David S. Miller <davem@davemloft.net>
22920
22921 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22922 subtract stack bias.
22923 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22924 %sp not %fp in calculations.
22925 (_JMPBUF_UNWINDS_ADJ): Likewise.
22926
22044b48
DM
22927 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22928 (aio_suspend): Call it to force an exception region around the
22929 AIO_MISC_WAIT() invocation.
22930
2cae4995
AS
229312011-08-23 Andreas Schwab <schwab@redhat.com>
22932
22933 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22934 backslash.
22935
873a772e
AJ
229362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22937
22938 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22939 protection macro.
22940 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22941 and <dl-machine.h>.
22942 (Elf64_FuncDesc): Remove.
22943
25ad0df1
DM
229442011-08-22 David S. Miller <davem@davemloft.net>
22945
22946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22947 sigaltstack check, add missing cfi directives.
22948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22949 missing cfi directives, and sigaltstack handling.
22950
e888bcbe
AS
229512011-08-16 Andreas Schwab <schwab@redhat.com>
22952
22953 [BZ #11724]
22954 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22955 object is seen twice.
22956 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22957
22958 * elf/Makefile (distribute): Add tst-initorder2.c.
22959 (tests): Add tst-initorder2.
22960 (modules-names): Add tst-initorder2a tst-initorder2b
22961 tst-initorder2c tst-initorder2d. Add rules to build them.
22962 ($(objpfx)tst-initorder2.out): New rule.
22963 * elf/tst-initorder2.c: New file.
22964 * elf/tst-initorder2.exp: New file.
22965
87162f46
AS
229662011-08-22 Andreas Schwab <schwab@redhat.com>
22967
70538b7f
AS
22968 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22969
f55ffe58
AS
22970 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22971 dependencies back to end of function.
22972
87162f46
AS
22973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22974 $(elfobjdir)/ld.so.
22975
91b392a4
UD
229762011-08-21 Ulrich Drepper <drepper@gmail.com>
22977
22978 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22979 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22981 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22982 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22983 of __vdso_gettimeofday.
22984 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22985 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22986 attribute_hidden.
22987 (_libc_vdso_platform_setup): Remove initialization of
22988 __vdso_gettimeofday and __vdso_time.
22989
5c43483f
UD
229902011-08-20 Ulrich Drepper <drepper@gmail.com>
22991
775a77e7
UD
22992 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22993 and fgetc_unlocked.
22994 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22995 getc_unlocked.
89f447ed 22996
49c74ba9
UD
22997 * elf/dl-open.c (add_to_global): Report additions to the global scope
22998 for LD_DEBUG=scopes.
22999 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23000 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23001
5c43483f
UD
23002 [BZ #13114]
23003 * stdio-common/Makefile (tests): Add bug24.
23004 * stdio-common/bug24.c: New file.
23005
a101b025
AJ
230062011-08-19 Andreas Jaeger <aj@suse.de>
23007
23008 [BZ #13114]
23009 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23010 non-existant file when using close-on-exec mode.
23011
c88f1766
UD
230122011-08-20 Ulrich Drepper <drepper@gmail.com>
23013
0276a718
UD
23014 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23015 the very first instruction.
23016
c88f1766
UD
23017 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23018 the CFI state in the end.
23019 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23020 inclusion of dl-trampoline.h.
23021 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23022
51ccffa0
AS
230232011-08-19 Andreas Schwab <schwab@redhat.com>
23024
94d7165f
AS
23025 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23026 expectations for long double.
23027
51ccffa0
AS
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23029 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23030
fd708658 230312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23032
23033 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23034 artificual limit depends upon the system page size.
23035
44f0a71e
UD
230362011-08-17 Ulrich Drepper <drepper@gmail.com>
23037
23038 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23039 * resolv/Makefile: Define CFLAGS-libresolv.
23040
8de79a24
AS
230412011-08-17 Andreas Schwab <schwab@redhat.com>
23042
23043 * nss/makedb.c (compute_tables): Make variables used in nested
23044 function static.
23045
27724598
UD
230462011-08-17 Ulrich Drepper <drepper@gmail.com>
23047
c5305d88
UD
23048 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23049 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23050 if buffer was too small.
23051
27724598
UD
23052 * elf/pldd.c (main): Attach to all threads in the process.
23053 Rewrite /proc handling to use *at functions.
23054
076fe015
UD
230552011-08-16 Ulrich Drepper <drepper@gmail.com>
23056
174baab3
UD
23057 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23058 specifies first scope to show.
23059 (dl_open_worker): Update callers. Move printing scope of new
23060 object to before the relocation.
44f0a71e 23061 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23062 * sysdeps/generic/ldsodefs.h: Update declaration.
23063
076fe015
UD
23064 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23065 string for the scope number.
23066
a60df2c3
UD
230672011-08-14 Ulrich Drepper <drepper@gmail.com>
23068
23069 * nscd/servicescache.c (cache_addserv): Make sure written is always
23070 initialized.
23071
5e4287d1
RM
230722011-08-14 Roland McGrath <roland@hack.frob.com>
23073
85ae0589
RM
23074 * sysdeps/i386/i486/bits/atomic.h
23075 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23076 statement expression, so as to suppress "set but not used" warning.
23077 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23078
69f63097
RM
23079 * string/strncat.c (STRNCAT): Use prototype definition.
23080
675456ef
RM
23081 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23082 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23083 -Iprograms here.
23084 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23085 (localedef-modules): Add localedef.
23086 (locale-modules): Add locale.
23087
5e4287d1
RM
23088 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23089 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23090 to avoid a warning.
23091
9c96ff23
DM
230922011-08-14 David S. Miller <davem@davemloft.net>
23093
23094 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23095 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23096
f9ddf089
UD
230972011-08-13 Ulrich Drepper <drepper@gmail.com>
23098
44f0a71e 23099 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23100 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23101 * elf/rtld.c (dl_main): Set l_name of vDSO.
23102 Call _dl_show_scope when DL_DEBUG_SCOPES.
23103 (process_dl_debug): Recognize scopes flag and also set it for all.
23104 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23105 Declare _dl_show_scope.
23106
1dc27704
UD
23107 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23108 (do_dlopen): Pass caller_dlopen to dl_open.
23109 (__libc_dlopen_mode): Initialize caller_dlopen.
23110
f9ddf089
UD
23111 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23112 of libc. Make tolower call locale-independent. Optimize a bit by
23113 using isdigit instead of isalnum.
23114 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23115
9ac533d3
UD
231162011-08-12 Ulrich Drepper <drepper@gmail.com>
23117
23118 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23119 was a dependency or dynamically loaded.
23120
89edf2e9
UD
231212011-08-11 Ulrich Drepper <drepper@gmail.com>
23122
8e999d29
UD
23123 * intl/l10nflist.c: Allow architecture-specific pop function.
23124 * sysdeps/x86_64/l10nflist.c: New file.
23125
89edf2e9
UD
23126 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23127 classification.
23128
14d96785
AS
231292011-08-10 Andreas Schwab <schwab@redhat.com>
23130
23131 * include/dirent.h: Add libc_hidden_proto for scandirat and
23132 scandirat64. Don't declare __scandirat64.
23133 * dirent/scandirat.c: Add libc_hidden_def.
23134 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23135 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23136
6761ac04
DM
231372011-08-10 David S. Miller <davem@davemloft.net>
23138
23139 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23140 enum.
23141 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23142 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23143 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23144
c55fbd1e
UD
231452011-08-09 Ulrich Drepper <drepper@gmail.com>
23146
23147 * Versions.def [libc]: Add GLIBC_2.15.
23148 * dirent/Makefile (routines): Add scandirat and scandirat64.
23149 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23150 GLIBC_2.15.
23151 * dirent/dirent.h: Declare scandirat and scandirat64.
23152 * dirent/scandirat.c: New file.
23153 * dirent/scandirat64.c: New file.
23154 * sysdeps/wordsize-64/scandirat.c: New file.
23155 * sysdeps/wordsize-64/scandirat64.c: New file.
23156 * dirent/opendir.c: Define opendirat.
23157 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23158 using scandirat.
23159 * dirent/scandir64.c: Adjust for scandir.c change.
23160 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23161 __scandirat64, and __scandir_cancel_handler.
23162 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23163 additional parameter and use openat instead of open (outside of ld.so).
23164 Add new __opendir as wrapper around __opendirat.
23165 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23166 here without requiring old scandirat implementation.
23167
879165f2
UD
231682011-08-08 Ulrich Drepper <drepper@gmail.com>
23169
23170 * dirent/scandir.c (cancel_handler): Renamed to
23171 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23172 defined. Adjust users.
23173 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23174 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23175
cb7e923b
UD
231762011-08-04 Ulrich Drepper <drepper@gmail.com>
23177
16292edd
UD
23178 * string/test-string.h (IMPL): Use __STRING to expand name and then
23179 stringify it.
23180
cb7e923b
UD
23181 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23182 of cleanups.
23183
cff82933
LD
231842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23185
23186 * string/Makefile: Update.
23187 (strop-tests): Append strncat.
23188 * string/test-wcscmp.c: New file.
23189 New comprehensive test for wcscmp.
23190 * string/test-strcmp.c: Update.
23191 (WIDE): New define.
23192
9be9bfcc
AS
231932011-07-22 Andreas Schwab <schwab@redhat.com>
23194
23195 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23196 line.
23197
2e96f1c7
AS
231982011-07-26 Andreas Schwab <schwab@redhat.com>
23199
23200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23201 encoding to ACE if AI_IDN.
23202
85188888
JJ
232032011-08-01 Jakub Jelinek <jakub@redhat.com>
23204
23205 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23206 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23207
5fa16e9b
LD
232082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23209
23210 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23211 Fix overflow bug in strncat.
23212 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23213
23214 * string/test-strncat.c: Update.
23215 Add new tests for checking overflow bugs.
23216
232172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23218
23219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23220 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23221 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23222 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23224 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23225 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23226 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23227 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23228
23229 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23230 (USE_AS_STRCAT): Define.
23231 Add strcat and strncat support.
23232 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23233
8c1a459f
AS
232342011-07-25 Andreas Schwab <schwab@redhat.com>
23235
23236 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23237 __n bigger than INT_MAX+1.
23238 (__strncmp_g): Likewise.
23239
bba33c28
UD
232402011-07-23 Ulrich Drepper <drepper@gmail.com>
23241
798be72d
UD
23242 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23243 * libio/stido.h: Likewise.
23244
8accd4dc
UD
23245 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23246 (AF_NFC): Define.
23247 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23248 (AF_NFC): Define.
23249
cbff0d96
UD
23250 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23251 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23252 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23253 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23254 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23255
9191c04a
UD
23256 [BZ #13021]
23257 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23258 installed.
23259
bba33c28
UD
23260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23261 typo.
23262 (_dl_x86_64_save_sse): Likewise.
23263
90f139dd
UD
232642011-07-22 Ulrich Drepper <drepper@gmail.com>
23265
1aae088a
UD
23266 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23267 OSXSAVE.
23268 (_dl_x86_64_save_sse): Likewise.
23269
8e2045f5
UD
23270 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23271
90f139dd
UD
23272 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23273
1d002f25
AS
232742011-07-21 Andreas Schwab <schwab@redhat.com>
23275
23276 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23277 change.
23278 (_dl_x86_64_save_sse): Use correct AVX check.
23279
21137f89
UD
232802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23281
23282 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23283 bug in strncpy/strncat.
23284 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23285
a65c0b7a
UD
232862011-07-21 Ulrich Drepper <drepper@gmail.com>
23287
23288 * string/tester.c (test_strcat): Add tests for different alignments
23289 of source and destination.
23290 (test_strncat): Likewise.
23291
6986b98a
UD
232922011-07-20 Ulrich Drepper <drepper@gmail.com>
23293
90bb2039
UD
23294 [BZ #12852]
23295 * posix/glob.c (glob): Check passed in values before using them in
23296 expressions to avoid some overflows.
23297 (glob_in_dir): Likewise.
23298
5644ef54
UD
23299 [BZ #13007]
23300 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23301 check for AVX enablement so that we don't crash with old kernels and
23302 new hardware.
23303 * elf/tst-audit4.c: Add same checks here.
23304 * elf/tst-audit6.c: Likewise.
23305
23306 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23307
bfc9dc9b
AS
233082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23309
23310 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23311
702e64bb
UD
233122011-07-20 Ulrich Drepper <drepper@gmail.com>
23313
23314 * po/cs.po: Update from translation team.
23315 * po/bg.po: Likewise.
23316
295e904f
MP
233172011-07-12 Marek Polacek <mpolacek@redhat.com>
23318
23319 * misc/sys/cdefs.h: Add support for const attribute.
23320 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23321 to gnu_dev_{major,minor,makedev} functions.
23322
3ff94596
MP
233232011-07-20 Marek Polacek <mpolacek@redhat.com>
23324
23325 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23326
28b59fca
AS
233272011-07-20 Andreas Schwab <schwab@redhat.com>
23328
23329 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23330 strlen results.
23331
19df733e
AK
233322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23333
23334 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23335 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23336 register in order to avoid conflicts with the soft frame pointer
23337 being held in r11 when necessary.
23338 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23339 (INTERNAL_VSYSCALL_NCS): Likewise.
23340
c8835729
MP
233412011-07-14 Marek Polacek <mpolacek@redhat.com>
23342
23343 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23344 * elf/dl-fini.c (_dl_fini): Adjust caller.
23345 * elf/dl-close.c (_dl_close_worker): Likewise.
23346 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23347
b902330c
MP
233482011-07-15 Marek Polacek <mpolacek@redhat.com>
23349
8991e135
MP
23350 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23351 "aux_cache->nlibs < 0".
23352
b902330c
MP
23353 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23354 in the reload-count case.
23355
99710781
LD
233562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23357
23358 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23359 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23360 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23362 * sysdeps/x86_64/multiarch/strcat.S: New file.
23363 * sysdeps/x86_64/multiarch/strncat.S: New file.
23364 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23366 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23367 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23368 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23369 (USE_AS_STRCAT): Define.
23370 Add strcat and strncat support.
23371 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23372 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23373 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23374 * string/strncat.c: Update.
23375 (USE_AS_STRNCAT): Define.
23376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23377 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23378 and i7.
23379 * sysdeps/x86_64/multiarch/init-arch.h
23380 (bit_Prefer_PMINUB_for_stringop): New.
23381 (index_Prefer_PMINUB_for_stringop): Likewise.
23382 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23383 bit_Prefer_PMINUB_for_stringop.
23384
7dc6bd90
UD
233852011-07-19 Ulrich Drepper <drepper@gmail.com>
23386
23387 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23388 buffer64.
23389 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23390 of casting of buffer.
23391 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23392 buffer32 and buffer64.
23393 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23394 writes instead of casting of buffer.
23395 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23396 buffer32.
23397 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23398 casting of buffer.
23399
e0e72284
AS
234002011-07-19 Andreas Schwab <schwab@redhat.com>
23401
23402 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23403
feb1eb0b
UD
234042011-07-19 Ulrich Drepper <drepper@gmail.com>
23405
23406 * nscd/nscd.c (termination_handler): Don't do anything for a database
23407 if it has not yet been initialized.
23408
298711ff
UD
234092011-07-18 Ulrich Drepper <drepper@gmail.com>
23410
23411 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23412
234132011-07-15 Marek Polacek <mpolacek@redhat.com>
23414
23415 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23416
f9d68389
UD
234172011-07-18 Ulrich Drepper <drepper@gmail.com>
23418
23419 * po/nl.po: Update from translation team.
23420 * po/sv.po: Likewise.
23421
db290cf5
RM
234222011-07-16 Roland McGrath <roland@hack.frob.com>
23423
23424 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23425 now disallowed by GCC.
5c550700 23426
fd5e21c7
RM
23427 * configure.in (use-default-link): Default to yes if a test -shared
23428 link meets our qualifications.
23429 * configure: Regenerated.
23430
5c550700
RM
23431 * config.make.in (output-format): New variable.
23432 * configure.in: Check for ld --print-output-format support.
23433 * configure: Regenerated.
23434 * Makerules ($(common-objpfx)format.lds)
23435 [$(output-format) != unknown]: Just use $(output-format),
23436 instead of the linker-script munging.
23437
9fa2c032
RM
234382011-07-14 Roland McGrath <roland@hack.frob.com>
23439
a6928d51
RM
23440 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23441 of $(common-objpfx)shlib.lds.
23442 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23443
661607b3
RM
23444 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23445 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23446
9fa2c032
RM
23447 * configure.in (-z relro check): Adjust test code to add a large
23448 writable data section after it.
23449 * configure: Regenerated.
23450
defe9061
RM
234512011-07-11 Roland McGrath <roland@hack.frob.com>
23452
23453 * configure.in (-z relro check): Fix test code to make the variable
23454 truly const.
23455 * configure: Regenerated.
23456
319b9ad4
UD
234572011-07-11 Ulrich Drepper <drepper@gmail.com>
23458
23459 * nscd/nscd.h (struct traced_file): Define.
23460 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23461 elements. Add traced_files.
23462 (inotify_fd): Declare.
23463 (register_traced_file): Declare.
23464 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23465 (inotify_fd): Export.
23466 (resolv_conf_descr): Remove.
23467 (nscd_init): Move inotify descriptor creation to main.
23468 Don't register files for notification here.
23469 (register_traced_file): New function.
23470 (invalidate_cache): Don't use reset_res to determine whether to call
23471 res_init, go through the list of registered files.
23472 (main_loop_poll): The inotify descriptors are now stored in the
23473 structures for the traced files.
23474 (main_loop_epoll): Likewise
23475 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23476 to __nss_disable_nscd.
23477 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23478 for a database anymore. Check the records for all the registered
23479 files instead.
23480 * nss/Makefile (libnss_files-routines): Add files-init.
23481 (libnss_db-routines): Add db-init.
23482 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23483 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23484 * nss/nss_db/db-init.c: New file.
23485 * nss/nss_files/files-init.c: New file.
23486 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23487 __nss_lookup_function.
23488 (__nss_lookup_function): Call nss_load_library.
23489 (nss_load_all_libraries): New function.
23490 (__nss_disable_nscd): Take parameter with callback function for files
23491 to register. Set is_nscd. Load all the DSOs for the NSS modules
23492 used for the cached services.
23493 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23494 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23495 options for features to all the files in nscd.
23496
23497 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23498
23bee3e8
RM
234992011-07-10 Roland McGrath <roland@hack.frob.com>
23500
23501 * csu/elf-init.c (__libc_csu_init): Comment typo.
23502
46a5b7f0
UD
235032011-07-09 Ulrich Drepper <drepper@gmail.com>
23504
23505 * po/pl.po: Update from translation team.
23506 * po/ja.po: Likewise.
23507 * po/ru.po: Likewise.
23508 * po/ko.po: Likewise.
23509 * po/fr.po: Likewise.
23510
d30cf5bb
RM
235112011-07-09 Roland McGrath <roland@hack.frob.com>
23512
113ddea4
RM
23513 * configure.in (.ctors/.dtors header and trailer check):
23514 Use an empirical test on a built program.
23515 * configure: Regenerated.
23516
574920b4
RM
23517 * configure.in (-z relro check): Use an empirical test on a built DSO.
23518 Detect, but do not require, on ia64.
23519 * configure: Regenerated.
23520
d30cf5bb
RM
23521 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23522 Update tests that use readelf to use $READELF instead.
23523 * configure: Regenerated.
23524
8538fdb3
UD
235252011-07-08 Ulrich Drepper <drepper@gmail.com>
23526
23527 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23528 if the result is not used.
23529
04d08991
AJ
235302011-07-05 Andreas Jaeger <aj@suse.de>
23531
23532 [BZ#9696]
23533 * stdlib/tst-strtod.c: Add testcase.
23534
de283087
AD
235352011-07-07 Ulrich Drepper <drepper@gmail.com>
23536
4e5f31c8 23537 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23538 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23539 The latter has a higher limit. Take additional parameter to pass to
23540 the new function.
23541 (__pathconf): Pass file to __statfs_link_max.
23542 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23543 __statfs_link_max.
23544 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23545 __statfs_link_max.
23546
de283087
AD
23547 [BZ #12868]
23548 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23549 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23550 Handle Lustre.
23551 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23552 (__statfs_filesize_max): Likewise.
23553 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23554
c75fa153
AJ
235552011-07-05 Andreas Jaeger <aj@suse.de>
23556
23557 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23558
1a544854
UD
235592011-07-06 Marek Polacek <mpolacek@redhat.com>
23560
23561 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23562 `status' variable.
23563 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23564 Likewise.
23565
6f0eec67
UD
235662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23567
23568 * Makefile (strop-tests): Add strncat.
23569 * string/test-strncat.c: New file.
23570
aae30307
UD
235712011-06-30 Marek Polacek <mpolacek@redhat.com>
23572
23573 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23574
c0cfb5eb
UD
235752011-06-21 Andreas Jaeger <aj@suse.de>
23576
23577 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23578 Copy rule from iconvdata/Makefile.
23579
01636b21
UD
235802011-07-06 Ulrich Drepper <drepper@gmail.com>
23581
23582 [BZ #12922]
23583 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23584 but no long options are defined, just return 'W'.
23585
9895c8bc
UD
235862011-06-22 Marek Polacek <mpolacek@redhat.com>
23587
23588 [BZ #9696]
23589 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23590
5d4cf042
UD
235912011-07-06 Ulrich Drepper <drepper@gmail.com>
23592
23593 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23594 netgroups to read.
960e5535 23595 (innetgr): Likewise.
5d4cf042 23596
751eb97e
RM
235972011-07-05 Roland McGrath <roland@hack.frob.com>
23598
23599 * config.make.in (install_root): Default to $(DESTDIR).
23600
f15f1e45
UD
236012011-07-05 Ulrich Drepper <drepper@gmail.com>
23602
23603 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23604
4e34ac6a
RM
236052011-07-02 Roland McGrath <roland@hack.frob.com>
23606
5e9b6af4
RM
23607 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23608
84f9ea0f
RM
23609 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23610 containing directory rather than embedding absolute directory names.
23611
ea5ee9f7
RM
23612 * scripts/check-local-headers.sh: Rewritten using awk.
23613 Match by word, not by line. Print error messages for matches.
23614 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23615
1b74661a
RM
23616 * Makerules [shlib-lds-flags empty]:
23617 ($(common-objpfx)libc_pic.opts): New target.
23618 ($(common-objpfx)libc_pic.os.clean): New target.
23619 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23620
23621 * config.make.in (OBJCOPY): New variable.
23622 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23623 * configure: Regenerated.
23624
f781ef40
RM
23625 * config.make.in (use-default-link): New variable.
23626 * configure.in (use_default_link): Grok --with-default-link to set it.
23627 * configure: Regenerated.
23628 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23629 (shlib-lds, shlib-lds-flags): Define to empty.
23630
2d4fa81e
RM
23631 * Makerules (shlib-lds): New variable.
23632 (shlib-lds-flags): New variable.
23633 (build-shlib, build-moduile, build-module-asneeded): Use it.
23634 ($(common-objpfx)libc.so): Use $(shlib-lds).
23635 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23636 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23637
31fffa6b
RM
23638 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23639 DT_FLAGS/DT_FLAGS_1 with zero flags.
23640
4e34ac6a
RM
23641 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23642 linker script munging.
23643
fcfc776b
UD
236442011-07-02 Ulrich Drepper <drepper@gmail.com>
23645
23646 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23647 as 128-bit value.
23648 * crypt/sha512.c (sha512_process_block): Perform total addition using
23649 128-bit if possible.
23650 (__sha512_finish_ctx): Likewise.
23651 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23652 as 64-bit value.
23653 * crypt/sha256.c (SWAP64): Define.
23654 (sha256_process_block): Perform total addition using 64-bit if
23655 possible.
23656 (__sha256_finish_ctx): Likewise.
23657
99231d9a
UD
236582011-07-01 Ulrich Drepper <drepper@gmail.com>
23659
23660 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23662 * nscd/hstcache.c (cache_addhst): Likewise.
23663 * nscd/grpcache.c (cache_addgr): Likewise.
23664 * nscd/aicache.c (addhstaiX): Likewise
23665 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23666
445b4a53
TK
236672011-07-01 Thorsten Kukuk <kukuk@suse.de>
23668
23669 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23670 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23671 * nscd/hstcache.c (cache_addhst): Likewise.
23672 * nscd/grpcache.c (cache_addgr): Likewise.
23673 * nscd/aicache.c (addhstaiX): Likewise
23674
6d4d8e8e
AS
236752011-07-01 Andreas Schwab <schwab@redhat.com>
23676
23677 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23678 domain only when needed.
23679
89f654c5
AS
236802011-06-30 Andreas Schwab <schwab@redhat.com>
23681
23682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23683 is always restored.
23684
cf3b23ff
UD
236852011-06-29 Ulrich Drepper <drepper@gmail.com>
23686
23687 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23688 are re-adding the entry.
23689 * nscd/servicescache.c (cache_addserv): Likewise.
23690
751626f9
AJ
236912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23692
23693 * sysdeps/generic/dl-irel.h: fix protection against multiple
23694 inclusions.
23695 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23696
9113ea1f
UD
236972011-06-28 Ulrich Drepper <drepper@gmail.com>
23698
5c0b8d90
UD
23699 [BZ #12935]
23700 * malloc/memusage.sh: Fix quoting in message.
23701 * debug/xtrace.sh: Likewise.
23702
9113ea1f
UD
23703 * configure.in: Remove support for --experimental-malloc option, make
23704 it the default.
23705 * config.make.in: Likewise.
23706 * malloc/Makefile: Likewise.
23707
a4172181
AS
237082011-06-27 Andreas Schwab <schwab@redhat.com>
23709
23710 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23711 two-byte characters.
23712
78a7eee7
RM
237132011-06-27 Roland McGrath <roland@hack.frob.com>
23714
62bede13
RM
23715 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23716 AC_CACHE_CHECK invocation.
23717 * configure: Regenerated.
23718
78a7eee7
RM
23719 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23720
5ce33a62
UD
237212011-06-27 Ulrich Drepper <drepper@gmail.com>
23722
034807a9
UD
23723 [BZ #12350]
23724 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23725 bit from old_res_options.
23726
4902da17
UD
23727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23728
5ce33a62
UD
23729 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23730 value type for setfct.
23731
c2344f56
L
237322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23733
23734 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23735 __gettimeofday instead of gettimeofday.
23736
68468076
UD
237372011-06-26 Ulrich Drepper <drepper@gmail.com>
23738
23739 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23740
acb0d739
L
237412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23742
23743 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23744
23745 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23746 info.
23747
8912479f
L
237482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23749
23750 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23751 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23752 strcpy-sse2-unaligned strncpy-sse2-unaligned
23753 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23754 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23755 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23756 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23757 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23758 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23760 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23761 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23762 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23763 (STRCPY): Support SSE2 and SSSE3 versions.
23764
d5495a11
UD
237652011-06-24 Ulrich Drepper <drepper@gmail.com>
23766
23767 [BZ #12874]
23768 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23769 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23770 kernels which artificially limit size of requests.
23771
0b1cbaae
L
237722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23773
23774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23775 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23776 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23777 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23778 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23779 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23780 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23781 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23783 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23784 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23785 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23786 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23787 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23788 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23790 Enable unaligned load optimization for Intel Core i3, i5 and i7
23791 processors.
23792 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23793 Define.
23794 (index_Fast_Unaligned_Load): Define.
23795 (HAS_FAST_UNALIGNED_LOAD): Define.
23796
07f494a0
MP
237972011-06-23 Marek Polacek <mpolacek@redhat.com>
23798
23799 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23800
fa3fc0fe
UD
238012011-06-22 Ulrich Drepper <drepper@gmail.com>
23802
23803 [BZ #12907]
23804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23805 until it is clear that the information is realy needed.
23806 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23807
e12df166
AS
238082011-06-22 Andreas Schwab <schwab@redhat.com>
23809
23810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23811
852eb34d
UD
238122011-06-22 Ulrich Drepper <drepper@gmail.com>
23813
84e2a551
UD
23814 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23815 /sys/devices/system/cpu/online if it is usable.
23816
852eb34d
UD
23817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23818 reading the information from the /proc filesystem to once a second.
23819
6e502e19
UD
238202011-06-21 Andreas Jaeger <aj@suse.de>
23821
23822 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23823 NULL after inclusion of kernel headers.
23824
75d39ff2
UD
238252011-06-21 Ulrich Drepper <drepper@gmail.com>
23826
51f9aa6a
UD
23827 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23828 calls to internal_setent.
23829
c0244a9d
UD
23830 [BZ #12885]
23831 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23832 addresses using gethostbyname4_r ignore IPv4 addresses.
23833
c5e3c2ae
UD
23834 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23835 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23836
75d39ff2
UD
23837 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23838
42675c6f
DM
238392011-06-20 David S. Miller <davem@davemloft.net>
23840
23841 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23842 inclusions.
23843 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23844
23845 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23846 (elf_irel): Use it.
23847 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23848 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23849 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23850 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23851 * sysdeps/x86_64/dl-irel.h: Likewise.
23852
23853 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23854 * elf/dl-sym.c: Likewise.
23855
57912a71
UD
238562011-06-15 Ulrich Drepper <drepper@gmail.com>
23857
23858 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23859 need to dereference resplen2.
23860
ee22793d
AS
238612011-06-14 Andreas Schwab <schwab@redhat.com>
23862
23863 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23864
a9e836b0
UD
238652011-06-15 Ulrich Drepper <drepper@gmail.com>
23866
77fb9117
UD
23867 * Makeconfig: Define vardbdir and inst_vardbdir.
23868 * nss/Makefile: Add rules to install db-Makefile.
23869
40c1b22c
UD
23870 * nss/nss_db/db-XXX.c: Cleanup.
23871
9f2da732
UD
23872 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23873 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23874 GLIBC_PRIVATE.
23875 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23876 * nss/makedb.c: Implement -g option to specify that value strings
23877 are generated and should not be added to table iterated over for
23878 get*ent calls.
23879 * nss/nss_db/db-initgroups.c: New file.
23880
82e9a1f7
UD
23881 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23882 interface.
23883
c41af17e
UD
23884 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23885 (internal_getgrouplist): Adjust to name change.
23886 Update use_initgroups_entry if this is not the first call.
23887 * nss/databases.def: Add initgroups entry.
23888
a9e836b0
UD
23889 * nss/makedb.c (compute_tables): Check result of multiple hash table
23890 sizes to minimize maximum chain length.
23891
2666d441
UD
238922011-06-14 Ulrich Drepper <drepper@gmail.com>
23893
23894 * Versions.def: Add entry for libnss_db.
23895 * shlib-versions: Likewise.
23896 * nss/Makefile: Add rules to build libnss_db.
23897 * nss/Versions: Add libnss_db information. Organize libnss_files
23898 entries better.
23899 * nss/db-Makefile: Add gshadow support. Change rules for the new
23900 makedb progra. Some minor improvements to generate smaller files.
23901 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23902 here from...
23903 * nss/makedb.c: ...here.
23904 Improve database format to be smaller and require less memory at
23905 runtime.
23906 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23907 db anymore.
23908 * nss/nss_db/db-netgrp.c: Likewise.
23909 * nss/nss_db/db-open.c: Likewise.
23910 * nss/nss_files/flies-XXX.x: Adjust comments.
23911 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23912 * nss/nss_files/files-grp.c: Likewise.
23913 * nss/nss_files/files-hosts.c: Likewise.
23914 * nss/nss_files/files-network.c: Likewise.
23915 * nss/nss_files/files-proto.c: Likewise.
23916 * nss/nss_files/files-pwd.c: Likewise.
23917 * nss/nss_files/files-rpc.c: Likewise.
23918 * nss/nss_files/files-service.c: Likewise.
23919 * nss/nss_files/files-sgrp.c: Likewise.
23920 * nss/nss_files/files-spwd.c: Likewise.
23921 * nss/nss_db/db-alias.c: Removed.
23922 * nss/nss_db/dummy-db.h: Removed.
23923
9ee76b5a
UD
239242011-06-02 Ulrich Drepper <drepper@gmail.com>
23925
23926 * nss/makedb.c: Rewritten to not use database library.
23927 * nss/Makefile: Update to build new makedb program.
23928
c71ca1f8
AJ
239292011-06-14 Andreas Jaeger <aj@suse.de>
23930
23931 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23932 memset declaration.
23933
3154bfb8
UD
239342011-06-10 Andreas Schwab <schwab@redhat.com>
23935
23936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23937 tmpbuf.
23938
b350afab
RM
239392011-06-10 Roland McGrath <roland@hack.frob.com>
23940
decd4e50
RM
23941 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23942 * elf/Makefile ($(objpfx)ld.so): Likewise.
23943
5615eaf2
RM
23944 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23945 Don't list ld.so twice in dependencies.
23946
23947 * posix/bug-regex31.c: Include <stdlib.h>.
23948
23949 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23950
23951 * nis/nss_compat/compat-spwd.c
23952 (getspent_next_nss_netgr): Remove unused variable.
23953 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23954
23955 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23956 nonmembers" output to use the right array.
23957
23958 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23959
23960 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23961
23962 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23963 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23964 * catgets/gencat.c (read_input_file): Likewise.
23965 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23966
23967 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23968 variable definition inside #if's controlling its use.
23969
23970 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23971
23972 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23973
23974 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23975
23976 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23977 unreachable code.
23978
23979 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23980
b68e08db
RM
23981 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23982 * configure: Regenerated.
23983
b350afab
RM
23984 * Makerules: Revert last change.
23985 * elf/Makefile: Likewise.
23986
28368601
RM
239872011-06-09 Roland McGrath <roland@hack.frob.com>
23988
23989 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23990 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23991 (reloc-link): Likewise.
23992
11988f8f
UD
239932011-06-09 Ulrich Drepper <drepper@gmail.com>
23994
23995 * elf/Makefile: Add rules to build pldd.
23996 * elf/pldd.c: New file.
23997 * elf/pldd-xx.c: New file.
23998
e80fab37
UD
239992011-06-07 Ulrich Drepper <drepper@gmail.com>
24000
24001 * version.h: Update for 2.15 development version.
24002
9b849836
DM
240032011-06-07 David S. Miller <davem@davemloft.net>
24004
24005 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24006 ifuncs.
24007 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24008 elf_machine_lazy_rel): Likewise.
24009 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24010 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24011 elf_machine_lazy_rel): Likewise.
24012 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24013 dl_hwcap via passed in argument.
24014 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24015 Likewise.
24016
5a31b283
AK
240172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24018
24019 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24020
069e52f8
RM
240212011-06-06 Roland McGrath <roland@hack.frob.com>
24022
24023 [BZ #12849]
24024 * manual/fdl-1.1.texi: New file, verbatim from:
24025 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24026 * manual/lgpl-2.1.texi: New file, verbatim from:
24027 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24028 * manual/Makefile (licenses): New variable, list those new file names.
24029 (texis): Use it.
24030 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24031
24032 * manual/fdl.texi: File removed.
24033 * manual/lesser.texi: File removed.
24034 * manual/libc.texinfo (Copying, Documentation License):
24035 Use new @include file names, put @appendix directive before @include.
24036
f16846a5
JJ
240372011-06-04 Jakub Jelinek <jakub@redhat.com>
24038
24039 [BZ #12841]
24040 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24041 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24042 (mq_open): Add __NTH.
24043
3d29045b
L
240442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24045
24046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24047 Assume Intel Core i3/i5/i7 processor if AVX is available.
24048
8c297311
UD
240492011-05-31 Ulrich Drepper <drepper@gmail.com>
24050
24051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24052 typo.
24053
c8fc0c91
UD
240542011-05-31 Andreas Schwab <schwab@redhat.com>
24055
24056 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24057 memory. Use alloca_account. Fix memory leak when retrying.
24058
5b27a807
UD
240592011-05-31 Ulrich Drepper <drepper@gmail.com>
24060
356f8bc6
UD
24061 * version.h (RELEASE): Bump for 2.14 release.
24062 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24063
5b27a807
UD
24064 * config.make.in (RANLIB): Remove entry.
24065
01f16ab0
UD
240662011-05-30 Ulrich Drepper <drepper@gmail.com>
24067
41fce8bd
UD
24068 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24069 (libc.pot): Work around missing support for .ksh extension in xgettext.
24070
4769ae77
UD
24071 [BZ #12684]
24072 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24073 if both request failed.
24074 (send_dg): In case of server errors clear resplen or *resplen2.
24075
6b1e7d19
UD
24076 [BZ #12454]
24077 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24078 when there are multiple maps.
24079 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24080 (_dl_fini): Remove test here.
24081
01f16ab0
UD
24082 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24083
b1ebd700
UD
240842011-05-29 Ulrich Drepper <drepper@gmail.com>
24085
7ae22829
UD
24086 [BZ #12350]
24087 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24088 bit from old_res_options.
24089 (gaih_inet): Likewise.
24090
553149f6 24091 [BZ #11099]
18a84741 24092 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24093 as signed.
24094
652ffab1
UD
24095 * resolv/res_init.c (res_setoptions): Make the code more compact.
24096
16985fd0
UD
24097 [BZ #11558]
24098 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24099 set RES_USEVC.
24100
0464f746
UD
24101 [BZ #11634]
24102 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24103
7d17596c
UD
24104 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24105
cf6bbbd7
UD
24106 [BZ #11781]
24107 * malloc/malloc.h: Declare malloc hook variables as volatile.
24108
13f1ab36
UD
24109 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24110 in last patch.
24111
b1ebd700
UD
24112 [BZ #11799]
24113 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24114 raise in the comment.
80e2212d
UD
24115 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24116 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24117 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24118
ce67228d
UD
241192011-05-28 Ulrich Drepper <drepper@gmail.com>
24120
8887a920
UD
24121 [BZ #12811]
24122 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24123 grow the buffers more if it already has to be sufficient.
24124 (build_wcs_upper_buffer): Likewise.
24125 * posix/regexec.c (check_matching): Likewise.
24126 (clean_state_log_if_needed): Likewise.
24127 (extend_buffers): Don't enlarge buffers beyond size of the input
24128 buffer.
24129 Patches mostly by Emil Wojak <emil@wojak.eu>.
24130 * posix/bug-regex32.c: New file.
24131 * posix/Makefile (tests): Add bug-regex32.
24132
4f031072
UD
24133 * locale/findlocale.c (_nl_find_locale): Return right away if
24134 _nl_explode_name failed.
24135 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24136
d0478f0c
UD
24137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24138
de81b246
UD
24139 * debug/xtrace.sh: Unify messages.
24140 * malloc/memusage.sh: Likewise.
24141
c738465a
UD
24142 [BZ #12813]
24143 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24144 time symbol from vDSO. Substitute with vsyscall if not available.
24145 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24146 __vdso_time.
24147
f1f929d7
UD
24148 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24149 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24150 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24151 Add sendmmsg and internal_sendmmsg.
24152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24153 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24154 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24155
ce67228d
UD
24156 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24157 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24158 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24159
e57420c6
UD
241602011-05-27 Ulrich Drepper <drepper@gmail.com>
24161
a8509ca5
UD
24162 [BZ #12813]
24163 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24164 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24165 available.
24166 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24167 __vdso_getcpu.
24168
e57420c6
UD
24169 [BZ #12814]
24170 * iconvdata/Makefile (tests): Add bug-iconv9.
24171 * iconvdata/bug-iconv9.c: New file.
24172
4d07db15
AS
241732011-05-27 Andreas Schwab <schwab@redhat.com>
24174
24175 [BZ #12814]
24176 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24177
ea486f69
JJ
241782011-05-25 Jakub Jelinek <jakub@redhat.com>
24179
24180 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24181 (struct user_regs_struct): Change intcs field back to cs.
24182
6f038433
UD
241832011-05-25 Ulrich Drepper <drepper@gmail.com>
24184
24185 * po/ja.po: Update from translation team.
24186
67f86a25
UD
241872011-05-23 Ulrich Drepper <drepper@gmail.com>
24188
24189 [BZ #12795]
24190 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24191 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24192
def7fbd6
AS
241932011-05-20 Andreas Schwab <schwab@redhat.com>
24194
24195 * stdlib/longlong.h: Update from GCC.
24196
f50ef8f1
AS
241972011-05-23 Andreas Schwab <schwab@redhat.com>
24198
24199 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24200 parameter name.
24201 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24202 Add parameter name.
24203 (__sysconf): Pass it down.
24204
de7ce8f1
UD
242052011-05-22 Ulrich Drepper <drepper@gmail.com>
24206
f2962a71
UD
24207 [BZ #12671]
24208 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24209 some situations.
24210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24211 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24212 add in in __libc_use_alloca calls. Adjust callers.
24213 (glob): Use malloc in some situations.
24214
de7ce8f1
UD
24215 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24216 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24217 pltexit.
24218
aec84f53
UD
242192011-05-21 Ulrich Drepper <drepper@gmail.com>
24220
05bb4a68
UD
24221 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24222 and CLOCK_BOOTTIME_ALARM.
24223
7ea72f99
UD
24224 [BZ #12782]
24225 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24226 is returned.
24227
7e4afad5
UD
24228 * string/_strerror.c (__strerror_r): Print negative errors as signed
24229 numbers.
24230
8e211fec
UD
24231 [BZ #12777]
24232 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24233 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24234 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24235
f7d82dc9
UD
24236 * configure.in: Fix typo in redirection and correct removal of test
24237 files in two cases.
24238
cc9e536d
UD
24239 [BZ #12788]
24240 * locale/setlocale.c (new_composite_name): Fix test to check for
24241 identical name of all categories.
24242
aec84f53
UD
24243 [BZ #12792]
24244 * libio/filedoalloc.c (local_isatty): New function.
24245 (_IO_file_doallocate): Use local_isatty.
24246 * stdio-common/perror.c (perror): In case a new stream is used
24247 forward the stream error.
24248 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24249 error flag.
24250
78e64fdc
RT
242512011-05-20 Ulrich Drepper <drepper@gmail.com>
24252
34a9094f
UD
24253 [BZ #11869]
24254 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24255 alloca.
24256 * include/alloca.h (extend_alloca_account): Define.
24257
78e64fdc
RT
24258 [BZ #11857]
24259 * posix/regex.h: Fix comments with documentation of user-accessible
24260 fields after compilation and describe correct free'ing of pattern
24261 after re_compile_pattern.
24262 Patch by Reuben Thomas <rrt@sc3d.org>.
24263
457bddfc
RA
242642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24265
24266 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24267 and -mno-altivec to prevent the compiler from using Altivec and/or
24268 VSX instructions when the corresponding registers are not available.
24269
a4527b51
AS
242702011-05-19 Andreas Schwab <schwab@redhat.com>
24271
24272 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24273
ed690b2f
UD
242742011-05-19 Ulrich Drepper <drepper@gmail.com>
24275
24276 * libio/freopen.c (freopen): Use __dup2, not dup2.
24277 * libio/freopen64.c (freopen64): Likewise.
24278
8db73634
L
242792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24280
24281 [BZ #12775]
24282 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24283 * math/Makefile (tests): Add test-powl.
24284 (CFLAGS-test-powl.c): Define.
24285 * math/test-powl.c: New file.
24286
0a197a9d
L
242872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24288
24289 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24290
ee30c380
UD
242912011-05-17 Ulrich Drepper <drepper@gmail.com>
24292
24293 [BZ #11837]
24294 * iconvdata/gb18030.c: Update to GB18020-2005.
24295
6ce75379
UD
242962011-05-16 Ulrich Drepper <drepper@gmail.com>
24297
a4b89fd8
AR
24298 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24299 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24300 Patch by Aharon Robbins <arnold@skeeve.com>.
24301
ea389b12
UD
24302 [BZ #11892]
24303 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24304 on the stack.
24305
68a3f91f
UD
24306 [BZ #11895]
24307 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24308 through underflows.
24309
15cc7dd1
UD
24310 [BZ #12766]
24311 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24312 point to strings before performing equality test for error_one_per_line
24313 mode.
24314
f3799213
UD
24315 [BZ #11697]
24316 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24317
d79a9c94
UD
24318 [BZ #11820]
24319 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24320 (struct user_fpregs_struct): Avoid __uint*_t types.
24321
56e5eb46
UD
24322 [BZ #6420]
24323 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24324 symbol info. Use it instead of calling _dl_addr locally.
24325 (lock_and_info): New function.
24326 (tr_freehook): Call lock_and_info and pass symbol info as additional
24327 parameter to tr_where.
24328 (tr_mallochook): Likewise.
24329 (tr_reallochook): Likewise.
24330 (tr_memalignhook): Likewise.
24331
6ce75379
UD
24332 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24333 used and couldn't be at all thread-safe.
24334
f8a3b5bf
UD
243352011-05-15 Ulrich Drepper <drepper@gmail.com>
24336
94b7cc37
UD
24337 * libio/freopen.c (freopen): Don't close old file descriptor
24338 before the new one is opened. Instead dup the new file descriptor
24339 to the old one after the new stream is created.
24340 * libio/freopen64.c (freopen64): Likewise.
24341 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24342 * libio/fileops.c (_IO_new_file_close_it): Handle new
24343 _IO_FLAGS2_NOCLOSE flag.
24344 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24345 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24346 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24347 _IO_FLAGS2_NOCLOSE flag.
24348 * include/unistd.h: Add hidden_proto for dup3.
24349 Define __have_dup3.
24350 * io/dup3.c: Define hidden symbol.
24351 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24352
bd25564e
UD
24353 [BZ #7101]
24354 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24355 when an incomplete long option is used.
24356 * posix/tst-getopt_long1.c: New file.
24357 * posix/Makefile (tests): Add tst-getopt_long1.
24358
c84cfef4
UD
24359 [BZ #10138]
24360 * scripts/config.guess: Update from autoconf-2.68.
24361 * scripts/config.sub: Likewise.
24362
3b85df27
UD
24363 [BZ #10157]
24364 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24365 tests into ...
24366 (has_cpuclock): ...this. New function.
24367 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24368 macro here based on has_cpuclock code.
24369
15a856b1
UD
24370 [BZ #10149]
24371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24372 First byte (not low byte) is now always NUL.
24373 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24374
05f399e6
UD
24375 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24376 Use non-cancelable interfaces.
24377
10a52685 24378 [BZ #9809]
94ecc67d
UD
24379 * locale/iso-639.def: Add entry for Sorani.
24380
f8a3b5bf
UD
24381 [BZ #11901]
24382 * include/stdlib.h: Move include protection to the right place.
24383 Define abort_msg_s. Declare __abort_msg with it.
24384 * stdlib/abort.c (__abort_msg): Adjust type.
24385 * assert/assert.c (__assert_fail_base): New function. Majority
24386 of code from __assert_fail. Allocate memory for __abort_msg with
24387 mmap.
24388 (__assert_fail): Now call __assert_fail_base.
24389 * assert/assert-perr.c: Remove bulk of implementation. Use
24390 __assert_fail_base.
24391 * include/assert.hL Declare __assert_fail_base.
24392 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24393 mmap.
24394 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24395
1af4e298
UD
243962011-05-14 Ulrich Drepper <drepper@gmail.com>
24397
f8a3b5bf 24398 [BZ #11952]
d26dfc60
MG
24399 [BZ #12453]
24400 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24401 until all modules are registered in the DTV.
24402 * elf/Makefile: Add rules to build and run tst-tls19.
24403 * elf/tst-tls19.c: New file.
24404 * elf/tst-tls19mod1.c: New file.
24405 * elf/tst-tls19mod2.c: New file.
24406 * elf/tst-tls19mod3.c: New file.
24407 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24408
2fc54d6f
UD
24409 [BZ #12083]
24410 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24411 correctly.
24412
98d76b46
UD
24413 [BZ #12601]
24414 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24415 two-byte sequence errors.
24416 * iconvdata/Makefile (tests): Add bug-iconv8.
24417 * iconvdata/bug-iconv8.c: New file.
24418
da3c19ef
UD
24419 [BZ #12626]
24420 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24421 buf2 definition.
24422
ca408c15
UD
24423 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24424
d6f67f7d
UD
24425 [BZ #12432]
24426 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24427 (dummy_getcfa): New function.
24428 (init): Get _Unwind_GetCFA address, use dummy if not found.
24429 (backtrace_helper): In recursion check, also check whether CFA changes.
24430 (__backtrace): Completely initialize arg.
24431
1af4e298 24432 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24433 storing incomplete byte sequence in state object. Avoid testing for
24434 guaranteed too small input if we know there is enough data available.
1af4e298 24435
da62f81b
AS
244362011-05-11 Andreas Schwab <schwab@redhat.com>
24437
24438 * Makeconfig (+link-pie): Indent.
24439 * Rules (binaries-pie): Define if $(have-fpie) and
24440 $(build-shared).
24441 (binaries-shared): Also filter out $(binaries-pie).
24442 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24443 * nscd/Makefile (others-pie): Add nscd.
24444 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24445 ($(objpfx)nscd): Remove command override.
24446 * login/Makefile (others-pie): Add pt_chown.
24447 ($(objpfx)pt_chown): Remove command override.
24448 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24449 remove command overrides.
24450
fcabc0f8
UD
244512011-05-13 Ulrich Drepper <drepper@gmail.com>
24452
20030ae6
UD
24453 * libio/tst_putwc.c: Fix error messages.
24454
fcabc0f8
UD
24455 [BZ #12724]
24456 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24457 currently writing and seek to current position when not.
24458 * libio/Makefile (tests): Add bug-fclose1.
24459 * libio/bug-fclose1.c: New file.
24460
320a5dc0
PB
244612011-05-12 Ulrich Drepper <drepper@gmail.com>
24462
24463 [BZ #12511]
24464 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24465 don't set DF_1_NODELETE here.
24466 (do_lookup_x): When entering new entry test for copy relocation
24467 and if necessary set DF_1_NODELETE flag.
24468 * elf/tst-unique4.cc: New file.
24469 * elf/tst-unique4.h: New file.
24470 * elf/tst-unique4lib.cc: New file.
24471 * elf/Makefile: Add rules to build and run tst-unique4.
24472 Patch by Piotr Bury <pbury@goahead.com>.
24473
22836f52
UD
244742011-05-11 Ulrich Drepper <drepper@gmail.com>
24475
f574184a
UD
24476 [BZ #12052]
24477 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24478
e1fb097f
UD
24479 [BZ #12625]
24480 * misc/mntent_r.c (addmntent): Flush the stream after the output
24481
22836f52
UD
24482 [BZ #12393]
24483 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24484 (is_trusted_path_normalize): Skip initial colon. Append slash
24485 to empty buffer. Duplicate is_trusted_path code but allow
24486 constructed patch to be prefix.
24487 (is_dst): Allow $ORIGIN followed by /.
24488 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24489 Correct testing of result of is_trusted_path_normalize
24490 (decompose_rpath): Fix warning.
24491
7b3b0b2a
UD
244922011-05-10 Ulrich Drepper <drepper@gmail.com>
24493
24494 [BZ #11257]
24495 * grp/initgroups.c (internal_getgrouplist): When we found the service
24496 list through the initgroups entry in nsswitch.conf do not always
24497 continue on a successful lookup. Don't always use the
eac80ce2 24498 __nss_group_database value if it is set.
7b3b0b2a
UD
24499 * nss/nsswitch.conf (initgroups): Change action for successful db
24500 lookup to continue for compatibility.
24501
2a81eaa5
UD
245022011-05-09 Ulrich Drepper <drepper@gmail.com>
24503
be97a69e
UD
24504 [BZ #11532]
24505 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24506 and CP774 modules.
24507 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24508 and CP774 modules.
24509 * iconvdata/tst-tables.sh: Likewise.
24510 * iconvdata/cp770.c: New file.
24511 * iconvdata/cp771.c: New file.
24512 * iconvdata/cp772.c: New file.
24513 * iconvdata/cp773.c: New file.
24514 * iconvdata/cp774.c: New file.
24515 * iconvdata/testdata/CP770: New file.
24516 * iconvdata/testdata/CP770..UTF8: New file.
24517 * iconvdata/testdata/CP771: New file.
24518 * iconvdata/testdata/CP771..UTF8: New file.
24519 * iconvdata/testdata/CP772: New file.
24520 * iconvdata/testdata/CP772..UTF8: New file.
24521 * iconvdata/testdata/CP773: New file.
24522 * iconvdata/testdata/CP773..UTF8: New file.
24523 * iconvdata/testdata/CP774: New file.
24524 * iconvdata/testdata/CP774..UTF8: New file.
24525
24526 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24527 END CHARMAP line.
24528 * iconvdata/gen-8bit-gap.sh: Likewise.
24529 * iconvdata/gen-8bit.sh: Likewise.
24530
c1e9e399
UD
24531 * locale/iso-639.def: Add ary entry.
24532
24c55fb3 24533 [BZ #11258]
96b4b1b0
UD
24534 * locale/C-translit.h.in: Add U20A1 transliteration.
24535
bdc2f971
KB
24536 [BZ #12178]
24537 * locale/iso-639.def: Add wae entry.
24538 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24539
2952b117
UD
24540 [BZ #12545]
24541 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24542 for n.
24543
2a81eaa5
UD
24544 [BZ #12711]
24545 * locale/C-translit.h.in: Add entry for U20B9.
24546 Patch by pravin.d.s@gmail.com.
24547
28377d1b
UD
245482011-05-08 Ulrich Drepper <drepper@gmail.com>
24549
7fb90fb8
UD
24550 [BZ #12713]
24551 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24552 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24553 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24554 in rtld. Use *stat64.
7fb90fb8 24555 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24556 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24557 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24558 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24559 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24560 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24561 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24562 __fstatat64 macros.
7fb90fb8
UD
24563 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24564 * dirent/rewinddir.c: Add libc_hidden_def.
24565 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24566 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24567
28377d1b
UD
24568 * include/dirent.h (__alloc_dir): Add flags parameter.
24569 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24570 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24571 __alloc_dir.
24572 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24573 from fdopendir if O_CLOEXEC is already set.
24574
66bdbaa4
AM
245752011-03-15 Alan Modra <amodra@gmail.com>
24576
24577 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24578 l_tls_firstbyte_offset non-zero. Save padding offset in
24579 l_tls_firstbyte_offset for later use.
24580 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24581 freeing static tls block.
24582
95721191
JN
245832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24584
24585 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24586 where #ifdef was intended. The intent is to prevent ARG_MAX from
24587 being defined by the kernel headers.
24588
f87dfb1f
UD
245892011-05-07 Ulrich Drepper <drepper@gmail.com>
24590
24591 [BZ #12734]
24592 * resolv/resolv.h: Define RES_NOTLDQUERY.
24593 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24594 no-tld-query and set RES_NOTLDQUERY.
24595 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24596 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24597 modern BIND to search name as TLD unless forbidden.
24598
47c3cd7a
UD
245992011-05-07 Petr Baudis <pasky@suse.cz>
24600 Ulrich Drepper <drepper@gmail.com>
24601
24602 [BZ #12393]
24603 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24604 (is_trusted_path): ...to here.
c1e9ea35 24605 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24606 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24607 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24608
8a35c912
PP
246092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24610
24611 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24612 __BEGIN/__END_DECLS.
24613
acd41f47
UD
246142011-05-06 Ulrich Drepper <drepper@gmail.com>
24615
24616 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24617 NSS_STATUS_NOTFOUND if no record was found.
24618
597df647
AS
246192011-05-05 Andreas Schwab <schwab@redhat.com>
24620
24621 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24622 (headers-not-in-tirpc): Remove rpc/netdb.h
24623 * resolv/netdb.h: Revert last change.
24624
b9af1301
PP
246252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24626
24627 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24628 circular dependency between libgcc.a and libc.a.
24629
4e34d5f5
AS
246302011-05-05 Andreas Schwab <schwab@redhat.com>
24631
24632 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24633 * nis/Makefile: Don't install rpcsvc/*.
24634 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24635 instead of <rpc/types.h>.
24636 (MAXHOSTNAMELEN): Define.
24637
00ee369c
AS
246382011-05-03 Andreas Schwab <schwab@redhat.com>
24639
24640 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24641
0b592a30
MB
246422011-04-28 Maciej Babinski <mbabinski@google.com>
24643
24644 [BZ #12714]
24645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24646 gethostbyname4_r when IPv6 results are possible.
24647
6e04cbbe
UD
246482011-05-02 Ulrich Drepper <drepper@gmail.com>
24649
24650 [BZ #12723]
24651 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24652 _PC_PIPE_BUF handling.
24653
e4ecafe0
BH
246542011-04-30 Bruno Haible <bruno@clisp.org>
24655
24656 [BZ #12717]
24657 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24658 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24659 to 'int'.
24660 * inet/getnameinfo.c (getnameinfo): Likewise.
24661
125ee683
UD
246622011-04-29 Ulrich Drepper <drepper@gmail.com>
24663
24664 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24665 to groups setting in database lookup.
24666 * nss/nsswitch.conf: Add initgroups entry.
24667
b722481a
EB
246682011-04-22 Ulrich Drepper <drepper@gmail.com>
24669
24670 [BZ #12685]
24671 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24672 mode string.
24673 Patch by Eric Blake <eblake@redhat.com>.
24674
4df46dbd
L
246752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24676
24677 * sunrpc/Makefile (need-export-routines): Add svc_run.
24678 (routines): Remove svc_run.
24679 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24680 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24681 * sunrpc/svc_run.c (svc_run): Likewise.
24682 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24683
e84142d2
UD
246842011-04-21 Ulrich Drepper <drepper@gmail.com>
24685
24686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24687 problem in reallocation in last patch.
24688
877175d8
UD
246892011-04-20 Ulrich Drepper <drepper@gmail.com>
24690
24691 * sunrpc/Makefile: Move inclusion of Rules.
24692
ab8eed78
UD
246932011-04-19 Ulrich Drepper <drepper@gmail.com>
24694
24695 * nss/nss_files/files-initgroups.c: New file.
24696 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24697 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24698 _nss_files_initgroups_dyn.
24699
e3d8f584
RS
247002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24701
24702 * elf/elf.h (R_ARM_IRELATIVE): Define.
24703
af190f45
UD
247042011-04-19 Ulrich Drepper <drepper@gmail.com>
24705
24706 * po/ru.po: Update from translation team.
24707
53cf59ef
UD
247082011-04-17 Ulrich Drepper <drepper@gmail.com>
24709
24710 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24711 dependencies.
24712
4c559bcd
MF
247132011-02-06 Mike Frysinger <vapier@gentoo.org>
24714
24715 [BZ #12653]
24716 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24717 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24718 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24719 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24720 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24721
4420675c
AS
247222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24723
24724 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24725 differing bytes.
24726 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24727 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24728 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24729
75ea32ab
UD
247302011-04-17 Ulrich Drepper <drepper@gmail.com>
24731
24732 [BZ #12420]
24733 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24734 storing it.
24735 * stdlib/bug-getcontext.c: New file.
24736 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24737
27390476
AK
247382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24739
24740 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24741 instructions into .machine "z9-109".
24742 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24743 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24744
10442705
AK
247452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24746
24747 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24748 between environment variables and auxiliary vector.
24749
7b57bfe5
UD
247502011-04-16 Ulrich Drepper <drepper@gmail.com>
24751
24752 * Makefile: Add rules to build linkobj/libc.so.
24753 * include/libc-symbols.h: Define libc_hidden_nolink.
24754 * include/rpc/auth.h: Mark functions which are to be hidden.
24755 * include/rpc/auth_des.h: Likewise.
24756 * include/rpc/auth_unix.h: Likewise.
24757 * include/rpc/clnt.h: Likewise.
24758 * include/rpc/des_crypt.h: Likewise.
24759 * include/rpc/key_prot.h: Likewise.
24760 * include/rpc/pmap_clnt.h: Likewise.
24761 * include/rpc/pmap_prot.h: Likewise.
24762 * include/rpc/pmap_rmt.h: Likewise.
24763 * include/rpc/rpc_msg.h: Likewise.
24764 * include/rpc/svc.h: Likewise.
24765 * include/rpc/svc_auth.h: Likewise.
24766 * include/rpc/xdr.h: Likewise.
24767 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24768 * nss/Makefile: Likewise.
24769 * sunrpc/Makefile: Don't install headers. Build library with normal
24770 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24771 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24772 for the compat linking library. Remove use of INTDEF/INTUSE.
24773 * sunrpc/auth_none.c: Likewise.
24774 * sunrpc/auth_unix.c: Likewise.
24775 * sunrpc/authdes_prot.c: Likewise.
24776 * sunrpc/authuxprot.c: Likewise.
24777 * sunrpc/clnt_gen.c: Likewise.
24778 * sunrpc/clnt_perr.c: Likewise.
24779 * sunrpc/clnt_raw.c: Likewise.
24780 * sunrpc/clnt_simp.c: Likewise.
24781 * sunrpc/clnt_tcp.c: Likewise.
24782 * sunrpc/clnt_udp.c: Likewise.
24783 * sunrpc/clnt_unix.c: Likewise.
24784 * sunrpc/des_crypt.c: Likewise.
24785 * sunrpc/des_soft.c: Likewise.
24786 * sunrpc/get_myaddr.c: Likewise.
24787 * sunrpc/key_call.c: Likewise.
24788 * sunrpc/key_prot.c: Likewise.
24789 * sunrpc/netname.c: Likewise.
24790 * sunrpc/pm_getmaps.c: Likewise.
24791 * sunrpc/pm_getport.c: Likewise.
24792 * sunrpc/pmap_clnt.c: Likewise.
24793 * sunrpc/pmap_prot.c: Likewise.
24794 * sunrpc/pmap_prot2.c: Likewise.
24795 * sunrpc/pmap_rmt.c: Likewise.
24796 * sunrpc/publickey.c: Likewise.
24797 * sunrpc/rpc_cmsg.c: Likewise.
24798 * sunrpc/rpc_common.c: Likewise.
24799 * sunrpc/rpc_dtable.c: Likewise.
24800 * sunrpc/rpc_prot.c: Likewise.
24801 * sunrpc/rpc_thread.c: Likewise.
24802 * sunrpc/rtime.c: Likewise.
24803 * sunrpc/svc.c: Likewise.
24804 * sunrpc/svc_auth.c: Likewise.
24805 * sunrpc/svc_authux.c: Likewise.
24806 * sunrpc/svc_raw.c: Likewise.
24807 * sunrpc/svc_run.c: Likewise.
24808 * sunrpc/svc_simple.c: Likewise.
24809 * sunrpc/svc_tcp.c: Likewise.
24810 * sunrpc/svc_udp.c: Likewise.
24811 * sunrpc/svc_unix.c: Likewise.
24812 * sunrpc/svcauth_des.c: Likewise.
24813 * sunrpc/xcrypt.c: Likewise.
24814 * sunrpc/xdr.c: Likewise.
24815 * sunrpc/xdr_array.c: Likewise.
24816 * sunrpc/xdr_float.c: Likewise.
24817 * sunrpc/xdr_intXX_t.c: Likewise.
24818 * sunrpc/xdr_mem.c: Likewise.
24819 * sunrpc/xdr_rec.c: Likewise.
24820 * sunrpc/xdr_ref.c: Likewise.
24821 * sunrpc/xdr_sizeof.c: Likewise.
24822 * sunrpc/xdr_stdio.c: Likewise.
24823
e6c61494
UD
248242011-04-10 Ulrich Drepper <drepper@gmail.com>
24825
24826 [BZ #12650]
24827 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24828 * sysdeps/ia64/dl-tls.h: Likewise.
24829 * sysdeps/powerpc/dl-tls.h: Likewise.
24830 * sysdeps/s390/dl-tls.h: Likewise.
24831 * sysdeps/sh/dl-tls.h: Likewise.
24832 * sysdeps/sparc/dl-tls.h: Likewise.
24833 * sysdeps/x86_64/dl-tls.h: Likewise.
24834 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24835
34fe483e
AS
248362011-03-14 Andreas Schwab <schwab@redhat.com>
24837
24838 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24839 rpath element also skip the following colon.
24840 (expand_dynamic_string_token): Add is_path parameter and pass
24841 down to DL_DST_REQUIRED and _dl_dst_substitute.
24842 (decompose_rpath): Call expand_dynamic_string_token with
24843 non-zero is_path. Ignore empty rpaths.
24844 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24845 with zero is_path.
24846
f12a32e6
AS
248472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24848
24849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24850 Make cancelable.
24851
38a7d692
UD
248522011-04-09 Ulrich Drepper <drepper@gmail.com>
24853
24854 [BZ #12655]
24855 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24856 Patch by Filipe David Manana <fdmanana@apache.org>.
24857
e451d22b
AS
248582011-04-07 Andreas Schwab <schwab@redhat.com>
24859
24860 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24861 Maintain aligned stack.
24862 (CHECK_RSP): Remove unused macro.
24863
dedc7c7b
UD
248642011-04-03 Ulrich Drepper <drepper@gmail.com>
24865
24866 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24867 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24868
94521213
UD
248692011-04-02 Ulrich Drepper <drepper@gmail.com>
24870
24871 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24872
8cb700c0 24873 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24874
0354e355
L
248752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24876
24877 [BZ #12518]
24878 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24879 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24880 * sysdeps/x86_64/memmove.c: New file.
24881 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24882 (memcpy): Renamed to ...
24883 (__new_memcpy): This.
24884 (memcpy): Provide GLIBC_2_14 memcpy.
24885 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24886 (memcpy): Provide GLIBC_2_2_5 memcpy.
24887
8593482f
UD
248882011-04-01 Ulrich Drepper <drepper@gmail.com>
24889
24890 [BZ #12631]
24891 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24892
81a5726b
AS
248932011-03-30 Andreas Schwab <schwab@redhat.com>
24894
24895 * misc/syncfs.c: New file.
24896 * misc/Makefile (routines): Add syncfs.
24897 * posix/unistd.h: Declare syncfs.
24898 * sysdeps/unix/syscalls.list: Add syncfs.
24899
00e5419f
AS
249002011-04-01 Andreas Schwab <schwab@redhat.com>
24901
24902 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24903 open_by_handle_at.
24904 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24905 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24906 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24908 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24909 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24910 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24911
748876bf
UD
249122011-04-01 Ulrich Drepper <drepper@gmail.com>
24913
658e451d
UD
24914 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24915 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24916 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24918 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24921
748876bf
UD
24922 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24923 sync_file_range.c with -fexceptions.
24924 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24925 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24926 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24927 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24928 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24929 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24930 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24931 sync_file_range as cancellation point
24932 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24933 now a wrapper around __call_sync_file_range with cancellation handling.
24934 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24935 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24936 function name to __call_sync_file_range.
24937 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24938 Add call_sync_file_range.
748876bf 24939
6e63d5e1
AS
249402011-04-01 Andreas Schwab <schwab@redhat.com>
24941
24942 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24943 bits/timex.h.
6e63d5e1 24944
46998f74
UD
249452011-04-01 Ulrich Drepper <drepper@gmail.com>
24946
4c1423ed
UD
24947 * iconv/iconv.h: Fix typo in comment.
24948 * io/fcntl.h: Likewise.
24949 * libio/stdio.h: Likewise.
24950 * posix/spawn.h: Likewise.
24951 * posix/unistd.h: Likewise.
24952 * stdlib/stdlib.h: Likewise.
24953 * time/time.h: Likewise.
24954 * wcsmbs/wchar.h: Likewise.
24955
158648c0
UD
24956 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24957 open_by_handle): Add.
24958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24959 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24960 Augment a few comments.
24961 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24962 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24963 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24964 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24965 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24966 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24967 open_by_handle.
24968
46998f74
UD
24969 * io/fcntl.h (AT_EMPTY_PATH): Define.
24970
83fe108b
UD
249712011-03-30 Ulrich Drepper <drepper@gmail.com>
24972
24973 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24974 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24975 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24976 to...
24977 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24978 * Versions.def: Add GLIBC_2.14.
24979 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24980 Export.
83fe108b 24981
bb242059
UD
249822011-03-22 Ulrich Drepper <drepper@gmail.com>
24983
24984 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24985 round counter.
24986 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24987
c97a1282
L
249882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 [BZ #12597]
24991 * string/test-strncmp.c (do_page_test): New function.
24992 (check2): Likewise.
24993 (test_main): Call check2.
24994 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24995
2a115601
UD
249962011-03-20 Ulrich Drepper <drepper@gmail.com>
24997
24998 [BZ #12587]
24999 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25000 Handle cache information in CPU leaf 4.
25001 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25002
8126d904
UD
250032011-03-18 Ulrich Drepper <drepper@gmail.com>
25004
042c49c6 25005 [BZ #12583]
8126d904
UD
25006 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25007 character representation.
25008 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25009
ccfe366e
RA
250102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25011
25012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25013 END(__isnan) to END(__isnanf) to match function entry point/label
25014 EALIGN(__isnanf,...).
25015
c6e13027
JJ
250162011-03-10 Jakub Jelinek <jakub@redhat.com>
25017
25018 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25019
33f85a3f
UD
250202011-03-10 Ulrich Drepper <drepper@gmail.com>
25021
028478fa
UD
25022 [BZ #12510]
25023 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25024 copy from the symbol referenced in the relocation to initialize the
25025 used variable.
25026 Patch by Piotr Bury <pbury@goahead.com>.
25027 * elf/Makefile: Add rules to build and tst-unique3.
25028 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25029 * elf/tst-unique3.cc: New file.
25030 * elf/tst-unique3.h: New file.
25031 * elf/tst-unique3lib.cc: New file.
25032 * elf/tst-unique3lib2.cc: New file.
25033
33f85a3f
UD
25034 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25035
03592fc7
MF
250362011-03-10 Mike Frysinger <vapier@gentoo.org>
25037
25038 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25039 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25040 to _start.
03592fc7 25041
6a5ee102
UD
250422011-03-06 Ulrich Drepper <drepper@gmail.com>
25043
25044 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25045 to-be-loaded object along a path to loader is ld.so.
25046
7e4ba49c
HJ
250472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25048 Ulrich Drepper <drepper@gmail.com>
25049
25050 * sysdeps/x86_64/memset.S: After aligning destination, code
25051 branches to different locations depending on the value of
25052 misalignment, when multiarch is enabled. Fix this.
25053
250542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25055
25056 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25057 Set _x86_64_preferred_memory_instruction for AMD processsors.
25058 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25059 Set bit_Prefer_SSE_for_memop for AMD processors.
25060
13a804de
UD
250612011-03-04 Ulrich Drepper <drepper@gmail.com>
25062
25063 * libio/fmemopen.c (fmemopen): Optimize a bit.
25064
9d25c392
AS
250652011-03-03 Andreas Schwab <schwab@redhat.com>
25066
25067 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25068
a5543c6a
RM
250692011-03-03 Roland McGrath <roland@redhat.com>
25070
25071 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25072
012d35f7
DM
250732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25074
7e4ba49c 25075 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25076 __bzero_ultra1 instead of __memset_ultra1.
25077
4bff6e01
AS
250782011-02-23 Andreas Schwab <schwab@redhat.com>
25079 Ulrich Drepper <drepper@gmail.com>
25080
25081 [BZ #12509]
25082 * include/link.h (struct link_map): Add l_orig_initfini.
25083 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25084 returning unsuccessfully.
25085 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25086 close of a file loaded at startup, restore the original l_initfini
25087 list.
25088 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25089 list, store the pointer.
25090 * elf/Makefile ($(objpfx)noload-mem): New rule.
25091 (noload-ENV): Define.
25092 (tests): Add $(objpfx)noload-mem.
25093 * elf/noload.c: Include <memcheck.h>.
25094 (main): Call mtrace. Close all opened handles.
25095
f2092faf
AS
250962011-02-17 Andreas Schwab <schwab@redhat.com>
25097
25098 [BZ #12454]
25099 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25100 dependencies are missing.
25101
6c8a2e88
ST
251022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25103
f2092faf 25104 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25105 Hurd needs munmap.
25106 * sysdeps/mach/hurd/ifreq.h: New file.
25107
84a42118
PB
251082011-01-27 Petr Baudis <pasky@suse.cz>
25109 Ulrich Drepper <drepper@gmail.com>
25110
071f805e 25111 [BZ 12445]#
84a42118
PB
25112 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25113 to extend_alloca().
25114 * stdio-common/bug23.c: New file.
25115 * stdio-common/Makefile (tests): Add bug23.
25116
e23fe25b
AS
251172010-09-28 Andreas Schwab <schwab@redhat.com>
25118 Ulrich Drepper <drepper@gmail.com>
25119
25120 [BZ #12489]
25121 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25122 before performing relro protection. At old place add assertion
25123 to make sure nothing changed.
25124
d3f02e10
NS
251252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25126 Glauber de Oliveira Costa <glommer@gmail.com>
25127
25128 * elf/elf.h: Add new ARM TLS relocs.
25129
d55fd7a5
RA
251302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25131
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25133 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25134 cast from r3.
25135 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25136 'tests' variable.
25137 * sysdeps/wordsize-64/tst-writev.c: New file.
25138
2206397e
RA
251392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25140
25141 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25142 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25143 insns in _dl_start to prevent a TOC reference before relocs are
25144 resolved.
25145
e9433893
UD
251462011-02-15 Ulrich Drepper <drepper@gmail.com>
25147
25148 [BZ #12469]
25149 * Makeconfig: Remove RANLIB definition.
25150 * Makerules: Don't use RANLIB.
25151 * aclocal.m4: Remove ranlib test.
25152 * configure.in: No need to check for ranlib.
25153 * elf/rtld-Rules: Don't use RANLIB.
25154
f75286c6
ST
251552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25156
8e31c82d
ST
25157 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25158 protection macro.
25159 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25160 inclusion protection macro.
25161
f75286c6
ST
25162 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25163 SIGRTMIN and SIGRTMAX and print information in that case only when
25164 SIGRTMIN is defined.
25165
c1d0e639
JJ
251662011-02-11 Jakub Jelinek <jakub@redhat.com>
25167
25168 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25169 arginfo fn returning -1.
25170
25171 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25172 and thousands string is zero terminated.
25173
edf9294e
AS
251742011-02-03 Andreas Schwab <schwab@redhat.com>
25175
25176 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25177 sysdeps/unix/sysv/linux/bits/socket.h.
25178
2b7e92df
ST
251792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25180
edf9294e
AS
25181 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25182 (__CPU_COUNT): Remove old macros.
25183 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25184 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25185 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25186 (__sched_cpualloc, __sched_cpufree): Add declarations.
25187
a4c7ea7b
UD
251882011-02-05 Ulrich Drepper <drepper@gmail.com>
25189
25190 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25191 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25192 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25193 (readdhstai): Return value of addhstaiX call.
25194 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25195 (addgrbyX): Return value returned by cache_addgr.
25196 (readdgrbyname): Return value returned by addgrbyX.
25197 (readdgrbygid): Likewise.
25198 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25199 (addpwbyX): Return value returned by cache_addpw.
25200 (readdpwbyname): Return value returned by addhstbyX.
25201 (readdpwbyuid): Likewise.
25202 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25203 (addservbyX): Return value returned by cache_addserv.
25204 (readdservbyname): Return value returned by addservbyX:
25205 (readdservbyport): Likewise.
25206 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25207 (addhstbyX): Return value returned by cache_addhst.
25208 (readdhstbyname): Return value returned by addhstbyX.
25209 (readdhstbyaddr): Likewise.
25210 (readdhstbynamev6): Likewise.
25211 (readdhstbyaddrv6): Likewise.
25212 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25213 (readdinitgroups): Return value returned by addinitgroupsX.
25214 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25215 (prune_cache): Keep track of timeout value of re-added entries.
25216 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25217 * nscd/nscd.h: Adjust prototypes of readd* functions.
25218
a0bf67cc
RM
252192011-02-04 Roland McGrath <roland@redhat.com>
25220
25221 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25222 (nis_stats): Likewise.
25223 * nis/nis_modify.c (nis_modify): Likewise.
25224 * nis/nis_remove.c (nis_remove): Likewise.
25225 * nis/nis_add.c (nis_add): Likewise.
25226
25227 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25228
25229 * posix/fnmatch_loop.c: Add some consts.
25230
25231 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25232
435b95eb
L
252332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25234
25235 [BZ #12460]
25236 * config.make.in (config-cflags-novzeroupper): Define.
25237 * configure.in: Substitute libc_cv_cc_novzeroupper.
25238 * elf/Makefile (AVX-CFLAGS): Define.
25239 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25240 (CFLAGS-tst-auditmod4a.c): Likewise.
25241 (CFLAGS-tst-auditmod4b.c): Likewise.
25242 (CFLAGS-tst-auditmod6b.c): Likewise.
25243 (CFLAGS-tst-auditmod6c.c): Likewise.
25244 (CFLAGS-tst-auditmod7b.c): Likewise.
25245 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25246
8517b15e
UD
252472011-02-02 Ulrich Drepper <drepper@gmail.com>
25248
25249 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25250 function to the callback.
25251 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25252
10a656fe
AS
252532011-02-02 Andreas Schwab <schwab@redhat.com>
25254
25255 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25256 of errno.
25257
968dad0a
UD
252582011-01-19 Ulrich Drepper <drepper@gmail.com>
25259
9f94d2ea 25260 [BZ #11724]
968dad0a
UD
25261 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25262 of constructors.
25263 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25264 of destructors.
25265 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25266
25267 [BZ #11724]
25268 * elf/Makefile: Add rules to build and run new test.
25269 * elf/tst-initorder.c: New file.
25270 * elf/tst-initorder.exp: New file.
25271 * elf/tst-initordera1.c: New file.
25272 * elf/tst-initordera2.c: New file.
25273 * elf/tst-initordera3.c: New file.
25274 * elf/tst-initordera4.c: New file.
25275 * elf/tst-initorderb1.c: New file.
25276 * elf/tst-initorderb2.c: New file.
25277 * elf/tst-order-a1.c: New file.
25278 * elf/tst-order-a2.c: New file.
25279 * elf/tst-order-a3.c: New file.
25280 * elf/tst-order-a4.c: New file.
25281 * elf/tst-order-b1.c: New file.
25282 * elf/tst-order-b2.c: New file.
25283 * elf/tst-order-main.c: New file.
25284 New test case by George Gensure <werkt0@gmail.com>.
25285
86e92359
UD
252862010-10-01 Andreas Schwab <schwab@redhat.com>
25287
25288 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25289 decoding ACE if AI_CANONIDN.
25290
5d5732b0
UD
252912011-01-18 Ulrich Drepper <drepper@gmail.com>
25292
25293 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25294
a77e8cbc
UD
252952011-01-17 Ulrich Drepper <drepper@gmail.com>
25296
6392473f
UD
25297 * version.h (RELEASE): Bump for 2.13 release.
25298 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25299
620a0529
UD
25300 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25301
18ba70a5
UD
25302 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25303 MADV_NOHUGEPAGE.
32465c3e
UD
25304 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25305 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25306 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25307 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25308 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25309 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25310
c0dafcf1
UD
25311 * posix/getconf.c: Update copyright year.
25312 * catgets/gencat.c: Likewise.
25313 * csu/version.c: Likewise.
25314 * debug/catchsegv.sh: Likewise.
25315 * debug/xtrace.sh: Likewise.
25316 * elf/ldconfig.c: Likewise.
25317 * elf/ldd.bash.in: Likewise.
25318 * elf/sprof.c (print_version): Likewise.
25319 * iconv/iconv_prog.c: Likewise.
25320 * iconv/iconvconfig.c: Likewise.
25321 * locale/programs/locale.c: Likewise.
25322 * locale/programs/localedef.c: Likewise.
25323 * malloc/memusage.sh: Likewise.
25324 * malloc/mtrace.pl: Likewise.
25325 * nscd/nscd.c (print_version): Likewise.
25326 * nss/getent.c: Likewise.
25327
a77e8cbc
UD
25328 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25329 PF_CAIF, and PF_ALG.
25330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25331
77e8bddf
AS
253322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25333
1f20b93a
AS
25334 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25335 (modules-names): Use them.
25336 (ifunc-test-modules, ifunc-pie-tests): Define.
25337 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25338 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25339 (test-extras): Likewise.
25340 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25341 $(compile-command.c).
25342 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25343 (all-built-dso): Define.
25344 (check-textrel.out, check-execstack.out): Depend on it.
25345
77e8bddf
AS
25346 * configure.in: Don't override --enable-multi-arch.
25347
bc425b33
UD
253482011-01-15 Ulrich Drepper <drepper@gmail.com>
25349
25350 [BZ #6812]
25351 * nscd/hstcache.c (tryagain): Define.
25352 (cache_addhst): Return tryagain not notfound for temporary errors.
25353 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25354 failed.
25355
794c3ad3
UD
253562011-01-14 Ulrich Drepper <drepper@gmail.com>
25357
70181fdd
UD
25358 [BZ #10563]
25359 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25360 to make the syscall.
25361 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25362
794c3ad3
UD
25363 [BZ #12378]
25364 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25365 and fall back to matching as normal character if the string ends before
25366 the matching ']' is found. This is what POSIX requires.
25367 * posix/testfnm.c: Adjust test result.
25368 * posix/globtest.sh: Adjust test result. Add new test.
25369 * posix/tst-fnmatch.input: Likewise.
25370 * posix/tst-fnmatch2.c: Add new test.
25371
68dc9497
AS
253722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25373
25374 * elf/Makefile (check-execstack): Revert last change. Depend on
25375 check-execstack.h.
25376 (check-execstack.h): New target.
25377 (generated): Add check-execstack.h.
25378 * elf/check-execstack.c: Include "check-execstack.h".
25379 (main): Revert last change.
25380 (handle_file): Return zero if GNU_STACK is absent and
25381 DEFAULT_STACK_PERMS doesn't include PF_X.
25382
451f001b
UD
253832011-01-13 Ulrich Drepper <drepper@gmail.com>
25384
cfa28e56
UD
25385 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25386 in child fails because the descriptor is already closed.
8cf8ce17
UD
25387 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25388 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25389 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25390
1086d70d
UD
25391 [BZ #12397]
25392 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25393 syscall.
25394
451f001b
UD
25395 [BZ #10484]
25396 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25397 temporary buffer used to handle multi lookups locally.
a85b5cb4 25398 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25399
08769175
UD
254002011-01-12 Ulrich Drepper <drepper@gmail.com>
25401
25402 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25403 loader is ld.so.
25404
5e49c52e
UD
254052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25406
25407 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25408 alignment for SSE2.
25409
60522a5f
UD
254102011-01-12 Ulrich Drepper <drepper@gmail.com>
25411
25412 [BZ #12394]
25413 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25414 characters. When rounding increased number of integer digits recompute
25415 number of groups.
25416 * stdio-common/tst-grouping.c: New file.
25417 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25418
f257bbd7
UD
254192011-01-09 Ulrich Drepper <drepper@gmail.com>
25420
25421 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25422 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25423
25424 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25425 void.
25426 * bits/select.h: Likewise.
25427
fa9c15cb
UD
254282011-01-08 Ulrich Drepper <drepper@gmail.com>
25429
25430 * po/ja.po: Update from translation team.
25431
16c2895f
DM
254322011-01-04 David S. Miller <davem@sunset.davemloft.net>
25433
25434 [BZ #11155]
25435 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25436 implementation just like for lxstat, fxstatat, et al.
25437
2543fef2
JM
254382010-12-27 Jim Meyering <meyering@redhat.com>
25439
25440 [BZ #12348]
25441 * posix/regexec.c (build_trtable): Return failure indication upon
25442 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25443
98727dbe
UD
254442010-12-25 Ulrich Drepper <drepper@gmail.com>
25445
5bd6dc5c
UD
25446 [BZ #12201]
25447 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25448 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25450 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25451
97983464
UD
25452 [BZ #12207]
25453 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25454
98727dbe
UD
25455 [BZ #12204]
25456 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25457 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25458
4a531bb0
L
254592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25460
25461 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25462 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25463 script has SORT_BY_INIT_PRIORITY.
25464 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25465 NO_CTORS_DTORS_SECTIONS is defined.
25466 * elf/soinit.c: Likewise.
25467 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25468 NO_CTORS_DTORS_SECTIONS is defined.
25469 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25470 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25471 * sysdeps/sh/init-first.c: Likewise.
25472 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25473
07eb4b71
UD
254742010-12-24 Ulrich Drepper <drepper@gmail.com>
25475
25476 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25477 always use the slow path.
25478
30950a5f
RA
254792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25480
25481 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25482 similar rule which adds the sysdep directories to the header search in
25483 order to pick up the correct platform stackinfo.h.
25484 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25485 perform test if it is, otherwise return successfully without testing.
25486 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25487 DEFAULT_STACK_PERMS define in stackinfo.h.
25488 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25489 defined in stackinfo.h.
25490 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25491 DEFAULT_STACK_PERMS defined in stackinfo.h.
25492 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25493 * sysdeps/ia64/stackinfo.h: Likewise.
25494 * sysdeps/s390/stackinfo.h: Likewise.
25495 * sysdeps/sh/stackinfo.h: Likewise.
25496 * sysdeps/sparc/stackinfo.h: Likewise.
25497 * sysdeps/x86_64/stackinfo.h: Likewise.
25498 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25499 PF_X for powerpc64. Retain PF_X for powerpc32.
25500
db753e2c
UD
255012010-12-19 Ulrich Drepper <drepper@gmail.com>
25502
14b697f7
UD
25503 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25504 accurately.
db753e2c
UD
25505 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25506 GETDENTS_64BIT_ALIGNED.
25507
28300719
UD
255082010-12-14 Ulrich Drepper <dreper@gmail.com>
25509
14b697f7 25510 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25511
4f197237
AS
255122010-12-10 Andreas Schwab <schwab@redhat.com>
25513
dbb0472f
AS
25514 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25515 _GNU_SOURCE.
25516
4f197237
AS
25517 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25518 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25519 Remove __restrict.
25520 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25521 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25522
fb88ac72
UD
255232010-12-09 Ulrich Drepper <drepper@gmail.com>
25524
25525 [BZ #11655]
25526 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25527 are initialized.
25528
42acbb92
JJ
255292010-12-09 Jakub Jelinek <jakub@redhat.com>
25530
25531 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25532
c038d98d
UD
255332010-12-03 Ulrich Drepper <drepper@gmail.com>
25534
25535 * po/it.po: Update from translation team.
25536
3a4a2499
L
255372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25538
25539 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25540 unused codes.
25541
1e24cf6e
UD
255422010-11-30 Ulrich Drepper <drepper@gmail.com>
25543
25544 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25545
a7690819
AS
255462010-11-24 Andreas Schwab <schwab@redhat.com>
25547
25548 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25549 specially.
25550 (gaih_getanswer_slice): Likewise.
25551
3bf8d1b1
JJ
255522010-10-20 Jakub Jelinek <jakub@redhat.com>
25553
25554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25555
6db52fbb
PB
255562010-05-31 Petr Baudis <pasky@suse.cz>
25557
25558 [BZ #11149]
25559 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25560 silently even in the chroot mode.
25561
eaca7569
UD
255622010-11-22 Ulrich Drepper <drepper@gmail.com>
25563
25564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25565 last patch a bit. Pretty printing
25566
3056dcdb
UD
255672010-05-31 Petr Baudis <pasky@suse.cz>
25568
25569 [BZ #10085]
25570 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25571 initialization of skip_initgroups_dyn.
25572
cf7c9078
UD
255732010-11-19 Ulrich Drepper <drepper@gmail.com>
25574
25575 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25576 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25577
a1fb5e3e
UD
255782010-11-16 Ulrich Drepper <drepper@gmail.com>
25579
25580 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25581
3540d66b
AS
255822010-11-11 Andreas Schwab <schwab@redhat.com>
25583
25584 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25585 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25586 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25587 ($(objpfx)tst-fnmatch-mem): New rule.
25588 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25589 * posix/tst-fnmatch.c (main): Call mtrace.
25590
13b69574
L
255912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25592
25593 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25594 Support Intel processor model 6 and model 0x2c.
25595
da93d214
LM
255962010-11-10 Luis Machado <luisgpm@br.ibm.com>
25597
25598 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25599 signed comparison.
25600
8ca52c6e
L
256012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25602
25603 [BZ #12205]
25604 * string/test-strncasecmp.c (check_result): New function.
25605 (do_one_test): Use it.
25606 (check1): New function.
25607 (test_main): Use it.
25608 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25609 Support strcasecmp and strncasecmp.
25610
69da074d
UD
256112010-11-08 Ulrich Drepper <drepper@gmail.com>
25612
25613 [BZ #12194]
25614 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25616
ff02d528
L
256172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25618
25619 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25620 IFUNC support.
25621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25622 memset-x86-64.
25623 * sysdeps/x86_64/multiarch/bzero.S: New file.
25624 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25625 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25626 * sysdeps/x86_64/multiarch/memset.S: New file.
25627 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25629 Set bit_Prefer_SSE_for_memop for Intel processors.
25630 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25631 Define.
25632 (index_Prefer_SSE_for_memop): Define.
25633 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25634
344d0b54
LM
256352010-11-04 Luis Machado <luisgpm@br.ibm.com>
25636
25637 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25638 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25639
c0dde15b
UD
256402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25641
25642 [BZ #12191]
25643 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25644 (__x86_64_raw_data_cache_size_half): Likewise.
25645 (__x86_64_raw_shared_cache_size): Likewise.
25646 (__x86_64_raw_shared_cache_size_half): Likewise.
25647
25648 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25649 (__x86_64_raw_data_cache_size_half): Likewise.
25650 (__x86_64_raw_shared_cache_size): Likewise.
25651 (__x86_64_raw_shared_cache_size_half): Likewise.
25652 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25653 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25654 and __x86_64_raw_shared_cache_size_half. Round
25655 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25656 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25657 to multiple of 256 bytes.
25658
0e516e0e
MS
256592010-11-03 Ulrich Drepper <drepper@gmail.com>
25660
25661 [BZ #12167]
25662 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25663 of inacessible symlinks. Verify result of symlink before returning it.
25664 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25665 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25666
0e012e87
ER
256672010-10-28 Erich Ritz <erichritz@gmail.com>
25668
25669 * math/math.h (isinf): Fix typo in comment.
25670
de0ff7bc
UD
256712010-11-01 Ulrich Drepper <drepper@gmail.com>
25672
25673 * po/da.po: Update from translation team.
25674
fa41c84d
UD
256752010-10-26 Ulrich Drepper <drepper@gmail.com>
25676
25677 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25678 is added to the list.
25679
f0967738
AK
256802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25681 Ulrich Drepper <drepper@gmail.com>
25682
25683 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25684 the global list here. Move code to...
25685 (_dl_add_to_namespace_list): ...here. New function.
25686 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25687 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25688 * elf/dl-load.c (lose): Don't remove the element from the list.
25689 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25690 (_dl_map_object): Likewise.
25691
256922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25693
25694 [BZ #12159]
25695 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25696 into all bytes of SSE register.
25697 Patch by Richard Li <richardpku@gmail.com>.
25698
f0967738 256992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25700
25701 [BZ #12140]
25702 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25703 perturbing.
25704
d0b9e94f
MB
257052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25706
25707 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25708 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25710 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25712 submachine.
25713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25714
8e9f92e9
AS
257152010-10-22 Andreas Schwab <schwab@redhat.com>
25716
25717 * include/dlfcn.h (__RTLD_SECURE): Define.
25718 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25719 mode & __RTLD_SECURE instead.
25720 (open_path): Rename preloaded parameter to secure.
25721 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25722 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25723 * elf/dl-deps.c (openaux): Likewise.
25724 * elf/rtld.c (struct map_args): Remove is_preloaded.
25725 (map_doit): Don't use it.
25726 (dl_main): Likewise.
25727 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25728 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25729
bc96fbda
AS
257302010-09-09 Andreas Schwab <schwab@redhat.com>
25731
25732 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25733 (sysd-rules-targets): Remove duplicates.
25734 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25735 rtld-%.$o dependency.
25736
22cd1c9b
AS
257372010-10-18 Andreas Schwab <schwab@redhat.com>
25738
25739 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25740 _dl_map_object do it.
25741
18edac48
UD
257422010-10-19 Ulrich Drepper <drepper@gmail.com>
25743
25744 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25745 fast fma builtins, define the macros in the C99 standard.
25746 (FP_FAST_FMAF): Likewise.
25747 (FP_FAST_FMAL): Likewise.
25748 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25749
25750 * bits/mathdef.h: Update copyright year.
25751 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25752
d2050124
MM
257532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25754
25755 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25756 builtins, define the macros in the C99 standard.
25757 (FP_FAST_FMAF): Likewise.
25758 (FP_FAST_FMAL): Likewise.
25759 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25760 multiply/add.
25761 (FP_FAST_FMAF): Likewise.
25762
475facd1
JJ
257632010-10-15 Jakub Jelinek <jakub@redhat.com>
25764
25765 [BZ #3268]
25766 * math/libm-test.inc (fma_test): Some new testcases.
25767 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25768 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25769 y and infinite z. Do multiplication by C already in long double.
25770 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25772 y and infinite z. Do bitwise or of inexact bit into u.d.
25773 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25774 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25775 * sysdeps/i386/fpu/s_fma.S: Removed.
25776 * sysdeps/i386/fpu/s_fmal.S: Removed.
25777
7c08a05c
JJ
257782010-10-16 Jakub Jelinek <jakub@redhat.com>
25779
25780 [BZ #3268]
25781 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25783 computation is not scheduled after fetestexcept. Fix value
25784 of minimum denormal long double.
25785
f3f7372d
JJ
257862010-10-14 Jakub Jelinek <jakub@redhat.com>
25787
25788 [BZ #3268]
25789 * math/libm-test.inc (fma_test): Add some more tests.
25790 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25791 correctly.
25792
14d43591
AS
257932010-10-15 Andreas Schwab <schwab@redhat.com>
25794
25795 * scripts/data/localplt-s390-linux-gnu.data: New file.
25796 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25797
5e908464
JJ
257982010-10-13 Jakub Jelinek <jakub@redhat.com>
25799
25800 [BZ #3268]
25801 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25802 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25803 instead of dbl-64.
25804 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25805 inlines.
25806 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25807 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25808 if one of x and y is very large and the other is subnormal.
25809 * sysdeps/s390/fpu/s_fmaf.c: New file.
25810 * sysdeps/s390/fpu/s_fma.c: New file.
25811 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25812 * sysdeps/powerpc/fpu/s_fma.S: New file.
25813 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25814 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25815 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25816
258172010-10-12 Jakub Jelinek <jakub@redhat.com>
25818
25819 [BZ #3268]
25820 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25821 fma tests.
25822 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25823 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25824 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25825 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25826 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25827 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25828 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25829
b833d51f
UD
258302010-10-12 Ulrich Drepper <drepper@redhat.com>
25831
25832 [BZ #12078]
25833 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25834 * posix/bug-regex31.input: Add test case.
25835
1751705d
UD
258362010-10-11 Ulrich Drepper <drepper@gmail.com>
25837
e9b9cbf5
UD
25838 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25839 * posix/bug-regex31.input: New file.
25840
25841 [BZ #12078]
25842 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25843 (parse_sub_exp): Fix last change, use postorder.
25844
ef06edbe
UD
25845 * posix/bug-regex31.c: New file.
25846 * posix/Makefile: Add rules to build and run bug-regex31.
25847
a129c80d
UD
25848 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25849
25850 [BZ #12078]
25851 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25852
b76b818e
UD
25853 [BZ #12108]
25854 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25855 to have entries in sys_siglist.
25856
1751705d
UD
25857 [BZ #12093]
25858 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25859 be NULL.
25860
9ff8d36f
JJ
258612010-10-07 Jakub Jelinek <jakub@redhat.com>
25862
25863 [BZ #3268]
25864 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25865 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25866 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25867 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25868 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25869 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25870 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25871 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25872 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25873 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25874 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25875 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25876 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25877 * math/ftestexcept.c (fetestexcept): Likewise.
25878 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25879 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25880 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25881 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25882 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25883 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25884 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25885
af325969
UD
258862010-10-11 Ulrich Drepper <drepper@gmail.com>
25887
c579b202 25888 [BZ #12107]
af325969
UD
25889 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25890 newline.
25891
67a67b95
UD
258922010-10-06 Ulrich Drepper <drepper@gmail.com>
25893
25894 * string/bug-strstr1.c: New file.
25895 * string/Makefile: Add rules to build and run bug-strstr1.
25896
5fb308bc
EB
258972010-10-05 Eric Blake <eblake@redhat.com>
25898
25899 [BZ #12092]
25900 * string/str-two-way.h (two_way_long_needle): Always clear memory
25901 when skipping input due to the shift table.
25902
45db99c7
UD
259032010-10-03 Ulrich Drepper <drepper@gmail.com>
25904
3b111893
UD
25905 [BZ #12005]
25906 * malloc/mcheck.c: Handle large requests.
25907
45db99c7
UD
25908 [BZ #12077]
25909 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25910 for strncmp and strncasecmp.
25911 * string/stratcliff.c: Add tests for strcmp and strncmp.
25912 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25913
cf7a1eb8
NI
259142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25915
25916 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25917 __set_fpscr.
25918
6484ba5e
AJ
259192010-09-30 Andreas Jaeger <aj@suse.de>
25920
25921 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25922 (CGROUP_SUPER_MAGIC): Define.
25923 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25924 Handle btrfs and cgroup file systems.
25925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25926 Likewise.
25927
91c42559
LM
259282010-09-27 Luis Machado <luisgpm@br.ibm.com>
25929
25930 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25931 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25932
87a97932
AK
259332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25934
25935 [BZ #12067]
25936 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25937 trying to locate the ELF header.
25938
c21cc9bc
AS
259392010-09-27 Andreas Schwab <schwab@redhat.com>
25940
25941 [BZ #11611]
25942 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25943 Mask out sign-bit copies when constructing f_fsid.
25944
315970f6
PB
259452010-09-24 Petr Baudis <pasky@suse.cz>
25946
25947 * debug/stack_chk_fail_local.c: Add missing licence exception.
25948 * debug/warning-nop.c: Likewise.
25949
1ac7a2c7
JM
259502010-09-15 Joseph Myers <joseph@codesourcery.com>
25951
25952 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25953 implementing getdents64 using getdents syscall, set d_type if
25954 __ASSUME_GETDENTS32_D_TYPE.
25955
56801c50
AS
259562010-09-16 Andreas Schwab <schwab@redhat.com>
25957
25958 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25959 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25960
dda51327
UD
259612010-09-21 Ulrich Drepper <drepper@redhat.com>
25962
25963 [BZ #12037]
25964 * posix/unistd.h: Undo change of feature selection for ftruncate from
25965 2010-01-11.
25966
8ffcee4a
UD
259672010-09-20 Ulrich Drepper <drepper@redhat.com>
25968
a545ecd9 25969 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25970 detection.
25971
e24f0a8b
AS
259722010-09-20 Andreas Schwab <schwab@redhat.com>
25973
25974 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25975 fanotify_mark.
25976 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25977
7291c56f
AS
259782010-09-14 Andreas Schwab <schwab@redhat.com>
25979
25980 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25981 variables after CHECK_SP call.
25982 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25983
bc5fb037
AS
259842010-09-13 Andreas Schwab <schwab@redhat.com>
25985 Ulrich Drepper <drepper@redhat.com>
25986
25987 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25988 re-relocationg ld.so.
25989 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25990 _dl_init_paths call.
25991 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25992 here anymore.
25993
e66e7419
UD
259942010-09-14 Ulrich Drepper <drepper@redhat.com>
25995
25996 * resolv/res_init.c (__res_vinit): Count the default server we added.
25997
c044aa75
CLT
259982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25999 Ulrich Drepper <drepper@redhat.com>
26000
26001 [BZ #11968]
26002 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26003 (____longjmp_chk): Use %ebx for saving value across system call.
26004 Add unwind info.
26005
32cf4069
AS
260062010-09-06 Andreas Schwab <schwab@redhat.com>
26007
26008 * manual/Makefile: Don't mix pattern rules with normal rules.
26009
817328ee
AS
260102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26011
26012 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26013 operation.
26014 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26015 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26016 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26017 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26018 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26019 Likewise.
26020
29fddf61
UD
260212010-09-04 Ulrich Drepper <drepper@redhat.com>
26022
26023 [BZ #11979]
26024 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26025 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26026
0959ffc9
UD
260272010-09-02 Ulrich Drepper <drepper@redhat.com>
26028
26029 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26030 * sysdeps/x86_64/addmul_1.S: Likewise.
26031 * sysdeps/x86_64/lshift.S: Likewise.
26032 * sysdeps/x86_64/mul_1.S: Likewise.
26033 * sysdeps/x86_64/rshift.S: Likewise.
26034 * sysdeps/x86_64/sub_n.S: Likewise.
26035 * sysdeps/x86_64/submul_1.S: Likewise.
26036
ece29840
ST
260372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26038
0959ffc9
UD
26039 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26040 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26041 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26042 * bits/sched.h [__need_schedparam]
ece29840 26043 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26044 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26045 (__defined_schedparam): Define to 1.
ece29840
ST
26046 (__sched_param): New structure, identical to sched_param.
26047 (__need_schedparam): Undefine.
26048
e53a31fe
MF
260492010-08-31 Mike Frysinger <vapier@gentoo.org>
26050
fdc0c10d
MF
26051 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26052 (epoll_create1): Declare.
26053
e53a31fe
MF
26054 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26055
a726d796
AS
260562010-08-31 Andreas Schwab <schwab@redhat.com>
26057
26058 [BZ #7066]
26059 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26060 shifting retval into place.
26061
2f3e3dc7
UD
260622010-09-01 Ulrich Drepper <drepper@redhat.com>
26063
f2933da9
UD
26064 * nis/rpcsvc/nis.h: Update copyright notice.
26065 * nis/rpcsvc/nis.x: Likewise.
26066 * nis/rpcsvc/nis_callback.h: Likewise.
26067 * nis/rpcsvc/nis_callback.x: Likewise.
26068 * nis/rpcsvc/nis_object.x: Likewise.
26069 * nis/rpcsvc/nis_tags.h: Likewise.
26070 * nis/rpcsvc/yp.h: Likewise.
26071 * nis/rpcsvc/yp.x: Likewise.
26072 * nis/rpcsvc/ypupd.h: Likewise.
26073 * nis/yp_xdr.c: Likewise.
26074 * nis/ypupdate_xdr.c: Likewise.
26075
2f3e3dc7
UD
26076 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26077 mainly the body of pmap_getport. Add parameters to specify timeouts.
26078 (pmap_getport): Use __libc_rpc_getport.
26079 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26080 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26081 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26082
f3dcc2f9
AS
260832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26084
26085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26086 fanotify_mark.
26087
6d34eb5b
RM
260882010-08-27 Roland McGrath <roland@redhat.com>
26089
26090 * sysdeps/i386/i686/multiarch/Makefile
26091 (CFLAGS-varshift.c): New variable.
26092
9ea3de11
UD
260932010-08-27 Ulrich Drepper <drepper@redhat.com>
26094
c96d23fc
UD
26095 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26096 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26097
9ea3de11
UD
26098 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26099
26100 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26101
623aac7f
L
261022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26103
26104 * sysdeps/x86_64/strlen.S: Unroll the loop.
26105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26106 strlen-sse2 strlen-sse2-bsf.
26107 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26108 __strlen_no_bsf if bit_Slow_BSF is set.
26109 (__strlen_sse42): Removed.
26110 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26111 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26112
8b2b7715
RM
261132010-08-25 Roland McGrath <roland@redhat.com>
26114
26115 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26116 * sysdeps/x86_64/multiarch/varshift.c: New file.
26117 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26118 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26119 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26120 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26121
e73015f2
L
261222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26125 strlen-sse2 strlen-sse2-bsf.
26126 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26127 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26128 (__strlen_sse2): Removed.
26129 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26130 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26132 bit_Slow_BSF for Atom.
26133 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26134 (index_Slow_BSF): Define.
26135 (HAS_SLOW_BSF): Define.
26136
df24a73e
UD
261372010-08-25 Ulrich Drepper <drepper@redhat.com>
26138
26139 [BZ #10851]
26140 * resolv/res_init.c (__res_vinit): When no server address at all
26141 is given default to loopback.
26142
f2ac4868
RM
261432010-08-24 Roland McGrath <roland@redhat.com>
26144
09055553
RM
26145 * configure.in: Remove config-name.h generation.
26146 * configure: Regenerated.
26147 * config-name.in: File removed.
26148 * scripts/config-uname.sh: New file.
26149 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26150 ($(objdir)config-name.h): New target.
26151
f2ac4868
RM
26152 * sunrpc/rpc_parse.h: Avoid nested comment.
26153
73f27d5e
RH
261542010-08-24 Richard Henderson <rth@redhat.com>
26155 Ulrich Drepper <drepper@redhat.com>
26156 H.J. Lu <hongjiu.lu@intel.com>
26157
26158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26159 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26160 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26161 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26162 _mm_alignr_epi8 with _mm_loadu_si128.
26163 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26164 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26165 (__m128i_shift_right): Removed.
26166 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26167 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26168 * sysdeps/x86_64/multiarch/varshift.h: New file.
26169 * sysdeps/x86_64/multiarch/varshift.S: New file.
26170
84b9230c
MF
261712010-08-21 Mike Frysinger <vapier@gentoo.org>
26172
26173 * configure.in: Move assembler checks to before sysdep dir checking.
26174
9bbd0ddc
PB
261752010-08-20 Petr Baudis <pasky@suse.cz>
26176
26177 * LICENSES: Sync the sunrpc license.
26178
9da4bb31
UD
261792010-08-19 Ulrich Drepper <drepper@redhat.com>
26180
a7ab6ec8
UD
26181 * sunrpc/auth_des.c: Update copyright notice once again.
26182 * sunrpc/auth_none.c: Likewise.
26183 * sunrpc/auth_unix.c: Likewise.
26184 * sunrpc/authdes_prot.c: Likewise.
26185 * sunrpc/authuxprot.c: Likewise.
26186 * sunrpc/bindrsvprt.c: Likewise.
26187 * sunrpc/clnt_gen.c: Likewise.
26188 * sunrpc/clnt_perr.c: Likewise.
26189 * sunrpc/clnt_raw.c: Likewise.
26190 * sunrpc/clnt_simp.c: Likewise.
26191 * sunrpc/clnt_tcp.c: Likewise.
26192 * sunrpc/clnt_udp.c: Likewise.
26193 * sunrpc/clnt_unix.c: Likewise.
26194 * sunrpc/des_crypt.c: Likewise.
26195 * sunrpc/des_soft.c: Likewise.
26196 * sunrpc/get_myaddr.c: Likewise.
26197 * sunrpc/getrpcport.c: Likewise.
26198 * sunrpc/key_call.c: Likewise.
26199 * sunrpc/key_prot.c: Likewise.
26200 * sunrpc/openchild.c: Likewise.
26201 * sunrpc/pm_getmaps.c: Likewise.
26202 * sunrpc/pm_getport.c: Likewise.
26203 * sunrpc/pmap_clnt.c: Likewise.
26204 * sunrpc/pmap_prot.c: Likewise.
26205 * sunrpc/pmap_prot2.c: Likewise.
26206 * sunrpc/pmap_rmt.c: Likewise.
26207 * sunrpc/rpc/auth.h: Likewise.
26208 * sunrpc/rpc/auth_unix.h: Likewise.
26209 * sunrpc/rpc/clnt.h: Likewise.
26210 * sunrpc/rpc/des_crypt.h: Likewise.
26211 * sunrpc/rpc/key_prot.h: Likewise.
26212 * sunrpc/rpc/netdb.h: Likewise.
26213 * sunrpc/rpc/pmap_clnt.h: Likewise.
26214 * sunrpc/rpc/pmap_prot.h: Likewise.
26215 * sunrpc/rpc/pmap_rmt.h: Likewise.
26216 * sunrpc/rpc/rpc.h: Likewise.
26217 * sunrpc/rpc/rpc_des.h: Likewise.
26218 * sunrpc/rpc/rpc_msg.h: Likewise.
26219 * sunrpc/rpc/svc.h: Likewise.
26220 * sunrpc/rpc/svc_auth.h: Likewise.
26221 * sunrpc/rpc/types.h: Likewise.
26222 * sunrpc/rpc/xdr.h: Likewise.
26223 * sunrpc/rpc_clntout.c: Likewise.
26224 * sunrpc/rpc_cmsg.c: Likewise.
26225 * sunrpc/rpc_common.c: Likewise.
26226 * sunrpc/rpc_cout.c: Likewise.
26227 * sunrpc/rpc_dtable.c: Likewise.
26228 * sunrpc/rpc_hout.c: Likewise.
26229 * sunrpc/rpc_main.c: Likewise.
26230 * sunrpc/rpc_parse.c: Likewise.
26231 * sunrpc/rpc_parse.h: Likewise.
26232 * sunrpc/rpc_prot.c: Likewise.
26233 * sunrpc/rpc_sample.c: Likewise.
26234 * sunrpc/rpc_scan.c: Likewise.
26235 * sunrpc/rpc_scan.h: Likewise.
26236 * sunrpc/rpc_svcout.c: Likewise.
26237 * sunrpc/rpc_tblout.c: Likewise.
26238 * sunrpc/rpc_util.c: Likewise.
26239 * sunrpc/rpc_util.h: Likewise.
26240 * sunrpc/rpcinfo.c: Likewise.
26241 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26242 * sunrpc/rpcsvc/key_prot.x: Likewise.
26243 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26244 * sunrpc/rpcsvc/mount.x: Likewise.
26245 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26246 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26247 * sunrpc/rpcsvc/rex.x: Likewise.
26248 * sunrpc/rpcsvc/rstat.x: Likewise.
26249 * sunrpc/rpcsvc/rusers.x: Likewise.
26250 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26251 * sunrpc/rpcsvc/spray.x: Likewise.
26252 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26253 * sunrpc/rtime.c: Likewise.
26254 * sunrpc/svc.c: Likewise.
26255 * sunrpc/svc_auth.c: Likewise.
26256 * sunrpc/svc_authux.c: Likewise.
26257 * sunrpc/svc_raw.c: Likewise.
26258 * sunrpc/svc_run.c: Likewise.
26259 * sunrpc/svc_simple.c: Likewise.
26260 * sunrpc/svc_tcp.c: Likewise.
26261 * sunrpc/svc_udp.c: Likewise.
26262 * sunrpc/svc_unix.c: Likewise.
26263 * sunrpc/svcauth_des.c: Likewise.
26264 * sunrpc/xcrypt.c: Likewise.
26265 * sunrpc/xdr.c: Likewise.
26266 * sunrpc/xdr_array.c: Likewise.
26267 * sunrpc/xdr_float.c: Likewise.
26268 * sunrpc/xdr_mem.c: Likewise.
26269 * sunrpc/xdr_rec.c: Likewise.
26270 * sunrpc/xdr_ref.c: Likewise.
26271 * sunrpc/xdr_sizeof.c: Likewise.
26272 * sunrpc/xdr_stdio.c: Likewise.
26273
9da4bb31
UD
26274 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26275 handling.
26276
bdaa77bc
AS
262772010-08-19 Andreas Schwab <schwab@redhat.com>
26278
26279 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26280
fe2f79db
LM
262812010-08-19 Luis Machado <luisgpm@br.ibm.com>
26282
26283 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26284 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26285 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26286 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26287 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26288 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26289 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26290 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26291 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26292 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26293 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26295 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26296 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26297
b9b42ee0
AB
262982010-07-26 Anton Blanchard <anton@samba.org>
26299
26300 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26301 * malloc/arena.c (heap_trim): Likewise.
26302
1c06ba31
UD
263032010-08-16 Ulrich Drepper <drepper@redhat.com>
26304
26305 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26306 here. Not...
26307 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26308 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26309
f8392f40
L
263102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26311
26312 * sysdeps/i386/elf/Makefile: New file.
26313
3162f12e
AS
263142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26315
26316 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26317 from fanotify_init.
26318 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26319 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26320
28c90b2c
UD
263212010-08-15 Ulrich Drepper <drepper@redhat.com>
26322
26323 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26324 of strncasecmp_l.
1feccb6c 26325 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26326
ca6bb004
UD
263272010-08-14 Ulrich Drepper <drepper@redhat.com>
26328
e9f82e0d
UD
26329 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26330 strncase_l-nonascii.
26331 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26332 Add strncase_l-ssse3.
26333 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26334 * sysdeps/x86_64/strcmp.S: Likewise.
26335 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26336 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26337 * sysdeps/x86_64/strncase.S: New file.
26338 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26339 * sysdeps/x86_64/strncase_l.S: New file.
26340 * string/Makefile (strop-tests): Add strncasecmp.
26341 * string/test-strncasecmp.c: New file.
26342
26343 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26344 warning.
26345
ca6bb004
UD
26346 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26348
052fa7b3
AS
263492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26350
26351 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26352
962dba78
UD
263532010-08-12 Ulrich Drepper <drepper@redhat.com>
26354
26355 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26357 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26358
bebff237
AM
263592010-05-01 Alan Modra <amodra@gmail.com>
26360
26361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26362 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26363 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26364 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26365 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26366 tidying. Don't tail-call __sigjmp_save for static lib.
26367 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26368 save location.
26369 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26370 (CALL_MCOUNT): Add eh info, and nop after bl.
26371 (TAIL_CALL_SYSCALL_ERROR): New macro.
26372 (PSEUDO_RET): Use it.
26373 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26374 Correct save location of integer regs and cr.
26375 (_dl_profile_resolve): Correct cr save location. Delete nops
26376 after bl when SHARED. Reduce cfi size a little by better
26377 placement of cfi directives.
26378 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26379 make a stack frame. Instead use parm save area as a temp.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26381 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26383 Don't make a stack frame for parent, use parm save area.
26384 Increase child stack frame to 112 bytes. Don't save unused reg,
26385 and adjust reg usage. Set up cfi on error recovery and
26386 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26388 (__makecontext): Add dummy nop after jump to exit.
26389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26390 Use correct parm save area and cr save, reduce stack frame.
26391 Correct cfi for possible PSEUDO_RET frame setup.
26392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26393 Branch to local label emitted by PSEUDO_RET rather than
26394 __syscall_error.
26395
02637374
AS
263962010-08-12 Andreas Schwab <schwab@redhat.com>
26397
26398 [BZ #11904]
26399 * locale/programs/locale.c (print_assignment): New function.
26400 (show_locale_vars): Use it.
26401
c3e2f19b
UD
264022010-08-11 Ulrich Drepper <drepper@redhat.com>
26403
3cdaa6ad
UD
26404 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26405 field.
26406 (struct statfs64): Likewise.
26407 (_STATFS_F_FLAGS): Define.
26408 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26409 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26410 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26411 (ST_VALID): Define locally.
26412 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26413 __statvfs_getflags, use the provided value.
26414 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26415 __ASSUME_STATFS_F_FLAGS.
26416
754f7da3
UD
26417 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26418
10b3bedc
UD
26419 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26420 Add sys/fanotify.h.
26421 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26422 fanotify_mask for GLIBC_2.13.
26423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26424 fanotify_init and fanotify_mark.
26425 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26426 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26427
c08fb0d7
UD
26428 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26429 Add prlimit.
26430 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26431 prlimit64 for GLIBC_2.13.
26432 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26433 prlimit64.
26434 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26435 syscall.
26436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26437 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26438 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26439 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26441 add prlimit alias.
26442 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26443
15bac72b
UD
26444 [BZ #11903]
26445 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26446 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26447
c3e2f19b
UD
26448 * nss/Makefile: Add rules to build and run tst-nss-test1.
26449 * shlib-versions: Add entry for libnss_test1.
26450 * nss/nss_test1.c: New file.
26451 * nss/tst-nss-test1.c: New file.
26452
26453 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26454 (__nss_configure_lookup): Set appropriate entry in
26455 __nss_configure_lookup to true.
26456 * nss/nsswitch.h: Define enum with indeces of databases in
26457 databases and __nss_database_custom arrays. Declare
26458 __nss_database_custom.
26459 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26460 to avoid using nscd when custom rules are installed.
26461 * nss/getXXbyYY_r.c: Likewise.
26462 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26463
26464 * nss/nss_files/files-parse.c: Whitespace fixes.
26465
f15ce4d8
UD
264662010-08-09 Ulrich Drepper <drepper@redhat.com>
26467
26468 [BZ #11883]
26469 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26470 * posix/fnmatch_loop.c: Likewise.
26471
d22e4cc9
AK
264722010-07-17 Andi Kleen <ak@linux.intel.com>
26473
26474 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26475 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26476 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26477 * Versions.def [GLIBC_2.13]: Add.
26478
805bc17d
UD
264792010-08-06 Ulrich Drepper <drepper@redhat.com>
26480
26481 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26482 Also fail if tpwd after pwuid call is NULL.
26483
5a42321d
ST
264842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26485
26486 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26487 when converting to ms.
26488
fd3ebeda
ST
264892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26490
26491 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26492 EOPNOTSUPP errors with ENOTTY.
26493 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26494 EOPNOTSUPP errors with ENOTTY.
26495
73507d3a
UD
264962010-07-31 Ulrich Drepper <drepper@redhat.com>
26497
26498 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26499 Add strcasecmp_l-ssse3.
26500 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26501 strcasecmp.
26502 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26503 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26505
fe36dd02
UD
265062010-07-30 Ulrich Drepper <drepper@redhat.com>
26507
66f6765a
UD
26508 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26509
42e08a54
UD
26510 * string/Makefile (strop-tests): Add strcasecmp.
26511 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26512 strcasecmp_l-nonascii.
26513 (gen-as-const-headers): Add locale-defines.sym.
26514 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26515 * sysdeps/x86_64/strcasecmp.S: New file.
26516 * sysdeps/x86_64/strcasecmp_l.S: New file.
26517 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26518 * sysdeps/x86_64/locale-defines.sym: New file.
26519 * string/test-strcasecmp.c: New file.
26520
fe36dd02
UD
26521 * string/test-strcasestr.c: Test both ends of the range of characters.
26522 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26523
48cbc0d6
RM
265242010-07-29 Roland McGrath <roland@redhat.com>
26525
76e6d6bc 26526 [BZ #11856]
48cbc0d6
RM
26527 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26528
880113d9
UD
265292010-07-27 Ulrich Drepper <drepper@redhat.com>
26530
26531 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26532 for ld.so.
26533
deb9cabb
AS
265342010-07-27 Andreas Schwab <schwab@redhat.com>
26535
26536 * manual/memory.texi (Malloc Tunable Parameters): Document
26537 M_PERTURB.
26538
1c7570ff
RM
265392010-07-26 Roland McGrath <roland@redhat.com>
26540
26541 [BZ #11840]
26542 * configure.in (-fgnu89-inline check): Set and substitute
26543 gnu89_inline, not libc_cv_gnu89_inline.
26544 * configure: Regenerated.
26545 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26546
24fb0f88
UD
265472010-07-26 Ulrich Drepper <drepper@redhat.com>
26548
26549 * string/test-strnlen.c: New file.
26550 * string/Makefile (strop-tests): Add strnlen.
26551 * string/tester.c (test_strnlen): Add a few more test cases.
26552 * string/tst-strlen.c: Better error reporting.
26553
26554 * sysdeps/x86_64/strnlen.S: New file.
26555
8e96b93a
UD
265562010-07-24 Ulrich Drepper <drepper@redhat.com>
26557
26558 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26559 lower-latency instructions.
26560
dbc676d4
UD
265612010-07-23 Ulrich Drepper <drepper@redhat.com>
26562
26563 * string/test-strcasestr.c: New file.
26564 * string/test-strstr.c: New file.
26565 * string/Makefile (strop-tests): Add strstr and strcasestr.
26566 * string/str-two-way.h: Don't undefine MAX.
26567 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26568
f6a31e0e
AS
265692010-07-21 Andreas Schwab <schwab@redhat.com>
26570
26571 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26572 strcasestr-nonascii.
26573 (CFLAGS-strcasestr-nonascii.c): Define.
26574 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26575 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26576 Remove unused attribute.
26577
5dbc3b6c
RM
265782010-07-20 Roland McGrath <roland@redhat.com>
26579
26580 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26581 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26582 ld.so.cache was broken. With it, there is no way to disable dsocaps
26583 like LD_HWCAP_MASK can disable hwcaps.
26584
23d101d8
EPM
265852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26586
26587 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26588
cc9f2e47
UD
265892010-07-16 Ulrich Drepper <drepper@redhat.com>
26590
26591 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26592 call in strcasestr.
26593 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26594 __strcasestr_sse42_nonascii.
26595 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26596 strcasestr-nonascii.c.
26597 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26598
77c1b069
LM
265992010-06-15 Luis Machado <luisgpm@br.ibm.com>
26600
26601 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26602 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26603 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26604 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26605
440566c3
UD
266062010-07-09 Ulrich Drepper <drepper@redhat.com>
26607
26608 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26609 fcntl.
26610
5be9d05d
AS
266112010-07-06 Andreas Schwab <schwab@redhat.com>
26612
c30b7ee2 26613 [BZ #11577]
5be9d05d
AS
26614 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26615 dl_signal_cerror.
26616
8a492a67
UD
266172010-07-06 Ulrich Drepper <drepper@redhat.com>
26618
26619 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26620 _PC_PIPE_BUF using F_GETPIPE_SZ.
26621
713df3d5
RM
266222010-07-05 Roland McGrath <roland@redhat.com>
26623
26624 * manual/arith.texi (Rounding Functions): Fix rint description
26625 implicit in round description.
26626
702e8f14
UD
266272010-07-02 Ulrich Drepper <drepper@redhat.com>
26628
26629 * elf/Makefile: Fix linking for a few tests to make recent linker
26630 happy.
26631
52ed8be9
AS
266322010-06-30 Andreas Schwab <schwab@redhat.com>
26633
26634 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26635 $(common-objpfx)libc_nonshared.a.
26636
f47c9a11
LM
266372010-06-21 Luis Machado <luisgpm@br.ibm.com>
26638
26639 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26640 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26641 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26642 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26643 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26644 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26646 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26661 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26662 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26663 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26664 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26665 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26666 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26667 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26668 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26669 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26670 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26671 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26672 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26687
6fb8cbcb
L
266882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26689
26690 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26691 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26692 * string/memmove.c (memmove): Renamed to ...
26693 (MEMMOVE): ...this. Default to memmove.
26694 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26695 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26696 (END_CHK): Define.
26697 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26698 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26699 mempcpy-ssse3-back memmove-ssse3-back.
26700 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26701 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26702 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26703 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26704 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26705 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26706 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26707 * sysdeps/x86_64/multiarch/memmove.c: New file.
26708 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26709 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26710 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26711 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26712 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26713 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26714 Define.
26715 (index_Fast_Copy_Backward): Define.
26716 (HAS_ARCH_FEATURE): Define.
26717 (HAS_FAST_REP_STRING): Define.
26718 (HAS_FAST_COPY_BACKWARD): Define.
26719
4e733bac 267202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26721
26722 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26723 Restore proper fallback handling.
26724
63c4ed22
UD
267252010-06-19 Ulrich Drepper <drepper@redhat.com>
26726
ac2b484c
UD
26727 [BZ #11701]
26728 * posix/group_member.c (__group_member): Correct checking loop.
26729
63c4ed22
UD
26730 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26731 OOM in getpwuid_r correctly. Return error number when the caller
26732 should return, otherwise -1.
26733 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26734 call returning > 0 value.
26735 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26736
765ade4b
AS
267372010-06-07 Andreas Schwab <schwab@redhat.com>
26738
26739 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26740 libc_nonshared.a from targets in modules-names.
26741
80da2e09
KS
267422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26743
26744 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26745 requires it.
26746
158db122
LM
267472010-06-10 Luis Machado <luisgpm@br.ibm.com>
26748
26749 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26750 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26751 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26752 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26753
caa78cf8
AS
267542010-06-02 Andreas Schwab <schwab@redhat.com>
26755
26756 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26757
b2ef2c01
UD
267582010-06-14 Ulrich Drepper <drepper@redhat.com>
26759
26760 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26761 and F_GETPIPE_SZ.
26762 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26764 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26765 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26766 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26767 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26768
fbd643b6
RM
267692010-06-14 Roland McGrath <roland@redhat.com>
26770
26771 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26772
f32f2869
JJ
267732010-06-07 Jakub Jelinek <jakub@redhat.com>
26774
26775 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26776 __REDIRECT followed by __THROW.
26777 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26778 * posix/getopt.h (getopt): Likewise.
26779
2a50c078
EPM
267802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26781
26782 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26783 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26784 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26785 in AT_FLAGS.
26786 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26787 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26788
eb5ad2eb
LM
267892010-05-28 Luis Machado <luisgpm@br.ibm.com>
26790
26791 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26792
3c88fe1e
L
267932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 [BZ #11640]
26796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26797 Properly check family and model.
26798
d2f73151
TY
267992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26800
26801 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26802
ebd2e13d
LM
268032010-05-24 Luis Machado <luisgpm@br.ibm.com>
26804
26805 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26806
b32b8b45
UD
268072010-05-21 Ulrich Drepper <drepper@redhat.com>
26808
26809 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26810 symbol reference.
26811
9acbe24d
AS
268122010-05-19 Andreas Schwab <schwab@redhat.com>
26813
26814 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26815 symbol reference.
26816
f0ccf6ea
AS
268172010-05-21 Andreas Schwab <schwab@redhat.com>
26818
3d04ff3a
AS
26819 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26820 and internal_recvmmsg.
26821 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26823 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26824 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26825
f0ccf6ea
AS
26826 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26827 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26828 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26829
5b08ac57
AS
268302010-05-20 Andreas Schwab <schwab@redhat.com>
26831
26832 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26833
4828935d
LM
268342010-05-17 Luis Machado <luisgpm@br.ibm.com>
26835
26836 POWER7 optimizations.
26837 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26838 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26839
373d545e
UD
268402010-05-19 Ulrich Drepper <drepper@redhat.com>
26841
26842 * version.h: Update for 2.13 development version.
26843
21a2b1ae
AS
268442010-05-12 Andrew Stubbs <ams@codesourcery.com>
26845
26846 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26847 exceptions. Return 0.
26848
3f7dcb2b
RM
268492010-05-07 Roland McGrath <roland@redhat.com>
26850
26851 * elf/ldconfig.c (main): Add a const.
26852
5f24d53a 268532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26854
a160f8d8
UD
26855 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26856 (args_options): Add no-idn option.
26857 (ahosts_keys_int): Add idn_flags to ai_flags.
26858 (parse_option): Handle 'i' option to clear idn_flags.
26859
5f24d53a
UD
26860 * malloc/malloc.c (_int_free): Possible race in the most recently
26861 added check. Only act on the data if no current modification
26862 happened.
265bb1ce
UD
26863
26864See ChangeLog.17 for earlier changes.