]> sourceware.org Git - glibc.git/blame - ChangeLog
Consolidate copies of mp code in powerpc
[glibc.git] / ChangeLog
CommitLineData
6d9145d8
SP
12013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
11
4dd4e157
AJ
122013-03-07 Andreas Jaeger <aj@suse.de>
13
14 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15 bits/mman-linux.h.
16
adbb8027
SP
172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18
ce544b5b
SP
19 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20 Include mpa.h and declare __MPEXP.
21 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
22 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
24 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28
4cc149fd
SP
29 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30 (__slowpow): Use long double EXPL and LOGL functions to
31 compute POW.
32 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
36 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
37 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38
e6ebd4a7
SP
39 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
40 intermediate variable to calculate exponent.
41 (__sqr): Likewise.
42 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
43 Likewise.
44 (__sqr): Likewise.
45
82a9811d
SP
46 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
47 [!NO__SQR]: Define __sqr.
48 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
49 and NO__SQR. Remove all code except __mul and __sqr. Include
50 sysdeps/ieee754/dbl-64/mpa.c.
51 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52
adbb8027
SP
53 [BZ #12723]
54 * posix/Makefile (tests): Add tst-pathconf.
55 * posix/tst-pathconf.c: New test case.
56 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
57 _PC_PIPE_BUF.
58 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59
39120df9
PF
602013-03-06 Patsy Franklin <pfrankli@redhat.com>
61
62 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
63
67525cb8
AJ
642013-03-06 Andreas Jaeger <aj@suse.de>
65
664a9ce4
AJ
66 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
67 definition via __MAP_ANONYMOUS.
68
8e39047d
AJ
69 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
70 it's not part of Linux headers.
71
67525cb8
AJ
72 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
73 (MAP_HUGE_MASK): Define.
74
75 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
76 Define.
77 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
78 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
79 Define.
80 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
81 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
82 Define.
83 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
84 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
85 Define.
86 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
87
88 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
89 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
90 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
91 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
92 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
93 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
94
95 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
96 Handle f2fs.
97
98 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
99 Handle f2fs and efivarfs.
100
101 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
102 f2fs.
103
104 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
105 (EFIVARFS_MAGIC): Add.
106 (F2FS_LINK_MAX): Add.
107
e1b42695
PP
1082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
109
110 * stdio-common/vfprintf.c: Replace __builtin_expect with
111 __glibc_unlikely.
112
2d67d91a
JM
1132013-03-06 Joseph Myers <joseph@codesourcery.com>
114
115 [BZ #13550]
116 * sysdeps/generic/bp-sym.h: Remove file.
117 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
118 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
119 <bp-sym.h> and <bp-asm.h>.
120 (__longjmp): Don't use BP_SYM.
121 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
122 and <bp-asm.h>.
123 (memcpy): Don't use BP_SYM.
124 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
125 <bp-sym.h> and <bp-asm.h>.
126 (memcpy): Don't use BP_SYM.
127 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
128 <bp-asm.h>.
129 (memcpy): Don't use BP_SYM.
130 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
131 <bp-asm.h>.
132 (memset): Don't use BP_SYM.
133 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
134 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
135 (__bzero): Don't use BP_SYM.
136 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
137 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
138 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
139 <bp-sym.h> and <bp-asm.h>.
140 (memcmp): Don't use BP_SYM. Remove comment about bounded
141 pointers.
142 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
143 <bp-sym.h> and <bp-asm.h>.
144 (memcpy): Don't use BP_SYM.
145 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
146 <bp-sym.h> and <bp-asm.h>.
147 (memset): Don't use BP_SYM.
148 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
149 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
150 (__bzero): Don't use BP_SYM.
151 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
152 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
153 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
154 <bp-sym.h> and <bp-asm.h>.
155 (strncmp): Don't use BP_SYM. Remove comment about bounded
156 pointers.
157 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
158 <bp-sym.h> and <bp-asm.h>.
159 (memcpy): Don't use BP_SYM.
160 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
161 <bp-sym.h> and <bp-asm.h>.
162 (memset): Don't use BP_SYM.
163 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
164 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
165 (__bzero): Don't use BP_SYM.
166 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
167 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
168 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
169 <bp-sym.h> and <bp-asm.h>.
170 (__memchr): Don't use BP_SYM.
171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
172 <bp-sym.h> and <bp-asm.h>.
173 (memcmp): Don't use BP_SYM. Remove comment about bounded
174 pointers.
175 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
176 <bp-sym.h> and <bp-asm.h>.
177 (memcpy): Don't use BP_SYM.
178 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
179 <bp-sym.h> and <bp-asm.h>.
180 (__mempcpy): Don't use BP_SYM.
181 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
182 <bp-sym.h> and <bp-asm.h>.
183 (__memrchr): Don't use BP_SYM.
184 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
185 <bp-sym.h> and <bp-asm.h>.
186 (memset): Don't use BP_SYM.
187 (__bzero): Likewise.
188 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
189 <bp-sym.h> and <bp-asm.h>.
190 (__rawmemchr): Don't use BP_SYM.
191 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
192 <bp-sym.h> and <bp-asm.h>.
193 (__STRCMP): Don't use BP_SYM.
194 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
195 <bp-sym.h> and <bp-asm.h>.
196 (strchr): Don't use BP_SYM.
197 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
198 <bp-sym.h> and <bp-asm.h>.
199 (__strchrnul): Don't use BP_SYM.
200 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
201 <bp-sym.h> and <bp-asm.h>.
202 (strlen): Don't use BP_SYM.
203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
204 <bp-sym.h> and <bp-asm.h>.
205 (strncmp): Don't use BP_SYM. Remove comment about bounded
206 pointers.
207 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
208 <bp-sym.h> and <bp-asm.h>.
209 (__strnlen): Don't use BP_SYM.
210 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
211 <bp-sym.h> and <bp-asm.h>.
212 (__GI__setjmp): Don't use BP_SYM.
213 (_setjmp): Likewise.
214 (__sigsetjmp): Likewise.
215 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
216 (L(start_addresses)): Don't use BP_SYM.
217 (_start): Likewise.
218 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
219 <bp-asm.h>.
220 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
221 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
222 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
223 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
224 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
225 <bp-asm.h>.
226 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
227 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
228 about bounded pointers.
229 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
230 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
231 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
232 <bp-asm.h>.
233 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
234 about bounded pointers. Remove GKM FIXME comments.
235 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
236 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
237 <bp-asm.h>.
238 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
239 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
240 Remove GKM FIXME comments.
241 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
242 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
243 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
244 <bp-asm.h>.
245 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
246 about bounded pointers. Remove GKM FIXME comment.
247 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
248 and <bp-asm.h>.
249 (strncmp): Don't use BP_SYM. Remove comment about bounded
250 pointers.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
252 <bp-sym.h> and <bp-asm.h>.
253 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
255 <bp-sym.h> and <bp-asm.h>.
256 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
257 comment.
258
cdcf361f
PP
2592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
260
261 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
262 call free(NULL).
263
3c4a2b15
DM
2642013-03-05 David S. Miller <davem@davemloft.net>
265
266 * po/es.po: Update from translation team.
267
cdcf361f 2682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
269
270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
271 <bits/mman-linux.h>.
272 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
273 is fine.
274 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
275 <bits/mman-linux.h> to end of file.
276 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
277 is fine.
278 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
279 <bits/mman-linux.h> to end of file.
280 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
281 is fine.
282 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
283 <bits/mman-linux.h> to end of file.
284
285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
286 (MCL_CURRENT, MCL_FUTURE): Define here.
287
5f67c04f
AK
2882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
289
8a4473cc 290 [BZ #15232]
5f67c04f
AK
291 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
292 attribute_hidden.
293 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
294
c3e94a95
AK
2952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
296
297 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
298 fourth parameter needed for rt_sigprocmask syscall.
299 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
300 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
301 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
302 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
303 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
304 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
305
cfb6382a
JM
3062013-03-04 Joseph Myers <joseph@codesourcery.com>
307
308 [BZ #13550]
309 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
310 comment about bounded pointers.
311 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
312 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
313
539d8e01
AJ
3142013-03-04 Andreas Jaeger <aj@suse.de>
315
316 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
317 common definitions.
318
319 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
320 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
321 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
322 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
323 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
324 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
325
2e167a70 3262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
327
328 [BZ #15055]
329 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
330 __ieee754_sqrl instead of __sqrl.
331
68508633
JM
3322013-03-01 Joseph Myers <joseph@codesourcery.com>
333
334 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
335 * sysdeps/powerpc/fpu_control.h: ... here.
336 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
337 * sysdeps/powerpc/bits/fenvinline.h: ... here.
338 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
339 * sysdeps/powerpc/bits/mathinline.h: ... here.
340
7775448e
RM
3412013-03-01 Roland McGrath <roland@hack.frob.com>
342
343 * elf/dl-hwcaps.c (_dl_important_hwcaps):
344 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
345 to just [NEED_DL_SYSINFO_DSO].
346 * elf/dl-support.c: Likewise.
347 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
348 * elf/rtld.c (dl_main): Likewise.
349 * elf/setup-vdso.h (setup_vdso): Likewise.
350 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
351 * sysdeps/unix/sysv/linux/dl-sysdep.c
352 (_dl_discover_osversion): Likewise.
353
4e9b5995
CD
3542013-03-01 Carlos O'Donell <carlos@redhat.com>
355
356 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
357 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
358
e23872c8
SP
3592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
360
e5c74c63
SP
361 * NEWS: Mention libm performance improvements and non-x86 PI
362 futex support.
363
e23872c8
SP
364 * csu/libc-start.c (__pthread_initialize_minimal): Change
365 function arguments.
366 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
367
b5510883
JM
3682013-02-28 Joseph Myers <joseph@codesourcery.com>
369
370 [BZ #13550]
371 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
372 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
373 <bp-sym.h> and <bp-asm.h>.
374 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
375 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
376 and <bp-asm.h>.
377 (memcpy): Don't use BP_SYM.
378 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
379 <bp-asm.h>.
380 (__mpn_add_n): Don't use BP_SYM.
381 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
382 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
383 and <bp-asm.h>.
384 (__mpn_addmul_1): Don't use BP_SYM.
385 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
386 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
387 <bp-sym.h>.
388 (_setjmp): Don't use BP_SYM.
389 (__novmx_setjmp): Likewise.
390 (__GI__setjmp): Likewise.
391 (__vmx_setjmp): Likewise.
392 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
393 <bp-sym.h>.
394 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
395 (__bzero): Don't use BP_SYM.
396 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
397 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
398 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
399 <bp-sym.h> and <bp-asm.h>.
400 (memcpy): Don't use BP_SYM.
401 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
402 <bp-sym.h> and <bp-asm.h>.
403 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
405 <bp-sym.h> and <bp-asm.h>.
406 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
407 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
408 <bp-asm.h>.
409 (__mpn_lshift): Don't use BP_SYM.
410 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
411 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
412 <bp-asm.h>.
413 (memset): Don't use BP_SYM.
414 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
415 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
416 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
417 <bp-asm.h>.
418 (__mpn_mul_1): Don't use BP_SYM.
419 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
421 <bp-sym.h> and <bp-asm.h>.
422 (memcmp): Don't use BP_SYM.
423 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
424 <bp-sym.h> and <bp-asm.h>.
425 (memcpy): Don't use BP_SYM.
426 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
427 <bp-sym.h> and <bp-asm.h>.
428 (memset): Don't use BP_SYM.
429 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
430 <bp-sym.h> and <bp-asm.h>.
431 (strncmp): Don't use BP_SYM.
432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
433 <bp-sym.h> and <bp-asm.h>.
434 (memcpy): Don't use BP_SYM.
435 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
436 <bp-sym.h> and <bp-asm.h>.
437 (memset): Don't use BP_SYM.
438 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
439 <bp-sym.h> and <bp-asm.h>.
440 (__memchr): Don't use BP_SYM.
441 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
442 <bp-sym.h> and <bp-asm.h>.
443 (memcmp): Don't use BP_SYM.
444 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
445 <bp-sym.h> and <bp-asm.h>.
446 (memcpy): Don't use BP_SYM.
447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
448 <bp-sym.h> and <bp-asm.h>.
449 (__mempcpy): Don't use BP_SYM.
450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
451 <bp-sym.h> and <bp-asm.h>.
452 (__memrchr): Don't use BP_SYM.
453 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
454 <bp-sym.h> and <bp-asm.h>.
455 (memset): Don't use BP_SYM.
456 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
457 <bp-sym.h> and <bp-asm.h>.
458 (__rawmemchr): Don't use BP_SYM.
459 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
460 <bp-sym.h> and <bp-asm.h>.
461 (__STRCMP): Don't use BP_SYM.
462 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
463 <bp-sym.h> and <bp-asm.h>.
464 (strchr): Don't use BP_SYM.
465 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
466 <bp-sym.h> and <bp-asm.h>.
467 (__strchrnul): Don't use BP_SYM.
468 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
469 <bp-sym.h> and <bp-asm.h>.
470 (strlen): Don't use BP_SYM.
471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
472 <bp-sym.h> and <bp-asm.h>.
473 (strncmp): Don't use BP_SYM.
474 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
475 <bp-sym.h> and <bp-asm.h>.
476 (__strnlen): Don't use BP_SYM.
477 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
478 <bp-asm.h>.
479 (__mpn_rshift): Don't use BP_SYM.
480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
481 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
482 <bp-sym.h> and <bp-asm.h>.
483 (__sigsetjmp): Don't use BP_SYM.
484 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
485 (L(start_addresses)): Don't use BP_SYM.
486 (_start): Likewise.
487 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
488 <bp-asm.h>.
489 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
490 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
491 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
492 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
493 <bp-asm.h>.
494 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
495 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
496 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
497 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
498 <bp-asm.h>.
499 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
500 comments.
501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
502 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
503 <bp-asm.h>.
504 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
505 FIXME comments.
506 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
507 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
508 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
509 <bp-asm.h>.
510 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
511 comment.
512 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
513 and <bp-asm.h>.
514 (strncmp): Don't use BP_SYM,
515 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
516 <bp-asm.h>.
517 (__mpn_sub_n): Don't use BP_SYM.
518 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
519 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
520 and <bp-asm.h>.
521 (__mpn_submul_1): Don't use BP_SYM.
522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
524 <bp-sym.h> and <bp-asm.h>.
525 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
527 <bp-sym.h> and <bp-asm.h>.
528 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
529 comment.
530
8d19fe64
SP
5312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
532
533 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
534 Use ZK to minimize writes to Z.
535 (sub_magnitudes): Simplify code a bit.
536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
537 Use ZK to minimize writes to Z.
538 (sub_magnitudes): Simplify code a bit.
539
85bd816a
RM
5402013-02-27 Roland McGrath <roland@hack.frob.com>
541
542 * csu/gmon-start.c: Add special exception to license text.
543
b5977bf2
RH
5442013-02-27 Richard Henderson <rth@redhat.com>
545
546 * scripts/config.guess: Update from config.git.
547 * scripts/config.sub: Likewise.
548
11d6e2f2
SP
5492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
550
09c14ed2
SP
551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
552
a688864e
SP
553 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
554
6295157a
SP
555 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
556
b8de2202
SP
557 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
558
11d6e2f2
SP
559 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
560
7e80ddb8
RM
5612013-02-26 Roland McGrath <roland@hack.frob.com>
562
563 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
564 [$(build-shared = yes].
7e80ddb8 565
7da6d9ed
SP
5662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
567
45f05884
SP
568 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
569 (__mul): Reduce iterations for calculating mantissa.
570
2236d359
SP
571 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
572 MPTWO.
573 (__mpranred): Likewise.
574
7da6d9ed
SP
575 [BZ #15160]
576 * malloc/memusagestat.c (main): Draw graphs for heap and stack
577 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
578
b7688c42
PE
5792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
580
581 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
582 Define __attribute__.
583
53a5c423
SP
5842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
585
586 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
587 unused.
588 * posix/regex_internal.h (__attribute): Remove.
589 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
590 (re_string_context_at): Likewise.
591 (bitset_not): Use __attribute__ and mark function as possibly
592 unused.
593 (bitset_merge): Likewise.
594 (bitset_mask): Likewise.
595 (re_string_char_size_at): Likewise.
596 (re_string_wchar_at): Likewise.
597 (re_string_elem_size_at): Likewise.
598
60f5a8b5
SP
5992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
600
2a983a2e
SP
601 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
602 code.
603 (cc32): Likewise.
604
e69804d1
SP
605 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
606 (__acr): Likewise.
607 (__cpy): Likewise.
608 (norm): Likewise.
609 (denorm): Likewise.
610 (__dbl_mp): Likewise.
611 (add_magnitudes): Likewise.
612 (sub_magnitudes): Likewise.
613 (__mul): Likewise.
614 (__inv): Likewise.
615
2f22a1e8
SP
616 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
617 style.
618
8930ddc7
SP
619 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
620 style.
621
dc60cb11
SP
622 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
623 code.
624
60f5a8b5
SP
625 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
626 up changes with default code.
627 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
628 Likewise.
629
b4d1fd33
AM
6302013-02-24 Allan McRae <allan@archlinux.org>
631
faf6f8bc
AM
632 * manual/socket.texi (The Internet Namespace): Order menu items
633 to match that in the file.
634
b4d1fd33
AM
635 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
636 node listing of the info page menu.
637
2366713d
JM
6382013-02-21 Joseph Myers <joseph@codesourcery.com>
639
640 [BZ #13550]
641 * sysdeps/i386/bp-asm.h: Remove file.
642 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
643 (PARMS): Do not use macros from bp-asm.h.
644 (S1): Likewise.
645 (S2): Likewise.
646 (SIZE): Likewise.
647 (__mpn_add_n): Do not use BP_SYM
648 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
649 "bp-asm.h".
650 (PARMS): Do not use macros from bp-asm.h.
651 (S1): Likewise.
652 (SIZE): Likewise.
653 (__mpn_addmul_1): Do not use BP_SYM
654 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
655 "bp-asm.h".
656 (PARMS): Do not use macros from bp-asm.h.
657 (SIGMSK): Likewise.
658 (_setjmp): Likewise. Do not use BP_SYM.
659 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
660 "bp-asm.h".
661 (PARMS): Do not use macros from bp-asm.h.
662 (SIGMSK): Likewise.
663 (setjmp): Likewise. Do not use BP_SYM.
664 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
665 "bp-asm.h".
666 (PARMS): Do not use macros from bp-asm.h.
667 (__frexp): Do not use BP_SYM.
668 (frexp): Likewise.
669 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
670 "bp-asm.h".
671 (PARMS): Do not use macros from bp-asm.h.
672 (__frexpf): Do not use BP_SYM.
673 (frexpf): Likewise.
674 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
675 "bp-asm.h".
676 (PARMS): Do not use macros from bp-asm.h.
677 (__frexpl): Do not use BP_SYM.
678 (frexpl): Likewise.
679 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
680 "bp-asm.h".
681 (PARMS): Do not use macros from bp-asm.h.
682 (__remquo): Do not use BP_SYM.
683 (remquo): Likewise.
684 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
685 "bp-asm.h".
686 (PARMS): Do not use macros from bp-asm.h.
687 (__remquof): Do not use BP_SYM.
688 (remquof): Likewise.
689 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
690 "bp-asm.h".
691 (PARMS): Do not use macros from bp-asm.h.
692 (__remquol): Do not use BP_SYM.
693 (remquol): Likewise.
694 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
695 "bp-asm.h".
696 (PARMS): Do not use macros from bp-asm.h.
697 (DEST): Likewise.
698 (SRC): Likewise.
699 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
700 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
701 "bp-asm.h".
702 (PARMS): Do not use macros from bp-asm.h.
703 (strlen): Do not use BP_SYM.
704 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
705 "bp-asm.h".
706 (PARMS): Do not use macros from bp-asm.h.
707 (S1): Likewise.
708 (S2): Likewise.
709 (SIZE): Likewise.
710 (__mpn_add_n): Do not use BP_SYM.
711 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
712 "bp-asm.h".
713 (PARMS): Do not use macros from bp-asm.h.
714 (S1): Likewise.
715 (SIZE): Likewise.
716 (__mpn_addmul_1): Do not use BP_SYM.
717 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
718 weak_alias.
719 (bzero): Likewise.
720 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
721 "bp-asm.h".
722 (PARMS): Do not use macros from bp-asm.h.
723 (S): Likewise.
724 (SIZE): Likewise.
725 (__mpn_lshift): Do not use BP_SYM.
726 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
727 "bp-asm.h".
728 (PARMS): Do not use macros from bp-asm.h.
729 (DEST): Likewise.
730 (SRC): Likewise.
731 (LEN): Likewise.
732 (memcpy): Likewise. Do not use BP_SYM.
733 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
734 libc_hidden_def and weak_alias.
735 (mempcpy): Do not use BP_SYM in weak_alias.
736 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
737 "bp-asm.h".
738 (PARMS): Do not use macros from bp-asm.h.
739 (DEST): Likewise.
740 (LEN): Likewise.
741 [!BZERO_P] (CHR): Likewise.
742 (memset): Likewise. Do not use BP_SYM.
743 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
744 "bp-asm.h".
745 (PARMS): Do not use macros from bp-asm.h.
746 (S1): Likewise.
747 (SIZE): Likewise.
748 (__mpn_mul_1): Do not use BP_SYM.
749 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
750 "bp-asm.h".
751 (PARMS): Do not use macros from bp-asm.h.
752 (S): Likewise.
753 (SIZE): Likewise.
754 (__mpn_rshift): Do not use BP_SYM.
755 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
756 "bp-asm.h".
757 (PARMS): Do not use macros from bp-asm.h.
758 (STR): Likewise.
759 (CHR): Likewise.
760 (strchr): Likewise. Do not use BP_SYM.
761 (index): Do not use BP_SYM in weak_alias.
762 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
763 "bp-asm.h".
764 (PARMS): Do not use macros from bp-asm.h.
765 (DEST): Likewise.
766 (SRC): Likewise.
767 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
768 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
769 "bp-asm.h".
770 (PARMS): Do not use macros from bp-asm.h.
771 (strlen): Do not use BP_SYM.
772 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
773 "bp-asm.h".
774 (PARMS): Do not use macros from bp-asm.h.
775 (S1): Likewise.
776 (S2): Likewise.
777 (SIZE): Likewise.
778 (__mpn_sub_n): Do not use BP_SYM.
779 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
780 "bp-asm.h".
781 (PARMS): Do not use macros from bp-asm.h.
782 (S1): Likewise.
783 (SIZE): Likewise.
784 (__mpn_submul_1): Do not use BP_SYM.
785 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
786 "bp-asm.h".
787 (PARMS): Do not use macros from bp-asm.h.
788 (S1): Likewise.
789 (S2): Likewise.
790 (SIZE): Likewise.
791 (__mpn_add_n): Do not use BP_SYM.
792 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
793 weak_alias.
794 (bzero): Likewise.
795 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
796 "bp-asm.h".
797 (PARMS): Do not use macros from bp-asm.h.
798 (BLK2): Likewise.
799 (LEN): Likewise.
800 (memcmp): Do not use BP_SYM.
801 (bcmp): Do not use BP_SYM in weak_alias.
802 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
803 "bp-asm.h".
804 (PARMS): Do not use macros from bp-asm.h.
805 (DEST): Likewise.
806 (SRC): Likewise.
807 (LEN): Likewise.
808 (memcpy): Likewise. Do not use BP_SYM.
809 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
810 "bp-asm.h".
811 (PARMS): Do not use macros from bp-asm.h.
812 (DEST): Likewise.
813 (SRC): Likewise.
814 (LEN): Likewise.
815 (memmove): Likewise. Do not use BP_SYM.
816 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
817 "bp-asm.h".
818 (PARMS): Do not use macros from bp-asm.h.
819 (DEST): Likewise.
820 (SRC): Likewise.
821 (LEN): Likewise.
822 (__mempcpy): Likewise. Do not use BP_SYM.
823 (mempcpy): Do not use BP_SYM in weak_alias.
824 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
825 "bp-asm.h".
826 (PARMS): Do not use macros from bp-asm.h.
827 (DEST): Likewise.
828 (LEN): Likewise.
829 [!BZERO_P] (CHR): Likewise.
830 (memset): Likewise. Do not use BP_SYM.
831 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
832 "bp-asm.h".
833 (PARMS): Do not use macros from bp-asm.h.
834 (STR2): Likewise.
835 (strcmp): Do not use BP_SYM.
836 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
837 "bp-asm.h".
838 (PARMS): Do not use macros from bp-asm.h.
839 (STR): Likewise.
840 (DELIM): Likewise.
841 [USE_AS_STRTOK_R] (SAVE): Likewise.
842 (FUNCTION): Likewise. Do not use BP_SYM.
843 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
844 aliases.
845 (strtok_r): Likewise.
846 (__GI___strtok_r): Likewise.
847 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
848 (PARMS): Do not use macros from bp-asm.h.
849 (S): Likewise.
850 (SIZE): Likewise.
851 (__mpn_lshift): Do not use BP_SYM.
852 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
853 (PARMS): Do not use macros from bp-asm.h.
854 (STR): Likewise.
855 (CHR): Likewise.
856 (__memchr): Do not use BP_SYM.
857 (memchr): Do not use BP_SYM in weak_alias.
858 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
859 (PARMS): Do not use macros from bp-asm.h.
860 (BLK2): Likewise.
861 (LEN): Likewise.
862 (memcmp): Do not use BP_SYM.
863 (bcmp): Do not use BP_SYM in weak_alias.
864 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
865 (PARMS): Do not use macros from bp-asm.h.
866 (S1): Likewise.
867 (SIZE): Likewise.
868 (__mpn_mul_1): Do not use BP_SYM.
869 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
870 "bp-asm.h".
871 (PARMS): Do not use macros from bp-asm.h.
872 (STR): Likewise.
873 (CHR): Likewise.
874 (__rawmemchr): Do not use BP_SYM.
875 (rawmemchr): Do not use BP_SYM in weak_alias.
876 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
877 (PARMS): Do not use macros from bp-asm.h.
878 (S): Likewise.
879 (SIZE): Likewise.
880 (__mpn_rshift): Do not use BP_SYM.
881 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
882 (PARMS): Do not use macros from bp-asm.h.
883 (SIGMSK): Likewise.
884 (__sigsetjmp): Likewise. Do not use BP_SYM.
885 * sysdeps/i386/start.S: Do not include "bp-sym.h".
886 (_start): Do not use BP_SYM.
887 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
888 (PARMS): Do not use macros from bp-asm.h.
889 (DEST): Likewise.
890 (SRC): Likewise.
891 (__stpcpy): Likewise. Do not use BP_SYM.
892 (stpcpy): Do not use BP_SYM in weak_alias.
893 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
894 "bp-asm.h".
895 (PARMS): Do not use macros from bp-asm.h.
896 (DEST): Likewise.
897 (SRC): Likewise.
898 (LEN): Likewise.
899 (__stpncpy): Likewise. Do not use BP_SYM.
900 (stpncpy): Do not use BP_SYM in weak_alias.
901 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
902 (PARMS): Do not use macros from bp-asm.h.
903 (STR): Likewise.
904 (CHR): Likewise.
905 (strchr): Likewise. Do not use BP_SYM.
906 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
907 "bp-asm.h".
908 (PARMS): Do not use macros from bp-asm.h.
909 (STR): Likewise.
910 (CHR): Likewise.
911 (__strchrnul): Likewise. Do not use BP_SYM.
912 (strchrnul): Do not use BP_SYM in weak_alias.
913 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
914 "bp-asm.h".
915 (PARMS): Do not use macros from bp-asm.h.
916 (STOP): Likewise.
917 (strcspn): Do not use BP_SYM.
918 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
919 "bp-asm.h".
920 (PARMS): Do not use macros from bp-asm.h.
921 (STR): Likewise.
922 (STOP): Likewise.
923 (strpbrk): Likewise. Do not use BP_SYM.
924 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
925 "bp-asm.h".
926 (PARMS): Do not use macros from bp-asm.h.
927 (STR): Likewise.
928 (CHR): Likewise.
929 (strrchr): Likewise. Do not use BP_SYM.
930 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
931 (PARMS): Do not use macros from bp-asm.h.
932 (SKIP): Likewise.
933 (strspn): Do not use BP_SYM.
934 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
935 (PARMS): Do not use macros from bp-asm.h.
936 (STR): Likewise.
937 (DELIM): Likewise.
938 (SAVE): Likewise.
939 (FUNCTION): Likewise. Do not use BP_SYM.
940 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
941 aliases.
942 (strtok_r): Likewise.
943 (__GI___strtok_r): Likewise.
944 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
945 (PARMS): Do not use macros from bp-asm.h.
946 (S1): Likewise.
947 (S2): Likewise.
948 (SIZE): Likewise.
949 (__mpn_sub_n): Do not use BP_SYM.
950 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
951 "bp-asm.h".
952 (PARMS): Do not use macros from bp-asm.h.
953 (S1): Likewise.
954 (SIZE): Likewise.
955 (__mpn_submul_1): Do not use BP_SYM.
956 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
957 <bp-sym.h>.
958 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
959 and <bp-asm.h>.
960 (PARMS): Do not use macros from bp-asm.h.
961 (FLAGS): Likewise.
962 (PTID): Likewise.
963 (TLS): Likewise.
964 (CTID): Likewise.
965 (__clone): Do not use BP_SYM.
966 (clone): Do not use BP_SYM in weak_alias.
967 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
968 and <bp-asm.h>.
969 (PARMS): Do not use macros from bp-asm.h.
970 (LEN): Likewise.
971 (__mmap64): Do not use BP_SYM.
972 (mmap64): Do not use BP_SYM in weak_alias.
973 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
974 <bp-sym.h> and <bp-asm.h>.
975 (PARMS): Do not use macros from bp-asm.h.
976 (__posix_fadvise64_l64): Do not use BP_SYM.
977 * sysdeps/unix/sysv/linux/i386/semtimedop.S
978 (PARMS): Do not use macros from bp-asm.h.
979 (NSOPS): Likewise.
980 (semtimedop): Do not use BP_SYM.
981 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
982 and <bp-asm.h>.
983
582a3cff
AM
9842013-02-21 Allan McRae <allan@archlinux.org>
985
986 * manual/message.texi (Charset conversion in gettext):
987 Move @end statement to beginning of line.
988
bab8a695
SP
9892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
990
80945231
SP
991 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
992 static.
993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
994 Likewise.
995
bab8a695
SP
996 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
997 (denorm): Likewise.
998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1000
e21d7aa7
AK
10012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1002
1003 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1004 tail-call to the resolved function if pltexit isn't needed.
1005
4c7a4263
SP
10062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1009 or Y being zero as being unlikely.
1010 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1011 Likewise.
1012
41f49342
CD
10132013-02-20 Carlos O'Donell <carlos@redhat.com>
1014
1015 * manual/nss.texi (System Databases and Name Service Switch):
1016 Remove frobnicate @pxref.
1017
50022a93
TS
10182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1019
1020 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1021 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1022
08cbd996
PM
10232013-02-20 Petr Machata <pmachata@redhat.com>
1024
1025 * elf/elf.h (R_ARM_TARGET1): New macro.
1026 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1027 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1028 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1029 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1030 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1031 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1032 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1033 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1034 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1035 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1036 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1037 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1038 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1039 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1040 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1041 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1042 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1043 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1044 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1045 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1046 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1047 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1048 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1049 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1050 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1051 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1052 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1053 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1054 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1055 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1056 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1057 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1058 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1059 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1060 (R_ARM_THM_GOT_BREL12): Likewise.
1061 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1062 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1063 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1064 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1065 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1066 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1067 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1068 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1069 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1070
c7b275d6
TS
10712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1072
1073 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1074 __attribute_used__ to __attribute__ ((unused)).
1075
20cd7fb3
SP
10762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1077
1078 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1079 powerpc mpa.c.
1080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1081 comment formatting.
1082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1083
92945b52
JM
10842013-02-19 Joseph Myers <joseph@codesourcery.com>
1085
1086 [BZ #13550]
1087 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1088 Remove macro.
1089 (ENTER): Remove both macro definitions.
1090 (LEAVE): Likewise.
1091 (CHECK_BOUNDS_LOW): Likewise.
1092 (CHECK_BOUNDS_HIGH): Likewise.
1093 (CHECK_BOUNDS_BOTH): Likewise.
1094 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1095 (RETURN_BOUNDED_POINTER): Likewise.
1096 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1097 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1098 (POP_ERRNO_LOCATION_RETURN): Likewise.
1099 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1100 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1101 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1102 macros.
1103 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1104 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1105 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1106 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1107 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1108 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1109 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1110 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1111 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1112 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1113 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1114 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1115 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1116 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1117 removed macros.
1118 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1119 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1120 macros.
1121 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1122 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1123 * sysdeps/i386/i586/memset.S (memset): Likewise.
1124 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1125 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1126 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1127 macros.
1128 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1129 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1130 Change uses of L(2) to L(out).
1131 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1132 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1133 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1134 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1135 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1136 removed macros.
1137 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1138 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1139 macros.
1140 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1141 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1142 (RETURN): Do not use macro LEAVE.
1143 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1144 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1145 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1146 * sysdeps/i386/i686/memset.S (memset): Likewise.
1147 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1148 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1149 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1150 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1151 Likewise.
1152 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1153 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1154 L(1_2) and L(1_3) into L(1).
1155 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1156 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1157 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1158 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1159 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1160 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1161 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1162 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1163 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1164 macros.
1165 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1166 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1167 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1168 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1169 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1170 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1171 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1172 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1173 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1174 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1175 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1176 * sysdeps/i386/strspn.S (strspn): Likewise.
1177 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1178 conditional code.
1179 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1180 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1181 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1182 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1183 L(1_3) into L(1_1).
1184 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1185 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1186 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1187 macros.
1188 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1189
2389741a
JJ
11902013-02-19 Jakub Jelinek <jakub@redhat.com>
1191
1192 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1193 macro.
1194
2016b3cd
SP
11952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1196
e4f22324
SP
1197 * math/atest-exp.c (exp_mpn): Remove ROUND.
1198 * math/atest-exp2.c (exp_mpn): Likewise.
1199 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1200
2016b3cd
SP
1201 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1202 * stdlib/tst-tls-atexit-lib.c: Likewise.
1203 * stdlib/tst-tls-atexit.c: Likewise.
1204
4be9b544
MF
12052013-02-18 Mike Frysinger <vapier@gentoo.org>
1206
1207 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1208 and __attribute_alloc_size__.
1209
2f62b9ee
MF
12102013-02-18 Mike Frysinger <vapier@gentoo.org>
1211
1212 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1213 __attribute_alloc_size__.
1214 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1215 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1216
6ff444c4
MF
12172013-02-18 Mike Frysinger <vapier@gentoo.org>
1218
1219 * include/programs/xmalloc.h: New file.
1220 * catgets/gencat.c: Include it.
1221 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1222 * elf/pldd.c: Likewise.
1223 * iconv/iconv_charmap.c: Likewise.
1224 * iconv/iconvconfig.c: Likewise.
1225 * iconv/strtab.c: Likewise.
1226 * locale/programs/locale.c: Likewise.
1227 * locale/programs/localedef.h: Likewise.
1228 * locale/programs/simple-hash.c: Likewise.
1229 * nscd/nscd.h: Likewise.
1230 * nss/makedb.c: Likewise.
1231 * sysdeps/generic/ldconfig.h: Likewise.
1232
be179c8a
SP
12332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1234
ba384f6e
SP
1235 * Versions.def: Add GLIBC_2.18.
1236 * include/link.h (struct link_map): New member l_tls_dtor_count.
1237 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1238 (__call_tls_dtors): Likewise.
1239 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1240 __cxa_thread_atexit_impl.
1241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1242 Likewise.
1243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1244 Likewise.
1245 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1246 Likewise.
1247 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1248 Likewise.
1249 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1251 Likewise.
1252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1253 Likewise.
1254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1256 Likewise.
1257 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1258 (tests): Add test case tst-tls-atexit.
1259 (modules-names): Add shared library for tst-tls-atexit.
1260 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1261 (GLIBC_PRIVATE): Add __call_tls_dtors.
1262 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1263 for libstdc++.
1264 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1265 * stdlib/tst-tls-atexit.c: New test case.
1266 * stdlib/tst-tls-atexit-lib.c: New test case.
1267
ffaa74cf 1268 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1269
be179c8a
SP
1270 * elf/Versions (ld): Add _dl_find_dso_for_object.
1271 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1272 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1273 (dl_open_worker): Use _dl_find_dso_for_object.
1274 * elf/dl-sym.c (do_sym): Likewise.
1275 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1276
f78b5caa
AK
12772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1278
1279 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1280 Syntactic changes only.
1281 (_dl_runtime_profile): Do a tail-call to the resolved function.
1282
29691210
JM
12832013-02-17 Joseph Myers <joseph@codesourcery.com>
1284
1285 [BZ #13550]
1286 * sysdeps/x86_64/bp-asm.h: Remove file.
1287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1288 <bp-sym.h> and <bp-asm.h>.
1289 (__clone): Do not use BP_SYM.
1290 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1291 <bp-sym.h> and <bp-asm.h>.
1292 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1293 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1294 "bp-asm.h".
1295 (_setjmp): Do not use BP_SYM.
1296 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1297 "bp-asm.h".
1298 (setjmp): Do not use BP_SYM.
1299 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1300 libc_hidden_def.
1301 (mempcpy): Do not use BP_SYM in weak_alias.
1302 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1303 "bp-asm.h".
1304 (strchr): Do not use BP_SYM.
1305 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1306 "bp-asm.h".
1307 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1308 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1309 (_start): Do not use BP_SYM.
1310 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1311 "bp-asm.h".
1312 (strcat): Do not use BP_SYM.
1313 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1314 "bp-asm.h".
1315 (STRCMP): Do not use BP_SYM.
1316 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1317 "bp-asm.h".
1318 (STRCPY): Do not use BP_SYM.
1319 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1320 "bp-asm.h".
1321 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1322 "bp-asm.h".
1323 (FUNCTION): Do not use BP_SYM.
1324 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1325 weak_alias.
1326 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1327
f238fd19
AJ
13282013-02-17 Andreas Jaeger <aj@suse.de>
1329
1330 * time/Versions: Sort entries.
1331 * string/Versions: Likewise.
1332 * resolv/Versions: Likewise.
1333 * posix/Versions: Likewise.
1334 * iconv/Versions: Likewise.
1335 * elf/Versions: Likewise.
1336 * wcsmbs/Versions: Likewise.
1337
bd07f23c 13382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1339
22af19f9
SP
1340 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1341 loop termination condition.
1342
4709fe76
SP
1343 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1344 variable to calculate EZ.
1345 (__sqr): Likewise.
2d0e0f29
SP
1346
1347 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1348 the lower precision input.
1349
daaa7713
JM
13502013-02-15 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #13550]
1353 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1354 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1355 (run-via-rtld-prefix): Do not handle %-bp tests.
1356 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1357 (all-object-suffixes): Remove .ob.
1358 (bppfx): Remove variable.
1359 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
1360 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
1361 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
1362 [$(build-bounded) = yes] (libtype.ob): Likewise.
1363 * Makerules (elide-routines.ob): Remove variable.
1364 (do-tests-clean): Do not handle *-bp.out.
1365 (common-mostlyclean): Do not handle *-bp and *-bp.out.
1366 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
1367 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
1368 (tests): Do not include $(tests-bp.out).
1369 (xtests): Do not include $(xtests-bp.out).
1370 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
1371 [$(build-bounded) = yes] ($(addprefix
1372 $(objpfx),$(binaries-bounded))): Remove rule.
1373 ($(objpfx)%-bp.out): Remove rule.
1374 * config.make.in (build-bounded): Remove variable.
1375 * crypt/Makefile [$(build-bounded) = yes]
1376 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
1377 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
1378 append to variable.
1379 [$(build-bounded) = yes] (install-lib): Likewise.
1380 [$(build-bounded) = yes] (generated): Likewise.
1381 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
1382 Remove rule.
1383 * intl/Makefile [$(build-bounded) = yes]
1384 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
1385 * math/Makefile [$(build-bounded) = yes]
1386 ($(tests:%=$(objpfx)%-bp): Likewise.
1387 * misc/Makefile [$(build-bounded) = yes]
1388 ($(objpfx)tst-tsearch-bp): Likewise.
1389 * nptl/Makeconfig (bounded-thread-library): Remove variable.
1390 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
1391 Remove dependency.
1392 * string/Makefile (o-objects.ob): Remove variable.
1393 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
1394 (CFLAGS-.ob): Remove variable.
1395 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
1396 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
1397 both definitions of variable.
1398 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
1399 (ASFLAGS-.ob): Remove variable.
1400
e97ed6dd
JM
14012013-02-14 Joseph Myers <joseph@codesourcery.com>
1402
2bdd4ca6
JM
1403 [BZ #13550]
1404 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
1405 Remove __BOUNDED_POINTERS__ from condition.
1406 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
1407 * string/bits/string2.h [!__NO_STRING_INLINES &&
1408 !__BOUNDED_POINTERS__]: Likewise.
1409 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
1412 Remove conditional code.
1413 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
1414 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
1415 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
1416 condition.
1417
e97ed6dd
JM
1418 [BZ #13550]
1419 * csu/libc-start.c: Do not include <bp-sym.h>.
1420 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
1421 * elf/dl-open.c: Do not include <bp-sym.h>.
1422 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
1423 * math/fegetenv.c: Do not include <bp-sym.h>.
1424 (fegetenv): Do not use BP_SYM in versioned symbols.
1425 * nptl/sysdeps/pthread/bits/libc-lockP.h
1426 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
1427 <bp-sym.h>.
1428 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1429 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
1430 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1431 (__pthread_mutex_destroy): Likewise.
1432 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1433 (__pthread_mutex_lock): Likewise.
1434 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1435 (__pthread_mutex_trylock): Likewise.
1436 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1437 (__pthread_mutex_unlock): Likewise.
1438 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1439 (__pthread_mutexattr_init): Likewise.
1440 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1441 (__pthread_mutexattr_destroy): Likewise.
1442 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1443 (__pthread_mutexattr_settype): Likewise.
1444 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1445 (__pthread_rwlock_init): Likewise.
1446 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1447 (__pthread_rwlock_destroy): Likewise.
1448 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1449 (__pthread_rwlock_rdlock): Likewise.
1450 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1451 (__pthread_rwlock_tryrdlock): Likewise.
1452 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1453 (__pthread_rwlock_wrlock): Likewise.
1454 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1455 (__pthread_rwlock_trywrlock): Likewise.
1456 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1457 (__pthread_rwlock_unlock): Likewise.
1458 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1459 (__pthread_key_create): Likewise.
1460 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1461 (__pthread_setspecific): Likewise.
1462 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1463 (__pthread_getspecific): Likewise.
1464 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
1465 Likewise.
1466 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1467 (_pthread_cleanup_push_defer): Likewise.
1468 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1469 (_pthread_cleanup_pop_restore): Likewise.
1470 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
1471 (pthread_setcancelstate): Likewise.
1472 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
1473 <bp-sym.h>.
1474 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
1475 (memchr): Do not use BP_SYM in weak_alias.
1476 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
1477 (fegetenv): Do not use BP_SYM in versioned symbols.
1478 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
1479 (fesetenv): Do not use BP_SYM in versioned symbols.
1480 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1481 (feupdateenv): Do not use BP_SYM in versioned symbols.
1482 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1483 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1484 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
1485 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
1486 (open64): Do not use BP_SYM in weak_alias.
1487 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
1488 (fegetenv): Do not use BP_SYM in versioned symbols.
1489 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
1490 (fesetenv): Do not use BP_SYM in versioned symbols.
1491 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
1492 (feupdateenv): Do not use BP_SYM in versioned symbols.
1493 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
1494 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
1495 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
1496 (feraiseexcept): Do not use BP_SYM in versioned symbols.
1497 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
1498 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
1499 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
1500 <bp-sym.h>.
1501 (__libc_start_main): Do not use BP_SYM.
1502
d6752ccd
SP
15032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1504
cb57ce60
SP
1505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
1506 redundant return line.
1507 (norm): Likewise.
1508 (denorm): Likewise.
1509 (dbl_mp): Likewise.
1510 (sub_magnitudes): Likewise.
1511 (__add): Likewise.
1512 (__sub): Likewise.
1513 (__mul): Likewise.
1514 (__inv): Likewise.
1515 (__dvd): Likewise.
1516 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
1517 (norm): Likewise.
1518 (denorm): Likewise.
1519 (dbl_mp): Likewise.
1520 (sub_magnitudes): Likewise.
1521 (__add): Likewise.
1522 (__sub): Likewise.
1523 (__mul): Likewise.
1524 (__inv): Likewise.
1525 (__dvd): Likewise.
1526
f414520d
SP
1527 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
1528 instead of __mul.
1529 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
1530 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
1531 (cc32): Likewise.
1532
d6752ccd
SP
1533 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
1534 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
1535 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
1536 of __mul for squares.
1537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
1538 function
1539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
1540 Likewise.
1541 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
1542 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
1543
70d9946a
JM
15442013-02-13 Joseph Myers <joseph@codesourcery.com>
1545
1546 [BZ #13550]
1547 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
1548 code.
1549 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
1550 prototype or function definition. Rename ubp_* variables and
1551 parameters. Remove argv definitions conditional on
1552 [__BOUNDED_POINTERS__].
1553 * debug/backtrace.c (__backtrace): Do not use __unbounded.
1554 * elf/dl-runtime.c (_dl_fixup): Likewise.
1555 * include/set-hooks.h (RUN_HOOK): Likewise.
1556 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
1557 definition.
1558 * string/strcpy.c (strcpy): Do not use __unbounded.
1559 * sysdeps/generic/frame.h (struct layout): Likewise.
1560 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
1561 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
1562 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
1563 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
1564 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
1565 (__backtrace): Likewise.
1566 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
1567 use __ptrvalue.
1568 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
1569 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1570 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
1571 Likewise.
1572 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
1573 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
1574 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1575 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
1576 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
1577 Do not use __unbounded.
1578 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
1579 Rename __unboundedrlimits parameter to rlimits in prototype.
1580 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
1581 Do not use __unbounded.
1582 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
1583 not use __ptrvalue.
1584 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
1585 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
1586 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
1587 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
1588 __ptrvalue or __unbounded.
1589 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
1590 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
1591 use __unbounded.
1592 (__new_msgctl): Do not use __ptrvalue.
1593 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
1594 __unbounded.
1595 (__libc_msgrcv): Do not use __ptrvalue.
1596 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
1597 startup_info): Do not use __unbounded.
1598 (__libc_start_main): Likewise. Rename ubp_* variables and
1599 parameters. Remove argv definitions conditional on
1600 [__BOUNDED_POINTERS__].
1601 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
1602 __ptrvalue.
1603 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
1604 use __unbounded.
1605 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
1606 or __ptrvalue.
1607 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
1608 use __unbounded.
1609 (__new_shmctl): Do not use __ptrvalue.
1610 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
1611 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
1612 Likewise.
1613 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
1614 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
1615 (__libc_sigaction): Likewise.
1616 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
1618 Likewise.
1619 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
1620
cc7834d6
OB
16212013-02-13 Ondřej Bílka <neleai@seznam.cz>
1622
ffb1ec7b 1623 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
1624
1625 * string/mempcpy.c: Implement by calling memcpy.
1626
bdf02814
SP
16272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
1628
c2af38aa
SP
1629 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
1630
4e92d59e
SP
1631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
1632 evaluation.
1633
909279a5
SP
1634 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
1635 values in the mantissa.
1636
bdf02814
SP
1637 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
1638 minimize writes to Z.
1639 (sub_magnitudes): Simplify code a bit.
1640
cd525923
RM
16412013-02-12 Roland McGrath <roland@hack.frob.com>
1642
1643 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
1644 from the message. The linker prefixes all warnings with that already.
1645
7e2f0d2d
AS
16462013-02-12 Andreas Schwab <schwab@suse.de>
1647
a445af0b
AS
1648 [BZ #15078]
1649 * posix/regexec.c (extend_buffers): Add parameter min_len.
1650 (check_matching): Pass minimum needed length.
1651 (clean_state_log_if_needed): Likewise.
1652 (get_subexp): Likewise.
1653 * posix/Makefile (tests): Add bug-regex34.
1654 (bug-regex34-ENV): Define.
1655 * posix/bug-regex34.c: New file.
1656
7e2f0d2d
AS
1657 [BZ #11561]
1658 * posix/regcomp.c (parse_bracket_exp): When looking up collating
1659 elements compare against the byte sequence of it, not its name.
1660 * posix/Makefile (tests): Add bug-regex35.
1661 (bug-regex35-ENV): Define.
1662 * posix/bug-regex35.c: New file.
1663
a175b684
TV
16642013-02-11 Tom de Vries <tom@codesourcery.com>
1665
1666 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
1667 comment.
1668 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
1669 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
1670 (CHECK_EOL): Add undef.
1671
310998fe 16722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
1673
1674 * bits/stdlib-bsearch.h: New file.
1675 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 1676 * stdlib/stdlib.h: Likewise.
41eda41d 1677
8ded91fb
RM
16782013-02-11 Roland McGrath <roland@hack.frob.com>
1679
1680 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
1681 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
1682 declaration.
1683 * manual/search.texi (Array Search Function): Add missing const in
1684 lfind prototype.
1685 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
1686 declaration to use rlim_t.
1687 (Basic Scheduling Functions): Remove erroneous const from
1688 sched_getparam prototype. Remove erroneous * from
1689 sched_get_priority_max and sched_get_priority_min prototypes.
1690 (Resource Usage): Fix summary @comment on vtimes to refer to
1691 sys/vtimes.h rather than vtimes.h.
1692 Add missing *s in vtimes prototype.
1693 (Limits on Resources): Fix ulimit prototype to return long int.
1694 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
1695 prototypes to use long int rather than double.
1696 (BSD Random): Fix initstate and setstate to use char *, not void *.
1697 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
1698 prototype to make second argument 'struct aiocb64 *const[]'.
1699 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
1700 (Status of AIO Operations): Remove erroneous const in aio_return and
1701 aio_return64 prototypes.
1702 (Synchronizing I/O): Fix sync prototype to return void.
1703 * manual/startup.texi (Suboptions): Remove an erroneous const in
1704 getsubopt prototype.
1705 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
1706 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
1707 use size_t rather than int.
1708 (Scanning All Users): Likewise for getpwent_r.
1709 (Setting Groups): Add missing const to setgroups prototype.
1710 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
1711 * manual/socket.texi (Host Names): Fix gethostbyaddr and
1712 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
1713 'const void *' rather than 'const char *'.
1714 (Host Address Functions): Likewise for inet_ntop.
1715 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
1716 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
1717 ssize_t for return value.
1718 (Sending Data): Likewise for send, sendto, sendmsg.
1719 (Socket Option Functions): Add a missing const in setsockopt prototype.
1720 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
1721 use wchar_t for the argument.
1722 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
1723 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
1724 take no arguments.
1725 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
1726 double/float/long double for second argument.
1727 Fix return types of significand, significandf, significandl.
1728 * manual/filesys.texi (Setting Permissions): Use mode_t for second
1729 argument in fchmod prototype.
1730 (File Owner): Use uid_t and gid_t in fchown prototype.
1731 (File Times): Add const to utimes, futimes, and lutimes prototypes.
1732 (Making Special Files): Use mode_t and dev_t in mknod prototype.
1733 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
1734 use 'const struct dirent **' as argument types to CMP function pointer
1735 argument.
1736 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
1737 (File Times): Fix summary magic @comment for struct utimbuf and utime
1738 to refer to utime.h, not time.h.
1739 * manual/string.texi (Argz Functions): Add missing const in
1740 argz_extract and argz_next prototypes.
1741 (Finding Tokens in a String): Likewise for basename.
1742 (String/Array Comparison): Fix typo in wcscasecmp prototype.
1743 (Copying and Concatenation): Fix typo in wmemmove prototype.
1744 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
1745 (Signal Stack): Remove erroneous const in sigstack prototype.
1746 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
1747 prototype.
1748 (Simple Calendar Time): Likewise for stime.
1749 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
1750 prototype.
1751 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
1752 say sys/sysctl.h instead.
1753 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
1754 and vsyslog prototypes.
1755
fe77fe6d
TV
17562013-02-11 Tom de Vries <tom@codesourcery.com>
1757
1758 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
1759 Remove.
1760
3a09b620
RM
17612013-02-11 Roland McGrath <roland@hack.frob.com>
1762
1763 * misc/sys/mman.h: Fix typo in mremap comment.
1764
550a0b89
RM
17652013-02-08 Roland McGrath <roland@hack.frob.com>
1766
1767 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
1768 the '\0' terminator.
1769
a2da1673
JM
17702013-02-08 Joseph Myers <joseph@codesourcery.com>
1771
1772 [BZ #13550]
1773 * debug/segfault.c: Don't include <bp-checks.h>.
1774 * sysdeps/generic/bp-checks.h: Remove file.
1775 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
1776 (__GETDENTS): Don't use CHECK_N.
1777 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
1778 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1779 (__getgroups): Don't use CHECK_N.
1780 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1781 (setgroups): Don't use CHECK_N.
1782 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
1783 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
1784 (__libc_msgrcv): Don't use CHECK_N.
1785 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
1786 (__libc_msgsnd): Don't use CHECK_N.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
1788 <bp-checks.h>.
1789 (__libc_pread): Don't use CHECK_N.
1790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
1791 include <bp-checks.h>.
1792 (__libc_pread64): Don't use CHECK_N.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
1794 include <bp-checks.h>.
1795 (__libc_pwrite): Don't use CHECK_N.
1796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
1797 include <bp-checks.h>.
1798 (__libc_pwrite64): Don't use CHECK_N.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
1800 <bp-checks.h>.
1801 (__libc_pread): Don't use CHECK_N.
1802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
1803 include <bp-checks.h>.
1804 (__libc_pread64): Don't use CHECK_N.
1805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
1806 include <bp-checks.h>.
1807 (__libc_pwrite): Don't use CHECK_N.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
1809 include <bp-checks.h>.
1810 (__libc_pwrite64): Don't use CHECK_N.
1811 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
1812 (do_pread): Don't use CHECK_N.
1813 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
1814 (do_pread64): Don't use CHECK_N.
1815 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
1816 (do_pwrite): Don't use CHECK_N.
1817 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
1818 (do_pwrite64): Don't use CHECK_N.
1819 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
1820 (__libc_readv): Don't use CHECK_N.
1821 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
1822 (semop): Don't use CHECK_N.
1823 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
1824 <bp-checks.h>.
1825 (semtimedop): Don't use CHECK_N.
1826 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
1827 (__libc_pread): Don't use CHECK_N.
1828 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
1829 <bp-checks.h>.
1830 (__libc_pread64): Don't use CHECK_N.
1831 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
1832 <bp-checks.h>.
1833 (__libc_pwrite): Don't use CHECK_N.
1834 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
1835 <bp-checks.h>.
1836 (__libc_pwrite64): Don't use CHECK_N.
1837 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
1838 <bp-checks.h>.
1839 (__libc_msgrcv): Don't use CHECK_N.
1840 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
1841 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
1842 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
1843 (__libc_writev): Don't use CHECK_N.
1844
b84660a8
RM
18452013-02-08 Roland McGrath <roland@hack.frob.com>
1846
7f3e75f8
RM
1847 * string/strcpy.c: Removed unused variable.
1848
b84660a8
RM
1849 * Makeconfig (+sysdep-includes): Define with := rather than =.
1850 Use an existing include/ subdir of each sysdeps dir before it.
1851
471514d3
CD
18522013-02-08 Carlos O'Donell <carlos@redhat.com>
1853
1854 * nscd/connection.c (register_traced_file): Comment function.
1855 [HAVE_INOTIFY] (union __inev): Define.
1856 [HAVE_INOTIFY] (inotify_check_files): New function.
1857 [HAVE_INOTIFY] (clear_db_cache): Likewise.
1858 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
1859 clear_db_cache.
1860 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
1861
b2d3c3be
CD
18622013-02-08 Carlos O'Donell <carlos@redhat.com>
1863
1864 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
1865 loaded if not already and that a failure is permanent.
1866
b39949d2
CD
18672013-02-08 Carlos O'Donell <carlos@redhat.com>
1868
ddacd1db 1869 [BZ #15006]
b39949d2
CD
1870 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
1871 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
1872
b2c9eff4
JM
18732013-02-08 Joseph Myers <joseph@codesourcery.com>
1874
f3aae3f3
JM
1875 [BZ #13550]
1876 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
1877 (CHECK_1_NULL_OK): Likewise.
1878 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
1879 (__fxstat): Do not use CHECK_1.
1880 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
1881 <bp-checks.h>.
1882 (___fxstat64): Do not use CHECK_1.
1883 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1884 <bp-checks.h>.
1885 (__fxstatat): Do not use CHECK_1.
1886 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1887 <bp-checks.h>.
1888 (__fxstatat64): Do not use CHECK_1.
1889 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
1890 <bp-checks.h>.
1891 (__fxstat): Do not use CHECK_1.
1892 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1893 <bp-checks.h>.
1894 (__fxstatat): Do not use CHECK_1.
1895 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1896 <bp-checks.h>.
1897 (__getresgid): Do not use CHECK_1.
1898 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1899 <bp-checks.h>.
1900 (__getresuid): Do not use CHECK_1.
1901 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
1902 <bp-checks.h>.
1903 (__lxstat): Do not use CHECK_1.
1904 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1905 <bp-checks.h>.
1906 (__old_msgctl): Do not use CHECK_1.
1907 (__new_msgctl): Likewise.
1908 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
1909 <bp-checks.h>.
1910 (__new_setrlimit): Do not use CHECK_1.
1911 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1912 <bp-checks.h>.
1913 (__old_shmctl): Do not use CHECK_1.
1914 (__new_shmctl): Likewise.
1915 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
1916 <bp-checks.h>.
1917 (__xstat): Do not use CHECK_1.
1918 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
1919 (__lxstat): Do not use CHECK_1.
1920 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
1921 <bp-checks.h>.
1922 (___lxstat64): Do not use CHECK_1.
1923 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
1924 (__old_msgctl): Do not use CHECK_1.
1925 (__new_msgctl): Likewise.
1926 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
1927 <bp-checks.h>.
1928 (__gettimeofday): Do not use CHECK_1.
1929 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
1930 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
1931 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
1932 <bp-checks.h>.
1933 (__gettimeofday): Do not use CHECK_1.
1934 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
1935 (__old_shmctl): Do not use CHECK_1_NULL_OK.
1936 (__new_shmctl): Do not use CHECK_1.
1937 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
1938 <bp-checks.h>.
1939 (do_sigtimedwait): Do not use CHECK_1.
1940 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
1941 <bp-checks.h>.
1942 (do_sigwaitinfo): Do not use CHECK_1.
1943 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
1944 <bp-checks.h>.
1945 (msgctl): Do not use CHECK_1.
1946 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
1947 <bp-checks.h>.
1948 (shmctl): Do not use CHECK_1.
1949 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
1950 (ustat): Do not use CHECK_1.
1951 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
1952 <bp-checks.h>.
1953 (__fxstat): Do not use CHECK_1.
1954 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1955 <bp-checks.h>.
1956 (__fxstatat): Do not use CHECK_1.
1957 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
1958 <bp-checks.h>.
1959 (__lxstat): Do not use CHECK_1.
1960 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
1961 <bp-checks.h>.
1962 (__xstat): Do not use CHECK_1.
1963 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
1964 (__xstat): Do not use CHECK_1.
1965 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
1966 (___xstat64): Do not use CHECK_1.
1967
b2c9eff4
JM
1968 [BZ #13550]
1969 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
1970 definitions.
1971 (CHECK_BOUNDS_HIGH): Likewise.
1972 * string/strcpy.c: Do not include <bp-checks.h>.
1973 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
1974
f1d70dad
RM
19752013-02-07 Roland McGrath <roland@hack.frob.com>
1976
1977 * nscd/nscd-client.h (__nscd_drop_map_ref):
1978 Add __attribute__ ((unused)).
1979 * nis/nss-nisplus.h (niserr2nss): Likewise.
1980
1981 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
1982 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
1983
1984 * csu/libc-tls.c (init_static_tls, init_slotinfo):
1985 Remove inline keyword.
1986 * include/rounding-mode.h (round_away): Likewise.
1987 * libio/wfileops.c (adjust_wide_data): Likewise.
1988 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
1989 (__m128i_strloadu_tolower): Likewise.
1990 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
1991 (__m128i_strloadu_tolower): Likewise.
1992 * time/mktime.c (ydhms_diff): Likewise.
1993 * locale/elem-hash.h (elem_hash): Likewise.
1994 * locale/setlocale.c (setdata): Likewise.
1995 * posix/regex_internal.h (re_string_char_size_at): Likewise.
1996 (re_string_wchar_at): Likewise.
1997 (bitset_not, bitset_merge, bitset_mask): Likewise.
1998 [!(__GNUC__ > 3)] (inline): Remove macro.
1999 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2000 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2001 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2002 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2003 * string/memcmp.c (memcmp_bytes): Likewise.
2004 * locale/programs/locarchive.c (compute_hashval): Likewise.
2005 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2006 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2007 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2008 * nss/getent.c (print_rpc, print_protocols): Likewise.
2009 (print_passwd, print_group, print_aliases): Likewise.
2010 * nis/nss-nisplus.h (niserr2nss): Likewise.
2011 * nscd/connections.c (restart_p): Likewise.
2012 Change return type to bool.
2013
eab55bfb
RM
20142013-02-05 Roland McGrath <roland@hack.frob.com>
2015
7bd642f5
RM
2016 * Makeconfig (all-Depend-files): Add existing
2017 $(sorted-subdirs:=/Depend) files.
2018 (all-subdirs): Remove nss.
2019 * sysdeps/unix/inet/Subdirs: Add it here instead.
2020 * hesiod/Depend: New file.
2021
573c29b2
RM
2022 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2023 instead of calling alloca.
2024
b2e25af0
RM
2025 * io/lseek.c (__lseek): Rename to __libc_lseek.
2026 Define __lseek as an alias.
2027
eab55bfb
RM
2028 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2029
9a0d1941
CD
20302013-02-04 Carlos O'Donell <carlos@redhat.com>
2031
2032 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2033 else clause and remove check for non-standard endianness.
2034
b83bbec4
DM
20352013-02-04 David S. Miller <davem@davemloft.net>
2036
2037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2038
6277fdab
JM
20392013-02-04 Joseph Myers <joseph@codesourcery.com>
2040
2041 [BZ #13550]
2042 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2043 (__ubp_memchr): Remove prototype.
2044 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2045 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2046 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2047 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2048 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2049 Remove alias.
2050 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2051 (__ubp_memchr): Likewise.
2052 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2053 (__ubp_memchr): Likewise.
2054 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2055 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2056 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2057 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2058 CHECK_STRING.
2059 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2060 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2061 (__getcwd): Do not use CHECK_STRING.
2062 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2063 <bp-checks.h>.
2064 (__real_chown): Do not use CHECK_STRING.
2065 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2066 <bp-checks.h>.
2067 (fchownat): Do not use CHECK_STRING.
2068 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2069 CHECK_STRING.
2070 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2071 <bp-checks.h>.
2072 (__lchown): Do not use CHECK_STRING.
2073 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2074 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2075 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2076 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2078 include <bp-checks.h>.
2079 (truncate64): Do not use CHECK_STRING.
2080 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2081 <bp-checks.h>.
2082 (__real_chown): Do not use CHECK_STRING.
2083 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2084 <bp-checks.h>.
2085 (__lchown): Do not use CHECK_STRING.
2086 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2087 <bp-checks.h>.
2088 (__chown): Do not use CHECK_STRING.
2089 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2090 <bp-checks.h>.
2091 (truncate64): Do not use CHECK_STRING.
2092 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2093 Likewise.
2094 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2095 (__xmknod): Do not use CHECK_STRING.
2096 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2097 <bp-checks.h>.
2098 (__xmknodat): Do not use CHECK_STRING.
2099 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2100 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2101
903ae060
AS
21022013-02-04 Andreas Schwab <schwab@suse.de>
2103
2104 [BZ #14142]
2105 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2106 * include/netdb.h: Likewise for h_errno.
2107 * elf/tst-stackguard1.c: Include <tls.h>.
2108
542f9466
JK
21092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2110
2111 * elf/link.h (struct link_map): Extend the l_addr comment.
2112 * include/link.h (struct link_map): Likewise.
2113
e782a927
JM
21142013-02-01 Joseph Myers <joseph@codesourcery.com>
2115
2116 [BZ #13550]
2117 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2118 (BOUNDED_1): Remove macro.
2119 * debug/backtrace.c: Don't include <bp-checks.h>.
2120 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2121 (__backtrace): Likewise.
2122 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2123 <bp-checks.h>.
2124 (__backtrace): Don't use BOUNDED_1.
2125 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2126 <bp-checks.h>.
2127 (__backtrace): Don't use BOUNDED_1.
2128 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2129 (__backtrace): Don't use BOUNDED_1.
2130 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2131 (shmat): Don't use BOUNDED_N.
2132
8cf28c5e
JM
21332013-01-31 Joseph Myers <joseph@codesourcery.com>
2134
3a7ac8a0
JM
2135 [BZ #13550]
2136 * sysdeps/generic/bp-start.h: Remove file.
2137 * csu/libc-start.c: Don't include <bp-start.h>.
2138 (LIBC_START_MAIN): Set up __environ directly instead of using
2139 INIT_ARGV_and_ENVIRON.
2140 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2141 <bp-start.h>.
2142
f3499f95
JM
2143 [BZ #13550]
2144 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2145 definitions.
2146 (CHECK_FCNTL): Likewise.
2147 (CHECK_N_PAGES): Likewise.
2148
32a45bea
JM
2149 [BZ #13550]
2150 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2151 definitions.
2152 (CHECK_SIGSET_NULL_OK): Likewise.
2153 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2154 <bp-checks.h>.
2155 (sigpending): Don't use CHECK_SIGSET.
2156 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2157 <bp-checks.h>.
2158 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2159 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2160 <bp-checks.h>.
2161 (do_sigsuspend): Don't use CHECK_SIGSET.
2162 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2163 use CHECK_SIGSET.
2164 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2165 (do_sigwait): Don't use CHECK_SIGSET.
2166 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2167 use CHECK_SIGSET.
2168 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2169 include <bp-checks.h>.
2170 (sigpending): Don't use CHECK_SIGSET.
2171 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2172 include <bp-checks.h>.
2173 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2174 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2175 <bp-checks.h>.
2176 (sigpending): Don't use CHECK_SIGSET.
2177 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2178 <bp-checks.h>.
2179 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2180
2e8a5c8c
JM
2181 [BZ #13550]
2182 * sysdeps/generic/bp-semctl.h: Remove file.
2183 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2184 <bp-checks.h> and <bp-semctl.h>.
2185 (__old_semctl): Don't use CHECK_SEMCTL.
2186 (__new_semctl): Likewise.
2187 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2188 and <bp-semctl.h>.
2189 (__old_semctl): Don't use CHECK_SEMCTL.
2190 (__new_semctl): Likewise.
2191 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2192 <bp-checks.h> and <bp-semctl.h>.
2193 (__old_semctl): Don't use CHECK_SEMCTL.
2194 (__new_semctl): Likewise.
2195 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2196 <bp-checks.h> and <bp-semctl.h>.
2197 (semctl): Don't use CHECK_SEMCTL.
2198
c2d54929
JM
2199 [BZ #13550]
2200 * Makerules (elide-bp-thunks): Remove variable.
2201 (elide-routines.oS): Don't use $(elide-bp-thunks).
2202 (elide-routines.os): Likewise.
2203 (elide-routines.o): Likewise.
2204 (elide-routines.op): Likewise.
2205 (elide-routines.og): Likewise.
2206 (objects): Don't use $(bp-thunks).
2207 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2208 include.
2209 (common-generated): Do not add s-proto-bp.d.
2210 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2211 (int): Likewise.
2212 (typ): Likewise.
2213 Do not generate makefile rules for bounded-pointer thunks.
2214 * sysdeps/generic/bp-thunks.h: Remove file.
2215 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2216 * sysdeps/unix/s-proto-bp.S: Likewise.
2217
8cf28c5e
JM
2218 [BZ #15062]
2219 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2220 parts of result separately when argument is not close to line from
2221 -i to i and one part of argument is small.
2222 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2223 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2224 * math/libm-test.inc (cacos_test): Add more tests.
2225 (casin_test): Likewise.
2226 (casinh_test): Likewise.
2227 * sysdeps/i386/fpu/libm-test-ulps: Update.
2228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2229
c4e33b8d
DM
22302013-01-31 David S. Miller <davem@davemloft.net>
2231
2232 * po/de.po: Update from translation team.
2233
3b60b421
MK
22342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2235
2236 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2237
bb931195
TS
22382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2239
b5a5da23
TS
2240 * configure.in (_AC_PROG_CC_C89): New definition.
2241 * configure: Regenerate.
2242
bb931195
TS
2243 * configure.in (AC_PROG_CPP): New definition.
2244 * configure: Regenerate.
2245
8c53a12c
JM
22462013-01-23 Joseph Myers <joseph@codesourcery.com>
2247
2248 * debug/tst-backtrace.h: New file.
2249 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2250 (ret): Remove variable.
2251 (x): Likewise.
2252 (FAIL): Remove macro.
2253 (NO_INLINE): Likewise.
2254 (fn1): Use match function instead of strstr.
2255 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2256 (ret): Remove variable.
2257 (x): Likewise.
2258 (FAIL): Remove macro.
2259 (NO_INLINE): Likewise.
2260 (fn): Use match function instead of strstr.
2261 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2262 (ret): Remove variable.
2263 (x): Likewise.
2264 (FAIL): Remove macro.
2265 (NO_INLINE): Likewise.
2266 (handle_signal): Use match function instead of strstr.
2267 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2268 (ret): Remove variable.
2269 (x): Likewise.
2270 (FAIL): Remove macro.
2271 (NO_INLINE): Likewise.
2272 (handle_signal): Use match function instead of strstr.
2273
4858fa2a
RM
22742013-01-23 Roland McGrath <roland@hack.frob.com>
2275
2276 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2277
bae8e7f5
DM
22782013-01-23 David S. Miller <davem@davemloft.net>
2279
2280 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2281 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2282 argument of CAS if possible.
2283 * sysdeps/sparc/sparc64/bits/atomic.h
2284 (__arch_compare_and_exchange_val_32_acq): Likewise.
2285 (__arch_compare_and_exchange_val_64_acq): Likewise.
2286
9cbbc4ae
PT
22872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2288
2289 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2290 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2291 Include <limits.h>.
67b3f58c 2292 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2293
5655a0b5
AC
22942013-01-23 Adam Conrad <adconrad@0c3.net>
2295
2296 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2297 (LDFLAGS-tst-array5): Likewise.
2298
052aff95
JM
22992013-01-23 Joseph Myers <joseph@codesourcery.com>
2300
2301 [BZ #15036]
2302 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2303 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2304 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2305 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2306
7c1e01aa
DM
23072013-01-21 David S. Miller <davem@davemloft.net>
2308
2309 * sysdeps/sparc/backtrace.c: New file.
2310 * sysdeps/sparc/sparc32/backtrace.h: New file.
2311 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2312 * sysdeps/sparc/sparc64/backtrace.h: New file.
2313 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2314 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2315 -funwind-tables.
2316
ab087e0a
AS
23172013-01-21 Andreas Schwab <schwab@suse.de>
2318
2319 [BZ #15020]
2320 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2321 closed its stdout.
2322
ed689c2f
AS
23232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2324
2325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2326 "mpa2.h".
2327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2328
31d470ac
JM
23292013-01-18 Joseph Myers <joseph@codesourcery.com>
2330 Mark Mitchell <mark@codesourcery.com>
2331 Tom de Vries <tom@codesourcery.com>
2332 Paul Pluzhnikov <ppluzhnikov@google.com>
2333
2334 * debug/tst-backtrace2.c: New file.
2335 * debug/tst-backtrace3.c: Likewise.
2336 * debug/tst-backtrace4.c: Likewise.
2337 * debug/tst-backtrace5.c: Likewise.
2338 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2339 (CFLAGS-tst-backtrace3.c): Likewise.
2340 (CFLAGS-tst-backtrace4.c): Likewise.
2341 (CFLAGS-tst-backtrace5.c): Likewise.
2342 (LDFLAGS-tst-backtrace2): Likewise.
2343 (LDFLAGS-tst-backtrace3): Likewise.
2344 (LDFLAGS-tst-backtrace4): Likewise.
2345 (LDFLAGS-tst-backtrace5): Likewise.
2346 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2347 tst-backtrace4 and tst-backtrace5.
2348
90567f30 23492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2350 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2351
2352 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2353 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2354 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2355 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2357 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
2358 "+r" and remove output regs list as redundant. Add explicit inline
2359 asm to specify register of return val to work around compiler codegen
2360 bug. Remove (int) cast on return value. Add return type parameter to
2361 use in macro so that this macro does not truncate return value for
2362 64-bit values.
2363 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
2364 pass to INTERNAL_VSYSCALL_NCS.
2365 (INLINE_VSYSCALL): Add 'long int' as return type to
2366 INTERNAL_VSYSCALL_NCS macro invocation.
2367 (INTERNAL_VSYSCALL): Add 'long int' as return type to
2368 INTERNAL_VSYSCALL_NCS macro invocation.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2370
d3b9ea61
SP
23712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2372
0b57daeb
SP
2373 [BZ #14496]
2374 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
2375 Fix application of SIMD FP exception mask.
2376
caa99d06
SP
2377 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
2378 mp_no from a power of two.
2379 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
2380 __mpexp_twomm1. Use __pow_mp.
2381
d3b9ea61
SP
2382 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
2383 multiplication.
2384
1dbaee3c
DM
23852013-01-17 David S. Miller <davem@davemloft.net>
2386
2387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2388
728d7b43
JM
23892013-01-17 Joseph Myers <joseph@codesourcery.com>
2390
2391 [BZ #15023]
2392 * include/complex.h: Condition contents on [!_COMPLEX_H].
2393 (__kernel_casinhf): New prototype.
2394 (__kernel_casinh): Likewise.
2395 (__kernel_casinhl): Likewise.
2396 * math/Makefile (libm_calls): Add k_casinh.
2397 * math/k_casinh.c: New file.
2398 * math/k_casinhf.c: Likewise.
2399 * math/k_casinhl.c: Likewise.
2400 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
2401 finite nonzero arguments.
2402 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
2403 finite nonzero arguments.
2404 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
2405 finite nonzero arguments.
2406 * math/s_casinh.c: Do not include <float.h>.
2407 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
2408 * math/s_casinhf.c: Do not include <float.h>.
2409 (__casinhf): Move code for finite nonzero arguments to
2410 k_casinhf.c.
2411 * math/s_casinhl.c: Do not include <float.h>.
2412 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
2413 redefine.
2414 (__casinhl): Move code for finite nonzero arguments to
2415 k_casinhl.c.
2416 * math/libm-test.inc (cacos_test): Add more tests.
2417 * sysdeps/i386/fpu/libm-test-ulps: Update.
2418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2419
2a26ef3a
PT
24202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
2421
2422 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
2423 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
2424 [!HAVE_MREMAP]: Remove [defined linux] case.
2425 * malloc/arena.c: Do not include <malloc-sysdep.h>.
2426
a897655d
SP
24272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2428
2429 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
2430
881ebe89 24312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
2432
2433 * elf/elf.h (R_386_SIZE32): New relocation.
2434 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
2435 R_386_SIZE32.
2436 (elf_machine_rela): Likewise.
2437 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2438 R_X86_64_SIZE64 and R_X86_64_SIZE32.
2439
59981e9b
JM
24402013-01-17 Joseph Myers <joseph@codesourcery.com>
2441
2442 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
2443 (FP_FAST_FMA): Do not define.
2444 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
2445 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
2446 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
2447 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
2448 !_SOFT_FLOAT]: Likewise.
2449 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
2450 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
2451 value.
2452 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
2453 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
2454 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
2455 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
2456 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
2457 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
2458 file.
2459
cfa8054f
AS
24602013-01-16 Andreas Schwab <schwab@suse.de>
2461
2462 [BZ #14327]
2463 * include/stdlib.h (__mktemp): Add declaration.
2464 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
2465 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
2466
dd930cc5
SP
24672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2468
881ebe89
SP
2469 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
2470 definitions.
2471 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
2472 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
2473 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
2474 definitions here.
2475 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
2476 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
2477 definitions.
2478 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
2479 and ONE.
2480 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
2481 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
2482 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
2483 definitions.
2484 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
2485 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
2486 definitions.
2487 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 2488
dd930cc5
SP
2489 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
2490
c19a9f89
DM
24912013-01-15 David S. Miller <davem@davemloft.net>
2492
1aa61767
DM
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2494 trunc{,f} to libm-sysdep_routes.
2495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
2497 file.
2498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
2499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
2500 file.
2501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
2502 file.
2503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
2504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
2505 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
2506 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
2507 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
2508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
2509 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
2510 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2511
c42d5e98
DM
2512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2513 nearbyint{,f} to libm-sysdep_routes.
2514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
2516 New file.
2517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
2518 file.
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
2520 New file.
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
2522 file.
2523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
2524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
2525 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
2526 file.
2527 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
2528 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
2529 file.
2530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
2531 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
2532 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2533
c19a9f89
DM
2534 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2535 libc_feholdexcept and libc_fesetenv.
2536
357679d2
MF
25372013-01-15 Mike Frysinger <vapier@gentoo.org>
2538
2539 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
2540
65a82e3d
DM
25412013-01-14 David S. Miller <davem@davemloft.net>
2542
8b954ab9
DM
2543 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
2544 (SPARC_ASM_VIS2_IFUNC): Likewise.
2545 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
2546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
2547 use of 'siam' instruction.
2548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
2549 Likewise.
2550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
2551 Likewise.
2552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
2553 Likewise.
2554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
2555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
2556 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
2557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
2559 file.
2560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
2561 file.
2562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
2563 file.
2564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
2565 file.
2566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
2567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
2568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
2569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
2570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
2571 new VIS2 routines.
2572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2575 Likewise.
2576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2578 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2579 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
2581 routines to libm-sysdep_routines.
2582 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2583
65a82e3d
DM
2584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
2585 fdim/fdimf to libm-sysdep_routines.
2586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
2587 file.
2588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
2589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
2590 file.
2591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
2592 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
2593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
2594 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
2595 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
2596 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
2597 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2598
e34ab705
SP
25992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2600
2a91b573
SP
2601 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
2602 to optimize copies.
2603
1066a534
SP
2604 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
2605 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
2606 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2607
e34ab705
SP
2608 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
2609 local variable MPTWO.
2610 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
2611 Likewise.
2612
aba5e596
MF
26132013-01-13 Mike Frysinger <vapier@gentoo.org>
2614
2615 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
2616 GLOB_NOESCAPE.
2617
e557e9e5
MF
26182013-01-13 Mike Frysinger <vapier@gentoo.org>
2619
2620 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
2621
0428cec9
MF
26222013-01-13 Mike Frysinger <vapier@gentoo.org>
2623
2624 * manual/pattern.texi (glob_t): Document gl_flags.
2625 (glob64_t): Likewise.
2626
8794a964
DM
26272013-01-11 David S. Miller <davem@davemloft.net>
2628
66438c3f
RM
2629 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
2630 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
2631 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
2632 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
2633 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
2634 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
2635 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
2636 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
2637 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
2638 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
2639 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
2640 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
2641 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2642
4ae4244d
DM
2643 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2644 sparc V9 rather than using V8 code.
2645 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2646 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2647
8794a964
DM
2648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
2649 Move to...
2650 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
2651 Here.
2652
6270516e
RM
26532013-01-11 Roland McGrath <roland@hack.frob.com>
2654
2655 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
2656 not in the main loop.
2657 * configure: Regenerated.
2658
6a57d931
JM
26592013-01-11 Joseph Myers <joseph@codesourcery.com>
2660
2661 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
2662 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
2663 to just #else.
2664 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
2665 [!__GLIBC_HAVE_LONG_LONG] case.
2666 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
2667 condition to just #else.
2668 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
2669 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
2670 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
2671 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
2672 unconditional.
2673 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
2674 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2675 #elif condition to just #else.
2676 * sysdeps/unix/sysv/linux/sys/sysmacros.h
2677 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
2678 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
2679 #elif condition to just #else.
2680
0e8529e9
SE
26812013-01-11 Steve Ellcey <sellcey@mips.com>
2682
2683 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
2684 (EF_MIPS_ARCH_64): Fix value.
2685 (EF_MIPS_ARCH_32R2): New.
2686 (EF_MIPS_ARCH_64R2): New.
2687
740b3dbe
L
26882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
2689
2690 * Makeconfig (+link-pie-before-libc): New.
2691 (+link-pie-after-libc): Likewise.
2692 (+link-pie-tests): Likewise.
2693 (+link-pie): Rewritten.
2694 (link-before-libc): Remove $(config-LDFLAGS).
2695 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
2696 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
2697 (config-LDFLAGS): Renamed to ...
2698 (rtld-LDFLAGS): This.
2699 (rtld-tests-LDFLAGS): New macro.
2700 (link-libc-rpath-link): Likewise.
2701 (link-libc-tests-rpath-link): Likewise.
2702 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
2703 (link-libc): Prepand $(link-libc-rpath-link).
2704 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
2705 (test-program-prefix): New macro.
2706 (test-via-rtld-prefix): Likewise.
2707 (test-program-cmd): Likewise.
2708 (host-test-program-cmd): Likewise.
2709 * Makefile ($(common-objpfx)testrun.sh): Replace
2710 $(run-program-prefix) with $(test-program-prefix).
2711 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
2712 $(rtld-LDFLAGS).
2713 ($(common-objpfx)shlib.lds): Likewise.
2714 (build-module-helper): Likewise.
2715 ($(common-objpfx)format.lds): Likewise.
2716 * Rules (binaries-pie-tests): New.
2717 (binaries-pie-notests): Likewise.
2718 (binaries-pie): Rewritten.
2719 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
2720 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
2721 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
2722 (make-test-out): Replace $(host-built-program-cmd) with
2723 $(host-test-program-cmd).
2724 * config.make.in (build-hardcoded-path-in-tests): New variable.
2725 * configure.in (--enable-hardcoded-path-in-tests): New configure
2726 option.
2727 (hardcoded_path_in_tests): New AC_SUBST.
2728 * configure: Regenerated.
2729 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
2730 $(built-program-cmd) with $(test-program-cmd).
2731 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
2732 (test_program_cmd): This.
2733 * elf/Makefile ($(objpfx)order.out): Run test with
2734 $(test-program-prefix).
2735 ($(objpfx)order2.out): Likewise.
2736 ($(objpfx)tst-initorder.out): Likewise.
2737 ($(objpfx)tst-initorder2.out): Likewise.
2738 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
2739 $(test-program-cmd).
2740 ($(objpfx)tst-array1-static.out): Likewise.
2741 ($(objpfx)tst-array2.out): Likewise.
2742 ($(objpfx)tst-array3.out): Likewise.
2743 ($(objpfx)tst-array4.out): Likewise.
2744 ($(objpfx)tst-array5.out): Likewise.
2745 ($(objpfx)tst-array5-static.out): Likewise.
2746 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
2747 $(test-program-cmd).
2748 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
2749 $(run-program-prefix) with $(test-program-prefix).
2750 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
2751 (test_program_prefix): This.
2752 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
2753 $(run-program-prefix) with $(test-program-prefix).
2754 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
2755 (test_program_prefix): This.
2756 * iconvdata/tst-tables.sh: Likewise.
2757 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
2758 $(run-program-prefix) with $(test-program-prefix).
2759 ($(objpfx)tst-translit.out): Likewise.
2760 ($(objpfx)tst-gettext2.out): Likewise.
2761 ($(objpfx)tst-gettext4.out): Likewise.
2762 ($(objpfx)tst-gettext6.out): Likewise.
2763 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
2764 (test_program_prefix): This.
2765 * intl/tst-gettext2.sh: Likewise.
2766 * intl/tst-gettext4.sh Likewise.
2767 * intl/tst-gettext6.sh: Likewise.
2768 * intl/tst-translit.sh: Likewise.
2769 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
2770 with $(test-program-cmd).
2771 * libio/Makefile ($(objpfx)test-freopen.out): Replace
2772 $(run-program-prefix) with $(test-program-prefix).
2773 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
2774 (test_program_prefix): This.
2775 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
2776 $(run-program-prefix) with $(test-program-prefix).
2777 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
2778 (test_program_prefix): This.
2779 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
2780 * posix/Makefile ($(objpfx)globtest.out): Replace
2781 $(run-via-rtld-prefix) and $(test-wrapper) with
2782 $(test-program-prefix) and $(test-via-rtld-prefix).
2783 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
2784 $(test-program-prefix).
2785 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
2786 $(host-test-program-cmd).
2787 (tst-spawn-ARGS): Likewise.
2788 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
2789 $(test-program-prefix).
2790 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
2791 (test_via_rtld_prefix): This.
2792 (test_wrapper): Renamed to ...
2793 (test_program_prefix): This.
2794 (run_program_prefix): Replaced by test_program_prefix.
2795 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
2796 (test_program_prefix): This.
2797 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
2798 with $(host-test-program-cmd).
2799 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
2800 $(run-program-prefix) with $(test-program-prefix).
2801 ($(objpfx)tst-printf.out): Likewise.
2802 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
2803 $(test-program-cmd).
2804 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
2805 (test_program_prefix): This.
2806 * stdio-common/tst-unbputc.sh: Likewise.
2807 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
2808 $(run-program-prefix) with $(test-program-prefix).
2809 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
2810 (test_program_prefix): This.
2811 * string/Makefile ($(objpfx)tst-svc.out): Replace
2812 $(built-program-cmd) with $(test-program-cmd).
2813
c6fe55cf
AJ
28142013-01-11 Andreas Jaeger <aj@suse.de>
2815
2816 [BZ #15003]
2817 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
2818 value. Sync with Linux 3.7.
2819
9e6919c8
DM
28202013-01-10 David S. Miller <davem@davemloft.net>
2821
2822 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
2823 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2824 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2825
1c9f1a02
RM
28262013-01-10 Roland McGrath <roland@hack.frob.com>
2827
2828 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
2829 never set.
2830 * configure: Regenerated.
2831
b9de2dde
DM
28322013-01-10 David S. Miller <davem@davemloft.net>
2833
2834 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
2835 sparc V9 rather than using V8 code.
2836 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
2837 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2838
e7f68ef4
RM
28392013-01-10 Roland McGrath <roland@hack.frob.com>
2840
2841 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
2842 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
2843 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
2844 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
2845 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
2846 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
2847 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
2848 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
2849 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
2850 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
2851 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
2852 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
2853 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
2854 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
2855 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
2856 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
2857 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
2858 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
2859 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
2860 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
2861 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
2862 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
2863 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
2864 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
2865 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
2866 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
2867 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
2868
5a47cc9c
DM
28692013-01-10 David S. Miller <davem@davemloft.net>
2870
2871 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2872
4cf8f209
L
28732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * posix/Makefile (tests-static): New variable.
2876 (tests): Add $(tests-static).
2877 (tst-exec-static-ARGS): New variable.
2878 (tst-spawn-static-ARGS): Likewise.
2879 * posix/tst-exec-static.c: New file.
2880 * posix/tst-spawn-static.c: Likewise.
2881 * posix/tst-exec.c: Support run directly.
2882 * posix/tst-spawn.c: Likewise.
2883
fed0faa1
JM
28842013-01-10 Joseph Myers <joseph@codesourcery.com>
2885
828beb13
JM
2886 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
2887 long.
2888 * math/bits/mathcalls.h (llrint): Likewise.
2889 (llround): Likewise.
2890 * stdlib/stdlib.h (struct drand48_data): Likewise.
2891 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
2892 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
2893 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
2894 Likewise.
2895 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
2896 Likewise.
2897 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
2898 (elf_greg_t): Likewise.
2899 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
2900 (__jmp_buf): Likewise.
2901 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
2902 definitions.
2903 (llrint): Likewise, for all definitions.
2904 (llrintl): Likewise.
2905
fed0faa1
JM
2906 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
2907 Remove [__GNUC__] condition.
2908 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
2909 condition to just [__USE_ISOC99].
2910 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
2911
1a20cb20
L
29122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
2913
2914 [BZ #14200]
2915 * sysdeps/unix/sysv/linux/x86/bits/environments.h
2916 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
2917 defined.
2918 (_POSIX_V6_ILP32_OFF32): Likewise.
2919 (_XBS5_ILP32_OFF32): Likewise.
2920 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
2921 (__ILP32_OFFBIG_LDFLAGS): Likewise.
2922
751b85f7
SP
29232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2924
7490eb81
SP
2925 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
2926
751b85f7
SP
2927 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
2928 doubles __mpexp_twomm1. Adjust usage.
2929 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
2930 Remove.
2931
988197f0
AS
29322013-01-10 Andreas Schwab <schwab@suse.de>
2933
2934 [BZ #14964]
2935 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
2936 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
2937
e83d7298
DM
29382013-01-09 David S. Miller <davem@davemloft.net>
2939
034ed64b 2940 [BZ #15003]
e83d7298
DM
2941 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
2942 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
2943 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
2944 TCP_FASTOPEN): Define.
2945 (tcp_repair_opt): New structure.
2946 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
2947 enum values.
2948 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
2949 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
2950 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
2951 (tcp_cookie_transactions): New structure.
2952
d5e0b9bd
AB
29532013-01-09 Anton Blanchard <anton@samba.org>
2954
2955 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
2956 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
2957 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2959
0c07e3ea
JM
29602013-01-09 Joseph Myers <joseph@codesourcery.com>
2961
2962 * include/features.h (__USE_ANSI): Remove.
2963
232f7002
RM
29642013-01-09 Roland McGrath <roland@hack.frob.com>
2965
ad98e30c
RM
2966 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
2967
232f7002
RM
2968 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
2969
950c99ca
SP
29702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
2971
b5792741
SP
2972 * sysdeps/s390/fpu/libm-test-ulps: Update.
2973
47cf2278
SP
2974 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2975
950c99ca
SP
2976 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
2977 (__acr): Likewise.
2978 (__cpy): Likewise.
2979 (norm): Likewise.
2980 (denorm): Likewise.
2981 (__mp_dbl): Likewise.
2982 (__dbl_mp): Likewise.
2983 (add_magnitudes): Likewise.
2984 (sub_magnitudes): Likewise.
2985 (__add): Likewise.
2986 (__sub): Likewise.
2987 (__mul): Likewise.
2988 (__inv): Likewise.
2989 (__dvd): Likewise.
2990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
2991 (__acr): Likewise.
2992 (__cpy): Likewise.
2993 (norm): Likewise.
2994 (denorm): Likewise.
2995 (__mp_dbl): Likewise.
2996 (__dbl_mp): Likewise.
2997 (add_magnitudes): Likewise.
2998 (sub_magnitudes): Likewise.
2999 (__add): Likewise.
3000 (__sub): Likewise.
3001 (__mul): Likewise.
3002 (__inv): Likewise.
3003 (__dvd): Likewise.
3004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3005 (__acr): Likewise.
3006 (__cpy): Likewise.
3007 (norm): Likewise.
3008 (denorm): Likewise.
3009 (__mp_dbl): Likewise.
3010 (__dbl_mp): Likewise.
3011 (add_magnitudes): Likewise.
3012 (sub_magnitudes): Likewise.
3013 (__add): Likewise.
3014 (__sub): Likewise.
3015 (__mul): Likewise.
3016 (__inv): Likewise.
3017 (__dvd): Likewise.
3018
eede9df9
JM
30192013-01-08 Joseph Myers <joseph@codesourcery.com>
3020
3021 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3022 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3023 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3024 2 && __USE_EXTERN_INLINES]: Likewise.
3025
c40ea3d9
AJ
30262013-01-08 Andreas Jaeger <aj@suse.de>
3027
3028 [BZ# 14985]
3029 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3030 Remove.
3031 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3032 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3033
2ccdea26
AB
30342013-01-07 Anton Blanchard <anton@samba.org>
3035
3036 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3037 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3038 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3039 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3040 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3041 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3042 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3043 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3045 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3046 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3047 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3049 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3050 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3051 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3052 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3053 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3054 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3055 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3056 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3057 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3059 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3060 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3061 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3062 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3063 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3064 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3065 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3066 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3067 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3068 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3069 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3070 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3074 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3076 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3077 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3078 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3079
a9708fed
JM
30802013-01-07 Joseph Myers <joseph@codesourcery.com>
3081
375607b9
JM
3082 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3083 (__MALLOC_PMT): Likewise.
3084 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3085 [__GNUC__], only on [_LIBC].
3086 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3087 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3088 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3089 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3090 forward declaration.
3091 (realloc_hook_ini): Likewise.
3092 (memalign_hook_ini): Likewise.
3093 (__libc_memalign): Do not use __MALLOC_PMT in variable
3094 declaration.
3095 (__libc_valloc): Likewise.
3096 (__libc_pvalloc): Likewise.
3097 (__libc_calloc): Likewise.
3098 (__posix_memalign): Likewise.
3099
a9708fed
JM
3100 [BZ #14996]
3101 * math/s_casinh.c: Include <float.h>.
3102 (__casinh): Do not do computation with squaring and square root
3103 for large arguments.
3104 * math/s_casinhf.c: Include <float.h>.
3105 (__casinhf): Do not do computation with squaring and square root
3106 for large arguments.
3107 * math/s_casinhl.c: Include <float.h>.
3108 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3109 (__casinhl): Do not do computation with squaring and square root
3110 for large arguments.
3111 * math/libm-test.inc (casin_test): Add more tests.
3112 (casinh_test): Likewise.
3113 * sysdeps/i386/fpu/libm-test-ulps: Update.
3114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3115
afec409a
L
31162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3117
3118 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3119 (__x86_64_raw_data_cache_size): Likewise.
3120 (__x86_64_data_cache_size_half): Likewise.
3121 (__x86_64_raw_data_cache_size_half): Likewise.
3122 (__x86_64_shared_cache_size): Likewise.
3123 (__x86_64_raw_shared_cache_size): Likewise.
3124 (__x86_64_shared_cache_size_half): Likewise.
3125 (__x86_64_raw_shared_cache_size_half): Likewise.
3126 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3127 to ...
3128 (__x86_data_cache_size): This.
3129 (__x86_64_raw_data_cache_size): Renamed to ...
3130 (__x86_raw_data_cache_size): This.
3131 (__x86_64_data_cache_size_half): Renamed to ...
3132 (__x86_data_cache_size_half): This.
3133 (__x86_64_raw_data_cache_size_half): Renamed to ...
3134 (__x86_raw_data_cache_size_half): This.
3135 (__x86_64_shared_cache_size): Renamed to ...
3136 (__x86_shared_cache_size): This.
3137 (__x86_64_raw_shared_cache_size): Renamed to ...
3138 (__x86_raw_shared_cache_size): This.
3139 (__x86_64_shared_cache_size_half): Renamed to ...
3140 (__x86_shared_cache_size_half): This.
3141 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3142 (__x86_raw_shared_cache_size_half): This.
3143 * sysdeps/x86_64/memcpy.S: Updated.
3144 * sysdeps/x86_64/memset.S: Likewise.
3145 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3148
0b3986d0
DM
31492013-01-04 David S. Miller <davem@davemloft.net>
3150
3151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3152
e47686e9
AS
31532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3154
d643bac1
AS
3155 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3156 1 to avoid redefinition warning.
3157 (__USE_GNU): Don't define.
3158 (init_signaling_nan): Protoize.
3159
e47686e9
AS
3160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3161
b18decba
SP
31622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
fffb407f
SP
3164 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3166 (__cpymn): Likewise.
3167 (norm): Remove commented code.
3168 (denorm): Likewise.
3169 (__mp_dbl): Likewise.
3170 (__inv): Likewise.
3171 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3172 (__cpymn): Likewise.
3173 (norm): Remove commented code.
3174 (denorm): Likewise.
3175 (__mp_dbl): Likewise.
3176 (__inv): Likewise.
3177
b18decba
SP
3178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3179 mp_no value for 1.0 and 2.0.
3180 (norm): Use RADIXI instead of radixi.d.
3181 (denorm): Likewise.
3182 (__mul): Use 0.0 instead of zero.d.
3183 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3184 mp_no value for 1.0 and 2.0.
3185 (norm): Use RADIXI instead of radixi.d.
3186 (denorm): Likewise.
3187 (__mul): Use 0.0 instead of zero.d.
3188
cdc1c96f
JM
31892013-01-04 Joseph Myers <joseph@codesourcery.com>
3190
3191 [BZ #14994]
3192 * math/s_casinh.c (__casinh): Reduce finite argument to first
3193 quadrant then set signs of results at the end.
3194 * math/s_casinhf.c (__casinhf): Likewise.
3195 * math/s_casinhl.c (__casinhl): Likewise.
3196 * math/libm-test.inc (casin_test): Add more tests.
3197 (casinh_test): Likewise.
3198 * sysdeps/i386/fpu/libm-test-ulps: Update.
3199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3200
302913e1
SP
32012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3202
6420d207
SP
3203 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3204
a9e48ab4
SP
3205 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3206
b7837264
SP
3207 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3208 declarations.
3209 (denorm): Likewise.
3210 (__mp_dbl): Likewise.
3211 (__inv): Likewise.
3212
f8af25d2
SP
3213 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3214 and adjust the header comment.
3215
302913e1
SP
3216 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3217 variable name from declaration.
3218
5d7dd1ca
L
32192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3220
3221 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3222 Initialize COMMON_CPUID_INDEX_7 element.
3223 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3224 (CPUID_RTM): Likewise.
3225 (HAS_RTM): Likewise.
3226 (COMMON_CPUID_INDEX_7): New enum.
3227
2f5f40f4
AS
32282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3229
3230 [BZ #14981]
3231 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3232 size is zero, record memory as freed.
3233
4056f4a0
AJ
32342013-01-03 Andreas Jaeger <aj@suse.de>
3235
3236 * po/ia.po: Add new Interlingua translation.
3237
ab15736f 32382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3239
3240 * locale/programs/localedef.c: Fix description of '--posix' flag.
3241
568035b7
JM
32422013-01-02 Joseph Myers <joseph@codesourcery.com>
3243
e6898b8d
JM
3244 * NEWS: Update dates in second copyright notice.
3245 * README: Update copyright dates in example.
3246 * manual/libc.texinfo: Update copyright dates.
3247 * scripts/test-installation.pl: Update copyright date in --version
3248 output.
3249
0e2f9562
JM
3250 * hurd/ctty-input.c: Fix copyright notice formatting.
3251 * hurd/ctty-output.c: Likewise.
3252 * hurd/dtable.c: Likewise.
3253 * hurd/hurd-raise.c: Likewise.
3254 * hurd/hurdprio.c: Likewise.
3255 * hurd/msgportdemux.c: Likewise.
3256 * misc/sys/file.h: Likewise.
3257 * misc/sys/ioctl.h: Likewise.
3258 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3259 * sysdeps/mach/hurd/chdir.c: Likewise.
3260 * sysdeps/mach/hurd/fchdir.c: Likewise.
3261 * sysdeps/mach/hurd/rename.c: Likewise.
3262 * sysdeps/mach/hurd/rmdir.c: Likewise.
3263 * sysdeps/mach/hurd/seekdir.c: Likewise.
3264 * sysdeps/mach/hurd/setsid.c: Likewise.
3265 * sysdeps/posix/wait3.c: Likewise.
3266
568035b7
JM
3267 * All files with FSF copyright notices: Update copyright dates
3268 using scripts/update-copyrights.
3269 * intl/plural.c: Regenerated.
3270 * locale/programs/charmap-kw.h: Likewise.
3271 * locale/programs/locfile-kw.h: Likewise.
3272
da08f647
SP
32732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3274
0f5477af
SP
3275 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3276 four values.
3277
44e0d4c2
SP
3278 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3279 calculation loop and add branch prediction.
3280
4d55b4e5
SP
3281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3282 check access beyond bounds of m1np.
3283
da08f647
SP
3284 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3285 MPTWO.
3286 (__inv): Remove local variable MPTWO to use the global
3287 constant.
3288 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3289 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3290 variable MPTWO.
3291 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3292 MP3HALFS static const.
3293
8e051029
DM
32942013-01-01 David S. Miller <davem@davemloft.net>
3295
3296 * po/ca.po: Update from translation team.
3297
f4cf5f2d
JM
32982013-01-01 Joseph Myers <joseph@codesourcery.com>
3299
3300 * scripts/update-copyrights: New file.
3301 * Makeconfig: Reformat copyright notice.
3302 * ctype/ctype.h: Likewise.
3303 * debug/swprintf_chk.c: Likewise.
3304 * elf/dl-cache.c: Likewise.
3305 * elf/dl-debug.c: Likewise.
3306 * elf/dl-object.c: Likewise.
3307 * grp/initgroups.c: Likewise.
3308 * hurd/Makefile: Likewise.
3309 * hurd/hurd/signal.h: Likewise.
3310 * hurd/hurdfault.c: Likewise.
3311 * hurd/hurdioctl.c: Likewise.
3312 * hurd/hurdlookup.c: Likewise.
3313 * hurd/intr-msg.c: Likewise.
3314 * iconv/gconv_open.c: Likewise.
3315 * libio/swprintf.c: Likewise.
3316 * locale/lc-ctype.c: Likewise.
3317 * locale/nl_langinfo.c: Likewise.
3318 * mach/Machrules: Likewise.
3319 * mach/Makefile: Likewise.
3320 * malloc/obstack.h: Likewise.
3321 * manual/Makefile: Likewise.
3322 * manual/tsort.awk: Likewise.
3323 * misc/bits/stab.def: Likewise.
3324 * nis/nis_print_group_entry.c: Likewise.
3325 * nis/nis_table.c: Likewise.
3326 * nis/nss_compat/compat-pwd.c: Likewise.
3327 * nis/nss_compat/compat-spwd.c: Likewise.
3328 * po/Makefile: Likewise.
3329 * posix/fnmatch.c: Likewise.
3330 * posix/regex.h: Likewise.
3331 * resolv/Makefile: Likewise.
3332 * resolv/nss_dns/dns-network.c: Likewise.
3333 * resolv/res_hconf.c: Likewise.
3334 * scripts/gen-sorted.awk: Likewise.
3335 * soft-fp/soft-fp.h: Likewise.
3336 * stdio-common/printf.h: Likewise.
3337 * stdlib/monetary.h: Likewise.
3338 * stdlib/random.c: Likewise.
3339 * stdlib/random_r.c: Likewise.
3340 * sysdeps/generic/Makefile: Likewise.
3341 * sysdeps/gnu/Makefile: Likewise.
3342 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3361 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3365 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3366 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
3367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
3368 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3369 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
3370 * sysdeps/mach/hurd/errnos.awk: Likewise.
3371 * sysdeps/mach/hurd/fork.c: Likewise.
3372 * sysdeps/mach/hurd/getcwd.c: Likewise.
3373 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
3374 * sysdeps/mach/hurd/mmap.c: Likewise.
3375 * sysdeps/mach/hurd/utimes.c: Likewise.
3376 * sysdeps/mach/hurd/xmknod.c: Likewise.
3377 * sysdeps/posix/profil.c: Likewise.
3378 * sysdeps/posix/readdir_r.c: Likewise.
3379 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3380 * sysdeps/powerpc/bits/setjmp.h: Likewise.
3381 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
3382 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3384 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3385 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3388 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3390 * sysdeps/pthread/lio_listio.c: Likewise.
3391 * sysdeps/sparc/dl-procinfo.h: Likewise.
3392 * sysdeps/unix/i386/sysdep.S: Likewise.
3393 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
3394 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
3395 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
3396 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
3397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3398 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3399 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3400 * sysdeps/unix/sysv/linux/speed.c: Likewise.
3401 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
3402 * sysdeps/wordsize-32/divdi3.c: Likewise.
3403 * time/sys/time.h: Likewise.
3404 * wcsmbs/Makefile: Likewise.
3405
0549fbba
DM
34062013-01-01 David S. Miller <davem@davemloft.net>
3407
a141f1a7
DM
3408 * po/fr.po: Update from translation team.
3409
0549fbba
DM
3410 * catgets/gencat.c: Update copyright year.
3411 * csu/version.c: Likewise.
3412 * debug/catchsegv.sh: Likewise.
3413 * debug/pcprofiledump.c: Likewise.
3414 * debug/xtrace.sh: Likewise.
3415 * elf/ldconfig.c: Likewise.
3416 * elf/ldd.bash.in: Likewise.
3417 * elf/pldd.c: Likewise.
3418 * elf/sotruss.ksh: Likewise.
3419 * elf/sprof.c: Likewise.
3420 * iconv/iconv_prog.c: Likewise.
3421 * iconv/iconvconfig.c: Likewise.
3422 * locale/programs/locale.c: Likewise.
3423 * locale/programs/localedef.c: Likewise.
3424 * login/programs/pt_chown.c: Likewise.
3425 * malloc/memusage.sh: Likewise.
3426 * malloc/memusagestat.c: Likewise.
3427 * malloc/mtrace.pl: Likewise.
3428 * nscd/nscd.c: Likewise.
3429 * nss/getent.c: Likewise.
3430 * nss/makedb.c: Likewise.
3431 * posix/getconf.c: Likewise.
3432
18ea052c
SP
34332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3434
3435 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
3436 numbers.
3437
9c89fca6
MF
34382012-12-30 Mike Frysinger <vapier@gentoo.org>
3439
3440 * math/bits/mathcalls.h (modf): Use __nonnull.
3441
085ec079
SP
34422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3443
3444 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
3445 (split): Use macro CN instead of the bare value.
3446 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
3447 could be used.
3448 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
3449 instead of the bare value.
3450 (power1): Likewise.
3451
6d9f97e1
SP
34522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3453
d63f73be
SP
3454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
3455 __ATAN_TWOM.
3456 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3457
6d9f97e1
SP
3458 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
3459 their values.
3460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3461 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
3462 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
3463 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
3464
4c4febf5
AJ
34652012-12-28 Andreas Jaeger <aj@suse.de>
3466
af5843ef
AJ
3467 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
3468 values are from Linux 3.7.
3469
4c4febf5
AJ
3470 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
3471 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
3472
99136f82
SP
34732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3474
2f216c3c 3475 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
3476 TRUE case.
3477
99136f82
SP
3478 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
3479 (norm): Likewise.
3480 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
3481 variables with preprocessor constants.
3482 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
3483 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
3484 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
3485
7fffbdff
BH
34862012-12-27 Bruno Haible <bruno@clisp.org>
3487
3488 [BZ #14317]
3489 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
3490 only if needed.
3491
b76eb5f0
SP
34922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3493
31a7fe5c
SP
3494 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
3495 and use variable directly.
3496 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
3497
b76eb5f0
SP
3498 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3499 MPONE.
3500 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
3501 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3502 variable MPONE.
3503 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
3504 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3505 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
3506 include directive. Remove local variable MPONE.
3507 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
3508 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
3509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
3510
2c8bfe7d
DM
35112012-12-25 David S. Miller <davem@davemloft.net>
3512
3513 * version.h (RELEASE): Set to "development".
3514 (VERSION): Set to "2.17.90".
3515 * NEWS: Add 2.18 section.
3516
147d03b0
DM
35172012-12-21 David S. Miller <davem@davemloft.net>
3518
3519 * po/hr.po: Update from translation team.
3520
a8ebb2b9
AK
35212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3522
3523 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
3524
95b4f1b6
SE
35252012-12-19 Steve Ellcey <sellcey@mips.com>
3526
b2d94007 3527 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 3528
cedb2a90
MS
35292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
3530
3531 * manual/contrib.texi (Contributors): Spelling correction.
3532
bbf527d6
DM
35332012-12-15 David S. Miller <davem@davemloft.net>
3534
3535 * po/ru.po: Update from translation team.
3536
bc38c906
DM
35372012-12-13 David S. Miller <davem@davemloft.net>
3538
85429b1a
DM
3539 * NEWS: Mention IFUNC testsuite enhancements.
3540
d283e353
DM
3541 * po/pl.po: Update from translation team.
3542 * po/bg.po: Likewise.
3543
bc38c906
DM
3544 * manual/contrib.texi (Contributors): Update entries for Hongjiu
3545 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
3546
a181b0d7
DM
35472012-12-11 David S. Miller <davem@davemloft.net>
3548
4641d57e
DM
3549 * po/sv.po: Update from translation team.
3550
f7bc6495
DM
3551 * po/vi.po: Update from translation team.
3552
6fc9048f
DM
3553 * po/cs.po: Update from translation team.
3554
a181b0d7
DM
3555 * po/de.po: Update from translation team.
3556 * po/eo.po: Likewise.
3557 * po/nl.po: Likewise.
3558
f70bfe80
SP
35592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3560
3c8b4190
SP
3561 [BZ #14246]
3562 * manual/argp.texi (Argp Helper Functions): Move node to follow
3563 Argp Parsing State.
3564
f70bfe80
SP
3565 [BZ #14872]
3566 * manual/conf.texi (Limits on File System Capacity): Mention if
3567 terminating null is included in the max size.
3568
188f0adf
AJ
35692012-12-10 Andreas Jaeger <aj@suse.de>
3570
3571 * po/cs.po: Update from translation team.
3572
56e7d3ad
SP
35732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3574
3575 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
3576 void pointer and cast to uintptr_t.
3577 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
3578 path.
3579 * sysdeps/s390/s390-64/memcpy.S: Likewise.
3580 * sysdeps/s390/s390-64/memset.S: Likewise.
3581
76f2d2ea 35822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
3583
3584 [BZ #14833]
3585 * menual/message.texi (Message Translation): Fix typos.
3586 (Helper programs for gettext): Likewise.
3587
67cbf9a2
AS
35882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
3589
3590 [BZ #14898]
3591 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
3592 Change to -1.
3593
682d0e9a
DM
35942012-12-07 David S. Miller <davem@davemloft.net>
3595
3596 * po/libc.pot: Update.
3597
573cd484
RH
35982012-12-07 Richard Henderson <rth@redhat.com>
3599
7e9da188 3600 [BZ #10114]
573cd484
RH
3601 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
3602 normal/normal case to before the switch.
3603 (_FP_DIV): Likewise.
3604
e933a943
MF
36052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
3606 Mike Frysinger <vapier@gentoo.org>
3607
3608 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
3609 check for __NR_fadvise64_64.
3610
82123268
CM
36112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
3612
3613 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
3614 0, not just to plain "0" as a statement.
3615 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
3616 with cw.
3617
d9814526
JM
36182012-12-06 Joseph Myers <joseph@codesourcery.com>
3619
3620 * NEWS: Use sourceware.org in Bugzilla URL.
3621
7728c574
SP
36222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3623
f16946dd
SP
3624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3625 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3626
5704bbcb
SP
3627 * stdio-common/tst-put-error.c (do_test): Add newline to the
3628 padded test to ensure flush.
3629
17aa0516
JL
36302012-12-05 Jeff Law <law@redhat.com>
3631
3632 * sunrpc/etc.rpc (fedfs_admin): Add entry.
3633
363313b5
JM
36342012-12-05 Joseph Myers <joseph@codesourcery.com>
3635
effbd42a
JM
3636 * README: Don't refer to ports add-on as distributed separately.
3637 Mention AArch64 in list of systems supported in the ports add-on.
3638
87600365
JM
3639 * LICENSES: Add more non-FSF copyright and license notices.
3640
a0d7066a
JM
3641 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
3642 ((unused)).
3643
66ca5a5b
JM
3644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
3645
363313b5
JM
3646 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
3647 10000 as width of padded output.
3648
b37984ad
JM
36492012-12-04 Joseph Myers <joseph@codesourcery.com>
3650
9003570a
JM
3651 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
3652
b37984ad
JM
3653 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
3654 variable LX with __attribute__ ((unused)).
3655 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3656 Likewise.
3657 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3659 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
3660 with __attribute__ ((unused)).
3661
c8df52ec
DM
36622012-12-04 David S. Miller <davem@abraco.davemloft.net>
3663
3664 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
3665
b3b099af
JM
36662012-12-04 Joseph Myers <joseph@codesourcery.com>
3667
c33aa6e3
JM
3668 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
3669 (CFLAGS-nldbl-acos.c): New variable.
3670 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
3671 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
3672 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
3673 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
3674 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
3675 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
3676 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
3677 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
3678 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
3679 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
3680 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
3681 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
3682 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
3683 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
3684 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
3685 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
3686 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
3687 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
3688 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
3689 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
3690 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
3691 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
3692 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
3693 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
3694 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
3695 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
3696 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
3697 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
3698 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
3699 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
3700 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
3701 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
3702 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
3703 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
3704 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
3705 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
3706 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
3707 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
3708 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
3709 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
3710 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
3711 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
3712 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
3713 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
3714 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
3715 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
3716 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
3717 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
3718 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
3719 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
3720 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
3721 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
3722 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
3723 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
3724 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
3725 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
3726 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
3727 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
3728 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
3729 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
3730 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
3731 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
3732 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
3733 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
3734 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
3735 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
3736 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
3737 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
3738 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
3739 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
3740 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
3741 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
3742 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
3743 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
3744 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
3745 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
3746 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
3747 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
3748 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
3749 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
3750 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
3751 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
3752 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
3753 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
3754 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
3755 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
3756 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
3757 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
3758 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
3759 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
3760 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
3761 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
3762 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
3763 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
3764 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
3765 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
3766 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
3767
20f0018d
JM
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3769 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
3770
b3b099af
JM
3771 [BZ #14914]
3772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
3773 whole low double instead of just low 47 bits when splitting values
3774 into two parts.
3775
029264d1
AM
37762012-12-03 Allan McRae <allan@archlinux.org>
3777
3778 * manual/stdio.texi (Predefined Printf Handlers): Remove
3779 @hsep and @vsep usage.
3780
c9d6789e
MF
37812012-12-03 Mike Frysinger <vapier@gentoo.org>
3782
3783 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
3784 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
3785
4b7634a5
JL
37862012-12-03 Jeff Law <law@redhat.com>
3787
3788 * time/sys/time.h (settimeofday): Do not mark TV argument
3789 as __nonnull.
3790
eb6cbd24
MF
37912012-12-01 Mike Frysinger <vapier@gentoo.org>
3792
3793 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
3794 when currently writing and seek to current position when not.
3795 * libio/Makefile (tests): Remove bug-fclose1.
3796 * libio/bug-fclose1.c: Delete.
3797
f638872a
JM
37982012-12-01 Joseph Myers <joseph@codesourcery.com>
3799
3800 * manual/arith.texi (feenableexcept): Fix typo.
3801 (fedisableexcept): Likewise.
3802
48085d14
RM
38032012-11-30 Roland McGrath <roland@hack.frob.com>
3804
3805 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
3806 second, differently-typed declaration, rather than a cast.
3807
1a538b9f
SP
38082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3809
3810 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
3811 * include/rpc/svc.h: ... here.
3812
d07f2ff1 38132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
3814
3815 [BZ #13013]
3816 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
3817 depending n and resplen2 to catch cases where answer
3818 equals answerp2.
3819
c93ec1f0
CD
38202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
3821
3822 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
3823 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
3824
37db69de
MF
38252012-11-29 Mike Frysinger <vapier@gentoo.org>
3826
3827 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
3828
e10c4e4f
RM
38292012-11-29 Roland McGrath <roland@hack.frob.com>
3830
3831 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
3832
2af1b328
JL
38332012-11-28 Jeff Law <law@redhat.com>
3834
3835 [BZ #13761]
3836 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
3837 dataset_temporary. Track alloca usage into alloca_used.
3838 If dataset is large allocate and release it via malloc/free.
3839
111db5b1
FW
38402012-06-04 Florian Weimer <fweimer@redhat.com>
3841
f06cc227 3842 [BZ #14197]
111db5b1
FW
3843 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
3844
dd694abd
DM
38452012-11-28 David S. Miller <davem@davemloft.net>
3846
3847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3848
9984dd01
JM
38492012-11-28 Joseph Myers <joseph@codesourcery.com>
3850
3851 [BZ #14803]
3852 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
3853 of pi/2 rounded to nearest to 64 bits.
3854 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
3855 nearest to 64 bits.
3856 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
3857 bits.
3858
14bc93a9
JL
38592012-11-28 Jeff Law <law@redhat.com>
3860 Martin Osvald <mosvald@redhat.com>
3861
3862 [BZ #14889]
3863 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
3864 * sunrpc/svc.c: Include time.h.
3865 (__svc_accept_failed): New function.
3866 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
3867 any reason other than EINTR, call __svc_accept_failed.
3868 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
3869 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
3870
e3c6aa3a
AS
38712012-11-28 Andreas Schwab <schwab@suse.de>
3872
3873 * scripts/abilist.awk: Also handle indirect functions in .opd
3874 section.
3875
1bead169
JM
38762012-11-28 Joseph Myers <joseph@codesourcery.com>
3877
3878 [BZ #13881]
3879 * sysdeps/x86/fpu/powl_helper.c: New file.
3880 * sysdeps/x86/fpu/Makefile: Likewise.
3881 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
3882 (p3): New object.
3883 (__ieee754_powl): Use __powl_helper for finite arguments except
3884 integer exponents below 8.
3885 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
3886 (p3): New object.
3887 (__ieee754_powl): Use __powl_helper for finite arguments except
3888 integer exponents below 8.
3889 * math/libm-test.inc (pow_test): Add more tests and enable some
3890 previously disabled tests.
3891 * sysdeps/i386/fpu/libm-test-ulps: Update.
3892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3893
0817d63d
SP
38942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3895 Carlos O'Donell <carlos_odonell@mentor.com>
3896
3897 * nss/makedb.c (is_prime): Assert that input is odd and greater
3898 than 4. Note that fact in a comment too.
3899 (next_prime): Add 4 to input.
3900
de2fd463
SP
39012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3902
3903 [BZ #11741]
3904 * libio/Makefile (tests): Add test case tst-fwrite-error.
3905 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
3906 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
3907 * libio/tst-fwrite-error.c: New test case.
3908
c515fb51
L
39092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
3910
3911 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
3912 before casting to void *.
3913 * include/libc-internal.h (__pointer_type): New macro.
3914 (__integer_if_pointer_type_sub): Likewise.
3915 (__integer_if_pointer_type): Likewise.
3916 (cast_to_integer): Likewise.
3917 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
3918 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
3919 before casting to atomic64_t.
3920 (atomic_exchange_acq): Likewise.
3921 (__arch_exchange_and_add_body): Likewise.
3922 (__arch_add_body): Likewise.
3923 (atomic_add_negative): Likewise.
3924 (atomic_add_zero): Likewise.
3925
4cf77aa9
JM
39262012-11-26 Joseph Myers <joseph@codesourcery.com>
3927
3928 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
3929 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
3930 (add_fdes): Likewise.
3931 (linear_search_fdes): Likewise.
3932 (binary_search_unencoded_fdes): Likewise.
3933
d260b3b4
AS
39342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
3935
3936 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
3937
67060746
AC
39382012-11-24 Adam Conrad <adconrad@0c3.net>
3939
3940 * configure.in: Autodetect C++ header directories.
3941 * configure: Regenerated.
3942
800938a1
MF
39432012-11-23 Mike Frysinger <vapier@gentoo.org>
3944
3945 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
3946
4e6e34e6
AS
39472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
3948
3949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3950
7c7feb47
JM
39512012-11-22 Joseph Myers <joseph@codesourcery.com>
3952
7184dcdf
JM
3953 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
3954 LDBL_MANT_DIG == 106]: Disable some tests.
3955 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3956 Likewise.
3957 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
3958 Likewise.
3959
0a42601f
JM
3960 [BZ #14871]
3961 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
3962 input for small inputs. Return +/- pi/2 for large inputs.
3963 * math/libm-test.inc (atan_test): Add more tests.
3964
79c9b9fe
JM
3965 * sysdeps/generic/unwind-dw2-fde-glibc.c
3966 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
3967 __attribute__ ((unused)).
3968
c60d3bf2
JM
3969 [BZ #14645]
3970 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
3971 x * y if x and y are nonzero and z is zero.
3972
ef1e0867
JM
3973 [BZ #14811]
3974 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
3975 nonzero exponents with absolute value below 0x1p-117 to +/-
3976 0x1p-117.
3977
1468ded3
JM
3978 [BZ #14869]
3979 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
3980 up arguments below 2**-450, not just those below 2**-500.
3981 * math/libm-test.inc (hypot_test): Add another test.
3982
8e27e3cc
JM
3983 [BZ #14868]
3984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3985 Return a+b for ratio over 2**120, not 2**60.
3986 * math/libm-test.inc (hypot_test): Add another test.
3987
c9c0279b
JM
3988 * math/libm-test.inc (clog_test): Use
3989 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
3990 (clog10_test): Likewise.
3991
7c7feb47
JM
3992 [BZ #6778]
3993 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
3994
fff1530e
AS
39952012-11-22 Andreas Schwab <schwab@suse.de>
3996
3997 * sysdeps/i386/fpu/libm-test-ulps: Update.
3998
94558d30
PT
39992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4000
4001 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4002 printf output with newline.
4003
7e1be741
L
40042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4005
6bfea974
L
4006 [BZ #14865]
4007 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4008 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4009 -z nodlopen, -z initfirst and -z execstack support.
4010 * configure: Regenerated.
4011
7e1be741
L
4012 * elf/elf.h (DF_1_NODIRECT): New macro.
4013 (DF_1_IGNMULDEF): Likewise.
4014 (DF_1_NOKSYMS): Likewise.
4015 (DF_1_NOHDR): Likewise.
4016 (DF_1_EDITED): Likewise.
4017 (DF_1_NORELOC): Likewise.
4018 (DF_1_SYMINTPOSE): Likewise.
4019 (DF_1_GLOBAUDIT): Likewise.
4020 (DF_1_SINGLETON): Likewise.
4021 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4022 DT_1_SUPPORTED_MASK bits.
4023 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4024
105ce2ce
CD
40252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4026
4027 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4028
123be9de
TS
40292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4030
d072f3f7
TS
4031 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4032 macro.
4033
123be9de
TS
4034 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4035 (sendmmsg): Move declarations...
4036 * socket/sys/socket.h: ... here.
4037 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4038 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4039 include it from...
4040 * socket/recvmmsg.c: ... this new file.
4041 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4042 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4043 definition of __sendmmsg hidden.
4044 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4045 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4046 Move ENOSYS stub into and include it from...
4047 * socket/sendmmsg.c: ... this new file.
4048 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4049 (sysdep_routines): Move recvmmsg and sendmmsg...
4050 * socket/Makefile (routines): ... here.
4051 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4052 (GLIBC_PRIVATE): Add __sendmmsg.
4053 * include/sys/socket.h (__sendmmsg): Add declarations.
4054 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4055 sendmmsg.
4056
cf9a5d18
JM
40572012-11-20 Joseph Myers <joseph@codesourcery.com>
4058
4059 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4060 variable I1 with __attribute__ ((unused)).
4061 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4062
ecd4caf9
JM
40632012-11-19 Joseph Myers <joseph@codesourcery.com>
4064
be14d48f
JM
4065 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4066 DUMMY variables with __attribute__ ((unused)).
4067
ecd4caf9
JM
4068 * bits/byteswap.h: Include <bits/types.h>.
4069 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4070
986cab95
PT
40712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4072
4073 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4074 string_t. Do not manually set errno.
4075 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4076 length with __strnlen. Make sure to both set errno and return it on
4077 failure.
4078
6d33cc9d
DM
40792012-11-19 David S. Miller <davem@davemloft.net>
4080
4081 With help from Joseph Myers.
4082 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4083 very large arguments properly.
4084 * math/libm-test.inc (atan_test): New tests.
4085 (atan2_test): New tests.
4086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4087 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4088
ee663277
JM
40892012-11-19 Joseph Myers <joseph@codesourcery.com>
4090
877f2d8e
JM
4091 [BZ #14856]
4092 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4093 Define to 3.
4094
116fc08a
JM
4095 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4096 [POSIX] (EADDRNOTAVAIL): Likewise.
4097 [POSIX] (EAFNOSUPPORT): Likewise.
4098 [POSIX] (EALREADY): Likewise.
4099 [POSIX] (ECONNABORTED): Likewise.
4100 [POSIX] (ECONNREFUSED): Likewise.
4101 [POSIX] (ECONNRESET): Likewise.
4102 [POSIX] (EDESTADDRREQ): Likewise.
4103 [POSIX] (EDQUOT): Likewise.
4104 [POSIX] (EHOSTUNREACH): Likewise.
4105 [POSIX] (EIDRM): Likewise.
4106 [POSIX] (EISCONN): Likewise.
4107 [POSIX] (ELOOP): Likewise.
4108 [POSIX] (EMULTIHOP): Likewise.
4109 [POSIX] (ENETDOWN): Likewise.
4110 [POSIX] (ENETUNREACH): Likewise.
4111 [POSIX] (ENOBUFS): Likewise.
4112 [POSIX] (ENODATA): Likewise.
4113 [POSIX] (ENOLINK): Likewise.
4114 [POSIX] (ENOMSG): Likewise.
4115 [POSIX] (ENOPROTOOPT): Likewise.
4116 [POSIX] (ENOSR): Likewise.
4117 [POSIX] (ENOSTR): Likewise.
4118 [POSIX] (ENOTCONN): Likewise.
4119 [POSIX] (ENOTSOCK): Likewise.
4120 [POSIX] (EOPNOTSUPP): Likewise.
4121 [POSIX] (EOVERFLOW): Likewise.
4122 [POSIX] (EPROTO): Likewise.
4123 [POSIX] (EPROTONOSUPPORT): Likewise.
4124 [POSIX] (EPROTOTYPE): Likewise.
4125 [POSIX] (ESTALE): Likewise.
4126 [POSIX] (ETIME): Likewise.
4127 [POSIX] (ETXTBSY): Likewise.
4128 [POSIX] (EWOULDBLOCK): Likewise.
4129 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4130 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4131 [POSIX] (SEEK_CUR): Likewise.
4132 [POSIX] (SEEK_END): Likewise.
4133 [POSIX || UNIX98] (mode_t): Do not require.
4134 [POSIX] (off_t): Likewise.
4135 [POSIX] (pid_t): Likewise.
4136 [POSIX] (sys/stat.h): Do not allow header.
4137 [POSIX] (unistd.h): Likewise.
4138 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4139 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4140 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4141 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4142 require.
4143 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4144 sigevent): Specify elements.
4145 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4146 entry.
4147 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4148 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4149
a483863f
JM
4150 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4151 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4152 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4153 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4154 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4155 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4156 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4157 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4158 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4159 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4160 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4161 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4162 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4163 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4164 Likewise.
4165 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4166 Likewise.
4167 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4168 Likewise.
4169 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4170 Likewise.
4171 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4172 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4173 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4174 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4175 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4176 Specify lower bound on value.
4177 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4178 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4179 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4180 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4181 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4182 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4183 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4184 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4185 value.
4186 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4187 as optional.
4188 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4189 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4190 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4191 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4192 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4193 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4194 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4195 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4196 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4197 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4198 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4199 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4200 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4201 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4202 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4203 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4204 entry.
4205 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4206 optional.
4207 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4208 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4209 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4210 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4211 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4212 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4213 Likewise.
4214 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4215 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4216 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4217 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4218 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4219 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4220 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4221 as optional.
4222 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4223 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4224 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4225 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4226 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4227 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4228 specify as optional.
4229 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4230 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4231 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4232 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4233 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4234 [XPG3] (NL_LANGMAX): Likewise.
4235 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4236 [POSIX || XPG3] (NL_NMAX): Likewise.
4237 [POSIX || XPG3] (NL_SETMAX): Likewise.
4238 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4239 [XPG3] (NZERO): Likewise.
4240 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4241 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4242 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4243 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4244 (REG_ERANGE): Expect.
4245 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4246 optional-constant.
4247 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4248 Use (void) in prototype.
4249 [POSIX] (*_t): Allow.
4250 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4251 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4252 (WRDE_BADVAL): Expect.
4253
5ba924e3
JM
4254 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4255 expect.
4256 [XPG3 || XPG4] (O_RSYNC): Likewise.
4257 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4258 Likewise.
4259 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4260 [XPG3 || XPG4] (sigqueue): Likewise.
4261 [XPG3 || XPG4] (sigtimedwait): Likewise.
4262 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4263 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4264 [XPG3 || XPG4] (vsnprintf): Likewise.
4265 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4266 Likewise.
4267 [XPG3 || XPG4] (blksize_t): Likewise.
4268 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4269 Likewise.
4270 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4271 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4272 [XPG3 || XPG4] (struct itimerspec): Likewise.
4273 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4274 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4275 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4276 [XPG3 || XPG4] (clockid_t): Likewise.
4277 [XPG3 || XPG4] (timer_t): Likewise.
4278 [XPG3 || XPG4] (clock_getres): Likewise.
4279 [XPG3 || XPG4] (clock_gettime): Likewise.
4280 [XPG3 || XPG4] (clock_settime): Likewise.
4281 [XPG3 || XPG4] (nanosleep): Likewise.
4282 [XPG3 || XPG4] (timer_create): Likewise.
4283 [XPG3 || XPG4] (timer_delete): Likewise.
4284 [XPG3 || XPG4] (timer_gettime): Likewise.
4285 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4286 [XPG3 || XPG4] (timer_settime): Likewise.
4287 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4288 [XPG3 || XPG4] (getlogin_r): Likewise.
4289 [XPG3 || XPG4] (pread): Likewise.
4290 [XPG3 || XPG4] (pthread_atfork): Likewise.
4291 [XPG3 || XPG4] (pwrite): Likewise.
4292
ee663277
JM
4293 [BZ #14835]
4294 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4295 <bits/siginfo.h>.
4296
942caa16
PT
42972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4298
e19af380
PT
4299 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4300 finalizing MALLSTREAM.
4301
942caa16
PT
4302 * sysdeps/mach/hurd/syncfs.c: New file.
4303
cfde9b46
SP
43042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
4306 [BZ #14719]
4307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4308 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4309 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4310 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4311 (_nss_dns_gethostbyname4_r): Likewise.
4312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4313 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4314
f6da27e5
PH
43152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4316
4317 [BZ #13763]
4318 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4319
6665d4a2
SM
43202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4321
1f51ee92
SM
4322 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4323 * elf/cache.c (print_entry): Print ",AArch64" for
4324 FLAG_AARCH64_LIB64
4325
6665d4a2
SM
4326 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4327 * elf/cache.c (print_entry): Print ",hard-float" for
4328 FLAG_ARM_LIBHF.
4329
05b227bd
DM
43302012-11-18 David S. Miller <davem@davemloft.net>
4331
4332 With help from Joseph Myers.
4333 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4334 cutoff to 2**-13.
4335 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4336 cutoff to 2**-25.
4337 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4338 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4339 small.
4340 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4341 * math/libm-test.inc (y0_test): New tests.
4342 (y1_test): New tests.
4343 * sysdeps/i386/fpu/libm-test-ulps: Update.
4344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4346
786b0b67
AS
43472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4348
4349 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4350 64-bit targets.
4351 * configure: Regenerated.
4352
8e18b86d
DM
43532012-11-17 David S. Miller <davem@davemloft.net>
4354
4355 [BZ #14811]
4356 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4357 nonzero exponents with absolute value below 0x1p-128 to +/-
4358 0x1p-128.
4359
531f1ae0
JM
43602012-11-17 Joseph Myers <joseph@codesourcery.com>
4361
12df29e2
JM
4362 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
4363
150dc1a0
JM
4364 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
4365
531f1ae0
JM
4366 * posix/getconf-speclist.c: New file.
4367 * posix/posix-envs.def: Likewise.
4368 * posix/confstr.c (START_ENV_GROUP): New macro.
4369 (END_ENV_GROUP): Likewise.
4370 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4371 (KNOWN_PRESENT_ENV_STRING): Likewise.
4372 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4373 (UNKNOWN_ENVIRONMENT): Likewise.
4374 (confstr): Include posix-envs.def instead of handling
4375 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
4376 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
4377 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
4378 (END_ENV_GROUP): Likewise.
4379 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
4380 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
4381 (UNKNOWN_ENVIRONMENT): Likewise.
4382 (__sysconf): Include posix-envs.def instead of handling associated
4383 cases directly here.
4384 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
4385 preprocessing getconf-speclist.c rather than running getconf or
4386 generating empty file.
4387
a93f9cbc
PT
43882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
4389
4390 * scripts/check-local-headers.sh: Ignore 'mach' headers.
4391
d64d9f87
AL
43922012-11-16 Andrej Lajovic <natrij@gmail.com>
4393
4394 [BZ #14672]
4395 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
4396
447885eb
DM
43972012-11-16 David S. Miller <davem@davemloft.net>
4398
4399 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
4400 smaller than LDBL_EPSILON/2.0L, just return xm1.
4401
bcbf9830
L
44022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
4403
4404 * elf/tst-array1.c (init): Set constructor priority to 1000.
4405 (fini): Set destructor priority to 1000.
4406 * elf/tst-array2dep.c: Likewise.
4407
2b766585
SP
44082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4409
4410 [BZ #11741]
4411 * libio/fileops.c (_IO_new_file_write): Correctly return error.
4412 (_IO_new_file_xsputn): Also return EOF if none of the input
4413 data was written when overflow failed.
4414 * libio/iopadn.c (_IO_padn): Likewise.
4415 * libio/iowpadn.c (_IO_wpadn): Likewise.
4416 * stdio-common/tst-put-error.c: Add copyright notice.
4417 (do_test): Add case for printing padded string.
4418 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
4419 _IO_padn returned error.
4420 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
4421 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
4422 return EOF.
4423
b1848fde
SP
44242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4425
4426 * libio/libioP.h: Add comment note that the references to C++
4427 bits are now obsolete.
4428
2fd89785
MS
44292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4430
4431 * math/libm-test.inc (check_complex): Use asprintf.
4432
e3ea5409
JM
44332012-11-14 Joseph Myers <joseph@codesourcery.com>
4434
4435 * debug/pcprofiledump.c (print_version): Update copyright year.
4436 * malloc/memusagestat.c (print_version): Likewise.
4437
2e64d265
L
44382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
4439
4440 [BZ #14831]
4441 * elf/Makefile (tests): Add tst-audit8.
4442 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
4443 ($(objpfx)tst-audit8.out): New target.
4444 (tst-audit8-ENV): New variable.
4445 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
4446 audit if l_reloc_result is NULL.
4447 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
4448 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
4449 * elf/tst-audit8.c: New file.
4450
c485e4d2
MS
44512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4452
4453 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
4454 * misc/Makefile (CFLAGS-select.c): Define.
4455 * posix/Makefile (CFLAGS-pause.c): Define.
4456
3a0d900a
DM
44572012-11-13 David S. Miller <davem@davemloft.net>
4458
4459 * crypt/Makefile: Move test targets after toplevel Rules
4460 inclusion. Grab any necessary sysdep routines when linking.
4461 * crypt/md5.c (md5_process_block): Remove define, we will always
4462 name it __md5_process_block.
4463 (md5_finish_ctx): Update md5_process_block call.
4464 (md5_stream): Likewise.
4465 (md5_process_bytes): Likewise.
4466 (md5_process_block): Rename to __md5_process_block and move to ...
4467 * crypt/md5-block.c: ... here.
4468 * crypt/sha256.c (sha256_process_block): Move to ...
4469 * crypt/sha256-block.c: ... here.
4470 * crypt/sha512.c (sha512_process_block): Move to ...
4471 * crypt/sha512-block.c: ... here.
4472 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
4473 path.
4474 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
4475 * sysdeps/sparc/sparc64/multiarch/Makefile
4476 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
4477 crypt subdir.
4478 (localedef-aux): Add md5 crypto assembler when in locale subdir.
4479 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
4480 multiarch changes.
4481 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
4482 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
4483 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
4484 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
4485 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
4486 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
4487 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
4488 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
4489 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
4490 file.
4491 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
4492 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
4493 file.
4494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
4495
8ca89318
JM
44962012-11-13 Joseph Myers <joseph@codesourcery.com>
4497
e27d476a
JM
4498 * timezone/tzselect.ksh: Update from tzcode git revision
4499 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
4500 * timezone/zdump.c: Likewise.
4501 * timezone/zic.c: Likewise.
4502 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
4503 in TZVERSION setting, not $(PKGVERSION).
4504 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
4505 REPORT_BUGS_TO settings.
4506
8ca89318
JM
4507 [BZ #14838]
4508 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
4509 macro.
4510
47594329
MS
45112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4512
4513 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
4514 detection to immediately after _FP_ROUND().
4515 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
4516 bits are 0.
4517
640ac3f1
DM
45182012-11-11 David S. Miller <davem@davemloft.net>
4519
4520 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
4521 inttypes.h
4522 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
4523 __close rather than their public counterparts.
4524
3d2577bb
JM
45252012-11-10 Joseph Myers <joseph@codesourcery.com>
4526
4527 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
4528 file.
4529 [UNIX98] (sem_timedwait): Do not expect.
4530 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
4531 [XPG4 || UNIX98] (sockatmark): Do not expect.
4532 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
4533 (clock_getcpuclockid): Do not expect.
4534 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
4535 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
4536 Do not expect.
4537 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
4538 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
4539 [UNIX98] (vwscanf): Likewise.
4540 [UNIX98] (vswscanf): Likewise.
4541
fb1ae1ee
JM
45422012-11-09 Joseph Myers <joseph@codesourcery.com>
4543
9ec6f8bd
JM
4544 * timezone/version.h: Remove file.
4545 * timezone/README: Do not refer to version.h.
4546 * timezone/Makefile ($(objpfx)zic.o): New dependency on
4547 $(objpfx)version.h.
4548 ($(objpfx)zdump.o): Likewise.
c3f81911 4549 ($(objpfx)version.h): New target.
9ec6f8bd 4550
0aa8f8a1
JM
4551 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
4552 2012i.
4553 * timezone/README: Don't mention modification to tzselect.ksh.
4554 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
4555 work on unmodified tzselect.ksh. Substitute version numbers in
4556 tzselect.ksh.
4557
4e87147f
JM
4558 * Makefile (format-me): Remove.
4559 (INSTALL): Adjust indentation. Use commands directly instead of
4560 using $(format-me).
4561
8b748aed
JM
4562 * aclocal.m4 (ACX_PKGVERSION): New macro.
4563 (ACX_BUGURL): Likewise.
4564 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
4565 (PKGVERSION): New AC_DEFINE_UNQUOTED.
4566 (REPORT_BUGS_TO): Likewise.
4567 * configure: Regenerated.
4568 * config.h.in (PKGVERSION): New macro.
4569 (REPORT_BUGS_TO): Likewise.
4570 * config.make.in (PKGVERSION): New variable.
4571 (PKGVERSION_TEXI): Likewise.
4572 (REPORT_BUGS_TO): Likewise.
4573 (REPORT_BUGS_TEXI): Likewise.
4574 * Makefile (format-me): Use -I$(common-objpfx)manual.
4575 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
4576 ($(common-objpfx)manual/%): New target.
4577 (manual/%): Remove target.
4578 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
4579 (print_version): Use PKGVERSION.
4580 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
4581 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
4582 and REPORT_BUGS_TO.
4583 ($(objpfx)xtrace): Likewise.
4584 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
4585 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
4586 (print_version): Use PKGVERSION.
4587 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
4588 (do_version): Use PKGVERSION.
4589 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
4590 REPORT_BUGS_TO.
4591 (common-ldd-rewrite): Likewise.
4592 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
4593 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
4594 (print_version): Use PKGVERSION.
4595 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
4596 * elf/pldd.c (argp_program_bug_address): Remove variable.
4597 (more_help): New function.
4598 (argp): Use more_help.
4599 (print_version): Use PKGVERSION.
4600 * elf/sln.c (main): Use PKGVERSION.
4601 (usage): Use REPORT_BUGS_TO.
4602 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
4603 (top level): Use PKGVERSION.
4604 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
4605 (print_version): Use PKGVERSION.
4606 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
4607 (print_version): Use PKGVERSION.
4608 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
4609 (print_version): Use PKGVERSION.
4610 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
4611 (print_version): Use PKGVERSION.
4612 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
4613 (print_version): Use PKGVERSION.
4614 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
4615 (print_version): Use PKGVERSION.
4616 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
4617 and BUGURL.
4618 ($(objpfx)memusage): Likewise.
4619 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
4620 (do_version): Use PKGVERSION.
4621 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
4622 (print_version): Use PKGVERSION.
4623 * malloc/mtrace.pl ($PACKAGE): Remove variable.
4624 ($PKGVERSION): New variable.
4625 ($REPORT_BUGS_TO): Likewise.
4626 (usage): Use $REPORT_BUGS_TO.
4627 (top level): Use $PKGVERSION.
4628 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
4629 ($(objpfx)pkgvers.texi): New rule.
4630 ($(objpfx)stamp-pkgvers): Likewise.
4631 * manual/install.texi: Include pkgvers.texi.
4632 (--with-pkgversion): Document new configure option.
4633 (--with-bugurl): Likewise.
4634 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
4635 than necessarily for this particular distribution. Use
4636 REPORT_BUGS_TO for where to report bugs.
4637 * INSTALL: Regenerated.
4638 * manual/libc.texinfo: Include pkgvers.texi.
4639 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
4640 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
4641 (print_version): Use PKGVERSION.
4642 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
4643 (print_version): Use PKGVERSION.
4644 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
4645 (print_version): Use PKGVERSION.
4646 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
4647 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
4648 macro.
4649 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
4650 (print_version): Use PKGVERSION.
4651 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
4652 (print_version): Use PKGVERSION.
4653 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
4654 and PKGVERSION.
4655
92e4b6a9
JM
4656 * timezone/checktab.awk: Update from tzcode 2012i.
4657 * timezone/ialloc.c: Likewise.
4658 * timezone/private.h: Likewise.
4659 * timezone/scheck.c: Likewise.
4660 * timezone/tzfile.h: Likewise.
4661 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
4662 (TZVERSION): Hardcode tzcode version number.
4663 * timezone/zdump.c: Update from tzcode 2012i.
4664 * timezone/zic.c: Likewise.
4665 * timezone/version.h: New file.
4666 * timezone/README: Describe version.h. Update upstream location.
4667
9bde902c
JM
4668 [BZ #14824]
4669 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
4670 (mktemp): Enable declaration.
4671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
4672 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
4673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
4674 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
4675 Likewise.
4676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
4677 Likewise.
4678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
4679 Likewise.
4680 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
4681 Likewise.
4682 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
4683 Likewise.
4684 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
4685 Likewise.
4686
fb1ae1ee
JM
4687 [BZ #14821]
4688 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
4689 offset in buffer as u_int32_t not u_long. Consistently use memcpy
4690 for copies of such integer values.
4691 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
4692 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
4693
2c1adbcb
AJ
46942012-11-09 Andreas Jaeger <aj@suse.de>
4695
4696 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
4697 definitions and declarations that are provided by
4698 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
4699
d0f8457e
AK
47002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4701
3a235abb 4702 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
4703 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
4704 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
4705 definition.
4706
57241e26
MS
47072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4708
4709 * elf/elf.h: Update comment before AArch64 relocations.
4710
60e8270d
DM
47112012-11-07 David S. Miller <davem@davemloft.net>
4712
4713 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
4714 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4715 (__start_context): Declare.
4716 (__makecontext_ret): Delete.
4717 (__makecontext): Hook up __start_context instead of
4718 __makecontext_ret.
4719 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4720 (sysdep_routines): Add __start_context when in stdlib.
4721
0fbb0fbc
JM
47222012-11-07 Joseph Myers <joseph@codesourcery.com>
4723
4724 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
4725 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
4726 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
4727 hardcoded "nm".
4728 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
4729 (READELF): New variable. Use it instead of hardcoded "readelf".
4730
eb48db7e
L
47312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
4732
4733 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
4734 * sysdeps/x86/Makefile: Here.
4735 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
4736 * sysdeps/x86/tst-xmmymm.sh: This.
4737
05bcf62a
JM
47382012-11-07 Joseph Myers <joseph@codesourcery.com>
4739
c4b6cf53
JM
4740 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
4741 expectations.
4742 [UNIX98] (pthread_barrier_t): Do not expect.
4743 [UNIX98] (pthread_barrierattr_t): Likewise.
4744 [UNIX98] (pthread_spinlock_t): Likewise.
4745 [UNIX98] (pthread_barrier_destroy): Likewise.
4746 [UNIX98] (pthread_barrier_init): Likewise.
4747 [UNIX98] (pthread_barrier_wait): Likewise.
4748 [UNIX98] (pthread_barrierattr_destroy): Likewise.
4749 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
4750 [UNIX98] (pthread_barrierattr_init): Likewise.
4751 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
4752 [UNIX98] (pthread_getcpuclockid): Likewise.
4753 [UNIX98] (pthread_mutex_timedlock): Likewise.
4754 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
4755 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
4756 [UNIX98] (pthread_sigmask): Likewise.
4757 [UNIX98] (pthread_spin_destroy): Likewise.
4758 [UNIX98] (pthread_spin_init): Likewise.
4759 [UNIX98] (pthread_spin_lock): Likewise.
4760 [UNIX98] (pthread_spin_trylock): Likewise.
4761 [UNIX98] (pthread_spin_unlock): Likewise.
4762 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
4763 Do not expect.
4764 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
4765 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
4766 [XPG3 || XPG4] (pthread_cond_t): Likewise.
4767 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
4768 [XPG3 || XPG4] (pthread_key_t): Likewise.
4769 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
4770 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
4771 [XPG3 || XPG4] (pthread_once_t): Likewise.
4772 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
4773 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
4774 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
4775 [XPG3 || XPG4] (pthread_t): Likewise.
4776
cbe6e120
JM
4777 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
4778 not expect.
4779 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
4780
1b126443
JM
4781 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
4782 Change function return type to int.
4783
b961a573
JM
4784 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
4785 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
4786 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
4787 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
4788 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
4789 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
4790 [!POSIX] (posix_madvise): Likewise.
4791 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
4792 && !UNIX98].
4793 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
4794 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
4795 (mode_t): Likewise.
4796 (posix_mem_offset): Likewise.
4797 (posix_typed_mem_get_info): Likewise.
4798 (posix_typed_mem_open): Likewise.
4799
9e188909
JM
4800 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
4801 Change condition to [XOPEN2K8].
4802
05bcf62a
JM
4803 * conform/conformtest.pl: Preprocess allow-header data with -x c
4804 instead of from stdin.
4805 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
4806 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
4807 [C99-based standards] (cerfc): Likewise.
4808 [C99-based standards] (cexp2): Likewise.
4809 [C99-based standards] (cexpm1): Likewise.
4810 [C99-based standards] (clog10): Likewise.
4811 [C99-based standards] (clog1p): Likewise.
4812 [C99-based standards] (clog2): Likewise.
4813 [C99-based standards] (clgamma): Likewise.
4814 [C99-based standards] (ctgamma): Likewise.
4815 [C99-based standards] (cerff): Likewise.
4816 [C99-based standards] (cerfcf): Likewise.
4817 [C99-based standards] (cexp2f): Likewise.
4818 [C99-based standards] (cexpm1f): Likewise.
4819 [C99-based standards] (clog10f): Likewise.
4820 [C99-based standards] (clog1pf): Likewise.
4821 [C99-based standards] (clog2f): Likewise.
4822 [C99-based standards] (clgammaf): Likewise.
4823 [C99-based standards] (ctgammaf): Likewise.
4824 [C99-based standards] (cerfl): Likewise.
4825 [C99-based standards] (cerfcl): Likewise.
4826 [C99-based standards] (cexp2l): Likewise.
4827 [C99-based standards] (cexpm1l): Likewise.
4828 [C99-based standards] (clog10l): Likewise.
4829 [C99-based standards] (clog1pl): Likewise.
4830 [C99-based standards] (clog2l): Likewise.
4831 [C99-based standards] (clgammal): Likewise.
4832 [C99-based standards] (ctgammal): Likewise.
4833 * conform/data/inttypes.h-data [C99-based standards]: Include
4834 stdint.h-data. Remove all expectations for stdint.h contents.
4835 [C99-based standards] (PRI*): Do not allow.
4836 [C99-based standards] (SCN*): Likewise.
4837 [C99-based standards] (*_t): Likewise.
4838 [C99-based-standards] (PRId8): Expect macro.
4839 [C99-based-standards] (PRIi8): Likewise.
4840 [C99-based-standards] (PRIo8): Likewise.
4841 [C99-based-standards] (PRIu8): Likewise.
4842 [C99-based-standards] (PRIx8): Likewise.
4843 [C99-based-standards] (PRIX8): Likewise.
4844 [C99-based-standards] (SCNd8): Likewise.
4845 [C99-based-standards] (SCNi8): Likewise.
4846 [C99-based-standards] (SCNo8): Likewise.
4847 [C99-based-standards] (SCNu8): Likewise.
4848 [C99-based-standards] (SCNx8): Likewise.
4849 [C99-based-standards] (PRIdLEAST8): Likewise.
4850 [C99-based-standards] (PRIiLEAST8): Likewise.
4851 [C99-based-standards] (PRIoLEAST8): Likewise.
4852 [C99-based-standards] (PRIuLEAST8): Likewise.
4853 [C99-based-standards] (PRIxLEAST8): Likewise.
4854 [C99-based-standards] (PRIXLEAST8): Likewise.
4855 [C99-based-standards] (SCNdLEAST8): Likewise.
4856 [C99-based-standards] (SCNiLEAST8): Likewise.
4857 [C99-based-standards] (SCNoLEAST8): Likewise.
4858 [C99-based-standards] (SCNuLEAST8): Likewise.
4859 [C99-based-standards] (SCNxLEAST8): Likewise.
4860 [C99-based-standards] (PRIdFAST8): Likewise.
4861 [C99-based-standards] (PRIiFAST8): Likewise.
4862 [C99-based-standards] (PRIoFAST8): Likewise.
4863 [C99-based-standards] (PRIuFAST8): Likewise.
4864 [C99-based-standards] (PRIxFAST8): Likewise.
4865 [C99-based-standards] (PRIXFAST8): Likewise.
4866 [C99-based-standards] (SCNdFAST8): Likewise.
4867 [C99-based-standards] (SCNiFAST8): Likewise.
4868 [C99-based-standards] (SCNoFAST8): Likewise.
4869 [C99-based-standards] (SCNuFAST8): Likewise.
4870 [C99-based-standards] (SCNxFAST8): Likewise.
4871 [C99-based-standards] (PRId16): Likewise.
4872 [C99-based-standards] (PRIi16): Likewise.
4873 [C99-based-standards] (PRIo16): Likewise.
4874 [C99-based-standards] (PRIu16): Likewise.
4875 [C99-based-standards] (PRIx16): Likewise.
4876 [C99-based-standards] (PRIX16): Likewise.
4877 [C99-based-standards] (SCNd16): Likewise.
4878 [C99-based-standards] (SCNi16): Likewise.
4879 [C99-based-standards] (SCNo16): Likewise.
4880 [C99-based-standards] (SCNu16): Likewise.
4881 [C99-based-standards] (SCNx16): Likewise.
4882 [C99-based-standards] (PRIdLEAST16): Likewise.
4883 [C99-based-standards] (PRIiLEAST16): Likewise.
4884 [C99-based-standards] (PRIoLEAST16): Likewise.
4885 [C99-based-standards] (PRIuLEAST16): Likewise.
4886 [C99-based-standards] (PRIxLEAST16): Likewise.
4887 [C99-based-standards] (PRIXLEAST16): Likewise.
4888 [C99-based-standards] (SCNdLEAST16): Likewise.
4889 [C99-based-standards] (SCNiLEAST16): Likewise.
4890 [C99-based-standards] (SCNoLEAST16): Likewise.
4891 [C99-based-standards] (SCNuLEAST16): Likewise.
4892 [C99-based-standards] (SCNxLEAST16): Likewise.
4893 [C99-based-standards] (PRIdFAST16): Likewise.
4894 [C99-based-standards] (PRIiFAST16): Likewise.
4895 [C99-based-standards] (PRIoFAST16): Likewise.
4896 [C99-based-standards] (PRIuFAST16): Likewise.
4897 [C99-based-standards] (PRIxFAST16): Likewise.
4898 [C99-based-standards] (PRIXFAST16): Likewise.
4899 [C99-based-standards] (SCNdFAST16): Likewise.
4900 [C99-based-standards] (SCNiFAST16): Likewise.
4901 [C99-based-standards] (SCNoFAST16): Likewise.
4902 [C99-based-standards] (SCNuFAST16): Likewise.
4903 [C99-based-standards] (SCNxFAST16): Likewise.
4904 [C99-based-standards] (PRId32): Likewise.
4905 [C99-based-standards] (PRIi32): Likewise.
4906 [C99-based-standards] (PRIo32): Likewise.
4907 [C99-based-standards] (PRIu32): Likewise.
4908 [C99-based-standards] (PRIx32): Likewise.
4909 [C99-based-standards] (PRIX32): Likewise.
4910 [C99-based-standards] (SCNd32): Likewise.
4911 [C99-based-standards] (SCNi32): Likewise.
4912 [C99-based-standards] (SCNo32): Likewise.
4913 [C99-based-standards] (SCNu32): Likewise.
4914 [C99-based-standards] (SCNx32): Likewise.
4915 [C99-based-standards] (PRIdLEAST32): Likewise.
4916 [C99-based-standards] (PRIiLEAST32): Likewise.
4917 [C99-based-standards] (PRIoLEAST32): Likewise.
4918 [C99-based-standards] (PRIuLEAST32): Likewise.
4919 [C99-based-standards] (PRIxLEAST32): Likewise.
4920 [C99-based-standards] (PRIXLEAST32): Likewise.
4921 [C99-based-standards] (SCNdLEAST32): Likewise.
4922 [C99-based-standards] (SCNiLEAST32): Likewise.
4923 [C99-based-standards] (SCNoLEAST32): Likewise.
4924 [C99-based-standards] (SCNuLEAST32): Likewise.
4925 [C99-based-standards] (SCNxLEAST32): Likewise.
4926 [C99-based-standards] (PRIdFAST32): Likewise.
4927 [C99-based-standards] (PRIiFAST32): Likewise.
4928 [C99-based-standards] (PRIoFAST32): Likewise.
4929 [C99-based-standards] (PRIuFAST32): Likewise.
4930 [C99-based-standards] (PRIxFAST32): Likewise.
4931 [C99-based-standards] (PRIXFAST32): Likewise.
4932 [C99-based-standards] (SCNdFAST32): Likewise.
4933 [C99-based-standards] (SCNiFAST32): Likewise.
4934 [C99-based-standards] (SCNoFAST32): Likewise.
4935 [C99-based-standards] (SCNuFAST32): Likewise.
4936 [C99-based-standards] (SCNxFAST32): Likewise.
4937 [C99-based-standards] (PRId64): Likewise.
4938 [C99-based-standards] (PRIi64): Likewise.
4939 [C99-based-standards] (PRIo64): Likewise.
4940 [C99-based-standards] (PRIu64): Likewise.
4941 [C99-based-standards] (PRIx64): Likewise.
4942 [C99-based-standards] (PRIX64): Likewise.
4943 [C99-based-standards] (SCNd64): Likewise.
4944 [C99-based-standards] (SCNi64): Likewise.
4945 [C99-based-standards] (SCNo64): Likewise.
4946 [C99-based-standards] (SCNu64): Likewise.
4947 [C99-based-standards] (SCNx64): Likewise.
4948 [C99-based-standards] (PRIdLEAST64): Likewise.
4949 [C99-based-standards] (PRIiLEAST64): Likewise.
4950 [C99-based-standards] (PRIoLEAST64): Likewise.
4951 [C99-based-standards] (PRIuLEAST64): Likewise.
4952 [C99-based-standards] (PRIxLEAST64): Likewise.
4953 [C99-based-standards] (PRIXLEAST64): Likewise.
4954 [C99-based-standards] (SCNdLEAST64): Likewise.
4955 [C99-based-standards] (SCNiLEAST64): Likewise.
4956 [C99-based-standards] (SCNoLEAST64): Likewise.
4957 [C99-based-standards] (SCNuLEAST64): Likewise.
4958 [C99-based-standards] (SCNxLEAST64): Likewise.
4959 [C99-based-standards] (PRIdFAST64): Likewise.
4960 [C99-based-standards] (PRIiFAST64): Likewise.
4961 [C99-based-standards] (PRIoFAST64): Likewise.
4962 [C99-based-standards] (PRIuFAST64): Likewise.
4963 [C99-based-standards] (PRIxFAST64): Likewise.
4964 [C99-based-standards] (PRIXFAST64): Likewise.
4965 [C99-based-standards] (SCNdFAST64): Likewise.
4966 [C99-based-standards] (SCNiFAST64): Likewise.
4967 [C99-based-standards] (SCNoFAST64): Likewise.
4968 [C99-based-standards] (SCNuFAST64): Likewise.
4969 [C99-based-standards] (SCNxFAST64): Likewise.
4970 [C99-based-standards] (PRIdMAX): Likewise.
4971 [C99-based-standards] (PRIiMAX): Likewise.
4972 [C99-based-standards] (PRIoMAX): Likewise.
4973 [C99-based-standards] (PRIuMAX): Likewise.
4974 [C99-based-standards] (PRIxMAX): Likewise.
4975 [C99-based-standards] (PRIXMAX): Likewise.
4976 [C99-based-standards] (SCNdMAX): Likewise.
4977 [C99-based-standards] (SCNiMAX): Likewise.
4978 [C99-based-standards] (SCNoMAX): Likewise.
4979 [C99-based-standards] (SCNuMAX): Likewise.
4980 [C99-based-standards] (SCNxMAX): Likewise.
4981 [C99-based-standards] (PRIdPTR): Likewise.
4982 [C99-based-standards] (PRIiPTR): Likewise.
4983 [C99-based-standards] (PRIoPTR): Likewise.
4984 [C99-based-standards] (PRIuPTR): Likewise.
4985 [C99-based-standards] (PRIxPTR): Likewise.
4986 [C99-based-standards] (PRIXPTR): Likewise.
4987 [C99-based-standards] (SCNdPTR): Likewise.
4988 [C99-based-standards] (SCNiPTR): Likewise.
4989 [C99-based-standards] (SCNoPTR): Likewise.
4990 [C99-based-standards] (SCNuPTR): Likewise.
4991 [C99-based-standards] (SCNxPTR): Likewise.
4992 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
4993 allow.
4994 * conform/data/stdint.h-data: Update comments to clarify
4995 requirements.
4996 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
4997 type.
4998 [C99-based standards] (INT8_MAX): Likewise.
4999 [C99-based standards] (INT16_MIN): Likewise.
5000 [C99-based standards] (INT16_MAX): Likewise.
5001 [C99-based standards] (INT32_MIN): Likewise.
5002 [C99-based standards] (INT32_MAX): Likewise.
5003 [C99-based standards] (INT64_MIN): Likewise.
5004 [C99-based standards] (INT64_MAX): Likewise.
5005 [C99-based standards] (UINT8_MAX): Likewise.
5006 [C99-based standards] (UINT16_MAX): Likewise.
5007 [C99-based standards] (UINT32_MAX): Likewise.
5008 [C99-based standards] (UINT64_MAX): Likewise.
5009 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5010 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5011 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5012 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5013 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5014 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5015 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5016 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5017 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5018 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5019 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5020 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5021 [C99-based standards] (INT_FAST8_MIN): Likewise.
5022 [C99-based standards] (INT_FAST8_MAX): Likewise.
5023 [C99-based standards] (INT_FAST16_MIN): Likewise.
5024 [C99-based standards] (INT_FAST16_MAX): Likewise.
5025 [C99-based standards] (INT_FAST32_MIN): Likewise.
5026 [C99-based standards] (INT_FAST32_MAX): Likewise.
5027 [C99-based standards] (INT_FAST64_MIN): Likewise.
5028 [C99-based standards] (INT_FAST64_MAX): Likewise.
5029 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5030 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5031 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5032 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5033 [C99-based standards] (INTPTR_MIN): Likewise.
5034 [C99-based standards] (INTPTR_MAX): Likewise.
5035 [C99-based standards] (UINTPTR_MAX): Likewise.
5036 [C99-based standards] (INTMAX_MIN): Likewise.
5037 [C99-based standards] (INTMAX_MAX): Likewise.
5038 [C99-based standards] (UINTMAX_MAX): Likewise.
5039 [C99-based standards] (PTRDIFF_MIN): Likewise.
5040 [C99-based standards] (PTRDIFF_MAX): Likewise.
5041 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5042 [C99-based standards] (SIZE_MAX): Likewise.
5043 [C99-based standards] (WCHAR_MAX): Likewise.
5044 [C99-based standards] (WINT_MAX): Likewise.
5045 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5046 constraint on value.
5047 [C99-based standards] (WCHAR_MIN): Likewise.
5048 [C99-based standards] (WINT_MIN): Likewise.
5049 [C99-based standards] (*_t): Allow.
5050 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5051 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5052 Include math.h-data and complex.h-data. Remove all expectations
5053 of math.h and complex.h contents.
5054 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5055 at end of line.
5056 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5057 (struct tm): Expect tag.
5058 [C99-based-standards] (wcstof): Expect function.
5059 [C99-based-standards] (wcstold): Likewise.
5060 [C99-based-standards] (wcstoll): Likewise.
5061 [C99-based-standards] (wcstoull): Likewise.
5062 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5063 macro-int-constant. Specify type.
5064 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5065 constraint on value.
5066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5067 Specify type.
5068 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5069 Specify value.
5070 [ISO C standards]: Do not allow headers.
5071 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5072 wcs[abcdefghijklmnopqrstuvwxyz]*.
5073 [ISO C standards] (*_t): Do not allow.
5074 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5075 Expect function.
5076 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5077 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5078 Specify type.
5079 [ISO C standards]: Do not allow headers.
5080 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5081 is[abcdefghijklmnopqrstuvwxyz]*.
5082 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5083 to[abcdefghijklmnopqrstuvwxyz]*.
5084 [ISO C standards] (*_t): Do not allow.
5085 * conform/data/stdalign.h-data: New file.
5086 * conform/data/stdbool.h-data: Likewise.
5087 * conform/data/stdnoreturn.h-data: Likewise.
5088
7514feb8
RM
50892012-11-07 Roland McGrath <roland@hack.frob.com>
5090
5091 [BZ #14815]
5092 * manual/filesys.texi (Directory Entries): Typo fix.
5093 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5094
19b2ecfc
MS
50952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5096
5097 * elf/elf.h (EM_AARCH64): New macro.
5098 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5099 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5100 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5101 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5102 (R_AARCH64_TLSDESC): Likewise.
5103 (NT_ARM_TLS): Likewise.
5104 (NT_ARM_HW_BREAK): Likewise.
5105 (NT_ARM_HW_WATCH): Likewise.
5106
60e235ee
JM
51072012-11-07 Joseph Myers <joseph@codesourcery.com>
5108
5109 [BZ #14811]
5110 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5111 (__ieee754_powl): Saturate nonzero exponents with absolute value
5112 below 0x1p-79 to +/- 0x1p-79.
5113 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5114 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5115 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5116 nonzero exponents with absolute value below 0x1p-32 to +/-
5117 0x1p-32.
5118 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5119 (__ieee754_powl): Saturate nonzero exponents with absolute value
5120 below 0x1p-79 to +/- 0x1p-79.
5121 * math/libm-test.inc (pow_test): Add more tests.
5122
0ab234b7
AK
51232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5124
5125 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5126 _dl_s390_cap_flags with kernel. Increase string length.
5127 (_dl_s390_platforms): Add z196 and zEC12.
5128
45832f74
JM
51292012-11-07 Joseph Myers <joseph@codesourcery.com>
5130
5131 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5132 Change XOPEN21K to XOPEN2K.
5133
19218757
MK
51342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5135
5136 * string/memmove.c: Use memcpy when possible.
5137
c5f45721
AJ
51382012-11-06 Andreas Jaeger <aj@suse.de>
5139
5140 * po/eo.po: Update from translation team.
5141
82477c28
JM
51422012-11-06 Joseph Myers <joseph@codesourcery.com>
5143
5144 [BZ #14793]
5145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5146 exponent and small x and y exponents, scale x or y up. Increase
5147 by 2 the exponent used in scaling up.
5148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5150 * math/libm-test.inc (fma_test): Add more tests.
5151 (fma_test_towardzero): Likewise.
5152 (fma_test_downward): Likewise.
5153 (fma_test_upward): Likewise.
5154
99252c8c
JM
51552012-11-05 Joseph Myers <joseph@codesourcery.com>
5156
acfa885f
JM
5157 [BZ #14805]
5158 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5159 fenv_t *.
5160
99252c8c
JM
5161 [BZ #14801]
5162 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5163 namespace for names of struct fields.
5164 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5165 fenv_t fields.
5166 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5167 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5168
d6d98dea
ST
51692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5170
5171 [BZ #3665]
5172 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5173
e10bb107
TS
51742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5175
5176 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5177 PTR_DEMANGLE.
5178
5179 [BZ #5246]
5180 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5181 PTR_DEMANGLE.
5182
a0c2940d
JM
51832012-11-04 Joseph Myers <joseph@codesourcery.com>
5184
5185 [BZ #14797]
5186 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5187 definitely overflow as x * y not x * y + z.
5188 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5189 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5190 * math/libm-test.inc (fma_test): Add more tests.
5191 (fma_test_towardzero): Likewise.
5192 (fma_test_downward): Likewise.
5193 (fma_test_upward): Likewise.
5194
b830319d
TS
51952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5196
5197 [BZ #157]
5198
5199 * include/stub-tag.h: Remove file.
5200 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5201 '#include' of it.
5202 * manual/maint.texi (Porting): Don't reference it.
5203 * Makerules ($(objpfx)stubs): Likewise.
5204 * dirent/closedir.c: Don't include <stub-tag.h>.
5205 * dirent/dirfd.c: Likewise.
5206 * dirent/fdopendir.c: Likewise.
5207 * dirent/getdents.c: Likewise.
5208 * dirent/getdents64.c: Likewise.
5209 * dirent/opendir.c: Likewise.
5210 * dirent/readdir.c: Likewise.
5211 * dirent/readdir64.c: Likewise.
5212 * dirent/readdir64_r.c: Likewise.
5213 * dirent/readdir_r.c: Likewise.
5214 * dirent/rewinddir.c: Likewise.
5215 * dirent/seekdir.c: Likewise.
5216 * dirent/telldir.c: Likewise.
5217 * gmon/profil.c: Likewise.
5218 * grp/setgroups.c: Likewise.
5219 * inet/if_index.c: Likewise.
5220 * io/access.c: Likewise.
5221 * io/chdir.c: Likewise.
5222 * io/chmod.c: Likewise.
5223 * io/chown.c: Likewise.
5224 * io/close.c: Likewise.
5225 * io/dup.c: Likewise.
5226 * io/dup2.c: Likewise.
5227 * io/dup3.c: Likewise.
5228 * io/euidaccess.c: Likewise.
5229 * io/faccessat.c: Likewise.
5230 * io/fchdir.c: Likewise.
5231 * io/fchmod.c: Likewise.
5232 * io/fchmodat.c: Likewise.
5233 * io/fchown.c: Likewise.
5234 * io/fchownat.c: Likewise.
5235 * io/fcntl.c: Likewise.
5236 * io/flock.c: Likewise.
5237 * io/fstatfs.c: Likewise.
5238 * io/fstatfs64.c: Likewise.
5239 * io/fstatvfs.c: Likewise.
5240 * io/fstatvfs64.c: Likewise.
5241 * io/futimens.c: Likewise.
5242 * io/fxstat.c: Likewise.
5243 * io/fxstat64.c: Likewise.
5244 * io/fxstatat.c: Likewise.
5245 * io/fxstatat64.c: Likewise.
5246 * io/getcwd.c: Likewise.
5247 * io/isatty.c: Likewise.
5248 * io/lchmod.c: Likewise.
5249 * io/lchown.c: Likewise.
5250 * io/link.c: Likewise.
5251 * io/linkat.c: Likewise.
5252 * io/lseek.c: Likewise.
5253 * io/lseek64.c: Likewise.
5254 * io/lxstat64.c: Likewise.
5255 * io/mkdir.c: Likewise.
5256 * io/mkdirat.c: Likewise.
5257 * io/mkfifo.c: Likewise.
5258 * io/mkfifoat.c: Likewise.
5259 * io/open.c: Likewise.
5260 * io/open64.c: Likewise.
5261 * io/openat.c: Likewise.
5262 * io/openat64.c: Likewise.
5263 * io/pipe.c: Likewise.
5264 * io/pipe2.c: Likewise.
5265 * io/poll.c: Likewise.
5266 * io/posix_fadvise.c: Likewise.
5267 * io/posix_fadvise64.c: Likewise.
5268 * io/posix_fallocate.c: Likewise.
5269 * io/posix_fallocate64.c: Likewise.
5270 * io/read.c: Likewise.
5271 * io/readlink.c: Likewise.
5272 * io/readlinkat.c: Likewise.
5273 * io/rmdir.c: Likewise.
5274 * io/sendfile.c: Likewise.
5275 * io/sendfile64.c: Likewise.
5276 * io/statfs.c: Likewise.
5277 * io/statfs64.c: Likewise.
5278 * io/statvfs.c: Likewise.
5279 * io/statvfs64.c: Likewise.
5280 * io/symlink.c: Likewise.
5281 * io/symlinkat.c: Likewise.
5282 * io/ttyname.c: Likewise.
5283 * io/ttyname_r.c: Likewise.
5284 * io/umask.c: Likewise.
5285 * io/unlink.c: Likewise.
5286 * io/unlinkat.c: Likewise.
5287 * io/utime.c: Likewise.
5288 * io/utimensat.c: Likewise.
5289 * io/write.c: Likewise.
5290 * io/xmknod.c: Likewise.
5291 * io/xmknodat.c: Likewise.
5292 * io/xstat.c: Likewise.
5293 * io/xstat64.c: Likewise.
5294 * login/getpt.c: Likewise.
5295 * login/grantpt.c: Likewise.
5296 * login/unlockpt.c: Likewise.
5297 * math/e_acoshl.c: Likewise.
5298 * math/e_acosl.c: Likewise.
5299 * math/e_asinl.c: Likewise.
5300 * math/e_atan2l.c: Likewise.
5301 * math/e_atanhl.c: Likewise.
5302 * math/e_coshl.c: Likewise.
5303 * math/e_expl.c: Likewise.
5304 * math/e_fmodl.c: Likewise.
5305 * math/e_gammal_r.c: Likewise.
5306 * math/e_hypotl.c: Likewise.
5307 * math/e_j0l.c: Likewise.
5308 * math/e_j1l.c: Likewise.
5309 * math/e_jnl.c: Likewise.
5310 * math/e_lgammal_r.c: Likewise.
5311 * math/e_log10l.c: Likewise.
5312 * math/e_log2l.c: Likewise.
5313 * math/e_logl.c: Likewise.
5314 * math/e_powl.c: Likewise.
5315 * math/e_rem_pio2l.c: Likewise.
5316 * math/e_sinhl.c: Likewise.
5317 * math/e_sqrtl.c: Likewise.
5318 * math/fclrexcpt.c: Likewise.
5319 * math/fedisblxcpt.c: Likewise.
5320 * math/feenablxcpt.c: Likewise.
5321 * math/fegetenv.c: Likewise.
5322 * math/fegetexcept.c: Likewise.
5323 * math/fegetround.c: Likewise.
5324 * math/feholdexcpt.c: Likewise.
5325 * math/fesetenv.c: Likewise.
5326 * math/fesetround.c: Likewise.
5327 * math/feupdateenv.c: Likewise.
5328 * math/fgetexcptflg.c: Likewise.
5329 * math/fraiseexcpt.c: Likewise.
5330 * math/fsetexcptflg.c: Likewise.
5331 * math/ftestexcept.c: Likewise.
5332 * math/k_cosl.c: Likewise.
5333 * math/k_rem_pio2l.c: Likewise.
5334 * math/k_sinl.c: Likewise.
5335 * math/k_tanl.c: Likewise.
5336 * math/s_asinhl.c: Likewise.
5337 * math/s_atanl.c: Likewise.
5338 * math/s_cbrtl.c: Likewise.
5339 * math/s_erfl.c: Likewise.
5340 * math/s_expm1l.c: Likewise.
5341 * math/s_log1pl.c: Likewise.
5342 * math/s_tanhl.c: Likewise.
5343 * misc/acct.c: Likewise.
5344 * misc/brk.c: Likewise.
5345 * misc/chflags.c: Likewise.
5346 * misc/chroot.c: Likewise.
5347 * misc/fchflags.c: Likewise.
5348 * misc/fgetxattr.c: Likewise.
5349 * misc/flistxattr.c: Likewise.
5350 * misc/fremovexattr.c: Likewise.
5351 * misc/fsetxattr.c: Likewise.
5352 * misc/fsync.c: Likewise.
5353 * misc/ftruncate.c: Likewise.
5354 * misc/futimes.c: Likewise.
5355 * misc/futimesat.c: Likewise.
5356 * misc/getdomain.c: Likewise.
5357 * misc/getdtsz.c: Likewise.
5358 * misc/gethostid.c: Likewise.
5359 * misc/gethostname.c: Likewise.
5360 * misc/getloadavg.c: Likewise.
5361 * misc/getpagesize.c: Likewise.
5362 * misc/getsysstats.c: Likewise.
5363 * misc/getxattr.c: Likewise.
5364 * misc/gtty.c: Likewise.
5365 * misc/ioctl.c: Likewise.
5366 * misc/lgetxattr.c: Likewise.
5367 * misc/listxattr.c: Likewise.
5368 * misc/llistxattr.c: Likewise.
5369 * misc/lremovexattr.c: Likewise.
5370 * misc/lsetxattr.c: Likewise.
5371 * misc/lutimes.c: Likewise.
5372 * misc/madvise.c: Likewise.
5373 * misc/mincore.c: Likewise.
5374 * misc/mlock.c: Likewise.
5375 * misc/mlockall.c: Likewise.
5376 * misc/mmap.c: Likewise.
5377 * misc/mprotect.c: Likewise.
5378 * misc/msync.c: Likewise.
5379 * misc/munlock.c: Likewise.
5380 * misc/munlockall.c: Likewise.
5381 * misc/munmap.c: Likewise.
5382 * misc/preadv.c: Likewise.
5383 * misc/preadv64.c: Likewise.
5384 * misc/ptrace.c: Likewise.
5385 * misc/pwritev.c: Likewise.
5386 * misc/pwritev64.c: Likewise.
5387 * misc/readv.c: Likewise.
5388 * misc/reboot.c: Likewise.
5389 * misc/remap_file_pages.c: Likewise.
5390 * misc/removexattr.c: Likewise.
5391 * misc/revoke.c: Likewise.
5392 * misc/select.c: Likewise.
5393 * misc/setdomain.c: Likewise.
5394 * misc/setegid.c: Likewise.
5395 * misc/seteuid.c: Likewise.
5396 * misc/sethostid.c: Likewise.
5397 * misc/sethostname.c: Likewise.
5398 * misc/setregid.c: Likewise.
5399 * misc/setreuid.c: Likewise.
5400 * misc/setxattr.c: Likewise.
5401 * misc/sstk.c: Likewise.
5402 * misc/stty.c: Likewise.
5403 * misc/swapoff.c: Likewise.
5404 * misc/swapon.c: Likewise.
5405 * misc/sync.c: Likewise.
5406 * misc/syncfs.c: Likewise.
5407 * misc/syscall.c: Likewise.
5408 * misc/truncate.c: Likewise.
5409 * misc/ualarm.c: Likewise.
5410 * misc/usleep.c: Likewise.
5411 * misc/ustat.c: Likewise.
5412 * misc/utimes.c: Likewise.
5413 * misc/vhangup.c: Likewise.
5414 * misc/writev.c: Likewise.
5415 * posix/_exit.c: Likewise.
5416 * posix/alarm.c: Likewise.
5417 * posix/execve.c: Likewise.
5418 * posix/fexecve.c: Likewise.
5419 * posix/fork.c: Likewise.
5420 * posix/fpathconf.c: Likewise.
5421 * posix/getaddrinfo.c: Likewise.
5422 * posix/getegid.c: Likewise.
5423 * posix/geteuid.c: Likewise.
5424 * posix/getgid.c: Likewise.
5425 * posix/getgroups.c: Likewise.
5426 * posix/getlogin.c: Likewise.
5427 * posix/getlogin_r.c: Likewise.
5428 * posix/getpgid.c: Likewise.
5429 * posix/getpid.c: Likewise.
5430 * posix/getppid.c: Likewise.
5431 * posix/getresgid.c: Likewise.
5432 * posix/getresuid.c: Likewise.
5433 * posix/getsid.c: Likewise.
5434 * posix/getuid.c: Likewise.
5435 * posix/glob64.c: Likewise.
5436 * posix/nanosleep.c: Likewise.
5437 * posix/pathconf.c: Likewise.
5438 * posix/pause.c: Likewise.
5439 * posix/posix_madvise.c: Likewise.
5440 * posix/pread.c: Likewise.
5441 * posix/pread64.c: Likewise.
5442 * posix/pwrite.c: Likewise.
5443 * posix/pwrite64.c: Likewise.
5444 * posix/sched_getaffinity.c: Likewise.
5445 * posix/sched_getp.c: Likewise.
5446 * posix/sched_gets.c: Likewise.
5447 * posix/sched_primax.c: Likewise.
5448 * posix/sched_primin.c: Likewise.
5449 * posix/sched_rr_gi.c: Likewise.
5450 * posix/sched_setaffinity.c: Likewise.
5451 * posix/sched_setp.c: Likewise.
5452 * posix/sched_sets.c: Likewise.
5453 * posix/sched_yield.c: Likewise.
5454 * posix/setgid.c: Likewise.
5455 * posix/setlogin.c: Likewise.
5456 * posix/setpgid.c: Likewise.
5457 * posix/setresgid.c: Likewise.
5458 * posix/setresuid.c: Likewise.
5459 * posix/setsid.c: Likewise.
5460 * posix/setuid.c: Likewise.
5461 * posix/sleep.c: Likewise.
5462 * posix/spawni.c: Likewise.
5463 * posix/sysconf.c: Likewise.
5464 * posix/times.c: Likewise.
5465 * posix/wait.c: Likewise.
5466 * posix/wait3.c: Likewise.
5467 * posix/wait4.c: Likewise.
5468 * posix/waitpid.c: Likewise.
5469 * resolv/gai_sigqueue.c: Likewise.
5470 * resource/getpriority.c: Likewise.
5471 * resource/getrlimit.c: Likewise.
5472 * resource/getrusage.c: Likewise.
5473 * resource/nice.c: Likewise.
5474 * resource/setpriority.c: Likewise.
5475 * resource/setrlimit.c: Likewise.
5476 * resource/ulimit.c: Likewise.
5477 * rt/aio_cancel.c: Likewise.
5478 * rt/aio_fsync.c: Likewise.
5479 * rt/aio_read.c: Likewise.
5480 * rt/aio_sigqueue.c: Likewise.
5481 * rt/aio_suspend.c: Likewise.
5482 * rt/aio_write.c: Likewise.
5483 * rt/clock_getres.c: Likewise.
5484 * rt/clock_gettime.c: Likewise.
5485 * rt/clock_nanosleep.c: Likewise.
5486 * rt/clock_settime.c: Likewise.
5487 * rt/lio_listio.c: Likewise.
5488 * rt/mq_close.c: Likewise.
5489 * rt/mq_getattr.c: Likewise.
5490 * rt/mq_notify.c: Likewise.
5491 * rt/mq_open.c: Likewise.
5492 * rt/mq_receive.c: Likewise.
5493 * rt/mq_send.c: Likewise.
5494 * rt/mq_setattr.c: Likewise.
5495 * rt/mq_timedreceive.c: Likewise.
5496 * rt/mq_timedsend.c: Likewise.
5497 * rt/mq_unlink.c: Likewise.
5498 * rt/shm_open.c: Likewise.
5499 * rt/shm_unlink.c: Likewise.
5500 * rt/timer_create.c: Likewise.
5501 * rt/timer_delete.c: Likewise.
5502 * rt/timer_getoverr.c: Likewise.
5503 * rt/timer_gettime.c: Likewise.
5504 * rt/timer_settime.c: Likewise.
5505 * setjmp/__longjmp.c: Likewise.
5506 * setjmp/setjmp.c: Likewise.
5507 * signal/kill.c: Likewise.
5508 * signal/killpg.c: Likewise.
5509 * signal/raise.c: Likewise.
5510 * signal/sigaction.c: Likewise.
5511 * signal/sigaltstack.c: Likewise.
5512 * signal/sigblock.c: Likewise.
5513 * signal/sigignore.c: Likewise.
5514 * signal/sigintr.c: Likewise.
5515 * signal/signal.c: Likewise.
5516 * signal/sigpause.c: Likewise.
5517 * signal/sigpending.c: Likewise.
5518 * signal/sigqueue.c: Likewise.
5519 * signal/sigreturn.c: Likewise.
5520 * signal/sigset.c: Likewise.
5521 * signal/sigsetmask.c: Likewise.
5522 * signal/sigstack.c: Likewise.
5523 * signal/sigsuspend.c: Likewise.
5524 * signal/sigtimedwait.c: Likewise.
5525 * signal/sigvec.c: Likewise.
5526 * signal/sigwait.c: Likewise.
5527 * signal/sigwaitinfo.c: Likewise.
5528 * signal/sysv_signal.c: Likewise.
5529 * socket/accept.c: Likewise.
5530 * socket/accept4.c: Likewise.
5531 * socket/bind.c: Likewise.
5532 * socket/connect.c: Likewise.
5533 * socket/getpeername.c: Likewise.
5534 * socket/getsockname.c: Likewise.
5535 * socket/getsockopt.c: Likewise.
5536 * socket/isfdtype.c: Likewise.
5537 * socket/listen.c: Likewise.
5538 * socket/recv.c: Likewise.
5539 * socket/recvfrom.c: Likewise.
5540 * socket/recvmsg.c: Likewise.
5541 * socket/send.c: Likewise.
5542 * socket/sendmsg.c: Likewise.
5543 * socket/sendto.c: Likewise.
5544 * socket/setsockopt.c: Likewise.
5545 * socket/shutdown.c: Likewise.
5546 * socket/sockatmark.c: Likewise.
5547 * socket/socket.c: Likewise.
5548 * socket/socketpair.c: Likewise.
5549 * stdio-common/ctermid.c: Likewise.
5550 * stdio-common/cuserid.c: Likewise.
5551 * stdio-common/remove.c: Likewise.
5552 * stdio-common/rename.c: Likewise.
5553 * stdio-common/renameat.c: Likewise.
5554 * stdio-common/tempname.c: Likewise.
5555 * stdlib/getcontext.c: Likewise.
5556 * stdlib/makecontext.c: Likewise.
5557 * stdlib/setcontext.c: Likewise.
5558 * stdlib/swapcontext.c: Likewise.
5559 * stdlib/system.c: Likewise.
5560 * streams/fattach.c: Likewise.
5561 * streams/fdetach.c: Likewise.
5562 * streams/getmsg.c: Likewise.
5563 * streams/getpmsg.c: Likewise.
5564 * streams/putmsg.c: Likewise.
5565 * streams/putpmsg.c: Likewise.
5566 * sysdeps/unix/bsd/getpt.c: Likewise.
5567 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
5568 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
5569 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
5571 Likewise.
5572 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
5573 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
5574 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5575 * sysvipc/msgctl.c: Likewise.
5576 * sysvipc/msgget.c: Likewise.
5577 * sysvipc/msgrcv.c: Likewise.
5578 * sysvipc/msgsnd.c: Likewise.
5579 * sysvipc/semctl.c: Likewise.
5580 * sysvipc/semget.c: Likewise.
5581 * sysvipc/semop.c: Likewise.
5582 * sysvipc/semtimedop.c: Likewise.
5583 * sysvipc/shmat.c: Likewise.
5584 * sysvipc/shmctl.c: Likewise.
5585 * sysvipc/shmdt.c: Likewise.
5586 * sysvipc/shmget.c: Likewise.
5587 * termios/tcdrain.c: Likewise.
5588 * termios/tcflow.c: Likewise.
5589 * termios/tcflush.c: Likewise.
5590 * termios/tcgetattr.c: Likewise.
5591 * termios/tcgetpgrp.c: Likewise.
5592 * termios/tcsendbrk.c: Likewise.
5593 * termios/tcsetattr.c: Likewise.
5594 * termios/tcsetpgrp.c: Likewise.
5595 * time/adjtime.c: Likewise.
5596 * time/clock.c: Likewise.
5597 * time/getitimer.c: Likewise.
5598 * time/gettimeofday.c: Likewise.
5599 * time/setitimer.c: Likewise.
5600 * time/settimeofday.c: Likewise.
5601 * time/stime.c: Likewise.
5602 * time/time.c: Likewise.
5603
56042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 5605
a20492cf
PT
5606 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
5607 /usr/old/bin.
5608
72e182e3
PT
5609 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
5610 instead of spaces.
5611 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
5612
fbeafede
JM
56132012-11-03 Joseph Myers <joseph@codesourcery.com>
5614
5b5b04d6
JM
5615 [BZ #14796]
5616 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
5617 FE_TONEAREST before applying Dekker multiplication and Knuth
5618 addition. Clear inexact exceptions and check for exact zero
5619 results afterwards.
5620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5621 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5623 * math/libm-test.inc (fma_test): Add more tests.
5624 (fma_test_towardzero): Likewise.
5625 (fma_test_downward): Likewise.
5626 (fma_test_upward): Likewise.
5627 * sysdeps/generic/math_private.h (default_libc_fesetround): New
5628 function.
5629 (libc_fesetround): New macro.
5630 (libc_fesetroundf): Likewise.
5631 (libc_fesetroundl): Likewise.
5632 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
5633 function.
5634 (libc_fesetround_387): Likewise.
5635 (libc_fesetroundf): New macro.
5636 (libc_fesetround): Likewise.
5637 (libc_fesetroundl): Likewise.
5638 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
5639 function.
5640 (libc_fesetroundf): New macro.
5641 (libc_fesetround): Likewise.
5642 (libc_fesetroundl): Likewise.
5643 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
5644 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
5645 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
5646 libm_hidden_ver.
5647 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
5648 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
5649 libm_hidden_def.
5650 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
5651 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
5652 libm_hidden_ver.
5653 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
5654 libm_hidden_def.
5655
fbeafede
JM
5656 [BZ #3439]
5657 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
5658 integer constant usable in #if and use that to give value to enum
5659 constant.
5660 (FE_DIVBYZERO): Likewise.
5661 (FE_UNDERFLOW): Likewise.
5662 (FE_OVERFLOW): Likewise.
5663 (FE_INVALID): Likewise.
5664 (FE_INVALID_SNAN): Likewise.
5665 (FE_INVALID_ISI): Likewise.
5666 (FE_INVALID_IDI): Likewise.
5667 (FE_INVALID_ZDZ): Likewise.
5668 (FE_INVALID_IMZ): Likewise.
5669 (FE_INVALID_COMPARE): Likewise.
5670 (FE_INVALID_SOFTWARE): Likewise.
5671 (FE_INVALID_SQRT): Likewise.
5672 (FE_INVALID_INTEGER_CONVERSION): Likewise.
5673 (FE_TONEAREST): Likewise.
5674 (FE_TOWARDZERO): Likewise.
5675 (FE_UPWARD): Likewise.
5676 (FE_DOWNWARD): Likewise.
5677 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
5678 (FE_DIVBYZERO): Likewise.
5679 (FE_OVERFLOW): Likewise.
5680 (FE_UNDERFLOW): Likewise.
5681 (FE_INEXACT): Likewise.
5682 (FE_TONEAREST): Likewise.
5683 (FE_DOWNWARD): Likewise.
5684 (FE_UPWARD): Likewise.
5685 (FE_TOWARDZERO): Likewise.
5686 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
5687 (FE_UNDERFLOW): Likewise.
5688 (FE_OVERFLOW): Likewise.
5689 (FE_DIVBYZERO): Likewise.
5690 (FE_INVALID): Likewise.
5691 (FE_TONEAREST): Likewise.
5692 (FE_TOWARDZERO): Likewise.
5693 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
5694 (FE_OVERFLOW): Likewise.
5695 (FE_UNDERFLOW): Likewise.
5696 (FE_DIVBYZERO): Likewise.
5697 (FE_INEXACT): Likewise.
5698 (FE_TONEAREST): Likewise.
5699 (FE_TOWARDZERO): Likewise.
5700 (FE_UPWARD): Likewise.
5701 (FE_DOWNWARD): Likewise.
5702 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
5703 (FE_DIVBYZERO): Likewise.
5704 (FE_OVERFLOW): Likewise.
5705 (FE_UNDERFLOW): Likewise.
5706 (FE_INEXACT): Likewise.
5707 (FE_TONEAREST): Likewise.
5708 (FE_DOWNWARD): Likewise.
5709 (FE_UPWARD): Likewise.
5710 (FE_TOWARDZERO): Likewise.
5711
105ca950
CM
57122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
5713
5714 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
5715
a542b389
AS
57162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
5717
5718 * scripts/cross-test-ssh.sh (command): Use newlines to separate
5719 commands. Quote $PWD.
5720 (blacklist_exports): Don't use remove_newlines. Replace "declare
5721 -x" by "export".
5722 (remove_newlines): Remove.
5723
f62c8abc
L
57242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
5725
5726 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
5727 * stdlib/stdlib.h (atof): Moved to ...
5728 * include/bits/stdlib-float.h: Here. New file.
5729 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
5730 * stdlib/bits/stdlib-float.h: New file.
5731 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
5732 -mno-sse -mno-mmx.
5733 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
5734 <xmmintrin.h>.
5735
0155d5b2
JM
57362012-11-02 Joseph Myers <joseph@codesourcery.com>
5737
a68d0680
JM
5738 * conform/conformtest.pl (@headers): Add fenv.h.
5739 * conform/data/fenv.h-data: New file.
5740 * include/fenv.h [_ISOMAC]: Disable all contents of file except
5741 include of <math/fenv.h>.
5742
caf7f573
JM
5743 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
5744 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
5745 && !UNIX98]. Enables tests for XOPEN2K8.
5746 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
5747 POSIX2008]: Likewise.
5748
6c073ad6
JM
5749 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
5750 (struct rusage): Do not expect type or its members.
5751
0155d5b2
JM
5752 [BZ #3439]
5753 * math/math.h (FP_NAN): Define macro to integer constant usable in
5754 #if and use that to give value to enum constant.
5755 (FP_INFINITE): Likewise.
5756 (FP_ZERO): Likewise.
5757 (FP_SUBNORMAL): Likewise.
5758 (FP_NORMAL): Likewise.
5759
b5dcacb4
AS
57602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
5761
5762 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
5763 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
5764 arguments.
5765
f7934be8
RM
57662012-11-02 Roland McGrath <roland@hack.frob.com>
5767
5768 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
5769 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
5770 autoconf-time if not.
5771 * configure.in: Remove AC_PREREQ.
5772
d7d08bde
TMQMF
57732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5774
5775 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
5776 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
5777 of the internal implementation.
5778
dcdae19a
JM
57792012-11-02 Joseph Myers <joseph@codesourcery.com>
5780
5781 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
5782 except include of <misc/sys/syslog.h>.
5783
d6cffd3e
AS
57842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5785
5786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
5787 function returns with a NULL context exit with zero.
5788
b3563932
TMQMF
57892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5790
5791 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
5792
b288a93d
L
57932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
5794
5795 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
5796 (run_program_cmd): This.
5797 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
5798 (tst_langinfo): New variable. Use it.
5799
a2421a68
SAS
58002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
5801
5802 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
5803 floating point opcodes.
5804
6f796e1b
TS
58052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5806
7402596b
TS
5807 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
5808 variable.
5809
d0d4f868
TS
5810 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
5811
6f796e1b
TS
5812 * sysdeps/mach/hurd/powerpc: Remove directory.
5813 * sysdeps/mach/powerpc: Likewise.
5814
4da224a2
AS
58152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
5816
5817 * scripts/check-local-headers.sh: Ignore c++ headers.
5818
341dd673
TS
58192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5820
5821 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
5822 __libc_cleanup_region_start argument.
5823
473611b2
JM
58242012-11-01 Joseph Myers <joseph@codesourcery.com>
5825
5826 [BZ #14784]
5827 [BZ #14785]
5828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
5829 x * y using scaling, not as x * y + z.
5830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5832 * math/libm-test.inc (fma_test): Add more tests.
5833 (fma_test_towardzero): Likewise.
5834 (fma_test_downward): Likewise.
5835 (fma_test_upward): Likewise.
5836
4078da3d
TS
58372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
5838
5839 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
5840
903252aa
JM
58412012-10-31 Joseph Myers <joseph@codesourcery.com>
5842
5843 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
5844 New variable.
5845
cbc818d0
TS
58462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
5847
5848 * rt/tst-shm.c (worker): Correct checking for mmap failure.
5849
5a03cb1e
AS
58502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5851
5852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5853 Fix sort order.
5854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5855 Likewise.
5856
90aff2ff
TMQMF
58572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5858
5859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5860 Fix the order of the list for glibc 2.17.
5861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5862 Likewise.
5863
1818fcb7
AS
58642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
5865
5866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5867
ef82f4da
JM
58682012-10-31 Joseph Myers <joseph@codesourcery.com>
5869
16a0e2ec
JM
5870 [BZ #14610]
5871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
5872 for low part of x being zero before using __atanl (y).
5873 * math/libm-test.inc (atan2_test): Add another test.
5874
0eb69512
JM
5875 * manual/install.texi (Configuring and compiling): Document
5876 general use of test-wrapper and test-wrapper-env.
5877 * INSTALL: Regenerated.
5878
ef82f4da
JM
5879 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
5880 (__fma): Do not extract and scale down low bits on after-rounding
5881 systems when result rounded to normal precision would have normal
5882 exponent.
5883 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
5884 (__fmal): Do not extract and scale down low bits on after-rounding
5885 systems when result rounded to normal precision would have normal
5886 exponent.
5887 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
5888 (__fmal): Do not extract and scale down low bits on after-rounding
5889 systems when result rounded to normal precision would have normal
5890 exponent.
5891 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
5892 macro.
5893 (fma_test): Add more tests.
5894 (fma_test_towardzero): Likewise.
5895 (fma_test_downward): Likewise.
5896 (fma_test_upward): Likewise.
5897
954ef0d9
L
58982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
5899
5900 * sysdeps/i386/tininess.h: Renamed to ...
5901 * sysdeps/x86/tininess.h: This.
5902 * sysdeps/x86_64/tininess.h: Removed.
5903
df61ffb2
JM
59042012-10-30 Joseph Myers <joseph@codesourcery.com>
5905
5906 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
5907 input. Use $(build-program-cmd).
5908 ($(objpfx)tst-array1-static.out): Likewise.
5909 ($(objpfx)tst-array2.out): Likewise.
5910 ($(objpfx)tst-array3.out): Likewise.
5911 ($(objpfx)tst-array4.out): Likewise.
5912 ($(objpfx)tst-array5.out): Likewise.
5913 ($(objpfx)tst-array5-static.out): Likewise.
5914
01767843
CM
59152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
5916
47cc1490
CM
5917 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
5918 if defined.
5919
01767843
CM
5920 * nss/nsswitch.h (nss_interface_function): Provide new
5921 macro for use with NSS functions.
5922 * grp/initgroups.c: Use new macro.
5923 * nss/getXXbyYY.c: Likewise.
5924 * nss/getXXbyYY_r.c: Likewise.
5925 * nss/getXXent.c: Likewise.
5926 * nss/getXXent_r.c: Likewise.
5927 * sysdeps/posix/getaddrinfo.c: Likewise.
5928
8321aa97
AJ
59292012-10-30 Andreas Jaeger <aj@suse.de>
5930
5931 * po/ru.po: Update Russion translation from translation project.
5932
2a27fd6d
JM
59332012-10-30 Joseph Myers <joseph@codesourcery.com>
5934
8627a232
JM
5935 [BZ #14152]
5936 [BZ #14783]
5937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
5938 result and shift together with sticky bit instead of replicating
5939 round-to-nearest rounding.
5940 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5942 * math/libm-test.inc (fma_test): Add more tests. Do not permit
5943 missing underflow exceptions.
5944 (fma_test_towardzero): Add more tests.
5945 (fma_test_downward): Likewise.
5946 (fma_test_upward): Likewise.
5947
2a27fd6d
JM
5948 [BZ #14047]
5949 * sysdeps/generic/tininess.h: New file.
5950 * sysdeps/i386/tininess.h: Likewise.
5951 * sysdeps/sh/tininess.h: Likewise.
5952 * sysdeps/x86_64/tininess.h: Likewise.
5953 * stdlib/tst-strtod-underflow.c: Likewise.
5954 * stdlib/tst-tininess.c: Likewise.
5955 * stdlib/strtod_l.c: Include <tininess.h>.
5956 (round_and_return): Do not set errno for exact underflow cases.
5957 Force an underflow exception when setting errno for underflow.
5958 Determine underflow based on rounding to normal precision if
5959 TININESS_AFTER_ROUNDING.
5960 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
5961 ERANGE for exact underflow cases.
5962 * stdlib/Makefile (tests): Add tst-tininess and
5963 tst-strtod-underflow.
5964 ($(objpfx)tst-tininess): Use $(link-libm).
5965 ($(objpfx)tst-strtod-underflow): Likewise.
5966
e7170363
AJ
59672012-10-30 Andreas Jaeger <aj@suse.de>
5968
e5088dc6
AJ
5969 [BZ#14767]
5970 * elf/Makefile (tests): Remove conditional for have-initfini-array
5971 since this is now always required and the variable does not exist
5972 anymore.
5973 (tests-static): Likewise.
5974 (modules-names): Likewise.
5975
e7170363 5976 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
5977
5978 * elf/tst-array1.c (fini_array): Make writeable so that it can be
5979 merged with constructor/destructor.
5980 (init_array): Likewise.
5981 * elf/tst-array2dep.c (fini_array): Likewise.
5982 (init_array): Likewise.
5983
60457d8a
MF
59842012-10-29 Mike Frysinger <vapier@gentoo.org>
5985
5986 * manual/message.texi: Delete @cartouche tags.
5987
8bece752
PT
59882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
5989
94ce799f
PT
5990 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
5991 EOPNOTSUPP.
5992 * sysdeps/mach/hurd/fsync.c: Likewise.
5993
8bece752
PT
5994 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
5995 [_POSIX_REALTIME_SIGNALS]: Change condition to
5996 [_POSIX_REALTIME_SIGNALS > 0].
5997
86ebe6b1
AJ
59982012-10-27 Andreas Jaeger <aj@suse.de>
5999
6000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6001 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6002 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6003 [__WORDSIZE != 64]: Likewise.
6004
54399c08
L
60052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6006
6007 * iconvdata/tst-table.sh: Remove ${SHELL}.
6008 * iconvdata/tst-tables.sh: Likewise.
6009
e2211bed
DM
60102012-10-25 David S. Miller <davem@davemloft.net>
6011
6012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6013 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6014 of strtoull.
6015
f303f97c
DM
6016 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6017 ifunc-impl-list.c
6018 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6019 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6020 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6021 file.
6022
1e9d84cd
RM
60232012-10-25 Roland McGrath <roland@hack.frob.com>
6024
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6026 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6027 __getdirentries.
6028
df381762
JM
60292012-10-25 Joseph Myers <joseph@codesourcery.com>
6030 Jim Blandy <jimb@codesourcery.com>
6031
6032 * scripts/cross-test-ssh.sh: New file.
6033 * manual/install.texi (Configuring and compiling): Document use of
6034 cross-test-ssh.sh.
6035 * INSTALL: Regenerated.
6036
bff64913
PT
60372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6038
6039 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6040 EOPNOTSUPP.
6041
25fe8932
JM
60422012-10-25 Joseph Myers <joseph@codesourcery.com>
6043
6044 * Makeconfig (run-program-prefix): Fix comment.
6045
cc1290d0
JM
60462012-10-24 Joseph Myers <joseph@codesourcery.com>
6047 Jim Blandy <jimb@codesourcery.com>
6048
6049 * Makeconfig (test-wrapper): New variable,
6050 (test-wrapper-env): Likewise.
6051 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6052 (run-built-tests): Define to yes.
6053 (run-program-prefix): Use $(test-wrapper).
6054 (built-program-cmd): Likewise.
6055 * Rules (make-test-out): Use $(test-wrapper-env) and
6056 $(host-built-program-cmd).
6057 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6058 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6059 tst-pathopt.sh.
6060 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6061 $(test-wrapper-env) to tst-rtld-load-self.sh.
6062 ($(objpfx)order2.out): Use $(test-wrapper).
6063 ($(objpfx)tst-initorder.out): Likewise.
6064 ($(objpfx)tst-initorder2.out): Likewise.
6065 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6066 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6067 (test_wrapper_env): New variable. Use it to run ld.so.
6068 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6069 Use it to run ld.so.
6070 (test_wrapper_env): Likewise.
6071 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6072 $(test-wrapper) to run-iconv-test.sh.
6073 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6074 (ICONV): Use $test_wrapper.
6075 * posix/Makefile ($(objpfx)globtest.out): Pass
6076 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6077 globtest.sh, not $(run-program-prefix).
6078 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6079 (test_wrapper): Likewise.
6080 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6081 set together with run_via_rtld_prefix.
6082 (run_program_prefix): Define in terms of test_wrapper and
6083 run_via_rtld_prefix.
6084
6e6249d0
RM
60852012-10-24 Roland McGrath <roland@hack.frob.com>
6086
6087 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6088 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6089 Targets removed.
6090
6091 [BZ #14743]
6092 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6093 Declare __clock_getres, __clock_gettime, __clock_settime,
6094 __clock_nanosleep, and __clock_getcpuclockid.
6095 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6096 Remove librt_hidden_def (clock_gettime).
6097 * sysdeps/unix/clock_gettime.c: Likewise.
6098 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6100 * rt/clock_getres.c: Define __clock_getres as an alias.
6101 * sysdeps/posix/clock_getres.c: Likewise.
6102 * rt/clock_settime.c: Define __clock_settime as an alias.
6103 * sysdeps/unix/clock_settime.c: Likewise.
6104 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6105 * sysdeps/unix/clock_nanosleep.c: Likewise.
6106 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6107 * rt/clock-compat.c: New file.
6108 * rt/Makefile (librt-routines): Add clock-compat and move
6109 $(clock-routines) to ...
6110 (routines): ... here, new variable.
6111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6112 Don't add get_clockfreq here.
6113 * rt/Versions (libc: GLIBC_2.17): New version set.
6114 Add clock_* symbols here.
6115 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6116 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6117 (GLIBC_2.17): Add clock_* symbols.
6118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6122 Likewise.
6123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6124 Likewise.
6125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6127 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6129 * NEWS: Mention the move.
6130
6131 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6132 Use __open, __read, __close rather than their public counterparts.
6133 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6134 (__get_clockfreq_via_cpuinfo): Likewise.
6135 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6136 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6137
6138 * config.h.in (HAVE_IFUNC): New #undef.
6139 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6140 was successful.
6141 * configure: Regenerated.
6142
0cae3f4b
MF
61432012-10-24 Mike Frysinger <vapier@gentoo.org>
6144
6145 * configure.in: Move READELF check to start of file.
6146 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6147 libc_cv_asm_gnu_indirect_function in the process.
6148 * configure: Regenerated.
6149
8175a253
MF
61502012-10-24 Mike Frysinger <vapier@gentoo.org>
6151
6152 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6153 send the output to /dev/null.
6154 (libc_cv_cc_with_libunwind): Likewise.
6155 (libc_cv_as_noexecstack): Likewise.
6156 * configure: Regenerate.
6157
0708a7d1
JM
61582012-10-24 Joseph Myers <joseph@codesourcery.com>
6159
10b40d85
JM
6160 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6161
0708a7d1
JM
6162 * posix/globtest.sh (TMPDIR): Do not set.
6163 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6164 (testout): Likewise.
6165
9fddec1a
AJ
61662012-10-24 Andreas Jaeger <aj@suse.de>
6167
3a8db22f
AJ
6168 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6169 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6170 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6171 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6172 posix_fadvise64, posix_fallocate64.
6173
9fddec1a
AJ
6174 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6175 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6176 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6177 Likewise.
6178 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6179 Likewise.
6180 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6181
6182 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6183 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6184 <bits/fcntl-linux.h>.
6185 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6186
6187 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6188 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6189 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6190 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6191 [__WORDSIZE != 64]: Likewise.
6192
ebfd1bbd
JM
61932012-10-23 Joseph Myers <joseph@codesourcery.com>
6194
03ac099f
JM
6195 * Makeconfig (run-built-tests): New variable.
6196 * Rules [$(cross-compiling) = yes]: Change condition to
6197 [$(run-built-tests) = no].
6198 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6199 to [$(run-built-tests) = yes].
6200 * elf/Makefile [$(cross-compiling) = no]: Likewise
6201 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6202 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6203 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6204 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6205 * io/Makefile [$(cross-compiling) = no]: Likewise.
6206 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6207 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6208 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6209 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6210 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6211 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6212 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6213 * string/Makefile [$(cross-compiling) = no]: Likewise.
6214
ebfd1bbd
JM
6215 * posix/Makefile ($(objpfx)globtest.out): Pass
6216 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6217 $(rtld-installed-name).
6218 * posix/globtest.sh (elf_objpfx): Remove variable.
6219 (rtld_installed_name): Likewise.
6220 (library_path): Likewise.
6221 (run_program_prefix): New variable. Use for running globtest
6222 binary.
6223
166bca24
JB
62242012-10-23 Jim Blandy <jimb@codesourcery.com>
6225 Joseph Myers <joseph@codesourcery.com>
6226
6227 * Makeconfig (host-built-program-cmd): New variable.
6228 * elf/Makefile (tst-stackguard1-ARGS): Use
6229 $(host-built-program-cmd).
6230 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6231 (tst-spawn-ARGS): Likewise.
6232 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6233
88866099
JM
62342012-10-23 Joseph Myers <joseph@codesourcery.com>
6235 Jim Blandy <jimb@codesourcery.com>
6236
6237 * Makeconfig (run-via-rtld-prefix): New variable.
6238 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6239 (built-program-cmd): Likewise.
6240
b4b4c296
AJ
62412012-10-22 Andreas Jaeger <aj@suse.de>
6242
6243 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6244 __O_RSYNC if it exists, otherwise to O_SYNC.
6245
6fb54a22
JB
62462012-10-22 Jim Blandy <jimb@codesourcery.com>
6247 Joseph Myers <joseph@codesourcery.com>
6248
6249 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6250 /dev/null.
6251 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6252 from /dev/null
6253 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6254 /dev/null.
6255
481b90b9
AJ
62562012-10-22 Andreas Jaeger <aj@suse.de>
6257
2a0e2669
AJ
6258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6259 Define always.
6260 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6261
76e38f9a
AJ
6262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6263 bits/fcntl-linux.h.
6264
7cd37b43
AJ
6265 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6266 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6267
481b90b9
AJ
6268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6269 to __O_LARGEFILE.
6270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6271 to __O_LARGEFILE.
6272
aba75984
JB
62732012-10-21 Jim Blandy <jimb@codesourcery.com>
6274 Joseph Myers <joseph@codesourcery.com>
6275
6276 * config.make.in (NM): New variable.
6277
88d4247f
AJ
62782012-10-21 Andreas Jaeger <aj@suse.de>
6279
6280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6281 definitions and declarations that are provided by
6282 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6283
f2eed205
L
62842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6285
6286 [BZ #14683]
6287 * elf/Makefile (tests-static): Add tst-leaks1-static.
6288 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6289 ($(objpfx)tst-leaks1-static): New rule.
6290 ($(objpfx)tst-leaks1-static-mem): Likewise.
6291 (tst-leaks1-static-ENV): New macro.
6292 * elf/dl-open.c (dl_open_worker): Check the main application
6293 only if SHARED is defined.
6294 * elf/tst-leaks1-static.c: New file.
6295
335e6931
AJ
62962012-10-20 Andreas Jaeger <aj@suse.de>
6297
6298 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6299 generic values for Linux.
6300 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6301 and declarations that are provided by <bits/fcntl-linux.h> and
6302 include <bits/fcntl-linux.h>.
6303 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6304 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6305
ac5c94d3
RM
63062012-10-20 Roland McGrath <roland@hack.frob.com>
6307
6308 * io/fcntl.h: Move include of <bits/types.h> to the top and
6309 include it unconditionally.
6310
de54b33a
L
63112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6312
228cfb01
L
6313 * wcsmbs/Makefile (tests-ifunc): New variable.
6314 (tests): Add $(tests-ifunc).
6315 * wcsmbs/test-wcschr-ifunc.c: New file.
6316 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6317 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6318 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6319 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6320 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6321
69f07e5f
L
6322 * string/Makefile (tests-ifunc): New variable.
6323 (tests): Add $(tests-ifunc).
6324 * string/test-memccpy.c (TEST_NAME): New macro.
6325 * string/test-memchr.c (TEST_NAME): Likewise.
6326 * string/test-memcmp.c (TEST_NAME): Likewise.
6327 * string/test-memcpy.c (TEST_NAME): Likewise.
6328 * string/test-memmem.c (TEST_NAME): Likewise.
6329 * string/test-memmove.c (TEST_NAME): Likewise.
6330 * string/test-memset.c (TEST_NAME): Likewise.
6331 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6332 * string/test-stpcpy.c (TEST_NAME): Likewise.
6333 * string/test-stpncpy.c (TEST_NAME): Likewise.
6334 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6335 * string/test-strcasestr.c (TEST_NAME): Likewise.
6336 * string/test-strcat.c (TEST_NAME): Likewise.
6337 * string/test-strchr.c (TEST_NAME): Likewise.
6338 * string/test-strcmp.c(TEST_NAME): Likewise.
6339 * string/test-strcpy.c (TEST_NAME): Likewise.
6340 * string/test-strcspn.c (TEST_NAME): Likewise.
6341 * string/test-strlen.c (TEST_NAME): Likewise.
6342 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6343 * string/test-strncmp.c (TEST_NAME): Likewise.
6344 * string/test-strncpy.c (TEST_NAME): Likewise.
6345 * string/test-strnlen.c (TEST_NAME): Likewise.
6346 * string/test-strpbrk.c (TEST_NAME): Likewise.
6347 * string/test-strrchr.c (TEST_NAME): Likewise.
6348 * string/test-strspn.c (TEST_NAME): Likewise.
6349 * string/test-strstr.c (TEST_NAME): Likewise.
6350 * string/test-bcopy-ifunc.c: New file.
6351 * string/test-bzero-ifunc.c: Likewise.
6352 * string/test-memccpy-ifunc.c: Likewise.
6353 * string/test-memchr-ifunc.c: Likewise.
6354 * string/test-memcmp-ifunc.c: Likewise.
6355 * string/test-memcpy-ifunc.c: Likewise.
6356 * string/test-memmem-ifunc.c: Likewise.
6357 * string/test-memmove-ifunc.c: Likewise.
6358 * string/test-mempcpy-ifunc.c: Likewise.
6359 * string/test-memset-ifunc.c: Likewise.
6360 * string/test-rawmemchr-ifunc.c: Likewise.
6361 * string/test-stpcpy-ifunc.c: Likewise.
6362 * string/test-stpncpy-ifunc.c: Likewise.
6363 * string/test-strcasecmp-ifunc.c: Likewise.
6364 * string/test-strcasestr-ifunc.c: Likewise.
6365 * string/test-strcat-ifunc.c: Likewise.
6366 * string/test-strchr-ifunc.c: Likewise.
6367 * string/test-strchrnul-ifunc.c: Likewise.
6368 * string/test-strcmp-ifunc.c: Likewise.
6369 * string/test-strcpy-ifunc.c: Likewise.
6370 * string/test-strcspn-ifunc.c: Likewise.
6371 * string/test-strlen-ifunc.c: Likewise.
6372 * string/test-strncasecmp-ifunc.c: Likewise.
6373 * string/test-strncat-ifunc.c: Likewise.
6374 * string/test-strncmp-ifunc.c: Likewise.
6375 * string/test-strncpy-ifunc.c: Likewise.
6376 * string/test-strnlen-ifunc.c: Likewise.
6377 * string/test-strpbrk-ifunc.c: Likewise.
6378 * string/test-strrchr-ifunc.c: Likewise.
6379 * string/test-strspn-ifunc.c: Likewise.
6380 * string/test-strstr-ifunc.c: Likewise.
6381
de54b33a
L
6382 * debug/Makefile (tests-ifunc): New variable.
6383 (tests): Add $(tests-ifunc).
6384 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
6385 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
6386 * debug/test-stpcpy_chk-ifunc.c: New file.
6387 * debug/test-strcpy_chk-ifunc.c: Likewise.
6388
88481c16
SP
63892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6390
6391 [BZ #13601]
6392 * elf/dl-load.c (open_verify): Retry read if the entire ELF
6393 header is not read in.
6394
135948bd
JM
63952012-10-19 Joseph Myers <joseph@codesourcery.com>
6396
89f1c388
JM
6397 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
6398 script to $(SHELL) as $<. Pass $(common-objpfx) to script
6399 directly. Pass built executable to script as
6400 $(built-program-cmd).
6401 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
6402 $testprogram without using LD_LIBRARY_PATH and $ldso.
6403
e40a0d21
JM
6404 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
6405 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
6406 $(rtld-installed-name).
6407 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
6408 (rtld_installed_name): Likewise.
6409 (library_path): Likewise.
6410 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
6411 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
6412 $(run-program-prefix) to tst-tables.sh.
6413 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
6414 it to run tst-table-from and tst-table-to.
6415 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
6416 Pass it to tst-table.sh.
6417 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
6418 $(run-program-prefix) to tst-gettext.sh.
6419 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
6420 tst-translit.sh.
6421 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
6422 tst-gettext2.sh.
6423 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
6424 to run tst-gettext.
6425 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
6426 to run tst-gettext2.
6427 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
6428 to run tst-translit.
6429 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
6430 $(run-program-prefix) to tst-mtrace.sh.
6431 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
6432 to run tst-mtrace.
6433 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
6434 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
6435 $(rtld-installed-name).
6436 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
6437 (rtld_installed_name): Likewise.
6438 (run_program_prefix): New variable. Use it to run wordexp-test.
6439
728e272a
JM
6440 * Makeconfig (ARCH): Remove all definitions.
6441 (machine): Likewise.
6442 [ARCH]: Remove conditional code.
6443 [!objdir]: Give error.
6444 [!objdir] (objpfx): Remove.
6445 [!objdir] (common-objpfx): Likewise.
6446 [!objdir] (common-objdir): Likewise.
6447 * configure.in (config_makefile): Remove. Hardcode Makefile in
6448 AC_CONFIG_FILES call.
6449 * configure: Regenerated.
6450
d528cdcf
JM
6451 [BZ #13888]
6452 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
6453 or TMPDIR.
6454 (testout): Likewise.
6455
135948bd
JM
6456 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
6457 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
6458 $(rtld-installed-name).
6459 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
6460 (rtld_installed_name): Likwise.
6461 (runit): Remove function.
6462 (run_getconf): New variable, Use it for running getconf binary.
6463
38c78296
L
64642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
6465
6466 [BZ #14716]
6467 * string/test-memmem.c (check_result): New function.
6468 (do_one_test): Use it.
6469 (check1): New function.
6470 (test_main): Use it.
6471
d077f65f
MT
64722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
6473
6474 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
6475
ced52c71
JM
64762012-10-18 Joseph Myers <joseph@codesourcery.com>
6477
6478 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
6479 (_G_LSEEK64): Likewise.
6480 (_G_MMAP64): Likewise.
6481 (_G_FSTAT64): Likewise.
6482 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
6483 (_G_LSEEK64): Likewise.
6484 (_G_MMAP64): Likewise.
6485 (_G_FSTAT64): Likewise.
6486 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
6487 unconditional. Call __mmap64 directly.
6488 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
6489 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
6490 __lseek64 directly.
6491 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
6492 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
6493 __mmap64 directly.
6494 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
6495 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
6496 __lseek64 directly.
6497 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
6498 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
6499 __lseek64 directly.
6500 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
6501 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
6502 __lseek64 directly.
6503 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
6504 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
6505 __fxstat64 directly.
6506 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
6507 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
6508 unconditional.
6509 (freopen64) [!_G_OPEN64]: Remove conditional code.
6510 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
6511 unconditional.
6512 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
6513 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
6514 unconditional.
6515 (ftello64) [!_G_LSEEK64]: Remove conditional code.
6516 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
6517 unconditional.
6518 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6519 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
6520 unconditional.
6521 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
6522 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
6523 unconditional.
6524 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6525 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
6526 unconditional.
6527 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
6528 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
6529 unconditional.
6530 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
6531
b741de23
SP
65322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6533
6534 [BZ #12140]
6535 * manual/memory.texi (Malloc Tunable Parameters): Add note
6536 about free list pointers overwriting some perturb bytes.
6537 Wording suggested by Roland McGrath.
6538
f9b9d9c9
JM
65392012-10-17 Joseph Myers <joseph@codesourcery.com>
6540
6541 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
6542 (lgamma_test): Likewise.
6543 (tgamma_test): Likewise.
6544
172a631a
FW
65452012-10-16 Florian Weimer <fweimer@redhat.com>
6546
6547 [BZ #14700]
6548 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
6549 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
6550
e9f37252
MK
65512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
6552
6553 * NEWS: Mention BZ #14716.
6554 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
6555 when removing AVAILABLE1_USES_J macro.
6556
d394eb74
L
65572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
6558
6559 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
6560 (__bswap_64): __uint64_t for unsigned 64-bit int.
6561
ca38dc17
AS
65622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
6563
6564 * include/string.h (memmem): Declare libc hidden alias.
6565 * string/memmem.c (memmem): Define libc hidden alias.
6566 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
6567 __read, __close instead of open, read, close.
6568
9a387d1f
L
65692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
6570
ac49ecaf
L
6571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
6572 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
6573 global and hidden.
6574 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
6575 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
6576 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
6577 Likewise.
6578 (__rawmemchr_sse2): Likewise.
6579 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
6580 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
6581 (__strchr_sse2): Likewise.
6582 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
6583 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
6584 (__strcasecmp_sse2): Likewise.
6585 (__strncasecmp_sse2): Likewise.
6586 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
6587 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
6588 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
6589 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
6590 (__strrchr_sse2): Likewise.
6591 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
6592 ifunc-impl-list.c.
6593 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
6594 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
6595 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
6596 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
6597 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
6598 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
6599 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6600 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6601 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
6602 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
6603 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
6604 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
6605 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
6606 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
6607 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
6608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
6609 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
6610 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
6611 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
6612 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
6613 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
6614 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
6615 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
6616 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6617 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
6618 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
6619 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6620 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
6621 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
6622 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
6623
b090e8ea
L
6624 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
6625 global and hidden.
6626 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
6627 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
6628 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
6629 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
6630 Likewise.
6631 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
6632 Likewise.
6633 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
6634 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
6635 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
6636 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
6637 ifunc-impl-list.c.
6638 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6642 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6643 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6644 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6645 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6646 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6647 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6648 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6649 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6650 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6651 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
6652 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
6653 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6654 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
6655 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
6656 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6657 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6658 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6659 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6660 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6661 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6662 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6663 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
6664 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
6665 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
6666 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
6667 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6668 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
6669 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6670 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6671 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
6672 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6673 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6674 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6675 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6676 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6677 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6678 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
6679
11dd4af6
L
6680 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
6681 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
6682 * include/ifunc-impl-list.h: New file.
6683 * misc/ifunc-impl-list.c: Likewise.
6684 * misc/Makefile (routines): Add ifunc-impl-list.
6685 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
6686 * string/test-string.h: Include <ifunc-impl-list.h>.
6687 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
6688 impl_array): New variables.
6689 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
6690 are defined.
6691 (test_init): Call __libc_ifunc_impl_list to initialize
6692 func_list if TEST_IFUNC and TEST_NAME are defined.
6693
9a387d1f
L
6694 * string/Makefile (strop-tests): Add bcopy and bzero.
6695 * string/test-bcopy.c: New file.
6696 * string/test-bzero.c: Likewise.
6697 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
6698 defined.
6699 * string/test-memset.c: Support bzero test if TEST_BZERO is
6700 defined.
6701 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
6702 __libc_memmove.
6703 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
6704 __libc_memset.
6705 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
6706 of memset.
6707
472371b9
JM
67082012-10-10 Joseph Myers <joseph@codesourcery.com>
6709
1e4a9536
JM
6710 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
6711 * configure: Regenerated.
6712
d173d12e
JM
6713 * Makeconfig (+link-static-before-libc): Don't include
6714 $(link-static-libc).
6715
472371b9
JM
6716 * libio/libio.h (_IO_pos_t): Remove.
6717
89a3ad0b
AO
67182012-10-10 Alexandre Oliva <aoliva@redhat.com>
6719
6720 * NEWS: Add note about FIPS mode. Wording suggested by Roland
6721 McGrath.
6722
e7451425
AO
67232012-10-10 Alexandre Oliva <aoliva@redhat.com>
6724
6725 * crypt/crypt-entry.c: Include fips-private.h.
6726 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
6727 * crypt/md5c-test.c (main): Tolerate disabled MD5.
6728 * sysdeps/unix/sysv/linux/fips-private.h: New file.
6729 * sysdeps/generic/fips-private.h: New file, dummy fallback.
6730
4ba74a35
AO
67312012-10-10 Alexandre Oliva <aoliva@redhat.com>
6732
6733 * crypt/crypt-private.h: Include stdbool.h.
6734 (_ufc_setup_salt_r): Return bool.
6735 * crypt/crypt-entry.c: Include errno.h.
6736 (__crypt_r): Return NULL with EINVAL for bad salt.
6737 * crypt/crypt_util.c (bad_for_salt): New.
6738 (_ufc_setup_salt_r): Check that salt is long enough and within
6739 the specified alphabet.
6740 * crypt/badsalttest.c: New file.
6741 * crypt/Makefile (tests): Add it.
6742 ($(objpfx)badsalttest): New.
6743
f96f1242
MK
67442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
6745
6746 * NEWS: Add entry for BZ #14602.
6747
0e8e0c1c
JM
67482012-10-09 Joseph Myers <joseph@codesourcery.com>
6749
6750 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
6751 type-generic.
6752 * math/libm-test.inc: Update comment listing what functions and
6753 macros are tested.
6754 (isgreater_test): New function.
6755 (isgreaterequal_test): Likewise.
6756 (isless_test): Likewise.
6757 (islessequal_test): Likewise.
6758 (islessgreater_test): Likewise.
6759 (isunordered_test): Likewise.
6760 (main): Call the new functions.
6761
273edc5e
RM
67622012-10-09 Roland McGrath <roland@hack.frob.com>
6763
b8493de0
RM
6764 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
6765 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
6766 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
6767 * sysdeps/i386/configure: Regenerated.
6768 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
6769 * sysdeps/mach/configure: Regenerated.
6770 * sysdeps/mach/hurd/configure: Regenerated.
6771 * sysdeps/powerpc/configure: Regenerated.
6772 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6773 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6774 * sysdeps/s390/s390-32/configure: Regenerated.
6775 * sysdeps/s390/s390-64/configure: Regenerated.
6776 * sysdeps/sh/configure: Regenerated.
6777 * sysdeps/sparc/configure: Regenerated.
6778 * sysdeps/unix/sysv/linux/configure: Regenerated.
6779 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6780 * sysdeps/x86_64/configure: Regenerated.
6781
273edc5e
RM
6782 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
6783 defined. Don't check if MAP is NULL.
6784
c8450f70
JM
67852012-10-09 Joseph Myers <joseph@codesourcery.com>
6786
6787 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
6788 (_G_stat64): Likewise.
6789 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
6790 (_G_stat64): Likewise.
6791 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
6792 instead of struct _G_stat64.
6793 * libio/fileops.c (mmap_remap_check): Likewise.
6794 (decide_maybe_mmap): Likewise.
6795 (_IO_new_file_seekoff): Likewise.
6796 (_IO_file_stat): Likewise.
6797 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
6798 _G_off64_t.
6799 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
6800 instead of struct _G_stat64.
6801 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
6802
57e605ba
MK
68032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
6804
6805 [BZ #14602]
6806 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6807 Replace with ...
6808 (CHECK_EOL): New macro.
6809 (two_way_short_needle): Check beginning of haystack for EOL. Use
6810 CHECK_EOL.
6811 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6812 Replace with CHECK_EOL.
6813 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
6814 Replace with CHECK_EOL.
6815
ef1bb361
JM
68162012-10-08 Joseph Myers <joseph@codesourcery.com>
6817
6818 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
6819 type-generic.
6820 * math/libm-test.inc: Update comment listing what functions and
6821 macros are tested.
6822 (finite_test): New function.
6823 (isinf_test): Likewise.
6824 (isnan_test): Likewise.
6825 (fpclassify_test): Test subnormal input.
6826 (isfinite_test): Likewise.
6827 (isnormal_test): Likewise.
6828 (main): Call the new functions.
6829
55f11534
JN
68302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
6831
6832 [BZ #14660]
6833 * Makerules (%.dynsym): Force C locale when running
6834 $(OBJDUMP) --dynamic-syms.
6835
1ab29350
AS
68362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
6837
6838 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
6839 <stdint.h>.
6840
f1ecb7ef
DM
68412012-10-06 David S. Miller <davem@davemloft.net>
6842
6843 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
6844 upper 32-bits of the length value in %o2 since we use branch-on-register
6845 tests which consider the entire 64-bit register.
6846
5d41d91a
L
68472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
6848
6849 * string/test-strstr.c (check2): Add a test for page boundary.
6850
3baddb72
DM
68512012-10-05 David S. Miller <davem@davemloft.net>
6852
6853 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
6854 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
6855 file.
6856 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
6857 sysdep_routines.
6858 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
6859 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
6860 and bzero when HWCAP_SPARC_CRYPTO is present.
6861
9cee5585
L
68622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
6863
d7e0dab9
L
6864 [BZ #14602]
6865 * string/test-strstr.c (check2): New function.
6866 (test_main): Call check2.
6867
03759f47
L
6868 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
6869 and bug-strchr1.
6870 * string/bug-strcasestr1.c (do_test): Moved to ...
6871 * string/test-strcasestr.c (check1): Here. New function.
6872 (do_one_test): Break out result checking code into ...
6873 (check_result): This. New function.
6874 (do_one_test): Call check_result.
6875 (test_main): Call check1.
6876 * string/bug-strchr1.c (do_test): Moved to ...
6877 * string/test-strchr.c (check1): Here. New function.
6878 (do_one_test): Break out result checking code into ...
6879 (check_result): This. New function.
6880 (do_one_test): Call check_result.
6881 (test_main): Call check1.
6882 * string/bug-strstr1.c (main): Moved to ...
046f153e 6883 * string/test-strstr.c (check1): Here. New function.
03759f47
L
6884 (do_one_test): Break out result checking code into ...
6885 (check_result): This. New function.
6886 (do_one_test): Call check_result.
6887 (test_main): Call check1.
6888 * string/bug-strcasestr1.c: Removed.
6889 * string/bug-strchr1.c: Likewise.
6890 * string/bug-strstr1.c: Likewise.
6891
53cea63e
L
6892 * elf/Makefile (dl-routines): Add hwcaps.
6893 * elf/dl-support.c (_dl_important_hwcaps): Removed.
6894 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
6895 (_dl_important_hwcaps): Moved to ...
6896 * elf/dl-hwcaps.c: Here. New file.
6897 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
6898
9cee5585 6899 [BZ #14557]
bb859b06
L
6900 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
6901 if IS_IN_rtld isn't defined.
6902
9cee5585
L
6903 * elf/dl-support.c (_dl_sysinfo_map): New.
6904 Include "get-dynamic-info.h" and "setup-vdso.h".
6905 (_dl_non_dynamic_init): Call setup_vdso.
6906 * elf/dynamic-link.h: Don't include <assert.h>.
6907 (elf_get_dynamic_info): Moved to ...
6908 * elf/get-dynamic-info.h: Here. New file.
6909 * elf/dynamic-link.h: Include "get-dynamic-info.h".
6910 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
6911 * elf/setup-vdso.h: Here. New file.
6912 * elf/rtld.c: Include "setup-vdso.h".
6913 (dl_main): Call setup_vdso.
6914
23c31b76
JM
69152012-10-05 Joseph Myers <joseph@codesourcery.com>
6916
28234b07
JM
6917 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
6918 creal in comment listing functions tested. List finite, isinf,
6919 isnan, isless, islessequal, isgreater, isgreaterequal,
6920 islessgreater, isunordered, lgamma_r and pow10 as functions and
6921 macros not tested. Mention which functions not tested are aliases
6922 for other functions. Fix typo. Note that signs of NaNs are not
6923 tested.
6924
23c31b76
JM
6925 * scripts/config.guess: Update from config.git.
6926 * scripts/config.sub: Likewise.
6927
9043e228
RM
69282012-10-04 Roland McGrath <roland@hack.frob.com>
6929
6930 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
6931 * misc/madvise.c (madvise): Renamed to __madvise.
6932 Make madvise a weak alias.
6933 * include/sys/mman.h: Declare __madvise.
6934 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
6935 * sysdeps/unix/syscalls.list
6936 (madvise): Make __madvise the strong name, and madvise a weak alias.
6937 * sysdeps/unix/sysv/linux/syscalls.list
6938 (madvise, mmap): Remove redundant entries.
6939 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
6940 * malloc/malloc.c (mtrim): Likewise.
6941 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
6942
f57f8055
RM
69432012-10-03 Roland McGrath <roland@hack.frob.com>
6944
6945 * sysdeps/mach/hurd/dl-cache.c: File removed.
6946 * config.h.in (USE_LDCONFIG): New #undef.
6947 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
6948 * configure: Regenerated.
6949 * elf/Makefile (dl-routines): Add dl-cache only under
6950 [$(use-ldconfig) = yes].
6951 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
6952 cache on [USE_LDCONFIG].
6953 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
6954 [USE_LDCONFIG].
6955 * elf/rtld.c (dl_main): Likewise.
6956
5bb0c10a
PT
69572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
6958
6959 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
6960 _SC_LEVEL4_CACHE_LINESIZE.
6961
010188c6
RM
69622012-10-03 Roland McGrath <roland@hack.frob.com>
6963
6964 * sysdeps/unix/bsd/confstr.h: File removed.
6965
b6c5ec07
AO
69662012-10-02 Alexandre Oliva <aoliva@redhat.com>
6967
6968 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
6969 sys/sdt-config.h.
6970
408223d4
RM
69712012-10-02 Roland McGrath <roland@hack.frob.com>
6972
6973 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
6974 Make 'mapoff' field ElfW(Off) rather than off_t.
6975
bb9510dc
DL
69762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
6977
fc997c6e
DL
6978 * nscd/Makefile: Remove nscd-cflags and all its users.
6979 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
6980 (CFLAGS-nonlib): Add compiler flags for nscd modules.
6981
bb9510dc
DL
6982 [BZ #10631]
6983 * malloc.c (malloc_printerr): Clarify error message.
6984
05699367
L
69852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
6986
6987 [BZ #14648]
6988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6989 Set bit_FMA_Usable if FMA is supported.
6990 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
6991 macro.
6992 (bit_FMA4_Usable): Updated.
6993 (index_FMA_Usable): New macro.
6994 (CPUID_FMA): Likewise
6995 (HAS_FMA): Defined with bit_FMA_Usable.
6996
51367701
RM
69972012-10-01 Roland McGrath <roland@hack.frob.com>
6998
6999 * bits/types.h (__swblk_t): Type removed.
7000 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7001 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7002 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7003 (__SWBLK_T_TYPE): Likewise.
7004 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7005 (__SWBLK_T_TYPE): Likewise.
7006 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7007 (__SWBLK_T_TYPE): Likewise.
7008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7009 (__SWBLK_T_TYPE): Likewise.
7010
4d57bf63 70112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7012 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7013
7014 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7015 (xdr_mapname): Use YPMAXMAP as maxsize.
7016 (xdr_peername): Use YPMAXPEER as maxsize.
7017 (xdr_keydat): Use YPAXRECORD as maxsize.
7018 (xdr_valdat): Use YPMAXRECORD as maxsize.
7019
93c65d43
RM
70202012-10-01 Roland McGrath <roland@hack.frob.com>
7021
497a03d6
RM
7022 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7023
93c65d43
RM
7024 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7025 * csu/init-first.c: ... here.
7026 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7027 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7028 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7029 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7030 * sysdeps/i386/init-first.c: File removed.
7031 * sysdeps/sh/init-first.c: File removed.
7032
bec749fd
JM
70332012-10-01 Joseph Myers <joseph@codesourcery.com>
7034
7035 [BZ #14645]
7036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7037 if x * y might underflow to zero and z is zero.
7038 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7039 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7040 * math/libm-test.inc (min_subnorm_value): New variable.
7041 (fma_test): Add more tests.
7042 (fma_test_towardzero): Likewise.
7043 (fma_test_downward): Likewise
7044 (fma_test_upward): Likewise.
7045 (initialize): Set min_subnorm_value.
7046
8ec5b013
JM
70472012-09-29 Joseph Myers <joseph@codesourcery.com>
7048
7049 [BZ #14638]
7050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7051 0 + 0.
7052 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7053 mode for addition resulting in exact zero.
7054 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7055 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7056 exact 0 + 0.
7057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7059 * math/libm-test.inc (fma_test): Add more tests.
7060 (fma_test_towardzero): New function.
7061 (fma_test_downward): Likewise.
7062 (fma_test_upward): Likewise.
7063 (main): Call the new functions.
7064
b1fa802e
DM
70652012-09-28 David S. Miller <davem@davemloft.net>
7066
7067 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7068
d3b9fd9e
RM
70692012-09-28 Roland McGrath <roland@hack.frob.com>
7070
ea4d37b3
RM
7071 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7072 instead of SIGALRM.
7073
ac51c949
RM
7074 * sysdeps/gnu/_G_config.h: Moved to ...
7075 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7076 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7077 * sysdeps/generic/_G_config.h: ... here.
7078
28c195f7
RM
7079 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7080
848917f9
RM
7081 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7082
6bacf05b
RM
7083 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7084 Conditionalize target on [libnss_test1.so-version].
7085
91363dbb
RM
7086 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7087
cc87f7d8
RM
7088 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7089 (elfobjdir): Move out of conditionals.
7090
b1c608fe
RM
7091 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7092 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7093 (__nss_lookup_function): Conditionalize label remove_from_tree on
7094 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7095
1d9a6d96
DM
70962012-09-28 David S. Miller <davem@davemloft.net>
7097
7098 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7099 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7100 file.
7101 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7102 sysdep_routines.
7103 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7104 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7105 when HWCAP_SPARC_CRYPTO is present.
7106
72581615
PT
71072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7108
7109 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7110
715a900c
JL
71112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7112
7113 [BZ #6530]
7114 * stdio-common/vfprintf.c (process_string_arg): Revert
7115 2000-07-22 change.
7116
71172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7118
7119 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7120 for testcase.
7121 * stdio-common/tst-sprintf.c: Include <locale.h>
7122 (main): Test sprintf's handling of incomplete multibyte
7123 characters.
7124
9bac1d86
L
71252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 * elf/dl-runtime.c (VERSYMIDX): Removed.
7128 * elf/dl-version.c (VERSYMIDX): Likewise.
7129 * elf/do-rel.h (VERSYMIDX): Likewise.
7130 (VALIDX): Likewise.
7131 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7132 * elf/rtld.c (VALIDX): Likewise.
7133 (ADDRIDX): Likewise.
9bac1d86
L
7134 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7135 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7136 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7137 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7138 (VALIDX): Likewise.
7139 (ADDRIDX): Likewise.
9bac1d86 7140
b31606c0
PT
71412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7142
7143 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7144
11541177
JL
71452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7146
7147 [BZ #11438]
7148 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7149 to global scope.
7150 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7151 addresses are in the same scope as 192.0.2/24.
7152 * posix/gai.conf: Document new scope table defaults.
7153
adb26fae
SP
71542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7155
7156 [BZ #5298]
7157 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7158 for ftell. Compute offsets from write pointers instead.
7159 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7160
4573c6b0
SP
71612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7162
7163 [BZ #14543]
7164 * libio/Makefile (tests): New test case tst-fseek.
7165 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7166 combination works in wide mode.
7167 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7168 state when the external buffer state changes.
7169
aa9bbfe6
DM
71702012-09-27 David S. Miller <davem@davemloft.net>
7171
7172 [BZ #14376]
7173 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7174 pass reloc->r_addend in as the 'high' argument to
7175 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7176
784421e7
DM
7177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7178
c39bc8b8
PT
71792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7180
7181 * rt/tst-aio2.c: Include <pthread.h>.
7182 * rt/tst-aio3.c: Likewise.
7183
1ccc2399
SE
71842012-09-27 Steve Ellcey <sellcey@mips.com>
7185
7186 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7187
31ed4153
L
71882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7189
25f5f885
L
7190 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7191 contents on [SHARED].
31ed4153 7192
b7bfe116
MP
71932012-09-26 Marek Polacek <polacek@redhat.com>
7194
7195 [BZ #14530]
7196 [BZ #13741]
7197 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7198 for C++ and GCC <4.3 as well as for non GCC compilers.
7199
43c4edba
MT
72002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7201
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7203
6a1bf82f
RM
72042012-09-25 Roland McGrath <roland@hack.frob.com>
7205
7206 * Makefile.in (all, install): Declare with .PHONY.
7207 Reported by Michael Hope <michael.hope@linaro.org>.
7208
8ad11b9a
TMQMF
72092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7210
7211 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7212 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7213 system header.
7214 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7215 Likewise.
7216 (sydep_routines): Add the new and the internal functions.
7217 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7218 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7220 (GLIBC_2.17): Add the new function.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7222 (GLIBC_2.17): Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7224 (GLIBC_2.17): Likewise.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7226 (GLIBC_2.17): Likewise.
7227 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7228
7e2fca8d
AM
72292012-09-25 Alan Modra <amodra@gmail.com>
7230
7231 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7232 Add release barrier before setting once_control to say
7233 initialisation is done. Add hints on lwarx. Use macro in
7234 place of isync.
7235 (clear_once_control): Add release barrier.
7236
b87c4b24
JM
72372012-09-25 Joseph Myers <joseph@codesourcery.com>
7238
d032e0d2
JM
7239 [BZ #13629]
7240 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7241 specially.
7242 * math/s_clog10.c (__clog10): Likewise.
7243 * math/s_clog10f.c (__clog10f): Likewise.
7244 * math/s_clog10l.c (__clog10l): Likewise.
7245 * math/s_clogf.c (__clogf): Likewise.
7246 * math/s_clogl.c (__clogl): Likewise.
7247 * math/Makefile (libm-calls): Add x2y2m1.
7248 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7249 (__x2y2m1): Likewise.
7250 (__x2y2m1l): Likewise.
7251 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7252 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7253 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7254 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7255 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7256 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7257 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7258 * sysdeps/i386/fpu/libm-test-ulps: Update.
7259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7260
b87c4b24
JM
7261 [BZ #14621]
7262 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7263 int as type of variable DEPTH.
7264 (glob): Use size_t instead of int as type of variables NEWCOUNT
7265 and OLD_PATHC.
7266
6d3bf199
LD
72672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7268
22bf5c17
LD
7269 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7270 Add s_sincosf-sse2.
7271 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7272 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7273 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7274 macros for using routine as __sincosf_ia32.
7275 Use macro for function declaration and weak_alias.
7276 * sysdeps/i386/fpu/libm-test-ulps: Update.
7277
7278 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7279 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7280
7281 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7282 subnormal argument.
7283 * math/s_cexpf.c (__cexpf): Likewise.
7284 * math/s_csinf.c (__csinf): Likewise.
7285 * math/s_csinhf.c (__csinhf): Likewise.
7286 * math/s_ctanf.c (__ctanf): Likewise.
7287 * math/s_ctanhf.c (__ctanhf): Likewise.
7288 * math/s_ccosh.c (__ccoshf): Likewise.
7289 * math/s_cexp.c (__cexpl): Likewise.
7290 * math/s_csin.c (__csin): Likewise.
7291 * math/s_csinh.c (__csinh): Likewise.
7292 * math/s_ctan.c (__ctan): Likewise.
7293 * math/s_ctanh.c (ctanh): Likewise.
7294 * math/s_ccoshl.c (__ccoshl): Likewise.
7295 * math/s_cexpl.c (__cexpl): Likewise.
7296 * math/s_csinl.c (__csinl): Likewise.
7297 * math/s_csinhl.c (__csinhl): Likewise.
7298 * math/s_ctanl.c (__ctanl): Likewise.
7299 * math/s_ctanhl.c (__ctanhl): Likewise.
7300
203e5603
JM
73012012-09-25 Joseph Myers <joseph@codesourcery.com>
7302
7303 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7304 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7305 (_IO_off_t): Define to __off_t, not _G_off_t.
7306 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7307 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7308 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7309 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7310 type of __dummy and __dummy2 fields.
7311 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7312 (_G_ssize_t): Likewise.
7313 (_G_off_t): Likewise.
7314 (_G_pid_t): Likewise.
7315 (_G_uid_t): Likewise.
7316 (_G_wchar_t): Likewise.
7317 (_G_wint_t): Likewise.
7318 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7319 (_G_ssize_t): Likewise.
7320 (_G_off_t): Likewise.
7321 (_G_pid_t): Likewise.
7322 (_G_uid_t): Likewise.
7323 (_G_wchar_t): Likewise.
7324 (_G_wint_t): Likewise.
7325 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7326 (_G_ssize_t): Likewise.
7327 (_G_off_t): Likewise.
7328 (_G_pid_t): Likewise.
7329 (_G_uid_t): Likewise.
7330 (_G_wchar_t): Likewise.
7331 (_G_wint_t): Likewise.
7332
9fab36eb
SP
73332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7334
7335 * malloc/arena.c: Include malloc-sysdep.h.
7336 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7337 is sufficient to shrink the heap or an unmap is needed.
7338 * sysdeps/generic/malloc-sysdep.h: New file. Define
7339 new function check_may_shrink_heap.
7340 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7341 new function check_may_shrink_heap.
7342
2b4f00d1
SP
73432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7344
7345 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7346 comments.
7347
9a9028b1
DL
73482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7349
57c69bef
DL
7350 * catgets/test-gencat.sh: Add "set -e".
7351 * elf/tst-pathopt.sh: Likewise.
7352 * grp/tst_fgetgrent.sh: Likewise.
7353 * iconvdata/run-iconv-test.sh: Likewise.
7354 * intl/tst-gettext.sh: Likewise.
7355 * intl/tst-gettext2.sh: Likewise.
7356 * intl/tst-gettext4.sh: Likewise.
7357 * intl/tst-gettext6.sh: Likewise.
7358 * intl/tst-translit.sh: Likewise.
7359 * io/ftwtest-sh: Likewise.
7360 * libio/test-freopen.sh: Likewise.
7361 * malloc/tst-mtrace.sh: Likewise.
7362 * posix/globtest.sh: Likewise.
7363 * posix/tst-getconf.sh: Likewise.
7364 * posix/wordexp-tst.sh: Likewise.
7365 * stdio-common/tst-printf.sh: Likewise.
7366 * stdio-common/tst-unbputc.sh: Likewise.
7367 * stdlib/tst-fmtmsg.sh: Likewise.
7368 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7369 * catgets/Makefile: Do not specify -e option when running
7370 testsuite shell scripts.
7371 * elf/Makefile: Likewise.
7372 * grp/Makefile: Likewise.
7373 * iconvdata/Makefile: Likewise.
7374 * intl/Makefile: Likewise.
7375 * io/Makefile: Likewise.
7376 * libio/Makefile: Likewise.
7377 * malloc/Makefile: Likewise.
7378 * posix/Makefile: Likewise.
7379 * stdio-common/Makefile: Likewise.
7380 * stdlib/Makefile: Likewise.
7381 * sysdeps/x86_64/Makefile: Likewise.
7382
9a9028b1
DL
7383 * io/ftwtest-sh: Add copyright header.
7384 * posix/globtest.sh: Likewise.
7385 * posix/tst-getconf.sh: Likewise.
7386 * posix/wordexp-tst.sh: Likewise.
7387 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
7388
ced6f16e
L
73892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
7390
94b32c39
L
7391 [BZ #13679]
7392 * Makeconfig (+link): Defined as $(+link-static) if
7393 $(build-shared) isn't yes.
7394 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
7395 isn't yes.
7396 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
7397
189e935b
L
7398 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
7399
ced6f16e
L
7400 [BZ #14562]
7401 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
7402 new chunk size with MALLOC_ALIGN_MASK.
7403
a9f8e53a
JM
74042012-09-24 Joseph Myers <joseph@codesourcery.com>
7405
7406 [BZ #5044]
7407 * stdio-common/printf_fphex.c: Include <stdbool.h> and
7408 <rounding-mode.h>.
7409 (__printf_fphex): Determine rounding using get_rounding_mode and
7410 round_away.
7411 * stdio-common/tst-printf-round.c (struct hex_test): New
7412 structure.
7413 (hex_tests): New variable.
7414 (test_hex_in_one_mode): New function.
7415 (do_test): Also run tests for hex float output.
7416
43153109
JM
74172012-09-21 Joseph Myers <joseph@codesourcery.com>
7418
7419 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7420 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7421 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
7422 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
7423 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
7424 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
7425 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7426 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
7427
8a26625d
JM
74282012-09-20 Joseph Myers <joseph@codesourcery.com>
7429
7430 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
7431 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
7432 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
7433 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
7434
f3fd569c
DL
74352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
7436
7437 [BZ #14579]
7438 * elf/rtld.c (dl_main): Limit the check for self loading to normal
7439 mode only.
7440 * elf/tst-rtld-load-self.sh: New test.
7441 * elf/Makefile: Run it.
7442
63bbedd4
JM
74432012-09-18 Joseph Myers <joseph@codesourcery.com>
7444
7445 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
7446 (tst-writev-ENV): Remove.
7447 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
7448
626f8b6a
CM
74492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
7450
7451 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
7452
b7aaa4d6
JM
74532012-09-17 Joseph Myers <joseph@codesourcery.com>
7454
7455 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
7456 unconditional.
7457 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
7458 Likewise.
7459 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
7460 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
7461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
7462 Likewise.
7463
65513990
L
74642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
7465
7466 [BZ #14587]
7467 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
7468 * config.make.in (have-cpp-asm-debuginfo): Removed.
7469 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
7470 * configure: Regenerated.
7471
784761be
JM
74722012-09-14 Joseph Myers <joseph@codesourcery.com>
7473
7474 [BZ #5044]
7475 * stdio-common/printf_fp.c: Include <stdbool.h> and
7476 <rounding-mode.h>.
7477 (___printf_fp): Determine rounding using get_rounding_mode and
7478 round_away.
7479 * stdio-common/tst-printf-round.c: New file.
7480 * stdio-common/Makefile (tests): Add tst-printf-round.
7481 (link-libm): New variable.
7482 ($(objpfx)tst-printf-round): Depend in $(link-libm).
7483
9503345f
L
74842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
7485
7486 [BZ #14576]
7487 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
7488 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
7489 Likewise.
7490 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
7491 Likewise.
7492
ad35fc00
JM
74932012-09-13 Joseph Myers <joseph@codesourcery.com>
7494
7495 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
7496 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7497 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7498 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
7499
6c9b0f68
JM
75002012-09-12 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #14518]
7503 * include/rounding-mode.h: New file.
7504 * sysdeps/generic/get-rounding-mode.h: Likewise.
7505 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
7506 * stdlib/strtod_l.c: Include <rounding-mode.h>.
7507 (MAX_VALUE): New macro.
7508 (MIN_VALUE): Likewise.
7509 (overflow_value): New function.
7510 (underflow_value): Likewise.
7511 (round_and_return): Use overflow_value and underflow_value to
7512 determine return values in overflow and underflow cases. Use
7513 round_away to determine rounding depending on rounding mode.
7514 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
7515 determine return values in overflow and underflow cases.
7516 * stdlib/tst-strtod-round.c: Include <fenv.h>.
7517 (struct test_results): New structure.
7518 (struct test): Use struct test_results to store expected results
7519 for all rounding modes.
7520 (TEST): Include expected results for all rounding modes.
7521 (test_in_one_mode): New function.
7522 (do_test): Use test_in_one_mode to compute and check results.
7523 Check results for all rounding modes.
7524 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
7525 $(link-libm).
7526
19fcedd5
AM
75272012-12-09 Allan McRae <allan@archlinux.org>
7528
1e9d84cd 7529 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 7530
8bbfd2f1
JM
75312012-09-11 Joseph Myers <joseph@codesourcery.com>
7532
7533 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
7534 (_G_int32_t): Likewise.
7535 (_G_uint16_t): Likewise.
7536 (_G_uint32_t): Likewise.
7537 (_G_HAVE_BOOL): Likewise.
7538 (_G_HAVE_ATEXIT): Likewise.
7539 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7540 (_G_HAVE_IO_FILE_OPEN): Likewise.
7541 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
7542 (_G_int32_t): Likewise.
7543 (_G_uint16_t): Likewise.
7544 (_G_uint32_t): Likewise.
7545 (_G_HAVE_BOOL): Likewise.
7546 (_G_HAVE_ATEXIT): Likewise.
7547 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7548 (_G_HAVE_IO_FILE_OPEN): Likewise.
7549 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
7550 (_G_int32_t): Likewise.
7551 (_G_uint16_t): Likewise.
7552 (_G_uint32_t): Likewise.
7553 (_G_HAVE_BOOL): Likewise.
7554 (_G_HAVE_ATEXIT): Likewise.
7555 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
7556 (_G_HAVE_IO_FILE_OPEN): Likewise.
7557
b1dc5912
L
75582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
7559
7560 * csu/libc-tls.c: Update copyright years.
7561
0e886ef9
JM
75622012-09-10 Joseph Myers <joseph@codesourcery.com>
7563
28361c5e
JM
7564 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
7565 [!_G_USING_THUNKS]: Remove conditional code.
7566 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
7567 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
7568
0e886ef9
JM
7569 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
7570 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
7571 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7572 (_G_VTABLE_LABEL_PREFIX): Likewise.
7573 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7574 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7575 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7576 (_G_VTABLE_LABEL_PREFIX): Likewise.
7577 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7578 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
7579 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
7580 (_G_VTABLE_LABEL_PREFIX): Likewise.
7581 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
7582
bcba7aa2
L
75832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
7584
7585 * libio/Makefile: Include ../Makeconfig before tests.
7586 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
7587 only if $(build-shared) is yes.
7588
06585ee8
L
7589 * iconv/gconv_db.c: Update copyright years.
7590
80ccd52c
LD
75912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7592
7593 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
7594 unwind info if defined PIC. Fix special cases description.
7595 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
7596
7597 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
7598 DP_HI_MASK entry.
7599 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
7600
691bc9c1
L
76012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
7602
3d9b46b3
L
7603 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
7604
de2139a9
L
7605 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
7606 is NULL.
7607
5ca78dd0
L
7608 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
7609 (LDLIBS-tst-chk4): This.
7610 (LDFLAGS-tst-chk5): Renamed to ...
7611 (LDLIBS-tst-chk5): This.
7612 (LDFLAGS-tst-chk6): Renamed to ...
7613 (LDLIBS-tst-chk6): This.
7614 (LDFLAGS-tst-lfschk4): Renamed to ...
7615 (LDLIBS-tst-lfschk4): This.
7616 (LDFLAGS-tst-lfschk5): Renamed to ...
7617 (LDLIBS-tst-lfschk5): This.
7618 (LDFLAGS-tst-lfschk6): Renamed to ...
7619 (LDLIBS-tst-lfschk6): This.
7620
691bc9c1
L
7621 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
7622 on $(common-objpfx)soversions.mk.
7623
65cafb1c
JM
76242012-09-07 Joseph Myers <joseph@codesourcery.com>
7625
7626 [BZ #10014]
7627 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
7628 example host name.
7629
c78ab094
SP
76302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7631
7632 * malloc/arena.c (arena_get_retry): New function that gets
7633 another arena for the caller to try its request on.
7634 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
7635 current arena cannot fulfill the request.
7636 (__libc_memalign): Likewise.
7637 (__libc_memalign): Likewise.
7638 (__libc_pvalloc): Likewise.
7639 (__libc_calloc): Likewise.
7640
01f49f59
JT
76412012-09-05 John Tobey <john.tobey@gmail.com>
7642
7643 [BZ #13542]
7644 * manual/arith.texi (Operations on Complex): Fix description
7645 of carg branch cut.
7646
4c23fed5
JM
76472012-09-06 Joseph Myers <joseph@codesourcery.com>
7648
1d3c8572
JM
7649 [BZ #10014]
7650 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
7651 host name.
7652
4c23fed5
JM
7653 [BZ #10038]
7654 * manual/memory.texi (Memory): Make order of menu items match
7655 order of sections.
7656
04570aaa
L
76572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7658
7659 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
7660 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
7661 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
7662
b80af2f4
L
76632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 * csu/libc-tls.c (static_dtv): Renamed to ...
7666 (_dl_static_dtv): This. Make it global.
7667 (_dl_initial_dtv): Removed.
7668 (__libc_setup_tls): Updated.
7669 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
7670 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
7671 DL_INITIAL_DTV.
7672
2abe9f15
PM
76732012-09-06 Petr Machata <pmachata@redhat.com>
7674
7675 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
7676 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
7677 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
7678 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
7679
0948c3af
L
76802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7681
7682 [BZ #14545]
7683 * csu/libc-tls.c (_dl_initial_dtv): New variable.
7684 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
7685 freeing dtv[-1].
7686
a5055ad1
L
76872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 [BZ #14544]
7690 * Makeconfig (link-static-before-libc): Replace $(+prector)
7691 with $(+prectorT).
7692 (link-static-after-libc): Replace $(+postctor) with
7693 $(+postctorT).
7694 (link-bounded): Replace $(+prector)/$(+postctor) with
7695 $(+prectorT)/$(+postctorT).
7696 (+prectorT): New macro.
7697 (+postctorT): Likewise.
7698
ed8c2ecd
JM
76992012-09-06 Joseph Myers <joseph@codesourcery.com>
7700
7701 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
7702 (round_str): Handle values above the maximum for IBM long double
7703 as inexact.
7704 * stdlib/tst-strtod-round.c (tests): Regenerated.
7705
14c996c8
AK
77062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7707
7708 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
7709 assembler flag.
7710 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
7711 zarch_nohighgprs around the zarch optimized routines.
7712 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7713 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
7715 for zarch.
7716
430d6ce6
DM
77172012-09-05 David S. Miller <davem@davemloft.net>
7718
7719 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7720
ff04dda4
DM
7721 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
7722 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
7723 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
7724 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7725 entries.
7726
24d4e01b
AO
77272012-09-05 Alexandre Oliva <aoliva@redhat.com>
7728
7729 * malloc/arena.c: Fold copyright years.
7730 * malloc/mcheck.c, malloc/memusage.c: Likewise.
7731
61d58174
AO
77322012-09-05 Alexandre Oliva <aoliva@redhat.com>
7733
7734 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
7735
20196a5e
AO
77362012-09-05 Alexandre Oliva <aoliva@redhat.com>
7737
7738 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
7739
5c447383
AO
77402012-09-05 Alexandre Oliva <aoliva@redhat.com>
7741
7742 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
7743 change internal state upon failure.
7744
fad64255
AO
77452012-09-05 Alexandre Oliva <aoliva@redhat.com>
7746
7747 * malloc/mcheck.c (mcheck_check_all): Fix typo.
7748 * malloc/memusage.c (mmap): Likewise.
7749 (mmap64, mremap): Likewise. Adjust name in comment.
7750
1ffb8c90
SP
77512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7752
7753 * libio/fileops.c: Fix typos in comments.
7754 * libio/oldfileops.c: Likewise.
7755 * libio/wfileops.c: Likewise.
7756
6ef9cc37
SP
77572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7758
7759 [BZ #1349]
7760 * malloc/Makefile (tests): Add tst-malloc-usable test case.
7761 (tst-malloc-usable-ENV): Set environment for test case.
7762 * malloc/hooks.c (malloc_check_get_size): New function to get
7763 requested size.
7764 * malloc/malloc.c (musable): Use malloc_check_get_size.
7765 * malloc/tst-malloc-usable.c: New test case.
7766
4d038ae3
AS
77672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7768
7769 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
7770
c4e85184
AM
77712012-09-05 Allan McRae <allan@archlinux.org>
7772
b9dafc56 7773 [BZ #13966]
c4e85184
AM
7774 * configure.in (CXX_SYSINCLUDES): Use compiler output to
7775 determine header location.
7776 * configure: Regenerated.
7777
e1343020
AS
77782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
7779
7780 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
7781 float format.
7782 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
7783 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
7784 format.
e1343020
AS
7785 (test): Regenerate.
7786
0a9f1987
DM
77872012-09-04 David S. Miller <davem@davemloft.net>
7788
7789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
7790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
7791 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
7792
29237804
FW
77932012-09-04 Florian Weimer <fweimer@redhat.com>
7794
7795 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
7796 failures.
7797
edb3cb88
FW
7798 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
7799
60160d83
JM
78002012-09-04 Joseph Myers <joseph@codesourcery.com>
7801
7802 [BZ #9914]
7803 * libio/iogetdelim.c: Include <limits.h>.
7804 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
7805 + len + 1 would overflow.
7806
bcd6c8dc
AJ
78072012-09-03 Andreas Jaeger <aj@suse.de>
7808
7809 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7810 * sysdeps/i386/fpu/libm-test-ulps: Update.
7811
4ffffbd2
LD
78122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7813
7814 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7815 Add s_sinf-sse2, s_conf-sse2.
7816
7817 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
7818 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
7819 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
7820 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
7821
7822 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
7823 for using routine as __sinf_ia32.
7824 Use macro for function declaration and weak_alias.
7825 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
7826 for using routine as __cosf_ia32.
7827 Use macro for function declaration and weak_alias.
7828
7829 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
7830 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
7831
7832 * sysdeps/x86_64/fpu/s_sinf.S: New file.
7833 * sysdeps/x86_64/fpu/s_cosf.S: New file.
7834 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7835
7836 * math/libm-test.inc (cos_test): Add more test cases.
7837 (sin_test): Likewise.
7838 (sincos_test): Likewise.
7839
511fa286
AK
78402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7841
7842 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
7843 (IFUNC_RESOLVE): Make pointers to the specialized implementations
7844 hidden.
7845 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7846
5f30cfec
L
78472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
7848
7849 [BZ #14538]
7850 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
7851 first element of the GOT.
7852 (elf_machine_load_address): Return the difference between
7853 the runtime address of _DYNAMIC and elf_machine_dynamic ().
7854
0786794f
AM
78552012-09-01 Allan McRae <allan@archlinux.org>
7856
5f30cfec
L
7857 [BZ #13412]
7858 * configure.in (AWK): Require gawk version 3.0 or later.
7859 * configure: Regenerated.
0786794f 7860
26889eac
JM
78612012-09-01 Joseph Myers <joseph@codesourcery.com>
7862
7863 * sysdeps/unix/sysv/linux/kernel-features.h
7864 (__ASSUME_POSIX_CPU_TIMERS): Remove.
7865 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
7866 [__NR_clock_getres]: Make code unconditional.
7867 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
7868 (clock_getcpuclockid): Remove code left unreachable by removal of
7869 conditionals.
7870 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
7871 code unconditional.
7872 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7873 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7874 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
7875 Make code unconditional.
7876 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
7877 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7878 * sysdeps/unix/sysv/linux/clock_settime.c
7879 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
7880 conditional code.
7881 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
7882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
7883
d22e28b0
L
78842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
7885
7886 [BZ #14476]
7887 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
7888 scripts/test-installation.pl.
7889
7890 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
7891 and $ld_so_version if it is set.
7892
050af9c4
SP
78932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7894
7895 [BZ #14516]
7896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
7897 failure if reading from procfs failed.
7898 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
7899
ad845c0b
JM
79002012-08-27 Joseph Myers <joseph@codesourcery.com>
7901
7902 * sysdeps/unix/sysv/linux/kernel-features.h
7903 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
7904 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7905 Remove conditional code.
7906 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7907 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
7908 Remove conditional code.
7909 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7910 * sysdeps/unix/sysv/linux/i386/fxstat.c
7911 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7912 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7913 * sysdeps/unix/sysv/linux/i386/fxstatat.c
7914 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7915 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7916 * sysdeps/unix/sysv/linux/i386/lxstat.c
7917 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
7918 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7919 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
7920 Remove conditional code.
7921 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7922 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
7923 Remove conditional code.
7924 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
7926 <kernel-features.h>.
7927 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
7928 Remove.
7929 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
7930 Remove conditional code.
7931 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
7932 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
7933 Remove conditional.
7934
5dbf56af
MF
79352012-08-27 Mike Frysinger <vapier@gentoo.org>
7936
7937 [BZ #5400]
7938 * NEWS: Add fixed bug number.
7939
d6e70f43
JM
79402012-08-27 Joseph Myers <joseph@codesourcery.com>
7941
7efb4737
JM
7942 [BZ #14519]
7943 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
7944 underflowing exponent in case of negative sign.
7945 * stdlib/tst-strtod-round-data: Add more tests.
7946 * stdlib/tst-strtod-round.c (tests): Regenerated.
7947
af92131a
JM
7948 [BZ #3479]
7949 * stdlib/strtod_l.c (NDIG): Remove.
7950 (HEXNDIG): Likewise.
7951 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
7952 smallest representable value.
7953 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
7954 lie within an exact representation of 1/2 ulp of the result.
7955 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
7956 unconditionally.
7957 (TENS_P9_IDX): Define unconditionally.
7958 (TENS_P9_SIZE): Likewise.
7959 (TENS_P10_IDX): Likewise.
7960 (TENS_P10_SIZE): Likewise.
7961 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
7962 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
7963 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
7964 entries for 10^2^13 and 10^2^14.
7965 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
7966 (TENS_P13_IDX): Define.
7967 (TENS_P13_SIZE): Likewise.
7968 (TENS_P14_IDX): Likewise.
7969 (TENS_P14_SIZE): Likewise.
7970 (_fpioconst_pow10): Change array size to
7971 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
7972 unconditional.
7973 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
7974 1024]: Add entries for 10^2^13 and 10^2^14.
7975 [LAST_POW10 > _LAST_POW10]: Remove #error.
7976 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
7977 (_fpioconst_pow10): Change array size to
7978 FPIOCONST_POW10_ARRAY_SIZE.
7979 * stdlib/gen-fpioconst.c: New file.
7980 * stdlib/gen-tst-strtod-round.c: Likewise.
7981 * stdlib/tst-strtod-round-data: Likewise.
7982 * stdlib/tst-strtod-round.c: Likewise.
7983 * stdlib/Makefile (tests): Add tst-strtod-round.
7984
d6e70f43
JM
7985 [BZ #14459]
7986 * stdlib/strtod_l.c: Include <stdint.h>.
7987 (NDEBUG): Do not define.
7988 (round_and_return): Change EXPONENT parameter to type intmax_t.
7989 Rearrange calculations to avoid internal overflow possibilities.
7990 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
7991 Rearrange calculations to avoid internal overflow possibilities.
7992 Assert that number fits inside MPNSIZE limbs.
7993 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
7994 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
7995 calculations and add assertions to avoid internal overflow
7996 possibilities. Add casts to avoid signed/unsigned operations.
7997 * stdlib/tst-strtod-overflow.c: New file.
7998 * stdlib/Makefile (tests): Add tst-strtod-overflow.
7999
1f529f7d
MP
80002012-08-25 Marek Polacek <polacek@redhat.com>
8001
8002 * time/time.h: Fix some typos in comments.
8003
59a629f1
RM
80042012-08-23 Roland McGrath <roland@hack.frob.com>
8005
8006 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8007 * posix/tst-rfc3484-2.c: Likewise.
8008 * posix/tst-rfc3484-3.c: Likewise.
8009
d3bafbc9
SM
80102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8011
8012 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8013 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8014
4efcc022
JM
80152012-08-23 Joseph Myers <joseph@codesourcery.com>
8016
8017 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8018 #include of fxstatat64.c.
8019
3cc3ef96
RM
80202012-08-22 Roland McGrath <roland@hack.frob.com>
8021
f04e2132
RM
8022 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8023 * shadow/getspent_r.c: Likewise.
8024 * shadow/getspnam.c: Likewise.
8025 * shadow/getspnam_r.c: Likewise.
8026 * gshadow/getsgent.c: Likewise.
8027 * gshadow/getsgent_r.c: Likewise.
8028 * gshadow/getsgnam.c: Likewise.
8029 * gshadow/getsgnam_r.c: Likewise.
8030 * inet/getnetbyad.c: Likewise.
8031 * inet/getnetbyad_r.c: Likewise.
8032 * inet/getnetbynm.c: Likewise.
8033 * inet/getnetbynm_r.c: Likewise.
8034 * inet/getnetent.c: Likewise.
8035 * inet/getnetent_r.c: Likewise.
8036 * inet/getproto.c: Likewise.
8037 * inet/getproto_r.c: Likewise.
8038 * inet/getprtent.c: Likewise.
8039 * inet/getprtent_r.c: Likewise.
8040 * inet/getprtname.c: Likewise.
8041 * inet/getprtname_r.c: Likewise.
8042 * inet/getrpcbyname.c: Likewise.
8043 * inet/getrpcbyname_r.c: Likewise.
8044 * inet/getrpcbynumber.c: Likewise.
8045 * inet/getrpcbynumber_r.c: Likewise.
8046 * inet/getrpcent.c: Likewise.
8047 * inet/getrpcent_r.c: Likewise.
8048 * inet/getaliasent.c: Likewise.
8049 * inet/getaliasent_r.c: Likewise.
8050 * inet/getaliasname.c: Likewise.
8051 * inet/getaliasname_r.c: Likewise.
8052 * nscd/getgrgid_r.c: Likewise.
8053 * nscd/getgrnam_r.c: Likewise.
8054 * nscd/gethstbyad_r.c: Likewise.
8055 * nscd/gethstbynm3_r.c: Likewise.
8056 * nscd/getpwnam_r.c: Likewise.
8057 * nscd/getpwuid_r.c: Likewise.
8058 * nscd/getsrvbynm_r.c: Likewise.
8059 * nscd/getsrvbypt_r.c: Likewise.
8060 * nscd/gai.c: Likewise.
8061
c53d909c
RM
8062 * configure.in (build_nscd): New substituted variable, set
8063 by --disable-build-nscd and defaults to $use_nscd.
8064 * configure: Regenerated.
8065 * config.make.in (build-nscd): New substituted variable.
8066 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8067 Change conditional to require [$(build-nscd) = yes] as well.
8068 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8069
3cc3ef96
RM
8070 [BZ# 13696]
8071 * configure.in (use_nscd): New substituted variable, set by
8072 --disable-nscd. If enabled, define USE_NSCD.
8073 * configure: Regenerated.
8074 * config.h.in: Add USE_NSCD.
8075 * config.make.in (use-nscd): New substituted variable.
8076 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8077 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8078 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8079 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8080 (CFLAGS-getgrnam_r.c): Likewise.
8081 (CFLAGS-initgroups.c): Likewise.
8082 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8083 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8084 Variables removed.
8085 * inet/getnetgrent_r.c
8086 (nscd_setnetgrent): New function, broken out of ...
8087 (setnetgrent): ... here. Call it.
8088 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8089 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8090 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8091 * nscd/Makefile (routines, aux): Move definitions after include of
8092 Makeconfig. Conditionalize on [$(use-nscd) != no].
8093 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8094 Conditionalize on [USE_NSCD].
8095 (is_nscd, nscd_init_cb): Likewise.
8096 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8097 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8098 * nss/nss_db/db-init.c: Likewise.
8099 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8100 [USE_NSCD].
8101 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8102 (make_request): Use it.
8103 (cache_valid_p): New function.
8104 (__check_pf): Use it.
8105 * NEWS: Add item for --disable-nscd.
8106
07e51550
DL
81072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8108
8109 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8110 to support sed >= 4.2.1-20-ga9bf076.
8111 * configure: Regenerated.
8112
35a5b08b
RM
81132012-08-22 Roland McGrath <roland@hack.frob.com>
8114
8115 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8116 Conditionalize whole body on [IREL].
8117
8479f23a
JL
81182012-08-22 Jeff Law <law@redhat.com>
8119
8120 [BZ #14505]
8121 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8122 if the family is PF_UNSPEC.
8123
48da0b21
MF
81242012-08-22 Mike Frysinger <vapier@gentoo.org>
8125
8126 * Makerules (lib-version): Rename from V.
8127 (install-lib-nosubdir): Change V to lib-version.
8128
15d0da8c
WS
81292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8130
8131 [BZ #14252]
8132 * powerpc32/power6/wcschr.c: New file.
8133 * powerpc32/power6/wcscpy.c: New file.
8134 * powerpc32/power6/wcsrchr.c: New file.
8135 * powerpc64/power6/wcschr.c: New file.
8136 * powerpc64/power6/wcscpy.c: New file.
8137 * powerpc64/power6/wcsrchr.c: New file.
8138
bcca0895
MK
81392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8140
8141 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8142 (two_way_short_needle): Use it.
5a4aaa33
RM
8143 * string/strstr.c (AVAILABLE1_USES_J): Define.
8144 * string/strcasestr.c: Likewise.
99677e57
MK
8145
8146 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8147 array references.
8148 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8149
400726de
MK
8150 [BZ #11607]
8151 * NEWS: Add an entry.
8152 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8153 define their defaults.
8154 (two_way_short_needle): Detect end-of-string on-the-fly.
8155 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8156 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8157 * string/bug-strcasestr1.c: New test.
8158 * string/Makefile: Run it.
8159
20a71f2c
MK
81602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8161
8162 [BZ #11607]
8163 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8164 the first character.
8165
21ad0558
RM
81662012-08-21 Roland McGrath <roland@hack.frob.com>
8167
8168 * csu/elf-init.c (__libc_csu_irel): Function removed.
8169 * csu/libc-start.c (apply_irel): New function.
8170 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8171
0e1d9911
JM
81722012-08-21 Joseph Myers <joseph@codesourcery.com>
8173
8174 * sysdeps/unix/sysv/linux/kernel-features.h
8175 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8176 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8177 <kernel-features.h>.
8178 [__NR_fadvise64_64]: Make code unconditional.
8179 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8180 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8181 !__NR_fadvise64_64)]: Likewise.
8182 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8183 !__NR_fadvise64_64))]: Likewise.
8184 [__NR_fadvise64]: Make code unconditional.
8185 [!__NR_fadvise64]: Remove conditional code.
8186 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8187 <kernel-features.h>.
8188 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8189 unconditional.
8190 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8191 conditional code.
8192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8193 not include <kernel-features.h>.
8194 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8195 unconditional.
8196 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8197 conditional code.
8198 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8199 include <kernel-features.h>.
8200 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8201 unconditional.
8202 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8203 conditional code.
8204
14a50c9d
WS
82052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8206
8207 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8208 slight instruction rearrangements per scrollpipe analysis.
8209 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8210
c0f4faf0
RM
82112012-08-20 Roland McGrath <roland@hack.frob.com>
8212
696da859
RM
8213 * manual/syslog.texi (syslog; vsyslog, closelog):
8214 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8215 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8216
c0f4faf0
RM
8217 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8218 DSOCAPS to match condition on defining it.
8219
348363b2
JM
82202012-08-20 Joseph Myers <joseph@codesourcery.com>
8221
a35cbf28
JM
8222 * sysdeps/unix/sysv/linux/kernel-features.h
8223 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8225 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8226 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8228 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8229 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8231 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8232 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8233
445f7ecd
JM
8234 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8235 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8236
348363b2
JM
8237 * sysdeps/unix/sysv/linux/kernel-features.h
8238 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8239 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8240 unconditional.
8241 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8242 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8243 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8244 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8245 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8246 Make code unconditional.
8247 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8248 (__mmap64) [!__NR_mmap2]: Likewise.
8249 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8250 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8251 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8252 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8253 [__NR_mmap2]: Make code unconditional.
8254 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8255 (__mmap64) [!__NR_mmap2]: Likewise.
8256
bc5bc0e5
AK
82572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8258
8259 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8260
88d506de
AJ
82612012-08-18 Andreas Jaeger <aj@suse.de>
8262
8263 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8264
493387d2
MF
82652012-08-18 Mike Frysinger <vapier@gentoo.org>
8266
8267 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8268 * include/unistd.h (__have_sock_cloexec): Likewise.
8269 (__have_pipe2): Likewise.
8270 (__have_dup3): Likewise.
8271
a277af22
MF
82722012-08-18 Mike Frysinger <vapier@gentoo.org>
8273
8274 [BZ #9685]
8275 * include/unistd.h (__have_pipe2): Change define into an extern int.
8276 (__have_dup3): Likewise.
8277 * socket/have_sock_cloexec.c: Include fcntl.h.
8278 (__have_pipe2): New variable.
8279 (__have_dup3): Likewise.
8280
fdab8fd3
MF
82812012-08-17 Mike Frysinger <vapier@gentoo.org>
8282
8283 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8284
31035e80
MP
82852012-08-17 Marek Polacek <polacek@redhat.com>
8286
8287 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8288 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8289
3bd9e993
RM
82902012-08-17 Roland McGrath <roland@hack.frob.com>
8291
c91c505f
RM
8292 * configure.in: Add AC_SUBST for sysheaders.
8293 * configure: Regenerated.
8294 * config.make.in (sysheaders): New substituted variable.
8295
7c6f9d53
RM
8296 * sysdeps/unix/mkfifo.c: Moved ...
8297 * sysdeps/posix/mkfifo.c: ... here.
8298 * sysdeps/unix/mkfifoat.c: Moved ...
8299 * sysdeps/posix/mkfifoat.c: ... here.
8300
8301 * sysdeps/unix/utime.c: Moved ...
8302 * sysdeps/posix/utime.c: ... here.
8303
8304 * sysdeps/unix/time.c: Moved ...
8305 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8306 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8308
8309 * sysdeps/unix/nice.c: Moved ...
8310 * sysdeps/posix/nice.c: ... here.
8311
8312 * sysdeps/unix/alarm.c: Moved ...
8313 * sysdeps/posix/alarm.c: ... here.
8314
3bd9e993
RM
8315 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8316
d1f09384
JL
83172012-08-17 Jeff Law <law@redhat.com>
8318
8319 * intl/Makefile (codeset_mo): New variable.
8320 ($(codeset_mo)): New target.
8321 (tst-codeset.out): Depend on that. Remove explicit rule.
8322 (tst-gettext3.out, tst-gettext5.out): Likewise.
8323 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8324 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8325 * intl/tst-codeset.sh: Remove.
8326 * intl/tst-gettext3.sh: Likewise.
8327 * intl/tst-gettext5.sh: Likewise.
8328
2ae1ae5c
RM
83292012-08-17 Roland McGrath <roland@hack.frob.com>
8330
c31fdb83
RM
8331 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8332 * sysdeps/unix/syscalls.list: ... here.
8333
a0844057
RM
8334 * sysdeps/posix/getaddrinfo.c
8335 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8336 (gaiconf_init, gaiconf_reload): Use them.
8337 [!_STATBUF_ST_NSEC]
8338 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8339 Define using time_t rather than struct timespec.
8340
750c1f2a
RM
8341 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8342 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8343 Macros removed.
8344 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8345 [!NO_THREADS].
8346 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8347 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8348 Likewise.
8349
2ae1ae5c
RM
8350 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8351 __libc_cleanup_push argument.
8352
e66a42f5
RM
8353 * bits/param.h: New file.
8354 * misc/sys/param.h: New file.
8355 * include/sys/param.h: New file.
8356 * misc/Makefile (headers): Add bits/param.h.
8357 * sysdeps/generic/sys/param.h: File removed.
8358 * sysdeps/unix/sysv/linux/bits/param.h: New file.
8359 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
8360 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 8361 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 8362
b7c08a66
RM
8363 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
8364 last change.
8365
b2e1c562
RM
8366 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
8367 [_IO_MTSAFE_IO].
8368 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
8369 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
8370 New macros.
8371
c75ccd4c
RM
8372 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
8373 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
8374 rather than -D_IO_MTSAFE_IO conditionally.
8375 * stdio-common/Makefile (CPPFLAGS): Likewise.
8376 * wcsmbs/Makefile (CPPFLAGS): Likewise.
8377 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
8378 Use $(libio-mtsafe).
8379 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
8380 of -D_IO_MTSAFE_IO.
8381 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
8382 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
8383 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
8384 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
8385 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
8386 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
8387 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
8388 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
8389 (CFLAGS-fread_u_chk.c): Likewise.
8390 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
8391 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
8392 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
8393 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
8394 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
8395 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
8396 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
8397 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
8398 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
8399
8400 * libio/Makefile: Test [$(libc-reentrant) = yes]
8401 instead of [$(filter %REENTRANT, $(defines)) nonempty].
8402
8403 * Makeconfig
8404 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
8405 * sysdeps/pthread/configure: File removed.
8406 * sysdeps/pthread/Makeconfig: New file.
8407 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
8408 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
8409
d9195db8
GB
84102012-08-16 Gary Benson <gbenson@redhat.com>
8411
8412 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
8413 unmapping the first object in a namespace.
8414
86466cd9
RM
84152012-08-16 Roland McGrath <roland@hack.frob.com>
8416
8417 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
8418 (__internal_setnetgrent): ... this. Add internal_function to
8419 definition. Add libc_hidden_def.
8420 (setnetgrent): Update caller.
8421 (internal_endnetgrent): Renamed to ...
8422 (__internal_endnetgrent): ... this. Add internal_function to
8423 definition. Add libc_hidden_def.
8424 (endnetgrent): Update caller.
8425 (internal_getnetgrent_r): Renamed to ...
8426 (__internal_getnetgrent_r): ... this. Add internal_function to
8427 definition. Add libc_hidden_def.
8428 (__getnetgrent_r): Update caller.
8429 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
8430
c3c8283c
JM
84312012-08-16 Joseph Myers <joseph@codesourcery.com>
8432
8433 * stdlib/longlong.h: Update from GCC.
8434
db1ee0a8
RM
84352012-08-16 Roland McGrath <roland@hack.frob.com>
8436
8437 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
8438 on _QL, which is set by umul_ppmm but never used.
8439 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
8440 variables, which are set by GMP macros but never used.
8441 * stdio-common/_itowa.c (_itowa): Likewise.
8442 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
8443 * stdlib/mod_1.c (mpn_mod_1): Likewise.
8444
30f69637
CD
84452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
8446
8447 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
8448 struct La_sh_regs is not constant.
8449 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
8450 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
8451 and struct La_sparc64_regs are not constant.
8452
93a78ac4
JM
84532012-08-16 Joseph Myers <joseph@codesourcery.com>
8454
8455 * sysdeps/unix/sysv/linux/kernel-features.h
8456 (__ASSUME_POSIX_TIMERS): Remove.
8457 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8458 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8459 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
8460 Make code unconditional.
8461 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8462 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
8463 Make code unconditional.
8464 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8465 * sysdeps/unix/sysv/linux/clock_nanosleep.c
8466 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
8467 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8468 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
8469 Make code unconditional.
8470 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
8471 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
8472 (__libc_missing_posix_timers): Remove.
8473
dd924cd7
RM
84742012-08-15 Roland McGrath <roland@hack.frob.com>
8475
4b4f2771
RM
8476 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
8477 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
8478
601c888b
RM
8479 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
8480
176790a7
RM
8481 * elf/dl-sym.c: Include <stdlib.h>.
8482
329bc018
RM
8483 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
8484 constants, which avoids warnings in 32-bit builds.
8485
e04e272d
RM
8486 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
8487 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
8488
952bf94a
RM
8489 * misc/lseek.c: File moved to ...
8490 * io/lseek.c: ... here.
8491
7c99b50a
RM
8492 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
8493
dd924cd7
RM
8494 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
8495 shifting LEN more than 31 bits at once.
8496
b3f479a8
LD
84972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8498
8499 [BZ #14195]
8c4ae0d4
RM
8500 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
8501 segmentation fault for a case of two empty input strings.
b3f479a8
LD
8502 * string/test-strncasecmp.c (check1): Renamed to...
8503 (bz12205): ...this.
8504 (bz14195): Add new testcase for two empty input strings and N > 0.
8505 (test_main): Call new testcase, adapt for renamed function.
8506
9c55864e
AJ
85072012-08-15 Andreas Jaeger <aj@suse.de>
8508
8509 [BZ #14090]
8510 * crypt/md5test2.c: New test, based on test supplied by Serge
8511 Belyshev <belyshev@depni.sinp.msu.ru>.
8512 * crypt/Makefile (xtests): Add md5test-giant..
8513 * crypt/Makefile ($(objpfx)md5test-giant): Add.
8514
02dcb6c5
PE
85152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
8516
8517 [BZ #14090]
8518 * crypt/md5.c (md5_process_block): Don't assume the buffer
8519 length is less than 2**32.
8520 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
8521 length is less than 2**64.
8522
a3f95dcc
RM
85232012-08-15 Roland McGrath <roland@hack.frob.com>
8524
be75d758
RM
8525 * string/str-two-way.h: Include <sys/param.h>.
8526 (MAX): Macro removed.
8527
7312ca90
RM
8528 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
8529 Move #define and #undef of memmove to just before and after
8530 including <string.h>.
8531
9a0a5486
RM
8532 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
8533 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
8534 and after including <string.h>. Move declarations of
8535 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
8536 to before #include "string/memmove.c".
8537
67cc348d
RM
8538 * include/dirent.h: Declare __getdirentries.
8539
a3f95dcc
RM
8540 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
8541 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
8542
ca98e171
MF
85432012-08-14 Mike Frysinger <vapier@gentoo.org>
8544
8545 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
8546 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
8547 * sysdeps/i386/configure: Regenerated.
8548 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
8549 STABS_CURRENT_FILE, and STABS_FUN.
8550 (END): Remove call to STABS_FUN_END.
8551 (STABS_CURRENT_FILE1): Delete.
8552 (STABS_CURRENT_FILE): Likewise.
8553 (STABS_FUN): Likewise.
8554 (STABS_FUN_END): Likewise.
8555 (STABS_FUN2): Likewise.
8556 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
8557 * sysdeps/x86_64/configure: Regenerated.
8558
5908bf46
RM
85592012-08-14 Roland McGrath <roland@hack.frob.com>
8560
8561 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 8562 * elf/dl-lookup.c: Likewise.
5908bf46 8563
f2c05b9e
JM
85642012-08-14 Joseph Myers <joseph@codesourcery.com>
8565
8566 * sysdeps/unix/sysv/linux/kernel-features.h
8567 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
8568 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
8569 unconditionally.
8570 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
8571 unconditionally.
8572 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
8573 condition on __ASSUME_CLONE_THREAD_FLAGS.
8574
e11f5155
AJ
85752012-08-14 Andreas Jaeger <aj@suse.de>
8576
8577 * sysdeps/i386/fpu/libm-test-ulps: Update.
8578
51a9ba86
MK
85792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
8580
2fdd4f78
AJ
8581 * include/atomic.h (atomic_exchange_and_add): Split into ...
8582 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
8583 New atomic macros.
51a9ba86 8584
ba6cba9e
MT
85852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
8586
8587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8588
42443a47
JL
85892012-08-13 Jeff Law <law@redhat.com>
8590
8591 * manual/stdio.texi (snprintf): Clarify handling of the trailing
8592 null byte in the output string.
8593
121dce05
JM
85942012-08-10 Joseph Myers <joseph@codesourcery.com>
8595
8596 * sysdeps/unix/sysv/linux/kernel-features.h
8597 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
8598 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
8599 (__ASSUME_ARG_MAX_STACK_BASED): Define.
8600 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8601 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
8602 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
8603 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
8604
bf51f568
JL
86052012-08-09 Jeff Law <law@redhat.com>
8606
8607 [BZ #13939]
8608 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
8609 When avoid_arena is set, don't retry in the that arena. Pick the
8610 next one, whatever it might be.
8611 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
8612 (arena_lock): Pass in new parameter to arena_get2.
8613 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
8614 arena_get2.
8615 (__libc_malloc): Unify retrying after main arena failure with
8616 __libc_memalign version.
8617 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
8618
f85fa270
L
86192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
8620
8621 [BZ #14166]
8622 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
8623 to __redirect_strstr.
8624 (__strstr_sse42): Use typeof __redirect_strstr.
8625 (__strstr_ia32): Likewise.
8626 (__libc_strstr): New prototype.
8627 (strstr): Renamed to ...
8628 (__libc_strstr): This.
8629 (strstr): New strong alias of __libc_strstr.
8630 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
8631 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
8632 __redirect_time.
8633 Include <time.h>.
8634 (__libc_time): New prototype.
8635 (time_ifunc): Replace time with __libc_time.
8636 (time): New strong alias and hidden definition of __libc_time.
8637 (__GI_time): Remove strong alias.
8638 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
8639 Include <stddef.h>.
8640 (memmove): Redefined to __redirect_memmove.
8641 (__memmove_sse2): Use typeof __redirect_memmove.
8642 (__memmove_ssse3): Likewise.
8643 (__memmove_ssse3_back): Likewise.
8644 (__libc_memmove): New prototype.
8645 (memmove): Renamed to ...
8646 (__libc_memmove): This.
8647 (memmove): New strong alias of __libc_memmove.
8648
33b4a91e
MS
86492012-08-08 Mark Salter <msalter@redhat.com>
8650
8651 * elf/elf.h
8652 (R_MN10300_TLS_GD): Define.
8653 (R_MN10300_TLS_LD): Likewise.
8654 (R_MN10300_TLS_LDO): Likewise.
8655 (R_MN10300_TLS_GOTIE): Likewise.
8656 (R_MN10300_TLS_IE): Likewise.
8657 (R_MN10300_TLS_LE): Likewise.
8658 (R_MN10300_TLS_DTPMOD): Likewise.
8659 (R_MN10300_TLS_DTPOFF): Likewise.
8660 (R_MN10300_TLS_TPOFF): Likewise.
8661 (R_MN10300_SYM_DIFF): Likewise.
8662 (R_MN10300_ALIGN): Likewise.
8663 (R_MN10300_NUM): Update.
8664
b36137f1
JM
86652012-08-08 Joseph Myers <joseph@codesourcery.com>
8666
8667 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
8668 Remove.
8669
cdd915fd
RM
86702012-08-08 Roland McGrath <roland@hack.frob.com>
8671
a2433aac
RM
8672 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
8673
cdd915fd
RM
8674 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
8675 sysdeps/unix -> sysdeps/posix move.
8676 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8677
bf9b740a
AM
86782012-08-07 Allan McRae <allan@archlinux.org>
8679
8680 [BZ #14303]
8681 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
8682 (SUNOS_CPP): Likewise.
8683 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
8684 not found.
8685 (open_input): Call CPP using execvp.
8686
93df14ee
JM
86872012-08-07 Joseph Myers <joseph@codesourcery.com>
8688
8689 * sysdeps/unix/sysv/linux/kernel-features.h
8690 (__ASSUME_PROT_GROWSUPDOWN): Remove.
8691 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8692 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8693 (__ASSUME_WAITID_SYSCALL): Likewise.
8694 * sysdeps/unix/sysv/linux/dl-execstack.c
8695 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
8696 code unconditional.
8697 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
8698 conditional code.
8699 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
8700 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
8701 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
8702 code.
8703 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
8704 unconditional.
8705 [__ASSUME_WAITID_SYSCALL]: Likewise.
8706 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
8707
d34689de
RM
87082012-08-07 Roland McGrath <roland@hack.frob.com>
8709
a281decc
RM
8710 * sysdeps/unix/closedir.c: Renamed to ...
8711 * sysdeps/posix/closedir.c: ... here.
8712 * sysdeps/unix/dirfd.c: Renamed to ...
8713 * sysdeps/posix/dirfd.c: ... here.
8714 * sysdeps/unix/dirstream.h: Renamed to ...
8715 * sysdeps/posix/dirstream.h: ... here.
8716 * sysdeps/unix/fdopendir.c: Renamed to ...
8717 * sysdeps/posix/fdopendir.c: ... here.
8718 * sysdeps/unix/opendir.c: Renamed to ...
8719 * sysdeps/posix/opendir.c: ... here.
8720 * sysdeps/unix/readdir.c: Renamed to ...
8721 * sysdeps/posix/readdir.c: ... here.
8722 * sysdeps/unix/readdir_r.c: Renamed to ...
8723 * sysdeps/posix/readdir_r.c: ... here.
8724 * sysdeps/unix/rewinddir.c: Renamed to ...
8725 * sysdeps/posix/rewinddir.c: ... here.
8726 * sysdeps/unix/seekdir.c: Renamed to ...
8727 * sysdeps/posix/seekdir.c: ... here.
8728 * sysdeps/unix/telldir.c: Renamed to ...
8729 * sysdeps/posix/telldir.c: ... here.
8730 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
8731 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
8732 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
8733 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
8734
22895b47
RM
8735 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
8736 * bits/fcntl.h: ... here.
8737
707a53b6
RM
8738 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
8739 not 0.
8740 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
8741 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
8742 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
8743 (struct flock): Move l_start, l_len to the beginning.
8744 Use __pid_t for l_pid.
8745 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
8746 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
8747 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
8748 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
8749 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
8750 [__USE_LARGEFILE64] (struct flock64): New type.
8751 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
8752
f0bd3e25
RM
8753 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
8754 * bits/dirent.h: ... here.
8755
d34689de
RM
8756 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
8757 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
8758
6dad2c06
JM
87592012-08-07 Joseph Myers <joseph@codesourcery.com>
8760
8761 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8762 Change from 2.6.0 to 2.6.16.
8763 * sysdeps/unix/sysv/linux/configure: Regenerated.
8764 * sysdeps/unix/sysv/linux/kernel-features.h
8765 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
8766 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
8767 version.
8768 (__ASSUME_UTIMES): Likewise.
8769 (__ASSUME_CLONE_STOPPED): Remove.
8770 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
8771 architectures, not kernel version.
8772 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
8773 (__ASSUME_NO_CLONE_DETACHED): Likewise.
8774 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
8775 (__ASSUME_WAITID_SYSCALL): Likewise.
8776 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
8777 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
8778 * README: State 2.6.16 as minimum Linux kernel version. Do not
8779 refer to older versions.
8780
03af9520
RM
87812012-08-06 Roland McGrath <roland@hack.frob.com>
8782
8e49df1d
RM
8783 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
8784 Define alphasort64 as an alias.
8785 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
8786 Define versionsort64 as an alias.
8787 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
8788 Define scandir64 as an alias.
8789 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
8790 Define scandirat64 as an alias.
8791 * dirent/alphasort64.c (alphasort64):
8792 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
8793 * dirent/versionsort64.c: Likewise.
8794 * dirent/scandir64.c: Likewise.
8795 * dirent/scandirat64.c: Likewise.
8796 * sysdeps/wordsize-64/alphasort.c: File removed.
8797 * sysdeps/wordsize-64/alphasort64.c: File removed.
8798 * sysdeps/wordsize-64/scandir.c: File removed.
8799 * sysdeps/wordsize-64/scandir64.c: File removed.
8800 * sysdeps/wordsize-64/scandirat.c: File removed.
8801 * sysdeps/wordsize-64/scandirat64.c: File removed.
8802 * sysdeps/wordsize-64/versionsort.c: File removed.
8803 * sysdeps/wordsize-64/versionsort64.c: File removed.
8804 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
8805 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
8806 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
8807 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
8808 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
8809 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
8810 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
8811 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
8812
8813 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
8814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8815 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
8816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8817 [defined __arch64__ || defined __sparcv9]
8818 (__INO_T_MATCHES_INO64_T): New macro.
8819 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8820 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
8821 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
8822 * sysdeps/unix/sysv/linux/bits/dirent.h
8823 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
8824 (_DIRENT_MATCHES_DIRENT64): New macro.
8825
03af9520
RM
8826 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
8827 Define lockf64 as an alias.
8828 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
8829 Define fseeko64 as an alias.
8830 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
8831 Define ftello64 as an alias.
8832 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
8833 Define _IO_fgetpos64 and fgetpos64 as aliases.
8834 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
8835 Define _IO_fsetpos64 and fsetpos64 as aliases.
8836 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
8837 Conditionalize body on this.
8838 * libio/fseeko64.c: Likewise.
8839 * libio/ftello64.c: Likewise.
8840 * libio/iofgetpos64.c: Likewise.
8841 * libio/iofsetpos64.c: Likewise.
8842 * sysdeps/wordsize-64/lockf.c: File removed.
8843 * sysdeps/wordsize-64/lockf64.c: File removed.
8844 * sysdeps/wordsize-64/fseeko.c: File removed.
8845 * sysdeps/wordsize-64/fseeko64.c: File removed.
8846 * sysdeps/wordsize-64/ftello.c: File removed.
8847 * sysdeps/wordsize-64/ftello64.c: File removed.
8848 * sysdeps/wordsize-64/iofgetpos.c: File removed.
8849 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
8850 * sysdeps/wordsize-64/iofsetpos.c: File removed.
8851 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
8852 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
8853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
8854 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
8855 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
8856 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
8857 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
8859 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
8860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
8861 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
8862
8863 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8864 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
8865 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
8866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8867 [defined __arch64__ || defined __sparcv9]
8868 (__OFF_T_MATCHES_OFF64_T): New macro.
8869 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8870 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
8871 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8872 (__OFF_T_MATCHES_OFF64_T): New macro.
8873
c5757acd
L
88742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8875
8876 * stdlib/secure-getenv.c (__secure_getenv): Replace
8877 GLIBC_2_16 with GLIBC_2_17.
8878
3a31811e
L
88792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
8880
8881 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
8883
faa2bccb
DM
88842012-08-03 David S. Miller <davem@davemloft.net>
8885
8886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8887
85fe1997
JM
88882012-08-03 Joseph Myers <joseph@codesourcery.com>
8889
8890 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
8891 Remove.
8892 (__ASSUME_CORRECT_SI_PID): Likewise.
8893 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
8894 (__ASSUME_TMPFS_NAME): Likewise.
8895 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
8896 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
8897 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
8898 (HAVE_AUX_SECURE): Make definition unconditional.
8899 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
8900 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
8901
4f75b7a0
RM
89022012-08-03 Roland McGrath <roland@hack.frob.com>
8903
8904 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
8905 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
8906 * sysdeps/mach/hurd/eloop-threshold.h: New file.
8907 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
8908 __eloop_threshold instead of SYMLOOP_MAX.
8909
8910 * sysdeps/generic/eloop-threshold.h: New file.
8911 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
8912 of MAXSYMLINKS.
8913 * elf/chroot_canon.c (chroot_canon): Likewise.
8914
7aab07e4
JM
89152012-08-03 Joseph Myers <joseph@codesourcery.com>
8916
8917 [BZ #13717]
8918 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
8919 Change to 2.6.0 everywhere.
8920 * sysdeps/unix/sysv/linux/configure: Regenerated.
8921 * sysdeps/unix/sysv/linux/kernel-features.h
8922 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
8923 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
8924 kernel versions.
8925 (__ASSUME_POSIX_TIMERS): Define unconditionally.
8926 (__ASSUME_FUTEX_REQUEUE): Remove.
8927 (__ASSUME_STATFS64): Define unconditionally.
8928 (__ASSUME_AT_SECURE): Likewise.
8929 (__ASSUME_CORRECT_SI_PID): Likewise.
8930 (__ASSUME_TGKILL): Define without depending on kernel version for
8931 i386.
8932 (__ASSUME_UTIMES): Likewise.
8933 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
8934 kernel version.
8935 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
8936 (__ASSUME_TMPFS_NAME): Likewise.
8937 * README: Update reference to Linux kernel versions.
8938
b67e9372
MP
89392012-08-02 Marek Polacek <polacek@redhat.com>
8940
1f529f7d 8941 [BZ# 14150]
b67e9372
MP
8942 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
8943 libc_cv_asm_type_prefix with %.
8944 * configure: Regenerated.
d2441631
RM
8945 * include/libc-symbols.h: Remove comment about
8946 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
8947 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
8948 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
8949 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
8950 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
8951 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
8952 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
8953 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
8954 * elf/tst-unique2mod1.c: Likewise.
8955 * elf/tst-unique1mod2.c: Likewise.
8956 * elf/tst-unique1mod1.c: Likewise.
8957 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
8958 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
8959 Replace ASM_TYPE_DIRECTIVE with .type.
8960 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8961 * sysdeps/i386/sysdep.h: Likewise.
8962 * sysdeps/x86_64/sysdep.h: Likewise.
8963 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
8964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8965 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 8966 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
8967 * sysdeps/powerpc/powerpc32/sysdep.h:
8968 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
8969 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
8970 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
8971 * sysdeps/i386/fpu/e_powf.S: Likewise.
8972 * sysdeps/i386/fpu/e_expl.S: Likewise.
8973 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8974 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8975 * sysdeps/i386/fpu/e_pow.S: Likewise.
8976 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8977 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8978 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8979 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8980 * sysdeps/i386/fpu/e_log2.S: Likewise.
8981 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8982 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8983 * sysdeps/i386/fpu/e_powl.S: Likewise.
8984 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8985 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8986 * sysdeps/i386/fpu/e_logl.S: Likewise.
8987 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8988 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8989 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8990 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8991 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8992 * sysdeps/i386/fpu/e_log.S: Likewise.
8993 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8994 * sysdeps/i386/fpu/e_logf.S: Likewise.
8995 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8996 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8997 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8998 * sysdeps/i386/fpu/e_log10.S: Likewise.
8999 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9000 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9001 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9002 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9003 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9004 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9005 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9006 * sysdeps/i386/i686/strtok.S: Likewise.
9007 * sysdeps/i386/i386-mcount.S: Likewise.
9008 * sysdeps/i386/strtok.S: Likewise.
9009 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9011 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9012 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9013 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9014 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9015 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9016 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9018 * sysdeps/x86_64/_mcount.S: Likewise.
9019 * sysdeps/x86_64/strtok.S: Likewise.
9020 * sysdeps/sh/_mcount.S: Likewise.
9021
2747bf9a
RM
90222012-08-01 Roland McGrath <roland@hack.frob.com>
9023
9024 * libio/iofopen.c: Include <fcntl.h>.
9025 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9026 (_IO_fopen64, fopen64): Define as aliases.
9027 * libio/iofopen64.c: Include <fcntl.h>.
9028 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9029 Conditionalize body on this.
9030 * sysdeps/wordsize-64/iofopen.c: File removed.
9031 * sysdeps/wordsize-64/iofopen64.c: File removed.
9032
3fb791b8
MP
90332012-08-01 Marek Polacek <polacek@redhat.com>
9034
9035 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9036 Use dlfcn directly instead of a variable.
9037 (binfmt-subdir): Do not define.
9038 (dlfcn): Likewise.
9039
a9f1039f
JM
90402012-08-01 Joseph Myers <joseph@codesourcery.com>
9041
23bddc06
JM
9042 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9043 Remove all definitions.
9044 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9045 <kernel-features.h>.
9046 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9047 (miss_F_GETOWN_EX): Remove all definitions.
9048 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9049 macro definition.
9050 [!__ASSUME_FCNTL64]: Remove conditional code.
9051 [__ASSUME_FCNTL64]: Make code unconditional.
9052 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9053 <kernel-features.h>.
9054 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9055 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9056 (lockf64) [__NR_fcntl64]: Make code unconditional.
9057 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9058
a9f1039f
JM
9059 * sysdeps/unix/sysv/linux/kernel-features.h
9060 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9061 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9062 Make code unconditional.
9063 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9064 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9066 [__NR_vfork]: Make code unconditional.
9067 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9068 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9070 [__NR_vfork]: Make code unconditional.
9071 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9072 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9073
09c0ee5f
RM
90742012-08-01 Roland McGrath <roland@hack.frob.com>
9075
48aec5b9
RM
9076 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9077 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9078
cd97c966
RM
9079 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9080 Define mkstemp64 as an alias.
3f55550c
RM
9081 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9082 Define mkstemps64 as an alias.
cd97c966
RM
9083 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9084 Define mkostemp64 as an alias.
b8625cfc
RM
9085 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9086 Define mkostemps64 as an alias.
cd97c966
RM
9087 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9088 Conditionalize body on this.
9089 * misc/mkostemp64.c: Likewise.
b8625cfc 9090 * misc/mkostemps64.c: Likewise.
3f55550c 9091 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9092 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9093 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9094 * sysdeps/wordsize-64/mkostemp.c: File removed.
9095 * sysdeps/wordsize-64/mkstemp.c: File removed.
9096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9097 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9098 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9099 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9100
09c0ee5f
RM
9101 [BZ #14138]
9102 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9103 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9104 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9105 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9106
9107 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9108 compat_symbol macros from <shlib-compat.h> rather than the underlying
9109 default_symbol_version and symbol_version macros, so that DEFAULT
9110 lines in shlib-versions are respected.
9111 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9112
7e66ee51
FW
91132012-08-01 Florian Weimer <fweimer@redhat.com>
9114
9115 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9116 Declare with warn_unused_result.
9117 (setgid, setregid, setegid, setresgid): Likewise.
9118 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9119 Likewise.
9120 * WUR-REPORT: Remove set*id functions.
9121
d2a54255
PT
91222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9123
9124 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9125
7ecdb005
RM
91262012-07-31 Roland McGrath <roland@hack.frob.com>
9127
789bd351
RM
9128 * include/sys/socket.h (__libc_accept, __libc_accept4):
9129 Add attribute_hidden.
9130 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9131
40ce302d
RM
9132 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9133 use of PTR_MANGLE.
9134 * inet/getnetgrent_r.c (setup): Likewise.
9135
7ecdb005
RM
9136 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9137
e2eabb2c
DM
91382012-07-31 David S. Miller <davem@davemloft.net>
9139
9140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9141
d0419dbf
JM
91422012-07-31 Joseph Myers <joseph@codesourcery.com>
9143
9144 [BZ #13629]
9145 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9146 value between 1.0 and 2.0 and smaller part has absolute value less
9147 than 1.0.
9148 * math/s_clog10.c (__clog10): Likewise.
9149 * math/s_clog10f.c (__clog10f): Likewise.
9150 * math/s_clog10l.c (__clog10l): Likewise.
9151 * math/s_clogf.c (__clogf): Likewise.
9152 * math/s_clogl.c (__clogl): Likewise.
9153 * math/libm-test.inc (clog_test): Add more tests.
9154 (clog10_test): Likewise.
9155 * sysdeps/i386/fpu/libm-test-ulps: Update.
9156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9157
2bc13872
FW
91582012-07-31 Florian Weimer <fweimer@redhat.com>
9159
9160 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9161 Exit with zero in case no suitable GID is found, and write a
9162 message to standard error.
9163
bea9b193
RM
91642012-07-30 Roland McGrath <roland@hack.frob.com>
9165
9166 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9167 rather than to 1.
9168 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9169 (MAXPATHLEN): Removed.
9170 (NOGROUP, NODEV): New macros.
9171 (setbit, clrbit, isset, isclr): New macros.
9172 (howmany, roundup, powerof2): New macros.
9173 (DEV_BSIZE): New macro.
9174
9175 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9176 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9177
9178 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9179 definition on [!__NO_LONG_DOUBLE_MATH].
9180
9181 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9182 PTR_MANGLE and PTR_DEMANGLE.
9183
9184 * socket/accept4.c (accept4): Rename to __libc_accept4.
9185 Define accept4 as a weak alias.
9186
9187 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9188 on [_DIRENT_HAVE_D_TYPE].
9189 * io/ftw.c (ftw_dir): Likewise.
9190
9191 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9192
9193 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9194
9195 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9196 Use the BSD numbers rather than the arbitrary ones we had.
9197 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9198 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9199 (SIGXCPU, SIGXFSZ): New macros.
9200 (_NSIG): Now 32.
9201
9202 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9203 initializer on [_LIBC_REENTRANT].
9204
9205 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9206 definitions inside [_POSIX_MAPPED_FILES].
9207
9208 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9209
9210 * dirent/opendir.c: Include <fcntl.h>.
9211
9212 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9213 (__libc_getspecific): Likewise.
9214 (__libc_key_create): Likewise.
9215
9216 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9217 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9218 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9219 (tmpfile64): Define as alias.
9220 * sysdeps/wordsize-64/tmpfile.c: File removed.
9221 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9223 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9224
9225 * stdio-common/vfscanf.c: Include <stdbool.h>.
9226 * nss/makedb.c: Likewise.
9227 * stdio-common/_i18n_number.h: Likewise.
9228 * argp/argp-help.c: Likewise.
9229 * posix/wordexp.c: Likewise.
9230 * sysdeps/posix/spawni.c: Likewise.
9231 * nss/nss_files/files-initgroups.c: Likewise.
9232 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9233 * nss/nss_files/files-initgroups.c: Likewise.
9234 * nss/nss_db/db-netgrp.c: Likewise.
9235 * nss/nss_db/db-initgroups.c: Likewise.
9236 * io/fchmodat.c: Include <sys/stat.h>.
9237
9238 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9239 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9240
9241 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9242 [HAVE_MMAP].
9243
9244 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9245 Add multiple inclusion protection.
9246
e5abc686
DM
92472012-07-27 David S. Miller <davem@davemloft.net>
9248
9249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9250
815e6fa3
GB
92512012-07-27 Gary Benson <gbenson@redhat.com>
9252
9253 [BZ #14298]
9254 * elf/rtld.c: Include <stap-probe.h>.
9255 (dl_main): Added static probes "init_start" and "init_complete".
9256 * elf/dl-load.c: Include <stap-probe.h>.
9257 (lose): Take new parameter "nsid".
9258 Added static probe "map_failed".
9259 (_dl_map_object_from_fd): Pass namespace id to lose.
9260 Added static probe "map_start".
9261 (open_verify): Pass namespace id to lose.
9262 * elf/dl-open.c: Include <stap-probe.h>.
9263 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9264 and "reloc_complete".
9265 * elf/dl-close.c: Include <stap-probe.h>.
9266 (_dl_close_worker): Added static probes "unmap_start" and
9267 "unmap_complete".
9268 * elf/rtld-debugger-interface.txt: New file documenting the above.
9269
9f98c16c
RM
92702012-07-26 Roland McGrath <roland@hack.frob.com>
9271
9272 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9273 rather than a string variable.
9274 * sunrpc/rpc_main.c (h_output): Likewise.
9275 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9276
f3c22df3
PT
92772012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9278
9279 * inet/check_native.c: New file.
9280
3129cfc6
JM
92812012-07-26 Joseph Myers <joseph@codesourcery.com>
9282
da865e95
JM
9283 [BZ #13629]
9284 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9285 if larger part has absolute value 1.0.
9286 * math/s_clog10.c (__clog10): Likewise.
9287 * math/s_clog10f.c (__clog10f): Likewise.
9288 * math/s_clog10l.c (__clog10l): Likewise.
9289 * math/s_clogf.c (__clogf): Likewise.
9290 * math/s_clogl.c (__clogl): Likewise.
9291 * math/libm-test.inc (clog_test): Add more tests.
9292 (clog10_test): Likewise.
9293 * sysdeps/i386/fpu/libm-test-ulps: Update.
9294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9295
3129cfc6
JM
9296 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9297 (pltexit): Likewise.
9298 (La_regs): Likewise.
9299 (La_retval): Likewise.
9300 (int_retval): Likewise.
9301 Update #error for removed macros to refer only to definitions in
9302 tst-audit.h.
9303 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9304 macro.
9305 (pltexit): Likewise.
9306 (La_regs): Likewise.
9307 (La_retval): Likewise.
9308 (int_retval): Likewise.
9309 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9310 macro.
9311 (pltexit): Likewise.
9312 (La_regs): Likewise.
9313 (La_retval): Likewise.
9314 (int_retval): Likewise.
9315 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9316 macro.
9317 (pltexit): Likewise.
9318 (La_regs): Likewise.
9319 (La_retval): Likewise.
9320 (int_retval): Likewise.
9321 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9322 macro.
9323 (pltexit): Likewise.
9324 (La_regs): Likewise.
9325 (La_retval): Likewise.
9326 (int_retval): Likewise.
9327 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9328 macro.
9329 (pltexit): Likewise.
9330 (La_regs): Likewise.
9331 (La_retval): Likewise.
9332 (int_retval): Likewise.
9333 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9334 macro.
9335 (pltexit): Likewise.
9336 (La_regs): Likewise.
9337 (La_retval): Likewise.
9338 (int_retval): Likewise.
9339 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9340 macro definitions in tst-audit.h.
9341 * sysdeps/i386/tst-audit.h: New file.
9342 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9343 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9344 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9345 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9346 * sysdeps/sh/tst-audit.h: Likewise.
9347 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9348 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9349 * sysdeps/x86_64/tst-audit.h: Likewise.
9350
bfc07087
AJ
93512012-07-26 Andreas Jaeger <aj@suse.de>
9352
b1b2aaf8
AJ
9353 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9354 ptrace.
9355
9356 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9357 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
9358 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
9359 PTRACE_O_MASK.
9360 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
9361 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
9362 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
9363
bfc07087
AJ
9364 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
9365 value.
9366
9367 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
9368 _sigsys.
9369 (si_call_addr, si_syscall, si_arch): Define new macro.
9370 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
9371 _sigsys.
9372 (si_call_addr, si_syscall, si_arch): Define new marcro.
9373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
9374 _sigsys.
9375 (si_call_addr, si_syscall, si_arch): Define new macro.
9376 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
9377 _sigsys.
9378 (si_call_addr, si_syscall, si_arch): Define new macro.
9379
89b4b02f
JM
93802012-07-25 Joseph Myers <joseph@codesourcery.com>
9381
9382 [BZ #13717]
9383 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9384 Change to 2.4.21 where previously 2.4.1.
9385 * sysdeps/unix/sysv/linux/configure: Regenerated.
9386 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
9387 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
9388 Linux kernel version.
9389 (__ASSUME_STD_AUXV): Remove.
9390 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
9391 kernel version.
9392 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
9393 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
9394 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
9395 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
9396 (__ASSUME_NETLINK_SUPPORT): Likewise.
9397 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
9398 (__no_netlink_support): Remove conditional definition.
9399 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
9400 Remove.
9401 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9402 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
9403 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
9404 (if_nameindex_ioctl): Remove.
9405 (if_nameindex_netlink): Do not handle __no_netlink_support.
9406 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9407 code.
9408 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
9409 Remove conditional code.
9410 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
9411 code.
9412 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
9413 unconditional.
9414 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
9415 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
9416 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
9417 Remove.
9418 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
9419 [!__ASSUME_STD_AUXV]: Remove conditional code.
9420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
9421 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
9422 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
9423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
9424 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
9425 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9426 code.
9427 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9429 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
9430 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9431 conditional code.
9432 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
9433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9434 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
9435 code.
9436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9437 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
9438 conditional code.
9439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
9440 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9441 code unconditional.
9442 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9443 conditional code.
9444 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9445 unconditional.
9446 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9447 conditional code.
9448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9449 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9450 unconditional.
9451 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9452 conditional code.
9453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
9454 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9455 code unconditional.
9456 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9457 conditional code.
9458 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9459 unconditional.
9460 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9461 conditional code.
9462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
9463 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
9464 code unconditional.
9465 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9466 conditional code.
9467 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
9468 unconditional.
9469 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
9470 conditional code.
9471
842a39cd
AS
94722012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9473
9474 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
9475 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
9476 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9477 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
9478 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
9479 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9480 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9481 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
9482 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
9483 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
9484 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
9485 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
9486 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
9487 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9488 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
9489 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
9490 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
9491 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
9492 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
9493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
9494 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
9495 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
9496 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9497
84b3fd84
FW
94982012-07-25 Florian Weimer <fweimer@redhat.com>
9499
9500 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
9501 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
9502 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
9503 Introduce __libc_secure_getenv.
0c7936d5
FW
9504 * stdlib/Versions (2.17): Add secure_getenv
9505 (GLIBC_PRIVATE): Add __libc_secure_getenv.
9506 * stdlib/secure-getenv.c: Rename __secure_getenv to
9507 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
9508 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
9509 * stdlib/tst-secure-getenv.c: New.
9510 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
9511 * manual/startup.texi (Environment Access): Document
9512 secure_getenv.
84b3fd84
FW
9513 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
9514 __libc_secure_getenv.
9515 * inet/ruserpass.c (ruserpass): Likewise.
9516 * malloc/mtrace.c (mtrace): Likewise.
9517 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 9518 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
9519 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
9520 * sysdeps/posix/tempname.c: Likewise. Evaluate
9521 HAVE_SECURE_GETENV.
9522 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 9523 __secure_getenv to __libc_secure_getenv.
84b3fd84 9524 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9526 Likewise.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9528 Likewise.
9529 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
9530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
9531 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
9533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
9534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 9536
56e49b71
JM
95372012-07-25 Joseph Myers <joseph@codesourcery.com>
9538
9539 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
9540 (struct La_i86_retval): Likewise.
9541 (struct La_x86_64_regs): Likewise.
9542 (struct La_x86_64_retval): Likewise.
9543 (struct La_x32_regs): Likewise.
9544 (struct La_x32_retval): Likewise.
9545 (struct La_ppc32_regs): Likewise.
9546 (struct La_ppc32_retval): Likewise.
9547 (struct La_ppc64_regs): Likewise.
9548 (struct La_ppc64_retval): Likewise.
9549 (struct La_sh_regs): Likewise.
9550 (struct La_sh_retval): Likewise.
9551 (struct La_s390_32_regs): Likewise.
9552 (struct La_s390_32_retval): Likewise.
9553 (struct La_s390_64_regs): Likewise.
9554 (struct La_s390_64_retval): Likewise.
9555 (struct La_sparc32_regs): Likewise.
9556 (struct La_sparc32_retval): Likewise.
9557 (struct La_sparc64_regs): Likewise.
9558 (struct La_sparc64_retval): Likewise.
9559 (struct audit_ifaces): Remove architecture-specific pltenter and
9560 pltexit members.
9561 * sysdeps/i386/ldsodefs.h: New file.
9562 * sysdeps/powerpc/ldsodefs.h: Likewise.
9563 * sysdeps/s390/ldsodefs.h: Likewise.
9564 * sysdeps/sh/ldsodefs.h: Likewise.
9565 * sysdeps/sparc/ldsodefs.h: Likewise.
9566 * sysdeps/x86_64/ldsodefs.h: Likewise.
9567
354691b7
MP
95682012-07-25 Marek Polacek <polacek@redhat.com>
9569
9570 [BZ #6808]
9571 * math/libm-test.inc (yn_test): Add another test.
9572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
9573 to ERANGE when the result is +-Inf.
9574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
9575 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
9576 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
9577 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
9578
bf9e2071
JM
95792012-07-24 Joseph Myers <joseph@codesourcery.com>
9580
9581 * conform/data/time.h-data (NULL): Use macro-constant. Require
9582 equal to 0.
9583 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
9584 clock_t.
9585 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
9586
57633811
TS
95872012-07-23 Thomas Schwinge <thomas@codesourcery.com>
9588
9589 * configure.in <sysdeps resolving>: Correct printing
9590 Implies_before.
9591 * configure: Regenerate.
9592
c23c33b0
TS
95932012-07-22 Thomas Schwinge <thomas@codesourcery.com>
9594
9595 * math/w_ilogb.c: Include <limits.h>.
9596 * math/w_ilogbl.c: Likewise.
9597
b5982523
JM
95982012-07-20 Joseph Myers <joseph@codesourcery.com>
9599
9600 * manual/lang.texi (__va_copy): Document primarily as ISO C99
9601 va_copy. Document allowing for unavailable va_copy only as
9602 pre-C99 compatibility.
9603 * manual/string.texi (Copying and Concatenation): Use va_copy
9604 instead of __va_copy in concat example.
9605
ac4ea442
PT
96062012-07-20 Pino Toscano <toscano.pino@tiscali.it>
9607
9608 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
9609 (__sendto): Use create_address_port. Initialize APORT and deallocate
9610 it if not null.
9611
f98eafbd
PT
9612 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
9613 with O_NOLINK passed to __file_name_lookup.
9614
898c7aab
PT
9615 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
9616 with O_NOLINK passed to __file_name_lookup.
9617
0ced335a
PT
9618 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
9619 negative N or less than NGIDS.
9620
b3404dbd
PT
9621 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
9622 type to string_t. Set ERANGE as errno and return it if NAME is not big
9623 enough. Use memcpy instead of strncpy.
9624
0f48659e
JM
96252012-07-20 Joseph Myers <joseph@codesourcery.com>
9626
9627 * elf/Makefile (check-data): Remove.
9628 (localplt.data): New vpath directive.
9629 ($(objpfx)check-localplt.out): Use localplt.data from vpath
9630 instead of $(check-data).
9631 * scripts/data/localplt-generic.data: Move to ...
9632 * sysdeps/generic/localplt.data: ... here.
9633 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
9634 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
9635 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9637 ... here.
9638 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9640 ... here.
9641 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
9642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
9643 ... here.
9644 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
9645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9646 ... here.
9647 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
9648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
9649 ... here.
9650 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
9651 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
9652 ... here.
9653
d37cbdaa
AZ
96542012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9655
9656 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
9657 PPC32 and PPC64 files.
9658 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
9659 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
9660
46f85fc2
AK
96612012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9662
9663 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
9664 __makecontext_ret to ...
9665 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
9666 ... here and call exit if uc_link is NULL. New file.
9667 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
9668 __makecontext_ret.S.
9669 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
9670 __makecontext_ret to ...
9671 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
9672 ... here and call exit if uc_link is NULL. New file.
9673 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
9674 __makecontext_ret.S.
9675
08f43f9b
AK
96762012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9677
9678 * elf/elf.h (R_390_IRELATIVE): New definition.
9679 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
9680 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
9681 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
9682 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
9683 (elf_machine_lazy_rel): Likewise.
9684 * sysdeps/s390/dl-irel.h: New file.
9685 * sysdeps/s390/s390-64/memcpy.S: New asm code.
9686 * sysdeps/s390/s390-64/memset.S: New asm code.
9687 * sysdeps/s390/s390-64/memcmp.S: New asm code.
9688 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
9689 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
9690 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
9691 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
9692 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
9693 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
9694 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
9695 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
9696 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
9697 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
9698 * sysdeps/s390/s390-32/memcpy.S: New asm code.
9699 * sysdeps/s390/s390-32/memset.S: New asm code.
9700 * sysdeps/s390/s390-32/memcmp.S: New asm code.
9701
3b05db33
MP
97022012-07-17 Marek Polacek <polacek@redhat.com>
9703
9704 [BZ #14349]
9705 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
9706 * sysdeps/s390/s390-64/configure.in: Likewise.
9707 * sysdeps/sparc/configure.in: Likewise.
9708 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
9709 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
9710 * sysdeps/i386/configure.in: Likewise.
9711 * sysdeps/x86_64/configure.in: Likewise.
9712 * sysdeps/sh/configure.in: Likewise.
9713 * sysdeps/s390/s390-32/configure: Regenerated.
9714 * sysdeps/s390/s390-64/configure: Likewise.
9715 * sysdeps/x86_64/configure: Likewise.
9716 * sysdeps/sh/configure: Likewise.
9717 * sysdeps/powerpc/powerpc64/configure: Likewise.
9718 * sysdeps/powerpc/powerpc32/configure: Likewise.
9719 * sysdeps/sparc/configure: Likwise.
9720 * sysdeps/i386/configure: Likewise.
9721
a66877c6
MP
9722 * elf/dl-open.c: Comment fixes.
9723
cfc82fd8
JM
97242012-07-17 Joseph Myers <joseph@codesourcery.com>
9725
bd29910a
JM
9726 * Makefile [CXX] (check-data): Remove.
9727 [CXX] (c++-types.data): New vpath directive.
9728 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
9729 vpath. Do not allow for C++ type data being missing.
9730 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
9731 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
9732 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
9733 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
9734 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
9735 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
9736 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
9737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9738 ... here.
9739 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
9740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9741 ... here.
9742 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
9743 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
9744 ... here.
9745 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
9746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
9747 ... here.
9748 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
9749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
9750 ... here.
9751 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
9753 ... here.
9754 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
9755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
9756 ... here.
9757 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
9758 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
9759
cfc82fd8
JM
9760 * elf/tls-macros.h (TLS_LE): Move architecture-specific
9761 definitions to architecture-specific files.
9762 (TLS_IE): Likewise.
9763 (TLS_LD): Likewise.
9764 (TLS_GD): Likewise.
9765 * sysdeps/i386/tls-macros.h: New file.
9766 * sysdeps/powerpc/tls-macros.h: Likewise.
9767 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9768 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9769 * sysdeps/sh/tls-macros.h: Likewise.
9770 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
9771 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
9772 * sysdeps/x86_64/tls-macros.h: Likewise.
9773
f7db3170
TS
97742012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9775
07cbfc23
TS
9776 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
9777 zero value for regular exit case.
9778
f7db3170
TS
9779 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9780 (__start_context): Preserve zero value for regular exit case.
9781
dc97c227
TS
97822012-07-17 Thomas Schwinge <thomas@codesourcery.com>
9783 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9784
9785 * manual/setjmp.texi (setcontext): Clarify normal process
9786 termination when uc_link is the null pointer.
9787 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
9788 exit call.
9789
d0cd7d02
AS
97902012-07-16 Andreas Schwab <schwab@linux-m68k.org>
9791
9792 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
9793 preprocessor. Test for each exception mask separately.
9794
dd318934
AJ
97952012-07-16 Andreas Jaeger <aj@suse.de>
9796
9797 * po/ru.po: Update from translation team.
9798
8048311a
JM
97992012-07-15 Joseph Myers <joseph@codesourcery.com>
9800
9801 * conform/data/string.h-data (NULL): Use macro-constant. Require
9802 equal to 0.
9803 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
9804 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
9805 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
9806 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
9807 [ISO || ISO99 || ISO11] (*_t): Do not allow.
9808
b637d46e
AJ
98092012-07-13 Andreas Jaeger <aj@suse.de>
9810
9811 * po/fr.po: Update from translation team.
9812
541428fe
MP
98132012-07-12 Marek Polacek <polacek@redhat.com>
9814
9815 [BZ #14173]
9816 * math/libm-test.inc (yn_test): Add test for BZ #14173.
9817 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
9818 loop condition.
9819
ec332e94
JM
98202012-07-12 Joseph Myers <joseph@codesourcery.com>
9821
9822 [BZ #13717]
9823 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9824 Change to 2.4.1 where previously 2.4.0.
9825 * sysdeps/unix/sysv/linux/configure: Regenerated.
9826 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
9827 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
9828 version.
9829 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
9830 (__ASSUME_AT_CLKTCK): Remove.
9831 (__ASSUME_AT_PAGESIZE): Likewise.
9832 (__ASSUME_AT_XID): Likewise.
9833 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
9834 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
9835 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
9836 unconditionally.
9837 (HAVE_AUX_PAGESIZE): Likewise.
9838 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
9839 [__ASSUME_AT_CLKTCK]: Make code unconditional.
9840 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
9841
7b6e99be
JB
98422012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
9843
9844 [BZ #14307]
9845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
9846 the temporary buffer used to invoke __gethostbyname2_r,
9847 __gethostbyaddr_r and gethostbyname4_r to make room for struct
9848 host_data / struct gaih_addrtuple.
9849 * resolv/nss_dns/dns-host.c (global scope): Move definition of
9850 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
9851 header file nss/nsswitch.h.
9852 * nss/nsswitch.h (global scope): Add definition of implementation
9853 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
9854 resolv/nss_dns/dns-host.c).
9855
608404eb
AJ
98562012-07-11 Andreas Jaeger <aj@suse.de>
9857
9858 * po/fr.po: Update from translation team.
9859
71220aca
AJ
9860 * po/sv.po: Update from translation team
9861 * po/fr.po: Another update from translation team.
9862
28cfe843
AZ
98632012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9864
9865 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
9866 for subnormals or multiply small sinh result by itself.
9867 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
9868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9869
6b90f981
DM
98702012-07-11 David S. Miller <davem@davemloft.net>
9871
9872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9873
c6825772
AS
98742012-07-10 Andreas Schwab <schwab@linux-m68k.org>
9875
9876 [BZ #14347]
9877 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
9878 (INTERNAL_MARK): Shift it here.
9879
7b8e0d49
MP
98802012-07-10 Marek Polacek <polacek@redhat.com>
9881
9882 [BZ #14151]
9883 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
9884 libc_cv_asm_global_directive with .globl.
9885 * configure: Regenerated.
9886 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
9887 with .globl.
9888 * sysdeps/i386/configure: Regenerated.
9889 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
9890 with .globl.
9891 * sysdeps/x86_64/configure: Regenerated.
9892 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
9893 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
9894 * elf/tst-unique2mod2.c: Likewise.
9895 * elf/tst-unique2mod1.c: Likewise.
9896 * elf/tst-unique1mod2.c: Likewise.
9897 * elf/tst-unique1mod1.c: Likewise.
9898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9899 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9900 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9901 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9902 * sysdeps/mach/sysdep.h: Likewise.
9903 * sysdeps/i386/sysdep.h: Likewise.
9904 * sysdeps/i386/i386-mcount.S: Likewise.
9905 * sysdeps/x86_64/_mcount.S: Likewise.
9906 * sysdeps/x86_64/sysdep.h: Likewise.
9907 * sysdeps/sh/_mcount.S: Likewise.
9908 * sysdeps/sh/sysdep.h: Likewise.
9909 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
9910 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
9911 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
9912 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9913 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
9914 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
9915 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
9916 * locale/localeinfo.h: Likewise.
9917 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
9918 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
9919
6c55cda3
RM
99202012-07-09 Roland McGrath <roland@hack.frob.com>
9921
9922 [BZ #14336]
9923 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
9924 system".
9925 * manual/message.texi (The Uniforum approach): Likewise.
9926 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
9927 (glibc iconv Implementation): Likewise.
9928
638a572e
JM
99292012-07-09 Joseph Myers <joseph@codesourcery.com>
9930
9931 [BZ #14337]
9932 * math/s_clog.c (__clog): Avoid scaling a value down where that
9933 could result in underflow.
9934 * math/s_clog10.c (__clog10): Likewise.
9935 * math/s_clog10f.c (__clog10f): Likewise.
9936 * math/s_clog10l.c (__clog10l): Likewise.
9937 * math/s_clogf.c (__clogf): Likewise.
9938 * math/s_clogl.c (__clogl): Likewise.
9939 * math/libm-test.inc (clog_test): Add more tests.
9940 (clog10_test): Likewise.
9941 * sysdeps/i386/fpu/libm-test-ulps: Update.
9942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9943
261f4859
AS
99442012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9945
0abaf3e4
AS
9946 [BZ #14283]
9947 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
9948 by 7 not 8 to examine high bit of fractional part.
9949
261f4859
AS
9950 [BZ #14042]
9951 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
9952 for call to __mcount_internal.
9953 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
9954 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
9955 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
9956
f17ac40d
JM
99572012-07-06 Joseph Myers <joseph@codesourcery.com>
9958
9ad63c23
JM
9959 [BZ #14154]
9960 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
9961 approximation for values within 0x1p-13f of an odd multiple of
9962 pi/4.
9963 * math/libm-test.inc (tan_test): Do not allow spurious underflow
9964 exception. Add more tests.
9965 * sysdeps/i386/fpu/libm-test-ulps: Update.
9966
f17ac40d
JM
9967 [BZ #6778]
9968 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
9969 inputs and return -1 for them. Do not check for +Inf in case not
9970 reachable for +Inf.
9971 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9972 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
9973 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9974 and return -1 for them. Do not check for +Inf in case not
9975 reachable for +Inf.
9976 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
9977 define.
9978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
9979 and return -1 for them. Do not check for +Inf in case not
9980 reachable for +Inf.
9981 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
9982 spurious underflow.
9983 * sysdeps/i386/fpu/libm-test-ulps: Update.
9984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9985
fb21f89b
MF
99862012-07-06 Mike Frysinger <vapier@gentoo.org>
9987
9988 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
9989
cdfe2c5e
JM
99902012-07-05 Joseph Myers <joseph@codesourcery.com>
9991
9992 [BZ #14157]
9993 [BZ #14331]
9994 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
9995 could result in spurious underflow. Scale down values above
9996 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
9997 * math/s_csqrtf.c (__csqrtf): Likewise.
9998 * math/s_csqrtl.c (__csqrtl): Likewise.
9999 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10000 spurious underflow.
10001 * sysdeps/i386/fpu/libm-test-ulps: Update.
10002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10003
70d35b67
AS
100042012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10005
704bc459
AS
10006 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10007 xopen-msg.sed.
10008 * catgets/xopen-msg.awk: New file.
10009 * catgets/xopen-msg.sed: Removed.
10010
70d35b67
AS
10011 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10012 po2text.sed.
10013 * intl/po2test.awk: New file.
10014 * intl/po2test.sed: Removed.
10015
ca61cf32
JM
100162012-07-04 Joseph Myers <joseph@codesourcery.com>
10017
10018 [BZ #14328]
10019 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10020 or multiply small sinh result by itself.
10021 * math/s_ctanf.c (__ctanf): Likewise.
10022 * math/s_ctanh.c (__ctanh): Likewise.
10023 * math/s_ctanhf.c (__ctanhf): Likewise.
10024 * math/s_ctanhl.c (__ctanhl): Likewise.
10025 * math/s_ctanl.c (__ctanl): Likewise.
10026 * math/libm-test.inc (ctan_test_tonearest): New function.
10027 (ctan_test_towardzero): Likewise.
10028 (ctan_test_downward): Likewise.
10029 (ctan_test_upward): Likewise.
10030 (ctanh_test_tonearest): Likewise.
10031 (ctanh_test_towardzero): Likewise.
10032 (ctanh_test_downward): Likewise.
10033 (ctanh_test_upward): Likewise.
10034 (main): Call these new functions.
10035 * sysdeps/i386/fpu/libm-test-ulps: Update.
10036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10037
ca48a46a
MF
100382012-07-03 Mike Frysinger <vapier@gentoo.org>
10039
10040 * .gitignore: Delete /ports entry.
10041
9d63d37d
AJ
100422012-07-03 Andreas Jaeger <aj@suse.de>
10043
10044 * po/bg.po: Update from translation team.
10045 * po/cs.po: Likewise.
10046 * po/de.po: Likewise.
10047 * po/hr.po: Likewise.
10048 * po/nl.pl: Likewise.
10049 * po/pl.po: Likewise.
10050 * po/vi.po: Likewise.
10051
370ca3d2
JM
100522012-07-03 Joseph Myers <joseph@codesourcery.com>
10053
95f5a9a8
JM
10054 * Makeconfig [!+link] (+link-before-libc): New variable.
10055 [!+link] (+link-after-libc): Likewise.
10056 [!+link] (+link-tests): Likewise.
10057 [!+link] (+link): Define in terms of $(+link-before-libc) and
10058 $(+link-after-libc).
10059 [!+link-static] (+link-static-before-libc): New variable.
10060 [!+link-static] (+link-static-after-libc): Likewise.
10061 [!+link-static] (+link-static-tests): Likewise.
10062 [!+link-static] (+link-static): Define in terms of
10063 $(+link-static-before-libc) and $(+link-static-after-libc).
10064 [build-shared] (link-libc-before-gnulib): New variable.
10065 [build-shared] (link-libc-tests): Likewise.
10066 [build-shared] (link-libc): Define in terms of
10067 $(link-libc-before-gnulib).
10068 [!build-shared] (link-libc-tests): New variable.
10069 (link-libc-static-tests): New variable.
10070 [!gnulib] (gnulib-arch): New variable.
10071 [!gnulib] (gnulib-tests): Likewise.
10072 [!gnulib] (static-gnulib-arch): Likewise.
10073 [!gnulib] (static-gnulib-tests): Likewise.
10074 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10075 Define with "=" instead of ":=".
10076 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10077 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10078 * Rules (binaries-all-notests): New variable.
10079 (binaries-all-tests): Likewise.
10080 (binaries-static-notests): Likewise.
10081 (binaries-static-tests): Likewise.
10082 (binaries-all): Define using $(binaries-all-notests) and
10083 $(binaries-all-tests).
10084 (binaries-static): Define using $(binaries-static-notests) and
10085 $(binaries-static-tests).
10086 (binaries-shared-tests): New variable.
10087 (binaries-shared-notests): Likewise.
10088 (binaries-shared): Remove variable.
10089 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10090 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10091 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10092 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10093 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10094 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10095 * elf/Makefile (sln-modules): New variable.
10096 (extra-objs): Add $(sln-modules:=.o).
10097 (ldconfig-modules): Add static-stubs.
10098 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10099 * elf/static-stubs.c: New file.
10100
7a845b2c
JM
10101 [BZ #14283]
10102 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10103 by 7 not 8 to examine high bit of fractional part. Use volatile
10104 variables when splitting into final array of floats if
10105 __FLT_EVAL_METHOD__ != 0.
10106 * math/libm-test.inc (cos_test): Add another test.
10107 (sin_test): Likewise.
10108 * sysdeps/i386/fpu/libm-test-ulps: Update.
10109
e2283f38
JM
10110 [BZ #14273]
10111 * math/libm-test.inc (cosh_test): Add more tests.
10112
370ca3d2
JM
10113 * version.h (RELEASE): Set to "development".
10114 (VERSION): Set to "2.16.90".
10115
ee9247c3
CD
101162012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10117
10118 * NEWS: Update copyright. Remove last-updated date.
10119 Mention math library bug fixes and timezone data changes.
10120 * README: Mention GNU/Hurd, x32, and HPPA support status.
10121
4648c381
TS
101222012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10123
10124 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10125
aac78a43
AJ
101262012-06-27 Andreas Jaeger <aj@suse.de>
10127
10128 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10129
ed3dbfad
AJ
101302012-06-25 Andreas Jaeger <aj@suse.de>
10131
10132 * sysdeps/s390/fpu/libm-test-ulps: Update.
10133
4d0ee855
AS
101342012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10135 Thomas Schwinge <thomas@codesourcery.com>
10136
10137 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10138 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10139 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10140 fanotify_mark.
10141
af1bce34
TS
101422012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10143
a9fa33ba
TS
10144 * sysdeps/mach/start.c: Remove file.
10145 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10146 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10147 * sysdeps/sh/init-first.c: Likewise.
10148
58f902b8
TS
10149 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10150 registers for frame unwinding purposes, add CFI directives.
10151 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10152 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10153 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10154 Likewise.
10155
1518f58b
TS
10156 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10157 __fortify_fail returning.
10158 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10159
db9b5059
TS
10160 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10161 sysdeps/sh/____longjmp_chk.S.
10162 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10163 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10164 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10165 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10166
967705fe
TS
10167 * sysdeps/sh/abort-instr.h: New file.
10168 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10169 process in case exit returns.
10170
a9def8c4
TS
10171 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10172 initialize the GOT register before use.
10173
2a649725
TS
10174 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10175 calculation of ARGC > 4.
10176
af1bce34
TS
10177 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10178 meaningful names to some local labels.
10179
d230f50a
KK
101802012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10181 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10182
10183 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10184 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10185 (__arch_compare_and_exchange_val_16_acq): Likewise.
10186 (__arch_compare_and_exchange_val_32_acq): Likewise.
10187 (atomic_exchange_and_add): Fix gUSA sequence.
10188 (atomic_add): Likewise.
10189 (atomic_add_negative): Likewise.
10190 (atomic_add_zero): Likewise.
10191 (atomic_bit_test_set): Likewise.
10192
0479b305
AS
101932012-06-22 Andreas Schwab <schwab@redhat.com>
10194
10195 [BZ #13579]
10196 * include/link.h (struct link_map): Add l_free_initfini.
10197 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10198 l_initfini.
10199 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10200 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10201 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10202 set.
10203
0e3933b9
CD
102042012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10205
10206 * configure.in: Use AC_LANG_SOURCE.
10207 * configure: Regenerate.
10208
4248b1b1
RM
102092012-06-22 Roland McGrath <roland@hack.frob.com>
10210
10211 * configure.in (libc_cv_localstatedir): New substituted variable.
10212 * configure: Regenerated.
10213 * config.make.in (localstatedir): New variable, substituted from
10214 libc_cv_localstatedir.
10215 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10216 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10217 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10218 * sysdeps/gnu/configure: Regenerated.
10219
006dd861
JL
102202012-06-21 Jeff Law <law@redhat.com>
10221
10222 [BZ #14277]
10223 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10224 free. Simplify list management for _LIBC case.
10225
79662d42
JM
102262012-06-21 Joseph Myers <joseph@codesourcery.com>
10227
b7abb4bf
JM
10228 [BZ #14273]
10229 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10230 Clear sign bit of 64-bit integer value before comparing against
10231 overflow value.
10232
79662d42
JM
10233 * sysdeps/mach/configure: Regenerated.
10234
1f150908
L
102352012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10236
10237 [BZ #14278]
10238 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10239
28363bbf
JL
102402012-06-21 Jeff Law <law@redhat.com>
10241
10242 [BZ #13882]
10243 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10244 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10245 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10246 * elf/dl-open.c (dl_open_worker): Likewise.
10247
09615db4
CD
102482012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10249
10250 * scripts/list-sources.sh: Scan PORTS for translations.
10251 * po/libc.pot: Regenerated.
10252
2174c6dd
AJ
102532012-06-21 Andreas Jaeger <aj@suse.de>
10254
10255 [BZ #12194]
10256 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10257 warning.
10258 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10259 * bits/byteswap-16.h (__bswap_16): Likewise.
10260 * bits/byteswap.h (__bswap_constant_16): Likewise.
10261
3ee947b1
L
102622012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10263
10264 [BZ #14117]
a2f34833
L
10265 * sysdeps/i386/fpu_control.h: Removed.
10266 * sysdeps/x86_64/fpu_control.h: Moved to ...
10267 * sysdeps/x86/fpu_control.h: Here.
10268
3ee947b1
L
10269 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10270 (_FPU_SETCW): Likewise.
10271
ed1825f8
L
102722012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10273
25f1282a
L
10274 [BZ #14117]
10275 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10276 * sysdeps/x86/fpu/bits/mathinline.h: This.
10277 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10278
ed1825f8
L
10279 [BZ #14050]
10280 [BZ #14117]
10281 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10282 functions if __x86_64__ is defined.
10283
36d54b74
CLT
102842012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10285
10286 * string/endian.h: Add !__ASSEMBLER__ condition for including
10287 conversion interfaces.
10288
10285c21
JM
102892012-06-15 Joseph Myers <joseph@codesourcery.com>
10290
10291 [BZ #14241]
10292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10293 of ABS(x) in calculating zero to negative powers other than odd
10294 integers.
10295 * math/libm-test.inc (pow_test): Add more tests.
10296
06c5abbd
AJ
102972012-06-15 Andreas Jaeger <aj@suse.de>
10298
10299 * manual/contrib.texi (Contributors): Update entry of Liubov
10300 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10301 Machado Filho.
10302
a3aeac40
CH
103032012-06-15 Cyril Hrubis <metan@ucw.cz>
10304
10305 * string/string.h: Add __wur to GNU version of strerror_r.
10306
49bdf4c1
L
103072012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10308
10309 [BZ #14229]
10310 * string/Makefile (tests): Add tst-strtok_r.
10311 * string/tst-strtok_r.c: New file.
10312 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10313 RAX_LP/RDX_LP on SAVE_PTR.
10314
834f9b8d
RM
103152012-06-14 Roland McGrath <roland@hack.frob.com>
10316
10317 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10318
75fa1921
JM
103192012-06-14 Joseph Myers <joseph@codesourcery.com>
10320
10321 * libm_test.inc (csqrt_test): Allow more spurious underflow
10322 exceptions.
10323 (j0_test): Likewise.
10324 (j1_test): Likewise.
10325 (y0_test): Likewise.
10326 (y1_test): Likewise.
10327
771766df
CD
103282012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10329
10330 * po/Makefile (libc.pot): Use UTF-8 charset.
10331
ceb9e56b
PP
103322012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10333
10334 [BZ #14210]
10335 Suppress sign-conversion warning from FD_SET.
10336 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10337 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10338 not unsigned long int.
10339 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10340
ddb28975
L
103412012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10342
10343 [BZ #14050]
10344 [BZ #14117]
10345 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10346 __extern_always_inline instead of __extern_inline.
10347 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10348 (__signbit): Likewise.
10349 (__signbitl): Support C++ namespace.
10350 (lrintf): New inline function.
10351 (lrint): Likewise.
10352 (llrintf): Likewise.
10353 (llrint): Likewise.
10354 (fmaxf): Likewise.
10355 (fmax): Likewise.
10356 (fminf): Likewise.
10357 (fmin): Likewise.
10358 (rint): Likewise.
10359 (rintf): Likewise.
10360 (ceil): Likewise.
10361 (ceilf): Likewise.
10362 (floor): Likewise.
10363 (floorf): Likewise.
10364 (nearbyint): Likewise.
10365 (nearbyintf): Likewise.
10366
d7b4fb26
TS
103672012-06-12 Thomas Schwinge <thomas@codesourcery.com>
10368
10369 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
10370 non-default versions.
10371
eb55f5c2
RM
103722012-06-11 Roland McGrath <roland@hack.frob.com>
10373
10374 [BZ #14218]
10375 * manual/argp.texi (Argp): Reword argp_parse description slightly.
10376
366af02c
TS
103772012-06-09 Thomas Schwinge <thomas@codesourcery.com>
10378
99ff6e5c
TS
10379 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
10380 (FE_UPWARD, FE_DOWNWARD): Don't define.
10381 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
10382 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10383
366af02c
TS
10384 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
10385 reading it.
10386 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10387 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10388
793ea851
KK
103892012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10390
10391 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
10392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
10393 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
10394 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
10395
a728a38f
L
103962012-06-06 H.J. Lu <hongjiu.lu@intel.com>
10397
10398 [BZ #14117]
c08010c7
L
10399 * sysdeps/i386/fpu/bits/fenv.h: Removed.
10400 * sysdeps/i386/fpu/Implies: New file.
10401 * sysdeps/x86_64/fpu/Implies: Likewise.
10402 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
10403 * sysdeps/x86/fpu/bits/fenv.h: This.
10404
a728a38f
L
10405 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
10406 __SSE_MATH__.
10407
6e230d11
SP
104082012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
10409
10410 [BZ #14134]
10411 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
10412 character 0xffff that matches the last element of the
10413 conversion table.
10414
1b671feb
AZ
104152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10416
10417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
10418 fmodl commit.
10419
6043738b
AZ
104202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10421
10422 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
10423 values higher than 25.6283.
10424
34ae0b32
AZ
104252012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10426
10427 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
10428 subnormal exponent extraction and add some __builtin_expect.
10429 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
10430 Fix for subnormal mantissa calculation.
10431
1214ec8f
MF
104322012-06-04 Mike Frysinger <vapier@gentoo.org>
10433
10434 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
10435 cpu2 is -1 and errno is not ENOSYS.
10436
f3d1f93c
L
104372012-06-04 H.J. Lu <hongjiu.lu@intel.com>
10438
10439 [BZ #14117]
0e4a3cd7
L
10440 * sysdeps/i386/i486/bits/string.h: Renamed to ...
10441 * sysdeps/x86/bits/string.h: This.
10442 * sysdeps/x86_64/bits/string.h: Removed.
10443
6704c645
L
10444 * sysdeps/i386/i486/bits/string.h: Define inline functions only
10445 if not compiling for x86-64, but compiling for >= i486.
10446
48495318
L
10447 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
10448 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
10449
14adcbfc
L
10450 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
10451 New macro from Linux kernel 3.4.0.
10452 (FP_XSTATE_MAGIC2): Likewise.
10453 (FP_XSTATE_MAGIC2_SIZE): Likewise.
10454 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
10455 (struct _fpx_sw_bytes): New struct.
10456 (struct _xsave_hdr): Likewise.
10457 (struct _ymmh_state): Likewise.
10458 (struct _xstate): Likewise.
10459
68e408ab
L
10460 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
10461 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
10462 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
10463 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
10464 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
10465 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
10466
f3d1f93c
L
10467 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
10468 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
10469 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
10470 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
10471 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
10472 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
10473
d9dc34cd
TMQMF
104742012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10475
10476 [BZ #13743]
10477 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
10478 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
10479 (sysdep_headers): Include sys/platform/ppc.h.
10480 * sysdeps/powerpc/test-gettimebase.c: Test for
10481 __ppc_get_timebase() to catch future ISA opcode/insn changes.
10482 * manual/Makefile (appendices): Include platform.texi.
10483 * manual/contrib.texi (Contributors): Update @node pointers.
10484 * manual/maint.texi (Maintenance): Likewise.
10485 (Platform): New node.
10486 * manual/platform.texi: New file. Document the new features.
10487
4af3879c
SP
104882012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
10489 Jakub Jelinek <jakub@redhat.com>
10490
10491 [BZ #14188]
10492 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
10493 where __builtin_expect is unavailable.
10494
2fd6ff13
DM
104952012-06-03 David S. Miller <davem@davemloft.net>
10496
10497 * stdlib/longlong.h: Updated from GCC.
10498
173f7220
AS
104992012-06-02 Andreas Schwab <schwab@linux-m68k.org>
10500
10501 [BZ #14042]
10502 * sysdeps/powerpc/powerpc32/mcount.c: New file.
10503 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
10504 __mcount_internal.
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
10506 (GLIBC_2.16): Likewise.
10507
f34a1c6f
L
105082012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10509
10510 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
10511
88a4576f
JM
105122012-06-01 Joseph Myers <joseph@codesourcery.com>
10513
ea32bcdd
JM
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
10515 (default-abi): New variable.
10516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
10517 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
10518 variable.
10519 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
10520 Likewise.
10521 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
10522 Likewise.
10523 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
10524 Likewise.
10525
88a4576f
JM
10526 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
10527 definition. Document in comment.
10528
402fe938
DM
105292012-06-01 David S. Miller <davem@davemloft.net>
10530
10531 * stdlib/longlong.h: Updated from GCC.
10532
3553723f
L
105332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10534
10535 [BZ #14117]
3bd872c4
L
10536 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
10537 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
10538 sys/debugreg.h sys/io.h here.
10539 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
10540 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
10541 sys/io.h.
10542 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
10543 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
10544 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
10545 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
10546 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
10547 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
10548
3553723f
L
10549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
10550 Define only if __x86_64__ is defined.
10551
4842e4fe
JM
105522012-06-01 Joseph Myers <joseph@codesourcery.com>
10553
c5bfe3d5
JM
10554 [BZ #14048]
10555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
10556 Use int64_t for variable i.
10557 * math/libm-test.inc (fmod_test): Add more tests.
10558
4842e4fe
JM
10559 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
10560 z computation is not scheduled after fetestexcept.
10561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
10562 Use math_force_eval instead of asm to ensure calculation scheduled
10563 before exception test.
10564 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
10565 Ensure a1 + u.d computation is not scheduled after fetestexcept.
10566
efb73488
AJ
105672012-06-01 Aurelien Jarno <aurelien@aurel32.net>
10568
10569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
10570 computation is not scheduled after fetestexcept.
10571
29bcce7c
L
105722012-06-01 H.J. Lu <hongjiu.lu@intel.com>
10573
10574 [BZ #14117]
10575 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
10576 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
10577
73a68f94
AZ
105782012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10579
10580 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
10581 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10582
67b6df78
L
105832012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10584
edf2933a 10585 [BZ #14117]
ebc64a18
L
10586 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
10587 <bits/wordsize.h>.
10588 (__WCHAR_MIN): Support __WORDSIZE == 64.
10589 (__WCHAR_MAX): Likewise.
10590
edf2933a
L
10591 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
10592 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
10593
57c6cf40
L
10594 [BZ #14183]
10595 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
10596 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
10597
67b6df78 10598 [BZ #14117]
8eb6281e
L
10599 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
10600 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
10601
aac639f4
L
10602 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
10603 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
10604
67b6df78
L
10605 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
10606 Defined to 1 if __x86_64__ isn't defined.
10607 (_STAT_VER_LINUX_OLD): New.
10608 (st_atime): Remove duplicate.
10609 (st_mtime): Likewise.
10610 (st_ctime): Likewise.
10611
1c2cfe81
DM
106122012-05-31 David S. Miller <davem@davemloft.net>
10613
10614 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
10615 entries.
10616
5be8418c
AS
106172012-06-01 Andreas Schwab <schwab@linux-m68k.org>
10618
e7725326
AS
10619 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
10620 gen-libm-test.pl.
10621
5be8418c
AS
10622 [BZ #14132]
10623 * elf/dl-reloc.c: Include <_itoa.h>.
10624 (_dl_reloc_bad_type): Remove use of INTUSE.
10625 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
10626 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
10627 * stdio-common/psiginfo.c (psiginfo): Likewise.
10628 * stdio-common/psignal.c (psignal): Likewise.
10629 * string/strsignal.c (strsignal): Likewise.
10630 * include/signal.h (_sys_siglist): Declare hidden proto.
10631 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
10632 INTVARDEF with libc_hidden_data_def.
10633 * stdio-common/itoa-udigits.c: Likewise.
10634 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
10635 (_itoa_lower_digits_internal): Remove declaration.
10636 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
10637 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
10638 (_sys_sigabbrev_internal): Remove aliases.
10639 (_sys_siglist): Define hidden alias.
10640
507352f1
MT
106412012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
10642
10643 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10644 bits/sysctl.h.
10645
42bbb1c3
L
106462012-05-31 H.J. Lu <hongjiu.lu@intel.com>
10647
10648 [BZ #14117]
6bd784b6
L
10649 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10650 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
10651
8bca20f0
L
10652 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
10653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
10654 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
10655 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
10656 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
10657 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
10658
f9e890a9
L
10659 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
10660 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
10661 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
10662
471101a1
L
10663 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
10664 with __addr.
10665 (insw): Likewise.
10666 (insl): Likewise.
10667 (outsb): Likewise.
10668 (outsw): Likewise.
10669 (outsl): Likewise.
10670
6451c862
L
10671 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
10672 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
10673 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
10674
a254b8c9
L
10675 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
10676 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
10677 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
10678 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
10679 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
10680 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
10681
b8dfdd92
L
10682 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
10683 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
10684
578cd270
L
10685 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
10686 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
10687
de662f5f
L
10688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
10689 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
10690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
10691
25653439
L
10692 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
10693 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
10694 to ...
10695 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
10696
6bad24a0
L
10697 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
10698 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
10699 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
10700
42bbb1c3
L
10701 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
10702 for x86-64.
10703 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
10704
2d10d547
JM
107052012-05-31 Joseph Myers <joseph@codesourcery.com>
10706
10707 * math/math.h (M_El): Use two more decimal places.
10708 (M_LOG2El): Likewise.
10709 (M_LOG10El): Likewise.
10710 (M_LN2l): Likewise.
10711 (M_LN10l): Likewise.
10712 (M_PIl): Likewise.
10713 (M_PI_2l): Likewise.
10714 (M_PI_4l): Likewise.
10715 (M_1_PIl): Likewise.
10716 (M_2_PIl): Likewise.
10717 (M_2_SQRTPIl): Likewise.
10718 (M_SQRT2l): Likewise.
10719 (M_SQRT1_2l): Likewise.
10720
f230c29b
DM
107212012-05-31 David S. Miller <davem@davemloft.net>
10722
10723 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
10724 values between float registers.
10725 * sysdeps/sparc/sparc64/memset.S: Likewise.
10726 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
10727
fed806c3
MF
107282012-05-31 Mike Frysinger <vapier@gentoo.org>
10729
10730 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
10731 -D_FORTIFY_SOURCE=1.
10732 (CPPFLAGS-tst-longjmp_chk.c): Define.
10733 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
10734 (CPPFLAGS-tst-longjmp_chk2.c): Define.
10735 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
10736 CFLAGS-tst-wchar-h.c.
10737
30917259
MP
107382012-05-31 Marek Polacek <polacek@redhat.com>
10739
10740 [BZ #14132]
10741 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
10742 __endmntent_internal): Remove declaration.
10743 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
10744 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
10745 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
10746
1c58d5dc
DM
107472012-05-30 David S. Miller <davem@davemloft.net>
10748
10749 * sysdeps/sparc/sparc32/soft-fp/q_util.c
10750 (___Q_simulate_exceptions): Use real FP ops rather than writing
10751 into the %fsr.
10752 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
10753 Likewise.
10754
7dc00e0d
L
107552012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10756
10757 [BZ #14117]
0bd53985
L
10758 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
10759 * sysdeps/x86/bits/xtitypes.h: This.
10760
3a257e66
L
10761 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
10762 * sysdeps/x86/bits/wordsize.h: This.
10763
62f62904
L
10764 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
10765 * sysdeps/x86/bits/huge_vall.h: This.
10766
404fe9d9
L
10767 * sysdeps/i386/bits/select.h: Removed.
10768 * sysdeps/x86_64/bits/select.h: Renamed to ...
10769 * sysdeps/x86/bits/select.h: This.
10770
d48d0446
L
10771 * sysdeps/i386/bits/setjmp.h: Removed.
10772 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10773 * sysdeps/x86/bits/setjmp.h: This.
10774
7dc00e0d
L
10775 * sysdeps/i386/bits/mathdef.h: Removed.
10776 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10777 * sysdeps/x86/bits/mathdef.h: This.
10778
03277f8f
AS
107792012-05-30 Andreas Schwab <schwab@linux-m68k.org>
10780
10781 [BZ #14132]
10782 * include/sys/socket.h (__connect_internal)
10783 (__libc_sa_len_internal): Remove declaration.
10784 (__connect, __libc_sa_len): Declare hidden_proto.
10785 (SA_LEN): Remove use of INTUSE.
10786 * socket/connect.c: Add libc_hidden_def.
10787 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
10788 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
10789 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
10790 alias.
10791 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10792 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
10793 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
10794 of adding _internal alias.
10795
13764867
L
107962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10797
10798 [BZ #14117]
6bd97696
L
10799 * sysdeps/i386/bits/link.h: Removed.
10800 * sysdeps/i386/bits/linkmap.h: Likewise.
10801 * sysdeps/x86_64/bits/link.h: Renamed to ...
10802 * sysdeps/x86/bits/link.h: This.
10803 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
10804 * sysdeps/x86/bits/linkmap.h: This.
10805
f726f0bb
L
10806 * sysdeps/i386/bits/endian.h: Removed.
10807 * sysdeps/x86_64/bits/endian.h: Renamed to ...
10808 * sysdeps/x86/bits/endian.h: This.
10809
13764867
L
10810 * sysdeps/i386/bits/byteswap.h: Removed.
10811 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10812 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
10813 * sysdeps/x86/bits/byteswap.h: This.
10814 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
10815 * sysdeps/x86/bits/byteswap-16.h: This.
10816 * sysdeps/i386/Implies: Add x86.
10817 * sysdeps/x86_64/Implies: Likewise.
10818
ae251b0b
DM
108192012-05-30 David S. Miller <davem@davemloft.net>
10820
10821 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
10822 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
10823 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10824 (FP_TRAPPING_EXCEPTIONS): Define.
10825 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10826 (FP_TRAPPING_EXCEPTIONS): Define.
10827 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
10828 subnormals only when inexact has been signalled or underflow
10829 exceptions are enabled.
10830 (_FP_PACK_CANONICAL): Likewise.
10831
d5c90867
L
108322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10833
10834 [BZ #14183]
10835 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
10836 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
10837
63f1549e
RH
108382012-05-30 Richard Henderson <rth@twiddle.net>
10839
8d8f2279
RH
10840 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
10841 with #ifndef NOT_IN_libc.
10842
63f1549e
RH
10843 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
10844 marked to avoid plt entry.
10845
0ab0291b
L
108462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
10847
10848 [BZ #14112]
10849 * Makeconfig (default-abi): New macro.
10850 (abi-includes): Likewise.
10851 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
10852 $(abi-$(default-abi)-lib-soname) for soname if defined.
10853 ($(common-objpfx)gnu/lib-names.stmp): Generate from
10854 abi-variants.
10855 * Makefile (installed-stubs): Likewise.
10856 * include/stubs-biarch.h: Removed.
10857 * scripts/lib-names.awk: Only handle one library at a time.
10858 * scripts/soversions.awk: Remove WORDSIZE support.
10859 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
10860 entries.
10861 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
10862 Removed.
10863 (syscall-list-default-condition): Likewise.
10864 (syscall-list-default-condition): Likewise.
10865 (syscall-list-includes): Likewise.
10866 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
10867 syscall-list-* with abi-*. Handle undefined abi-variants.
10868 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
10869 * sysdeps/unix/sysv/linux/i386/Implies: New file.
10870 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
10871 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
10872 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
10873 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
10874 Removed.
10875 (syscall-list-32-options): Likewise.
10876 (syscall-list-32-condition): Likewise.
10877 (syscall-list-64-options): Likewise.
10878 (syscall-list-64-condition): Likewise.
10879 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
10880 macro.
10881 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
10882 Renamed to ...
10883 (abi-*): This.
10884 (abi-64-ld-soname): New macro.
10885 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
10886 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
10887 Renamed to ...
10888 (abi-*): This.
10889 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
10890 * sysdeps/x86_64/x32/shlib-versions: Likewise.
10891
4da0431d
JM
108922012-05-30 Joseph Myers <joseph@codesourcery.com>
10893
3a85279c
JM
10894 * sysdeps/unix/sysv/linux/kernel-features.h
10895 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
10896 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
10897 include <kernel-features.h>.
10898 [!__NR_ftruncate64]: Remove conditional code.
10899 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10900 [__NR_ftruncate64]: Make code unconditional.
10901 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10902 * sysdeps/unix/sysv/linux/truncate64.c: Do not
10903 include <kernel-features.h>.
10904 [!__NR_ftruncate64]: Remove conditional code.
10905 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10906 [__NR_ftruncate64]: Make code unconditional.
10907 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
10909 include <kernel-features.h>.
10910 [!__NR_ftruncate64]: Remove conditional code.
10911 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10912 [__NR_ftruncate64]: Make code unconditional.
10913 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10915 include <kernel-features.h>.
10916 [!__NR_ftruncate64]: Remove conditional code.
10917 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10918 [__NR_ftruncate64]: Make code unconditional.
10919 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
10920
4da0431d
JM
10921 * configure.in (libc_cv_fpie): Weaken to a compile test using
10922 LIBC_TRY_CC_OPTION.
10923 * configure: Regenerated.
10924
11ef492c
AK
109252012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10926
10927 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
10928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
10929 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
10930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10931 Refreshed.
10932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
10933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
10935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
10936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
10937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10938 Refreshed.
10939
d66ef399
DM
109402012-05-27 David S. Miller <davem@davemloft.net>
10941
10942 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
10943 (___Q_zero): New.
10944 (__Q_simulate_exceptions): Return void. Change to simulate
10945 exceptions by writing into the %fsr.
10946 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
10947 (__Qp_handle_exceptions): Likewise.
10948 (numbers): Delete.
10949 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
10950 __Qp_handle_exceptions.
10951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
10952 __Qp_handle_exceptions.
10953 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10954 as unused and give dummy FP_RND_NEAREST initializer.
10955 (FP_INHIBIT_RESULTS): Define.
10956 (___Q_simulate_exceptions): Update declaration.
10957 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
10958 formatting.
10959 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
10960 as unused and give dummy FP_RND_NEAREST initializer.
10961 (__Qp_handle_exceptions): Update declaration.
10962 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
10963 formatting.
10964
04fb54b5
TS
109652012-05-27 Thomas Schwinge <thomas@codesourcery.com>
10966
10967 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
10968 the temporary FPU control word.
10969 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10970 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
10971 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10972 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
10973 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10974 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10975 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10976 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10977 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10978 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
10979 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10980
3f99608f
KK
109812012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10982
10983 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
10984 fields.
10985
65a4de4e
CLT
109862012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
10987
10988 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
10989 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
10990 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
10991 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
10992 Likewise.
10993 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
10994 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
10995 Likewise.
10996
15749d40
UD
109972012-05-27 Ulrich Drepper <drepper@gmail.com>
10998
10999 * po/h.po: Update from translation team.
11000
25dbcb27
AS
110012012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11002
3d3f8e55
AS
11003 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11004
25dbcb27
AS
11005 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11006 handling of denormals.
11007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11008 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11009 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11010 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11012 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11014 Likewise.
11015
7ad47a80 110162012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11017
11018 [BZ #14152]
11019 * math/libm-test.inc (fma_test): Don't always expect underflow
11020 exception.
11021
9c6ea9fa
SP
110222012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11023
11024 [BZ #12416]
11025 * elf/tst-execstack.c: Include stackinfo.h.
11026 (do_test): Adjust test case to ensure that pthread_getattr_np
11027 behaviour remains the same after marking stack executable.
11028
a8239222
JM
110292012-05-25 Joseph Myers <joseph@codesourcery.com>
11030
11031 * sysdeps/unix/sysv/linux/kernel-features.h
11032 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11033 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11034 kernel-features.h.
11035 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11036 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11037 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11038 kernel-features.h.
11039 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11040 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11041
918b5606
L
110422012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * configure.in: Define the default includes to being none.
11045 * configure: Regenerated.
11046
3a097cc7
RM
110472012-05-25 Roland McGrath <roland@hack.frob.com>
11048
8422c9a5
RM
11049 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11050 * sysdeps/x86_64/setjmp.S: Likewise.
11051 * sysdeps/i386/bsd-setjmp.S: Likewise.
11052 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11053 * sysdeps/i386/setjmp.S: Likewise.
11054 * sysdeps/i386/__longjmp.S: Likewise.
11055 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11056 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11057
3a097cc7
RM
11058 * include/stap-probe.h: New file.
11059 * configure.in: Handle --enable-systemtap.
11060 * configure: Regenerated.
11061 * config.h.in (USE_STAP_PROBE): New #undef.
11062 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11063 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11064 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11065
21708942
JM
110662012-05-25 Joseph Myers <joseph@codesourcery.com>
11067
11068 [BZ #13717]
11069 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11070 to 2.4.0 where earlier.
11071 * sysdeps/unix/sysv/linux/configure: Regenerated.
11072 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11073 <kernel-features.h>.
11074 [__ASSUME_32BITUIDS]: Make code unconditional.
11075 [!__ASSUME_32BITUIDS]: Remove conditional code.
11076 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11077 <kernel-features.h>.
11078 [__ASSUME_32BITUIDS]: Make code unconditional.
11079 [!__ASSUME_32BITUIDS]: Remove conditional code.
11080 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11081 [__ASSUME_32BITUIDS]: Make code unconditional.
11082 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11083 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11084 <kernel-features.h>.
11085 [__ASSUME_32BITUIDS]: Make code unconditional.
11086 [!__ASSUME_32BITUIDS]: Remove conditional code.
11087 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11088 <kernel-features.h>.
11089 [__ASSUME_32BITUIDS]: Make code unconditional.
11090 [!__ASSUME_32BITUIDS]: Remove conditional code.
11091 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11092 <kernel-features.h>.
11093 [__ASSUME_32BITUIDS]: Make code unconditional.
11094 [!__ASSUME_32BITUIDS]: Remove conditional code.
11095 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11096 <kernel-features.h>.
11097 [__ASSUME_32BITUIDS]: Make code unconditional.
11098 [!__ASSUME_32BITUIDS]: Remove conditional code.
11099 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11100 <kernel-features.h>.
11101 [__ASSUME_32BITUIDS]: Make code unconditional.
11102 [!__ASSUME_32BITUIDS]: Remove conditional code.
11103 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11104 <kernel-features.h>.
11105 [__ASSUME_32BITUIDS]: Make code unconditional.
11106 [!__ASSUME_32BITUIDS]: Remove conditional code.
11107 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11108 <kernel-features.h>.
11109 [__ASSUME_32BITUIDS]: Make code unconditional.
11110 [!__ASSUME_32BITUIDS]: Remove conditional code.
11111 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11112 <kernel-features.h>.
11113 [__ASSUME_32BITUIDS]: Make code unconditional.
11114 [!__ASSUME_32BITUIDS]: Remove conditional code.
11115 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11116 <kernel-features.h>.
11117 [__ASSUME_32BITUIDS]: Make code unconditional.
11118 [!__ASSUME_32BITUIDS]: Remove conditional code.
11119 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11120 <kernel-features.h>.
11121 [__ASSUME_32BITUIDS]: Make code unconditional.
11122 [!__ASSUME_32BITUIDS]: Remove conditional code.
11123 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11124 <kernel-features.h>.
11125 [__NR_setresgid] (__setresgid): Do not declare.
11126 [__ASSUME_32BITUIDS]: Make code unconditional.
11127 [!__ASSUME_32BITUIDS]: Remove conditional code.
11128 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11129 <kernel-features.h>.
11130 [__NR_setresuid] (__setresuid): Do not declare.
11131 [__ASSUME_32BITUIDS]: Make code unconditional.
11132 [!__ASSUME_32BITUIDS]: Remove conditional code.
11133 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11134 <kernel-features.h>.
11135 [__ASSUME_32BITUIDS]: Make code unconditional.
11136 [!__ASSUME_32BITUIDS]: Remove conditional code.
11137 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11138 <kernel-features.h>.
11139 [__ASSUME_32BITUIDS]: Make code unconditional.
11140 [!__ASSUME_32BITUIDS]: Remove conditional code.
11141 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11142 <kernel-features.h>.
11143 [__ASSUME_32BITUIDS]: Make code unconditional.
11144 [!__ASSUME_32BITUIDS]: Remove conditional code.
11145 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11146 <kernel-features.h>.
11147 [__ASSUME_32BITUIDS]: Make code unconditional.
11148 [!__ASSUME_32BITUIDS]: Remove conditional code.
11149 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11150 <kernel-features.h>.
11151 [__ASSUME_32BITUIDS]: Make code unconditional.
11152 [!__ASSUME_32BITUIDS]: Remove conditional code.
11153 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11154 <kernel-features.h>.
11155 [__ASSUME_32BITUIDS]: Make code unconditional.
11156 [!__ASSUME_32BITUIDS]: Remove conditional code.
11157 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11158 <kernel-features.h>.
11159 [__ASSUME_32BITUIDS]: Make code unconditional.
11160 [!__ASSUME_32BITUIDS]: Remove conditional code.
11161 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11162 <kernel-features.h>.
11163 [__ASSUME_32BITUIDS]: Make code unconditional.
11164 [!__ASSUME_32BITUIDS]: Remove conditional code.
11165 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11166 <kernel-features.h>.
11167 [__ASSUME_32BITUIDS]: Make code unconditional.
11168 [!__ASSUME_32BITUIDS]: Remove conditional code.
11169 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11170 <kernel-features.h>.
11171 [__ASSUME_32BITUIDS]: Make code unconditional.
11172 [!__ASSUME_32BITUIDS]: Remove conditional code.
11173 * sysdeps/unix/sysv/linux/kernel-features.h
11174 (__ASSUME_SETRESUID_SYSCALL): Remove.
11175 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11176 (__ASSUME_32BITUIDS): Likewise.
11177 (__ASSUME_LDT_WORKS): Likewise.
11178 (__ASSUME_O_DIRECTORY): Likewise.
11179 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11180 architecture but not kernel version.
11181 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11182 (__ASSUME_MMAP2_SYSCALL): Likewise.
11183 (__ASSUME_STAT64_SYSCALL): Likewise.
11184 (__ASSUME_IPC64): Likewise.
11185 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11186 <kernel-features.h>.
11187 [__ASSUME_32BITUIDS]: Make code unconditional.
11188 [!__ASSUME_32BITUIDS]: Remove conditional code.
11189 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11190 <kernel-features.h>.
11191 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11192 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11193 132096]: Remove conditional code.
11194 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11195 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11196 <kernel-features.h>.
11197 [__ASSUME_32BITUIDS]: Make code unconditional.
11198 [!__ASSUME_32BITUIDS]: Remove conditional code.
11199 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11200 <kernel-features.h>.
11201 [__ASSUME_32BITUIDS]: Make code unconditional.
11202 [!__ASSUME_32BITUIDS]: Remove conditional code.
11203 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11204 <kernel-features.h>.
11205 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11206 unconditional.
11207 (__setresgid): Do not declare.
11208 [__ASSUME_32BITUIDS]: Make code unconditional.
11209 [!__ASSUME_32BITUIDS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11211 <kernel-features.h>.
11212 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11213 unconditional.
11214 (__setresuid): Do not declare.
11215 [__ASSUME_32BITUIDS]: Make code unconditional.
11216 [!__ASSUME_32BITUIDS]: Remove conditional code.
11217 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11218 <kernel-features.h>.
11219 [__ASSUME_32BITUIDS]: Make code unconditional.
11220 [!__ASSUME_32BITUIDS]: Remove conditional code.
11221 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11222 <kernel-features.h>.
11223 [__ASSUME_32BITUIDS]: Make code unconditional.
11224 [!__ASSUME_32BITUIDS]: Remove conditional code.
11225
a386f1cc
RH
112262012-05-25 Richard Henderson <rth@twiddle.net>
11227
11228 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11229 dl_hwcap to ifunc resolver.
11230 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11231 elf_ifunc_invoke.
11232 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11233 dl_hwcap to ifunc resolver.
11234 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11235
b6550497
JM
112362012-05-24 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #14153]
11239 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11240 for |x| <= 2**-26, not 2**-57.
11241 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11242 exception.
11243
b0bc23a1
JL
112442012-05-24 Jeff Law <law@redhat.com>
11245
11246 * stdio-common/Makefile (tests): Add bug25.
11247 * stdio-common/bug25.c: New test.
11248
347c92e9
L
112492012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11250
11251 [BZ #13576]
11252 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11253 multiple of MALLOC_ALIGNMENT in size.
11254 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11255
6bcc8b3f
JM
112562012-05-24 Joseph Myers <joseph@codesourcery.com>
11257
11258 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11259 Require >= 256.
11260 (FILENAME_MAX): Use macro-int-constant.
11261 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11262 (_IOFBF): Use macro-int-constant.
11263 (_IOLBF): Likewise.
11264 (_IONBF): Likewise.
11265 (SEEK_CUR): Likewise.
11266 (SEEK_END): Likewise.
11267 (SEEK_SET): Likewise.
11268 (TMP_MAX): Likewise.
11269 (EOF): Use macro-int-constant. Require < 0.
11270 (NULL): Use macro-constant. Require == 0.
11271 (stdin): Require type to be FILE *.
11272 (stdout): Likewise.
11273 (stderr): Likewise.
11274 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11275 macro-int-constant.
11276 (EXIT_SUCCESS): Likewise.
11277 (NULL): Use macro-constant. Require == 0.
11278 (RAND_MAX): Use macro-int-constant.
11279 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11280 [C99-based standards] (strtof): Require function.
11281 [C99-based standards] (strtold): Likewise.
11282 [C99-based standards] (strtoll): Likewise.
11283 [C99-based standards] (strtoull): Likewise.
11284 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11285 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11286 [ISO || ISO99 || ISO11] (math.h): Likewise.
11287 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11288 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11289 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11290
d18ea0c5
AS
112912012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11292
11293 [BZ #14132]
56d25bb8
AS
11294 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11295 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11296 * intl/dgettext.c (DCGETTEXT): Likewise.
11297 * intl/gettext.c (DCGETTEXT): Likewise.
11298 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11299 * posix/regex_internal.h (gettext): Likewise.
11300 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11301 Remove declaration.
11302 * include/argz.h (__argz_count_internal)
11303 (__argz_stringify_internal): Remove declaration.
11304 (__argz_count, __argz_stringify): Declare hidden proto.
11305 * intl/dcgettext.c: Remove use of INTDEF.
11306 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11307 * string/argz-stringify.c: Likewise.
11308 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11309 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11310 Declare hidden proto.
d18ea0c5
AS
11311 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11312 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11313 Declare hidden proto.
11314 * include/stdio.h (__asprintf_internal): Don't declare.
11315 (__asprintf): Don't define as macro. Declare hidden proto.
11316 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11317 (__fsetlocking): Declare hidden proto.
11318 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11319 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11320 hidden proto.
11321 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11322 (_IO_setlinebuf): Remove use of INTUSE.
11323 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11324 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11325 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11326 Remove declaration.
11327 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11328 (_IO_do_flush): Remove use of INTUSE.
11329 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11330 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11331 (_IO_adjust_column, _IO_least_wmarker)
11332 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11333 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11334 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11335 (_IO_default_doallocate, _IO_wdefault_doallocate)
11336 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11337 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11338 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11339 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11340 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11341 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11342 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11343 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11344 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11345 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11346 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11347 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11348 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11349 proto.
11350 (_IO_flush_all_internal, _IO_adjust_column_internal)
11351 (_IO_default_uflow_internal, _IO_default_finish_internal)
11352 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11353 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11354 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11355 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11356 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11357 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
11358 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
11359 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
11360 (_IO_file_close_internal, _IO_file_close_it_internal)
11361 (_IO_file_underflow_internal, _IO_file_overflow_internal)
11362 (_IO_file_init_internal, _IO_file_attach_internal)
11363 (_IO_file_fopen_internal, _IO_file_read_internal)
11364 (_IO_file_sync_internal, _IO_file_seek_internal)
11365 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
11366 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
11367 (_IO_str_underflow_internal, _IO_str_overflow_internal)
11368 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
11369 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
11370 (_IO_list_all_internal, _IO_link_in_internal)
11371 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
11372 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
11373 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
11374 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
11375 (_IO_do_write_internal, _IO_padn_internal)
11376 (_IO_getline_info_internal, _IO_getline_internal)
11377 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
11378 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
11379 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
11380 (_IO_vfscanf_internal, _IO_vfprintf_internal)
11381 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
11382 (_IO_init_internal, _IO_un_link_internal): Don't declare.
11383 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
11384 with libc_hidden_ver, remove use of INTUSE.
11385 * libio/genops.c: Likewise.
11386 * libio/freopen.c: Likewise.
11387 * libio/freopen64.c: Likewise.
11388 * libio/iofclose.c: Likewise.
11389 * libio/iofdopen.c: Likewise.
11390 * libio/iofflush.c: Likewise.
11391 * libio/iofflush_u.c: Likewise.
11392 * libio/iofgets.c: Likewise.
11393 * libio/iofgets_u.c: Likewise.
11394 * libio/iofopen.c: Likewise.
11395 * libio/iofopncook.c: Likewise.
11396 * libio/iofread.c: Likewise.
11397 * libio/iofread_u.c: Likewise.
11398 * libio/ioftell.c: Likewise.
11399 * libio/iofwrite.c: Likewise.
11400 * libio/iogetline.c: Likewise.
11401 * libio/iogets.c: Likewise.
11402 * libio/iogetwline.c: Likewise.
11403 * libio/iopadn.c: Likewise.
11404 * libio/iopopen.c: Likewise.
11405 * libio/ioseekoff.c: Likewise.
11406 * libio/ioseekpos.c: Likewise.
11407 * libio/iosetbuffer.c: Likewise.
11408 * libio/iosetvbuf.c: Likewise.
11409 * libio/ioungetc.c: Likewise.
11410 * libio/ioungetwc.c: Likewise.
11411 * libio/iovdprintf.c: Likewise.
11412 * libio/iovsprintf.c: Likewise.
11413 * libio/iovsscanf.c: Likewise.
11414 * libio/memstream.c: Likewise.
11415 * libio/obprintf.c: Likewise.
11416 * libio/oldfileops.c: Likewise.
11417 * libio/oldiofclose.c: Likewise.
11418 * libio/oldiofdopen.c: Likewise.
11419 * libio/oldiofopen.c: Likewise.
11420 * libio/oldiopopen.c: Likewise.
11421 * libio/oldstdfiles.c: Likewise.
11422 * libio/putc.c: Likewise.
11423 * libio/setbuf.c: Likewise.
11424 * libio/setlinebuf.c: Likewise.
11425 * libio/stdfiles.c: Likewise.
11426 * libio/strops.c: Likewise.
11427 * libio/vasprintf.c: Likewise.
11428 * libio/vscanf.c: Likewise.
11429 * libio/vsnprintf.c: Likewise.
11430 * libio/vswprintf.c: Likewise.
11431 * libio/wfiledoalloc.c: Likewise.
11432 * libio/wfileops.c: Likewise.
11433 * libio/wgenops.c: Likewise.
11434 * libio/wmemstream.c: Likewise.
11435 * libio/wstrops.c: Likewise.
11436 * libio/__fpurge.c: Likewise.
11437 * libio/__fsetlocking.c: Likewise.
11438 * assert/assert.c: Likewise.
11439 * debug/fgets_chk.c: Likewise.
11440 * debug/fgets_u_chk.c: Likewise.
11441 * debug/fread_chk.c: Likewise.
11442 * debug/fread_u_chk.c: Likewise.
11443 * debug/gets_chk.c: Likewise.
11444 * debug/obprintf_chk.c: Likewise.
11445 * debug/vasprintf_chk.c: Likewise.
11446 * debug/vdprintf_chk.c: Likewise.
11447 * debug/vsnprintf_chk.c: Likewise.
11448 * debug/vsprintf_chk.c: Likewise.
11449 * malloc/mtrace.c: Likewise.
11450 * misc/error.c: Likewise.
11451 * misc/syslog.c: Likewise.
11452 * stdio-common/asprintf.c: Likewise.
11453 * stdio-common/fxprintf.c: Likewise.
11454 * stdio-common/getw.c: Likewise.
11455 * stdio-common/isoc99_fscanf.c: Likewise.
11456 * stdio-common/isoc99_scanf.c: Likewise.
11457 * stdio-common/isoc99_vfscanf.c: Likewise.
11458 * stdio-common/isoc99_vscanf.c: Likewise.
11459 * stdio-common/isoc99_vsscanf.c: Likewise.
11460 * stdio-common/printf-prs.c: Likewise.
11461 * stdio-common/printf_fp.c: Likewise.
11462 * stdio-common/printf_fphex.c: Likewise.
11463 * stdio-common/printf_size.c: Likewise.
11464 * stdio-common/putw.c: Likewise.
11465 * stdio-common/scanf.c: Likewise.
11466 * stdio-common/sprintf.c: Likewise.
11467 * stdio-common/tmpfile.c: Likewise.
11468 * stdio-common/vfprintf.c: Likewise.
11469 * stdio-common/vfscanf.c: Likewise.
11470 * stdlib/strfmon_l.c: Likewise.
11471 * sunrpc/openchild.c: Likewise.
11472 * sunrpc/xdr_stdio.c: Likewise.
11473 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
11474 * sysdeps/mach/hurd/tmpfile.c: Likewise.
11475
d6c33fda
RM
114762012-05-24 Roland McGrath <roland@hack.frob.com>
11477
c1487492
RM
11478 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11479
11480 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
11481 in the third column, to generate for the shared library an IFUNC
11482 that uses _dl_vdso_vsym.
11483 * Makerules (COMPILE.c, compile-stdin.c): New variables.
11484 * Makeconfig (object-suffixes-noshared): New variable.
11485
11486 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
11487 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
11488 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
11489 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
11490
d6c33fda
RM
11491 [BZ #14132]
11492 * include/sys/time.h (__gettimeofday): Remove macro.
11493 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
11494 * time/gettimeofday.c (__gettimeofday): Remove #undef.
11495 Remove INTDEF.
11496 (__gettimeofday): Add libc_hidden_def.
11497 (gettimeofday): Add libc_hidden_weak.
11498 * sysdeps/mach/gettimeofday.c: Likewise.
11499 * sysdeps/posix/gettimeofday.c: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
11501 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
11502 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
11503 (__gettimeofday_internal): Remove strong_alias.
11504 (__gettimeofday): Add libc_hidden_def.
11505 (gettimeofday): Add libc_hidden_weak.
11506 * sysdeps/unix/syscalls.list (gettimeofday):
11507 Remove __gettimeofday_internal alias.
11508
b5a2bbe6
L
115092012-05-24 Daniel Jacobowitz <drow@false.org>
11510 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 [BZ #12495]
11513 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
11514 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
11515 (largebin_index_32_big): New.
11516 (largebin_index): Use it for 16-byte alignment.
11517 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
11518 correction with front_misalign.
11519
cfba4fda
L
115202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11521
7f907421
L
11522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
11523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11524 Likewise.
11525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
11526 Likewise.
11527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11528 Likewise.
11529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
11530 Likewise.
11531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
11532 Likewise.
11533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
11534 Likewise.
11535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
11536 Likewise.
11537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11538 Likewise.
11539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
11540 Likewise.
11541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
11542 Likewise.
11543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11544 Likewise.
11545 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
11546 Likewise.
11547
cfba4fda
L
11548 * scripts/data/c++-types-x32-linux-gnu.data: New file.
11549 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
11550
80bad0cc
JM
115512012-05-24 Joseph Myers <joseph@codesourcery.com>
11552
7a25eb06
JM
11553 [BZ #10846]
11554 [BZ #14036]
11555 * math/libm-test.inc (exp_test): Add test from bug 14036.
11556 (pow_test): Add test from bug 10846.
11557
795405f9
JM
11558 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
11559 and other flags.
11560 (special_function): Do not include flags in test name.
11561 (parse_args): Likewise.
11562 * sysdeps/i386/fpu/libm-test-ulps: Update.
11563 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
11564 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
11565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
11566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11567
80bad0cc
JM
11568 * math/gen-libm-test.pl (%beautify): Add entries for underflow
11569 exceptions.
11570 * math/libm-test.inc ("Philosophy"): Update comment about
11571 exception testing.
11572 (UNDERFLOW_EXCEPTION): New macro.
11573 (UNDERFLOW_EXCEPTION_OK): Likewise.
11574 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
11575 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
11576 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
11577 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
11578 (INVALID_EXCEPTION_OK): Update value.
11579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11580 (OVERFLOW_EXCEPTION_OK): Likewise.
11581 (IGNORE_ZERO_INF_SIGN): Likewise.
11582 (test_exceptions): Handle underflow exceptions.
11583 (acos_test): Update for underflow exception expectations.
11584 (cexp_test): Likewise.
11585 (clog_test): Likewise.
11586 (clog10_test): Likewise.
11587 (csqrt_test): Likewise.
11588 (ctan_test): Likewise.
11589 (ctanh_test): Likewise.
11590 (exp_test): Likewise.
11591 (exp10_test): Likewise.
11592 (exp2_test): Likewise.
11593 (expm1_test): Likewise.
11594 (fma_test): Likewise.
11595 (j0_test): Likewise.
11596 (jn_test): Likewise.
11597 (nexttoward_test): Likewise.
11598 (pow_test): Likewise.
11599 (scalbn_test): Likewise.
11600 (scalbln_test): Likewise.
11601 (tan_test): Likewise.
11602 (y1_test): Likewise.
11603 * sysdeps/i386/fpu/libm-test-ulps: Update.
11604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605
9e0e3d0b
DM
116062012-05-23 David S. Miller <davem@davemloft.net>
11607
11608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11609 (__libc_sigaction): Remove unused local variables.
11610
ccd0a08f
L
116112012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
11614
62bdf9a6
PE
116152012-05-23 Paul Eggert <eggert@cs.ucla.edu>
11616
f8591f80
PE
11617 mktime: avoid signed integer overflow
11618 * time/mktime.c (__mktime_internal): Do not mishandle the case
11619 where diff == INT_MIN.
11620
94c7d826
PE
11621 mktime: simplify computation of average
11622 * time/mktime.c (ranged_convert): Use new time_t_avg function
11623 instead of rolling our own (probably-slower) code.
11624
ce73d683
PE
11625 mktime: do not assume signed right shift propagates sign bit
11626 * time/mktime.c (isdst_differ): New static function.
11627 (__mktime_internal): No need to normalize tm_isdst now.
11628 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
11629 tm_isdst values.
11630
72a22e59
PE
11631 mktime: merge another wrapv change from gnulib
11632 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
11633 from some compilers.
11634
68605433
PE
11635 mktime: remove incorrect attempt at unusual arithmetics
11636 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
11637 The code didn't really work on such machines anyway.
11638 (TYPE_MINIMUM): Assume two's complement.
11639 (twos_complement_arithmetic): Verify that long_int and time_t
11640 are two's complement (or unsigned, in the latter case).
11641
03cf7fe3
PE
11642 mktime: check signed shifts on long_int and time_t, too
11643 * time/mktime.c (SHR): Check that shifts work as desired
11644 on the types long_int and time_t too, as SHR is used on
11645 such types.
11646
f04dfbc2
PE
11647 mktime: do not assume 'long' is wide enough
11648 * time/mktime.c (verify): Move decl up.
11649 (long_int): New type.
11650 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
11651 to remove assumption in the code that 'long' is wide enough to
11652 store year values. This assumption is not true on x32 and on
11653 some non-glibc platforms.
11654
62bdf9a6
PE
11655 mktime: merge wrapv change from gnulib
11656 * time/mktime.c (WRAPV): New macro.
11657 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
11658 (guess_time_tm, __mktime_internal): Do not assume that signed
11659 integer overflow wraps around; modern compilers generate code
11660 where this assumption is no longer valid.
11661
5e292e4f
L
116622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11665 Replace "jmp L(pseudo_end)" with "ret".
11666 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
11667 Likewise.
11668
8caf8c87
AJ
116692012-05-23 Andreas Jaeger <aj@suse.de>
11670
11671 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
11672 * sysdeps/unix/sysv/linux/poll.c: Remove file.
11673
1a09dc56
AJ
116742012-05-23 Andreas Jaeger <aj@suse.de>
11675 Maximilian Attems <max@stro.at>
11676
11677 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
11678 New macros.
11679
1c87aba0
L
116802012-05-23 H.J. Lu <hongjiu.lu@intel.com>
11681
11682 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
11683 code so that pseudo_end is just ret and the stack pointer is
11684 correct also for static library in error case.
11685
40e45bd5
JM
116862012-05-23 Joseph Myers <joseph@codesourcery.com>
11687
c2670533
JM
11688 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
11689 move to syscalls.list.
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
11691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
11693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
11694
40e45bd5
JM
11695 * manual/install.texi (Running make install): Do not mention Linux
11696 kernel version for which pt_chown is not needed.
11697 (Linux): Do not mention problems with nscd with 2.0 kernels.
11698 * INSTALL: Regenerated.
11699
be08eda5
AJ
117002012-05-23 Andreas Jaeger <aj@suse.de>
11701
11702 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
11703 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
11704 macro.
11705 * sysdeps/unix/sysv/linux/s390/bits/mman.h
11706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11707 * sysdeps/unix/sysv/linux/sh/bits/mman.h
11708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11709 * sysdeps/unix/sysv/linux/i386/bits/mman.h
11710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11711 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
11712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11713 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
11714 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
11715 * sysdeps/unix/sysv/linux/bits/in.h
11716 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
11717
a6a056bb
RM
117182012-05-22 Roland McGrath <roland@hack.frob.com>
11719
11720 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
11721 (PREPARE_VERSION): Just use assert instead, it will be elided
11722 under [NDEBUG] anyway.
11723
c9009328
L
117242012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11725
11726 * sysdeps/unix/sysv/linux/Makefile: Include
11727 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 11728 (sysdep_routines): Remove sysctl.
c9009328
L
11729 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
11730 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
11731 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
11732 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
11733 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
11734
73338355
AJ
117352012-05-22 Andreas Jaeger <aj@suse.de>
11736
11737 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
11738 that pseudo_end is just ret and the stack pointer is correct also
11739 for static library in error case.
11740
d44638b0
PP
117412012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
11742
11743 [BZ #14122]
11744 * nss/nsswitch.c (defconfig_entries): New variable.
11745 (__nss_database_lookup): Don't leak defconfig entries.
11746 (nss_parse_service_list): Don't leak on error paths.
11747 (free_database_entries): New function.
11748 (free_defconfig): New function.
11749 (free_mem): Move common code to free_database_entries.
11750
31a39bd8
L
117512012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11752
da0331a8
L
11753 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
11754 Add arch_prctl.
11755 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
11756
31a39bd8
L
11757 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11758 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
11759 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
11760 New macro.
11761 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
11762 (INTERNAL_SYSCALL_TYPES): Likewise.
11763 (LOAD_ARGS_TYPES_[1-6]): Likewise.
11764 (LOAD_REGS_TYPES_[1-6]): Likewise.
11765 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
11766 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
11767
45470df3
AZ
117682012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
11771 copysignl for GLIBC_2_0.
11772 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
11773 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
11774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
11775 logbl for GLIBC_2_0.
11776 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
11777 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
11778
98a61bcb
L
117792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11780
a4f6e481
L
11781 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
11782 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
11783
f63d5db6
L
11784 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
11785 Use "neg %eax".
11786
98a61bcb
L
11787 * time/mktime.c: Update copyright years.
11788
95770f14
PE
117892012-05-22 Paul Eggert <eggert@cs.ucla.edu>
11790
6226efbd
PE
11791 mktime: merge comment-quoting-style change from gnulib
11792 * time/mktime.c: Quote 'like this' in comments.
11793 The GNU coding standards suggest that we no longer quote `like this',
11794 as "`" and "'" are typically rendered asymmetrically nowadays.
11795 The typical gnulib style is to quote 'like this' when quoting
11796 code, and "like this" when quoting English.
11797
b99e4f78
PE
11798 * time/mktime.c (compile-command): Add "-I.".
11799
643e01e6
PE
11800 mktime: merge mktime-internal.h change from gnulib
11801 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
11802
2554247d
PE
11803 mktime: merge time_r change from gnulib
11804 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
11805
826dd0ab
PE
11806 mktime: merge DEBUG change from gnulib
11807 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
11808 case system <time.h> has a #define.
11809
bd83aabe
PE
11810 mktime: merge <sys/types.h> change from gnulib
11811 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
11812 since <time.t> is now guaranteed to define time_t.
11813
95770f14
PE
11814 mktime: merge HAVE_CONFIG_H change from gnulib
11815 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
11816
5e1a27a9
L
118172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
11818
0e44a77e
L
11819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11820 Use "neg %eax".
11821
5e1a27a9
L
11822 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
11823 __rlim_t cast.
11824 (struct rusage): Use anonymous union to pad each field to
11825 __syscall_slong_t.
11826
46259bec
DM
118272012-05-21 David S. Miller <davem@davemloft.net>
11828
11829 * Makefules (o-iterator): Remove .s cases.
11830 (compile-command.s): Delete.
11831 (COMPILE.s): Delete.
11832 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
11833
59f0c22e
JM
118342012-05-21 Joseph Myers <joseph@codesourcery.com>
11835
11836 * configure.in (libc_cv_predef_stack_protector): Only consider
11837 "foobar" and "__stack_chk_fail" lines in libc_undefs.
11838 * configure: Regenerated.
11839
20c07380
L
118402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11841
bbb3154b
L
11842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
11843 New macro. Use R*LP on int and pointer.
11844 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
11845 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
11846 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
11847 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
11848
20c07380
L
11849 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
11850 [__WORDSIZE_TIME64_COMPAT32] instead of
11851 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
11852 (struct utmp): Likewise.
11853 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
11854 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
11855 Renamed to ...
11856 (__WORDSIZE_TIME64_COMPAT32): This.
11857 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11858 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11859 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11860 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11861 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
11862 (__WORDSIZE_TIME64_COMPAT32): New macro.
11863
d8d1017e
AJ
118642012-05-21 Andreas Jaeger <aj@suse.de>
11865
11866 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
11867 only if [SHARED]. Add prototype for __wcschr_ia32.
11868
6c7fb145
RM
118692012-05-21 Roland McGrath <roland@hack.frob.com>
11870
11871 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
11872 of %rbp unmolested in the jmp_buf while mangling the low bits.
11873 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
11874 unmolested high bits of %rbp while demangling the low bits.
11875 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11876
66274218
AJ
118772012-05-21 Andreas Jaeger <aj@suse.de>
11878
07c58f8f
AJ
11879 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
11880 * sunrpc/svc_simple.c: Use it for registerrpc.
11881 * sunrpc/xcrypt.c: Use it for passwd2des.
11882
66274218
AJ
11883 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
11884
61f65140
L
118852012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
11888 Don't define if [__SYSCALL_WORDSIZE != 32].
11889 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
11890 New macro.
11891
5fefb436
AJ
118922012-05-21 Bruno Haible <bruno@clisp.org>
11893 Andreas Jaeger <aj@suse.de>
11894
11895 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
11896 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
11897 inptr and inend for must_buffer_ch.
11898 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
11899 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
11900 * stdio-common/Makefile (tests): Remove bug15.
11901 (bug15-ENV): Remove macro.
11902 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
11903 anymore.
11904
d8e272ab
AJ
119052012-05-19 Andreas Jaeger <aj@suse.de>
11906 Roland McGrath <roland@hack.frob.com>
11907
11908 * manual/contrib.texi: Completely rewritten. It contains now an
11909 alphabetical list of contributors and their contributions.
11910
4a56a162
RH
119112012-05-21 Richard Henderson <rth@twiddle.net>
11912
11913 * misc/getauxval.c (__getauxval): Use unsigned long int.
11914 * misc/sys/auxv.h: Include <sys/cdefs.h>.
11915 (getauxval): Use unsigned long int.
11916
d024d23c
L
119172012-05-21 H.J. Lu <hongjiu.lu@intel.com>
11918
11919 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
11920
cbc00a03
RM
119212012-05-21 Roland McGrath <roland@hack.frob.com>
11922
11923 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
11924 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
11925 __alignof__ (long double).
11926
478143fa
AZ
119272012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11928
11929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11930
c7683a6d
RH
119312012-05-20 Richard Henderson <rth@twiddle.net>
11932
11933 * misc/getauxval.c: New file.
11934 * misc/sys/auxv.h: New file.
11935 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
11936 (routines): Add getauxval.
11937 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
11938 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
11939 * elf/dl-sysdep.c (_dl_auxv): Remove.
11940 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
11941 * elf/dl-support.c (_dl_auxv): New variable.
11942 (_dl_aux_init): Initialize it.
11943 * manual/startup.texi (Auxiliary Vector): New node.
11944 * sysdeps/generic/bits/hwcap.h: New file.
11945 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
11946 * sysdeps/powerpc/sysdep.h: ... here. Include it.
11947 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
11948 * sysdeps/sparc/sysdep.h: ... here. Include it.
11949 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
11950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
11951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11952 Update.
c7683a6d
RH
11953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
11954 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
11955 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
11956 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
11957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
11959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
11960 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
11961
a6f1845d
AZ
119622012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11963
11964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11965
cbcbe830
DM
119662012-05-19 David S. Miller <davem@davemloft.net>
11967
11968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11969
e0b16cc2
JM
119702012-05-19 Joseph Myers <joseph@codesourcery.com>
11971
11972 [BZ #14123]
11973 * math/s_ccosh.c: Include <float.h>
11974 (__ccosh): Avoid internal overflow calculating sinh and cosh
11975 values before multiplying by sin and cos values.
11976 * math/s_ccoshf.c: Likewise.
11977 * math/s_ccoshl.c: Likewise.
11978 * math/s_csin.c: Likewise.
11979 * math/s_csinf.c: Likewise.
11980 * math/s_csinl.c: Likewise.
11981 * math/s_csinh.c: Likewise.
11982 * math/s_csinhf.c: Likewise.
11983 * math/s_csinhl.c: Likewise.
11984 * math/libm-test.inc (ccos_test): Add more tests.
11985 (ccosh_test): Likewise.
11986 (csin_test): Likewise.
11987 (csinh_test): Likewise.
11988 * sysdeps/i386/fpu/libm-test-ulps: Update.
11989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11990
6ad13e08
L
119912012-05-19 H.J. Lu <hongjiu.lu@intel.com>
11992
f66f0ce8
L
11993 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
11994 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
11995
6ad13e08
L
11996 * sysdeps/x86_64/x32/_itoa.h: Add comment.
11997
b1d072a7
JM
119982012-05-19 Joseph Myers <joseph@codesourcery.com>
11999
12000 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12001 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12002 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12003 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12004 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12005 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12006 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12007 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12008 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12009 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12010 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12011 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12012 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12013 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12014 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12015 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12016 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12017 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12018 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12019 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12020 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12021 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12022 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12023 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12024 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12025 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12026 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12027 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12028 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12029 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12030 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12031
9eae47cb
AJ
120322012-05-18 Andreas Jaeger <aj@suse.de>
12033
12034 * csu/.gitignore: Delete.
12035
bb07f69f
L
120362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12037
12038 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12039 (timex): Use __syscall_slong_t.
12040
e6bdb741
AJ
120412012-05-18 Andreas Jaeger <aj@suse.de>
12042 Carlos O'Donell <carlos_odonell@mentor.com>
12043
12044 * manual/install.texi (Configuring and compiling): Update
12045 description about files modified in the source directory.
d6c33fda 12046 * INSTALL: Regenerated.
e6bdb741 12047
1b74487e
L
120482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12049
12050 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12051 value. Use "or" to set return value to -1.
12052 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12053 negate return value.
12054
a88b64b9
TMQMF
120552012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12056
12057 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12058 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12059 failure if the compiler has Graphite support disabled.
12060 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12061 Likewise.
12062 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12063 CFLAGS-memmove.c): Likewise.
12064 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12065 Likewise.
12066
3707636e
L
120672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12068
610b8622
L
12069 * sysdeps/x86_64/x32/_itoa.h: New file.
12070
7cd195df
L
12071 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12072 getdents system call only if kernel and user dirents have the
12073 same d_ino and d_off.
12074
94b07d20
L
12075 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12076 LLONG_MAX != LONG_MAX.
12077 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12078 (_fitoa_word): Likewise.
12079
18298070
L
12080 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12081 years.
12082 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12083 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12084 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12085
553c7ea4
L
12086 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12087 include <bits/wordsize.h>. Check __x86_64__ instead of
12088 __WORDSIZE.
12089 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12090 if __x86_64__ is defined. Use anonymous union on fpstate.
12091
3707636e
L
12092 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12093 anonymous union.
12094
b53ef01a
AS
120952012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12096
37fb1dc0
AS
12097 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12098 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12099 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12100 Refer to _rtld_local_ro instead of _rtld_global_ro.
12101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12102 Likewise.
12103 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12104 Likewise.
12105 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12106 Likewise.
12107 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12108 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12109 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12110
b53ef01a
AS
12111 * sysdeps/powerpc/powerpc32/dl-machine.c
12112 (__elf_machine_runtime_setup) [PROF]: Don't reference
12113 _dl_prof_resolve.
12114
7a185db2
AJ
121152012-05-18 Andreas Jaeger <aj@suse.de>
12116
12117 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12118 function only available for GCCs before 3.4 since GCC 3.4
12119 introduced a builtin.
12120 (lrint): Likewise.
12121 (llrintf): Likewise.
12122 (llrint): Likewise.
12123 (fmaxf): Likewise.
12124 (fmax): Likewise.
12125 (fminf): Likewise.
12126 (fmin): Likewise.
12127 (rint): Likewise.
12128 (rintf): Likewise.
12129 (nearbyint): Likewise.
12130 (nearbyintf): Likewise.
12131 (ceil): Likewise.
12132 (ceilf): Likewise.
12133 (floor): Likewise.
12134 (floorf): Likewise.
12135
3e5aef87
L
121362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12137
428bd707
L
12138 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12139 on both fields and cast pointer to __syscall_ulong_t.
12140
3e5aef87
L
12141 * bits/types.h (__fsword_t): New type.
12142 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12143 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12145 (__FSWORD_T_TYPE): Likewise.
12146 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12147 (__FSWORD_T_TYPE): Likewise.
12148 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12149 (__FSWORD_T_TYPE): Likewise.
12150 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12151 (__FSWORD_T_TYPE): Likewise.
12152 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12153 __SWORD_TYPE with __fsword_t.
12154 (statfs64): Likewise.
12155
1ba7c3dc
DM
121562012-05-17 David S. Miller <davem@davemloft.net>
12157
12158 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12159
59910343
AJ
121602012-05-17 Andreas Jaeger <aj@suse.de>
12161
12162 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12163 warning.
12164
2e4c1e9e
L
121652012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12168
de7f5ce7
AJ
121692012-05-17 Andreas Jaeger <aj@suse.de>
12170
12171 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12172 when it is used.
12173
286abc3d
CM
121742012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12175
12176 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12177
477cc68e
L
121782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12181 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12182
1a0994f5
CD
121832012-05-17 Andreas Jaeger <aj@suse.de>
12184 Carlos O'Donell <carlos_odonell@mentor.com>
12185
12186 [BZ #14059]
12187 * sysdeps/x86_64/multiarch/init-arch.h
12188 (bit_YMM_Usable): Rename to...
12189 (bit_AVX_Usable): ... this.
12190 (bit_FMA4_Usable): New macro.
12191 (bit_XMM_state): New macro.
12192 (bit_YMM_state): New macro.
12193 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12194 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12195 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12196 (CPUID_OSXSAVE): New macro.
12197 (CPUID_AVX): New macro.
12198 (CPUID_FMA4): New macro.
12199 (index_YMM_Usable): Rename to...
12200 (index_AVX_Usable): ... this.
12201 (HAS_AVX): Use HAS_ARCH_FEATURE.
12202 (HAS_FMA4): Likewise.
12203 (HAS_YMM_USABLE): Remove.
12204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12205 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12206 are present.
12207 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12208 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12209 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12210 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12211 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12212
0af797de
CM
122132012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12214
12215 * math/libm-test.c: Support platforms without multiple rounding modes.
12216 * math/bug-nextafter.c: Support platforms without FP exceptions.
12217 * math/bug-nexttoward.c: Likewise.
12218 * math/test-fenv.c: Likewise.
12219 * math/test-misc.c: Likewise.
12220 * stdlib/bug-getcontext.c: Likewise.
12221
e39745ff
AJ
122222012-05-17 Andreas Jaeger <aj@suse.de>
12223
12224 * manual/examples/search.c (critter_cmp): Change signature to
12225 avoid warnings.
12226 * manual/string.texi (Collation Functions): Likewise.
12227
48970aba
L
122282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12229
12230 * bits/types.h: Fold copyright years.
12231 * bits/typesizes.h: Likewise.
12232 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12233 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12236 * time/time.h: Likewise.
12237
bedee953
PP
122382012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12239
12240 [BZ #208]
12241 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12242 in instead of returning them. Return void.
12243 (__libc_mallinfo): Accumulate over all arenas.
12244 (__malloc_stats): Adjust for change in int_mallinfo interface.
12245
61653dfb
RM
122462012-05-16 Roland McGrath <roland@hack.frob.com>
12247
30b99d79
RM
12248 [BZ #10375]
12249 * configure.in (NM): Add AC_CHECK_TOOL for it.
12250 (libc_extra_cflags): New substituted variable.
12251 Check for -fstack-protector being used implicitly.
12252 * configure: Regenerated.
12253 * config.make.in (config-extra-cflags): New variable,
12254 gets @libc_extra_cflags@.
12255 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12256
61653dfb
RM
12257 [BZ #10375]
12258 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12259 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12260 * configure: Regenerated.
12261 * config.make.in (CPPUNDEFS): New substituted variable.
12262 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12263 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12264 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12265
661768bb
L
122662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12267
12268 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12269 (mq_attr): Use __syscall_slong_t.
12270
d4261567
L
122712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12272
12273 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12274 Check __x86_64__ instead of __WORDSIZE.
12275 (_STAT_VER_LINUX): Likewise.
12276 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12277 __syscall_ulong_t and __syscall_slong_t.
12278 (stat64): Likewise.
12279
cf3ff365
L
122802012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12281
12282 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12283
76cf3e4d
L
122842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12285
12286 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12287
a637753a
L
122882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12291 __syscall_ulong_t.
12292
d5e05119
L
12293 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12294 include <bits/wordsize.h>. Check __x86_64__ instead of
12295 __WORDSIZE.
12296 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12297 defined.
12298 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12299
f62ee380
L
12300 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12301 include <bits/wordsize.h>. Check __x86_64__ instead of
12302 __WORDSIZE.
12303 (user_regs_struct): Use "__extension__ unsigned long long"
12304 instead of "unsigned long" if __x86_64__ is defined.
12305 (user): Likewise. Pad after pointer field if __ILP32__ is
12306 defined.
12307
4e124ced
JM
123082012-05-16 Joseph Myers <joseph@codesourcery.com>
12309
6a3951a0
JM
12310 * configure.in (makeinfo): Require version 4.5 or later. Allow
12311 versions 5 to 9.
12312 * configure: Regenerated.
12313 * manual/install.texi (texinfo): Increase version requirement to
12314 4.5 or later.
12315 * INSTALL: Regenerated.
12316
4e124ced
JM
12317 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12318
953ca31a
L
123192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12322
617aca05
L
12323 * sysdeps/x86_64/x32/ffs.c: New file.
12324
5762f7ae
L
12325 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12326 __syscall_ulong_t.
12327 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12328 defined. Use __syscall_ulong_t.
12329 (shminfo): Use __syscall_ulong_t.
12330 (shm_info): Likewise.
12331
a26b6856
L
12332 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12333 __syscall_ulong_t.
12334
cb2b9ef7
L
12335 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12336 <bits/wordsize.h>.
12337 (msgqnum_t): Use __syscall_ulong_t.
12338 (msglen_t): Likewise.
12339 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12340 __syscall_ulong_t.
12341
34683bb0
L
12342 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12343 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12344
84a68786
L
12345 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12346
48baa5f1
L
12347 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12348 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12349
180be88b
L
12350 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12351 __syscall_slong_t.
12352
5e90c8ad
L
12353 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12354 include <bits/wordsize.h>. Check __x86_64__ instead of
12355 __WORDSIZE.
12356
23dfb58b
L
12357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
12358 "unsigned long long int" if __x86_64__ is defined.
12359 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
12360
ce5d54b0
L
12361 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
12362 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12363 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
12364
13dc9eac
L
12365 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
12366 <stdint.h>.
12367 (GET_PC): Cast to uintptr_t first.
12368 (GET_FRAME): Likewise.
12369 (GET_STACK): Likewise.
12370
a7895d15
L
12371 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
12372 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
12375 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
12376 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
12377 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
12378 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
12379 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
12380 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
12381 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
12382 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
12383 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
12384 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
12386 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
12387 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
12388 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
12390 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
12392 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
12394 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
12396 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
12397 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
12398 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
12399 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
12400
656416c9
AS
124012012-05-16 Andreas Schwab <schwab@linux-m68k.org>
12402
5bd66283
AS
12403 * Makerules (+depfiles): Also collect depfiles from .oS in
12404 $(extra-objs).
12405 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
12406 .oS, $(libnldbl-routines)).
12407
656416c9
AS
12408 * Makerules (native-compile-mkdep-flags): Define.
12409 * sunrpc/Makefile (extra-objs): Add $(addprefix
12410 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
12411 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
12412 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
12413 calling $(make-target-directory).
12414
a46f2169
L
124152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12416
12417 * bits/types.h (__snseconds_t): Removed.
12418 * time/time.h (struct timespec): Replace __snseconds_t with
12419 __syscall_slong_t.
12420 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
12421 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
12422 Likewise.
12423 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12424 (__SNSECONDS_T_TYPE): Likewise.
12425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12426 (__SNSECONDS_T_TYPE): Likewise.
12427 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12428 (__SNSECONDS_T_TYPE): Likewise.
12429
6af6528b
L
124302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12431
12432 * sysdeps/mach/hurd/bits/typesizes.h
12433 (__SYSCALL_SLONG_TYPE): New macro.
12434 (__SYSCALL_ULONG_TYPE): Likewise.
12435
de986b56
L
124362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * bits/types.h (__syscall_slong_t): New type.
12439 (__syscall_ulong_t): Likewise.
12440
12441 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
12442 (__SYSCALL_ULONG_TYPE): Likewise.
12443 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12444 (__SYSCALL_SLONG_TYPE): Likewise.
12445 (__SYSCALL_ULONG_TYPE): Likewise.
12446 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12447 (__SYSCALL_SLONG_TYPE): Likewise.
12448 (__SYSCALL_ULONG_TYPE): Likewise.
12449 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12450 (__SYSCALL_SLONG_TYPE): Likewise.
12451 (__SYSCALL_ULONG_TYPE): Likewise.
12452
85736dc7
L
124532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12454
12455 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
12456 Add sigaltstack-offsets.sym.
12457 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12458 <sigaltstack-offsets.h>.
12459 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
12460 longjmp_msg pointer.
12461 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
12462 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
12463 signal stack.
12464 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
12465
cc03b296
JM
124662012-05-15 Joseph Myers <joseph@codesourcery.com>
12467
a9538892
JM
12468 * elf/stackguard-macros.h: Remove file.
12469 * sysdeps/generic/stackguard-macros.h: New file.
12470 * sysdeps/i386/stackguard-macros.h: Likewise.
12471 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
12472 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
12473 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
12474 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
12475 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
12476 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
12477 * sysdeps/x86_64/stackguard-macros.h: Likewise.
12478 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
12479 <elf/stackguard-macros.h>.
12480
cc03b296
JM
12481 [BZ #14109]
12482 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
12483 __aligned__ in attribute.
12484 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
12485 (gregset_t): Likewise.
12486
93171016
L
124872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
12490 * sysdeps/x86_64/64/Implies-after: Here. New file.
12491 * sysdeps/x86_64/x32/Implies-after: New file.
12492
d86813a0
L
124932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12494
12495 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12496 and access return value for _dl_profile_fixup. Use R10_LP to
12497 load frame size.
12498
2953ec75
L
124992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12500
12501 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
12502
3b550e9e
L
125032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
12506 * sysdeps/x86_64/x32/sysdep.h: New file.
12507
eda41706
L
125082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12509
12510 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
12511 * sysdeps/x86_64/setjmp.S: Likewise.
12512
9ea01d93
AZ
125132012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12514
12515 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
12516 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
12517 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
12518 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
12519 remove unused global constant.
12520
02a91938
CM
125212012-05-15 Chris Metcalf <cmetcalf@tilera.com>
12522
12523 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
12524 include of <not-cancel.h>.
12525
6540185f
RM
125262012-05-15 Roland McGrath <roland@hack.frob.com>
12527
12528 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
12529
509072a0
AJ
125302012-05-15 Jeff Law <law@redhat.com>
12531 Andreas Jaeger <aj@suse.de>
12532
12533 [BZ #13594]
12534 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
12535 out from...
12536 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
12537 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
12538 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
12539 code changing __hst_map_handle.map.
12540
ba75122d
RM
125412012-05-15 Roland McGrath <roland@hack.frob.com>
12542
12543 * configure.in (sysnames): Look for Implies-before and Implies-after
12544 files.
12545 * configure: Regenerated.
12546
890d8bd8
L
125472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12548
12549 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
12550 8-byte data alignment with LP_SIZE alignment.
12551
f6ee6623
L
125522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12553
12554 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
12555 into R10_LP.
12556
ea2626f6
L
125572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12558
12559 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
12560
085f715e
L
125612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
12564 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
12565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
12566 Likewise.
12567 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
12568
be8498fc
L
125692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12570
12571 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
12572 (stackinfo_sub_sp): Likewise.
12573
70bc83b9
L
125742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12575
12576 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
12577 RAX_LP.
12578
9bc0b730
L
125792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12580
12581 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
12582 into R*_LP.
12583
6d2850e7
L
125842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12585
12586 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
12587 sizes into R*_LP.
12588
3cb84561
L
125892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12590
12591 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
12592
54e2ed81
L
125932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12594
12595 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
12596 into R11_LP and load __x86_64_shared_cache_size_half into
12597 R8_LP.
12598
8a17f349
L
125992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12600
12601 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
12602 R8_LP.
12603
777b1eea
AZ
126042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605
12606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
12607 logb for POWER7.
12608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
12609 logbf for POWER7.
12610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
12611 logbl for POWER7.
12612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
12613 powerpc32/power7/fpu/s_logb.c via #include.
12614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
12615 powerpc32/power7/fpu/s_logbf.c via #include.
12616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
12617 powerpc32/power7/fpu/s_logbl.c via #include.
12618
d20d4ac2
JM
126192012-05-15 Joseph Myers <joseph@codesourcery.com>
12620
12621 * README.libm: Remove file.
12622
6cdef1ab
L
126232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12624
12625 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
12626 count for x32. Use R*_LP and omit operand-size suffix.
12627
0b254d8f
L
126282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12629
12630 * shlib-versions: Move x86_64-.*-linux.* entries to ...
12631 * sysdeps/x86_64/64/shlib-versions: Here. New file.
12632 * sysdeps/x86_64/x32/shlib-versions: New file.
12633
ceb809dc
RM
126342012-05-14 Roland McGrath <roland@hack.frob.com>
12635
12636 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
12637 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
12638 Use _dl_fatal_printf instead.
12639
37f1abd4
JM
126402012-05-14 Joseph Myers <joseph@codesourcery.com>
12641
12642 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
12643 set if not set by the user. Do not allow for being unset.
12644 * sysdeps/unix/sysv/linux/configure: Regenerated.
12645
11de3a33
L
126462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
12649 the `q' suffix from lea and replace .quad with ASM_ADDR.
12650
e02f153a
L
126512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12652
12653 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
12654 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
12655 instead of $17.
12656 (PTR_DEMANGLE): Likewise.
12657
520ae0fd
L
126582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12659
12660 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
12661 (LP_OP): Likewise.
12662 (ASM_ADDR): Likewise.
12663 (RAX_LP): Likewise.
12664 (RBP_LP): Likewise.
12665 (RBX_LP): Likewise.
12666 (RCX_LP): Likewise.
12667 (RDI_LP): Likewise.
12668 (RSI_LP): Likewise.
12669 (RSP_LP): Likewise.
12670 (R8_LP): Likewise.
12671 (R9_LP): Likewise.
12672 (R10_LP): Likewise.
12673 (R10_LP): Likewise.
12674 (R11_LP): Likewise.
12675 (R12_LP): Likewise.
12676 (R13_LP): Likewise.
12677 (R14_LP): Likewise.
12678 (R15_LP): Likewise.
12679
b985be81
L
126802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12681
12682 * sysdeps/x86_64/x32/dl-machine.h: New file.
12683
6a4888ff
AJ
126842012-05-14 Andreas Jaeger <aj@suse.de>
12685
12686 * manual/Makefile (subdir): Remove export of subdir.
12687 (all): Remove target.
12688 (.PHONY): Remove all from list.
12689 (mkinstalldirs): Remove.
12690 (.PHONY): Remove installdirs from list.
12691 ($(inst_infodir)/libc.info): Use make-target-directory.
12692 (installdirs): Remove.
12693 (subdir_%): Remove.
12694 (glibc-targets): Remove.
12695 (lib): Remove.
12696 (stubs): Remove.
12697 ($(objpfx)stubs ../po/manual.pot): Remove.
12698 ($(objpfx)stamp%): Remove.
12699 (make-target-directory): Remove.
12700 (subdir_install): Remove.
12701 (routines): Remove.
12702 (aux): Remove.
12703 (sources): Remove.
12704 (objects): Remove.
12705 (headers): Remove.
12706
12707 [BZ #13750]
12708 * manual/.gitignore: Remove, it's not needed anymore.
12709 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
12710 all files in it.
12711 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
12712 directory.
12713 (texis): Renamed to $(objpfx)texis.
12714 (texis-path): New, contains path to generated files.
12715 (chapters.%): Use texis-path for complete path, add extra argument
12716 libc-texinfo.sh.
12717 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
12718 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
12719 (summary,texi, stamp-summary): Use complete path of
12720 files. Generate files in build dir.
12721 (dir-add.texi): Build in build dir.
12722 (libm-err.texi,stamp-libm-err): Likewise.
12723 (version.texi, stamp-version): Likewise.
12724 (.%c.texi): Likewise.
12725 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
12726 (mostlyclean): Remove target.
12727 (realclean): Remove target.
12728 (generated): Add new variable with contents from mostlyclean and
12729 realclean, remove entries duplicated in common-mostlyclean, add
12730 stamp-libm-err and stamp-version.
12731 (generated-dirs): Add libc directory.
12732 ($(inst_infodir)/libc.info): Install files from build dir.
12733
12734 * manual/install.texi (Configuring and compiling): Adjust since
12735 the info files are not part of the tar ball anymore.
12736
7ac77294
AJ
127372012-05-14 Andreas Jaeger <aj@suse.de>
12738
12739 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
12740 variable.
12741
ffb7875d
JM
127422012-05-14 Joseph Myers <joseph@codesourcery.com>
12743
12744 [BZ #13717]
12745 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12746 to 2.2.0 where earlier.
12747 * sysdeps/unix/sysv/linux/configure: Regenerated.
12748 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
12749 Remove conditional code.
12750 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
12751 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
12752 Remove conditional code.
12753 [!__NR_lchown]: Likewise.
12754 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12755 [__NR_lchown]: Likewise.
12756 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
12757 comment referencing __ASSUME_LCHOWN_SYSCALL.
12758 * sysdeps/unix/sysv/linux/i386/sigaction.c
12759 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12760 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12761 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
12762 Remove conditional code.
12763 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
12764 (__protocol_available): Remove #if 0 code.
12765 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
12766 conditional code.
12767 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
12768 * sysdeps/unix/sysv/linux/kernel-features.h
12769 (__ASSUME_GETCWD_SYSCALL): Don't define.
12770 (__ASSUME_REALTIME_SIGNALS): Likewise.
12771 (__ASSUME_PREAD_SYSCALL): Likewise.
12772 (__ASSUME_PWRITE_SYSCALL): Likewise.
12773 (__ASSUME_POLL_SYSCALL): Likewise.
12774 (__ASSUME_LCHOWN_SYSCALL): Likewise.
12775 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
12776 non-SPARC.
12777 (__ASSUME_SIOCGIFNAME): Don't define.
12778 (__ASSUME_MSG_NOSIGNAL): Likewise.
12779 (__ASSUME_SENDFILE): Define unconditionally.
12780 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
12781 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
12782 conditional code.
12783 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
12784 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
12785 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12786 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12787 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
12788 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
12789 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
12790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
12791 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12792 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
12794 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
12797 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12798 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
12800 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12801 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
12803 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12804 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
12806 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
12807 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
12809 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12810 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
12812 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12813 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12814 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
12815 Remove conditional code.
12816 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12817 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12818 Remove conditional code.
12819 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12820 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
12821 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
12822 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12823 Remove conditional code.
12824 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12825 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
12826 Remove conditional code.
12827 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12828 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
12829 Remove conditional code.
12830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12831 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
12832 Remove conditional code.
12833 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
12834 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
12835 Remove conditional code.
12836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12837 * sysdeps/unix/sysv/linux/sh/pwrite64.c
12838 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
12839 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
12840 * sysdeps/unix/sysv/linux/sigaction.c
12841 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12842 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12843 * sysdeps/unix/sysv/linux/sigpending.c
12844 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12845 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12846 * sysdeps/unix/sysv/linux/sigprocmask.c
12847 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12848 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12849 * sysdeps/unix/sysv/linux/sigsuspend.c
12850 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
12851 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
12852 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12853 (__libc_missing_rt_sigs): Remove.
12854 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
12855 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
12856 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
12857 Remove conditional code.
12858 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
12859 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
12860 return 1.
12861 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
12862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
12863 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
12864 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
12865
1bfb7291
AJ
128662012-05-14 Andreas Jaeger <aj@suse.de>
12867
caae5a81
AJ
12868 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
12869 it's not used in glibc.
12870 (__coshm1): Likewise.
12871 (__acosh1p): Likewise.
12872 (__sgn): Likewise.
12873
1bfb7291
AJ
12874 * manual/string.texi (Copying and Concatenation): Add missing
12875 variable in concat example.
12876 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12877
c044d724
L
128782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12879
144c5467 12880 [BZ #14103]
c044d724
L
12881 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
12882 __builtin_clzl with __builtin_clzll.
12883
2523c62b
L
128842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
12885
12886 [BZ #14104]
12887 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
12888 libc_freeres_ptr.
12889
d7bb4c42
LD
128902012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12891
12892 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
12893 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
12894 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
12895 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
12896
9dc4e1fb
MF
128972012-05-14 Mike Frysinger <vapier@gentoo.org>
12898
12899 * NEWS: Update ia64 info.
12900
c7df0112
AS
129012012-05-12 Andreas Schwab <schwab@linux-m68k.org>
12902
12903 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
12904 used as bcopy.
12905
dc70356c
TS
129062012-05-12 Thomas Schwinge <thomas@codesourcery.com>
12907
12908 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
12909 * sysdeps/unix/syscalls.list (dup3): Likewise.
12910 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
12911 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
12912
9fb1a21f
L
129132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
12916 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
12917
4822a2a5
L
129182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
12921 thread pointer.
12922 (TLS_IE): Use mov/add instead of movq/addq to load thread
12923 pointer.
12924 (TLS_GD_PREFIX): New.
12925 (TLS_GD): Use it.
12926
842b81d6
DM
129272012-05-11 David S. Miller <davem@davemloft.net>
12928
12929 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
12930 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
12931 (_FPU_SETCW): Likewise.
12932
1cf463cd
L
129332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
12936 is 32-byte aligned.
12937
60cc4a18
AS
129382012-05-11 Andreas Schwab <schwab@linux-m68k.org>
12939
12940 [BZ #11837]
12941 * iconvdata/gb18030.c: Update tables.
12942 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
12943 characters specially.
12944 (BODY for TO_LOOP): Add encoding of missing ranges.
12945
febb44a4
TS
129462012-05-11 Thomas Schwinge <thomas@codesourcery.com>
12947
12948 [BZ #13673]
12949 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
12950 * sysdeps/mach/hurd/dup3.c: Likewise.
12951 * sysdeps/mach/hurd/readlinkat.c: Likewise.
12952 * sysdeps/powerpc/memmove.c:: Likewise.
12953
0a10fb9e
L
129542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12955
12956 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
12957 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
12958
df8a552f
L
129592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
12960
12961 * elf/elf.h (R_X86_64_RELATIVE64): New.
12962 (R_X86_64_NUM): Updated.
12963 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12964 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
12965 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
12966 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
12967 tst-quad1pie tst-quad2pie
12968 (modules-names): Add tst-quadmod1 tst-quadmod2.
12969 ($(objpfx)tst-quad1): New dependency.
12970 ($(objpfx)tst-quad2): Likewise.
12971 ($(objpfx)tst-quad1pie): Likewise.
12972 ($(objpfx)tst-quad2pie): Likewise.
12973 * sysdeps/x86_64/tst-quad1.c: New file.
12974 * sysdeps/x86_64/tst-quad1pie.c: New file.
12975 * sysdeps/x86_64/tst-quad2.c: Likewise.
12976 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
12977 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
12978 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
12979 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
12980 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
12981
f34d6f84
ST
129822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12983
f42d41d1
ST
12984 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
12985 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
12986 * streams/stropts.h (t_scalar_t): Define type.
12987
3c3571fc
ST
12988 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
12989 (_PATH_PRESERVE): Set to "/var/lib".
12990 (_PATH_RWHODIR): Set to "/var/spool/rwho".
12991
61f06bd3
ST
12992 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
12993 instead of int.
12994
918d4d71
ST
12995 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
12996 if __dir_mkfile succeeded.
12997
f34d6f84
ST
12998 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
12999 checking for _hurd_dtablesize. Unlock it right after having
13000 finished _hurd_dtable allocation.
13001
10589b4a
TS
130022012-05-10 Thomas Schwinge <thomas@schwinge.name>
13003
674cdbc7
TS
13004 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13005 * sysdeps/mach/hurd/configure: Regenerated.
13006 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13007 special-casing to...
13008 * sysdeps/gnu/configure.in: ... this new file.
13009 * sysdeps/unix/sysv/linux/configure: Regenerated.
13010 * sysdeps/gnu/configure: New generated file.
13011
8e41b99f
TS
13012 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13013 for Linux: use nsec instead of usec, as well as:
13014 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13015 members of type struct timespec.
13016 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13017 New macros.
13018 (struct stat64): Likewise.
13019 (_STATBUF_ST_NSEC): New macro.
13020 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13021
10589b4a
TS
13022 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13023 __strtoul_internal rather than strtoul.
13024
63643c85
PT
130252012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13026
13027 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13028 and reject them.
13029
3faebe6a
ST
130302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13031
13032 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13033 which preserves existing values.
13034 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13035
c6474b07
PT
130362012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13037
13038 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13039 TIMEOUT values. Return EINVAL for NFDS values either negative or
13040 greater than FD_SETSIZE.
13041
1043890b
ST
130422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13043
13044 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13045 allocated, call __vm_protect to finish enabling the existing space, and
13046 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13047 allocate the remainder.
13048
37ed8b9b
PT
130492012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13050
13051 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13052 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13053
db653660
ST
130542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13055
37ed8b9b
PT
13056 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13057 sysdeps/mach/hurd/readlink.c.
b29d4053 13058
db653660
ST
13059 * posix/tst-sysconf.c (posix_options): Only use
13060 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13061 _POSIX_SYNCHRONIZED_IO when they are defined
13062 * sysdeps/mach/hurd/bits/posix_opt.h:
13063 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13064 (_XOPEN_REALTIME): Undefine macro.
13065 (_XOPEN_REALTIME_THREADS): Undefine macro.
13066 (_XOPEN_SHM): Undefine macro.
13067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13068 macro to -1.
13069 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13070 macro to -1.
13071 (_POSIX_ASYNC_IO): Undefine macro.
13072 (_POSIX_PRIORITIZED_IO): Undefine macro.
13073 (_POSIX_SPIN_LOCKS): Define macro to -1.
13074
ee16e894
ST
13075 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13076 SA_NODEFER, SA_RESETHAND.
13077 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13078 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13079 F_DUPFD_CLOEXEC.
13080
6103ae3b
TS
130812012-05-10 Thomas Schwinge <thomas@schwinge.name>
13082
13083 * elf/Makefile (pldd-modules): Define unconditionally.
13084
80b4e5f3
TS
130852012-05-10 Thomas Schwinge <thomas@schwinge.name>
13086
13087 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13088
edadcbd6
ST
130892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13090
13091 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13092 Return ENOENT when name is empty.
13093 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13094
80694780
TS
130952012-05-10 Thomas Schwinge <thomas@schwinge.name>
13096
1792c087
TS
13097 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13098
80694780
TS
13099 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13100
6b645f0d
ST
131012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13102
80694780
TS
13103 Fix mlock in all cases except non-readable pages.
13104 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13105 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13106
6b645f0d
ST
13107 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13108 (__mkdir): When path is `/', just fail with EEXIST.
13109 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13110
e468f8a3
TS
131112012-05-10 Thomas Schwinge <thomas@schwinge.name>
13112
13113 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13114 <sys/uio.h> (for writev).
13115 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13116 and <sys/param.h> (for MIN).
13117
a4186cff
PT
131182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13119
13120 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13121 REQUESTED_TIME. Properly set the remaining time and return EINTR
13122 if interrupted.
13123
510bbf14
TS
131242012-05-10 Thomas Schwinge <thomas@schwinge.name>
13125
13126 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13127 Depend on against $(link-rpcuserlibs).
13128
5d5722e8
ST
131292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13130
a4186cff
PT
13131 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13132 (__libc_stack_end): Do not use attribute_relro.
13133 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13134 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13135 to libthread-provided value.
a4186cff
PT
13136 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13137 attribute_relro.
5d5722e8 13138
37233df9
TS
131392012-05-10 Thomas Schwinge <thomas@schwinge.name>
13140
be971a2b
TS
13141 [BZ #3748]
13142 * bits/libc-lock.h (__libc_once_get): New macro.
13143 * sysdeps/mach/bits/libc-lock.h: Likewise.
13144 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13145 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13146 instead of using implementation details.
13147
37233df9
TS
13148 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13149 * libio/freopen.c: Likewise.
13150 * libio/freopen64.c: Likewise.
13151 * misc/syslog.c: Likewise.
13152 * nscd/connections.c: Likewise.
13153 * nscd/netgroupcache.c: Likewise.
13154 * sysdeps/posix/getcwd.c: Likewise.
13155
38de94a5
RM
131562012-05-10 Roland McGrath <roland@hack.frob.com>
13157
13158 * math/w_ilogbf.c: Add #include <limits.h>.
13159
67530489
ST
131602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13161
a4186cff 13162 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13163 path instead of returning without unlocking.
13164
67530489
ST
13165 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13166 immediate-write ioctls.
13167 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13168
5aa3a74a
TS
131692012-05-10 Thomas Schwinge <thomas@schwinge.name>
13170
18bad2ae
TS
13171 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13172 __builtin_frame_address instead of making assumptions about the
13173 location of the return address relative to DATA. Force early load of
13174 the return address.
13175 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13176 __builtin_frame_address.
13177
5aa3a74a
TS
13178 dup3 for GNU Hurd.
13179 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13180 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13181 implement dup3 and do some further code clean-ups.
13182 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13183 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13184
ecd0de9a
ST
131852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13186
cd9fa985
ST
13187 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13188
a4186cff
PT
13189 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13190 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13191 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13192 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13193 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13194 d->port.lock.
802ca5a5 13195
a4186cff
PT
13196 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13197 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13198 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13199
bcf55240
TS
132002012-05-10 Thomas Schwinge <thomas@schwinge.name>
13201
6960eb42
TS
13202 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13203 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13204 definitions.
13205
eb43375f
TS
13206 accept4 for GNU Hurd.
13207 * include/sys/socket.h (__libc_accept4): New prototype.
13208 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13209 to implement __libc_accept4.
13210 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13211 __libc_accept4.
13212 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13213
bcf55240
TS
13214 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13215 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13216 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13217 signal-defines.sym.
13218
6178c55b
ST
132192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13220
a4186cff 13221 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13222
6f080c2f
TS
132232012-05-10 Thomas Schwinge <thomas@schwinge.name>
13224
13225 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13226 assertion on O_CLOEXEC flag.
13227 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13228 * hurd/intern-fd.c: Likewise.
13229 * hurd/port2fd.c: Likewise.
13230
bcfe3a54
ST
132312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13232
13233 [BZ #3906]
13234 * bits/in.h (IPV6_PKTINFO): Define new macro.
13235 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13236
89c9aa49
AZ
132372012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13238
13239 [BZ #13954]
13240 [BZ #13955]
13241 [BZ #13956]
13242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13243 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13244 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13247 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13248 * math/libm-test.inc (logb_test) : Additional logb tests.
13249
021db4be
AJ
132502012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13251 Andreas Jaeger <aj@suse.de>
13252
13253 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13254 * configure: Regenerated.
13255 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13256 * config.make.in (link-obsolete-rpc): New substituted variable.
13257 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13258 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13259 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13260 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13261 so that libc.a contains the symbols.
13262 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13263 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13264 * sunrpc/auth_none.c: Likewise.
13265 * sunrpc/auth_unix.c: Likewise.
13266 * sunrpc/authdes_prot.c: Likewise.
13267 * sunrpc/authuxprot.c: Likewise.
13268 * sunrpc/clnt_gen.c: Likewise.
13269 * sunrpc/clnt_perr.c: Likewise.
13270 * sunrpc/clnt_raw.c: Likewise.
13271 * sunrpc/clnt_simp.c: Likewise.
13272 * sunrpc/clnt_tcp.c: Likewise.
13273 * sunrpc/clnt_udp.c: Likewise.
13274 * sunrpc/clnt_unix.c: Likewise.
13275 * sunrpc/des_crypt.c: Likewise.
13276 * sunrpc/des_soft.c: Likewise.
13277 * sunrpc/get_myaddr.c: Likewise.
13278 * sunrpc/key_call.c: Likewise.
13279 * sunrpc/key_prot.c: Likewise.
13280 * sunrpc/netname.c: Likewise.
13281 * sunrpc/pm_getmaps.c: Likewise.
13282 * sunrpc/pm_getport.c: Likewise.
13283 * sunrpc/pmap_clnt.c: Likewise.
13284 * sunrpc/pmap_prot.c: Likewise.
13285 * sunrpc/pmap_prot2.c: Likewise.
13286 * sunrpc/pmap_rmt.c: Likewise.
13287 * sunrpc/publickey.c: Likewise.
13288 * sunrpc/rpc_cmsg.c: Likewise.
13289 * sunrpc/rpc_common.c: Likewise.
13290 * sunrpc/rpc_dtable.c: Likewise.
13291 * sunrpc/rpc_prot.c: Likewise.
13292 * sunrpc/rpc_thread.c: Likewise.
13293 * sunrpc/rtime.c: Likewise.
13294 * sunrpc/svc.c: Likewise.
13295 * sunrpc/svc_auth.c: Likewise.
13296 * sunrpc/svc_raw.c: Likewise.
13297 * sunrpc/svc_run.c: Likewise.
13298 * sunrpc/svc_tcp.c: Likewise.
13299 * sunrpc/svc_udp.c: Likewise.
13300 * sunrpc/svc_unix.c: Likewise.
13301 * sunrpc/svcauth_des.c: Likewise.
13302 * sunrpc/xcrypt.c: Likewise.
13303 * sunrpc/xdr.c: Likewise.
13304 * sunrpc/xdr_array.c: Likewise.
13305 * sunrpc/xdr_float.c: Likewise.
13306 * sunrpc/xdr_intXX_t.c: Likewise.
13307 * sunrpc/xdr_mem.c: Likewise.
13308 * sunrpc/xdr_rec.c: Likewise.
13309 * sunrpc/xdr_ref.c: Likewise.
13310 * sunrpc/xdr_sizeof.c: Likewise.
13311 * sunrpc/xdr_stdio.c: Likewise.
13312
b5c086a2
RM
133132012-05-10 Roland McGrath <roland@hack.frob.com>
13314
13315 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13316 change. Update copyright years.
13317
6d74dd09
JM
133182012-05-10 Joseph Myers <joseph@codesourcery.com>
13319
13320 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13321
28e72501
MK
133222012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13323 Joseph Myers <joseph@codesourcery.com>
13324 Paul Pluzhnikov <ppluzhnikov@google.com>
13325
13326 [BZ #14012]
13327 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13328 requiring rpcgen.
13329 [cross-compiling] (extra-libs): Likewise.
13330 [cross-compiling] (extra-libs-others): Likewise.
13331 [cross-compiling] (librpcsvc-routines): Likewise.
13332 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13333 [cross-compiling] (omit-deps): Likewise.
13334 (sunrpc-CPPFLAGS): New variable.
13335 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13336 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13337 (cross-rpcgen-objs): New variable.
13338 (extra-objs): Append $(cross-rpcgen-objs).
13339 ($(cross-rpcgen-objs)): New rule.
13340 ($(objpfx)cross-rpcgen): Likewise.
13341 (rpcgen-cmd): Define to use $(built-program-file). Expand
13342 comment.
13343 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13344 ($(objpfx)x%.stmp): Likewise.
13345 * sunrpc/proto.h [IS_IN_build] (_): Define.
13346 [IS_IN_build] (_libc_intl_domainname): Likewise.
13347
c8c59454
L
133482012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13349
13350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13351 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13352 and R_X86_64_TPOFF64.
13353
6f27cd16
JM
133542012-05-10 Joseph Myers <joseph@codesourcery.com>
13355
13356 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13357 sysdeps/unix/sysv/syscalls.list.
13358 (stime): Likewise.
13359 (utime): Likewise.
13360 * sysdeps/unix/sysv/syscalls.list: Remove file.
13361
02467e1c
PE
133622012-05-10 Paul Eggert <eggert@cs.ucla.edu>
13363
13364 [BZ #3440]
13365 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
13366 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
13367 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
13368 (__LC_IDENTIFICATION): Make these macros useful in #if
13369 expressions, as required by C99.
13370
da392631
AS
133712012-05-10 Andreas Schwab <schwab@linux-m68k.org>
13372
13373 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
13374 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
13375 after this.
13376
8115f29b
L
133772012-05-09 H.J. Lu <hongjiu.lu@intel.com>
13378
13379 * stdlib/longlong.h: Updated from GCC.
13380
bdd74070
AJ
133812012-05-09 Andreas Jaeger <aj@suse.de>
13382
edfe0dbe
AJ
13383 * nscd/nscd.c (run_modes): Make named enum, reorder so that
13384 default is first entry.
13385 (run_mode): Set type.
13386 (main): Remove informal message about syslog.
13387 (options): Fix typo.
13388
bcfe3a54
ST
13389 [BZ #14053]
13390 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 13391 to asm.
bcfe3a54
ST
13392 (lrint): Likewise.
13393 (llrintf): Likewise.
13394 (llrint): Likewise.
13395 (rint): Likewise.
13396 (rintf): Likewise.
13397 (nearbyint): Likewise.
13398 (nearbyintf): Likewise.
bdd74070 13399
91d8d69e
AJ
134002012-05-09 Andreas Jaeger <aj@suse.de>
13401 Pedro Alves <palves@redhat.com>
13402
13403 * nscd/nscd.c (run_mode): Use enum.
13404 (main): Cleanup coding style issue.
13405
bb90b80b
AJ
134062012-05-09 Alexandre Oliva <aoliva@redhat.com>
13407 Andreas Jaeger <aj@suse.de>
13408
bcfe3a54
ST
13409 * nscd/nscd.c (go_background): Replaced with...
13410 (run_mode): ... this.
bb90b80b 13411 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
13412 (options): Add -F --foreground.
13413 (main): Implement it.
13414 (parse_opt): Parse it.
bb90b80b 13415
1a4b75a1
AJ
134162012-05-09 Andreas Jaeger <aj@suse.de>
13417
13418 [BZ #14083]
13419 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
13420 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
13421 -Wconversion warning.
13422 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
13423 Likewise.
13424
b1cc2472
JM
134252012-05-09 Joseph Myers <joseph@codesourcery.com>
13426
13427 * conform/data/locale.h-data (NULL): Use macro-constant. Require
13428 == 0.
13429 (LC_ALL): Use macro-int-constant.
13430 (LC_COLLATE): Likewise.
13431 (LC_CTYPE): Likewise.
13432 (LC_MESSAGES): Likewise.
13433 (LC_MONETARY): Likewise.
13434 (LC_NUMERIC): Likewise.
13435 (LC_TIME): Likewise.
13436 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
13437 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13439 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
13440 Specify type.
13441 [C99-based standards] (float_t): Expect type.
13442 [C99-based standards] (double_t): Expect type.
13443 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
13444 type.
13445 [C99-based standards] (HUGE_VALL): Likewise.
13446 [C99-based standards] (INFINITY): Likewise.
13447 [C99-based standards] (NAN): Likewise.
13448 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
13449 [C99-based standards] (FP_NAN): Likewise.
13450 [C99-based standards] (FP_NORMAL): Likewise.
13451 [C99-based standards] (FP_SUBNORMAL): Likewise.
13452 [C99-based standards] (FP_ZERO): Likewise.
13453 [C99-based standards] (FP_FAST_FMA): Use
13454 optional-macro-int-constant. Specify type. Require == 1.
13455 [C99-based standards] (FP_FAST_FMAF): Likewise.
13456 [C99-based standards] (FP_FAST_FMAL): Likewise.
13457 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
13458 [C99-based standards] (FP_ILOGBNAN): Likewise.
13459 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
13460 Specify type.
13461 [C99-based standards] (MATH_ERREXCEPT): Likewise.
13462 [C99-based standards] (math_errhandling): Specify type.
13463 [ISO99 || ISO11] (signgam): Do not allow.
13464 [non-C99-based standards] (copysignf): Do not allow.
13465 [non-C99-based standards] (exp2f): Likewise.
13466 [non-C99-based standards] (log2f): Likewise.
13467 [non-C99-based standards] (modff): Allow.
13468 [non-C99-based standards] (erff): Do not allow.
13469 [non-C99-based standards] (erfcf): Likewise.
13470 [non-C99-based standards] (gammaf): Likewise.
13471 [non-C99-based standards] (hypotf): Likewise.
13472 [non-C99-based standards] (j0f): Likewise.
13473 [non-C99-based standards] (j1f): Likewise.
13474 [non-C99-based standards] (jnf): Likewise.
13475 [non-C99-based standards] (lgammaf): Likewise.
13476 [non-C99-based standards] (tgammaf): Likewise.
13477 [non-C99-based standards] (y0f): Likewise.
13478 [non-C99-based standards] (y1f): Likewise.
13479 [non-C99-based standards] (ynf): Likewise.
13480 [non-C99-based standards] (isnanf): Likewise.
13481 [non-C99-based standards] (acoshf): Likewise.
13482 [non-C99-based standards] (asinhf): Likewise.
13483 [non-C99-based standards] (atanhf): Likewise.
13484 [non-C99-based standards] (cbrtf): Likewise.
13485 [non-C99-based standards] (expm1f): Likewise.
13486 [non-C99-based standards] (ilogbf): Likewise.
13487 [non-C99-based standards] (log1pf): Likewise.
13488 [non-C99-based standards] (logbf): Likewise.
13489 [non-C99-based standards] (nextafterf): Likewise.
13490 [non-C99-based standards] (remainderf): Likewise.
13491 [non-C99-based standards] (rintf): Likewise.
13492 [non-C99-based standards] (scalbf): Likewise.
13493 [non-C99-based standards] (copysignl): Likewise.
13494 [non-C99-based standards] (exp2l): Likewise.
13495 [non-C99-based standards] (log2l): Likewise.
13496 [non-C99-based standards] (modfl): Allow.
13497 [non-C99-based standards] (erfl): Do not allow.
13498 [non-C99-based standards] (erfcl): Likewise.
13499 [non-C99-based standards] (gammal): Likewise.
13500 [non-C99-based standards] (hypotl): Likewise.
13501 [non-C99-based standards] (j0l): Likewise.
13502 [non-C99-based standards] (j1l): Likewise.
13503 [non-C99-based standards] (jnl): Likewise.
13504 [non-C99-based standards] (lgammal): Likewise.
13505 [non-C99-based standards] (tgammal): Likewise.
13506 [non-C99-based standards] (y0l): Likewise.
13507 [non-C99-based standards] (y1l): Likewise.
13508 [non-C99-based standards] (ynl): Likewise.
13509 [non-C99-based standards] (isnanl): Likewise.
13510 [non-C99-based standards] (acoshl): Likewise.
13511 [non-C99-based standards] (asinhl): Likewise.
13512 [non-C99-based standards] (atanhl): Likewise.
13513 [non-C99-based standards] (cbrtl): Likewise.
13514 [non-C99-based standards] (expm1l): Likewise.
13515 [non-C99-based standards] (ilogbl): Likewise.
13516 [non-C99-based standards] (log1pl): Likewise.
13517 [non-C99-based standards] (logbl): Likewise.
13518 [non-C99-based standards] (nextafterl): Likewise.
13519 [non-C99-based standards] (remainderl): Likewise.
13520 [non-C99-based standards] (rintl): Likewise.
13521 [non-C99-based standards] (scalbl): Likewise.
13522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13523 [non-C99-based standards] (FP_*): Do not allow.
13524 [C99-based standards] (FP_*): Change to
13525 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
13526 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13527 allow.
13528 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
13529 (SIG_ERR): Likewise.
13530 [X/Open-based standards] (SIG_HOLD): Likewise.
13531 (SIG_IGN): Likewise.
13532 (SIGABRT): Use macro-int-constant. Specify type. Require
13533 positive value.
13534 (SIGFPE): Likewise.
13535 (SIGILL): Likewise.
13536 (SIGINT): Likewise.
13537 (SIGSEGV): Likewise.
13538 (SIGTER): Likewise.
13539 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
13540 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
13541 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
13542 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
13543 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
13544 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
13545 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
13546 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
13547 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
13548 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
13549 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
13550 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
13551 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
13552 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
13553 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
13554 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
13555 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
13556 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
13557 [X/Open-based standards] (SIGTRAP): Likewise.
13558 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
13559 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
13560 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
13561 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
13562 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13563 allow.
13564
b9f1922d
IW
135652012-05-08 Ian Wienand <ianw@vmware.com>
13566
13567 [BZ #14080]
13568 * time/tzset.c (__tzset_parse_tz): Update default rules for
13569 daylight time changes in the Energy Policy Act of 2005.
13570
1db86e88
AJ
135712012-05-09 Andreas Jaeger <aj@suse.de>
13572
13573 [BZ #13983]
13574 * elf/ldconfig.c (parse_conf): Change string to make clear that
13575 ldconfig only issued a warning if ld.so.conf does not exist.
13576
dee4a4e3
DM
135772012-05-08 David S. Miller <davem@davemloft.net>
13578
ee0db190
DM
13579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
13580 movxtod instead of popping the value on the stack.
13581
dee4a4e3
DM
13582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13583
6a43ec98
CD
135842012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
13585
13586 * config.h.in: Add HAVE_ARM_PCS_VFP.
13587
05c2c961
RMG
135882012-05-08 Roland Mc Grath <roland@hack.frob.com>
13589
bcfe3a54
ST
13590 [BZ #13979]
13591 * include/features.h: Warn if user requests __FORTIFY_SOURCE
13592 checking but the checks are disabled for any reason.
05c2c961 13593
4b30f61a
L
135942012-05-08 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
13597 and ELF64_R_TYPE with ELFW(R_TYPE).
13598
eee2bc67
JM
135992012-05-08 Joseph Myers <joseph@codesourcery.com>
13600
7ea5391a
JM
13601 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
13602 (ulimit): Likewise.
13603
eee2bc67
JM
13604 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
13605 (settimeofday): Likewise.
13606
abb66a67
MF
136072012-05-08 Mike Frysinger <vapier@gentoo.org>
13608
13609 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
13610 a struct th_u2 inside the union, and move tu_block/tu_code into
13611 a new th_u3 union of tu_block/tu_code inside of that. Move
13612 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
13613 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
13614 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
13615 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
13616 (th_stuff): Change to th_u1.tu_stuff.
13617 (th_data): Define.
13618 (th_msg): Change to th_u1.th_u2.tu_data.
13619
7f18b530
DM
136202012-05-07 David S. Miller <davem@davemloft.net>
13621
05760585
DM
13622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13623
7f18b530
DM
13624 [BZ #14074]
13625 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
13626 (SETUP_PIC_REG): Use it.
13627 (SETUP_PIC_REG_LEAF): Use it.
13628
495fd99f
JM
136292012-05-07 Joseph Myers <joseph@codesourcery.com>
13630
13631 [BZ #13885]
13632 [BZ #13923]
13633 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13634 USE_AS_EXPM1L.
13635 (EXPL_FINITE): Likewise.
13636 (FLDLOG): Likewise.
13637 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13638 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13639 e_expl.S.
13640 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13641 USE_AS_EXPM1L.
13642 (EXPL_FINITE): Likewise.
13643 (FLDLOG): Likewise.
13644 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
13645 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
13646 e_expl.S.
13647 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
13648 test of -max_value argument for long double.
13649 * sysdeps/i386/fpu/libm-test-ulps: Update.
13650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651
6693d694
DM
136522012-05-06 David S. Miller <davem@davemloft.net>
13653
13654 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
13655 quad soft-float symbols whose references which are compiler
13656 generated.
13657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13658
6c23e11c
JM
136592012-05-06 Joseph Myers <joseph@codesourcery.com>
13660
d8b82cad
JM
13661 [BZ #13884]
13662 [BZ #13914]
13663 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13664 USE_AS_EXP10L.
13665 (EXPL_FINITE): Likewise.
13666 (FLDLOG): Likewise.
13667 (c0): Likewise.
13668 (c1): Likewise.
13669 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13670 Adjust comments for base varying.
13671 (__expl_finite): Change alias to EXPL_FINITE.
13672 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
13673 e_expl.S.
13674 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
13675 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13676 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13677 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
13678 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
13679 USE_AS_EXP10L.
13680 (EXPL_FINITE): Likewise.
13681 (FLDLOG): Likewise.
13682 (c0): Likewise.
13683 (c1): Likewise.
13684 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
13685 Adjust comments for base varying.
13686 (__expl_finite): Change alias to EXPL_FINITE.
13687 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
13688 tests for bugs.
13689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13690
6c23e11c
JM
13691 [BZ #14064]
13692 * math/libm-test.inc (check_float_internal): Correct ulp
13693 calculation for subnormal expected results.
13694
29ba805c
AJ
136952012-05-06 Andreas Jaeger <aj@suse.de>
13696
13697 * Makeconfig (+math-flags): New, set to -frounding-math.
13698 (+cflags): Add +math-flags so that all of glibc gets compiled with
13699 it.
13700
13701 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
13702
7b17aeda
JM
137032012-05-05 Joseph Myers <joseph@codesourcery.com>
13704
5779f134
JM
13705 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
13706 Disable one test.
13707
41498f4d
JM
13708 [BZ #13787]
13709 [BZ #13922]
13710 [BZ #14036]
13711 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
13712 (__ieee754_expl): Allow for and saturate large arguments.
13713 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
13714 (u_threshold): Likewise.
13715 (__exp): Call __ieee754_exp before checking for overflow and
13716 underflow.
13717 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
13718 (u_threshold): Likewise.
13719 (__expf): Call __ieee754_expf before checking for overflow and
13720 underflow.
13721 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
13722 (u_threshold): Likewise.
13723 (__expl): Call __ieee754_expl before checking for overflow and
13724 underflow.
13725 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
13726 (__ieee754_expl): Allow for and saturate large arguments.
13727 * math/libm-test.inc (exp_test): Add another test. Do not allow
13728 missing overflow exception on overflow.
13729 (expm1_test): Do not allow missing overflow exception on overflow.
13730
6698b8bf
JM
13731 * sysdeps/i386/fpu/e_expl.c: Move to ...
13732 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
13733 rather than using inline asm.
13734 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
13735 * sysdeps/x86_64/fpu/e_expl.S: Copy from
13736 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
13737
7b17aeda
JM
13738 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
13739 (nice): Likewise.
13740 (poll): Likewise.
13741 (signal): Likewise.
13742 (time): Likewise.
13743 (times): Likewise.
13744
f7c85819
JM
137452012-05-04 Joseph Myers <joseph@codesourcery.com>
13746
13747 * sysdeps/unix/syscalls.list (adjtime): Add entry from
13748 sysdeps/unix/common/syscalls.list.
13749 (fchmod): Likewise.
13750 (fchown): Likewise.
13751 (ftruncate): Likewise.
13752 (getrusage): Likewise.
13753 (gettimeofday): Likewise.
13754 (setpgid): Likewise.
13755 (setregid): Likewise.
13756 (setreuid): Likewise.
13757 (sigaction): Likewise.
13758 (truncate): Likewise.
13759 (vhangup): Likewise.
13760 * sysdeps/unix/common/syscalls.list: Remove file.
13761 * sysdeps/unix/bsd/Implies: Don't include unix/common.
13762 * sysdeps/unix/sysv/linux/Implies: Likewise.
13763
336270d0
L
137642012-05-04 H.J. Lu <hongjiu.lu@intel.com>
13765
13766 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
13767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
13768 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
13769 Moved to ...
13770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13771 Here.
13772 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
13773 to ...
13774 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
13775 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
13776 to ...
13777 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
13778 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
13779 to ...
13780 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
13781 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
13782 to ...
13783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
13784 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
13785 to ...
13786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
13787 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
13788 to ...
13789 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
13790 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
13791 to ...
13792 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13793 Here.
13794 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
13795 to ...
13796 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
13797 Here.
13798 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
13799 to ...
13800 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
13801 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
13802 Moved to ...
13803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
13804 Here.
13805 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
13806 to ...
13807 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
13808
d128e450
JM
138092012-05-04 Joseph Myers <joseph@codesourcery.com>
13810
fa8ee516
JM
13811 * sysdeps/unix/common/bits/dirent.h: Remove file.
13812 * sysdeps/unix/common/bits/fcntl.h: Likewise.
13813
d128e450
JM
13814 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
13815 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
13816 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
13817 * sysdeps/unix/bsd/isatty.c: Likewise.
13818 * sysdeps/unix/bsd/tcdrain.c: Likewise.
13819 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
13820 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
13821
ff8faaf0 138222012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 13823
62881be4 13824 [BZ #13563]
31dc8730
AZ
13825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
13826 long double comparison inaccuracies.
13827 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13829
6fef930c
AS
138302012-05-04 Andreas Schwab <schwab@linux-m68k.org>
13831
13832 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
13833 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
13834
8f203e6c
JM
138352012-05-04 Joseph Myers <joseph@codesourcery.com>
13836
13837 [BZ #14049]
13838 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
13839 nonzero digits before rounding a hex value.
13840 * stdlib/tst-strtod.c (tests): Add another test.
13841
5197d9c2
AK
138422012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13843
13844 * sysdeps/s390/fpu/libm-test-ulps: Update.
13845
f0c1dedf
AJ
138462012-05-03 Andreas Jaeger <aj@suse.de>
13847
13848 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
13849 does not get optimized out.
13850 (malloc_opt_barrier): New.
13851
a65ef2ae 138522012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 13853 Roland McGrath <roland@hack.frob.com>
a65ef2ae 13854
2b942cb7 13855 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 13856 intermediate file deletion.
2b942cb7 13857 (generated): Add .symlist files.
a65ef2ae 13858
54b71e02
JM
138592012-05-03 Joseph Myers <joseph@codesourcery.com>
13860
13861 [BZ #13775]
13862 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
13863 Redirect under this condition.
13864 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13865 [__USE_GNU] (__dprintf_chk): Not under this condition.
13866 [__USE_GNU] (__vdprintf_chk): Likewise.
13867 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
13868 under this condition.
13869 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
13870 [__USE_XOPEN2K8] (dprintf): Define under this condition.
13871 [__USE_XOPEN2K8] (vdprintf): Likewise.
13872 [__USE_GNU] (__dprintf_chk): Not under this condition.
13873 [__USE_GNU] (__vdprintf_chk): Likewise.
13874 [__USE_GNU] (dprintf): Likewise.
13875 [__USE_GNU] (vdprintf): Likewise.
13876
d3dfcc41
RM
138772012-05-03 Roland McGrath <roland@hack.frob.com>
13878
13879 * elf/Makefile (common-generated): Set this instead of generated for
13880 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
13881 $(all-built-dso)-derived lists.
13882
7ac30cc5
AJ
138832012-05-03 Andreas Jaeger <aj@suse.de>
13884
0c51e550
AJ
13885 * sysdeps/i386/fpu/libm-test-ulps: Update.
13886
7ac30cc5
AJ
13887 * FAQ: Removed.
13888 * FAQ.in: Likewise.
13889 * scripts/gen-FAQ.pl: Likewise.
13890 * manual/install.texi (Installation): Point to online location of
13891 FAQ.
13892 * Makefile (files-for-dist): Remove FAQ.
13893 (FAQ): Remove.
13894
d4c2917f
AM
138952012-05-02 Allan McRae <allan@archlinux.org>
13896
13897 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
13898 (LDFLAGS-reldepmod5.so): Likewise.
13899 (LDFLAGS-reldep6mod1.so): Likewise.
13900 (LDFLAGS-reldep6mod4.so): Likewise.
13901 (LDFLAGS-reldep8mod3.so): Likewise.
13902 (LDFLAGS-unload4mod1.so): Likewise.
13903 (LDFLAGS-unload4mod2.so): Likewise.
13904 (LDFLAGS-tst-initorder): Likewise.
13905 (LDFLAGS-tst-initordera2.so): Likewise.
13906 (LDFLAGS-tst-initordera3.so): Likewise.
13907 (LDFLAGS-tst-initordera4.so): Likewise.
13908 (LDFLAGS-tst-initorderb2.so): Likewise.
13909 (LDFLAGS-noload): Likewise.
13910 (LDFLAGS-next): Likewise.
13911 (LDFLAGS-order2mod1.so): Likewise.
13912 (LDFLAGS-order2mod2.so): Likewise.
13913 (LDFLAGS-tst-initorder2): Likewise.
13914 (LDFLAGS-tst-initorder2a.so): Likewise.
13915 (LDFLAGS-tst-initorder2b.so): Likewise.
13916 (LDFLAGS-tst-initorder2c.so): Likewise.
13917 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
13918
d77f993f
DM
139192012-05-02 David S. Miller <davem@davemloft.net>
13920
13921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13922
171a70b4
PP
139232012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
13924
13925 [BZ #14055]
13926 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
13927
0be196ad
AJ
139282012-05-02 Andreas Jaeger <aj@suse.de>
13929
13930 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
13931 since we manipulate rounding mode.
13932 (CPPFLAGS-test-idouble.c): Likewise.
13933 (CPPFLAGS-test-ifloat.c): Likewise.
13934 (CFLAGS-test-ldouble.c): Likewise.
13935 (CFLAGS-test-double.c): Likewise.
13936 (CFLAGS-test-float.c): Likewise.
13937 (CFLAGS-test-misc.c): Likewise.
13938 (CFLAGS-test-test-fenv.c): Likewise.
13939
4f9d04aa
AZ
139402012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13941
2b942cb7
RM
13942 [BZ #2550]
13943 [BZ #2570]
13944 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
13945 comparisons to determine direction to adjust input.
4f9d04aa 13946
82a79e7d
RM
139472012-05-01 Roland McGrath <roland@hack.frob.com>
13948
f5a01ca9
RM
13949 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
13950 output to the target.
13951
90fe4186
RM
13952 * scripts/localplt.awk: New file.
13953 * elf/Makefile ($(objpfx)check-localplt): Target removed.
13954 (check-localplt-CFLAGS): Variable removed.
13955 ($(all-built-dso:=.jmprel)): New static pattern rule.
13956 (generated): Add those targets.
13957 (localplt-built-dso): New variable.
13958 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
13959
13960 * elf/check-localplt.c: File removed.
13961
82397ed6
RM
13962 * scripts/check-execstack.awk: New file.
13963 * elf/Makefile ($(objpfx)check-execstack): Target removed.
13964 (check-execstack-CFLAGS): Variable removed.
13965 ($(objpfx)check-execstack.h): Target removed.
13966 ($(objpfx)execstack-default): New target.
13967 (generated): Add that instead of check-execstack.h.
13968 ($(all-built-dso:=.phdr)): New static pattern rule.
13969 (generated): Add those targets.
13970 * elf/check-execstack.c: File removed.
13971
82a79e7d
RM
13972 * scripts/check-textrel.awk: New file.
13973 * elf/Makefile ($(objpfx)check-textrel): Target removed.
13974 (check-textrel-CFLAGS): Variable removed.
13975 (all-built-dso): Use := to define.o
13976 ($(all-built-dso:=.dyn)): New static pattern rule.
13977 (generated): Add those targets.
13978 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
13979 * config.make.in (READELF): New substituted variable.
13980 * elf/check-textrel.c: File removed.
13981
62fde54f 139822012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 13983
615605c9
JM
13984 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
13985 allow.
13986 * conform/data/ctype.h-data [C99-based standards] (isblank):
13987 Expect function.
13988 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
13989 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
13990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
13991 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
13992 Specify type. Require positive value.
13993 (EILSEQ): Likewise.
13994 (ERANGE): Likewise.
13995 [ISO || POSIX] (EILSEQ): Do not expect.
13996 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
13997 Specify type. Require positive value.
13998 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
13999 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14000 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14001 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14002 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14003 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14004 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14005 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14006 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14007 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14008 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14009 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14010 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14011 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14012 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14013 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14014 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14015 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14016 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14017 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14018 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14019 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14020 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14021 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14022 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14023 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14024 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14025 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14026 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14027 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14028 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14029 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14030 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14031 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14032 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14033 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14034 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14035 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14036 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14037 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14038 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14039 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14040 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14041 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14042 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14043 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14044 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14045 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14046 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14047 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14048 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14049 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14050 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14051 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14052 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14053 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14054 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14055 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14056 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14057 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14058 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14059 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14060 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14061 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14062 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14063 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14064 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14065 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14066 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14067 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14068 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14069 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14070 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14071 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14072 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14073 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14074 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14075 Require >= 2.
14076 (FLT_ROUNDS): Expect as macro, not constant.
14077 (FLT_MANT_DIG): Use macro-int-constant.
14078 (DBL_MANT_DIG): Likewise.
14079 (LDBL_MANT_DIG): Likewise.
14080 (FLT_DIG): Likewise.
14081 (DBL_DIG): Likewise.
14082 (LDBL_DIG): Likewise.
14083 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14084 (DBL_MIN_EXP): Likewise.
14085 (LDBL_MIN_EXP): Likewise.
14086 (FLT_MAX_EXP): Use macro-int-constant.
14087 (DBL_MAX_EXP): Likewise.
14088 (LDBL_MAX_EXP): Likewise.
14089 (FLT_MAX_10_EXP): Likewise.
14090 (DBL_MAX_10_EXP): Likewise.
14091 (LDBL_MAX_10_EXP): Likewise.
14092 (FLT_MAX): Use macro-constant.
14093 (DBL_MAX): Likewise.
14094 (LDBL_MAX): Likewise.
14095 (FLT_EPSILON): Use macro-constant. Give upper bound.
14096 (DBL_EPSILON): Likewise.
14097 (LDBL_EPSILON): Likewise.
14098 (FLT_MIN): Likewise.
14099 (DBL_MIN): Likewise.
14100 (LDBL_MIN): Likewise.
14101 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14102 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14103 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14104 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14105 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14106 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14107 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14108 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14109 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14110 [ISO11] (FLT_TRUE_MIN): Likewise.
14111 [ISO11] (LDBL_TRUE_MIN): Likewise.
14112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14113 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14114 (SCHAR_MIN): Use macro-int-constant. Specify type.
14115 (SCHAR_MAX): Likewise.
14116 (UCHAR_MAX): Likewise.
14117 (CHAR_MIN): Likewise.
14118 (CHAR_MAX): Likewise.
14119 (MB_LEN_MAX): Use macro-int-constant.
14120 (SHRT_MIN): Use macro-int-constant. Specify type.
14121 (SHRT_MAX): Likewise.
14122 (USHRT_MAX): Likewise.
14123 (INT_MAX): Likewise.
14124 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14125 bound negative.
14126 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14127 bound with "U".
14128 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14129 bound with "L".
14130 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14131 bound negative. Suffix upper bound with "L".
14132 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14133 bound with "UL".
14134 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14135 Specify type.
14136 [C99-based standards] (LLONG_MAX): Likewise.
14137 [C99-based standards] (ULLONG_MAX): Likewise.
14138 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14139 == 0.
14140 [ISO11] (max_align_t): Require type.
14141 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14142
c9140a62
JM
14143 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14144 from $CFLAGS, without defining away __attribute__ calls.
14145 (checknamespace): Use $CFLAGS_namespace.
14146
9af0bf29
JM
14147 * conform/conformtest.pl (@keywords): Only include C99 keywords
14148 for standards based on C99 or C11.
14149
343222a2
JM
14150 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14151 Disable tests.
14152 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14153 UNIX98]: Likewise.
14154
661f8cf0
JM
14155 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14156 usability of symbols in #if.
14157
ee74b9cb
JM
14158 * conform/conformtest.pl: If macro or constant types start
14159 "promoted:", expect the symbol to be of the following type
14160 promoted by the integer promotions.
62fde54f 14161
aafc49b3
JM
14162 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14163 in one place. Also handle "macro-constant".
14164
fefdf574
JM
14165 * conform/conformtest.pl: Only accept expected macro values with
14166 "==". Parse all "macro" lines in one place.
14167 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14168
f2d922fe
JM
14169 * conform/conformtest.pl: Handle braced types on "constant" lines
14170 instead of handling "typed-constant".
14171 * conform/data/signal.h-data: Use "constant" instead of
14172 "typed-constant".
14173
d22956c9
JM
14174 * conform/conformtest.pl: Handle "optional-" at start of lines in
14175 one place rather than duplicating several cases. Handle each
14176 format of "macro" line with initial "optional-".
14177
028e2e38
JM
14178 * conform/conformtest.pl: Only accept expected constant or
14179 optional-constant values with "==". Parse all "constant" lines in
14180 one place. Parse all "optional-constant" lines in one place.
14181 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14182 * conform/data/fmtmsg.h-data: Likewise.
14183 * conform/data/netinet/in.h-data: Likewise.
14184 * conform/data/tar.h-data: Likewise.
14185 * conform/data/limits.h-data: Use "==" form on "constant" and
14186 "optional-constant" lines.
14187
1b8f2850
JM
14188 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14189 Use -std=c99 for XOPEN2K.
14190 (@knownproblems): Remove.
14191 (newtoken): Don't check %isknown.
14192
a05a144b
JM
14193 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14194 Do not expect macro.
14195 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14196 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14197 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14198 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14199 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14200 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14201 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14202 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14203 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14204 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14205 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14206 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14207 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14208 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14209 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14210 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14211 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14212 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14213 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14214 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14215 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14217 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14218 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14219 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14220 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14221 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14222 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14223 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14224 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14225 [XPG3] (acosh): Likewise.
14226 [XPG3] (asinh): Likewise.
14227 [XPG3] (atanh): Likewise.
14228 [XPG3] (cbrt): Likewise.
14229 [XPG3] (expm1): Likewise.
14230 [XPG3] (ilogb): Likewise.
14231 [XPG3] (log1p): Likewise.
14232 [XPG3] (logb): Likewise.
14233 [XPG3] (nextafter): Likewise.
14234 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14235 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14236 [XPG3] (remainder): Likewise.
14237 [XPG3] (rint): Likewise.
14238 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14239 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14241 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14242 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14243 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14244 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14245 [UNIX98 || XOPEN2K] (scalb): Expect.
14246 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14247 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14248 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14249 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14250 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14251 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14252 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14253 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14254 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14255 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14256 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14258 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14259 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14260 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14261 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14262 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14263 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14264 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14265 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14267 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14268 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14269 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14270 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14271 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14272 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14273 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14274 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14275 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14276 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14277 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14278 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14279 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14280 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14281 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14282 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14283 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14284 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14285 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14286 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14287 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14288 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14289 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14290 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14291 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14292 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14293 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14295 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14296 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14297 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14298 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14299 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14300 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14301 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14302 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14304 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14305 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14306 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14307 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14308 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14309 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14310 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14311 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14312 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14313 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14314 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14315 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14316 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14317 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14318 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14319 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14320 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14321 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14322 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14323 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14324 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14325 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14326 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14327 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14328 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14329 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14330 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14331 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14332 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14333 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14334 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14335 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14336 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14337 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14338 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14339 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14340 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14341 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14342 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14343 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14344 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14345 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14346 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14347 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14348 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14349 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14350 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14351 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14352 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14353 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14354 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14355 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14356 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14357 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
14358 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
14359 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
14360 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
14361 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
14362 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
14363 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
14364 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
14365 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
14366 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
14367 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
14368 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
14369 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
14370 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
14371 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
14372 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
14373 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
14374 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
14375 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
14376 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
14377 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
14378 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
14379 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
14380 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
14381 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
14382 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
14383
73c5ebe3
JM
14384 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
14385 _XOPEN_SOURCE_EXTENDED for XPG4.
14386
39c33b6c
JM
14387 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
14388
62fde54f
JM
14389 * Makeconfig (localtime): Remove variable.
14390 (inst_localtime-file): Likewise.
14391
0741d64c
AS
143922012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14393
14394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14395 Update.
14396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14397 Update.
14398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14399 Update.
14400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14401 Update.
14402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14403 Update.
14404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
14405 Update.
14406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14407 Update.
14408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
14409 Update.
14410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14411 Update.
14412
7cb029ee
JM
144132012-05-01 Joseph Myers <joseph@codesourcery.com>
14414
14415 [BZ #2550]
14416 [BZ #2570]
14417 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
14418 comparisons to determine direction to adjust input.
14419 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
14420 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
14421 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
14422 Likewise.
14423 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
14424 Likewise.
14425 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14426 Likewise.
14427 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
14428 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
14429 Likewise.
14430 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
14431 Likewise.
14432 * math/libm-test.inc (nexttoward_test): Add more tests.
14433
412bd966
AS
144342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
14435
14436 [BZ #14040]
14437 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
14438 in version GLIBC_2.1, not GLIBC_2.0.
14439 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
14440 Likewise.
14441
9568c0c2
JM
144422012-04-30 Joseph Myers <joseph@codesourcery.com>
14443
adfbc8ac
JM
14444 [BZ #13942]
14445 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
14446 (1 - x) * (1 + x).
14447 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14448 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
14449 * math/libm-test.inc (acos_test): Add more tests.
14450 (asin_test): Likewise.
14451 * sysdeps/i386/fpu/libm-test-ulps: Update.
14452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14453
5ba3cc69
JM
14454 [BZ #14034]
14455 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
14456 of square root.
14457 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
14458 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
14459 * math/libm-test.inc (acos_test_tonearest): New function.
14460 (acos_test_towardzero): Likewise.
14461 (acos_test_downward): Likewise.
14462 (acos_test_upward): Likewise.
14463 (asin_test_tonearest): Likewise.
14464 (asin_test_towardzero): Likewise.
14465 (asin_test_downward): Likewise.
14466 (asin_test_upward): Likewise.
14467 (main): Call the new functions.
14468 * sysdeps/i386/fpu/libm-test-ulps: Update.
14469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14470
9568c0c2
JM
14471 [BZ #13884]
14472 [BZ #13924]
14473 * math/e_exp10.c: Include <float.h>.
14474 (__ieee754_exp10): Handle underflow here rather than multiplying
14475 large negative argument by M_LN10.
14476 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
14477 of __ieee754_expf.
14478 * math/e_exp10l.c: Include <float.h>.
14479 (__ieee754_exp10l): Handle underflow here rather than multiplying
14480 large negative argument by M_LN10l.
14481 * math/libm-test.inc (exp10_test): Add another test. Do not allow
14482 spurious overflow exception on underflow.
14483
5ac3ea17
MP
144842012-04-29 Marek Polacek <polacek@redhat.com>
14485
14486 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
14487 (__fortify_function): New macro.
14488 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
14489 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
14490 __extern_always_inline.
14491 * libio/bits/stdio2.h: Likewise.
14492 * libio/bits/stdio.h: Likewise.
14493 * string/string.h: Likewise.
14494 * string/bits/string3.h: Likewise.
14495 * include/stdio.h: Likewise.
14496 * stdlib/bits/stdlib.h: Likewise.
14497 * stdlib/stdlib.h: Likewise.
14498 * rt/bits/mqueue2.h: Likewise.
14499 * rt/mqueue.h: Likewise.
14500 * posix/bits/unistd.h: Likewise.
14501 * posix/unistd.h: Likewise.
14502 * io/bits/poll2.h: Likewise.
14503 * io/bits/fcntl2.h: Likewise.
14504 * io/fcntl.h: Likewise.
14505 * io/sys/poll.h: Likewise.
14506 * misc/bits/syslog.h: Likewise.
14507 * misc/bits/syslog-ldbl.h: Likewise.
14508 * misc/sys/syslog.h: Likewise.
14509 * socket/bits/socket2.h: Likewise.
14510 * socket/sys/socket.h: Likewise.
14511 * debug/tst-chk1.c: Likewise.
14512 * wcsmbs/bits/wchar2.h: Likewise.
14513 * wcsmbs/bits/wchar-ldbl.h: Likewise.
14514 * wcsmbs/wchar.h: Likewise.
14515
ecf0ebfb
AJ
145162012-04-29 Andreas Jaeger <aj@suse.de>
14517
14518 * Makerules (tests): Remove enable-check-abi protection.
14519 (check-abi-warn): Remove.
14520 (check-abi-%): Remove check-abi-warn usage.
14521
14522 * configure.in: Remove check-abi configure option.
14523 * configure: Regenerated.
14524 * config.make.in (enable-check-abi): Remove.
14525
6d5c57fa
AS
145262012-04-28 Andreas Schwab <schwab@linux-m68k.org>
14527
24c5d07e 14528 [BZ #14033]
ded5180a
AS
14529 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
14530 double functions to double *_finite functions.
14531
7e0d315d
AS
14532 [BZ #13941]
14533 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
14534 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
14535 LDBL_MIN_EXP.
14536 * stdio-common/Makefile (tests): Add tst-sprintf3.
14537 * stdio-common/tst-sprintf3.c: New file.
14538
6d5c57fa
AS
14539 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
14540 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
14541
0749ff8b
JM
145422012-04-28 Joseph Myers <joseph@codesourcery.com>
14543
14544 * conform/conformtest.pl: Remove duplicate typed-constant
14545 handling.
14546
8dbd5d7b
DM
145472012-04-28 David S. Miller <davem@davemloft.net>
14548
14549 * Makerules (%.abilist): Add vpath on sysdep_dirs.
14550 (check-abi-%): Remove AWK script prerequisite and explicit
14551 abilist directory.
14552 (check-abi): Rewrite to just diff the symlist with the abilist.
14553 (config-tls, config-abi-config): Delete, no longer used.
14554 (update-abi-%): Remove AWK script and explicit abilist directory.
14555 (update-abi): Rewrite to simply compare and conditionally copy the
14556 symlist and the sysdep abilist file. Remove update-abi-config
14557 checks.
14558 * abilist/ld.abilist: Remove.
14559 * abilist/libBrokenLocale.abilist: Remove.
14560 * abilist/libanl.abilist: Remove.
14561 * abilist/libcrypt.abilist: Remove.
14562 * abilist/libdl.abilist: Remove.
14563 * abilist/librt.abilist: Remove.
14564 * abilist/libthread_db.abilist: Remove.
14565 * abilist/libutil.abilist: Remove.
14566 * scripts/extract-abilist.awk: Remove.
14567 * scripts/merge-abilist.awk: Remove.
14568 * sysdeps/generic/libcidn.abilist: New file.
14569 * sysdeps/generic/libnss_compat.abilist: New file.
14570 * sysdeps/generic/libnss_db.abilist: New file.
14571 * sysdeps/generic/libnss_dns.abilist: New file.
14572 * sysdeps/generic/libnss_files.abilist: New file.
14573 * sysdeps/generic/libnss_hesiod.abilist: New file.
14574 * sysdeps/generic/libnss_nis.abilist: New file.
14575 * sysdeps/generic/libnss_nisplus.abilist: New file.
14576 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
14577 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
14578 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
14579 file.
14580 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
14581 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
14582 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
14583 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
14584 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
14585 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
14586 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
14587 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
14588 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
14589 file.
14590 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
14591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
14592 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
14593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
14594 file.
14595 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
14596 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
14597 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
14598 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
14599 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
14600 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
14601 file.
14602 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
14603 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
14604 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
14605 file.
14606 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
14607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
14608 New file.
14609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
14610 New file.
14611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
14612 New file.
14613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
14614 New file.
14615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
14616 New file.
14617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
14618 New file.
14619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
14620 New file.
14621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
14622 New file.
14623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
14624 New file.
14625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
14626 New file.
14627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
14628 New file.
14629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
14630 New file.
14631 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
14632 New file.
14633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
14634 file.
14635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
14636 New file.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14638 New file.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
14640 file.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
14642 New file.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
14644 New file.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
14646 file.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14648 New file.
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14650 New file.
14651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14652 New file.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14654 New file.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14656 New file.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14658 New file.
14659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
14660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
14661 file.
14662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14663 New file.
14664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
14665 file.
14666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
14667 file.
14668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
14669 file.
14670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
14671 file.
14672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
14673 file.
14674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14675 New file.
14676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
14677 file.
14678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
14679 file.
14680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14681 New file.
14682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
14683 file.
14684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
14685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
14686 file.
14687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14688 New file.
14689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
14690 file.
14691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
14692 file.
14693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
14694 file.
14695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
14696 file.
14697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
14698 file.
14699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14700 New file.
14701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
14702 file.
14703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
14704 file.
14705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14706 New file.
14707 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
14708 file.
14709 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
14710 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
14711 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
14712 file.
14713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
14714 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
14715 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
14716 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
14717 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
14718 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
14719 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
14720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
14721 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
14722 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
14723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
14724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
14725 file.
14726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14727 New file.
14728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
14729 file.
14730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
14731 file.
14732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
14733 file.
14734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
14735 file.
14736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
14737 file.
14738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14739 New file.
14740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14741 New file.
14742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
14743 file.
14744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14745 New file.
14746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
14747 file.
14748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
14749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
14750 file.
14751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14752 New file.
14753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
14754 file.
14755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
14756 file.
14757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
14758 file.
14759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
14760 file.
14761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
14762 file.
14763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14764 New file.
14765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14766 New file.
14767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
14768 file.
14769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14770 New file.
14771 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
14772 file.
14773
41d73a1b
JM
147742012-04-28 Joseph Myers <joseph@codesourcery.com>
14775
14776 * conform/conformtest.pl: Fix typo in handling typed-constant from
14777 allow-header.
14778
28aeeda4
JM
147792012-04-27 Joseph Myers <joseph@codesourcery.com>
14780
adae8f5e
JM
14781 * README: Cut down references to pre-2.6 Linux kernels and
14782 Linuxthreads. Update lists of configurations in libc and ports
14783 and sort alphabetically. Say "or newer" with Linux kernel version
14784 requirements.
14785
28aeeda4
JM
14786 * config.h.in [IS_IN_build]: Allow compiling without optimization.
14787
a462cb63
RA
147882012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14789
14790 [BZ #887]
14791 * math/libm-test.inc (logb_test_downward): New test to expose
14792 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
14793 rounding mode.
14794
6ad3493e
JM
147952012-04-27 Joseph Myers <joseph@codesourcery.com>
14796
14797 [BZ #14027]
14798 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
14799 to be done.
14800 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
14801 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
14802
2ce4f015
JM
148032012-04-26 Joseph Myers <joseph@codesourcery.com>
14804
5aeb141a
JM
14805 * sysdeps/unix/i386/brk.S: Remove file.
14806 * sysdeps/unix/i386/dl-brk.S: Likewise.
14807 * sysdeps/unix/i386/pipe.S: Likewise.
14808 * sysdeps/unix/i386/sigreturn.S: Likewise.
14809 * sysdeps/unix/i386/syscall.S: Likewise.
14810 * sysdeps/unix/i386/vfork.S: Likewise.
14811 * sysdeps/unix/i386/wait.S: Likewise.
14812
7143acae
JM
14813 * sysdeps/unix/common/tcsendbrk.c: Move to ...
14814 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
14815
2ce4f015
JM
14816 * configure.in (arm*-none*): Do not allow without
14817 --enable-hacker-mode.
14818 (netbsd*): Remove case setting base_os.
14819 (386bsd*): Likewise.
14820 (freebsd*): Likewise.
14821 (bsdi*): Likewise.
14822 (osf*): Likewise.
14823 (sunos*): Likewise.
14824 (ultrix*): Likewise.
14825 (newsos*): Likewise.
14826 (dynix*): Likewise.
14827 (*bsd*): Likewise.
14828 (sysv*): Likewise.
14829 (isc*): Likewise.
14830 (esix*): Likewise.
14831 (sco*): Likewise.
14832 (minix*): Likewise.
14833 (irix4*): Likewise.
14834 (irix6*): Likewise.
14835 (solaris[2-9]*): Likewise.
14836 (none): Likewise.
14837 * configure: Regenerated.
14838
0ac229c8
AZ
148392012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14840
14841 [BZ #11521]
14842 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
14843 overflow or cancellation in calculating denominator.
14844 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
14845 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
14846 down expression to avoid unexpected rounding in newer GCCs.
14847 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
14848
33f244f4
DM
148492012-04-26 David S. Miller <davem@davemloft.net>
14850
14851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
14852 long-double compat symbols.
14853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
14854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
14855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
14856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
14857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
14858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
14859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
14860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
14861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
14862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
14864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
14865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
14866
cfa1f3e8
DM
148672012-04-25 David S. Miller <davem@davemloft.net>
14868
14869 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
14870 HWCAP_* values only after the memory barriers have been defined.
14871 (atomic_full_barrier): Define.
14872 (atomic_read_barrier): Define.
14873 (atomic_write_barrier): Define.
14874
6e236b92
SP
148752012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14876
14877 * shlib-versions: Add libgcc_s version information.
14878 * sysdeps/generic/libgcc_s.h: Remove.
14879 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
14880 libgcc_s.h.
14881 * sysdeps/gnu/unwind-resume.c: Likewise.
14882 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
14883
aab39a09
DM
148842012-04-25 David S. Miller <davem@davemloft.net>
14885
14886 * sysdeps/unix/sparc/brk.S: Delete.
14887 * sysdeps/unix/sparc/dl-brk.S: Delete.
14888 * sysdeps/unix/sparc/pipe.S: Delete.
14889 * sysdeps/unix/sparc/sysdep.S: Delete.
14890 * sysdeps/unix/sparc/sysdep.h: Delete.
14891 * sysdeps/unix/sparc/vfork.S: Delete.
14892 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
14893 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
14894 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
14895 ret_ERRVAL, r0, r1, MOVE): Define.
14896 (JUMPTARGET): Remove.
14897 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
14898 sysdeps/unix/sparc/sysdep.h
14899 (ENTRY, END): Remove.
14900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14901
a3cc4f48
JM
149022012-04-25 Joseph Myers <joseph@codesourcery.com>
14903
2ed8cda2
JM
14904 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
14905 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
14906 -DIS_IN_build.
14907
35d76d59
JM
14908 * timezone/README: Update upstream location and email address for
14909 tzcode and tzdata.
14910 * timezone/zdump.c: Update from tzcode 2012b.
14911 * timezone/zic.c: Likewise.
14912
a3cc4f48
JM
14913 * configure.in (libc_cv_as_needed): Remove test.
14914 * configure: Regenerated.
14915 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
14916 conditional definition.
14917 [$(have-as-needed) != yes] (no-as-needed): Likewise.
14918 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
14919 * config.make.in (have-as-needed): Remove variable.
14920
ceab42c3
SP
149212012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14922 Paul Pluzhnikov <ppluzhnikov@google.com>
14923
14924 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
14925 strings correctly.
14926
3ce2865f
CLT
149272012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
14928
14929 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
14930 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
14931 * sysdeps/sh/strlen.S: Likewise.
14932
f37e0d68
JM
149332012-04-24 Joseph Myers <joseph@codesourcery.com>
14934
ae186e9a
JM
14935 * sysdeps/unix/fork.S: Remove file.
14936 * sysdeps/unix/i386/fork.S: Likewise.
14937 * sysdeps/unix/sparc/fork.S: Likewise.
14938
b96914af
JM
14939 * sysdeps/unix/system.c: Remove file.
14940 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
14941
f37e0d68
JM
14942 * sysdeps/unix/getegid.S: Remove file.
14943 * sysdeps/unix/geteuid.S: Likewise.
14944
87ef29ca
RM
149452012-04-24 Roland McGrath <roland@hack.frob.com>
14946
83bcd236
RM
14947 * scripts/check-localplt.awk: New file.
14948 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
14949 of diff.
14950 * scripts/data/localplt-generic.data: Add a comment.
14951
87ef29ca
RM
14952 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
14953 NODE when __dir_mkfile failed.
14954 * sysdeps/mach/hurd/symlinkat.c: Likewise.
14955 Reported by Ludovic Courtès <ludo@gnu.org>.
14956
e5a6e567
AJ
149572012-04-24 Andreas Jaeger <aj@suse.de>
14958
14959 * Makerules (common-clean): Also remove gen-as-const-headers
14960 files.
14961
c1820385
JM
149622012-04-24 Joseph Myers <joseph@codesourcery.com>
14963
14964 * Makerules (native-compile): Do not change working directory for
14965 build. Use $(OUTPUT_OPTION) in command.
14966 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
14967
94e02fc4
AZ
149682012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14969
14970 [BZ #13886]
14971 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
14972 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
14973 * math/libm-test.inc (floor_test): Add more tests.
14974 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
14975
3a533ca3
JM
149762012-04-24 Joseph Myers <joseph@codesourcery.com>
14977
940ab4b3
JM
14978 * sysdeps/unix/getdents.c: Remove file.
14979 * sysdeps/unix/sysv/getdents.c: Likewise.
14980 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
14981
90e037bd
JM
14982 * sysdeps/unix/syscalls.list (madvise): Add syscall from
14983 sysdeps/unix/mman/syscalls.list.
14984 (mmap): Likewise.
14985 (mprotect): Likewise.
14986 (msync): Likewise.
14987 (munmap): Likewise.
14988 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
14989 * sysdeps/unix/mman/syscalls.list: Remove.
14990 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
14991
3a533ca3
JM
14992 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
14993 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
14994 * configure: Regenerated.
14995 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
14996 $(libgcc_s_suffix).
14997 * config.make.in (libgcc_s_suffix): Remove variable.
14998
1ad743de
JM
149992012-04-23 Joseph Myers <joseph@codesourcery.com>
15000
4ad451e2
JM
15001 * sysdeps/unix/sysv/gethostname.c: Move to ...
15002 * sysdeps/posix/gethostname.c: ... here.
15003
5e37ce39
JM
15004 * sysdeps/unix/execve.S: Remove file.
15005
1ad743de
JM
15006 * sysdeps/unix/_exit.S: Remove file.
15007
4e681b5b
AJ
150082012-04-23 Andreas Jaeger <aj@suse.de>
15009
15010 [BZ #13739]
15011 * manual/Makefile: Remove make dist support, there's no
15012 need for a stand-alone documentation tar ball.
15013 (TEXI2DVI): Define always, it's not in Makeconfig.
15014 (dist): Removed.
15015 (tar-it): Removed.
15016 (edition): Removed.
15017 (glibc-doc-$(edition).tar): Removed
15018 (%.Z): Removed.
15019 (%.gz): Removed.
15020 (%.uu): Removed.
15021 (ETAGS): Remove, it's in Makeconfig.
15022 (move-if-change): Remove, it's in Makeconfig.
15023
38686a03 150242012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15025
15026 [BZ #13970]
15027 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15028 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15029 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15030 (strtod_l, strtof_l, strtold_l): Remove __wur.
15031 It is not necessarily an error to ignore strtol's return value.
15032 One can reliably look at the stored endptr to decide whether
15033 the number had valid syntax.
15034
7c0616fa
AJ
150352012-04-21 Andreas Jaeger <aj@suse.de>
15036
803cb6b7 15037 [BZ #13739]
7c0616fa
AJ
15038 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15039
b0fe253f
JM
150402012-04-21 Joseph Myers <joseph@codesourcery.com>
15041
15042 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15043 * sysdeps/unix/sysv/Versions: Remove file.
15044
8280f22d
MT
150452012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15046
15047 [BZ #13927]
15048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15049
75ce411f 150502012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15051
15052 [BZ #7064]
15053 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15054 version from __vm86.
15055
097d59fa
JM
150562012-04-20 Joseph Myers <joseph@codesourcery.com>
15057
a90f3bcb
JM
15058 * sysdeps/unix/common/lxstat.c: Remove file.
15059 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15060
edc7ea78
JM
15061 * sysdeps/unix/sysv/Makefile: Remove file.
15062
cb78c221
JM
15063 * sysdeps/unix/sysv/direct.h: Remove file.
15064
efa6a45f
JM
15065 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15066 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15067 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15068 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15069 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15070 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15071 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15072
9c9f2d0c
JM
15073 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15074
4541c83b
JM
15075 * sysdeps/unix/xmknod.c: Remove file.
15076 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15077
f5d153a0
JM
15078 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15079
aa746595
JM
15080 * sysdeps/unix/sysv/i386/time.S: Remove file.
15081
cce5905e
JM
15082 * sysdeps/unix/fxstat.c: Remove file.
15083 * sysdeps/unix/xstat.c: Likewise.
15084 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15085
37fa3841
JM
15086 * sysdeps/unix/sysv/sigaction.c: Remove file.
15087
ff1962a3
JM
15088 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15089 (sysdep_headers): Remove variable.
15090 [termio.h not in sysdep_headers] (generated): Likewise.
15091 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15092 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15093 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15094 * sysdeps/unix/sysv/tcflow.c: Likewise.
15095 * sysdeps/unix/sysv/tcflush.c: Likewise.
15096 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15097 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15098 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15099 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15100 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15101
e7740d31
JM
15102 * sysdeps/unix/siglist.c: Remove file.
15103
ee06f18b
JM
15104 * sysdeps/unix/getppid.S: Remove file.
15105
097d59fa
JM
15106 * sysdeps/unix/mkdir.c: Remove file.
15107 * sysdeps/unix/rmdir.c: Likewise.
15108
ff3d51ec
AS
151092012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15110
15111 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15112 ERR_MAX value.
15113 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15114 errlist-compat value.
15115
50f81fd7
DM
151162012-04-18 David S. Miller <davem@davemloft.net>
15117
15118 * sysdeps/generic/memcopy.h (reg_char): Delete.
15119 * debug/strcat_chk.c: Use char, not reg_char.
15120 * debug/strcpy_chk.c: Likewise.
15121 * debug/strncat_chk.c: Likewise.
15122 * debug/strncpy_chk.c: Likewise.
15123 * string/memchr.c: Likewise.
15124 * string/memrchr.c: Likewise.
15125 * string/rawmemchr.c: Likewise.
15126 * string/strcat.c: Likewise.
15127 * string/strchr.c: Likewise.
15128 * string/strchrnul.c: Likewise.
15129 * string/strcmp.c: Likewise.
15130 * string/strcpy.c: Likewise.
15131 * string/strncat.c: Likewise.
15132 * string/strncmp.c: Likewise.
15133 * string/strncpy.c: Likewise.
15134
8ff41c46
WS
151352012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15136
15137 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15138 __builtin_memcopy is called when src and dest ranges are known to not
15139 overlap.
15140
6b652f46
WS
151412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15142
15143 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15144 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15145 fwd_align_merge macro call.
15146 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15147 bwd_align_merge macro call.
15148 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15149
b282631e
WS
151502012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15151
15152 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15153 bwd_align_merge macros.
15154 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15155 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15156 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15157
95aa737c
DM
151582012-04-18 David S. Miller <davem@davemloft.net>
15159
15160 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15161
7a99a614
AJ
151622012-04-18 Andreas Jaeger <aj@suse.de>
15163
15164 [BZ# 6794]
15165 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15166 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15167 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15168
15169 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15170 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15171 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15172
15173 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15174 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15175 Adjust for changed ldbl-128 files.
15176
15177 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15178 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15179 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15180
e5270c23
DM
151812012-04-17 David S. Miller <davem@davemloft.net>
15182
15183 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15184
fb5e92c9
AS
151852012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15186
15187 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15188 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15189 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15190 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15191 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15192 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15193
76da7265
AZ
151942012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15195
15196 [BZ #6794]
15197 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15198 * math/libm-test.inc: Add ilogb errno and exception tests.
15199 * math/w_ilogb.c: New file: ilogb wrapper.
15200 * math/w_ilogbf.c: New file: ilogbf wrapper.
15201 * math/w_ilogbl.c: New file: ilogbl wrapper.
15202 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15203 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15204 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15205 exception being thrown with 0.0 as argument.
15206 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15207 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15208 exception being thrown with 0.0 as argument.
15209 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15210 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15211 exception being thrown with 0.0 as argument.
15212 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15213 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15214 exception being thrown with 0.0 as argument.
15215 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15216 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15217 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15218 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15219 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15220 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15221 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15222 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15223 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15224
0396e69d
PB
152252012-04-17 Petr Baudis <pasky@ucw.cz>
15226
15227 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15228 with altivec.
15229
750b5926
MP
152302012-04-16 Marek Polacek <polacek@redhat.com>
15231
15232 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15233
751728a1
MP
152342012-04-16 Marek Polacek <polacek@redhat.com>
15235
15236 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15237 operands of fdivp instruction.
15238
34a27407
L
152392012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15240
15241 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15242 * elf/tst-auditmod3b.c: Likewise.
15243 * elf/tst-auditmod4b.c: Likewise.
15244 * elf/tst-auditmod5b.c: Likewise.
15245 * elf/tst-auditmod6b.c: Likewise.
15246 * elf/tst-auditmod6c.c: Likewise.
15247 * elf/tst-auditmod7b.c: Likewise.
15248 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15249 * sysdeps/x86_64/preconfigure.in: Likewise.
15250 * sysdeps/x86_64/preconfigure: Regenerated.
15251
7e73e17d
L
152522012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15253
15254 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15255 __ILP32__.
15256
c7a6ab72
AB
152572012-04-13 Antoine Balestrat <merkil33@gmail.com>
15258
15259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15260 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15261
a9e8e0e0
CL
152622012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15263
15264 [BZ #13973]
15265 * locale/iso-639.def: Fix gl language name. Spotted by
15266 Yaron Shahrabani.
15267
ec98af7d
RM
152682012-04-12 Roland McGrath <roland@hack.frob.com>
15269
15270 [BZ #2074]
15271 * libio/libio.h (__io_write_fn): Update comment.
15272
247c3ede
PB
152732012-04-12 Petr Baudis <pasky@ucw.cz>
15274
15275 [BZ #2074]
15276 * stdio.texi (Hook Functions): The user provided writer function
15277 is not allowed to return -1.
15278
55939d6d
DM
152792012-04-11 David S. Miller <davem@davemloft.net>
15280
15281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15282
90020f5a
MF
152832012-04-11 Mike Frysinger <vapier@gentoo.org>
15284
15285 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15286 Add a leading slash to rtkaio.
15287
288f9098
JM
152882012-04-11 Jim Meyering <meyering@redhat.com>
15289
90020f5a
MF
15290 [BZ #11959]
15291 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15292 It is not necessarily an error to ignore fwrite's return
15293 value. One can reliably use ferror to test for errors after
15294 the fact.
288f9098 15295
4be2b570
L
152962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15297
15298 * bits/types.h (__snseconds_t): New type.
15299 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15300
15301 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15302 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15303 (__SNSECONDS_T_TYPE): Likewise.
15304 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15305 (__SNSECONDS_T_TYPE): Likewise.
15306 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15307 (__SNSECONDS_T_TYPE): Likewise.
15308
288f9098 153092012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15310
15311 [BZ #2636]
15312 * manual/time.texi (Processor Time): Return type of times is
15313 elapsed real time since an arbitrary point in the past.
15314 (CPU Time): Move CLK_TCK from here...
15315 (Processor Time): ...to here. Correct description.
15316 * manual/conf.texi (Constants for Sysconf): Correct description of
15317 _SC_CLK_TCK.
15318
d7dd4413
DM
153192012-04-10 David S. Miller <davem@davemloft.net>
15320
15321 [BZ #13967]
15322 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15323 where the is a gap between DT_REL(A) and DT_JMPREL.
15324
b46068fc
L
153252012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15326
15327 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15328 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15329 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15330
73d65cc3
SP
153312012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15332
15333 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15334 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15335 (dl_main): Handle --inhibit-cache.
15336 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15337 _dl_inhibit_cache.
15338 * elf/dl-load.c (_dl_map_object): Use it.
15339 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15340
bcc8d661
JM
153412012-04-09 Joseph Myers <joseph@codesourcery.com>
15342
8f9a2fae
JM
15343 [BZ #13872]
15344 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15345 (__ieee754_powl): Saturate large exponents rather than testing for
15346 overflow of y*log2(x).
15347 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15348 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15349 exceptions.
15350
bcc8d661
JM
15351 [BZ #11521]
15352 * math/s_ctan.c: Include <float.h>.
15353 (__ctan): Avoid internal overflow or cancellation in calculating
15354 denominator.
15355 * math/s_ctanf.c: Likewise.
15356 * math/s_ctanl.c: Likewise.
15357 * math/s_ctanh.c: Likewise.
15358 * math/s_ctanhf.c: Likewise.
15359 * math/s_ctanhl.c: Likewise.
15360 * math/libm-test.inc (ctan_test): Add more tests.
15361 (ctanh_test): Likewise.
15362 * sysdeps/i386/fpu/libm-test-ulps: Update.
15363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15364
823fbbb4
AJ
153652012-04-09 Andreas Jaeger <aj@suse.de>
15366
03879793
AJ
15367 [BZ #6894]
15368 * manual/filesys.texi (Directory Entries): Mention that d_namlen
15369 is an optional BSD extension.
15370
823fbbb4
AJ
15371 [BZ #10254]
15372 * manual/stdio.texi (Opening Streams): Document additional fopen
15373 parameters.
15374
8de131cb
RM
153752012-04-09 Roland McGrath <roland@hack.frob.com>
15376
15377 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
15378 %eax without telling the compiler.
15379
c0ed9d7d
CD
153802012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
15381
15382 [BZ # 13963]
15383 * manual/install.texi: Use sourceware.org.
15384
c483f6b4
JM
153852012-04-09 Joseph Myers <joseph@codesourcery.com>
15386
d7dd9453
JM
15387 [BZ #13873]
15388 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
15389 (__ieee754_pow): Generate overflow and underflow using huge*huge
15390 and tiny*tiny rather than just returning constant infinity or zero
15391 for large exponents.
15392 * math/libm-test.inc (pow_test): Require overflow exceptions for
15393 applicable cases of large exponents.
15394
c483f6b4
JM
15395 [BZ #706]
15396 * sysdeps/i386/fpu/e_pow.S (p10): New object.
15397 (__ieee754_pow): Use iterative multiplication algorithm only for
15398 integer exponents with absolute value below 1024. Check for odd
15399 integer exponents when using algorithm for real exponents.
15400 * math/libm-test.inc (pow_test): Add more tests.
15401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15402
d2de7579
JM
154032012-04-08 Joseph Myers <joseph@codesourcery.com>
15404
15405 [BZ #13705]
15406 * math/libm-test.inc (exp_test): Do not allow overflow exception
15407 on underflow test.
15408
f77f1232
AJ
154092012-04-08 Aurelien Jarno <aurelien@aurel32.net>
15410
15411 [BZ #13705]
15412 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
15413 instead of __kernel_standard_f.
15414
3884932b
MF
154152012-04-08 Mike Frysinger <vapier@gentoo.org>
15416
15417 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
15418 * sysdeps/x86_64/memset_chk.S: Likewise.
15419
54472e9c
AJ
154202012-04-08 Andreas Jaeger <aj@suse.de>
15421
6ab0fbfc
AJ
15422 [BZ #10153]
15423 * manual/startup.texi (Environment Access): Describe return value
15424 for putenv and setenv.
15425
61efba8c
AJ
15426 [BZ #6895]
15427 * manual/filesys.texi (Directory Entries): Add description for
15428 DT_LNK.
15429
95c3f29a
AJ
15430 [BZ #6890]
15431 * manual/filesys.texi (Directory Entries): Clarify that it's file
15432 system not operating system in the description of DT_UNKNOWN.
15433
54472e9c
AJ
15434 [BZ #6578]
15435 * manual/syslog.texi (closelog): Fix reference, it's openlog.
15436
624254b1
SC
154372012-04-08 Stephen Compall <s11@member.fsf.org>
15438
15439 [BZ #6649]
15440 * manual/llio.texi (Opening and Closing Files): Add cross
15441 reference to explain mode argument.
15442
1e4920e0
MF
154432012-04-07 Mike Frysinger <vapier@gentoo.org>
15444
15445 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
15446 * sysdeps/x86_64/memset_chk.S: Likewise.
15447
5ed848f3
DM
154482012-04-07 David S. Miller <davem@davemloft.net>
15449
15450 * elf/elf.h (R_SPARC_WDISP10): Define.
15451 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
15452 R_SPARC_SIZE32.
15453 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
15454 R_SPARC_SIZE64 and R_SPARC_H34.
15455
96154cd8
CD
154562012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
15457
15458 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
15459 conditions and remove no longer applicable assertion.
15460
9904dc47
L
154612012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15462
15463 * bits/byteswap.h: Include <features.h>.
15464 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15465 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15466
f8887d0a
L
154672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
15468
15469 * bits/byteswap.h (__bswap_16): Removed.
15470 Include <bits/byteswap-16.h> to get __bswap_16.
15471 * sysdeps/i386/bits/byteswap.h: Likewise.
15472 * sysdeps/s390/bits/byteswap.h: Likewise.
15473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15474 * bits/byteswap-16.h: New file.
15475 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15476 * sysdeps/s390/bits/byteswap-16.h: Likewise.
15477 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
15478 * string/Makefile (headers): Add bits/byteswap-16.h.
15479
62470f60
PP
154802012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15481
15482 [BZ #13895]
15483 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
15484 extra indirection.
15485 * nss/Makefile (tests-static, tests): Add tst-nss-static.
15486 * nss/tst-nss-static.c: New.
15487
4dad7bab
RM
154882012-04-06 Robert Millan <rmh@gnu.org>
15489
15490 [BZ #6486]
15491 * manual/llio.texi (File Position Primitive): lseek
15492 refers to WHENCE when it really means OFFSET.
15493
e9142a17
AJ
154942012-04-06 Andreas Jaeger <aj@suse.de>
15495
2c040eff
AJ
15496 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
15497 strncmp declarations.
15498
e9142a17
AJ
15499 * abilist/libc.abilist: Add __poll and __ppoll.
15500
ff9f1c5f
DM
155012012-04-05 David S. Miller <davem@davemloft.net>
15502
dcd2ae90
DM
15503 * scripts/check-local-headers.sh: Accept a host triplet in the
15504 path matched by the exclude regexp.
15505
993eb054
DM
15506 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
15507 definition.
15508 * sysdeps/powerpc/powerpc32/dl-machine.h
15509 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
15510 * sysdeps/s390/s390-32/dl-machine.h
15511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15512 * sysdeps/sparc/sparc32/dl-machine.h
15513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15514 * sysdeps/sparc/sparc64/dl-machine.h
15515 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
15516
ff9f1c5f
DM
15517 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
15518 lazy binding.
48e2e132 15519 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
15520 undefined symbol errors.
15521
48e2e132 15522 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
15523 DT_NEEDED entries.
15524
e80d6f94
MM
155252012-04-05 Michael Matz <matz@suse.de>
15526
15527 [BZ #13592]
15528 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
15529
349fa79f
AJ
155302012-04-05 Andreas Jaeger <aj@suse.de>
15531
15532 [BZ #13908]
15533 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
15534 comment.
15535
f402708f
KK
155362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15537
15538 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
15539 which ROUND is no valid rounding mode.
15540
2ecccfc9
KK
155412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15542
15543 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
15544 read again.
15545 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
15546
8a53f50f
KK
155472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15548
15549 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
15550 an exception using FPU order intentionally.
15551
155522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15553
15554 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
15555 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
15556 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
15557 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
15558
d653abb7
SJ
155592012-04-05 Simon Josefsson <simon@josefsson.org>
15560
15561 [BZ #12340]
15562 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
15563 EINVAL when BUFLEN is too smal.
15564
c3b1bf7d
TS
155652012-04-05 Thomas Schwinge <thomas@codesourcery.com>
15566
15567 [BZ #13553]
15568 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
15569 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
15570
b1aa60f3
AJ
155712012-04-03 Andreas Jaeger <aj@suse.de>
15572
c3b1bf7d 15573 [BZ #13938]
67f60a26
AJ
15574 * manual/setjmp.texi (System V contexts): Fix sentence.
15575
b1aa60f3
AJ
15576 [BZ #13926]
15577 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
15578 New macro for this case.
15579 [!__GNUC__] (__bswap_64): New inline function for this case.
15580 * sysdeps/x86_64/bits/byteswap.h: Likewise.
15581 * bits/byteswap.h: Likewise.
15582 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
15583 ull, guard with __GLIBC_HAVE_LONG_LONG.
15584
15585 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
15586 __GLIBC_HAVE_LONG_LONG.
15587
15588 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
15589 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
15590
39c59c35
TMQMF
155912012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15592
15593 [BZ #13691]
15594 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
15595 inptr and inend, rather than using last_ch.
15596
135ffda8
DM
155972012-04-02 David S. Miller <davem@davemloft.net>
15598
15599 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
15600 * stdio-common/printf-parse.h (read_int): Change return type to
15601 'int', return -1 on INT_MAX overflow.
15602 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
15603 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
15604 overflows INT_MAX. Check for overflow of in-format-string precision
15605 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
15606 SIZE_MAX not INT_MAX for integer overflow test.
15607 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
15608 skip the construct in the format string but do not record anything.
15609 * stdio-common/bug22.c: Adjust to test both width/prevision
15610 INT_MAX overflow as well as total length INT_MAX overflow. Check
15611 explicitly for proper errno values.
15612
228c019e
TS
156132012-04-02 Thomas Schwinge <thomas@codesourcery.com>
15614
302cadd3
TS
15615 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
15616 CHAR_MAX.
15617 * string/test-strcmp.c [! WIDE]: Likewise.
15618 * time/tst-mktime2.c: Likewise for INT_MAX.
15619 * string/test-string.h: #include <sys/param.h> for MIN.
15620
228c019e
TS
15621 * csu/init-first.c (__libc_init_first): Call __ctype_init.
15622 * sysdeps/i386/init-first.c (init): Likewise.
15623 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
15624 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
15625 * sysdeps/sh/init-first.c (init): Likewise.
15626
cfa633f5
UD
156272012-04-01 Ulrich Drepper <drepper@gmail.com>
15628
15629 * po/ru.po: Update from translation team.
d1635ef8 15630 * po/vi.po: Likewise.
cfa633f5 15631
6cd0a5ea
SP
156322012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
15633
15634 * resolv/nss_dns/dns-host.c: Merge copyright years.
15635
4b43400f
LD
156362012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15637
15638 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
15639 Optimize memcpy with prefetch if
15640 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
15641 src, dst pointers have unequal 16 byte alignments.
15642
48c41d04
SP
156432012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15644
15645 [BZ #13928]
15646 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
15647 from a CNAME entry and return the minimum ttl for the query.
15648 (gaih_getanswer_slice): Likewise.
15649
b8dc394d
JL
156502012-03-30 Jeff Law <law@redhat.com>
15651
15652 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
15653 due to long keys.
15654 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
15655 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
15656
2f5a5ed0
JL
15657 * resolv/nss_dns/dns-host.c: Update copyright year.
15658
1d39e359
UD
156592012-03-30 Ulrich Drepper <drepper@gmail.com>
15660
c030f70c 15661 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 15662 requests to save a system call. Fix check that all bytes are sent.
c030f70c 15663
1d39e359
UD
15664 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
15665 comments for sendmmsg.
15666
156672012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
15668
15669 [BZ #13691]
15670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
15671 with only 1 character between 0x0041 and 0x01b0.
15672 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
15673 * wcsmbs/tst-mbsnrtowcs.c: New file.
15674
20fde227
DM
156752012-03-29 David S. Miller <davem@davemloft.net>
15676
15677 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
15678 small copies by hand.
15679
984a4237
JL
156802012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15681
15682 [BZ #13761]
15683 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
15684 _nss_compat_initgroups_dyn): Fall back to malloc/free
15685 for large group memberships.
15686
18c9d62b
DM
156872012-03-28 David S. Miller <davem@davemloft.net>
15688
88d85d4f
DM
15689 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
15690 that branches into memcpy.
15691 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
15692 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
15693 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15694 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
15695 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
15696 bits.
15697 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
15698 implementation too.
15699 * sysdeps/sparc/mempcpy.S: New file.
15700
e5aa83e1
DM
15701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
15702 the IFUNC routine in the libc case.
15703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15704
88570753
DM
15705 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
15706 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
15707 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
15708 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
15709 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
15710 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
15711 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
15712 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
15713
249d7567
DM
15714 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
15715 loop to 256 bytes instead of 64 bytes and fix test signedness.
15716
18c9d62b
DM
15717 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
15718 * sysdeps/sparc/sparc32/Makefile: rather than here...
15719 * sysdeps/sparc/sparc64/Makefile: and here.
15720
05f3d1f6
UD
157212012-03-28 Ulrich Drepper <drepper@gmail.com>
15722
15723 * malloc/mallocbug.c: Avoid warnings about unused variables.
15724
86ae07a8
JL
157252012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15726
15727 [BZ #13760]
15728 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
15729 in the right place. Discard and retry query if response is
15730 larger than input buffer size.
15731
41bf21a1
JM
157322012-03-28 Joseph Myers <joseph@codesourcery.com>
15733
d6270972
JM
15734 [BZ #369]
15735 [BZ #2678]
15736 [BZ #3866]
15737 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
15738 x for large integer exponent.
15739 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
15740 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
15741 sign of result as needed afterwards.
15742 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
15743 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
15744 result for underflowing pow the same as for overflow.
15745 (__kernel_standard_l): Handle powl overflow and underflow here
15746 rather than calling __kernel_standard.
15747 * math/libm-test.inc (pow_test): Add more tests.
15748
414fca03 15749 [BZ #3868]
41bf21a1
JM
15750 [BZ #13879]
15751 [BZ #13910]
15752 [BZ #13911]
15753 [BZ #13912]
15754 [BZ #13913]
15755 [BZ #13915]
15756 [BZ #13916]
15757 [BZ #13917]
15758 [BZ #13918]
15759 [BZ #13919]
15760 [BZ #13920]
15761 [BZ #13921]
15762 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
15763 * sysdeps/ieee754/k_standard.c: Include <float.h>.
15764 (__kernel_standard_l): New function.
15765 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
15766 __kernel_standard.
15767 * math/w_acosl.c (__acosl): Likewise.
15768 * math/w_asinl.c (__asinl): Likewise.
15769 * math/w_atan2l.c (__atan2l): Likewise.
15770 * math/w_atanhl.c (__atanhl): Likewise.
15771 * math/w_coshl.c (__coshl): Likewise.
15772 * math/w_exp10l.c (__exp10l): Likewise.
15773 * math/w_exp2l.c (__exp2l): Likewise.
15774 * math/w_fmodl.c (__fmodl): Likewise.
15775 * math/w_hypotl.c (__hypotl): Likewise.
15776 * math/w_j0l.c (__j0l, __y0l): Likewise.
15777 * math/w_j1l.c (__j1l, __y1l): Likewise.
15778 * math/w_jnl.c (__jnl, __ynl): Likewise.
15779 * math/w_lgammal.c (__lgammal): Likewise.
15780 * math/w_log10l.c (__log10l): Likewise.
15781 * math/w_log2l.c (__log2l): Likewise.
15782 * math/w_logl.c (__logl): Likewise.
15783 * math/w_powl.c (__powl): Likewise.
15784 * math/w_remainderl.c (__remainderl): Likewise.
15785 * math/w_scalbl.c (sysv_scalbl): Likewise.
15786 * math/w_sinhl.c (__sinhl): Likewise.
15787 * math/w_sqrtl.c (__sqrtl): Likewise.
15788 * math/w_tgammal.c (__tgammal): Likewise.
15789 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
15790 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
15791 * math/libm-test.inc (acos_test): Add more tests.
15792 (acosh_test): Likewise.
15793 (asin_test): Likewise.
15794 (atanh_test): Likewise.
15795 (exp_test): Likewise.
15796 (exp10_test): Likewise.
15797 (exp2_test): Likewise.
15798 (expm1_test): Likewise.
15799 (lgamma_test): Likewise.
15800 (log_test): Likewise.
15801 (log10_test): Likewise.
15802 (log1p_test): Likewise.
15803 (log2_test): Likewise.
15804 (pow_test): Do not allow some spurious overflow exceptions.
15805 (sqrt_test): Add more tests.
15806 (tgamma_test): Likewise.
15807 (y0_test): Likewise.
15808 (y1_test): Likewise.
15809 (yn_test): Likewise.
15810
dd62fda6
AB
158112012-03-27 Anton Blanchard <anton@samba.org>
15812
15813 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
15814 MAP_HUGETLB.
15815 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15816 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15817 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15818
1e3cdfda
AJ
158192012-03-27 David S. Miller <davem@davemloft.net>
15820
b855ab85
DM
15821 * conform/Makefile: Run run-conformtest.sh using $(BASH).
15822
1e3cdfda
AJ
15823 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
15824 have-as-vis3 check.
15825
158262012-03-27 Andreas Jaeger <aj@suse.de>
15827
15828 * sysdeps/x86_64/elf/configure.in: Moved to ...
15829 * sysdeps/x86_64/configure.in: ... here.
15830 * sysdeps/x86_64/elf/start.S: Moved to ...
15831 * sysdeps/x86_64/start.S: ... here.
15832 * sysdeps/x86_64/elf/configure: Delete.
15833
15834 * sysdeps/x86_64/configure.in: Merge contents from
15835 sysdeps/i386/configure.in (without i686 check).
15836
15837 * sysdeps/i386/elf/Versions: Merge into ...
15838 * sysdeps/i386/Versions: ... this.
15839 * sysdeps/i386/elf/Versions: Delete file.
15840 * sysdeps/i386/elf/start.S: Moved to ...
15841 * sysdeps/i386/start.S: ...here.
15842 * sysdeps/i386/elf/configure.in: Merge into...
15843 * sysdeps/i386/configure.in: ...here.
15844 * sysdeps/i386/elf/configure.in: Delete file.
15845 * sysdeps/i386/elf/configure: Delete file.
15846
15847 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
15848 * debug/backtracesyms.c: ... here.
15849 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
15850 * debug/backtracesymsfd.c: ... here.
15851 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
15852 * sysdeps/generic/ifunc-sel.h: ... here.
15853
15854 * sysdeps/unix/i386/start.c: Delete file.
15855 * sysdeps/unix/sparc/start.c: Delete file.
15856 * sysdeps/unix/start.c: Delete file.
15857
15858 * sysdeps/sh/elf/configure.in: Moved to ...
15859 * sysdeps/sh/configure.in: ... here.
15860 * sysdeps/sh/elf/start.S: Moved to ...
15861 * sysdeps/sh/start.S: ... here.
15862 * sysdeps/sh/elf/configure: Delete file.
15863
15864 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
15865 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
15866 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
15867 * sysdeps/powerpc/powerpc64/entry.h: ... here.
15868 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
15869 * sysdeps/powerpc/powerpc64/start.S: here.
15870 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
15871 * sysdeps/powerpc/powerpc64/Makefile: ... this.
15872 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
15873 * sysdeps/powerpc/powerpc64/configure.in: ... this.
15874 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
15875
15876 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
15877 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
15878 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
15879 * sysdeps/powerpc/powerpc32/start.S: ... here.
15880 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
15881 * sysdeps/powerpc/powerpc32/configure.in: ... this.
15882 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
15883
15884 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
15885 * sysdeps/powerpc/ifunc-sel.h: ... here.
15886 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
15887 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
15888
15889 * sysdeps/sparc/elf/configure.in: Moved to ...
15890 * sysdeps/sparc/configure.in: ... here.
15891 * sysdeps/sparc/elf/configure: Delete file.
15892 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
15893 * sysdeps/sparc/sparc32/start.S: ... here.
15894 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
15895 * sysdeps/sparc/sparc64/start.S: ... here.
15896 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
15897 * sysdeps/sparc/sparc32/Makefile: ... this.
15898 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
15899 * sysdeps/sparc/sparc64/Makefile: ... this.
15900
15901 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
15902 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
15903 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
15904 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
15905 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
15906 * sysdeps/s390/s390-32/setjmp.S: ... here.
15907 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
15908 * sysdeps/s390/s390-32/configure.in: ... here.
15909 * sysdeps/s390/s390-32/elf/configure: Delete file.
15910 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
15911 * sysdeps/s390/s390-32/start.S: ... here.
15912
15913 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
15914 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
15915 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
15916 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
15917 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
15918 * sysdeps/s390/s390-64/setjmp.S: ... here.
15919 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
15920 * sysdeps/s390/s390-64/configure.in: ... here
15921 * sysdeps/s390/s390-64/elf/configure: Delete file.
15922 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
15923 * sysdeps/s390/s390-64/start.S: ... here.
15924 * sysdeps/s390/s390-64/elf/configure: Delete.
15925
15926 * configure.in: Remove support for elf directories in sysdeps.
15927
15928 * configure: Regenerated.
15929 * sysdeps/i386/configure: Regenerated.
15930 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15931 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15932 * sysdeps/s390/s390-32/configure: Regenerated.
15933 * sysdeps/s390/s390-64/configure: Regenerated.
15934 * sysdeps/sh/configure: Regenerated.
15935 * sysdeps/sparc/configure: Regenerated.
15936 * sysdeps/x86_64/configure: Regenerated.
15937
a3f61311
AS
159382012-03-26 Andreas Schwab <schwab@linux-m68k.org>
15939
c876e002
AS
15940 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15941
a3f61311
AS
15942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
15943 denormal result into account.
15944
ac4c54f0
RM
159452012-03-25 Roland McGrath <roland@hack.frob.com>
15946
15947 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
15948 Reported by Allan McRae <allan@archlinux.org>.
15949
6a9b9c02
JL
159502012-03-23 Jeff Law <law@redhat.com>
15951
15952 * nss/getnssent.c (__nss_getent): Fix typo.
15953
4c42a0c1
DM
159542012-03-23 David S. Miller <davem@davemloft.net>
15955
15956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15957
1532c7ac
L
159582012-03-23 H.J. Lu <hongjiu.lu@intel.com>
15959
15960 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
15961 to pad to uint64_t for each field.
15962 (dl_tls_index): Replace unsigned long with uint64_t.
15963
3ff42526
PP
159642012-03-23 Daniel Jacobowitz <dmj@google.com>
15965 Paul Pluzhnikov <ppluzhnikov@google.com>
15966
15967 [BZ #6528]
15968 * grp/Makefile (otherlibs): Don't set it.
15969 * inet/Makefile (otherlibs): Likewise.
15970 * login/Makefile (otherlibs): Likewise.
15971 * nscd/Makefile (otherlibs): Likewise.
15972 * posix/Makefile (otherlibs): Likewise.
15973 * pwd/Makefile (otherlibs): Likewise.
15974 * rt/Makefile (otherlibs): Likewise.
15975 * sunrpc/Makefile (otherlibs): Likewise.
15976 * nss/Makefile (otherlibs): Likewise.
15977 Add libnss_files to routines and static-only-routines.
15978 ($(objpfx)getent): Remove rule.
15979 * resolv/Makefile: Add libnss_dns and libresolv to routines and
15980 static-only-routines.
15981
7c69cd14
JM
159822012-03-22 Joseph Myers <joseph@codesourcery.com>
15983
15984 [BZ #13892]
15985 * math/s_cexp.c: Include <float.h>.
15986 (__cexp): Handle exp result overflowing not necessarily
15987 overflowing both real and imaginary parts of result.
15988 * math/s_cexpf.c: Likewise.
15989 * math/s_cexpl.c: Likewise.
15990 * math/libm-test.inc (cexp_test): Add more tests.
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15993
81b035fe
L
159942012-03-22 H.J. Lu <hongjiu.lu@intel.com>
15995
15996 * include/link.h (ELFW): New macro.
15997 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
15998 Replace ELF64_R_TYPE with ELFW(R_TYPE).
15999
1da7940c
L
160002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16001
16002 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16003 with uint64_t.
16004
b749dbb9
L
160052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16008 declaration.
16009 (struct La_x32_retval): Likewise.
16010
2ff87f3f
L
160112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16012
16013 * sysdeps/x86_64/preconfigure.in: New file.
16014 * sysdeps/x86_64/preconfigure: New generated file.
16015
c0df8e69
JM
160162012-03-22 Joseph Myers <joseph@codesourcery.com>
16017
48e44791
JM
16018 [BZ #13824]
16019 * math/e_exp2l.c: Include <float.h>.
16020 (__ieee754_exp2l): Handle overflow and underflow cases
16021 separately. Only pass fractional part of argument to
16022 __ieee754_expl.
16023 * math/libm-test.inc (exp2_test): Add more tests.
16024
c0df8e69
JM
16025 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16026 negating x to take absolute value.
16027 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16028 Likewise.
16029 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16030 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16031 Likewise.
16032 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16033 computing low part if x was negated.
16034 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16035
c8e43ba7
L
160362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16037
16038 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16039 la_x32_gnu_pltexit.
16040 (pltexit): Cast int_retval to ptrdiff_t.
16041 * elf/tst-auditmod3b.c: Likewise.
16042 * elf/tst-auditmod4b.c: Likewise.
16043 * elf/tst-auditmod5b.c: Likewise.
16044 * elf/tst-auditmod6b.c: Likewise.
16045 * elf/tst-auditmod6c.c: Likewise.
16046 * elf/tst-auditmod7b.c: Likewise.
16047
16048 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16049 and x32_gnu_pltexit.
16050
16051 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16052 __ELF_NATIVE_CLASS.
16053 (La_x32_regs): New macro.
16054 (La_x32_retval): Likewise.
16055 (la_x32_gnu_pltenter): New function prototype.
16056 (la_x32_gnu_pltexit): Likewise.
16057
7998fa78
AS
160582012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16059
dcb33988
AS
16060 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16061 exponent.
16062
233fc563
AS
16063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16064
7998fa78
AS
16065 * configure.in (libc_cv_cc_nofma): Check for option to disable
16066 generation of FMA instructions.
16067 * configure: Regenerate.
16068 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16069 * sysdeps/ieee754/dbl-64/Makefile: New file.
16070 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16071 Remove brandred-fma4.
16072 (CFLAGS-brandred-fma4.c): Remove.
16073 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16074 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16075 define.
16076 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16077 define.
16078
8e95c99a
L
160792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16080
16081 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16082 LLONG_MAX != LONG_MAX.
16083 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16084 (_fitoa_word): Likewise.
16085 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16086 LLONG_MAX != LONG_MAX.
16087 * stdio-common/_itowa.h: Include <_itoa.h>.
16088 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16089 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16090 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16091 only if not defined.
16092 (_ITOA_WORD_TYPE): Likewise.
16093 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16094 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16095
6f4db457
DM
160962012-03-21 David S. Miller <davem@davemloft.net>
16097
16098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16099
7785fe5a
L
161002012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16101
16102 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16103 of x86_64 when setting libc_cv_slibdir, libdir and
16104 libc_cv_localedir.
16105 * sysdeps/unix/sysv/linux/configure: Regenerated.
16106
4535cd55
JM
161072012-03-21 Joseph Myers <joseph@codesourcery.com>
16108
16109 * manual/lang.texi (Old Varargs): Remove section.
16110 (How Variadic): Update menu.
16111 (va_start): Do not mention varargs.h.
16112
17228132
TS
161132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16114 Joseph Myers <joseph@codesourcery.com>
16115
16116 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16117 link test.
16118 * configure: Regenerated.
16119
8149f976
TS
161202012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16121
05f3d1f6
UD
16122 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16123 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16124 conformtest.pl
8149f976 16125
1a4ac776
JM
161262012-03-21 Joseph Myers <joseph@codesourcery.com>
16127
be22ce65
JM
16128 * NOTES: Remove.
16129 * Makefile (files-for-dist): Remove NOTES.
16130 (NOTES): Remove rule.
16131 * README: Don't refer to NOTES.
16132 * manual/creature.texi: Don't include macros.texi.
16133 * manual/intro.texi (creature.texi): Remove comment referring to
16134 NOTES.
16135
40b601fb
JM
16136 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16137 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16138 * configure: Regenerated.
16139 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16140 LIBC_TRY_CC_OPTION.
16141 (libc_cv_as_i686): Likewise.
16142 (libc_cv_cc_avx): Likewise.
16143 (libc_cv_cc_sse2avx): Likewise.
16144 (libc_cv_cc_fma4): Likewise.
16145 (libc_cv_cc_novzeroupper): Likewise.
16146 * sysdeps/i386/configure: Regenerated.
16147
1a4ac776
JM
16148 [BZ #13883]
16149 * sysdeps/i386/fpu/s_cexp.S: Remove.
16150 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16151 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16152 * math/libm-test.inc (cexp_test): Add more tests.
16153 * sysdeps/i386/fpu/libm-test-ulps: Update.
16154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16155
a458e7fe
AM
161562012-03-21 Allan McRae <allan@archlinux.org>
16157
16158 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16159
0cb7efc5
JM
161602012-03-21 Joseph Myers <joseph@codesourcery.com>
16161
16162 [BZ #13871]
16163 * math/w_exp2.c: Do not include <float.h>.
16164 (o_threshold, u_threshold): Remove.
16165 (__exp2): Calculate result before checking finiteness and calling
16166 __kernel_standard.
16167 * math/w_exp2f.c: Likewise.
16168 * math/w_exp2l.c: Likewise.
16169 * math/libm-test.inc (exp2_test): Require overflow exception for
16170 1e6 input.
2460d3aa
JM
16171
16172 [BZ #3866]
16173 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16174 range of signed 64-bit integers before using fistpll. Remove
16175 checks for whether integers fit in mantissa bits.
16176 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16177 the range of signed 32-bit integers before using fistpl. Remove
16178 checks for whether integers fit in mantissa bits.
16179 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16180 (__ieee754_powl): Test for y outside the range of signed 64-bit
16181 integers before using fistpll. Reduce 64-bit values to 63-bit
16182 ones as needed.
16183 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16184 divide-by-zero is raised for zero to large negative powers.
16185 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16186 (__ieee754_powl): Test for y outside the range of signed 64-bit
16187 integers before using fistpll. Reduce 64-bit values to 63-bit
16188 ones as needed.
16189 * math/libm-test.inc (pow_test): Add more tests.
16190
eb96ffb0
L
161912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16194 <stdio-common/_itoa.h>.
16195 * debug/segfault.c: Likewise.
16196 * elf/dl-cache.c: Likewise.
16197 * elf/dl-minimal.c: Likewise.
16198 * elf/dl-misc.c: Likewise.
16199 * elf/dl-sysdep.c: Likewise.
16200 * elf/dl-version.c: Likewise.
16201 * elf/rtld.c: Likewise.
16202 * hurd/hurdsock.c: Likewise.
16203 * hurd/lookup-retry.c: Likewise.
16204 * malloc/malloc.c: Likewise.
16205 * malloc/mtrace.c: Likewise.
16206 * nscd/nscd_getgr_r.c: Likewise.
16207 * nscd/nscd_getpw_r.c: Likewise.
16208 * nscd/nscd_getserv_r.c: Likewise.
16209 * posix/getopt_init.c: Likewise.
16210 * posix/wordexp.c: Likewise.
16211 * stdio-common/_itoa.c: Likewise.
16212 * stdio-common/printf_fphex.c: Likewise.
16213 * stdio-common/vfprintf.c: Likewise.
16214 * string/_strerror.c: Likewise.
16215 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16216 * sysdeps/i386/i686/hp-timing.h: Likewise.
16217 * sysdeps/mach/_strerror.c: Likewise.
16218 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16219 * sysdeps/mach/hurd/sethostid.c: Likewise.
16220 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16221 * sysdeps/mach/xpg-strerror.c: Likewise.
16222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16223 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16224 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16225 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16226 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16227 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16229 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16230 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16231 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16232 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16233 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16234 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16235 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16236 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16237 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16238 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16239 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16240 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16241 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16242 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16243
16244 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16245
16246 * stdio-common/_itoa.h: Moved to ...
16247 * sysdeps/generic/_itoa.h: Here.
16248
16249 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16250
16251 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16252 instead of "_itoa.h" and "_itowa.h".
16253 * stdio-common/vfprintf.: Likewise.
16254
d1af992d
L
162552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16256
16257 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16258 <bits/wordsize.h>.
16259 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16260 (__signbit): Likwise.
16261 (llrintf): Likwise.
16262 (llrint): Likwise.
16263
114883e0
L
162642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16265
16266 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16267 __WORDSIZE != 64.
16268
c135cc1b
JM
162692012-03-20 Joseph Myers <joseph@codesourcery.com>
16270
16271 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16272 OVERFLOW_EXCEPTION_OK.
16273 * math/libm-test.inc ("Philosophy"): Update comment about
16274 exception testing.
16275 (OVERFLOW_EXCEPTION): Define.
16276 (OVERFLOW_EXCEPTION_OK): Likewise.
16277 (INVALID_EXCEPTION_OK): Renumber.
16278 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16279 (IGNORE_ZERO_INF_SIGN): Likewise.
16280 (test_exceptions): Handle FE_OVERFLOW.
16281 (exp10_test): Expect overflow exceptions.
16282 (exp2_test): Likewise.
16283 (expm1_test): Likewise.
16284 (nextafter_test): Likewise.
16285 (pow_test): Likewise.
16286 (scalbn_test): Likewise.
16287 (scalbln_test): Likewise.
16288
95443d88
L
162892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16290
16291 * sysdeps/x86_64/bits/atomic.h
16292 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16293 64bit integer.
16294 (atomic_exchange_acq): Likewise.
16295 (__arch_exchange_and_add_body): Likewise.
16296 (__arch_add_body): Likewise.
16297 (atomic_add_negative): Likewise.
16298 (atomic_add_zero): Likewise.
16299
490df6c4
L
163002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16301
c2722551 16302 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16303 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16304
5e52b189
L
163052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16306
16307 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16308 Check __x86_64__ instead of __WORDSIZE.
16309
a9879d4c
L
163102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16311
16312 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16313
5df98260
DM
163142012-03-19 David S. Miller <davem@davemloft.net>
16315
e1497744
DM
16316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16317
5df98260
DM
16318 * sysdeps/sparc/fpu/fenv_private.h: New file.
16319 * sysdeps/sparc/fpu/math_private.h: Use it.
16320 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16321 Remove.
16322 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16323 (libc_feholdexcept_setroundl): Remove.
16324 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16325 Remove.
16326 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16327 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16328
b4c35121
L
163292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16330
16331 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16332 int64_t instead of long int.
16333 (INSERT_WORDS64): Likwise.
16334
56965fd7
L
163352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16336
16337 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16338 _Unwind_GetCFA return to _Unwind_Ptr first.
16339
83d1aec8
JM
163402012-03-19 Joseph Myers <joseph@codesourcery.com>
16341
1897ad44
JM
16342 [BZ #13629]
16343 * math/s_clog.c: Include <float.h>.
16344 (__clog): Scale large or subnormal inputs.
16345 * math/s_clogf.c: Likewise.
16346 * math/s_clogl.c: Likewise.
16347 * math/s_clog10.c: Include <float.h>.
16348 (M_LOG10_2): Define.
16349 (__clog10): Scale large or subnormal inputs.
16350 * math/s_clog10f.c: Likewise.
16351 * math/s_clog10l.c: Likewise.
16352 * math/libm-test.inc (clog_test): Add more tests.
16353 (clog10_test): Likewise.
16354 * sysdeps/i386/fpu/libm-test-ulps: Update.
16355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16356
7726d6a9
JM
16357 [BZ #11451]
16358 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
16359 x and y.
16360 * math/libm-test.inc (atan2_test): Add another test.
16361
83d1aec8
JM
16362 * Makerules (common-objdir-compile): Remove.
16363 * sysdeps/unix/Makefile (config-generated): Do not add
16364 $(unix-generated) to variable.
16365 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
16366 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
16367 Remove rule.
16368 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
16369 Likewise.
16370 [generic bits/local_lim.h] (before-compile): Do not append to
16371 variable.
16372 [generic bits/local_lim.h] (common-generated): Likewise.
16373 [generic sys/param.h] (before-compile): Do not append to variable.
16374 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
16375 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
16376 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
16377 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
16378 include.
16379 [generic sys/param.h] (sys/param.h-includes): Remove variable.
16380 [generic sys/param.h] (sys/param.h-includes): Remove rule.
16381 [generic sys/param.h] ($(addprefix
16382 $(common-objpfx),$(sys/param.h-includes))): Likewise.
16383 [generic sys/param.h] (common-generated): Do not append to
16384 variable.
16385 [generic sys/param.h] (sysdep_headers): Likewise.
16386 [generic bits/errno.h] (before-compile): Do not append to
16387 variable.
16388 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
16389 rule.
16390 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
16391 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
16392 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
16393 [generic bits/errno.h] (common-generated): Do not append to
16394 variable.
16395 [generic bits/ioctls.h] (before-compile): Do not append to
16396 variable.
16397 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
16398 rule.
16399 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
16400 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
16401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
16402 rule.
16403 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
16404 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
16405 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
16406 [generic bits/ioctls.h] (common-generated): Do not append to
16407 variable.
16408 [generic sys/syscall.h] (syscall.h): Remove variable.
16409 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
16410 rule.
16411 [generic sys/syscall.h] (before-compile): Do not append to
16412 variable.
16413 [generic sys/syscall.h] (common-generated): Likewise.
16414 * sysdeps/unix/errnos-tmpl.c: Remove file.
16415 * sysdeps/unix/errnos.awk: Likewise.
16416 * sysdeps/unix/ioctls-tmpl.c: Likewise.
16417 * sysdeps/unix/ioctls.awk: Likewise.
16418 * sysdeps/unix/mk-local_lim.c: Likewise.
16419 * sysdeps/unix/snarf-ioctls: Likewise.
16420
4851a949
RH
164212012-03-19 Richard Henderson <rth@twiddle.net>
16422
bd37f2ee
RH
16423 * sysdeps/i386/fpu/fenv_private.h: New file.
16424 * sysdeps/i386/fpu/math_private.h: Use it.
16425 (math_opt_barrier, math_force_eval): Remove.
16426 (libc_feholdexcept_setround_53bit): Remove.
16427 (libc_feupdateenv_53bit): Remove.
16428 * sysdeps/x86_64/fpu/math_private.h: Likewise.
16429 (math_opt_barrier, math_force_eval): Remove.
16430 (libc_feholdexcept): Remove.
16431 (libc_feholdexcept_setround): Remove.
16432 (libc_fetestexcept, libc_fesetenv): Remove.
16433 (libc_feupdateenv_test): Remove.
16434 (libc_feupdateenv, libc_feholdsetround): Remove.
16435 (libc_feresetround): Remove.
16436
d0adc922
RH
16437 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
16438 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
16439
0fe0f1f8
RH
16440 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
16441 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
16442 (libc_feupdateenv_testl): New.
16443 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
16444 (libc_feupdateenv_testf): New.
16445 (libc_feupdateenv): Use libc_feupdateenv_test.
16446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
16447 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
16448
eb92c487
RH
16449 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
16450 (libc_feholdsetroundf, libc_feholdsetroundl): New.
16451 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
16452 (libc_feresetround_noex): New.
16453 (libc_feresetround_noexf): New.
16454 (libc_feresetround_noexl): New.
16455 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
16456 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
16457 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
16458 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
16459 SET_RESTORE_ROUND.
16460 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16461 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
16462 (__cos): Likewise.
16463 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
16464 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
16465 SET_RESTORE_ROUND_NOEX.
16466 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
16467 SET_RESTORE_ROUND_NOEXF.
16468 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
16469 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
16470 (libc_feholdsetroundf): New.
16471 (libc_feresetround, libc_feresetroundf): New.
16472
7d2e8012
RH
16473 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
16474 (libc_feholdexcept_setround_53bit): Convert from macro to function.
16475 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
16476
b4dabbb4
RH
16477 * sysdeps/generic/math_private.h: Include <fenv.h>.
16478 (default_libc_feholdexcept): New.
16479 (default_libc_feholdexcept_setround): New.
16480 (default_libc_fesetenv, default_libc_feupdateenv): New.
16481 (libc_feholdexcept): Only define if undefined.
16482 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
16483 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
16484 (libc_feholdexcept_setroundl): Likewise.
16485 (libc_feholdexcept_setround_53bit): Likewise.
16486 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
16487 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
16488 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
16489 (libc_feupdateenv_53bit): Likewise.
16490 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
16491 (libc_feholdexcept): Convert from macro to inline function.
16492 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
16493 (libc_fesetenv, libc_feupdateenv): Likewise.
16494
4851a949
RH
16495 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
16496 not previously defined.
16497 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
16498 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
16499 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
16500 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
16501 * sysdeps/ieee754/flt-32/math_private.h: New file.
16502 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
16503 math_private.h below SET_FLOAT_WORD.
16504 (__isnan, __isinf_ns, __finite): Remove.
16505 (__isnanf, __isinf_nsf, __finitef): Remove.
16506
e79d442e
AS
165072012-03-18 Andreas Schwab <schwab@linux-m68k.org>
16508
16509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16510
90b80344
DM
165112012-03-17 David S. Miller <davem@davemloft.net>
16512
16513 [BZ #6471]
16514 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
16515 for 2.16.
16516
edc21804
DM
165172012-03-16 David S. Miller <davem@davemloft.net>
16518
77e927af
DM
16519 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
16520 warnings.
16521
374976dd
DM
16522 [BZ #6471]
16523 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
16524 properly.
16525 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
16526 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
16527 sysdep_routines when subdir is sysvipc.
16528 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
16529 __getshmlba helper.
16530
edc21804
DM
16531 * sysdeps/sparc/fpu/libm-test/ulps: Update.
16532
473c3ef3
L
165332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16534
16535 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
16536 [__LP64__].
16537
eb0f39b6
L
165382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16539
16540 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
16541 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
16542 (__lround): Renamed to ...
16543 (__llround): This. Replace long int with long long int.
16544 Define lround functions as aliases of llround functions.
16545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
16546
6b6cd74b
L
165472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16548
16549 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
16550 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
16551 adresses to uintptr_t. Replace "long int" and "unsigned long
16552 int" with "greg_t" on va_arg.
16553
f1a77b01
L
165542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16555
16556 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
16557 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
16558
16559 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
16560 Move e_machine check before EI_CLASS check. Handle x32
16561 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
16562 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
16563 SKIP_EM_IA_64 and include
16564 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
16565
16566 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
16567 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
16568 (add_system_dir): New macro.
16569
16570 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
16571 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
16572
11b90b9f
JM
165732012-03-16 Joseph Myers <joseph@codesourcery.com>
16574
c36e1d23
JM
16575 [BZ #2551]
16576 [BZ #2552]
16577 [BZ #2553]
16578 [BZ #2554]
16579 [BZ #2562]
16580 [BZ #2563]
16581 [BZ #2565]
16582 [BZ #2566]
16583 [BZ #2576]
16584 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
16585 (y0): Likewise.
16586 * math/w_j0f.c (j0f): Likewise.
16587 (y0f): Likewise.
16588 * math/w_j0l.c (__j0l): Likewise.
16589 (__y0l): Likewise.
16590 * math/w_j1.c (j1): Likewise.
16591 (y1): Likewise.
16592 * math/w_j1f.c (j1f): Likewise.
16593 (y1f): Likewise.
16594 * math/w_j1l.c (__j1l): Likewise.
16595 (__y1l): Likewise.
16596 * math/w_jn.c (jn): Likewise.
16597 (yn): Likewise.
16598 * math/w_jnf.c (jnf): Likewise.
16599 (ynf): Likewise.
16600 * math/w_jnl.c (__jnl): Likewise.
16601 (__ynl): Likewise.
16602 * math/libm-test.inc (j0_test): Add more tests.
16603 (j1_test): Likewise.
16604 (jn_test): Likewise. Add trailing semicolon to existing test.
16605 (y0_test): Likewise.
16606 (y1_test): Likewise.
16607 * sysdeps/i386/fpu/libm-test-ulps: Update.
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16609
11b90b9f
JM
16610 [BZ #13851]
16611 [BZ #13854]
16612 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
16613 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
16614 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
16615 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
16616 (__tanl): Set errno for infinite argument.
16617 * sysdeps/i386/fpu/mptan.c: Remove.
16618 * sysdeps/i386/fpu/s_tan.S: Likewise.
16619 * sysdeps/i386/fpu/s_tanl.S: Likewise.
16620 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
16621 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
16622 * math/libm-test.inc (tan_test): Add more tests and enable more
16623 tests for double and long double.
16624 * sysdeps/i386/fpu/libm-test-ulps: Update.
16625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16626
6a1bd2a1
JK
166272012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
16628
16629 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
16630 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
16631
10a803e0
RM
166322012-03-16 Roland McGrath <roland@hack.frob.com>
16633
16634 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
16635 * configure.in: Use it for both main tree and add-ons.
16636 * configure: Regenerated.
16637
f196c7f7
L
166382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
16639
16640 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
16641
8848d99d
JM
166422012-03-16 Joseph Myers <joseph@codesourcery.com>
16643
96cbe7f4
JM
16644 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
16645 in comment.
16646
8848d99d
JM
16647 [BZ #13851]
16648 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
16649 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
16650 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
16651 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
16652 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
16653 infinite argument.
16654 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
16655 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
16656 != 0 for prec == 2.
16657 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
16658 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
16659 * sysdeps/i386/fpu/s_cosl.S: Likewise.
16660 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
16661 * sysdeps/i386/fpu/s_sinl.S: Likewise.
16662 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
16663 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
16664 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
16665 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
16666 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
16667 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
16668 * math/libm-test.inc (cos_test): Add more tests and enable more
16669 tests for long double.
16670 (sin_test): Likewise.
16671 (sincos_test): Likewise.
16672 * sysdeps/i386/fpu/libm-test-ulps: Update.
16673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16674
dd7f4703
DM
166752012-03-16 David S. Miller <davem@davemloft.net>
16676
16677 * sysdeps/sparc/fpu/math_private.h: New file.
16678
006f1daa
DM
166792012-03-15 David S. Miller <davem@davemloft.net>
16680
c0c83bc8
DM
16681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
16682 file.
e6a62e18 16683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
16684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
16685 file.
e6a62e18
DM
16686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
16687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
16688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
16689 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
16690 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
16691 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
16692 sysdep routines.
16693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16694
88cb87d9
DM
16695 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
16696 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
16697
006f1daa 16698 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
16699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
16700 sparc-ifunc.h
006f1daa 16701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
16702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
16703 Likewise.
16704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
16705 Likewise.
006f1daa
DM
16706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
16707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
16708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
16709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16710 Likewise.
006f1daa
DM
16711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
16712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
16713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
16714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
16715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
16716 Likewise.
16717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
16718 Likewise.
006f1daa
DM
16719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
16720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
16721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
16722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
16723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
16726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
16727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
16730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
16731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
16732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
16733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
16734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
16735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
16736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
16737 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
16738 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
16739 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
16740 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
16741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
16742 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
16743
11e0098e
AS
167442012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16745
16746 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
16747 scaling.
16748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16749
e85b09d0
AJ
167502012-03-15 Andreas Jaeger <aj@suse.de>
16751
16752 [BZ #13852]
16753 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
16754 ieee754/flt-32 implementation for sin, cos and sincos.
16755 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
16756 * sysdeps/i386/fpu/s_cosf.S: Likewise.
16757 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
16758 * sysdeps/i386/fpu/s_sinf.S: Likewise.
16759 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
16760 ieee754/flt-32 implementation for tan.
16761
16762 * math/libm-test.inc (cos_test): Enable some large input tests for
16763 float as well
16764 (sin_test): Likewise.
16765 (sincos_test): Likewise.
16766 (tan_test): Add tests for large input.
16767
16768 * sysdeps/i386/fpu/libm-test-ulps: Update.
16769
81c64153
AJ
167702012-03-15 Andreas Jaeger <aj@suse.de>
16771
16772 [BZ #13658]
16773 * math/libm-test.inc (cos_test): Add more test cases.
16774 (sin_test): Likewise.
16775 (sincos_test): Likewise.
16776
7bbfa5c6
AJ
167772012-03-15 Andreas Jaeger <aj@suse.de>
16778
16779 [BZ #13837]
16780 * math/libm-test.inc (cos_test): Add a test case for large input
16781 value.
16782 (sin_test): Likewise.
16783 (sincos_test): Likewise.
16784
167852012-03-15 Andreas Jaeger <aj@suse.de>,
16786 Joseph Myers <joseph@codesourcery.com>
16787
16788 [BZ #13658]
0671f479 16789 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
16790 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
16791 * sysdeps/i386/fpu/branred.c: Likewise.
16792 * sysdeps/i386/fpu/dosincos.c: Likewise.
16793 * sysdeps/i386/fpu/mpa.c: Likewise.
16794 * sysdeps/i386/fpu/s_cos.S: Likewise.
16795 * sysdeps/i386/fpu/s_sin.S: Likewise.
16796 * sysdeps/i386/fpu/s_sincos.S: Likewise.
16797 * sysdeps/i386/fpu/sincos32.c: Likewise.
16798
16799 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
16800 Define.
16801 (libc_feupdateenv_53bit): Define.
16802 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
16803 Define.
16804 (libc_feupdateenv_53bit): Define.
16805
16806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
16807 53 bit (without extend i386 double precision).
16808
16809 * math/libm-test.inc (sincos_test): Add tests for large input.
16810 (sin): Likewise.
16811 (cos): Likewise.
16812
16813 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16814
9cad04ea
AS
168152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
16816
16817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16818
f7062b9a
DM
168192012-03-15 David S. Miller <davem@davemloft.net>
16820
16821 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
16822 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
16823 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
16824 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
16825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
16826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
16827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
16828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
16829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
16830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
16831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
16832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
16833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
16834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
16835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
16836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
16837 file.
f7062b9a 16838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
16839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
16840 file.
f7062b9a 16841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
16842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
16843 file.
f7062b9a 16844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
16845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
16846 file.
f7062b9a
DM
16847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
16848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
16849 fmin/fmax sysdep routines.
16850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
16851
7bd951ff
DM
168522012-03-14 David S. Miller <davem@davemloft.net>
16853
559398ab
DM
16854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
16855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
16856 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
16857 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
16858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
16859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
16860 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
16861 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
16862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
16863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
16864 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
16865 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
16866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
16867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
16868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
16869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
16870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
16871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
16872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
16873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
16874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
16875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
16876 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
16877 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
16878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
16879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
16880 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
16881 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16882 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
16883 routines.
16884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
16885 file.
559398ab 16886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
16887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
16888 file.
559398ab 16889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
16890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
16891 file.
559398ab 16892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
16893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
16894 file.
559398ab 16895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
16896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
16897 file.
559398ab 16898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
16899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
16900 file.
16901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
16902 file.
16903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
16904 file.
16905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
16906 file.
16907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
16908 New file.
16909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
16910 file.
16911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
16912 file.
559398ab 16913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
16914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
16915 file.
559398ab 16916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
16917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
16918 file.
559398ab 16919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
16920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
16921 file.
559398ab 16922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
16923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
16924 VIS3 routines.
559398ab
DM
16925
16926 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16927 New file.
16928
5a1c1e32
DM
16929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16930
eae47a36
DM
16931 * sysdeps/sparc/configure.in: New file.
16932 * sysdeps/sparc/configure: Generate.
16933 * configure.in (libc_cv_sparc_as_vis3): Substitute.
16934 * configure: Regenerate.
16935 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
16936 * config.make.in (have-as-vis3): New.
16937 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
16938 available use -Av9d instead of -Av9a.
16939 * sysdeps/sparc/sparc64/Makefile: Likewise.
16940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
16941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
16942 New file.
16943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
16944 file.
16945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
16946 New file.
16947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
16948 file.
eae47a36
DM
16949 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
16950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
16951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
16952 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
16953 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
16954
c0c83bc8
DM
16955 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
16956 fzeros/fnegs to load 0x80000000 into a float register instead of
16957 using the stack.
7bd951ff
DM
16958 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
16959
bd951ccb
JM
169602012-03-14 Joseph Myers <joseph@codesourcery.com>
16961
16962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16963 bits/syscall.h.
16964 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
16965 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
16966 ($(inst_includedir)/bits/syscall.h): Remove rule.
16967 ($(objpfx)bits/syscall.d): Include instead of
16968 $(objpfx)syscall-list.d.
16969 (generated): Change syscall-list.h and syscall-list.d to
16970 bits/syscall.h and bits/syscall.d.
16971
bb4e6db2
RM
169722012-03-14 Roland McGrath <roland@hack.frob.com>
16973
16974 [BZ #13846]
16975 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
16976
aa4a2ae1
JM
169772012-03-14 Joseph Myers <joseph@codesourcery.com>
16978
e456826d
JM
16979 [BZ #13841]
16980 * math/s_csqrt.c: Include <float.h>.
16981 (__csqrt): Scale large or subnormal inputs.
16982 * math/s_csqrtf.c: Likewise.
16983 * math/s_csqrtl.c: Likewise.
16984 * math/libm-test.inc (csqrt_test): Add more tests.
16985 * sysdeps/i386/fpu/libm-test-ulps: Update.
16986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16987
aa4a2ae1
JM
16988 [BZ #13840]
16989 * math/libm-test.inc (hypot_test): Add more tests.
16990
7c10fd35
DM
169912012-03-13 David S. Miller <davem@davemloft.net>
16992
16993 [BZ #13840]
16994 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
16995 double-precision for the calculation instead of scaling.
16996
f453b98b
JM
169972012-03-13 Joseph Myers <joseph@codesourcery.com>
16998
16999 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17000 manipulate bits before adding and subtracting TWO52[sx].
17001 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17003 Likewise.
17004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17005
09a3453f
DM
170062012-03-13 David S. Miller <davem@davemloft.net>
17007
8e59da90
DM
17008 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17009 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17010 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17011 rtld-global-offsets.h
17012 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17013
2a8ab7f2
DM
17014 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17015 large parameters.
17016
10f62770
DM
17017 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17018
5f0bdb18
DM
17019 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17020 'err' in the ifdef scope in which it is actually used.
17021
09a3453f
DM
17022 * nss/nss_db/db-init.c: Include string.h
17023
b4b2eb5e
DM
170242012-03-12 David S. Miller <davem@davemloft.net>
17025
98bb2f1c
DM
17026 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17027 masking out of the most significant byte of random value used.
17028 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17029 Fix coding style in previous change.
17030
b4b2eb5e
DM
17031 * sysdeps/unix/sysv/linux/kernel-features.h
17032 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17033 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17034 expression.
17035 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17036 later.
17037
6e226b09
DM
170382012-03-11 David S. Miller <davem@davemloft.net>
17039
a1bcbd40
DM
17040 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17041 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17042 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17043 for 'resultvar' otherwise things get truncated on 64-bit.
17044
cb9d6174
DM
17045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17046 Fix masking out of the most significant byte of random value used.
17047
6e226b09
DM
17048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17049
058c132d
AS
170502012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17051
17052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17053
2d2cd515
DM
170542012-03-09 David S. Miller <davem@davemloft.net>
17055
17056 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17057 variables with appropriate CPP guards.
17058 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17059 frame pointer, not the stack pointer. Correct layout comments. Fix test
17060 on resulting framesize and the management of the outregs buffer for pltexit.
17061 Preserve floating point return values across _dl_call_pltexit call.
17062 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17063 framesize and the management of the outregs buffer for pltexit.
17064 Preserve floating point return values across _dl_call_pltexit
17065 call.
17066 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17067 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17068 (print_exit): Fix format string for return register value.
17069
9a07f9d0
JM
170702012-03-10 Joseph Myers <joseph@codesourcery.com>
17071
17072 * sunrpc/Makefile (others): Add rpcgen.
17073 ($(objpfx)rpcgen): Remove special build rule and dependency on
17074 libc.
17075 * sunrpc/rpcgen.c: New file.
17076
547b5e30
PE
170772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17078
c524201a
PE
17079 [BZ #13673]
17080 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17081 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17082 * sysdeps/i386/crti.S: Likewise.
17083 * sysdeps/i386/crtn.S: Likewise.
17084 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17085 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17086 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17087 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17088 * sysdeps/sh/crti.S: Likewise.
17089 * sysdeps/sh/crtn.S: Likewise.
17090 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17091
7b6235f2
PE
17092 [BZ #13673]
17093 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17094 with URL.
17095 * locale/programs/locfile-kw.gperf: Likewise.
17096 * locale/programs/charmap-kw.h: Regenerated.
17097 * locale/programs/locfile-kw.h: Likewise.
17098
547b5e30
PE
17099 [BZ #13673]
17100 * intl/plural.y: Replace FSF snail mail address with URL.
17101 * intl/plural.c: Regenerated.
17102
5f0a5dae
RH
171032012-03-09 Richard Henderson <rth@twiddle.net>
17104
17105 * include/math_private.h: Remove file.
17106 * math/math_private.h: Move file ...
17107 * sysdeps/generic/math_private.h: ... here.
17108
b8c03620
RH
17109 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17110 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17111 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17112
4e234f5d 17113 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17114 and <math_private.h>.
17115 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17116 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17117 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17118 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17119 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17120 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17121 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17122 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17123 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17124 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17125 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17126 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17128 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17130 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17131 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17132 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17133 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17134 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17136 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17137 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17138 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17139 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17144 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17145 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17147 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17148 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17149 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17150 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17151 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17152 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17153 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17154 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17155 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17156 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17157 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17158 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17159 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17160 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17161 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17162 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17163 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17164 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17165 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17167 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17169 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17170 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17171 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17172 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17173 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17174 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17175 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17176 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17177 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17178 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17179 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17180 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17181 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17182 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17183 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17184 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17185 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17188 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17189 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17191 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17192 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17193 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17194 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17195 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17196 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17197 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17198 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17199 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17200 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17201 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17202 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17203 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17204 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17205 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17206 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17207 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17208 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17209 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17210 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17211 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17212 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17213 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17214 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17215 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17216 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17217 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17218 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17219 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17220 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17221 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17222 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17223 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17224 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17225 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17226 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17227 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17228 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17229 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17230 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17231 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17232 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17233 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17234 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17235 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17236 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17237 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17238 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17239 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17240 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17241 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17242 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17243 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17244 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17245 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17246 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17247 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17248 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17249 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17250 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17251 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17252 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17253 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17254 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17255 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17256 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17257 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17258 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17259 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17260 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17261 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17262 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17263 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17264 * sysdeps/ieee754/k_standard.c: Likewise.
17265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17272 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17273 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17274 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17275 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17276 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17277 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17278 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17279 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17280 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17281 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17284 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17285 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17286 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17287 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17288 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17289 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17290 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17292 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17296 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17297 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17298 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17300 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17301 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17302 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17303 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17304 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17308 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17309 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17310 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17311 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17312 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17313 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17315 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17316 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17317 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17318 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17319 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17320 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17321 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17322 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17326 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17327 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17328 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17329 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17330 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17331 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17332 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17333 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17334 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17335 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17336 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17339 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17340 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17341 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17342 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17343 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17344 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17345 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17346 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17350 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17351 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17352 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17353 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17355 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17356 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17357 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
17358 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
17360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
17361 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
17365 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
17366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
17367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
17369 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
17370 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17371 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17372 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
17373 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
17374 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
17375 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
17376 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
17377 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
17378 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
17379 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
17380 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17381 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
17382 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
17383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
17385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
17386 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
17387 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17388 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
17389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
17390 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
17391 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17392 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
17393 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
17394 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17395 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17396 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17397 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17398 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17399 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
17400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
17401 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
17402 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17403 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17404 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
17405 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
17406 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17407 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
17408 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
17409 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
17410 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17411 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17412 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
17413 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
17414 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
17415 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17416 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17417 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
17418 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17419 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
17420 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
17421 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
17422 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
17423 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
17424 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17425 * sysdeps/ieee754/s_lib_version.c: Likewise.
17426 * sysdeps/ieee754/s_matherr.c: Likewise.
17427 * sysdeps/ieee754/s_signgam.c: Likewise.
17428 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17429 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17430 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
17431 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
17432 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
17433 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17434 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
17435 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
17436 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
17437 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
17438 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17439 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
17440 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
17441 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17442 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
17443 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17444 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17445 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17447 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17448 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 17449
1991fa03
JM
174502012-03-09 Joseph Myers <joseph@codesourcery.com>
17451
17452 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
17453 * sunrpc/rpc_main.c: Likewise.
17454 * sunrpc/rpc_svcout.c: Likewise.
17455
60d6f5a6
DM
174562012-03-09 David S. Miller <davem@davemloft.net>
17457
17458 * include/math_private.h: New file.
17459
4962050e
JM
174602012-03-09 Joseph Myers <joseph@codesourcery.com>
17461
02a6f887
JM
17462 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
17463 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
17464 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
17465 from <bits/socket_type.h>.
17466 (enum __socket_type): Don't define here.
17467 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
17468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17469 bits/socket_type.h.
17470
c6e013c1
JM
17471 [BZ #13566]
17472 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
17473 checking __USE_GNU.
17474
4962050e
JM
17475 * Makerules ($(inst_includedir)/%.h): New rule.
17476 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
17477 (install-others): Remove variable setting.
17478 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
17479
38842f45
RH
174802012-03-08 Richard Henderson <rth@twiddle.net>
17481
67bb6da6
RH
17482 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
17483 from macro to inline function; merge with the
17484 !__LIBC_INTERNAL_MATH_INLINES version.
17485 (__ieee754_sqrtf): Likewise.
17486
15194b4b
RH
17487 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
17488 to inline function.
17489 (__rintf, __floor, __floorf): Likewise.
17490
64e21ede
RH
17491 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
17492 macro to inline function.
17493 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
17494
38842f45
RH
17495 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
17496 not <math/math_private.h>.
17497
c64bf5fe
DM
174982012-03-08 David S. Miller <davem@davemloft.net>
17499
17500 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
17501 copyright year.
17502 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
17503
82d86f28
TS
175042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
17505
17506 * resolv/gai_misc.c (handle_requests): Fix struct timespec
17507 normalization.
17508 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
17509 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
17510
aea5d727
UD
175112012-03-08 Ulrich Drepper <drepper@gmail.com>
17512
17513 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
17514 be defined individually, they must be defined as a block. Define
17515 S for printing a string instead of hidint the different by using a
17516 macro for adding the 'l'.
17517 * stdio-common/tst-fphex-wide.c: Adjust.
17518
70bca0a3
MP
175192012-03-07 Marek Polacek <polacek@redhat.com>
17520
17521 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
17522
65b81130
MP
175232012-03-08 Marek Polacek <polacek@redhat.com>
17524
17525 [BZ #13806]
17526 * stdio-common/Makefile (tests): Add tst-fphex-wide.
17527 * stdio-common/tst-fphex.c: Define a few macros to make the
17528 test reusable. Use them.
17529 * stdio-common/tst-fphex-wide.c: New file.
17530
07037eeb
JM
175312012-03-08 Joseph Myers <joseph@codesourcery.com>
17532
a7a93d50
JM
17533 [BZ #6911]
17534 * manual/macros.texi (gnusystems): New macro.
17535 (nongnusystems): Likewise.
17536 (gnulinuxhurdsystems): Likewise.
17537 (gnuhurdsystems): Likewise..
17538 (gnulinuxsystems): Likewise.
17539 * manual/charset.texi: Use new macros or @theglibc{} to refer to
17540 variants of the GNU system, not "GNU system".
17541 * manual/conf.texi: Likewise.
17542 * manual/errno.texi: Likewise. Update example of errno macro
17543 expansion.
17544 * manual/filesys.texi: Likewise.
17545 (getumask): Document as specific to GNU/Hurd.
17546 * manual/install.texi: Likewise. Reword some references to
17547 GNU/Linux.
17548 * manual/intro.texi: Likewise.
17549 * manual/io.texi: Likewise.
17550 (File Name Portability): Detail which constraints are inapplicable
17551 to all GNU systems and which are only inapplicable to GNU/Hurd.
17552 * manual/job.texi: Likewise.
17553 * manual/llio.texi: Likewise.
17554 (O_NOCTTY): Document as present on GNU/Linux.
17555 * manual/maint.texi: Likewise.
17556 * manual/memory.texi: Likewise.
17557 * manual/pattern.texi: Likewise.
17558 * manual/pipe.texi: Likewise.
17559 * manual/process.texi: Likewise.
17560 * manual/resource.texi: Likewise.
17561 (RUSAGE_CHILDREN): Remove statement about specifying a particular
17562 child on GNU/Hurd.
17563 * manual/setjmp.texi: Likewise.
17564 * manual/signal.texi: Likewise.
17565 * manual/startup.texi: Likewise.
17566 * manual/stdio.texi: Likewise.
17567 * manual/terminal.texi: Likewise.
17568 (ONLCR): Document as POSIX.
17569 (OXTABS): Document availability on GNU/Linux as XTABS.
17570 (ONOEOT): Document availability separately from other bits.
17571 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
17572 * manual/time.texi: Likewise.
17573 * manual/users.texi: Likewise.
17574 * INSTALL: Regenerated.
17575 * sysdeps/gnu/errlist.c: Regenerated.
17576
07037eeb
JM
17577 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
17578 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
17579 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
17580 puts.
17581 * configure: Regenerated.
17582
d1d3431a
JM
175832012-03-07 Joseph Myers <joseph@codesourcery.com>
17584
af6a1e37
JM
17585 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
17586 default includes instead of AC_HEADER_CHECK.
17587 * sysdeps/i386/configure: Regenerated.
17588
d1d3431a
JM
17589 [BZ #10716]
17590 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
17591 * math/s_cacoshf.c (__cacoshf): Likewise.
17592 * math/s_cacoshl.c (__cacoshl): Likewise.
17593 * math/s_casinh.c (__casinh): Set signs of result from argument.
17594 * math/s_casinhf.c (__casinhf): Likewise.
17595 * math/s_casinhl.c (__casinhl): Likewise.
17596 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
17597 (casinh_test): Add more tests.
17598 * sysdeps/i386/fpu/libm-test-ulps: Update.
17599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17600
482ff4da
UD
176012012-03-07 Ulrich Drepper <drepper@gmail.com>
17602
872fda05
UD
17603 * po/zh_TW.po: Update from translation team.
17604
a4300c7a
UD
17605 * login/Makefile (distribute): Remove variable.
17606 * catgets/Makefile: Likewise.
17607 * mach/Makefile: Likewise.
17608 * malloc/Makefile: Likewise.
17609 * misc/Makefile: Likewise.
17610 * iconv/Makefile: Likewise.
17611 * nscd/Makefile: Likewise.
17612 * hurd/Makefile: Likewise.
17613 * manual/Makefile: Likewise.
17614 * locale/Makefile: Likewise.
17615 * intl/Makefile: Likewise.
17616 * conform/Makefile: Likewise.
17617 * nss/Makefile: Likewise.
17618 * time/Makefile: Likewise.
17619 * soft-fp/Makefile: Likewise.
17620 * dirent/Makefile: Likewise.
17621 * gmon/Makefile: Likewise.
17622 * po/Makefile: Likewise.
17623 * rt/Makefile: Likewise.
17624 * socket/Makefile: Likewise.
17625 * math/Makefile: Likewise.
17626 * signal/Makefile: Likewise.
17627 * debug/Makefile: Likewise.
17628 * elf/Makefile: Likewise.
17629 * timezone/Makefile: Likewise.
17630 * stdlib/Makefile: Likewise.
17631 * iconvdata/Makefile: Likewise.
17632 * sunrpc/Makefile: Likewise.
17633 * io/Makefile: Likewise.
17634 * argp/Makefile: Likewise.
17635 * inet/Makefile: Likewise.
17636 * hesiod/Makefile: Likewise.
17637 * grp/Makefile: Likewise.
17638 * csu/Makefile: Likewise.
17639 * wctype/Makefile: Likewise.
17640 * crypt/Makefile: Likewise.
17641 * libio/Makefile: Likewise.
17642 * string/Makefile: Likewise.
17643 * nis/Makefile: Likewise.
17644 * resolv/Makefile: Likewise.
17645 * stdio-common/Makefile: Likewise.
17646 * wcsmbs/Makefile: Likewise.
17647 * dlfcn/Makefile: Likewise.
17648 * posix/Makefile: Likewise.
17649
3b7c4e74 17650 [BZ #6959]
482ff4da
UD
17651 * timezone/Makefile: Don't install timezone files, just the programs
17652 and scripts.
17653
f72ed77d
UD
176542012-03-06 Ulrich Drepper <drepper@gmail.com>
17655
a000466f
UD
17656 * nss/databases.def: Add missing gshadow entry.
17657
f72ed77d
UD
17658 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
17659
a53b7a4e
MP
176602012-03-06 Marek Polacek <polacek@redhat.com>
17661
17662 [BZ #13726]
17663 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
17664 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
17665 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
17666 * stdio-common/tst-long-dbl-fphex.c: New file.
17667
e9258400
DM
176682012-03-06 David S. Miller <davem@davemloft.net>
17669
17670 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
17671 (set_obp_int): New function.
17672 (get_obp_int): New function.
17673 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
17674 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
17675 Avoid unused variable warnings on 'val' and use builtin_expect.
17676 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
17677 __builtin_expect.
e9258400
DM
17678 (INLINE_CLONE_SYSCALL): Likewise.
17679
3bd2c723
DM
176802012-03-05 David S. Miller <davem@davemloft.net>
17681
17682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17683
bbb78d03
AS
176842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
17685
884c5db4
AS
17686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17687
bbb78d03
AS
17688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
17689 only for |x| >= 40.
17690 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17691
1c9f702a 176922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
17693
17694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
17695 Replace gettimeofday with __vdso_gettimeofday.
17696
7be16f82
RM
17697 * sysdeps/unix/sysv/linux/x86_64/init-first.c
17698 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
17699 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
17700
17701 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
17702 time with __vdso_time.
17703
ed58a00f
JM
177042012-03-05 Joseph Myers <joseph@codesourcery.com>
17705
17706 * manual/lang.texi (size_t): Note types to which size_t may be
17707 equivalent with the GNU C Library, but do not describe when
17708 differences between them are significant.
17709
30ee4ced
AJ
177102012-03-05 Andreas Jaeger <aj@suse.de>
17711
17712 * sysdeps/i386/fpu/libm-test-ulps: Update.
17713
b7cd39e8
JM
177142012-03-05 Joseph Myers <joseph@codesourcery.com>
17715
17716 [BZ #3976]
17717 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
17718 (__ieee754_pow): Save and restore rounding mode and use
17719 round-to-nearest for main computations.
17720 * math/libm-test.inc (pow_test_tonearest): New function.
17721 (pow_test_towardzero): Likewise.
17722 (pow_test_downward): Likewise.
17723 (pow_test_upward): Likewise.
17724 (main): Call the new functions.
17725 * sysdeps/i386/fpu/libm-test-ulps: Update.
17726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
17727
17728 [BZ #3976]
17729 * math/libm-test.inc (cosh_test_tonearest): New function.
17730 (cosh_test_towardzero): Likewise.
17731 (cosh_test_downward): Likewise.
17732 (cosh_test_upward): Likewise.
17733 (sinh_test_tonearest): Likewise.
17734 (sinh_test_towardzero): Likewise.
17735 (sinh_test_downward): Likewise.
17736 (sinh_test_upward): Likewise.
17737 (main): Call the new functions.
17738 * sysdeps/i386/fpu/libm-test-ulps: Update.
17739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17740
6c6a98c9
TV
177412012-03-05 Tom de Vries <tom@codesourcery.com>
17742
17743 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
17744 default stack guard is set in last bytes.
17745 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
17746
21bb2d2e 177472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 17748
21bb2d2e 17749 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 17750
21bb2d2e
AJ
17751 [BZ #13656]
17752 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
17753 possibly allocate from heap instead of stack.
17754 * stdio-common/bug-vfprintf-nargs.c: New file.
17755 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 17756
c6922934
AS
177572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
17758
17759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17760
bc957d53
MP
177612012-03-03 Marek Polacek <polacek@redhat.com>
17762
17763 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
17764 * math/math_private.h: Likewise.
17765 * stdlib/tst-strtod.c: Likewise.
17766 * sysdeps/i386/i486/bits/atomic.h: Likewise.
17767 * sysdeps/x86_64/bits/atomic.h: Likewise.
17768
6358490d
DM
177692012-03-02 David S. Miller <davem@davemloft.net>
17770
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
17772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
17777 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
17778 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
17779
01ae168d
RM
177802012-03-02 Roland McGrath <roland@hack.frob.com>
17781
d9a17c07
RM
17782 [BZ #13792]
17783 * manual/examples/README: New file, says the example source files
17784 can be used under GPL>=2.
17785 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
17786 line containing just "*/".
17787 * manual/examples/add.c: Add copyright header (GPL>=2).
17788 * manual/examples/argp-ex1.c: Likewise.
17789 * manual/examples/argp-ex2.c: Likewise.
17790 * manual/examples/argp-ex3.c: Likewise.
17791 * manual/examples/argp-ex4.c: Likewise.
17792 * manual/examples/atexit.c: Likewise.
17793 * manual/examples/db.c: Likewise.
17794 * manual/examples/dir.c: Likewise.
17795 * manual/examples/dir2.c: Likewise.
17796 * manual/examples/execinfo.c: Likewise.
17797 * manual/examples/filecli.c: Likewise.
17798 * manual/examples/filesrv.c: Likewise.
17799 * manual/examples/fmtmsgexpl.c: Likewise.
17800 * manual/examples/genpass.c: Likewise.
17801 * manual/examples/inetcli.c: Likewise.
17802 * manual/examples/inetsrv.c: Likewise.
17803 * manual/examples/isockad.c: Likewise.
17804 * manual/examples/longopt.c: Likewise.
17805 * manual/examples/memopen.c: Likewise.
17806 * manual/examples/memstrm.c: Likewise.
17807 * manual/examples/mkfsock.c: Likewise.
17808 * manual/examples/mkisock.c: Likewise.
17809 * manual/examples/mygetpass.c: Likewise.
17810 * manual/examples/pipe.c: Likewise.
17811 * manual/examples/popen.c: Likewise.
17812 * manual/examples/rprintf.c: Likewise.
17813 * manual/examples/search.c: Likewise.
17814 * manual/examples/select.c: Likewise.
17815 * manual/examples/setjmp.c: Likewise.
17816 * manual/examples/sigh1.c: Likewise.
17817 * manual/examples/sigusr.c: Likewise.
17818 * manual/examples/stpcpy.c: Likewise.
17819 * manual/examples/strdupa.c: Likewise.
17820 * manual/examples/strftim.c: Likewise.
17821 * manual/examples/strncat.c: Likewise.
17822 * manual/examples/subopt.c: Likewise.
17823 * manual/examples/swapcontext.c: Likewise.
17824 * manual/examples/termios.c: Likewise.
17825 * manual/examples/testopt.c: Likewise.
17826 * manual/examples/testpass.c: Likewise.
17827 * manual/examples/timeval_subtract.c: Likewise.
17828
01ae168d
RM
17829 [BZ #13792]
17830 * manual/time.texi (Elapsed Time): Move timeval_subtract example
17831 function to ...
17832 * manual/timeval_subtract.c.texi: ... here, new file.
17833
49efa33d
DM
178342012-03-02 David S. Miller <davem@davemloft.net>
17835
17836 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
17837
28afd92d
JM
178382012-03-02 Joseph Myers <joseph@codesourcery.com>
17839
804360ed
JM
17840 [BZ #3976]
17841 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
17842 (__sin): Save and restore rounding mode and use round-to-nearest
17843 for all computations.
17844 (__cos): Save and restore rounding mode and use round-to-nearest
17845 for all computations.
17846 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
17847 <fenv.h>.
17848 (tan): Save and restore rounding mode and use round-to-nearest for
17849 all computations.
17850 * math/libm-test.inc (cos_test_tonearest): New function.
17851 (cos_test_towardzero): Likewise.
17852 (cos_test_downward): Likewise.
17853 (cos_test_upward): Likewise.
17854 (sin_test_tonearest): Likewise.
17855 (sin_test_towardzero): Likewise.
17856 (sin_test_downward): Likewise.
17857 (sin_test_upward): Likewise.
17858 (tan_test_tonearest): Likewise.
17859 (tan_test_towardzero): Likewise.
17860 (tan_test_downward): Likewise.
17861 (tan_test_upward): Likewise.
17862 (main): Call the new functions.
17863 * sysdeps/i386/fpu/libm-test-ulps: Update.
17864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17865
a6d06d7b
JM
17866 [BZ #10135]
17867 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
17868 small n, then large n, before computing and testing k+n.
17869 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
17871 Likewise.
17872 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
17873 Likewise.
17874 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
17875 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
17876 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
17877 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
17878 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
17879 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
17880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
17881 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
17882 * math/libm-test.inc (scalbn_test): Add more tests.
17883 (scalbln_test): Likewise.
17884
07e12bb3
JM
17885 * manual/filesys.texi (mode_t): Describe constraints on size and
17886 signedness, not exact equivalence to a particular type.
17887 (ino_t): Likewise.
17888 (ino64_t): Likewise.
17889 (dev_t): Likewise.
17890 (nlink_t): Likewise.
17891 (blkcnt_t): Likewise.
17892 (blkcnt64_t): Likewise.
17893 * manual/llio.texi (off_t): Likewise.
17894
28afd92d
JM
17895 [BZ #3976]
17896 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
17897 (__ieee754_exp): Save and restore rounding mode and use
17898 round-to-nearest for all computations.
17899 * math/libm-test.inc (exp_test_tonearest): New function.
17900 (exp_test_towardzero): Likewise.
17901 (exp_test_downward): Likewise.
17902 (exp_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
b1eeb65d
CD
179072012-03-01 Chris Demetriou <cgd@google.com>
17908
17909 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
17910 have predictable order.
17911
53362a4b
DM
179122012-03-01 David S. Miller <davem@davemloft.net>
17913
3c969083
DM
17914 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
17915
759707de
DM
17916 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
17917 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
17918 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
17919 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
17920
dfdb8ff2
DM
17921 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
17922 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
17923 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
17924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
17925 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
17926 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
17927 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
17928 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
17929 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
17930
ead89f96
DM
17931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17932
7f66bd07
DM
17933 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
17934 * sysdeps/sparc/fpu/libm-test-ulps: to here.
17935 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
17936
53362a4b
DM
17937 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
17938 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17939 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
17940 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
17941 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
17942 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
17943 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
17944 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17945 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
17946 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
17947 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
17948 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
17949 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17950 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
17951 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17952 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17953 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
17954 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
17955 * sysdeps/sparc/elf/configure: Regenerated.
17956
7b1902cb
JM
179572012-03-01 Joseph Myers <joseph@codesourcery.com>
17958
bec039bc
JM
17959 * configure.in (AS, LD): Require binutils 2.20 or later.
17960 * configure: Regenerated.
17961 * manual/install.texi (Tools for Compilation): Give binutils 2.20
17962 as required minimum version.
17963 * INSTALL: Regenerated.
17964
7b1902cb
JM
17965 [BZ #2541]
17966 [BZ #4108]
17967 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
17968 before squaring exponent.
17969 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
17970 bottom long double and 27 bits of top long double before squaring
17971 exponent.
17972 * math/libm-test.inc (erfc_test): Add more tests.
17973 * sysdeps/i386/fpu/libm-test-ulps: Update.
17974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17976
f775c276
KT
179772012-03-01 Kai Tietz <ktietz@redhat.com>
17978
17979 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
17980 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
17981 containing bit-fields.
17982 * soft-fp/extended.h (_FP_UNION_E): Likewise.
17983 * soft-fp/single.h (_FP_UNION_S): Likewise.
17984 * soft-fp/double.h (_FP_UNION_D): Likewise.
17985
5b8a4d4a
JM
179862012-02-29 Joseph Myers <joseph@codesourcery.com>
17987
0bab47b6
JM
17988 [BZ #13786]
17989 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
17990 not include ../strcmp.S.
17991 [USE_AS_STRNCASECMP_L]: Likewise.
17992 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
17993 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
17994 * sysdeps/i386/i686/multiarch/strncase_l-c.c
17995 (__strncasecmp_l_ia32): Define as alias to
17996 __strncasecmp_l_nonascii.
17997
0fcad3e2
JM
17998 [BZ #5794]
17999 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18000 * sysdeps/i386/fpu/libm-test-ulps: Update.
18001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18002
5b8a4d4a
JM
18003 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18005
8fdceb2e
JL
180062012-02-29 Jeff Law <law@redhat.com>
18007
18008 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18009 out of bounds read.
18010
1f393a11
MP
180112012-02-29 Marek Polacek <polacek@redhat.com>
18012
18013 [BZ #13706]
18014 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18015 * elf/Makefile: Add rules to run tst-unused-dep.out.
18016
8847f037
DM
180172012-02-28 David S. Miller <davem@davemloft.net>
18018
18019 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18020 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18021 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18022 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18023 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18024 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18025
169d7f11
JM
180262012-02-29 Joseph Myers <joseph@codesourcery.com>
18027
18028 * math/libm-test.inc (llround_test): Move one test from
18029 lround_test. Use TEST_f_L in moved test.
18030 (lround_test): Move misplaced test to llround_test. Add testcase
18031 from bug 2561.
18032
39adf059
UD
180332012-02-28 Ulrich Drepper <drepper@gmail.com>
18034
18035 * sysdeps/x86_64/fpu/e_expf.S: New file.
18036 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18037
71b5d1c5
SB
180382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18039
18040 [BZ #13637]
18041 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18042 of remain_len that may cause incomplete multi-byte character and
18043 false match.
18044 * posix/bug-regex33.c: New file.
18045 * posix/Makefile (tests): Add bug-regex33.
18046
1f77f049
JM
180472012-02-28 Joseph Myers <joseph@codesourcery.com>
18048
18049 * manual/macros.texi: New file.
18050 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18051 * manual/libc.texinfo: Include macros.texi.
18052 * manual/creatute.texi: Likewise.
18053 * manual/install.texi: Likewise.
18054 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18055 @glibcadj{} in references to the GNU C Library.
18056 * manual/charset.texi: Likewise.
18057 * manual/conf.texi: Likewise.
18058 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18059 when not using those macros.
18060 * manual/creature.texi: Likewise.
18061 * manual/crypt.texi: Likewise.
18062 * manual/errno.texi: Likewise.
18063 * manual/filesys.texi: Likewise.
18064 * manual/header.texi: Likewise.
18065 * manual/install.texi: Likewise.
18066 * manual/intro.texi: Likewise.
18067 * manual/io.texi: Likewise.
18068 * manual/job.texi: Likewise.
18069 * manual/lang.texi: Likewise.
18070 * manual/libc.texiinfo: Likewise.
18071 * manual/llio.texi: Likewise.
18072 * manual/locale.texi: Likewise.
18073 * manual/maint.texi: Likewise.
18074 * manual/math.texi: Likewise.
18075 * manual/memory.texi: Likewise.
18076 * manual/message.texi: Likewise.
18077 * manual/nss.texi: Likewise.
18078 * manual/pattern.texi: Likewise.
18079 * manual/process.texi: Likewise.
18080 * manual/resource.texi: Likewise.
18081 * manual/search.texi: Likewise.
18082 * manual/setjmp.texi: Likewise.
18083 * manual/signal.texi: Likewise.
18084 * manual/socket.texi: Likewise.
18085 * manual/startup.texi: Likewise.
18086 * manual/stdio.texi: Likewise.
18087 * manual/string.texi: Likewise.
18088 * manual/sysinfo.texi: Likewise.
18089 * manual/syslog.texi: Likewise.
18090 * manual/terminal.texi: Likewise.
18091 * manual/time.texi: Likewise.
18092 * manual/users.texi: Likewise.
18093 * INSTALL: Regenerated.
18094 * NOTES: Regenerated.
d40c5d54 18095 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18096
450bf206
AS
180972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18098
18099 * include/dirent.h: Include <dirstream.h> before
18100 <dirent/dirent.h>.
18101
741a235b
DM
181022012-02-28 David S. Miller <davem@davemloft.net>
18103
18104 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18105 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18106 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18107 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18108
d6b5aa58
DM
181092012-02-27 David S. Miller <davem@davemloft.net>
18110
1aff59a3
DM
18111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18113 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18114 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18115
d6b5aa58
DM
18116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18117 frame pointer instead of stack pointer relative arg slot.
18118 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18119 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18120 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18121
433f48bf
CD
181222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18123
18124 [BZ #3992]
18125 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18126
d674b76d
DM
181272012-02-27 David S. Miller <davem@davemloft.net>
18128
18129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18135 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18137
0e7727f7
JM
181382012-02-27 Joseph Myers <joseph@codesourcery.com>
18139
18140 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18141 later. Allow versions 5-9.
43be4ca2 18142 * configure: Regenerated.
0e7727f7
JM
18143 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18144 required minimum version and 4.6 as recommended version. Do not
18145 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18146 * INSTALL: Regenerated.
0e7727f7 18147
a78bc654
DM
181482012-02-27 David S. Miller <davem@davemloft.net>
18149
428d5830
DM
18150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18156 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18157 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18158
a78bc654
DM
18159 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18160 manipulate bits before adding and subtracting TWO112[sx].
18161 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18162
4579f81c
RM
181632012-02-27 Roland McGrath <roland@hack.frob.com>
18164
36c8acb4
RM
18165 [BZ #13775]
18166 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18167 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18168 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18169 being in POSIX, because they are in 1003.1-2008.
18170
84ad622b
RM
18171 * rt/tst-aio.c: Include <fcntl.h>.
18172 * rt/tst-aio7.c: Likewise.
18173 * rt/tst-aio64.c: Likewise.
18174
4579f81c
RM
18175 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18176
abd923db
JM
181772012-02-27 Joseph Myers <joseph@codesourcery.com>
18178
18179 * manual/install.texi (--with-headers): Describe headers as
18180 interface headers, not private headers.
18181 (Specific advice for GNU/Linux systems): Describe use of headers
18182 from "make headers_install", not private headers from older
18183 kernels.
43be4ca2 18184 * INSTALL: Regenerated.
abd923db
JM
18185 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18186 Change to 2.6.19.
18187 * sysdeps/unix/sysv/linux/configure: Regenerated.
18188
6664049b
JM
18189 * manual/llio.texi (fclean): Remove documentation.
18190
bb8b6697
JM
18191 * manual/Makefile (libc-texi-generated): New variable. Include
18192 version.texi.
18193 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18194 $(libc-texi-generated), not duplicated list of files.
18195 (version.texi, stamp-version): New rules.
18196 (realclean): Remove $(libc-texi-generated), not individual files
18197 from that list. Do not remove dir-add.texinfo.
18198 * manual/libc.texinfo: Comment out uses of edition numbers and
18199 references to printed manual. Remove last-updated dates.
18200 (EDITION): Comment out.
18201 (ISBN): Likewise.
18202 (VERSION, UPDATED): Remove.
18203 (version.texi): Include.
18204
12e5c3b9
AS
182052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18206
18207 * sysdeps/posix/spawni.c: Include <signal.h>.
18208 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18209 * sysdeps/pthread/aio_fsync.c: Likewise.
18210
4efeffc1 182112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18212
ba63ba08
UD
18213 * conform/Makefile (tests): Run only when not cross-compiling and
18214 when fast-check is not defined.
18215
d94a4670
UD
18216 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18217 * conform/data/limits.h-data: Fixes for POSIX2008.
18218 * conform/run-conformtest.sh: Run all tests.
18219 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18220 headers.
18221 * include/bits/dlfcn.h: Likewise.
18222 * include/langinfo.h: Likewise.
18223 * include/monetary.h: Likewise.
18224 * include/sys/poll.h: Likewise.
18225
18226 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18227 for __USE_GNU.
18228 * posix/spawn.h: Define __need_sigset_t.
18229 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18230 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18231 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18232 to get sigevent_t only.
18233 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18234 only for __USE_GNU.
18235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18236 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18237 process_vm_writev only for __USE_GNU.
18238 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18239
18240 * conform/Makefile: For now ignore errors from run-conformtest.
18241 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18242 POSIX to avoid namespace pollution. Don't prepend headers.
18243 * conform/data/aio.h-data: Fixes for POSIX testing.
18244 * conform/data/fcntl.h-data: Likewise.
18245 * conform/data/glob.h-data: Likewise.
18246 * conform/data/grp.h-data: Likewise.
18247 * conform/data/pthread.h-data: Likewise.
18248 * conform/data/pwd.h-data: Likewise.
18249 * conform/data/signal.h-data: Likewise.
18250 * conform/data/spawn.h-data: Likewise.
18251 * conform/data/stdio.h-data: Likewise.
18252 * conform/data/stdlib.h-data: Likewise.
18253 * conform/data/stropts.h-data: Likewise.
18254 * conform/data/sys/mman.h-data: Likewise.
18255 * conform/data/sys/stat.h-data: Likewise.
18256 * conform/data/sys/types.h-data: Likewise.
18257 * conform/data/sys/wait.h-data: Likewise.
18258 * conform/data/time.h-data: Likewise.
18259 * conform/data/unistd.h-data: Likewise.
18260 * conform/data/utime.h-data: Likewise.
18261
18262 * io/sys/stat.h: fchmod was always in POSIX.
18263 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18264 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18265 * rt/aio.h: Define __need_timespec before including <time.h>.
18266 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18267 struct. Add forward declaration of pthread_attr_t and use it in
18268 sigevent.
18269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18271 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18272 always remove CLK_TCK definition.
18273
c20105c3
AS
182742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18275
18276 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18277
7a270350
UD
182782012-02-25 Ulrich Drepper <drepper@gmail.com>
18279
31341567
UD
18280 * conform/run-conformtest.sh: New file.
18281 * conform/Makefile: Run run-conformtest for tests.
18282 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18283 support.
18284
18285 * conform/data/uchar.h-data: New file.
18286 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18287 * conform/data/arpa/inet.h-data: Likewise.
18288 * conform/data/assert.h-data: Likewise.
18289 * conform/data/complex.h-data: Likewise.
18290 * conform/data/cpio.h-data: Likewise.
18291 * conform/data/ctype.h-data: Likewise.
18292 * conform/data/dirent.h-data: Likewise.
18293 * conform/data/dlfcn.h-data: Likewise.
18294 * conform/data/errno.h-data: Likewise.
18295 * conform/data/fcntl.h-data: Likewise.
18296 * conform/data/float.h-data: Likewise.
18297 * conform/data/fmtmsg.h-data: Likewise.
18298 * conform/data/fnmatch.h-data: Likewise.
18299 * conform/data/ftw.h-data: Likewise.
18300 * conform/data/glob.h-data: Likewise.
18301 * conform/data/grp.h-data: Likewise.
18302 * conform/data/iconv.h-data: Likewise.
18303 * conform/data/inttypes.h-data: Likewise.
18304 * conform/data/langinfo.h-data: Likewise.
18305 * conform/data/libgen.h-data: Likewise.
18306 * conform/data/limits.h-data: Likewise.
18307 * conform/data/locale.h-data: Likewise.
18308 * conform/data/math.h-data: Likewise.
18309 * conform/data/monetary.h-data: Likewise.
18310 * conform/data/mqueue.h-data: Likewise.
18311 * conform/data/ndbm.h-data: Likewise.
18312 * conform/data/net/if.h-data: Likewise.
18313 * conform/data/netdb.h-data: Likewise.
18314 * conform/data/netinet/in.h-data: Likewise.
18315 * conform/data/nl_types.h-data: Likewise.
18316 * conform/data/poll.h-data: Likewise.
18317 * conform/data/pthread.h-data: Likewise.
18318 * conform/data/pwd.h-data: Likewise.
18319 * conform/data/regex.h-data: Likewise.
18320 * conform/data/sched.h-data: Likewise.
18321 * conform/data/search.h-data: Likewise.
18322 * conform/data/semaphore.h-data: Likewise.
18323 * conform/data/setjmp.h-data: Likewise.
18324 * conform/data/signal.h-data: Likewise.
18325 * conform/data/spawn.h-data: Likewise.
18326 * conform/data/stdarg.h-data: Likewise.
18327 * conform/data/stdio.h-data: Likewise.
18328 * conform/data/stdlib.h-data: Likewise.
18329 * conform/data/string.h-data: Likewise.
18330 * conform/data/strings.h-data: Likewise.
18331 * conform/data/stropts.h-data: Likewise.
18332 * conform/data/sys/ipc.h-data: Likewise.
18333 * conform/data/sys/mman.h-data: Likewise.
18334 * conform/data/sys/msg.h-data: Likewise.
18335 * conform/data/sys/resource.h-data: Likewise.
18336 * conform/data/sys/select.h-data: Likewise.
18337 * conform/data/sys/sem.h-data: Likewise.
18338 * conform/data/sys/shm.h-data: Likewise.
18339 * conform/data/sys/socket.h-data: Likewise.
18340 * conform/data/sys/stat.h-data: Likewise.
18341 * conform/data/sys/statvfs.h-data: Likewise.
18342 * conform/data/sys/time.h-data: Likewise.
18343 * conform/data/sys/timeb.h-data: Likewise.
18344 * conform/data/sys/times.h-data: Likewise.
18345 * conform/data/sys/types.h-data: Likewise.
18346 * conform/data/sys/uio.h-data: Likewise.
18347 * conform/data/sys/un.h-data: Likewise.
18348 * conform/data/sys/utsname.h-data: Likewise.
18349 * conform/data/sys/wait.h-data: Likewise.
18350 * conform/data/syslog.h-data: Likewise.
18351 * conform/data/tar.h-data: Likewise.
18352 * conform/data/termios.h-data: Likewise.
18353 * conform/data/utime.h-data: Likewise.
18354 * conform/data/utmpx.h-data: Likewise.
18355 * conform/data/varargs.h-data: Likewise.
18356 * conform/data/wchar.h-data: Likewise.
18357 * conform/data/wctype.h-data: Likewise.
18358 * conform/data/wordexp.h-data: Likewise.
18359
18360 * include/stropts.h: New file.
18361 * include/uchar.h: New file.
18362 * include/aio.h: Changes to allow conformtest.pl to use the headers.
18363 * include/assert.h: Likewise.
18364 * include/ctype.h: Likewise.
18365 * include/dirent.h: Likewise.
18366 * include/dlfcn.h: Likewise.
18367 * include/fcntl.h: Likewise.
18368 * include/fnmatch.h: Likewise.
18369 * include/glob.h: Likewise.
18370 * include/grp.h: Likewise.
18371 * include/libio.h: Likewise.
18372 * include/locale.h: Likewise.
18373 * include/math.h: Likewise.
18374 * include/net/if.h: Likewise.
18375 * include/netdb.h: Likewise.
18376 * include/netinet/in.h: Likewise.
18377 * include/pthread.h: Likewise.
18378 * include/pwd.h: Likewise.
18379 * include/regex.h: Likewise.
18380 * include/sched.h: Likewise.
18381 * include/search.h: Likewise.
18382 * include/setjmp.h: Likewise.
18383 * include/signal.h: Likewise.
18384 * include/stdio.h: Likewise.
18385 * include/stdlib.h: Likewise.
18386 * include/string.h: Likewise.
18387 * include/sys/cdefs.h: Likewise.
18388 * include/sys/mman.h: Likewise.
18389 * include/sys/msg.h: Likewise.
18390 * include/sys/resource.h: Likewise.
18391 * include/sys/select.h: Likewise.
18392 * include/sys/socket.h: Likewise.
18393 * include/sys/stat.h: Likewise.
18394 * include/sys/statvfs.h: Likewise.
18395 * include/sys/time.h: Likewise.
18396 * include/sys/times.h: Likewise.
18397 * include/sys/uio.h: Likewise.
18398 * include/sys/utsname.h: Likewise.
18399 * include/sys/wait.h: Likewise.
18400 * include/termios.h: Likewise.
18401 * include/time.h: Likewise.
18402 * include/ulimit.h: Likewise.
18403 * include/unistd.h: Likewise.
18404 * include/utime.h: Likewise.
18405 * include/wchar.h: Likewise.
18406 * include/wctype.h: Likewise.
18407 * include/wordexp.h: Likewise.
18408
18409 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
18410
7a270350
UD
18411 * time/time.h: TIME_UTC must be a macro.
18412 Make timespec_get available for ISO C11 only as well.
18413
7724defc
UD
184142012-02-24 Ulrich Drepper <drepper@gmail.com>
18415
18416 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
18417 Reported by Peng Haitao <penght@cn.fujitsu.com>.
18418
6b1d1d46
JM
184192012-02-24 Joseph Myers <joseph@codesourcery.com>
18420
18421 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 18422
0f8bbd69
JM
184232012-02-24 Joseph Myers <joseph@codesourcery.com>
18424
18425 * manual/texinfo.tex: Update to version 2012-01-19.16.
18426
66ab80bc
JM
184272012-02-24 Joseph Myers <joseph@codesourcery.com>
18428
18429 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
18430
74981cc5
RM
184312012-02-24 Roland McGrath <roland@hack.frob.com>
18432
ee968201
RM
18433 [BZ #13738]
18434 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
18435 * manual/fdl-1.3.texi: New file.
18436 * manual/fdl-1.1.texi: File removed.
18437
74981cc5
RM
18438 [BZ #13738]
18439 * manual/libc.texinfo (FDL_VERSION): New @set.
18440 Use it for mention of FDL in cover text.
18441 (Documentation License): Use it in @include file name.
18442
7bb764bc
JM
184432012-02-22 Joseph Myers <joseph@codesourcery.com>
18444 Roland McGrath <roland@hack.frob.com>
18445
18446 [BZ #5461]
18447 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
18448 not LONG_LONG_MAX and LONG_LONG_MIN.
18449 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
18450 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
18451 name.
18452 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
18453
6cbeae47
JM
184542012-02-22 Joseph Myers <joseph@codesourcery.com>
18455
18456 [BZ #2547]
18457 [BZ #11365]
18458 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
18459 manipulate bits before adding and subtracting TWO23[sx].
18460 * math/libm-test.inc (nearbyint_test): Add more tests.
18461
fe45ce09
JM
184622012-02-22 Joseph Myers <joseph@codesourcery.com>
18463
18464 [BZ #2548]
18465 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
18466 bits before adding and subtracting TWO23[sx].
18467 * math/libm-test.inc (rint_test): Add more tests.
18468 (rint_test_tonearest): Likewise.
18469 (rint_test_towardzero): Likewise.
18470 (rint_test_downward): Likewise.
18471 (rint_test_upward: Likewise.
18472
ff3b3d82
JM
184732012-02-22 Joseph Myers <joseph@codesourcery.com>
18474
18475 [BZ #10110]
18476 * include/stdc-predef.h: New file. Extracted from features.h.
18477 * include/features.h: Include stdc-predef.h.
18478 * Makefile (headers): Add stdc-predef.h.
18479 * CONFORMANCE (Compiler limitations): Update.
18480
ef0aab35
JM
184812012-02-22 Joseph Myers <joseph@codesourcery.com>
18482
18483 * manual/libc.texinfo (VERSION, UPDATED): Revert.
18484
58639409
DM
184852012-02-21 David S. Miller <davem@davemloft.net>
18486
18487 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
18488 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18489
c0e70b25
DM
184902012-02-20 David S. Miller <davem@davemloft.net>
18491
18492 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
18493 using a normal save/restore sequence, rather than allocating a
18494 dummy stack frame just to store a frame pointer and restore.
18495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18496
fb06851d
JM
184972012-02-21 Joseph Myers <joseph@codesourcery.com>
18498
18499 * manual/install.texi: Fix stray word in line-wrapped comment.
18500
7a8b71c3
DM
185012012-02-20 David S. Miller <davem@davemloft.net>
18502
d510c123
DM
18503 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
18504 both binutils and gcc support GOTDATA.
18505
0722d7c2
DM
18506 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
18507 "rd %pc" in the PIC register setup sequences.
18508
3d2b3019
DM
18509 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
18510 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
18511 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18512 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
18513 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18514 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
18515 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18516 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
18518 (SYSCALL_ERROR_HANDLER): Likewise.
18519 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
18522 (SYSCALL_ERROR_HANDLER): Likewise.
18523
c80098a9
DM
18524 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
18525 (HAVE_GCC_GOTDATA): New.
18526 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
18527 relocation support in both binutils and gcc.
18528 * sysdeps/sparc/elf/configure: Regenerate.
18529
3a2545a0
DM
18530 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
18531 * sysdeps/sparc/sparc32/elf/configure: Delete.
18532 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
18533 * sysdeps/sparc/sparc64/elf/configure: Delete.
18534 * sysdeps/sparc/elf/configure.in: New file.
18535 * sysdeps/sparc/elf/configure: Generate.
18536
7a8b71c3
DM
18537 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
18538 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
18539 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
18540 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
18541 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
18542
f1e86fca
JM
185432012-02-21 Joseph Myers <joseph@codesourcery.com>
18544
18545 * manual/install.texi: Do not mention specific glibc version
18546 numbers.
18547 * manual/libc.texinfo (VERSION, UPDATED): Update.
18548 (@copying): Use @copyright{} and range of years.
18549
0e7dfaef
JM
185502012-02-21 Joseph Myers <joseph@codesourcery.com>
18551
18552 [BZ #13695]
18553 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
18554 [crti.S not in sysdirs] (generated): Do not append.
18555 [crti.S not in sysdirs] (omit-deps): Likewise.
18556 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
18557 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
18558 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
18559 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
18560 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
18561 Likewise.
18562 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
18563 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
18564 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
18565 * csu/defs.awk: Remove file.
18566 * sysdeps/generic/initfini.c: Likewise.
18567 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
18568 variable.
18569 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
18570 Likewise.
18571
599af3ca
JM
185722012-02-20 Joseph Myers <joseph@codesourcery.com>
18573
18574 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
18575 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
18576 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
18577 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
18578 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
18579 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
18580 <bits/epoll.h>.
18581 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
18582 (__EPOLL_PACKED): Define to empty if not defined by
18583 <bits/epoll.h>.
18584 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
18585 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18586 bits/epoll.h.
18587
0e499750
JM
185882012-02-20 Joseph Myers <joseph@codesourcery.com>
18589
18590 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
18591 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
18593 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
18594 <bits/timerfd.h>.
18595 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
18596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18597 bits/timerfd.h.
18598
5ad91f6e
JM
185992012-02-20 Joseph Myers <joseph@codesourcery.com>
18600
18601 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
18602 in C locale.
18603 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18604 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18605 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
18606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18607
06b99b02
AJ
186082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
18609
18610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
18612
7638c0fd
AS
186132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
18614
18615 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
18616 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
18617 defined.
18618 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
18619 Likewise.
18620 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
18621 entry for 2.16.
18622
92221550
AJ
186232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
18624
18625 * math/w_acos.c: Use non-signaling floating-point comparisons.
18626 * math/w_acosf.c: Likewise.
18627 * math/w_acosh.c: Likewise.
18628 * math/w_acoshf.c: Likewise.
18629 * math/w_acoshl.c: Likewise.
18630 * math/w_acosl.c: Likewise.
18631 * math/w_asin.c: Likewise.
18632 * math/w_asinf.c: Likewise.
18633 * math/w_asinl.c: Likewise.
18634 * math/w_atanh.c: Likewise.
18635 * math/w_atanhf.c: Likewise.
18636 * math/w_atanhl.c: Likewise.
18637 * math/w_exp2.c: Likewise.
18638 * math/w_exp2f.c: Likewise.
18639 * math/w_exp2l.c: Likewise.
18640 * math/w_j0.c: Likewise.
18641 * math/w_j0f.c: Likewise.
18642 * math/w_j0l.c: Likewise.
18643 * math/w_j1.c: Likewise.
18644 * math/w_j1f.c: Likewise.
18645 * math/w_j1l.c: Likewise.
18646 * math/w_jn.c: Likewise.
18647 * math/w_jnf.c: Likewise.
18648 * math/w_log.c: Likewise.
18649 * math/w_log10.c: Likewise.
18650 * math/w_log10f.c: Likewise.
18651 * math/w_log10l.c: Likewise.
18652 * math/w_log2.c: Likewise.
18653 * math/w_log2f.c: Likewise.
18654 * math/w_log2l.c: Likewise.
18655 * math/w_logf.c: Likewise.
18656 * math/w_logl.c: Likewise.
18657 * math/w_sqrt.c: Likewise.
18658 * math/w_sqrtf.c: Likewise.
18659 * math/w_sqrtl.c: Likewise.
18660 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18661 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18662 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18663 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18664 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18665
ebaf36eb
JM
186662012-02-19 Joseph Myers <joseph@codesourcery.com>
18667
18668 [BZ #9739]
18669 * manual/string.texi (strnlen): Use correct parameter name in
18670 equivalent expression.
18671
71c254a6
JM
186722012-02-19 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #11174]
18675 * manual/users.texi (seteuid): Consistently use neweuid for
18676 argument name.
18677
16d2c631
JM
186782012-02-19 Joseph Myers <joseph@codesourcery.com>
18679
18680 [BZ #13704]
18681 * manual/nss.texi (Services in the NSS configuration): Correct
18682 list of services in example configuration file.
18683
cd837b09
NB
186842012-02-19 Nick Bowler <nbowler@draconx.ca>
18685
18686 [BZ #11322]
18687 * manual/arith.texi: Remove statements about negative zero
18688 behaving identically to zero.
18689
02c4bbad
JM
186902012-02-18 Joseph Myers <joseph@codesourcery.com>
18691
18692 [BZ #5993]
18693 * manual/install.texi: Do not document upgrading from libc5.
18694
366842e7
JM
186952012-02-18 Joseph Myers <joseph@codesourcery.com>
18696
18697 [BZ #4596]
18698 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
18699
dd54084d
DM
187002012-02-18 David S. Miller <davem@davemloft.net>
18701
18702 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
18703 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
18704 %o7 across the call.
18705 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
18706 instead.
18707 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
18708 SETUP_PIC_REG_LEAF.
18709 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18710 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
18711 * sysdeps/sparc/crtn.S: Likewise.
18712
2bcc53a3
UD
187132012-02-17 Ulrich Drepper <drepper@gmail.com>
18714
18715 * aout/Makefile: Remove.
18716
09c093b5
RK
187172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
18718
18719 [BZ #13058]
18720 * manual/examples/argp-ex1.c (main): Format definition in GNU
18721 style.
18722 * manual/examples/argp-ex2.c (main): Likewise.
18723 * manual/examples/argp-ex3.c (main): Likewise.
18724 * manual/examples/argp-ex4.c (main): Likewise.
18725 * manual/examples/longopt.c (main): Use new-style prototype
18726 definition.
18727 * manual/examples/strncat.c (main): Specify return type and use
18728 (void) for arguments.
18729 * manual/examples/subopt.c (main): Use char **argv argument.
18730
2ee633a2
JM
187312012-02-17 Joseph Myers <joseph@codesourcery.com>
18732
18733 [BZ #5077]
18734 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
18735 rounding modes.
18736
0520adde
FB
187372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
18738
18739 [BZ #6907]
18740 * manual/string.texi (strchr): Change when strchrnul is
18741 recommended.
18742
3f4081cd
DGM
187432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
18744
18745 [BZ #174]
18746 * manual/locale.texi (setlocale): Document LOCPATH.
18747
d1b10e78
JM
187482012-02-17 Joseph Myers <joseph@codesourcery.com>
18749
18750 [BZ #10210]
18751 * manual/process.texi (execle): Move @dots{} before last argument.
18752
79c6869c
PB
187532012-02-17 Paul Bolle <pebolle@tiscali.nl>
18754
18755 [BZ #12047]
18756 * manual/charset.texi (Generic Charset Conversion): Fix typo
18757 (LC_TYPE -> LC_CTYPE).
18758
cc6e48bc
NB
187592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
18760
18761 [BZ #5805]
18762 * manual/arith.texi (scalbn): Use @var{} on parameter names.
18763 (scalbnf): Likewise.
18764 (scalbnl): Likewise.
18765 (scalbln): Likewise.
18766 (scalblnf): Likewise.
18767 (scalblnl): Likewise.
18768 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
18769 (vwarnx): Likewise.
18770 (verr): Likewise.
18771 (verrx): Likewise.
18772 * manual/filesys.texi (telldir): Use braces around return type.
18773 * manual/llio.texi (mmap): Add space after comma.
18774 (mmap64): Likewise.
18775 * manual/math.texi (jn): Use @var{} on parameter names.
18776 (jnf): Likewise.
18777 (jnl): Likewise.
18778 (yn): Likewise.
18779 (ynf): Likewise.
18780 (ynl): Likewise.
18781 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
18782 line.
18783 * manual/resource.texi (ulimit): Use @dots{} instead of literal
18784 "...".
18785 (sched_get_priority_min): Remove semicolon on @deftypefun line.
18786 (sched_get_priority_max): Likewise.
18787 * manual/signal.texi (sigvec): Add space after comma.
18788 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
18789 names.
18790 (if_indextoname): Likewise.
18791 (if_freenameindex): Likewise.
18792 (sendto): Use ',' instead of '.' in prototype.
18793 * manual/startup.texi (syscall): Use @dots{} instead of literal
18794 "...".
18795 * manual/stdio.texi (__fpending): Separate initial words of
18796 paragraph from @deftypefun line.
18797 * manual/syslog.texi (syslog): Use @dots{} instead of literal
18798 "...".
18799 (vsyslog): Use @var{} on parameter names.
18800 * manual/terminal.texi (stty): Use @var{} on parameter names.
18801 * manual/users.texi (getutmp): Use @var{} on parameter names.
18802 (getutmpx): Likewise.
18803
5b23062f
JM
188042012-02-17 Joseph Myers <joseph@codesourcery.com>
18805
18806 [BZ #6884]
18807 * manual/stdio.texi (fopen): Fix typos in description of
18808 ",ccs=STRING".
18809
8dee4833
AJ
188102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
18811
18812 [BZ #4026]
18813 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
18814 get clock_id definition.
18815
9078ce93
TS
188162012-02-17 Thomas Schwinge <thomas@schwinge.name>
18817
18818 [BZ #4822]
18819 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
18820 (madvise): Cast every argument to void on its own.
18821
3835c55f
JM
188222012-02-17 Joseph Myers <joseph@codesourcery.com>
18823
18824 [BZ #9902]
18825 * manual/startup.texi (Exit Status): Fix typo.
18826
35c47e37
JM
188272012-02-17 Joseph Myers <joseph@codesourcery.com>
18828
18829 [BZ #10140]
18830 * manual/examples/argp-ex1.c: Include <stdlib.h>.
18831 * manual/examples/argp-ex2.c: Likewise.
18832 * manual/examples/argp-ex3.c: Likewise.
18833
e3b69ca7
RH
188342012-02-16 Richard Henderson <rth@redhat.com>
18835
18836 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
18837 * sysdeps/s390/s390-32/initfini.c: Remove.
18838 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
18839 * sysdeps/s390/s390-64/initfini.c: Remove.
18840
df83af67
KK
188412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18842
18843 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
18844 compiler output for sysdeps/generic/initfini.c.
18845 * sysdeps/sh/elf/initfini.c: Remove file.
18846
f63f3380
DM
188472012-02-16 David S. Miller <davem@davemloft.net>
18848
fb59b3a4
DM
18849 [BZ #11494]
18850 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
18851
f63f3380
DM
18852 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
18853 * sysdeps/sparc/crti.S: New file.
18854 * sysdeps/sparc/crtn.S: New file.
18855 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
18856 * sysdeps/sparc/sparc64/Makefile: Likewise.
18857
df6a4a4a
MF
188582012-02-15 Mike Frysinger <vapier@gentoo.org>
18859
6dd8f3dc 18860 [BZ #3335]
df6a4a4a
MF
18861 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
18862
1cac7236
RM
188632012-02-15 Roland McGrath <roland@hack.frob.com>
18864
d2c736f8
RM
18865 [BZ #4822]
18866 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
18867
1cac7236
RM
18868 * mach/devstream.c (cookie_io_functions_t): Macro removed.
18869 (write, read, close): Likewise.
18870 Patch by Aurelien Jarno <aurelien@aurel32.net>.
18871
8e475601
JM
188722012-02-15 Joseph Myers <joseph@codesourcery.com>
18873
18874 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
18875 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
18877 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
18878 <bits/signalfd.h>.
18879 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
18880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18881 bits/signalfd.h.
18882
ed656b40
MP
188832012-02-14 Marek Polacek <polacek@redhat.com>
18884
18885 * sysdeps/x86_64/crti.S: New file.
18886 * sysdeps/x86_64/crtn.S: New file.
18887 * sysdeps/x86_64/elf/initfini.c: Remove file.
18888
2a979d3a
JM
188892012-02-13 Joseph Myers <joseph@codesourcery.com>
18890
18891 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
18892 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
18893 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
18894 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
18895 <bits/inotify.h>.
18896 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
18897 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18898 bits/inotify.h.
18899
2a418ac3
JM
189002012-02-13 Joseph Myers <joseph@codesourcery.com>
18901
18902 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
18903 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
18904 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
18905 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
18906 <bits/eventfd.h>.
18907 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
18908 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18909 bits/eventfd.h.
18910
fb779be7
TS
189112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
18912
e19e83c5
RM
18913 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
18914 __feraiseexcept instead of feraiseexcept.
7c35ffed 18915
fb779be7
TS
18916 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
18917 nanosleep invocations.
18918 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
18919 strings, and add error checking for a nanosleep invocations.
18920
59ba27a6
PE
189212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
18922
18923 Replace FSF snail mail address with URLs, as per GNU coding standards.
18924 Most of the snail mail addresses were wrong anyway, and omitting
18925 them makes the source code easier to maintain. Almost all of the
18926 changes are to license notices and to locale LC_IDENTIFICATION
18927 addresses, except for this one:
18928 * manual/libc.texinfo: In "Published by", give the FSF's URL,
18929 not its snail mail address.
18930
57b957eb
RH
189312012-02-09 Richard Henderson <rth@twiddle.net>
18932
af850b1c
RH
18933 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
18934 of kernel-features.h.
18935
57b957eb
RH
18936 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
18937
6b73181a
MP
189382012-02-08 Marek Polacek <polacek@redhat.com>
18939
18940 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
18941 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
18942 * sysdeps/gnu/_G_config.h: Likewise.
18943 * sysdeps/generic/_G_config.h: Likewise.
18944
26ecc33a
AS
189452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
18946
6c6dbc63
AS
18947 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
18948 tests.
18949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950
e216c012
AS
18951 * sysdeps/powerpc/powerpc32/crti.S: New file.
18952 * sysdeps/powerpc/powerpc32/crtn.S: New file.
18953 * sysdeps/powerpc/powerpc64/crti.S: New file.
18954 * sysdeps/powerpc/powerpc64/crtn.S: New file.
18955
26ecc33a
AS
18956 * Makeconfig (have-initfini): Don't set.
18957 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
18958 * configure.in (nopic_initfini): Don't substitute.
18959 * config.h.in (HAVE_INITFINI): Don't #undef.
18960 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
18961 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
18962
3add8e13
JM
189632012-02-08 Joseph Myers <joseph@codesourcery.com>
18964
18965 Support crti.S and crtn.S provided directly by architectures.
18966 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
18967 [crti.S in sysdirs] (omit-deps): Likewise.
18968 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
18969 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
18970 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
18971 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
18972 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
18973 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
18974 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
18975 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
18976 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
18977 compiler output for sysdeps/generic/initfini.c.
18978 * sysdeps/i386/elf/Makefile: Remove file.
18979 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
18980
a22f12b4
MP
189812012-02-07 Marek Polacek <polacek@redhat.com>
18982
18983 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
18984 * sysdeps/gnu/_G_config.h: Likewise.
18985 * sysdeps/mach/hurd/_G_config.h: Likewise.
18986
148cf100
MP
189872012-02-07 Marek Polacek <polacek@redhat.com>
18988
18989 * math/Makefile (tests): Add tst-CMPLX2.
18990 * math/tst-CMPLX2.c: New file.
18991
cfdc0dd7
AS
189922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
18993
84ba42c4
AS
18994 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18995
cfdc0dd7
AS
18996 * math/libm-test.inc (jn_test): Add missing L suffix.
18997
622c86f4
MP
189982012-02-06 Marek Polacek <polacek@redhat.com>
18999
19000 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19001 * sysdeps/i386/fpu/e_powf.S: Likewise.
19002 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19003 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19004 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19005 * sysdeps/i386/fpu/e_pow.S: Likewise.
19006 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19008 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19009 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19010 * sysdeps/i386/fpu/e_log2.S: Likewise.
19011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19012 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19013 * sysdeps/i386/fpu/e_powl.S: Likewise.
19014 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19015 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19016 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19017 * sysdeps/i386/fpu/e_logl.S: Likewise.
19018 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19019 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19020 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19021 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19022 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19023 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19024 * sysdeps/i386/fpu/e_log.S: Likewise.
19025 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19026 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19027 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19028 * sysdeps/i386/fpu/e_logf.S: Likewise.
19029 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19030 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19031 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19033 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19034 * sysdeps/i386/fpu/e_log10.S: Likewise.
19035 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19036 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19037 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19038 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19039 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19041 * sysdeps/i386/asm-syntax.h: Likewise.
19042 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19043 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19044 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19045 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19046 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19047 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19048 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19049 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19050 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19051 * sysdeps/powerpc/sysdep.h: Likewise.
19052 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19053 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19054
d4a54ac6
JM
190552012-02-06 Joseph Myers <joseph@codesourcery.com>
19056
19057 [BZ #411]
19058 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19059
314054ea
JM
190602012-02-06 Joseph Myers <joseph@codesourcery.com>
19061
19062 * sysdeps/i386/sysdep.h: Include <features.h>.
19063 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19064 version.
19065
d8e0ca50
JM
190662012-02-05 Joseph Myers <joseph@codesourcery.com>
19067
19068 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19069 Define.
19070 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19071 LOAD_PIC_REG_STR.
19072
b1da7dd9
JM
190732012-02-03 Joseph Myers <joseph@codesourcery.com>
19074
19075 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19076 (SETUP_PIC_REG): Use GET_PC_THUNK.
19077 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19078 macro.
19079
9a1d9254
JM
190802012-02-03 Joseph Myers <joseph@codesourcery.com>
19081
19082 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19083 for non-PIC compilation.
19084 (SETUP_PIC_REG): Add .p2align directive.
19085 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19086 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19087 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19088 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19089 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19090 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19091 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19092 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19093 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19094 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19095 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19096 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19097 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19098 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19099 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19100 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19101 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19102 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19103 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19104 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19105 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19106 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19107 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19108 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19109 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19110 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19111 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19113 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19114 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19115 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19116 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19117 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19118 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19119 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19120 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19121 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19122 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19123 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19124 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19125 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19126
65dc3b75
JM
191272012-02-03 Joseph Myers <joseph@codesourcery.com>
19128
19129 * math/tst-CMPLX.c: Include <stdio.h>.
19130
d55bf177
JM
191312012-01-31 Joseph Myers <joseph@codesourcery.com>
19132
19133 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19134 float.
19135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19136 * sysdeps/sparc/bits/mathdef.h: Likewise.
19137
69db4f8f
MP
191382012-01-31 Marek Polacek <polacek@redhat.com>
19139
19140 * libio/libio.h: Don't define _PARAMS.
19141 * locale/programs/config.h: Don't define PARAMS.
19142 * stdlib/strtol_l.c: Likewise.
19143 (__strtol_l): Remove PARAMS from the prototype.
19144
41b81892
UD
191452012-01-31 Ulrich Drepper <drepper@gmail.com>
19146
3b49edc0
UD
19147 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19148 names. Just use the correct names. Remove unnecessary wrapper
19149 functions.
19150 * malloc/arena.c: Likewise.
19151 * malloc/hooks.c: Likewise.
19152
41b81892
UD
19153 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19154 ARENA_TEST says not to. Simplify test for creation of a new arena.
19155 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19156
27a25b6e
UD
191572012-01-30 Ulrich Drepper <drepper@gmail.com>
19158
19159 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19160 into tail calls.
19161 (update_get_addr): New function.
19162 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19163 GET_ADDR_MODULE parameter.
19164
c8a89e7d
JM
191652012-01-30 Joseph Myers <joseph@codesourcery.com>
19166
19167 * crypt/cert.c: Remove __STDC__ conditionals.
19168 * crypt/crypt-entry.c: Likewise.
19169 * crypt/crypt_util.c: Likewise.
19170 * libio/filedoalloc.c: Likewise.
19171 * libio/fileops.c: Likewise.
19172 * libio/genops.c: Likewise.
19173 * libio/iofclose.c: Likewise.
19174 * libio/iofdopen.c: Likewise.
19175 * libio/iofopen.c: Likewise.
19176 * libio/iofopen64.c: Likewise.
19177 * libio/iogetdelim.c: Likewise.
19178 * libio/iopopen.c: Likewise.
19179 * libio/obprintf.c: Likewise.
19180 * libio/oldfileops.c: Likewise.
19181 * libio/oldiofclose.c: Likewise.
19182 * libio/oldiofdopen.c: Likewise.
19183 * libio/oldiofopen.c: Likewise.
19184 * libio/oldiopopen.c: Likewise.
19185 * libio/wfiledoalloc.c: Likewise.
19186 * libio/wgenops.c: Likewise.
19187 * locale/programs/xmalloc.c: Likewise.
19188 * misc/syslog.c: Likewise.
19189 * stdio-common/xbug.c: Likewise.
19190 * string/memchr.c: Likewise.
19191 * string/memcmp.c: Likewise.
19192 * string/memrchr.c: Likewise.
19193 * string/rawmemchr.c: Likewise.
19194 * sysdeps/posix/getcwd.c: Likewise.
19195 * time/strftime_l.c: Likewise.
19196
3b100462
JM
191972012-01-30 Joseph Myers <joseph@codesourcery.com>
19198
19199 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19200 * config.make.in (config-cflags-sse2avx): Define.
19201 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19202 Fix typo.
19203
607998af
CM
192042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19205
19206 * scripts/config.guess: Update from upstream config git repository.
19207 * scripts/config.sub: Likewise.
19208
3601428f
CM
192092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19210
3ac8b282
CM
19211 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19212 (EM_NUM): Update.
19213 (R_TILEPRO_*, R_TILEGX_*): New macros.
19214
e034841e
CM
19215 * scripts/firstversions.awk: Fix bug in version range handling.
19216
540d7568
CM
19217 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19218
3601428f
CM
19219 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19220
463de862
CM
19221 * include/sys/epoll.h: New file.
19222 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19223 libc_hidden_def.
19224
73139a76
UD
192252012-01-28 Ulrich Drepper <drepper@gmail.com>
19226
96bc5b45
UD
19227 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19228 Avoid unnecessary __WORDSIZE == 64 test.
19229 (fmaxf): Use VEX format if possible.
19230 (fmax): Likewise.
19231 (fminf): Likewise.
19232 (fmin): Likewise.
19233
56f6f6a2
UD
19234 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19235 * math/math_private.h: Remove libc_fegetround* and
19236 libc_fesetround*.
19237 * sysdeps/i386/configure.in: Check for -msse2avx.
19238 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19239 also if SSE2AVX is defined.
19240 Remove libc_fegetround* and libc_fesetround*.
19241 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19242 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19244 of HAS_YMM_USABLE.
19245 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19246 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19247 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19248 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19250
73139a76
UD
19251 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19252
d73f93a4
AZ
192532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19254
19255 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19256 size is not set.
19257 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19258
6ee65ed6
UD
192592012-01-27 Ulrich Drepper <drepper@gmail.com>
19260
19261 [BZ #13618]
19262 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19263 relocation.
19264 * Makeconfig (libm): Define.
19265 * elf/Makefile: Add rules to build and run tst-relsort1.
19266 * elf/tst-relsort1.c: New file.
19267 * elf/tst-relsort1mod1.c: New file.
19268 * elf/tst-relsort1mod2.c: New file.
19269
8db21882
JM
192702012-01-27 Joseph Myers <joseph@codesourcery.com>
19271
19272 * math/s_ldexp.c: Remove __STDC__ conditionals.
19273 * math/s_ldexpf.c: Likewise.
19274 * math/s_ldexpl.c: Likewise.
19275 * math/s_nextafter.c: Likewise.
19276 * math/s_nexttowardf.c: Likewise.
19277 * math/s_significand.c: Likewise.
19278 * math/s_significandf.c: Likewise.
19279 * math/s_significandl.c: Likewise.
19280 * math/w_jnl.c: Likewise.
19281 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19282 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19283 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19284 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19285 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19287 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19288 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19290 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19291 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19292 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19293 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19294 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19296 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19297 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19298 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19299 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19300 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19301 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19303 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19304 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19305 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19306 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19307 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19308 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19309 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19310 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19313 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19314 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19315 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19316 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19317 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19318 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19319 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19320 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19321 * sysdeps/ieee754/k_standard.c: Likewise.
19322 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19325 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19326 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19327 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19328 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19330 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19331 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19332 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19333 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19334 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19335 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19338 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19339 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19340 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19341 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19342 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19343 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19346 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19348 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19354 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
19358 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
19359 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
19360 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
19361 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
19362 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
19363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
19364 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
19365 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
19366 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
19367 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19368 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19369 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19370 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
19371 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
19372 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
19373 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19374 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19375 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
19376 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
19377 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
19378 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
19379 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
19380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
19381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
19382 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19383 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
19384 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
19385 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19386 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19387 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19388 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19389 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
19390 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
19391 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19392 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19393 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19394 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19395 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
19396 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
19397 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19398 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
19399 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
19400 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
19401 * sysdeps/ieee754/s_matherr.c: Likewise.
19402 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
19403 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19406
965a54a4
JM
194072012-01-26 Joseph Myers <joseph@codesourcery.com>
19408
19409 * crypt/md5.h: Remove __STDC__ conditionals.
19410 * libio/libioP.h: Likewise.
19411 * locale/programs/config.h: Likewise.
19412 * sysdeps/generic/sysdep.h: Likewise.
19413 * sysdeps/i386/asm-syntax.h: Likewise.
19414 * sysdeps/s390/asm-syntax.h: Likewise.
19415 * sysdeps/unix/sysdep.h: Likewise.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19418
7071ad79
JM
194192012-01-26 Joseph Myers <joseph@codesourcery.com>
19420
19421 * libio/libio.h: Remove __STDC__ conditionals.
19422 * malloc/obstack.h: Likewise.
19423 * math/complex.h: Likewise.
19424 * math/math.h: Likewise.
19425 * sysdeps/generic/_G_config.h: Likewise.
19426 * sysdeps/gnu/_G_config.h: Likewise.
19427 * sysdeps/mach/hurd/_G_config.h: Likewise.
19428 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19429 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19430 * sysdeps/sparc/bits/mathdef.h: Likewise.
19431
afc5ed09
UD
194322012-01-26 Ulrich Drepper <drepper@gmail.com>
19433
19434 [BZ #13583]
19435 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 19436 Clean up HAS_* macros.
afc5ed09 19437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
19438 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
19439 possible.
19440 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
19441 HAS_AVX.
19442 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19443 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19444 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19445 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19446 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 19447
bdb6de1d
JM
194482012-01-25 Joseph Myers <joseph@codesourcery.com>
19449
19450 * elf/tst-unique3.cc (gets): Remove declaration.
19451 * elf/tst-unique3lib.cc (gets): Likewise.
19452 * elf/tst-unique3lib2.cc (gets): Likewise.
19453 * elf/tst-unique4.cc (gets): Likewise.
19454
b15549e6
UD
194552012-01-24 Ulrich Drepper <drepper@gmail.com>
19456
19457 * include/stdio.h: Add C++ protection. Add gets declarations and
19458 definitions.
19459 * debug/tst-chk1.c: Don't declare gets here.
19460 * stdio-common/tst-gets.c: Likewise.
19461
a037381f
JM
194622012-01-24 Joseph Myers <joseph@codesourcery.com>
19463
19464 * posix/glob: Remove directory.
19465
f1d4aa75
JM
194662012-01-24 Joseph Myers <joseph@codesourcery.com>
19467
19468 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
19469
81c0c964
PT
194702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
19471
19472 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
19473 of the non-standard EPFNOSUPPORT.
19474
0ea698ae
ST
194752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
19476
19477 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
19478 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
19479 ANYWHERE set to 1 only on KERN_NO_SPACE error.
19480
d220b117
UD
194812012-01-21 Ulrich Drepper <drepper@gmail.com>
19482
19483 * wcsmbs/uchar.h: Test __STDC_VERSION__.
19484
3e1aa84e
UD
194852012-01-20 Ulrich Drepper <drepper@gmail.com>
19486
19487 * nscd/aicache.c (addhstaiX): Do not cache negative results of
19488 transient errors.
19489 * nscd/grpcache.c (cache_addgr): Likewise.
19490 * nscd/hstcache.c (cache_addhst): Likewise.
19491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19492 * nscd/pwdcache.c (cache_addpw): Likewise.
19493 * nscd/servicescache.c (cache_addserv): Likewise.
19494
400aa020
UD
194952012-01-16 Ulrich Drepper <drepper@gmail.com>
19496
d77e7869
UD
19497 * malloc/malloc.c: Various cleanups.
19498 * malloc/hooks.c: Likewise.
19499
400aa020
UD
19500 * stdlib/Makefile (tests): Add bug-fmtmsg1.
19501 * stdlib/bug-fmtmsg1.c: New file.
19502
19503 * stdlib/fmtmsg.c (init): Add missing unlock.
19504 Patch by Peng Haitao <penght@cn.fujitsu.com>.
19505
e0a309cf
MP
195062012-01-12 Marek Polacek <polacek@redhat.com>
19507
19508 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
19509 and _GNU_SOURCE.
19510
929d11c7
WS
195112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19512
19513 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
19514 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
19515 macro to ensure uniqueness of label name.
19516 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
19517 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
19518
41d0e869
UD
195192012-01-11 Ulrich Drepper <drepper@gmail.com>
19520
0cc5ed3b
UD
19521 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
19522
41d0e869
UD
19523 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
19524 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
19525 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
19527
a47a831a
UD
195282012-01-10 Ulrich Drepper <drepper@gmail.com>
19529
daa891c0
UD
19530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
19531
19532 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
19533 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
19534 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
19535
e58ef0f2
UD
19536 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
19537
a47a831a 19538 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
19539 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
19540 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 19541 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
19542
19543 * math/bits/math-finite.h: Add ldexp support.
19544
a0bfc9c7
MP
195452012-01-10 Marek Polacek <polacek@redhat.com>
19546
19547 * locale/programs/localedef.h (show_archive_content): Add noreturn
19548 attribute.
19549
d6e97a1d
UD
195502012-01-09 Ulrich Drepper <drepper@gmail.com>
19551
19552 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
19553
d5835c26
UD
195542012-01-08 Ulrich Drepper <drepper@gmail.com>
19555
e5f484c6
UD
19556 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
19557
d5835c26
UD
19558 * io/Makefile (headers): Add bits/poll2.h.
19559
d1f741e9
WS
195602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
19561
19562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
19563 typo #include statement.
19564
ec09c1c4
UD
195652012-01-08 Ulrich Drepper <drepper@gmail.com>
19566
19567 * include/sys/cdefs.h: Define __attribute_alloc_size.
19568 * catgets/gencat.c: Add alloc_size attribute and apply consistently
19569 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
19570 * elf/pldd.c: Likewise.
19571 * iconv/iconv_charmap.c: Likewise.
19572 * iconv/iconvconfig.c: Likewise.
19573 * iconv/strtab.c: Likewise.
19574 * locale/programs/locale.c: Likewise.
19575 * locale/programs/localedef.h: Likewise.
19576 * locale/programs/simple-hash.c: Likewise.
19577 * nscd/nscd.h: Likewise.
19578 * nss/makedb.c: Likewise.
19579 * sysdeps/generic/ldconfig.h: Likewise.
19580 * locale/programs/localedef.c: Remove xmalloc prototype.
19581 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
19582
20b38e03
PP
195832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19584
19585 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
19586 appropriate.
19587
a0da5fe1
UD
195882012-01-08 Ulrich Drepper <drepper@gmail.com>
19589
1d5a644a 19590 * math/Makefile (tests): Add tst-CMPLX.
669704fd 19591 * math/tst-CMPLX.c: New file.
1d5a644a 19592
8784a6db
UD
19593 * math/complex.h (CMPLXL): Fix typo.
19594
d9a216c0
UD
19595 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
19596 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
19597 GLIBC_2.16.
19598 * debug/tst-chk1.c: Add poll and ppoll tests.
19599 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
19600 * include/sys/poll.h: Add hidden proto for ppoll.
19601 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
19602 * sysdeps/mach/hurd/ppoll.c: Likewise.
19603 * io/ppoll.c: Likewise.
19604 * debug/poll_chk.c: New file.
19605 * debug/ppoll_chk.c: New file.
19606 * include/bits/poll2.h: New file.
19607 * io/bits/poll2.h: New file.
19608
ac097f5c
UD
19609 [BZ #1350]
19610 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
19611
2119dcfa
UD
19612 * configure.in: static is always set to yes. Remove.
19613 * config.make.in: Don't set build-static.
19614 * Makeconfig: Remove use of build-static.
19615 * dlfcn/Makefile: Likewise.
19616 * elf/Makefile: Likewise.
19617 * math/Makefile: Likewise.
19618 * misc/Makefile: Likewise.
19619 * nptl/Makefile: Likewise.
19620 * sysdeps/mach/hurd/Makefile: Likewise.
19621
121766a9
UD
19622 * configure.in: PWD_P is not used anymore.
19623 * config.make.in: Remove PWD_P entry.
19624
51a1d39c 19625 * configure.in: Remove last remnants of RANLIB.
8720d066 19626 No need to check for signed size_t anymore.
215f4bdc
UD
19627 Don't set libc_commonpagesize and libc_relro_required here for Alpha
19628 and IA-64.
3857022a 19629 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
19630 * aclocal.m4: Likewise.
19631
d3ed7225
UD
19632 * wcsmbs/mbrtoc16.c: Implement using towc function.
19633 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
19634 * wcsmbs/wcsmbsload.c: Likewise.
19635 * iconv/gconv_simple.c: Likewise.
19636 * iconv/gconv_int.h: Likewise.
19637 * iconv/gconv_builtin.h: Likewise.
19638 * iconv/iconv_prog.c: Remove CHAR16 handling.
19639
19640 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
19641
19642 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
19643
a0da5fe1
UD
19644 * configure.in: Remove --with-elf and --enable-bounded options.
19645 Dont set base_machine for ia64. More non-ELF conditions removed.
19646 Remove testing and setting of leading underscore information.
19647 * config.make.in (build-bounded): Set to no.
19648 * config.h.in: Remove NO_UNDERSCORES entry.
19649 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
19650 them.
19651 * csu/start.c: Remove !NO_UNDERSCORE code.
19652 * locale/localeinfo.h: Likewise.
19653 * sysdeps/generic/machine-gmon.h: Likewise.
19654 * sysdeps/generic/sysdep.h: Likewise.
19655 * sysdeps/i386/sysdep.h: Likewise.
19656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19657 * sysdeps/mach/sysdep.h: Likewise.
19658 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19659 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19660 * sysdeps/sh/sysdep.h: Likewise.
19661 * sysdeps/sparc/sparc32/alloca.S: Likewise.
19662 * sysdeps/unix/i386/sysdep.S: Likewise.
19663 * sysdeps/unix/sparc/start.c: Likewise.
19664 * sysdeps/unix/sparc/sysdep.S: Likewise.
19665 * sysdeps/unix/sparc/sysdep.h: Likewise.
19666 * sysdeps/unix/start.c: Likewise.
19667 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19668 * sysdeps/x86_64/sysdep.h: Likewise.
19669
df78418a
UD
196702012-01-07 Ulrich Drepper <drepper@gmail.com>
19671
a784e502
UD
19672 [BZ #13553]
19673 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
19674 for non-gcc.
19675 * argp/argp-fmtstream.h: Use const instead __const.
19676 * argp/argp.h: Likewise.
19677 * assert/assert.h: Likewise.
19678 * bits/fenv.h: Likewise.
19679 * bits/sched.h: Likewise.
19680 * bits/sigset.h: Likewise.
19681 * bits/sigthread.h: Likewise.
19682 * catgets/nl_types.h: Likewise.
19683 * conform/data/pthread.h-data: Likewise.
19684 * crypt/crypt-private.h: Likewise.
19685 * crypt/crypt.h: Likewise.
19686 * crypt/crypt_util.c: Likewise.
19687 * ctype/ctype.h: Likewise.
19688 * debug/execinfo.h: Likewise.
19689 * debug/mbsnrtowcs_chk.c: Likewise.
19690 * debug/mbsrtowcs_chk.c: Likewise.
19691 * debug/wcsnrtombs_chk.c: Likewise.
19692 * debug/wcsrtombs_chk.c: Likewise.
19693 * debug/wcstombs_chk.c: Likewise.
19694 * dirent/dirent.h: Likewise.
19695 * dlfcn/dlfcn.h: Likewise.
19696 * elf/neededtest4.c: Likewise.
19697 * grp/grp.h: Likewise.
19698 * gshadow/gshadow.h: Likewise.
19699 * iconv/gconv.h: Likewise.
19700 * iconv/gconv_int.h: Likewise.
19701 * iconv/gconv_simple.c: Likewise.
19702 * iconv/iconv.h: Likewise.
19703 * iconv/loop.c: Likewise.
19704 * iconv/skeleton.c: Likewise.
19705 * include/aio.h: Likewise.
19706 * include/aliases.h: Likewise.
19707 * include/argz.h: Likewise.
19708 * include/arpa/inet.h: Likewise.
19709 * include/assert.h: Likewise.
19710 * include/dirent.h: Likewise.
19711 * include/dlfcn.h: Likewise.
19712 * include/execinfo.h: Likewise.
19713 * include/fcntl.h: Likewise.
19714 * include/fenv.h: Likewise.
19715 * include/glob.h: Likewise.
19716 * include/grp.h: Likewise.
19717 * include/libintl.h: Likewise.
19718 * include/mntent.h: Likewise.
19719 * include/netdb.h: Likewise.
19720 * include/pwd.h: Likewise.
19721 * include/rpc/netdb.h: Likewise.
19722 * include/sched.h: Likewise.
19723 * include/search.h: Likewise.
19724 * include/shadow.h: Likewise.
19725 * include/signal.h: Likewise.
19726 * include/stdio.h: Likewise.
19727 * include/stdlib.h: Likewise.
19728 * include/string.h: Likewise.
19729 * include/sys/socket.h: Likewise.
19730 * include/sys/stat.h: Likewise.
19731 * include/sys/statfs.h: Likewise.
19732 * include/sys/statvfs.h: Likewise.
19733 * include/sys/syslog.h: Likewise.
19734 * include/sys/time.h: Likewise.
19735 * include/sys/uio.h: Likewise.
19736 * include/time.h: Likewise.
19737 * include/unistd.h: Likewise.
19738 * include/utmp.h: Likewise.
19739 * include/wchar.h: Likewise.
19740 * include/wctype.h: Likewise.
19741 * inet/aliases.h: Likewise.
19742 * inet/arpa/inet.h: Likewise.
19743 * inet/netinet/ether.h: Likewise.
19744 * inet/netinet/in.h: Likewise.
19745 * intl/libintl.h: Likewise.
19746 * io/bits/fcntl2.h: Likewise.
19747 * io/fcntl.h: Likewise.
19748 * io/ftw.h: Likewise.
19749 * io/sys/poll.h: Likewise.
19750 * io/sys/stat.h: Likewise.
19751 * io/sys/statfs.h: Likewise.
19752 * io/sys/statvfs.h: Likewise.
19753 * io/utime.h: Likewise.
19754 * libio/bits/stdio.h: Likewise.
19755 * libio/bits/stdio2.h: Likewise.
19756 * libio/libio.h: Likewise.
19757 * libio/libioP.h: Likewise.
19758 * libio/stdio.h: Likewise.
19759 * locale/lc-ctype.c: Likewise.
19760 * locale/locale.h: Likewise.
19761 * login/utmp.h: Likewise.
19762 * malloc/arena.c: Likewise.
19763 * malloc/malloc.c: Likewise.
19764 * malloc/malloc.h: Likewise.
19765 * malloc/mcheck.c: Likewise.
19766 * malloc/mtrace.c: Likewise.
19767 * math/bits/mathcalls.h: Likewise.
19768 * math/fenv.h: Likewise.
19769 * math/math_private.h: Likewise.
19770 * misc/bits/error.h: Likewise.
19771 * misc/bits/syslog.h: Likewise.
19772 * misc/err.h: Likewise.
19773 * misc/error.h: Likewise.
19774 * misc/fstab.h: Likewise.
19775 * misc/mntent.h: Likewise.
19776 * misc/regexp.h: Likewise.
19777 * misc/search.h: Likewise.
19778 * misc/sgtty.h: Likewise.
19779 * misc/sys/mman.h: Likewise.
19780 * misc/sys/syslog.h: Likewise.
19781 * misc/sys/uio.h: Likewise.
19782 * misc/sys/xattr.h: Likewise.
19783 * misc/ttyent.h: Likewise.
19784 * nis/rpcsvc/ypclnt.h: Likewise.
19785 * nss/nss.h: Likewise.
19786 * posix/bits/unistd.h: Likewise.
19787 * posix/fnmatch.h: Likewise.
19788 * posix/glob.h: Likewise.
19789 * posix/sched.h: Likewise.
19790 * posix/spawn.h: Likewise.
19791 * posix/sys/wait.h: Likewise.
19792 * posix/unistd.h: Likewise.
19793 * posix/wordexp.h: Likewise.
19794 * pwd/pwd.h: Likewise.
19795 * resolv/netdb.h: Likewise.
19796 * resource/sys/resource.h: Likewise.
19797 * rt/aio.h: Likewise.
19798 * rt/bits/mqueue2.h: Likewise.
19799 * rt/mqueue.h: Likewise.
19800 * shadow/shadow.h: Likewise.
19801 * signal/signal.h: Likewise.
19802 * socket/send.c: Likewise.
19803 * socket/sendto.c: Likewise.
19804 * socket/sys/socket.h: Likewise.
19805 * stdio-common/printf.h: Likewise.
19806 * stdlib/bits/stdlib.h: Likewise.
19807 * stdlib/fmtmsg.h: Likewise.
19808 * stdlib/monetary.h: Likewise.
19809 * stdlib/stdlib.h: Likewise.
19810 * stdlib/ucontext.h: Likewise.
19811 * streams/stropts.h: Likewise.
19812 * string/argz.h: Likewise.
19813 * string/bits/string2.h: Likewise.
19814 * string/string.h: Likewise.
19815 * string/strings.h: Likewise.
19816 * sunrpc/rpc/auth.h: Likewise.
19817 * sunrpc/rpc/auth_des.h: Likewise.
19818 * sunrpc/rpc/clnt.h: Likewise.
19819 * sunrpc/rpc/netdb.h: Likewise.
19820 * sunrpc/rpc/pmap_clnt.h: Likewise.
19821 * sunrpc/rpc/xdr.h: Likewise.
19822 * sysdeps/generic/inttypes.h: Likewise.
19823 * sysdeps/generic/net/if.h: Likewise.
19824 * sysdeps/generic/sys/swap.h: Likewise.
19825 * sysdeps/gnu/net/if.h: Likewise.
19826 * sysdeps/gnu/utmpx.h: Likewise.
19827 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
19828 * sysdeps/i386/i486/bits/string.h: Likewise.
19829 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
19830 * sysdeps/s390/bits/string.h: Likewise.
19831 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
19832 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
19833 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
19834 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
19835 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
19836 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
19837 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
19838 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
19839 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
19840 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
19841 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
19842 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
19843 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
19844 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
19845 * sysdeps/unix/sysv/linux/readv.c: Likewise.
19846 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
19847 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19849 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
19850 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
19851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
19852 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
19853 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
19854 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
19855 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
19856 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
19857 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
19858 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19859 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
19860 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
19861 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
19862 * sysvipc/sys/ipc.h: Likewise.
19863 * sysvipc/sys/msg.h: Likewise.
19864 * sysvipc/sys/sem.h: Likewise.
19865 * sysvipc/sys/shm.h: Likewise.
19866 * termios/termios.h: Likewise.
19867 * time/sys/time.h: Likewise.
19868 * time/time.h: Likewise.
19869 * wcsmbs/bits/wchar2.h: Likewise.
19870 * wcsmbs/uchar.h: Likewise.
19871 * wcsmbs/wchar.h: Likewise.
19872 * wctype/wctype.h: Likewise.
19873
0269750c
UD
19874 [BZ #13551]
19875 * Makeconfig: Remove all but ELF support including AIX support.
19876 * Makerules: Likewise.
19877 * config.h.in: Likewise.
19878 * config.make.in: Likewise.
19879 * configure: Likewise.
19880 * configure.in: Likewise.
19881 * csu/Makefile: Likewise.
19882 * csu/version.c: Likewise.
19883 * debug/Makefile: Likewise.
19884 * dlfcn/Makefile: Likewise.
19885 * elf/Makefile: Likewise.
19886 * extra-lib.mk: Likewise.
19887 * iconv/Makefile: Likewise.
19888 * include/libc-symbols.h: Likewise.
19889 * include/shlib-compat.h: Likewise.
19890 * resolv/Makefile: Likewise.
19891 * resolv/res_libc.c: Likewise.
19892 * rt/Makefile: Likewise.
19893 * sysdeps/i386/asm-syntax.h: Likewise.
19894 * sysdeps/i386/sysdep.h: Likewise.
19895 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
19896 * sysdeps/mach/sysdep.h: Likewise.
19897 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
19898 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
19899 * sysdeps/s390/asm-syntax.h: Likewise.
19900 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19901 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19902 * sysdeps/sh/sysdep.h: Likewise.
19903 * sysdeps/unix/sparc/sysdep.h: Likewise.
19904 * sysdeps/wordsize-32/divdi3.c: Likewise.
19905 * sysdeps/x86_64/sysdep.h: Likewise.
19906
00bbd29b
UD
19907 * argp/Versions: Remove _argp_unlock_xxx.
19908
19909 [BZ #13559]
19910 * abilist/ld.abilist: Update. Adjust for removal of tls option.
19911 * abilist/libBrokenLocale.abilist: Likewise.
19912 * abilist/libanl.abilist: Likewise.
19913 * abilist/libc.abilist: Likewise.
19914 * abilist/libcrypt.abilist: Likewise.
19915 * abilist/libdl.abilist: Likewise.
19916 * abilist/libm.abilist: Likewise.
19917 * abilist/libnsl.abilist: Likewise.
19918 * abilist/libpthread.abilist: Likewise.
19919 * abilist/libresolv.abilist: Likewise.
19920 * abilist/librt.abilist: Likewise.
19921 * abilist/libthread_db.abilist: Likewise.
19922 * abilist/libutil.abilist: Likewise.
19923 * abilist/libnss_db.abilist: New file.
19924
19925 * scripts/abilist.awk: Add support for indirect functions.
19926
a2693a0e
UD
19927 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
19928
3f05895f
UD
19929 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
19930
ecb6fb48
UD
19931 * shlib-versions: Remove entries for ports architectures.
19932
664f8cb9
UD
19933 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
19934 files in ports.
19935 * elf/stackguard-macros.h: Remove support for IA-64.
19936 * elf/tst-auditmod1.c: Likewise.
19937 * sysdeps/generic/ldsodefs.h: Likewise.
19938
7ae81d88
UD
19939 * sysdeps/unix/sysv/linux/configure.in: Ports should define
19940 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
19941 configure files.
19942
bdeba135
UD
19943 [BZ #13552]
19944 * configure.in: Remove --enable-omitfp support.
19945 * FAQ.in: Adjust.
19946 * config.make.in: Likewise.
19947 * Makeconfig: Likewise.
19948 * manual/install.texi: Likewise.
19949
d75a0a62
UD
19950 In case anyone cares, the IA-64 architecture could move to ports.
19951 * sysdeps/ia64/*: Removed.
19952 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 19953 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 19954
dcc9756b
UD
19955 [BZ #13555]
19956 * configure.in: Remove entries for unsupported architectures.
19957
d3761ebc 19958 [BZ #13533]
9954432e
UD
19959 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
19960 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
19961 routines.
19962 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
19963 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
19964 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
19965 fall back to using wcrtomb.
19966 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
19967 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
19968 renaming.
19969 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
19970 * wcsmbs/tst-c16c32-1.c: New file.
19971
19972 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
19973 local variable.
19974
c3a87236
UD
19975 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
19976
28926a1b
UD
19977 * elf/tst-unique3.cc: Add explicit declaration of gets.
19978 * elf/tst-unique3lib.cc: Likewise.
19979 * elf/tst-unique3lib2.cc: Likewise.
19980 * elf/tst-unique4.cc: Likewise.
19981
df78418a
UD
19982 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
19983
8ecd6b2a
JM
199842012-01-06 Joseph Myers <joseph@codesourcery.com>
19985
19986 [BZ #13566]
19987 * assert/assert.h (static_assert): Don't define for C++.
19988 * libio/stdio.h (gets): Do declare for C++ <= C++11.
19989 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
19990
9f115170
UD
199912012-01-03 Ulrich Drepper <drepper@gmail.com>
19992
5e0d0300
UD
19993 * iconv/loop.c (single loop): Fix assertion in storing of
19994 remaining bytes.
19995
9f115170
UD
19996 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
19997
81fb02b0
UD
199982012-01-01 Ulrich Drepper <drepper@gmail.com>
19999
20000 * posix/getconf.c: Update copyright year.
20001 * nss/getent.c: Likewise.
a316c1f6 20002 * nss/makedb.c: Likewise.
81fb02b0
UD
20003 * iconv/iconvconfig.c: Likewise.
20004 * iconv/iconv_prog.c: Likewise.
20005 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20006 * elf/pldd.c: Likewise.
20007 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20008 * catgets/gencat.c: Likewise.
20009 * csu/version.c: Likewise.
20010 * elf/ldd.bash.in: Likewise.
20011 * elf/sprof.c (print_version): Likewise.
20012 * locale/programs/locale.c: Likewise.
20013 * locale/programs/localedef.c: Likewise.
a316c1f6 20014 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20015 * nscd/nscd.c (print_version): Likewise.
20016 * debug/xtrace.sh: Likewise.
20017 * malloc/memusage.sh: Likewise.
20018 * malloc/mtrace.pl: Likewise.
20019 * debug/catchsegv.sh: Likewise.
20020
2ba92745
JJ
200212011-12-30 Jakub Jelinek <jakub@redhat.com>
20022
20023 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20024 pure attribute.
20025
dadebdae
UD
200262011-12-24 Ulrich Drepper <drepper@gmail.com>
20027
d3761ebc 20028 [BZ #13533]
db6af3eb
UD
20029 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20030 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20031 transformations.
20032 * iconv/gconv_int.h: Likewise.
20033 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20034 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20035 from libc for GLIBC_2.16.
20036 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20037 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20038 * wcsmbs/uchar.h: Really define mbstate_t.
20039 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20040 * wcsmbs/c16rtomb.c: New file.
20041 * wcsmbs/mbrtoc16.c: New file.
20042 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20043 for C/POSIX locale.
20044 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20045 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20046
dadebdae
UD
20047 * wcsmbs/wchar.h: Add missing __restrict.
20048
67371b56
UD
200492011-12-23 Ulrich Drepper <drepper@gmail.com>
20050
74033a25
UD
20051 [BZ #13532]
20052 * time/Makefile (routines): Add timespec_get.
20053 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20054 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20055 timespec for ISO C11.
20056 * time/timespec_get.c: New file.
20057 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20058 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20059
380d7e87
UD
20060 [BZ #13531]
20061 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20062 * stdlib/stdlib.h: Declare aligned_alloc.
20063 * Versions.def: Add GLIBC_2.16 for libc.
20064 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20065
4e9e7a35
UD
20066 [BZ 13527]
20067 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20068 ISO C11.
20069
380d7e87 20070 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20071 code.
20072
03a71829
UD
20073 [BZ #13528]
20074 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20075
839e283e
UD
20076 [BZ #13529]
20077 * assert/assert.h (static_assert): Define.
20078
ce5294e2 20079 * version.h: Update for 2.16 development version.
90fa7312 20080
8d44e150 20081 [BZ #13526]
d7809905
UD
20082 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20083 _ISOC11_SOURCE.
20084
c0da14cd
UD
20085 * version.h (RELEASE): Bump for 2.15 release.
20086 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20087
530a3249
MP
20088 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20089 Patch by Marek Polacek <mpolacek@redhat.com>.
20090
67371b56
UD
20091 * bits/byteswap.h: Protect long long constants with __extension__.
20092 * sysdeps/i386/bits/byteswap.h: Likewise.
20093 * sysdeps/ia64/bits/byteswap.h: Likewise.
20094 * sysdeps/s390/bits/byteswap.h: Likewise.
20095 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20096
15db4de1
LD
200972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20098
20099 [BZ #13540]
bbe315ea
LD
20100 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20101 destination buffer.
15db4de1
LD
20102 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20103
2b2596b1
MP
201042011-12-23 Marek Polacek <polacek@redhat.com>
20105
20106 * elf/dl-addr.c (determine_info): Add inline keyword.
20107 * elf/tst-auditmod4b.c (check_avx): Likewise.
20108 * elf/tst-auditmod6b.c (check_avx): Likewise.
20109 * elf/tst-auditmod6c.c (check_avx): Likewise.
20110 * elf/tst-auditmod7b.c (check_avx): Likewise.
20111
70c6c246
UD
201122011-12-23 Ulrich Drepper <drepper@gmail.com>
20113
20114 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20115 !__SSE_MATH__.
20116
c044cf14
LD
201172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20118
15db4de1 20119 [BZ #13540]
c044cf14
LD
20120 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20121 processing for last bytes.
20122
6b13d9d9
BH
201232011-08-06 Bruno Haible <bruno@clisp.org>
20124
d455f537
BH
20125 [BZ #13061]
20126 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20127 U+0385, not to U+1FEE.
20128
6b13d9d9
BH
20129 [BZ #13062]
20130 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20131 entry for U+00A5 U+0301.
20132
db910efd
UD
201332011-12-22 Ulrich Drepper <drepper@gmail.com>
20134
27deeafc
UD
20135 [BZ #13166]
20136 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20137 buffer for the output is too small.
20138
aed9d171
UD
20139 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20140 optimization.
20141
db910efd
UD
20142 [BZ #13185]
20143 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20144 SSE flags if possible.
20145
2bd779ae
LD
201462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20147
e7f9dac3 20148 [BZ #13540]
2bd779ae
LD
20149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20150 processing for last bytes.
20151
154bfc16
JM
201522011-12-22 Joseph Myers <joseph@codesourcery.com>
20153
20154 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20155 (syscall-list-default-options, syscall-list-default-condition)
20156 (syscall-list-includes): Define.
20157 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20158 list of ABIs and options and #if conditions for each ABI. Do not
20159 handle common syscalls between ABIs specially.
20160 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20161 Remove.
20162 (syscall-list-variants, syscall-list-32bit-options)
20163 (syscall-list-32bit-condition, syscall-list-64bit-options)
20164 (syscall-list-64bit-condition): Define.
20165 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20166 (syscall-list-variants, syscall-list-32bit-options)
20167 (syscall-list-32bit-condition, syscall-list-64bit-options)
20168 (syscall-list-64bit-condition): Define.
20169 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20170 Remove.
20171 (syscall-list-variants, syscall-list-32bit-options)
20172 (syscall-list-32bit-condition, syscall-list-64bit-options)
20173 (syscall-list-64bit-condition): Define.
20174 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20175 Remove.
20176 (syscall-list-variants, syscall-list-32bit-options)
20177 (syscall-list-32bit-condition, syscall-list-64bit-options)
20178 (syscall-list-64bit-condition): Define.
20179
21eaf3a5
UD
201802011-12-22 Ulrich Drepper <drepper@gmail.com>
20181
16c6f992
UD
20182 * locale/iso-639.def: Add brx entry.
20183
41043168
UD
20184 [BZ #13328]
20185 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20186 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20187
21eaf3a5
UD
20188 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20189 __feraiseexcept_renamed.
20190
e3a851a2
UD
201912011-12-21 Ulrich Drepper <drepper@gmail.com>
20192
4920765e
UD
20193 [BZ #13538]
20194 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20195 EPOLLET with unsigned values.
20196 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20197 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20198
e3a851a2
UD
20199 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20200 to large cancellation.
20201 * math/s_cacoshf.c: Likewise.
20202 * math/s_cacoshl.c: Likewise.
20203
b27e24b8
RK
202042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20205
20206 [BZ #13305]
aebefeee 20207 [BZ #12786]
b27e24b8
RK
20208 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20209 * math/s_cacoshf.c: Likewise.
20210 * math/s_cacoshl.c: Likewise.
20211
ee190f67
UD
202122011-12-21 Ulrich Drepper <drepper@gmail.com>
20213
20214 [BZ #13439]
20215 * iconv/gconv.h: Define __GCONV_SWAP.
20216 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20217 * iconvdata/utf-16.c: Likewise.
20218 * iconvdata/utf-32.c: Likewise.
20219
707f25df
AS
202202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20221
20222 [BZ #13524]
20223 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20224 numerator after shifting it by one limb.
20225
d2daaa1e
RÁE
202262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20227
20228 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20229 under [__USE_EXTERN_INLINES].
20230
a4647e72
UD
202312011-12-17 Ulrich Drepper <drepper@gmail.com>
20232
20233 [BZ #13446]
20234 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20235
f0b264f1
AZ
202362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20237
20238 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20239 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20240 optimized code.
20241 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20243 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20244 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20245 for strncasecmp/strncasecmp_l compilation.
20246 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20247 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20248
8ef4f244
MP
202492011-12-08 Marek Polacek <mpolacek@redhat.com>
20250
20251 [BZ #13484]
20252 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20253 of __asm__.
20254
97ac2654
UD
202552011-12-17 Ulrich Drepper <drepper@gmail.com>
20256
20257 [BZ #13506]
20258 * time/tzfile.c (__tzfile_read): Check values from file header.
20259
91d2a845
WS
202602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20261
20262 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20263 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20264 * powerpc/powerpc32/dl-start.S: Likewise.
20265 * powerpc/powerpc32/elf/start.S: Likewise.
20266 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20267 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20268 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20269 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20270 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20271 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20272 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20273 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20274 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20275 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20276 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20277 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20278 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20279 * powerpc/powerpc32/memset.S: Likewise.
20280 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20281 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20282 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20283 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20284 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20285 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20286 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20287 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20288 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20289 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20290 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20291 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20292 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20293
a1267ba1
AZ
202942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20295
20296 * math/libm-test.inc: Added more nearbyint tests.
20297 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20298 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20300 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20301
ad8ac1bd
RL
203022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20303
20304 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20305 FD_CLOEXEC.
20306
1d3e4b61
UD
203072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20308
20309 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20310 Add wcscpy-ssse3 wcscpy-c.
20311 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20312 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20313 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20314 * sysdeps/x86_64/wcschr.S: New file.
20315 * sysdeps/x86_64/wcsrchr.S: New file.
20316 * string/test-strcmp.c: Remove checking of wcscmp function for
20317 wrong alignments.
20318 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20319 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20320 wcsrchr-sse2 wcsrchr-c.
20321 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20322 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20323 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20324 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20325 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20326 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20327 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20328 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20329 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20330 * wcsmbc/wcschr.c (WCSCHR): New macro.
20331
5b330a2d
UD
203322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20333
20334 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20335 * wcsmbs/test-wcsrchr.c: New file.
20336 * string/test-strrchr.c: Add wcsrchr support.
20337 (WIDE): New macro.
20338 * wcsmbs/test-wcscpy.c: New file.
20339 * string/test-strcpy.c: Add wcscpy support.
20340 (WIDE): New macro.
26428b7c 20341
f039c043
UD
203422011-12-10 Ulrich Drepper <drepper@gmail.com>
20343
20344 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20345 the inner loop.
20346
850fb039
AS
203472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20348
20349 [BZ #13472]
20350 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20351
4efbd5cb
UD
203522011-12-04 Ulrich Drepper <drepper@gmail.com>
20353
52ff5dd0 20354 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20355 Minor optimizations.
52ff5dd0 20356
4efbd5cb
UD
20357 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
20358 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
20359 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20360
8a426e12
UD
203612011-12-03 Ulrich Drepper <drepper@gmail.com>
20362
aff2453d
UD
20363 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
20364 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
20365 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
20366 for gcc to avoid warnings.
20367 * inet/Makefile (tests): Add tst-checks.
20368 * inet/tst-checks.c: New file.
20369
20370 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
20371 warning.
20372
20373 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
20374 __wmemcmp_sse2.
20375
20376 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
20377 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
20378
8a426e12
UD
20379 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
20380
9bea3473
UD
203812011-12-02 Ulrich Drepper <drepper@gmail.com>
20382
3a965496
UD
20383 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
20384 problem.
20385
9bea3473
UD
20386 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
20387
f101631b
UD
203882011-11-29 Joseph Myers <joseph@codesourcery.com>
20389
20390 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
20391 conditional on GCC version.
20392 (__arch_compare_and_exchange_val_8_acq)
20393 (__arch_compare_and_exchange_val_16_acq)
20394 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
20395 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
20396 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
20397
a98275aa
UD
203982011-12-02 Joseph Myers <joseph@codesourcery.com>
20399
20400 * sysdeps/sh/backtrace.c: New file.
20401
d4cc29a2
AS
204022011-12-02 Andreas Schwab <schwab@redhat.com>
20403
20404 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
20405 parenthesis.
20406
6257af2d
AS
204072011-12-01 Andreas Schwab <schwab@redhat.com>
20408
20409 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
20410 falling back to utime.
20411
b5f44c1a
AS
204122011-11-30 Andreas Schwab <schwab@redhat.com>
20413
20414 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
20415 expectations for float.
20416
f3a6cc0a
AS
204172011-11-29 Andreas Schwab <schwab@redhat.com>
20418
20419 * locale/weight.h (findidx): Add parameter len.
20420 * locale/weightwc.h (findidx): Likewise.
20421 * posix/fnmatch_loop.c (FCT): Adjust caller.
20422 * posix/regcomp.c (build_equiv_class): Likewise.
20423 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
20424 * posix/regexec.c (check_node_accept_bytes): Likewise.
20425 * string/strcoll_l.c (STRCOLL): Likewise.
20426 * string/strxfrm_l.c (STRXFRM): Likewise.
20427
9d65ea3a
UD
204282011-11-17 Ulrich Drepper <drepper@gmail.com>
20429
20430 * Makefile.in: Remove CVSOPT handling.
20431 * configure.in: Remove use of AC_REVISION.
20432 * iconvdata/Makefile (distribute): No need to filter out CVS.
20433 * scripts/list-sources.sh: Remove CVS, subversion and monotone
20434 handling.
20435
5583a086
AS
204362011-11-16 Andreas Schwab <schwab@redhat.com>
20437
20438 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
20439 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
20440 [USE_AS_STRNCASECMP_L]: Likewise.
20441 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
20442 NO_TLS_DIRECT_SEG_REFS.
20443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
20444 Fix argument offsets for non-PIC.
20445 [USE_AS_STRNCASECMP_L]: Likewise.
20446 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
20447 NO_TLS_DIRECT_SEG_REFS.
20448
d62a8200
UD
204492011-11-15 Ulrich Drepper <drepper@gmail.com>
20450
9d65ea3a 20451 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
20452 O_CLOEXEC.
20453 * locale/loadlocale.c (_nl_load_locale): Likewise.
20454
09f93bd3
AS
204552011-11-15 Andreas Schwab <schwab@redhat.com>
20456
446514f9
AS
20457 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
20458 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
20459 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
20460 (SYSCALL_GETTIME): Set errno on error.
20461
09f93bd3
AS
20462 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
20463 count references to noai6ai_cached.
20464
312be3f9
UD
204652011-11-15 Ulrich Drepper <drepper@gmail.com>
20466
20467 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
20468
20469 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
20470 FD_CLOEXEC for /proc/self/maps.
20471
20472 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
20473 FD_CLOEXEC for /proc/meminfo.
20474
20475 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
20476 gai.conf.
20477
20478 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
20479 FD_CLOEXEC for given file.
20480
20481 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
20482
20483 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
20484 FD_CLOEXEC for /etc/hosts.
20485 (_gethtent): Likewise.
20486
20487 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
20488
20489 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
20490 cancellation and set FD_CLOEXEC for /etc/netgroup.
20491
20492 * nss/nss_files/files-key.c (search): Don't allow cancellation when
20493 reading /etc/publickey.
20494
20495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
20496 allow cancellation when reading /etc/group.
20497
20498 * nss/nss_files/files-alias.c (internal_setent): Don't allow
20499 cancellation.
20500 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
20501
20502 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
20503 when using data file.
20504
20505 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
20506
20507 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
20508 (write_nis_obj): Use "c" and "e" in fopen.
20509
20510 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
20511
20512 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
20513
20514 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
20515
20516 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
20517
20518 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
20519 locale.alias.
20520
20521 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
20522
20523 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
20524
20525 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
20526
20527 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
20528 file parsing and set FD_CLOEXEC.
20529
82af0fa8
UD
205302011-11-14 Ulrich Drepper <drepper@gmail.com>
20531
20532 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
20533
a5fb313c
AS
205342011-11-14 Andreas Schwab <schwab@redhat.com>
20535
20536 * malloc/arena.c (arena_get2): Don't call reused_arena when
20537 _int_new_arena failed.
20538
6abf3465
UD
205392011-11-14 Ulrich Drepper <drepper@gmail.com>
20540
20541 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
20542 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
20543 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
20544 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20545 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20546 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
20547 to compile strcasecmp and strncasecmp.
20548 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
20549 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
20550
20551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
20552
76e3966e
UD
205532011-11-13 Ulrich Drepper <drepper@gmail.com>
20554
20555 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
20556 locale-defines.sym to gen-as-const-headers.
20557 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
20558 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
20559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
20560 to compile strcasecmp and strncasecmp.
20561 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
20562 strcasecmp_l and strncasecmp_l.
20563 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
20564 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
20565 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
20566 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
20567 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
20568 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
20569 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
20570 * sysdeps/i386/i686/multiarch/strncase.S: New file.
20571 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
20572 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
20573 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
20574
ab26144e
UD
205752011-11-12 Ulrich Drepper <drepper@gmail.com>
20576
7edb22ef
UD
20577 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
20578 result of SYSDEP_GETTIME_CPU to retval.
20579 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
20580 parameter list to macro. Remove trailing semicolon. Adjust users.
20581
9694fc44
UD
20582 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
20583 variable.
20584
8ad89ef8
UD
20585 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
20586 mantissa words.
20587 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
20588
0c822ef9
UD
20589 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
20590 from unused variable.
20591
874e0564
UD
20592 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
20593 DWARF definitions.
20594 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
20595 for assembling.
20596
3a2edc79
UD
20597 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
20598 over namespaces.
20599
f3c2577f
UD
20600 * sunrpc/rpc_prot.c (rejected): Fix case value.
20601
294ce126
UD
20602 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
20603 unsigned long long int to avoid warnings in shift.
20604
5e2b63c6
UD
20605 * posix/regex_internal.c (re_string_reconstruct): Actually use result
20606 of use of trans.
20607 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
20608 variable tmp.
20609
e7f4b08e
UD
20610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
20611 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20612 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20613
ab26144e
UD
20614 * nis/nis_table.c (nis_list): Use variable of correct type for
20615 result of __follow_path call.
20616
8a6d5255
AZ
206172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20618
20619 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
20620 of math functions ceil, trunc, floor, round, and sqrt, when
20621 avaliable on the platform.
20622 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
20623 name clash.
20624 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20625 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
20626 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
20627
aaddc98c
MP
206282011-10-30 Marek Polacek <mpolacek@redhat.com>
20629
20630 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
20631 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
20632
95b7042b
RM
206332011-11-11 Roland McGrath <roland@hack.frob.com>
20634
20635 * include/unistd.h: Fix __readlink return type.
20636 Reported by Chris Metcalf <cmetcalf@tilera.com>.
20637
57769839
UD
206382011-11-11 Ulrich Drepper <drepper@gmail.com>
20639
20640 * stdlib/ucontext.h: Undo last change for makecontext.
20641
edc5984d
AS
206422011-11-11 Andreas Schwab <schwab@redhat.com>
20643
98591e58
AS
20644 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
20645
edc5984d
AS
20646 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
20647 * setjmp/setjmp.h: Mark functions as non-leaf.
20648 * setjmp/bits/setjmp2.h: Likewise.
20649 * stdlib/ucontext.h: Likewise.
20650
77cdc054
AS
206512011-11-10 Andreas Schwab <schwab@redhat.com>
20652
20653 * malloc/arena.c (_int_new_arena): Don't increment narenas.
20654 (reused_arena): Don't check arena limit.
20655 (arena_get2): Atomically check arena limit.
20656
fe72eebd
UD
206572011-11-08 Ulrich Drepper <drepper@gmail.com>
20658
5f078c32
UD
20659 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
20660 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
20661
fe72eebd
UD
20662 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
20663 instructions.
20664
ae1bc2fa
AS
206652011-11-07 Andreas Schwab <schwab@redhat.com>
20666
7583a88d
AS
20667 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
20668 handler when locking.
20669
ae1bc2fa
AS
20670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
20671 Fix size of allocated buffer.
20672
10fb0bfa
AS
206732011-11-04 Andreas Schwab <schwab@redhat.com>
20674
998832a4
AS
20675 [BZ #10103]
20676 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
20677 declarations for long double functions.
20678 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
20679
10fb0bfa
AS
20680 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
20681
3d7ba52b
AS
206822011-11-03 Andreas Schwab <schwab@redhat.com>
20683
a9ae54a1
AS
20684 * nscd/nscd.c (main): Don't start AVC thread until credentials are
20685 installed.
20686
3d7ba52b
AS
20687 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
20688 is disabled.
20689
bc8db248
ST
206902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
20691
20692 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
20693
45b96dd6
AS
206942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
20695
647776f6
AS
20696 * include/alloca.h (stackinfo_alloca_round): Define.
20697 (extend_alloca): Use it.
20698 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
20699 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
20700 here.
20701
d91a8b93
AS
20702 * scripts/check-local-headers.sh: Ignore libaudit.h.
20703
45b96dd6
AS
20704 * nscd/Makefile (extra-objs): Make recursively expanded.
20705
432d41ce
UD
207062011-11-01 Ulrich Drepper <drepper@gmail.com>
20707
34372fc6
UD
20708 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
20709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20710
fadb59f8
UD
20711 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
20712 * posix/tst-rfc3484-2.c: Likewise.
20713 * posix/tst-rfc3484-3.c: Likewise.
20714
78239589
UD
20715 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
20716 process_vm_writev.
20717 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
20718 process_vm_writev.
20719 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
20720 process_vm_writev from libc using GLIBC_2.15 version.
20721
432d41ce
UD
20722 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
20723
02f9c6cf
PP
207242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
20725
20726 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
20727 stack usage.
20728
3a2c0242
UD
207292011-10-31 Ulrich Drepper <drepper@gmail.com>
20730
f4ec4833
UD
20731 [BZ #13367]
20732 * nss/getent.c (initgroups_keys): Show error message in case no group
20733 names are given.
20734
3a2c0242
UD
20735 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
20736 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
20737 __bump_nl_timestamp.
20738 * nscd/connections (nscd_init): When host database is served open
20739 netlink socket and request notification about configuration changes.
20740 (main_loop_poll): Track netlink file descriptor and bump timestamp
20741 in case data becomes available.
20742 (main_loop_epoll): Likewise.
20743 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
20744 (database_pers_head): Add extra_data fileds.
20745 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
20746 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
20747 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
20748 Adjust caller.
20749 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
20750 in6ai data, call __free_in6ai.
20751 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
20752 Add -DHAVE_NETLINK.
20753 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
20754 interface information. Reuse previous data if netlink timestamp
20755 is not changed.
20756 (__bump_nl_timestamp): New function.
20757 (__free_in6ai): New function.
20758
636064eb
UD
207592011-10-30 Ulrich Drepper <drepper@gmail.com>
20760
20761 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
20762 close_not_cancel_no_status here.
20763 (__check_pf): Reorganize code a bit to not call close twice if OOM.
20764
9beb2334
UD
207652011-10-29 Ulrich Drepper <drepper@gmail.com>
20766
6ef76f3b
UD
20767 [BZ #13276]
20768 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
20769 return value.
20770
0ffc4f3e 20771 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
20772 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
20773 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
20774
cb95113e
UD
207752011-07-03 Andreas Jaeger <aj@suse.de>
20776
20777 [BZ #10709]
20778 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
20779 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
20780 * math/libm-test.inc (sin_test): Add test case.
20781
a1b560ff
UD
207822011-10-29 Ulrich Drepper <drepper@gmail.com>
20783
c9aaface
UD
20784 [BZ #13337]
20785 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
20786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20787
d272e7f1
UD
20788 * elf/chroot_canon.c (chroot_canon): Cleanups.
20789
1bc33071
UD
20790 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
20791
1760874d
TJ
20792 [BZ #13335]
20793 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
20794 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
20795
51d91b18
UD
20796 * string/test-strchr.c: Make usable for strchrnul testing.
20797 * string/test-strchrnul.c: New file.
20798 * string/Makefile (strop-tests): Add strchrnul.
20799
a1b560ff 20800 * po/it.po: Update from translation team.
b611fb81 20801 * po/es.po: Likewise.
a1b560ff 20802
a5b81e1f
UD
208032011-10-28 Ulrich Drepper <drepper@gmail.com>
20804
fd52bc6d
UD
20805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
20806 the three constants needed as parameters. Drop the others.
20807 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
20808 __m128i_strloadu_tolower.
52e4b9eb
UD
20809 Create and initialize variable zero and use it in all the places
20810 where _mm_setzero_si128 was used.
fd52bc6d 20811
a5b81e1f
UD
20812 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
20813 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
20814 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
20815 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
20816 anymore.
20817 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
20818 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
20819 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
20820 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
20821 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
20822 __mpranred, __mptan.
20823 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
20824 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
20825 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
20826 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
20827 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
20828 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
20829 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
20830 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
20831 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
20832
b4343346
AS
208332011-10-28 Andreas Schwab <schwab@redhat.com>
20834
0c92d8a8
AS
20835 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
20836 redefine if SHARED.
20837 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
20838
b4343346
AS
20839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
20840 wide char related routines to wcsmbs subdir.
20841
3871f58f
AS
208422011-10-27 Andreas Schwab <schwab@redhat.com>
20843
20844 [BZ #13344]
20845 * misc/sys/cdefs.h (__THROWNL): Define.
20846 * posix/unistd.h: Use __THREADNL instead of __THREAD
20847 for memory synchronization functions.
20848
94d44d9f
RM
208492011-10-26 Roland McGrath <roland@hack.frob.com>
20850
21b64b15 20851 [BZ #13349]
94d44d9f
RM
20852 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
20853 doesn't exist.
20854 * manual/stdio.texi (Obstack Streams): Node removed.
20855
f6ce9294
AS
208562011-10-26 Andreas Schwab <schwab@redhat.com>
20857
80479147
AS
20858 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
20859 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20860 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20861
f6ce9294
AS
20862 * math/math_private.h (math_force_eval): Allow non-addressable
20863 arguments.
20864 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
20865
618280a1
UD
208662011-10-25 Ulrich Drepper <drepper@gmail.com>
20867
e0016b11
UD
20868 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
20869 file is not needed.
20870
20871 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
20872 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
20873 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20874 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20876 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20877 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20878 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
20879 Add AVX variants.
20880 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
20881 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
20882 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
20883 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
20884 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
20885 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
20886 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
20887 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
20888 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
20889 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
20890 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
20891 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
20892 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
20893 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
20894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
20895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
20896 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
20897 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
20898 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
20899
20900 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
20901 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
20902
618280a1
UD
20903 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
20904 place. Use VEX encoding when compiling for AVX.
20905
37822576
AS
209062011-10-25 Andreas Schwab <schwab@redhat.com>
20907
1f1e1947
AS
20908 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
20909 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
20910
37822576
AS
20911 * string/test-strchr.c (do_test): Don't generate NUL bytes.
20912
31ea014d
UD
209132011-10-25 Ulrich Drepper <drepper@gmail.com>
20914
d7826aa1 20915 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 20916 useless if() expression.
d7826aa1
UD
20917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20918 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20919 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20920 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20921 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20922 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
20923 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
20924 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20926 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
20927 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
20928 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
20929 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
20930 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
20931 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
20932 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
20933 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
20934 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
20935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
20936
31ea014d
UD
20937 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
20938
16437fec
AS
209392011-10-25 Andreas Schwab <schwab@redhat.com>
20940
20941 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
20942 condition.
20943 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20944
31d3cc00
UD
209452011-10-25 Ulrich Drepper <drepper@gmail.com>
20946
20947 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
20948 .text section. Avoid duplicate constants.
20949 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20950 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20951 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20952 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20954 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20956 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20957 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20958 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
20959 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20960 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20961 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20962 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20963 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20964 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20965 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20966 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20967 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20968 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20969 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20970 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20971 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20972 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
20973 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
20974 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
20975 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
20976 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
20977 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
20978 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
20979 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
20980 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20982 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
20983 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
20984 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
20985 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
20986 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
20987 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
20988 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
20989 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
20990 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
20991 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
20992 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20993 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
20994
58985aa9
UD
209952011-10-24 Ulrich Drepper <drepper@gmail.com>
20996
202c9deb
UD
20997 * sysdeps/x86_64/dla.h: Move to ...
20998 * sysdeps/x86_64/fpu/dla.h: ...here.
20999 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21000 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21001
af968f62
UD
21002 * config.make.in: Add have-mfma4 entry.
21003 * configure.in: Substitute libc_cv_cc_fma4.
21004 * math/Makefile (dbl-only-routines): Add sincostab.
21005 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21006 Use __sincostab not sincos.
21007 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21008 name is a macro.
21009 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21010 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21013 using __copysign.
21014 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21015 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21016 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21017 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21018 and __inv.
21019 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21020 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21021 __copysign.
21022 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21023 define aliases when function name is a macro.
21024 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21025 sysdeps/ieee754/dbl-64/sincos.tbl.
21026 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21027 fma4-enabled routines.
21028 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21029 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21030 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21031 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21032 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21033 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21035 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21036 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21037 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21038 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21039 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21040 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21041 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21042 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21043 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21044 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21045 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21046 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21048 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21049 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21050 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21051 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21052 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21053 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21055 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21056 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21057 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21058
58985aa9
UD
21059 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21060 rename.
21061 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21069
a201fbcf
AS
210702011-10-24 Andreas Schwab <schwab@redhat.com>
21071
21072 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21073
fc2ee42a
LD
210742011-10-23 Ulrich Drepper <drepper@gmail.com>
21075
bb3129bd
UD
21076 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21077
0275fff8
UD
21078 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21079 prediction.
21080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21081
2fa2ae85
UD
21082 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21083 Remove unused variable magic_bits.
21084 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21085
fc2ee42a
LD
21086 * string/strnlen.c: Define and use STRNLEN macro.
21087 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21088 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21090 * wcsmbs/wcslen.c: Define and use WCSLEN.
21091 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21092 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21093 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21094 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21095 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21096 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21097 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21098
ce7dd29f
LD
210992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21100
21101 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21102 strnlen-sse2-no-bsf.
21103 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21105 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21106 Add strnlen support.
21107 (USE_AS_STRNLEN): New macro.
21108 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21109 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21110 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21111 * sysdeps/x86_64/wcslen.S: New file.
21112
979c70a3
MZ
211132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21114
21115 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21116 XMM-moves are used for copying on small sizes.
21117
2d09f82f
LD
211182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21119
21120 * wcsmbs/Makefile (strop-tests): Add wcschr.
21121 * wcsmbs/test-wcschr.c: New file.
21122 * string/test-strchr.c: Update.
21123 Add wcschr support.
21124 (WIDE): New macro.
21125
619fccca
LD
211262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21127
2d09f82f 21128 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21129 * wcsmbs/test-wcslen.c: New file.
21130 * string/test-strlen.c: Update.
21131 Add wcslen support.
21132 (WIDE): New macro.
21133
09f699ea
UD
211342011-10-23 Ulrich Drepper <drepper@gmail.com>
21135
21136 * po/it.po: Update from translation team.
21137
95584d3b
LD
211382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21139
21140 * sysdeps/x86_64/wcscmp.S: Update.
21141 Fix wrong comparison semantics.
21142 wcscmp shall use signed comparison not unsigned.
21143 Don't use substraction to avoid overflow bug.
21144 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21145 * wcsmbc/wcscmp.c: Likewise.
21146 * string/test-strcmp.c: Likewise.
21147 Add new tests to check cases with negative values.
21148
c8b3296b
UD
211492011-10-23 Ulrich Drepper <drepper@gmail.com>
21150
21151 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21152 * sysdeps/x86_64/dla.h: ...here. New file.
21153 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21154 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21155 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21156 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21157 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21158 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21159 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21160 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21161 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21162
246ad57a
AS
211632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21164
21165 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21166 __ynl_finite aliases.
21167
a1a87169
UD
211682011-10-22 Ulrich Drepper <drepper@gmail.com>
21169
0d355eb7
UD
21170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21171
a1a87169
UD
21172 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21173 define DLA_FMA.
21174 [DLA_FMA] (EMULV): Use DLA_FMA.
21175 [DLA_FMA] (MUL12): Use EMULV.
21176 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21177 that are not needed.
21178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21185
ee2aafe0
AS
211862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21187
21188 * math/s_nan.c: Undef __nan.
21189 * math/s_nanf.c: Undef __nanf.
21190 * math/s_nanl.c: Undef __nanl.
21191 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21192 "math_private.h".
21193
bc62c2fb
UD
211942011-10-22 Ulrich Drepper <drepper@gmail.com>
21195
77425c63
UD
21196 * math/s_catan.c: Add branch predictions.
21197 * math/s_catanf.c: Likewise.
21198 * math/s_catanh.c: Likewise.
21199 * math/s_catanhf.c: Likewise.
21200 * math/s_catanhl.c: Likewise.
21201 * math/s_catanl.c: Likewise.
21202 * math/s_cexp.c: Likewise.
21203 * math/s_cexpf.c: Likewise.
21204 * math/s_cexpl.c: Likewise.
21205 * math/s_clog.c: Likewise.
21206 * math/s_clog10.c: Likewise.
21207 * math/s_clog10f.c: Likewise.
21208 * math/s_clog10l.c: Likewise.
21209 * math/s_clogf.c: Likewise.
21210 * math/s_clogl.c: Likewise.
21211 * math/s_csqrt.c: Likewise.
21212 * math/s_csqrtf.c: Likewise.
21213 * math/s_csqrtl.c: Likewise.
21214 * math/s_ctanf.c: Likewise.
21215 * math/s_ctanh.c: Likewise.
21216 * math/s_ctanhf.c: Likewise.
21217 * math/s_ctanhl.c: Likewise.
21218 * math/s_ctanl.c: Likewise.
21219
bc62c2fb
UD
21220 * math/math_private.h: Define __nan, __nanf, __nanl.
21221 * math/s_cacosh.c: Include <math_private.h>.
21222 * math/s_cacoshl.c: Likewise.
21223 * math/s_casinh.c: Likewise.
21224 * math/s_casinhf.c: Likewise.
21225 * math/s_casinhl.c: Likewise.
21226 * math/s_ccos.c: Rely entire on ccosh.
21227 * math/s_ccosf.c: Rely entire on ccoshf.
21228 * math/s_ccosl.c: Rely entirely on ccoshl.
21229 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21230 Remove tests for FE_INVALID.
21231 * math/s_ccoshf.c: Likewise.
21232 * math/s_ccoshl.c: Likewise.
21233 * math/s_csin.c: Likewise.
21234 * math/s_csinf.c: Likewise.
21235 * math/s_csinh.c Likewise.
21236 * math/s_csinhf.c: Likewise.
21237 * math/s_csinhl.c: Likewise.
21238 * math/s_csinl.c: Likewise.
21239 * math/s_ctan.c: Likewise.
21240 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21241 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21242 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21243
8ec250a4
UD
212442011-10-21 Ulrich Drepper <drepper@gmail.com>
21245
c196fed8
UD
21246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21247 compilation problems.
21248
8ec250a4
UD
21249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21250 __builtin_expect.
21251
8d4f46c6
UD
212522011-10-20 Ulrich Drepper <drepper@gmail.com>
21253
ed72b654
UD
21254 * sysdeps/i386/configure.in: Test for -mfma4 option.
21255 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21256 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21257 COMMON_CPUID_INDEX_80000001.
21258 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21259 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21260 use it if FMA3 is not supported.
21261 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21262
8d4f46c6
UD
21263 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21264 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21265
d45c60c2
AS
212662011-10-20 Andreas Schwab <schwab@redhat.com>
21267
21268 [BZ #12892]
21269 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21270 it would create a cycle with a link time dependency.
21271
d9a4d2ab
UD
212722011-10-19 Ulrich Drepper <drepper@gmail.com>
21273
855d1560
UD
21274 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21275 instruction.
21276 * string/Makefile (strop-tests): Add rawmemchr.
21277 * string/test-rawmemchr.c: New file.
21278
d9a4d2ab
UD
21279 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21280 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21281 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21282 when compiling str{,n}casecmp and when AVX is available. Hook up
21283 new optimized code in initializers.
21284
8f3b1ffe
AS
212852011-10-19 Andreas Schwab <schwab@redhat.com>
21286
21287 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21288 __feraiseexcept instead of feraiseexcept.
21289
d38f1dba
UD
212902011-10-18 Ulrich Drepper <drepper@gmail.com>
21291
d9a8d0ab
UD
21292 * math/math_private.h: Define defaults for libc_fetestexcept and
21293 libc_feupdateenv.
21294 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21295 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21296 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21298 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21299 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21300 libc_fetestexcept and libc_feupdateenv.
21301
4855e3dd
UD
21302 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21303 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21304 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21305 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21306 libc_feholdexcept_setround.
21307
581d30e3
UD
21308 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21309 Add s_nearbyint-c and s_nearbyintf-c.
21310 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21311 nearbyintf inlines.
21312 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21313 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21314 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21315 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21316
d38f1dba
UD
21317 * math/math_private.h: Define defaults for libc_fegetround,
21318 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21319 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21320 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21322 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21323 standard functions.
21324 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21325 Remove comments and hacks for old compiler versions.
21326 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21327 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21328 libc_feholdexceptl.
21329
caa6c9d8
AS
213302011-10-18 Andreas Schwab <schwab@redhat.com>
21331
21332 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21333 (__feraiseexcept_renamed): Add __NTH.
21334 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21335 namespace violations.
21336
97c066e6
UD
213372011-10-17 Ulrich Drepper <drepper@gmail.com>
21338
99ce7b04
UD
21339 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21340
1004d182
UD
21341 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21342
228a984d
UD
21343 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21344 recently added interfaces.
21345 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21346
c8553a6a
UD
21347 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21348 about macro parameter expansion.
21349
ed22dcf6
UD
21350 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21351 __NO_MATH_INLINES is defined. Cleanups.
21352
21353 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21354 and __floorf is target has SSE4.1.
21355 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21356 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21357 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
21358 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
21359
b171c137
UD
21360 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
21361 name.
21362 (floorf): Likewise.
21363
97c066e6
UD
21364 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
21365
629f62ef
AS
213662011-10-17 Andreas Schwab <schwab@redhat.com>
21367
49a43d80
AS
21368 * misc/sys/cdefs.h: Fix last change.
21369
629f62ef
AS
21370 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
21371 database lookup.
21372
e453f6cd
UD
213732011-10-16 Ulrich Drepper <drepper@gmail.com>
21374
aa78043a
UD
21375 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
21376
ad0f5cad
UD
21377 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
21378 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21379 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21380 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21381 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21382 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
21383 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21384 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21385 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
21386 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
21387 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
21388 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
21389 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
21390 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
21391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
21392 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
21393 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
21394 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
21395 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
21396 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
21397 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
21398 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
21399
21400 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
21401 ceil, ceilf, floor, floorf.
21402
21403 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
21404 Perform IRELATIVE relocations last.
21405
e453f6cd
UD
21406 * elf/do-rel.h: Add another parameter nrelative, replacing the
21407 local variable with the same name. Change name of the function
21408 to end in Rel or Rela (uppercase).
21409 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
21410 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
21411 elf_dynamic_do_##reloc function.
21412
fd5bdc09
UD
214132011-10-15 Ulrich Drepper <drepper@gmail.com>
21414
79b195b5
UD
21415 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
21416 is sufficient, at least on modern CPUs.
21417
d4a28569
UD
21418 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
21419
b61099b5
UD
21420 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
21421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
21422
bcf01e6d
UD
21423 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
21424 __expl_finite.
21425 * math/bits/math-finite.h: Add entries for exp.
21426 * math/e_expl.c: Add __*_finite alias.
21427 * sysdeps/i386/fpu/e_exp.S: Likewise.
21428 * sysdeps/i386/fpu/e_expf.S: Likewise.
21429 * sysdeps/i386/fpu/e_expl.c: Likewise.
21430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21431 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21432 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21433 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21434 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
21435 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21436 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21437
ba1a0d59
UD
21438 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
21439 is sufficient, at least on modern CPUs.
21440
fd5bdc09
UD
21441 * ctype/ctype-info.c (__ctype_init): Define.
21442 * include/ctype.h (__ctype_init): Declare.
21443 (__ctype_b_loc): The variable is always initialized.
21444 (__ctype_toupper_loc): Likewise.
21445 (__ctype_tolower_loc): Likewise.
21446 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
21447 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
21448
7872cfb0
AS
214492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
21450
b468825a
AS
21451 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
21452
7872cfb0
AS
21453 * configure.in: Also look in $cxxmachine/include for C++ system
21454 headers.
21455
be13f7bf
LD
214562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21457
21458 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
21459 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
21460 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
21461 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
21462 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
21463 (USE_AS_WMEMCMP): New macro.
21464 Fixing indents.
21465 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
21466 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
21467 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
21468 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
21469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21470 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
21471 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
21472 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
21473 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
21474 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
21475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
21476 (USE_AS_WMEMCMP): New macro.
21477 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
21478 * sysdeps/string/test-memcmp.c: Update.
21479 Fix simple_wmemcmp.
21480 Add new tests.
21481 * wcsmbs/wmemcmp.c: Update.
21482 (WMEMCMP): New macro.
21483 Fix overflow bug.
21484
556a2007
AJ
214852011-10-12 Andreas Jaeger <aj@suse.de>
21486
21487 [BZ #13268]
21488 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
21489
538faaa7
UD
214902011-10-15 Ulrich Drepper <drepper@gmail.com>
21491
ab6737ff
UD
21492 * libio/iofwide.c (do_length): Avoid warning.
21493
538faaa7
UD
21494 * ctype/ctype.h (__isctype_f): Add missing __THROW.
21495
396a21b1
UD
214962011-10-14 Ulrich Drepper <drepper@gmail.com>
21497
cdf2901f
UD
21498 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
21499
38ad40ce
UD
21500 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
21501 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
21502 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
21503 * sysdeps/i386/i686/fpu/e_log.S: New file.
21504 * sysdeps/i386/i686/fpu/e_logf.S: New file.
21505 * sysdeps/i386/i686/fpu/e_logl.S: New file.
21506
396a21b1
UD
21507 * ctype/ctype.h: Add support for inlined isXXX functions when
21508 compiling C++ code.
21509
6b1f68c9
AS
215102011-10-14 Andreas Schwab <schwab@redhat.com>
21511
349290c0
AS
21512 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
21513
6b1f68c9
AS
21514 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
21515
f2282d42
RM
215162011-10-13 Roland McGrath <roland@hack.frob.com>
21517
21518 [BZ #13291]
21519 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
21520
5298ffa8
AS
215212011-10-13 Andreas Schwab <schwab@redhat.com>
21522
714fad23
AS
21523 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
21524 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
21525 feraiseexcept.
21526
81dcc7fb
AS
21527 * sysdeps/x86_64/memrchr.S: Check for zero size.
21528
5298ffa8
AS
21529 * string/stratcliff.c: Add memrchr tests.
21530
951fbcec
LD
215312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21532
21533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21534 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
21535 rawmemchr-sse2 rawmemchr-sse2-bsf.
21536 * sysdeps/i386/i686/multiarch/memchr.S: New file.
21537 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
21538 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
21539 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
21540 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
21541 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
21542 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
21543 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
21544 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
21545 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
21546 * string/memrchr.c (MEMRCHR): New macro.
21547
0ac5ae23
UD
215482011-10-12 Ulrich Drepper <drepper@gmail.com>
21549
21550 Add integration with gcc's -ffinite-math-only and optimize wrapper
21551 functions in libm.
21552 * Versions.def: Define GLIBC_2.15 version for libm.
21553 * math/Makefile (headers): Add bits/math-finite.h.
21554 * math/bits/math-finite.h: New file.
21555 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
21556 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
21557 * math/e_acoshl.c: Add __*_finite alias.
21558 * math/e_acosl.c: Likewise.
21559 * math/e_asinl.c: Likewise.
21560 * math/e_atan2l.c: Likewise.
21561 * math/e_atanhl.c: Likewise.
21562 * math/e_coshl.c: Likewise.
21563 * math/e_exp10.c: Likewise.
21564 * math/e_exp10f.c: Likewise.
21565 * math/e_exp10l.c: Likewise.
21566 * math/e_exp2l.c: Likewise.
21567 * math/e_fmodl.c: Likewise.
21568 * math/e_gammal_r.c: Likewise.
21569 * math/e_hypotl.c: Likewise.
21570 * math/e_j0l.c: Likewise.
21571 * math/e_j1l.c: Likewise.
21572 * math/e_jnl.c: Likewise.
21573 * math/e_lgammal_r.c: Likewise.
21574 * math/e_log10l.c: Likewise.
21575 * math/e_log2l.c: Likewise.
21576 * math/e_logl.c: Likewise.
21577 * math/e_powl.c: Likewise.
21578 * math/e_sinhl.c: Likewise.
21579 * math/e_sqrtl.c: Likewise.
21580 * math/e_scalb.c: Completely rewritten and optimized.
21581 * math/e_scalbf.c: Likewise.
21582 * math/e_scalbl.c: Likewise.
21583 * math/w_acos.c: Likewise.
21584 * math/w_acosf.c: Likewise.
21585 * math/w_acosl.c: Likewise.
21586 * math/w_acosh.c: Likewise.
21587 * math/w_acoshf.c: Likewise.
21588 * math/w_acoshl.c: Likewise.
21589 * math/w_asin.c: Likewise.
21590 * math/w_asinf.c: Likewise.
21591 * math/w_asinl.c: Likewise.
21592 * math/w_atan2.c: Likewise.
21593 * math/w_atan2f.c: Likewise.
21594 * math/w_atan2l.c: Likewise.
21595 * math/w_atanh.c: Likewise.
21596 * math/w_atanhf.c: Likewise.
21597 * math/w_atanhl.c: Likewise.
21598 * math/w_exp10.c: Likewise.
21599 * math/w_exp10f.c: Likewise.
21600 * math/w_exp10l.c: Likewise.
21601 * math/w_fmod.c: Likewise.
21602 * math/w_fmodf.c: Likewise.
21603 * math/w_fmodl.c: Likewise.
21604 * math/w_j0.c: Likewise.
21605 * math/w_j0f.c: Likewise.
21606 * math/w_j0l.c: Likewise.
21607 * math/w_j1.c: Likewise.
21608 * math/w_j1f.c: Likewise.
21609 * math/w_j1l.c: Likewise.
21610 * math/w_jn.c: Likewise.
21611 * math/w_jnf.c: Likewise.
21612 * math/w_log.c: Likewise.
21613 * math/w_logf.c: Likewise.
21614 * math/w_logl.c: Likewise.
21615 * math/w_log10.c: Likewise.
21616 * math/w_log10f.c: Likewise.
21617 * math/w_log10l.c: Likewise.
21618 * math/w_log2.c: Likewise.
21619 * math/w_log2f.c: Likewise.
21620 * math/w_log2l.c: Likewise.
21621 * math/w_pow.c: Likewise.
21622 * math/w_powf.c: Likewise.
21623 * math/w_powl.c: Likewise.
21624 * math/w_remainder.c: Likewise.
21625 * math/w_remainderf.c: Likewise.
21626 * math/w_remainderl.c: Likewise.
21627 * math/w_scalb.c: Likewise.
21628 * math/w_scalbf.c: Likewise.
21629 * math/w_scalbl.c: Likewise.
21630 * math/w_sqrt.c: Likewise.
21631 * math/w_sqrtf.c: Likewise.
21632 * math/w_sqrtl.c: Likewise.
21633 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
21634 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
21635 used.
21636 * math/math_private.h: Declare __kernel_standard_f.
21637 * math/w_cosh.c: Remove cruft and optimize a bit.
21638 * math/w_coshf.c: Likewise.
21639 * math/w_coshl.c: Likewise.
21640 * math/w_exp2.c: Likewise.
21641 * math/w_exp2f.c: Likewise.
21642 * math/w_exp2l.c: Likewise.
21643 * math/w_hypot.c: Likewise.
21644 * math/w_hypotf.c: Likewise.
21645 * math/w_hypotl.c: Likewise.
21646 * math/w_lgamma.c: Likewise.
21647 * math/w_lgamma_r.c: Likewise.
21648 * math/w_lgammaf.c: Likewise.
21649 * math/w_lgammaf_r.c: Likewise.
21650 * math/w_lgammal.c: Likewise.
21651 * math/w_lgammal_r.c: Likewise.
21652 * math/w_sinh.c: Likewise.
21653 * math/w_sinhf.c: Likewise.
21654 * math/w_sinhl.c: Likewise.
21655 * math/w_tgamma.c: Likewise.
21656 * math/w_tgammaf.c: Likewise.
21657 * math/w_tgammal.c: Likewise.
21658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21659 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21660 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
21661 Minor optimizations. Pretty printing. Remove cruft.
21662 * sysdeps/i386/fpu/e_acosf.S: Likewise.
21663 * sysdeps/i386/fpu/e_acosh.S: Likewise.
21664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
21665 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
21666 * sysdeps/i386/fpu/e_acosl.c: Likewise.
21667 * sysdeps/i386/fpu/e_asin.S: Likewise.
21668 * sysdeps/i386/fpu/e_asinf.S: Likewise.
21669 * sysdeps/i386/fpu/e_atan2.S: Likewise.
21670 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
21671 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
21672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
21673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
21674 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
21675 * sysdeps/i386/fpu/e_exp10.S: Likewise.
21676 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
21677 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
21678 * sysdeps/i386/fpu/e_exp2.S: Likewise.
21679 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
21680 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
21681 * sysdeps/i386/fpu/e_fmod.S: Likewise.
21682 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
21683 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
21684 * sysdeps/i386/fpu/e_hypot.S: Likewise.
21685 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
21686 * sysdeps/i386/fpu/e_log.S: Likewise.
21687 * sysdeps/i386/fpu/e_log10.S: Likewise.
21688 * sysdeps/i386/fpu/e_log10f.S: Likewise.
21689 * sysdeps/i386/fpu/e_log10l.S: Likewise.
21690 * sysdeps/i386/fpu/e_log2.S: Likewise.
21691 * sysdeps/i386/fpu/e_log2f.S: Likewise.
21692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
21693 * sysdeps/i386/fpu/e_logf.S: Likewise.
21694 * sysdeps/i386/fpu/e_logl.S: Likewise.
21695 * sysdeps/i386/fpu/e_pow.S: Likewise.
21696 * sysdeps/i386/fpu/e_powf.S: Likewise.
21697 * sysdeps/i386/fpu/e_powl.S: Likewise.
21698 * sysdeps/i386/fpu/e_remainder.S: Likewise.
21699 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
21700 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
21701 * sysdeps/i386/fpu/e_scalb.S: Likewise.
21702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
21703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
21704 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
21705 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
21706 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21711 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21712 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21713 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21714 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21715 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21716 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21717 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21718 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21719 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21725 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21726 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21727 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21728 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
21729 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
21730 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
21731 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
21732 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
21733 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21734 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
21735 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
21736 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
21737 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21738 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21739 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21740 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
21741 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
21742 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
21743 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
21744 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
21745 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
21746 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
21747 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
21748 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
21749 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
21750 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
21751 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
21752 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
21753 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
21754 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
21755 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
21756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
21757 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
21758 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21759 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21760 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21761 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21762 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
21763 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
21764 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
21765 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
21766 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
21767 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
21768 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
21769 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21770 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21771 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
21772 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
21773 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
21774 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
21775 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
21776 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
21777 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
21778 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
21779 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
21780 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
21781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
21782 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
21783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
21785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
21786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
21787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
21789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
21790 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21792 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21793 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21794 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
21795 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21796 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
21797 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
21798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
21799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21800 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
21801 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21802 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21803 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21804 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
21805 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
21806 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
21807 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
21808 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
21809 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
21810 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
21811 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
21812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
21813 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
21814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
21815 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
21816 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
21817 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
21818 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
21819 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
21820 (__isnanf): Likewise.
21821 (__isinf_ns): Likewise.
21822 (__isinf_nsf): Likewise.
21823 (__finite): Likewise.
21824 (__finitef): Likewise.
21825 (__ieee754_sqrt): Define as macro.
21826 (__ieee754_sqrtf): Define as macro.
21827 (__ieee754_sqrtl): Define as macro.
21828 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
21829 inlined copy.
21830 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
21831 __FINITE_MATH_ONLY__ consistent.
21832 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
21833
12cc2fcd
AS
218342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
21835
a843a204
AS
21836 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
21837 of rawmemchr.
21838
12cc2fcd
AS
21839 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
21840
c853acd5
UD
218412011-10-09 Ulrich Drepper <drepper@gmail.com>
21842
21843 * po/ja.po: Update from translation team.
21844
c658d255
RM
218452011-10-08 Roland McGrath <roland@hack.frob.com>
21846
110946e4
RM
21847 * locale/programs/locarchive.c (prepare_address_space): New function.
21848 (create_archive, enlarge_archive, open_archive): Use it.
21849
50604220
RM
21850 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
21851 inside [SHARED], where it is used.
21852
c658d255
RM
21853 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
21854
21855 * nss/getent.c (netgroup_keys): Remove unused variable.
21856 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
21857
6a621eb7
UD
218582011-10-08 Ulrich Drepper <drepper@gmail.com>
21859
7edb55ce
UD
21860 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
21861 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
21862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
21863 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
21864 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
21865 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
21866 * math/Makefile (libm-calls): Add s_isinf_ns.
21867 * math/divtc3.c: Use __isinf_nsl instead of isinf.
21868 * math/multc3.c: Likewise.
21869 * math/s_casin.c: Likewise.
21870 * math/s_casinf.c: Likewise.
21871 * math/s_casinl.c: Likewise.
21872 * math/s_ccos.c: Likewise.
21873 * math/s_ccosf.c: Likewise.
21874 * math/s_ccosl.c: Likewise.
21875 * math/s_ctan.c: Likewise.
21876 * math/s_ctanf.c: Likewise.
21877 * math/s_ctanh.c: Likewise.
21878 * math/s_ctanhf.c: Likewise.
21879 * math/s_ctanhl.c: Likewise.
21880 * math/s_ctanl.c: Likewise.
21881 * math/w_fmod.c: Likewise.
21882 * math/w_fmodf.c: Likewise.
21883 * math/w_fmodl.c: Likewise.
21884 * math/w_remainder.c: Likewise.
21885 * math/w_remainderf.c: Likewise.
21886 * math/w_remainderl.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
21888 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
21889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
21890 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
21891 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
21892 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
21893 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
21894 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
21895
187da0ae
UD
21896 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
21897 of the number.
21898 * stdio-common/printf_fphex.c: Likewise.
21899 * stdio-common/printf_size.c: Likewise.
21900
9277c064
UD
21901 * math/e_exp10.c: Include math_private.h using <...> not "...".
21902 * math/e_exp10f.c: Likewise.
21903 * math/e_exp10l.c: Likewise.
21904 * math/e_exp2l.c: Likewise.
21905 * math/e_j0l.c: Likewise.
21906 * math/e_j1l.c: Likewise.
21907 * math/e_jnl.c: Likewise.
21908 * math/e_lgammal_r.c: Likewise.
21909 * math/e_rem_pio2l.c: Likewise.
21910 * math/e_scalb.c: Likewise.
21911 * math/e_scalbf.c: Likewise.
21912 * math/e_scalbl.c: Likewise.
21913 * math/k_cosl.c: Likewise.
21914 * math/k_sinl.c: Likewise.
21915 * math/k_tanl.c: Likewise.
21916 * math/s_cacoshf.c: Likewise.
21917 * math/s_catan.c: Likewise.
21918 * math/s_catanf.c: Likewise.
21919 * math/s_catanh.c: Likewise.
21920 * math/s_catanhf.c: Likewise.
21921 * math/s_catanhl.c: Likewise.
21922 * math/s_catanl.c: Likewise.
21923 * math/s_ccosh.c: Likewise.
21924 * math/s_ccoshf.c: Likewise.
21925 * math/s_ccoshl.c: Likewise.
21926 * math/s_cexp.c: Likewise.
21927 * math/s_cexpf.c: Likewise.
21928 * math/s_cexpl.c: Likewise.
21929 * math/s_clog.c: Likewise.
21930 * math/s_clog10.c: Likewise.
21931 * math/s_clog10f.c: Likewise.
21932 * math/s_clog10l.c: Likewise.
21933 * math/s_clogf.c: Likewise.
21934 * math/s_clogl.c: Likewise.
21935 * math/s_csin.c: Likewise.
21936 * math/s_csinf.c: Likewise.
21937 * math/s_csinh.c: Likewise.
21938 * math/s_csinhf.c: Likewise.
21939 * math/s_csinhl.c: Likewise.
21940 * math/s_csinl.c: Likewise.
21941 * math/s_csqrt.c: Likewise.
21942 * math/s_csqrtf.c: Likewise.
21943 * math/s_csqrtl.c: Likewise.
21944 * math/s_ctan.c: Likewise.
21945 * math/s_ctanf.c: Likewise.
21946 * math/s_ctanh.c: Likewise.
21947 * math/s_ctanhf.c: Likewise.
21948 * math/s_ctanhl.c: Likewise.
21949 * math/s_ctanl.c: Likewise.
21950 * math/s_ldexp.c: Likewise.
21951 * math/s_ldexpf.c: Likewise.
21952 * math/s_ldexpl.c: Likewise.
21953 * math/s_significand.c: Likewise.
21954 * math/s_significandf.c: Likewise.
21955 * math/s_significandl.c: Likewise.
21956 * math/w_acos.c: Likewise.
21957 * math/w_acosf.c: Likewise.
21958 * math/w_acosh.c: Likewise.
21959 * math/w_acoshf.c: Likewise.
21960 * math/w_acoshl.c: Likewise.
21961 * math/w_acosl.c: Likewise.
21962 * math/w_asin.c: Likewise.
21963 * math/w_asinf.c: Likewise.
21964 * math/w_asinl.c: Likewise.
21965 * math/w_atan2.c: Likewise.
21966 * math/w_atan2f.c: Likewise.
21967 * math/w_atan2l.c: Likewise.
21968 * math/w_atanh.c: Likewise.
21969 * math/w_atanhf.c: Likewise.
21970 * math/w_atanhl.c: Likewise.
21971 * math/w_cosh.c: Likewise.
21972 * math/w_coshf.c: Likewise.
21973 * math/w_coshl.c: Likewise.
21974 * math/w_dremf.c: Likewise.
21975 * math/w_exp10.c: Likewise.
21976 * math/w_exp10f.c: Likewise.
21977 * math/w_exp10l.c: Likewise.
21978 * math/w_exp2.c: Likewise.
21979 * math/w_exp2f.c: Likewise.
21980 * math/w_fmod.c: Likewise.
21981 * math/w_fmodf.c: Likewise.
21982 * math/w_fmodl.c: Likewise.
21983 * math/w_hypot.c: Likewise.
21984 * math/w_hypotf.c: Likewise.
21985 * math/w_hypotl.c: Likewise.
21986 * math/w_j0.c: Likewise.
21987 * math/w_j0f.c: Likewise.
21988 * math/w_j0l.c: Likewise.
21989 * math/w_j1.c: Likewise.
21990 * math/w_j1f.c: Likewise.
21991 * math/w_j1l.c: Likewise.
21992 * math/w_jn.c: Likewise.
21993 * math/w_jnf.c: Likewise.
21994 * math/w_jnl.c: Likewise.
21995 * math/w_lgamma.c: Likewise.
21996 * math/w_lgamma_r.c: Likewise.
21997 * math/w_lgammaf.c: Likewise.
21998 * math/w_lgammaf_r.c: Likewise.
21999 * math/w_lgammal.c: Likewise.
22000 * math/w_lgammal_r.c: Likewise.
22001 * math/w_log.c: Likewise.
22002 * math/w_log10.c: Likewise.
22003 * math/w_log10f.c: Likewise.
22004 * math/w_log10l.c: Likewise.
22005 * math/w_log2.c: Likewise.
22006 * math/w_log2f.c: Likewise.
22007 * math/w_log2l.c: Likewise.
22008 * math/w_logf.c: Likewise.
22009 * math/w_logl.c: Likewise.
22010 * math/w_pow.c: Likewise.
22011 * math/w_powf.c: Likewise.
22012 * math/w_powl.c: Likewise.
22013 * math/w_remainder.c: Likewise.
22014 * math/w_remainderf.c: Likewise.
22015 * math/w_remainderl.c: Likewise.
22016 * math/w_scalb.c: Likewise.
22017 * math/w_scalbf.c: Likewise.
22018 * math/w_scalbl.c: Likewise.
22019 * math/w_sinh.c: Likewise.
22020 * math/w_sinhf.c: Likewise.
22021 * math/w_sinhl.c: Likewise.
22022 * math/w_sqrt.c: Likewise.
22023 * math/w_sqrtf.c: Likewise.
22024 * math/w_sqrtl.c: Likewise.
22025 * math/w_tgamma.c: Likewise.
22026 * math/w_tgammaf.c: Likewise.
22027 * math/w_tgammal.c: Likewise.
22028
6a621eb7
UD
22029 * po/ja.po: Update from translation team.
22030
bf582445
AJ
220312011-09-29 Andreas Jaeger <aj@suse.de>
22032
f9efbf3a
AJ
22033 [BZ #13179]
22034 * sunrpc/netname.c (netname2host): Fix logic.
22035
bf582445
AJ
22036 [BZ #6779]
22037 [BZ #6783]
22038 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22039 correctly.
22040 * math/w_remainder.c (__remainder): Likewise.
22041 * math/w_remainderf.c (__remainderf): Likewise.
22042 * math/libm-test.inc (remainder_test): Add test cases.
22043
48693bea
AK
220442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22045
22046 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22047 sdiv_qrnnd.
22048
42622229
LD
220492011-10-07 Ulrich Drepper <drepper@gmail.com>
22050
22051 * string/test-memcmp.c: Avoid unncessary #defines.
22052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22053
093ecf92
LD
220542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22055
22056 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22057 Use new sse2 version for core i3 - i7 as it's faster
22058 than sse42 version.
22059 (bit_Prefer_PMINUB_for_stringop): New.
22060 * sysdeps/x86_64/rawmemchr.S: Update.
22061 Replace with faster SSE2 version.
22062 * sysdeps/x86_64/memrchr.S: New file.
22063 * sysdeps/x86_64/memchr.S: Update.
22064 Replace with faster SSE2 version.
22065
fde56e5c
MP
220662011-09-12 Marek Polacek <mpolacek@redhat.com>
22067
22068 * elf/dl-load.c (lose): Add cast to avoid warning.
22069
21fd49a9
UD
220702011-10-07 Ulrich Drepper <drepper@gmail.com>
22071
5a06e643
UD
22072 * po/ca.po: Update from translation team.
22073
684ae515
UD
22074 * inet/getnetgrent_r.c: Hook up nscd.
22075 * nscd/Makefile (routines): Add nscd_netgroup.
22076 (nscd-modules): Add netgroupcache.
22077 (CFLAGS-netgroupcache.c): Define.
22078 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22079 (cache_search): Add const to second parameter.
22080 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22081 INNETGR.
22082 (dbs): Add netgrdb entry.
22083 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22084 (verify_persistent_db): Handle netgrdb.
22085 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22086 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22087 GETFDNETGR.
22088 (netgroup_response_header): Define.
22089 (innetgroup_response_header): Define.
22090 (datahead): Add netgroup_response_header and innetgroup_response_header
22091 elements.
22092 * nscd/nscd.conf: Add entries for netgroup cache.
22093 * nscd/nscd.h (dbtype): Add netgrdb.
22094 (_PATH_NSCD_NETGROUP_DB): Define.
22095 (netgroup_iov_disabled): Declare.
22096 (xmalloc, xcalloc, xrealloc): Move declarations here.
22097 (cache_search): Adjust prototype.
22098 Add netgroup-related prototypes.
22099 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22100 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22101 (__nscd_innetgr): Declare.
22102 * nscd/selinux.c (perms): Use access_vector_t as element type and
22103 add netgroup-related initializers.
22104 * nscd/netgroupcache.c: New file.
22105 * nscd/nscd_netgroup.c: New file.
22106 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22107 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22108 For four parameters use innetgr.
22109 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22110 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22111 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22112 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22113
21fd49a9
UD
22114 * nscd/connections.c (register_traced_file): Don't register file
22115 for disabled databases.
22116
054c0457
UD
221172011-10-06 Ulrich Drepper <drepper@gmail.com>
22118
32b63198
UD
22119 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22120
054c0457
UD
22121 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22122 from tree and freeing node.
22123
64031225
JO
221242011-09-25 Jiri Olsa <jolsa@redhat.com>
22125
22126 * nss/nsswitch.c (__nss_database_lookup): Handle
22127 nss_parse_service_list out of memory case.
22128
0490345c
JO
221292011-09-15 Jiri Olsa <jolsa@redhat.com>
22130
22131 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22132 out of memory case.
22133
3a62d00d
AS
221342011-10-04 Andreas Schwab <schwab@redhat.com>
22135
22136 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22137 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22138 pass it down.
22139 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22140 elf_machine_rela, elf_machine_lazy_rel.
22141 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22142 (ELF_DYNAMIC_DO_REL): Likewise.
22143 (ELF_DYNAMIC_DO_RELA): Likewise.
22144 (ELF_DYNAMIC_RELOCATE): Likewise.
22145 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22146 to ELF_DYNAMIC_DO_REL.
22147 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22148 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22149 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22150 elf_machine_rela.
22151 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22152 skip_ifunc, don't call ifunc function if non-zero.
22153 (elf_machine_rela): Likewise.
22154 (elf_machine_lazy_rel): Likewise.
22155 (elf_machine_lazy_rela): Likewise.
22156 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22157 (elf_machine_lazy_rel): Likewise.
22158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22159 Likewise.
22160 (elf_machine_lazy_rel): Likewise.
22161 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22162 Likewise.
22163 (elf_machine_lazy_rel): Likewise.
22164 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22165 (elf_machine_lazy_rel): Likewise.
22166 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22167 (elf_machine_lazy_rel): Likewise.
22168 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22169 (elf_machine_lazy_rel): Likewise.
22170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22171 (elf_machine_lazy_rel): Likewise.
22172 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22173 (elf_machine_lazy_rel): Likewise.
22174 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22175 (elf_machine_lazy_rel): Likewise.
22176
68577918
UD
221772011-09-28 Ulrich Drepper <drepper@gmail.com>
22178
22179 * nss/nss_files/files-init.c (_nss_files_init): Use static
22180 initialization for all the *_traced_file variables.
22181
68822d74
AS
221822011-09-28 Andreas Schwab <schwab@redhat.com>
22183
22184 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22185
2056100b
RM
221862011-09-27 Roland McGrath <roland@hack.frob.com>
22187
22188 [BZ #13226]
22189 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22190
32c76b63
AS
221912011-09-27 Andreas Schwab <schwab@redhat.com>
22192
22193 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22194 Reread the line before reparsing it.
22195
bf972c9d
AS
221962011-09-26 Andreas Schwab <schwab@redhat.com>
22197
22198 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22199
e057a1b5
JM
222002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22201 Maxim Kuvyrkov <maxim@codesourcery.com>
22202 Joseph Myers <joseph@codesourcery.com>
22203
22204 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22205 if needed for __stack_chk_guard.
22206
bc7e1c36
RM
222072011-09-19 Roland McGrath <roland@hack.frob.com>
22208
ecb1482f
RM
22209 * sysdeps/posix/spawni.c (script_execute): Always define it.
22210 It will be optimized away if unused.
22211 (maybe_script_execute): New function.
22212 (__spawni): Call it.
22213
bc7e1c36
RM
22214 * Makerules: Don't include tls.make.
22215 (config-tls): Always set to thread.
22216 * tls.make.c: File removed.
22217
1c3b002b
MF
222182011-09-19 Mike Frysinger <vapier@gentoo.org>
22219
22220 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22221 * config.make.in (CPPFLAGS-config): New substituted variable.
22222
2840865d
UD
222232011-09-15 Ulrich Drepper <drepper@gmail.com>
22224
88738eb6
UD
22225 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22226
cbf645a6 22227 [BZ #13192]
2840865d
UD
22228 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22229 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22230
b402e91a
RM
222312011-09-15 Roland McGrath <roland@hack.frob.com>
22232
22233 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22234 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22236 (CALL_FAIL): Likewise.
22237 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22238 (CALL_FAIL): Macro removed.
22239 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22240
4c1a1f71
UD
222412011-09-15 Ulrich Drepper <drepper@gmail.com>
22242
22243 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22244 for __FINITE_MATH_ONLY__ == 1.
22245
edc121be
AS
222462011-09-15 Andreas Schwab <schwab@redhat.com>
22247
22248 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22249 __ieee754_sqrt instead of sqrt.
22250 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22251 __ieee754_sqrtf instead of sqrtf.
22252 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22253 __floorf instead of floorf.
22254 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22255 __floorf, __truncf instead of floorf, truncf.
22256
cd205654
UD
222572011-09-14 Ulrich Drepper <drepper@gmail.com>
22258
ee4d0315
UD
22259 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22260
cd205654
UD
22261 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22262 __extern_always_inline.
22263 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22264 32-bit.
22265
48b67d71
AS
222662011-09-14 Andreas Schwab <schwab@redhat.com>
22267
22268 * elf/rtld.c (dl_main): Also relocate in dependency order when
22269 doing symbol dependency testing.
22270
1ae12c75
AS
222712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22272
22273 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22274 Always define `refsym'.
22275
995a80df
AS
222762011-09-13 Andreas Schwab <schwab@redhat.com>
22277
e529793b
AS
22278 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22279 (__FD_ELT): Renamed from __FDELT.
22280 * misc/bits/select2.h (__FD_ELT): Likewise.
22281 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22282 __FD_MASK instead of __FDELT, __FDMASK.
22283 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22284 Likewise.
22285 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22286 Likewise.
22287
52d4fef8
AS
22288 * elf/Makefile (gen-ldd): Fix pattern.
22289
995a80df
AS
22290 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22291 (init_tls): Likewise.
22292
8682f8b0
UD
222932011-09-12 Ulrich Drepper <drepper@gmail.com>
22294
22295 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22296
de82006d
AS
222972011-09-12 Andreas Schwab <schwab@redhat.com>
22298
a7c8e6a1
AS
22299 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22300 `struct cmsghdr *' instead of `void *'.
22301 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22302 Likewise.
22303
0f31fe77
AS
223042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22305
22306 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22307 if non-absolute.
22308 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22309 ldd_rewrite_script.
0f31fe77 22310
32b4c839
UD
223112011-09-11 Ulrich Drepper <drepper@gmail.com>
22312
83cd1420
UD
22313 * configure.in: Remove --with-tls option.
22314 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22315 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22316 out in case it is missing.
22317 * sysdeps/ia64/elf/configure.in: Likewise.
22318 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22319 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22320 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22321 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22322 * sysdeps/sh/elf/configure.in: Likewise.
22323 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22324 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22325 * sysdeps/x86_64/elf/configure.in: Likewise.
22326 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22327 * sysdeps/mach/hurd/tls.h: Likewise.
22328
633f745d
UD
22329 [BZ #13067]
22330 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22331
f318beb8
UD
22332 [BZ #13090]
22333 * configure.in: Fix use of AC_INIT.
22334
32b4c839
UD
22335 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22336
3ce1f295
UD
223372011-09-10 Ulrich Drepper <drepper@gmail.com>
22338
bb016596
UD
22339 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22340 __set_errno.
8e58439c
UD
22341 * malloc/hooks.c: Likewise.
22342
aebae053 22343 [BZ #11929]
02d46fc4
UD
22344 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22345 variables statically.
22346 (narenas): Initialize.
22347 (list_lock): Initialize.
bb016596
UD
22348 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22349 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22350 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22351 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22352 Add initializers to main_arena and mp_.
22353 (malloc_state): Remove pagesize member. Change all users to use
22354 GLRO(dl_pagesize).
22355
22356 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22357 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
22358 is always initialized.
22359
22a89187
UD
22360 * malloc/malloc.c: Removed unused configurations and dead code.
22361 * malloc/arena.c: Likewise.
22362 * malloc/hooks.c: Likewise.
02d46fc4 22363 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 22364
d063d164
UD
22365 * include/tls.h: Removed. USE___THREAD must always be defined.
22366 * bits/libc-tsd.h: Don't handle !USE___THREAD.
22367 * elf/dl-libc.c: Likewise.
22368 * elf/dl-tsd.c: Likewise.
22369 * include/errno.h: Likewise.
22370 * include/netdb.h: Likewise.
22371 * include/resolv.h: Likewise.
22372 * inet/herrno-loc.c: Likewise.
22373 * inet/herrno.c: Likewise.
22374 * malloc/arena.c: Likewise.
22375 * malloc/hooks.c: Likewise.
22376 * malloc/malloc.c: Likewise.
22377 * resolv/res-state.c: Likewise.
22378 * resolv/res_libc.c: Likewise.
22379 * sysdeps/i386/dl-machine.h: Likewise.
22380 * sysdeps/ia64/dl-machine.h: Likewise.
22381 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
22382 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
22383 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
22384 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
22385 * sysdeps/sh/dl-machine.h: Likewise.
22386 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22387 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22388 * sysdeps/unix/i386/sysdep.S: Likewise.
22389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22390 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22391 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22392 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22393 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22394 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22395 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22397 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22399 * sysdeps/unix/x86_64/sysdep.S: Likewise.
22400 * sysdeps/x86_64/dl-machine.h: Likewise.
22401 * tls.make.c: Likewise.
22402
3ce1f295
UD
22403 * configure.in: Remove --with-__thread option. Make tests for
22404 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
22405 tls_model attribute fail if no support is available. Remove
22406 USE_IN_LIBIO.
22407 * Makeconfig: Adjust for dropped configure option. All features are
22408 now mandatory.
22409 * Makerules: Likewise.
22410 * Versions.def: Likewise.
22411 * argp/argp-fmtstream.c: Likewise.
22412 * argp/argp-fmtstream.h: Likewise.
22413 * argp/argp-help.c: Likewise.
22414 * assert/assert.c: Likewise.
22415 * config.h.in: Likewise.
22416 * config.make.in: Likewise.
22417 * configure: Likewise.
22418 * configure.in: Likewise.
22419 * csu/Versions: Likewise.
22420 * csu/init.c: Likewise.
22421 * elf/tst-audit2.c: Likewise.
22422 * elf/tst-tls10.c: Likewise.
22423 * elf/tst-tls10.h: Likewise.
22424 * elf/tst-tls11.c: Likewise.
22425 * elf/tst-tls12.c: Likewise.
22426 * elf/tst-tls14.c: Likewise.
22427 * elf/tst-tlsmod11.c: Likewise.
22428 * elf/tst-tlsmod12.c: Likewise.
22429 * elf/tst-tlsmod13.c: Likewise.
22430 * elf/tst-tlsmod13a.c: Likewise.
22431 * elf/tst-tlsmod14a.c: Likewise.
22432 * elf/tst-tlsmod15b.c: Likewise.
22433 * elf/tst-tlsmod16a.c: Likewise.
22434 * elf/tst-tlsmod16b.c: Likewise.
22435 * elf/tst-tlsmod7.c: Likewise.
22436 * elf/tst-tlsmod8.c: Likewise.
22437 * elf/tst-tlsmod9.c: Likewise.
22438 * gmon/gmon.c: Likewise.
22439 * grp/fgetgrent_r.c: Likewise.
22440 * grp/putgrent.c: Likewise.
22441 * hurd/fopenport.c: Likewise.
22442 * include/libc-symbols.h: Likewise.
22443 * include/tls.h: Likewise.
22444 * intl/gettextP.h: Likewise.
22445 * intl/loadinfo.h: Likewise.
22446 * locale/global-locale.c: Likewise.
22447 * locale/localeinfo.h: Likewise.
22448 * mach/devstream.c: Likewise.
22449 * malloc/arena.c: Likewise.
22450 * malloc/set-freeres.c: Likewise.
22451 * misc/err.c: Likewise.
22452 * misc/getttyent.c: Likewise.
22453 * misc/mntent_r.c: Likewise.
22454 * posix/getopt.c: Likewise.
22455 * posix/wordexp.c: Likewise.
22456 * pwd/fgetpwent_r.c: Likewise.
22457 * resolv/Versions: Likewise.
22458 * resolv/res_hconf.c: Likewise.
22459 * shadow/fgetspent_r.c: Likewise.
22460 * shadow/putspent.c: Likewise.
22461 * stdio-common/printf_fphex.c: Likewise.
22462 * stdio-common/tmpfile.c: Likewise.
22463 * stdlib/abort.c: Likewise.
22464 * stdlib/fmtmsg.c: Likewise.
22465 * sunrpc/auth_unix.c: Likewise.
22466 * sunrpc/clnt_perr.c: Likewise.
22467 * sunrpc/clnt_tcp.c: Likewise.
22468 * sunrpc/clnt_udp.c: Likewise.
22469 * sunrpc/clnt_unix.c: Likewise.
22470 * sunrpc/openchild.c: Likewise.
22471 * sunrpc/svc_simple.c: Likewise.
22472 * sunrpc/svc_tcp.c: Likewise.
22473 * sunrpc/svc_udp.c: Likewise.
22474 * sunrpc/svc_unix.c: Likewise.
22475 * sunrpc/xdr.c: Likewise.
22476 * sunrpc/xdr_array.c: Likewise.
22477 * sunrpc/xdr_rec.c: Likewise.
22478 * sunrpc/xdr_ref.c: Likewise.
22479 * sunrpc/xdr_stdio.c: Likewise.
22480
1248c1c4
PB
224812011-09-09 Ulrich Drepper <drepper@gmail.com>
22482
22483 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22484
224852011-07-03 Andreas Jaeger <aj@suse.de>
22486
22487 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
22488 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
22489 regenerate with gen-libm-tests.pl.
22490
224912010-05-12 Petr Baudis <pasky@suse.cz>
22492
22493 [BZ #11589]
22494 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
22495 around j0() zero points by switching to j1().
22496 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22500
f22e1074
UD
225012011-09-09 Ulrich Drepper <drepper@gmail.com>
22502
f19009c1
UD
22503 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
22504 instead of 0.
22505 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 22506 instead of 0.
f19009c1
UD
22507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22508 Patch in part by Pavel Roskin <proski@gnu.org>.
22509
3f8cc204
UD
22510 [BZ #13138]
22511 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
22512 realloc.
22513 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
22514 Free memory block if necessary.
22515
f22e1074
UD
22516 [BZ #12847]
22517 * libio/genops.c (INTDEF): For string streams the _lock pointer can
22518 be NULL. Don't lock in this case.
22519
0a2349f9
RM
225202011-09-09 Roland McGrath <roland@hack.frob.com>
22521
22522 * elf/elf.h (ELFOSABI_GNU): New macro.
22523 (ELFOSABI_LINUX): Define to that.
22524
f3cdd467
DZ
225252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
22526
22527 * string/strncat.c (strncat): Undef the symbol in case it has been
22528 defined in bits/string.h.
22529
74718d13
UD
225302011-09-09 Ulrich Drepper <drepper@gmail.com>
22531
633e9e0f
UD
22532 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
22533
0a2349f9 22534 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
22535 link map.
22536
f9924780
AJ
225372011-08-17 Andreas Jaeger <aj@suse.de>
22538
22539 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
22540
7f5517aa
PP
225412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22542 Ian Lance Taylor <iant@google.com>
22543
22544 * math/libm-test.inc (lround_test): New testcase.
22545 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
22546
762011fe
UD
225472011-09-08 Ulrich Drepper <drepper@gmail.com>
22548
92963737
UD
22549 * Makefile: Remove support for automatic cvs check-ins.
22550 * Makerules: Likewise.
22551 * config.make.in: Likewise.
22552 * configure.in: Likewise.
22553 * intl/Makefile: Likewise.
22554 * locale/Makefile: Likewise.
22555 * po/Makefile: Likewise.
22556 * posix/Makefile: Likewise.
22557 * sysdeps/gnu/Makefile: Likewise.
22558 * sysdeps/mach/hurd/Makefile: Likewise.
22559 * sysdeps/sparc/sparc32/Makefile: Likewise.
22560
b0727fd8
JS
22561 [BZ #13118]
22562 * posix/Makefile (bug-regex32-ENV): Define.
22563 Patch by John Stanley <jpsinthemix@verizon.net>.
22564
a0f33f99
UD
22565 * misc/Makefile (headers): Add bits/select2.h.
22566 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
22567 * misc/bits/select2.h: New file.
22568 * include/bits/select2.h: New file.
22569 * debug/Makefile (routines): Add fdelt_chk.
22570 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
22571 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
22572 FD_ISSET.
22573 * debug/fdelt_chk.c: New file.
22574
762011fe
UD
22575 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
22576 * wcsmbs/test-wmemcmp.c: Likewise.
22577 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 22578 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
22579
225802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22581
22582 * string/Makefile (strop-tests): Add memcmp.
22583 * string/test-wmemcmp.c: New file.
22584 * string/test-memcmp.c: Add wmemcmp support.
22585
7f513ec8
RM
225862011-09-08 Roland McGrath <roland@hack.frob.com>
22587
0442afb4
RM
22588 [BZ #13153]
22589 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
22590 2011-07-19 change.
22591
7f513ec8
RM
22592 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
22593 garbage value in a __mach_port_mod_refs call in the cases of the
22594 task-self and thread-self ports.
22595
a12b2239
ST
225962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
22597
22598 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
22599
610f9ab4
AS
226002011-09-08 Andreas Schwab <schwab@redhat.com>
22601
7f513ec8 22602 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 22603
48882a1a
LD
226042011-09-07 Ulrich Drepper <drepper@gmail.com>
22605
b49865be
UD
22606 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
22607
fdc86bc9
UD
22608 * elf/dl-libc.c (dlerror_run): Pass back error code from
22609 dl_catch_error.
22610
c966526a
UD
22611 [BZ #13123]
22612 * elf/dl-load.c (lose): Free l_origin if it is valid.
22613
48882a1a
LD
22614 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
22615 names.
22616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22619 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22620 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22621 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
22622
77a2a8b4
AZ
226232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22624
22625 * sysdeps/powerpc/fpu/e_hypot.c: New file.
22626 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
22627 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
22628 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
22629 * sysdeps/powerpc/fpu/k_cosf.c: New file.
22630 * sysdeps/powerpc/fpu/k_sinf.c: New file.
22631 * sysdeps/powerpc/fpu/s_cosf.c: New file.
22632 * sysdeps/powerpc/fpu/s_sinf.c: New file.
22633 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
22634 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
22635
24f579d8
AM
226362011-08-15 Alan Modra <amodra@gmail.com>
22637
22638 [BZ #13092]
22639 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
22640 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
22641 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
22642 ppc_mcount to static-only-routines.
22643 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
22644 __mcount_internal.
22645 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
22646 __mcount_internal with usual JUMPTARGET. Remove useless nop.
22647
3d4837df
UD
226482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
22649
22650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
22651 for finite and infinity parameters.
22652
22700377
WS
226532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
22654
22655 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
22656 and add nop instructions for throughput optimization.
22657 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22658
5025581e
WS
226592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
22660
22661 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
22662 aligned copy for power7 with vector-scalar instructions.
22663 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22664
08a300c9
L
226652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
22666
22667 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
22668 AVX check.
22669
59178ef9
AS
226702011-09-07 Andreas Schwab <schwab@redhat.com>
22671
22672 [BZ #13144]
22673 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
22674 last change.
22675
e38ba7ab
UD
226762011-09-07 Ulrich Drepper <drepper@gmail.com>
22677
22678 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22679 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
22680 syscall wrapper around clock_gettime in __vdso_clock_gettime.
22681 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
22682 clock_gettime.
22683
d53a73ac
UD
226842011-09-06 Ulrich Drepper <drepper@gmail.com>
22685
fc8bffcc
UD
22686 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
22687 Forgot to demangle the pointer.
22688
ceaa0c5d
UD
22689 * sysdeps/i386/sysdep.h: Define atom_text_section.
22690 * sysdeps/x86_64/sysdep.h: Likewise.
22691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
22692 section with atom_text_section.
22693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22694 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22695 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22696 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
22697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
22698
a77d3c17
UD
22699 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
22700 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
22701 already be defined. Change to take two parameters and don't assign
22702 result to variable. Adjust all users.
22703 Define INTERNAL_GETTIME if not already defined.
22704 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
22705 call.
22706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
22707 HAVE_CLOCK_GETTIME_VSYSCALL.
22708 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
22709
d53a73ac
UD
22710 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
22711 gettimeofday vsyscall, just use time.
22712
a8f84144
AS
227132011-09-06 Andreas Schwab <schwab@redhat.com>
22714
22715 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
22716 <errno.h>.
22717
ef606249
UD
227182011-09-06 Ulrich Drepper <drepper@gmail.com>
22719
22720 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
22721 syscall on x86-64.
22722 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
22723 syscall.
22724 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22725 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
22726 syscall if possible.
22727
6585cb60
UD
227282011-09-05 Ulrich Drepper <drepper@gmail.com>
22729
22730 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
22731 e_ident. Don't pass to find_mapsXX.
22732 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
22733
a5f524e4
LD
227342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22735
22736 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22737 strchr-sse2-no-bsf strrchr-sse2-no-bsf
22738 * sysdeps/x86_64/multiarch/strchr.S: Update.
22739 Check bit_slow_BSF bit.
22740 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22741 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
22742 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
22743
554881ef
UD
227442011-09-05 Ulrich Drepper <drepper@gmail.com>
22745
d96de963
UD
22746 [BZ #13134]
22747 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
22748 before glibc 2.15.
22749 (tryshell): Define.
22750 (__spawni): Change last parameter to be flag. Test
22751 SPAWN_XFLAGS_USE_PATH flag to use path or not.
22752 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
22753 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
22754 * posix/spawni.c: Likewise.
22755 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
22756 * posix/spawnp.c: Likewise. Change normal version to use
22757 SPAWN_XFLAGS_USE_PATH.
22758 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
22759 SPAWN_XFLAGS_TRY_SHELL.
22760
d48e5868
UD
22761 [BZ #13150]
22762 * posix/glob.h: Remove gcc 1.x support.
22763
554881ef
UD
22764 [BZ #13068]
22765 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
22766
693fb948
LD
227672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22768
22769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22770 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
22771 strrchr-sse2-bsf
22772 * sysdeps/i386/i686/multiarch/strchr.S: New file.
22773 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
22774 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
22775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
22776 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
22777 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
22778
1b48c537
UD
227792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22780
49d42c37
UD
22781 * sysdeps/x86_64/wcscmp.S: New file.
22782
1b48c537
UD
22783 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
22784 wcscmp-c wcscmp-sse2
22785 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
22786 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
22787 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
22788 * wcsmbs/wcscmp.c: Allow renaming.
22789
15c95c5d
DM
227902011-09-05 David S. Miller <davem@davemloft.net>
22791
22792 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
22793 stack slot, rather than the struct return pointer slot.
22794 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
22795 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
22796 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
22797 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
22798
2f0ad8f3
UD
227992011-09-05 Ulrich Drepper <drepper@gmail.com>
22800
d88ae418
UD
22801 * po/ja.po: Update from translation team.
22802
2f0ad8f3
UD
22803 [BZ #13144]
22804 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
22805 kernel in 64-bit binaries.
22806
5f4318d1
DM
228072011-09-01 David S. Miller <davem@davemloft.net>
22808
22809 * elf/elf.h (HWCAP_SPARC_*): Move to..
22810 * sysdeps/sparc/sysdep.h: this new file and add new values.
22811 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
22812 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
22813 _DL_HWCAP_COUNT to 24.
22814 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22815 entries.
22816 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
22817 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
22818 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
22819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
22820 instead of magic constants.
22821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22822
3ba57516
DM
228232011-08-31 David S. Miller <davem@davemloft.net>
22824
22825 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
22826 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
22827 Reimplement to do errno handling inline.
22828 (SYSCALL_ERROR_HANDLER): New macro.
22829 (__SYSCALL_STRING): Do not do errno handling in asm.
22830 (__CLONE_SYSCALL_STRING): Delete.
22831 (__INTERNAL_SYSCALL_STRING): Delete.
22832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
22833 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
22834 (PSEUDO): Reimplement to do errno handling inline.
22835 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
22836 (SYSCALL_ERROR_HANDLER): New macro.
22837 (__SYSCALL_STRING): Do not do errno handling in asm.
22838 (__CLONE_SYSCALL_STRING): Delete.
22839 (__INTERNAL_SYSCALL_STRING): Delete.
22840 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
22841 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
22842 i386.
22843 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
22844 (inline_syscall*): Add 'err' argument.
22845 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
22846 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
22847 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
22848 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
22849
22850 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
22851 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22852
2bc17433
AS
228532011-08-30 Andreas Schwab <schwab@redhat.com>
22854
22855 * elf/rtld.c (dl_main): Relocate objects in dependency order.
22856
fbeb5f4d
JO
228572011-08-29 Jiri Olsa <jolsa@redhat.com>
22858
22859 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
22860 directive.
22861
ad69cc26
DM
228622011-08-24 David S. Miller <davem@davemloft.net>
22863
22864 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
22865
39dd69df
AS
228662011-08-24 Andreas Schwab <schwab@redhat.com>
22867
22868 * elf/Makefile: Add rules to build and run unload8 test.
22869 * elf/unload8.c: New file.
22870 * elf/unload8mod1.c: New file.
22871 * elf/unload8mod1x.c: New file.
22872 * elf/unload8mod2.c: New file.
22873 * elf/unload8mod3.c: New file.
22874
22875 * elf/dl-close.c (_dl_close_worker): Reset private search list if
22876 it wasn't used.
22877
2c0b250a
DM
228782011-08-23 David S. Miller <davem@davemloft.net>
22879
22880 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
22881 subtract stack bias.
22882 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
22883 %sp not %fp in calculations.
22884 (_JMPBUF_UNWINDS_ADJ): Likewise.
22885
22044b48
DM
22886 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
22887 (aio_suspend): Call it to force an exception region around the
22888 AIO_MISC_WAIT() invocation.
22889
2cae4995
AS
228902011-08-23 Andreas Schwab <schwab@redhat.com>
22891
22892 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
22893 backslash.
22894
873a772e
AJ
228952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
22896
22897 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
22898 protection macro.
22899 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
22900 and <dl-machine.h>.
22901 (Elf64_FuncDesc): Remove.
22902
25ad0df1
DM
229032011-08-22 David S. Miller <davem@davemloft.net>
22904
22905 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
22906 sigaltstack check, add missing cfi directives.
22907 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
22908 missing cfi directives, and sigaltstack handling.
22909
e888bcbe
AS
229102011-08-16 Andreas Schwab <schwab@redhat.com>
22911
22912 [BZ #11724]
22913 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
22914 object is seen twice.
22915 * elf/dl-fini.c (_dl_sort_fini): Likewise.
22916
22917 * elf/Makefile (distribute): Add tst-initorder2.c.
22918 (tests): Add tst-initorder2.
22919 (modules-names): Add tst-initorder2a tst-initorder2b
22920 tst-initorder2c tst-initorder2d. Add rules to build them.
22921 ($(objpfx)tst-initorder2.out): New rule.
22922 * elf/tst-initorder2.c: New file.
22923 * elf/tst-initorder2.exp: New file.
22924
87162f46
AS
229252011-08-22 Andreas Schwab <schwab@redhat.com>
22926
70538b7f
AS
22927 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
22928
f55ffe58
AS
22929 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
22930 dependencies back to end of function.
22931
87162f46
AS
22932 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
22933 $(elfobjdir)/ld.so.
22934
91b392a4
UD
229352011-08-21 Ulrich Drepper <drepper@gmail.com>
22936
22937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
22938 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
22939 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
22940 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
22941 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
22942 of __vdso_gettimeofday.
22943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
22944 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
22945 attribute_hidden.
22946 (_libc_vdso_platform_setup): Remove initialization of
22947 __vdso_gettimeofday and __vdso_time.
22948
5c43483f
UD
229492011-08-20 Ulrich Drepper <drepper@gmail.com>
22950
775a77e7
UD
22951 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
22952 and fgetc_unlocked.
22953 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
22954 getc_unlocked.
89f447ed 22955
49c74ba9
UD
22956 * elf/dl-open.c (add_to_global): Report additions to the global scope
22957 for LD_DEBUG=scopes.
22958 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 22959 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 22960
5c43483f
UD
22961 [BZ #13114]
22962 * stdio-common/Makefile (tests): Add bug24.
22963 * stdio-common/bug24.c: New file.
22964
a101b025
AJ
229652011-08-19 Andreas Jaeger <aj@suse.de>
22966
22967 [BZ #13114]
22968 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
22969 non-existant file when using close-on-exec mode.
22970
c88f1766
UD
229712011-08-20 Ulrich Drepper <drepper@gmail.com>
22972
0276a718
UD
22973 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
22974 the very first instruction.
22975
c88f1766
UD
22976 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
22977 the CFI state in the end.
22978 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
22979 inclusion of dl-trampoline.h.
22980 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
22981
51ccffa0
AS
229822011-08-19 Andreas Schwab <schwab@redhat.com>
22983
94d7165f
AS
22984 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
22985 expectations for long double.
22986
51ccffa0
AS
22987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
22988 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
22989
fd708658 229902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
22991
22992 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
22993 artificual limit depends upon the system page size.
22994
44f0a71e
UD
229952011-08-17 Ulrich Drepper <drepper@gmail.com>
22996
22997 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
22998 * resolv/Makefile: Define CFLAGS-libresolv.
22999
8de79a24
AS
230002011-08-17 Andreas Schwab <schwab@redhat.com>
23001
23002 * nss/makedb.c (compute_tables): Make variables used in nested
23003 function static.
23004
27724598
UD
230052011-08-17 Ulrich Drepper <drepper@gmail.com>
23006
c5305d88
UD
23007 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23008 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23009 if buffer was too small.
23010
27724598
UD
23011 * elf/pldd.c (main): Attach to all threads in the process.
23012 Rewrite /proc handling to use *at functions.
23013
076fe015
UD
230142011-08-16 Ulrich Drepper <drepper@gmail.com>
23015
174baab3
UD
23016 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23017 specifies first scope to show.
23018 (dl_open_worker): Update callers. Move printing scope of new
23019 object to before the relocation.
44f0a71e 23020 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23021 * sysdeps/generic/ldsodefs.h: Update declaration.
23022
076fe015
UD
23023 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23024 string for the scope number.
23025
a60df2c3
UD
230262011-08-14 Ulrich Drepper <drepper@gmail.com>
23027
23028 * nscd/servicescache.c (cache_addserv): Make sure written is always
23029 initialized.
23030
5e4287d1
RM
230312011-08-14 Roland McGrath <roland@hack.frob.com>
23032
85ae0589
RM
23033 * sysdeps/i386/i486/bits/atomic.h
23034 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23035 statement expression, so as to suppress "set but not used" warning.
23036 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23037
69f63097
RM
23038 * string/strncat.c (STRNCAT): Use prototype definition.
23039
675456ef
RM
23040 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23041 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23042 -Iprograms here.
23043 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23044 (localedef-modules): Add localedef.
23045 (locale-modules): Add locale.
23046
5e4287d1
RM
23047 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23048 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23049 to avoid a warning.
23050
9c96ff23
DM
230512011-08-14 David S. Miller <davem@davemloft.net>
23052
23053 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23054 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23055
f9ddf089
UD
230562011-08-13 Ulrich Drepper <drepper@gmail.com>
23057
44f0a71e 23058 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23059 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23060 * elf/rtld.c (dl_main): Set l_name of vDSO.
23061 Call _dl_show_scope when DL_DEBUG_SCOPES.
23062 (process_dl_debug): Recognize scopes flag and also set it for all.
23063 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23064 Declare _dl_show_scope.
23065
1dc27704
UD
23066 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23067 (do_dlopen): Pass caller_dlopen to dl_open.
23068 (__libc_dlopen_mode): Initialize caller_dlopen.
23069
f9ddf089
UD
23070 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23071 of libc. Make tolower call locale-independent. Optimize a bit by
23072 using isdigit instead of isalnum.
23073 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23074
9ac533d3
UD
230752011-08-12 Ulrich Drepper <drepper@gmail.com>
23076
23077 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23078 was a dependency or dynamically loaded.
23079
89edf2e9
UD
230802011-08-11 Ulrich Drepper <drepper@gmail.com>
23081
8e999d29
UD
23082 * intl/l10nflist.c: Allow architecture-specific pop function.
23083 * sysdeps/x86_64/l10nflist.c: New file.
23084
89edf2e9
UD
23085 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23086 classification.
23087
14d96785
AS
230882011-08-10 Andreas Schwab <schwab@redhat.com>
23089
23090 * include/dirent.h: Add libc_hidden_proto for scandirat and
23091 scandirat64. Don't declare __scandirat64.
23092 * dirent/scandirat.c: Add libc_hidden_def.
23093 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23094 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23095
6761ac04
DM
230962011-08-10 David S. Miller <davem@davemloft.net>
23097
23098 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23099 enum.
23100 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23101 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23102 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23103
c55fbd1e
UD
231042011-08-09 Ulrich Drepper <drepper@gmail.com>
23105
23106 * Versions.def [libc]: Add GLIBC_2.15.
23107 * dirent/Makefile (routines): Add scandirat and scandirat64.
23108 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23109 GLIBC_2.15.
23110 * dirent/dirent.h: Declare scandirat and scandirat64.
23111 * dirent/scandirat.c: New file.
23112 * dirent/scandirat64.c: New file.
23113 * sysdeps/wordsize-64/scandirat.c: New file.
23114 * sysdeps/wordsize-64/scandirat64.c: New file.
23115 * dirent/opendir.c: Define opendirat.
23116 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23117 using scandirat.
23118 * dirent/scandir64.c: Adjust for scandir.c change.
23119 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23120 __scandirat64, and __scandir_cancel_handler.
23121 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23122 additional parameter and use openat instead of open (outside of ld.so).
23123 Add new __opendir as wrapper around __opendirat.
23124 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23125 here without requiring old scandirat implementation.
23126
879165f2
UD
231272011-08-08 Ulrich Drepper <drepper@gmail.com>
23128
23129 * dirent/scandir.c (cancel_handler): Renamed to
23130 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23131 defined. Adjust users.
23132 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23133 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23134
cb7e923b
UD
231352011-08-04 Ulrich Drepper <drepper@gmail.com>
23136
16292edd
UD
23137 * string/test-string.h (IMPL): Use __STRING to expand name and then
23138 stringify it.
23139
cb7e923b
UD
23140 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23141 of cleanups.
23142
cff82933
LD
231432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23144
23145 * string/Makefile: Update.
23146 (strop-tests): Append strncat.
23147 * string/test-wcscmp.c: New file.
23148 New comprehensive test for wcscmp.
23149 * string/test-strcmp.c: Update.
23150 (WIDE): New define.
23151
9be9bfcc
AS
231522011-07-22 Andreas Schwab <schwab@redhat.com>
23153
23154 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23155 line.
23156
2e96f1c7
AS
231572011-07-26 Andreas Schwab <schwab@redhat.com>
23158
23159 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23160 encoding to ACE if AI_IDN.
23161
85188888
JJ
231622011-08-01 Jakub Jelinek <jakub@redhat.com>
23163
23164 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23165 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23166
5fa16e9b
LD
231672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23168
23169 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23170 Fix overflow bug in strncat.
23171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23172
23173 * string/test-strncat.c: Update.
23174 Add new tests for checking overflow bugs.
23175
231762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23177
23178 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23179 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23180 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23181 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23183 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23184 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23185 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23186 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23187
23188 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23189 (USE_AS_STRCAT): Define.
23190 Add strcat and strncat support.
23191 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23192
8c1a459f
AS
231932011-07-25 Andreas Schwab <schwab@redhat.com>
23194
23195 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23196 __n bigger than INT_MAX+1.
23197 (__strncmp_g): Likewise.
23198
bba33c28
UD
231992011-07-23 Ulrich Drepper <drepper@gmail.com>
23200
798be72d
UD
23201 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23202 * libio/stido.h: Likewise.
23203
8accd4dc
UD
23204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23205 (AF_NFC): Define.
23206 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23207 (AF_NFC): Define.
23208
cbff0d96
UD
23209 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23210 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23211 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23212 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23214
9191c04a
UD
23215 [BZ #13021]
23216 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23217 installed.
23218
bba33c28
UD
23219 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23220 typo.
23221 (_dl_x86_64_save_sse): Likewise.
23222
90f139dd
UD
232232011-07-22 Ulrich Drepper <drepper@gmail.com>
23224
1aae088a
UD
23225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23226 OSXSAVE.
23227 (_dl_x86_64_save_sse): Likewise.
23228
8e2045f5
UD
23229 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23230
90f139dd
UD
23231 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23232
1d002f25
AS
232332011-07-21 Andreas Schwab <schwab@redhat.com>
23234
23235 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23236 change.
23237 (_dl_x86_64_save_sse): Use correct AVX check.
23238
21137f89
UD
232392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23240
23241 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23242 bug in strncpy/strncat.
23243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23244
a65c0b7a
UD
232452011-07-21 Ulrich Drepper <drepper@gmail.com>
23246
23247 * string/tester.c (test_strcat): Add tests for different alignments
23248 of source and destination.
23249 (test_strncat): Likewise.
23250
6986b98a
UD
232512011-07-20 Ulrich Drepper <drepper@gmail.com>
23252
90bb2039
UD
23253 [BZ #12852]
23254 * posix/glob.c (glob): Check passed in values before using them in
23255 expressions to avoid some overflows.
23256 (glob_in_dir): Likewise.
23257
5644ef54
UD
23258 [BZ #13007]
23259 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23260 check for AVX enablement so that we don't crash with old kernels and
23261 new hardware.
23262 * elf/tst-audit4.c: Add same checks here.
23263 * elf/tst-audit6.c: Likewise.
23264
23265 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23266
bfc9dc9b
AS
232672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23268
23269 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23270
702e64bb
UD
232712011-07-20 Ulrich Drepper <drepper@gmail.com>
23272
23273 * po/cs.po: Update from translation team.
23274 * po/bg.po: Likewise.
23275
295e904f
MP
232762011-07-12 Marek Polacek <mpolacek@redhat.com>
23277
23278 * misc/sys/cdefs.h: Add support for const attribute.
23279 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23280 to gnu_dev_{major,minor,makedev} functions.
23281
3ff94596
MP
232822011-07-20 Marek Polacek <mpolacek@redhat.com>
23283
23284 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23285
28b59fca
AS
232862011-07-20 Andreas Schwab <schwab@redhat.com>
23287
23288 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23289 strlen results.
23290
19df733e
AK
232912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23292
23293 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23294 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23295 register in order to avoid conflicts with the soft frame pointer
23296 being held in r11 when necessary.
23297 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23298 (INTERNAL_VSYSCALL_NCS): Likewise.
23299
c8835729
MP
233002011-07-14 Marek Polacek <mpolacek@redhat.com>
23301
23302 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23303 * elf/dl-fini.c (_dl_fini): Adjust caller.
23304 * elf/dl-close.c (_dl_close_worker): Likewise.
23305 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23306
b902330c
MP
233072011-07-15 Marek Polacek <mpolacek@redhat.com>
23308
8991e135
MP
23309 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23310 "aux_cache->nlibs < 0".
23311
b902330c
MP
23312 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23313 in the reload-count case.
23314
99710781
LD
233152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23316
23317 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23318 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23319 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23320 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23321 * sysdeps/x86_64/multiarch/strcat.S: New file.
23322 * sysdeps/x86_64/multiarch/strncat.S: New file.
23323 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23324 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23325 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23326 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23327 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23328 (USE_AS_STRCAT): Define.
23329 Add strcat and strncat support.
23330 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23331 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23332 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23333 * string/strncat.c: Update.
23334 (USE_AS_STRNCAT): Define.
23335 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23336 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23337 and i7.
23338 * sysdeps/x86_64/multiarch/init-arch.h
23339 (bit_Prefer_PMINUB_for_stringop): New.
23340 (index_Prefer_PMINUB_for_stringop): Likewise.
23341 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23342 bit_Prefer_PMINUB_for_stringop.
23343
7dc6bd90
UD
233442011-07-19 Ulrich Drepper <drepper@gmail.com>
23345
23346 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23347 buffer64.
23348 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23349 of casting of buffer.
23350 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23351 buffer32 and buffer64.
23352 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23353 writes instead of casting of buffer.
23354 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23355 buffer32.
23356 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23357 casting of buffer.
23358
e0e72284
AS
233592011-07-19 Andreas Schwab <schwab@redhat.com>
23360
23361 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
23362
feb1eb0b
UD
233632011-07-19 Ulrich Drepper <drepper@gmail.com>
23364
23365 * nscd/nscd.c (termination_handler): Don't do anything for a database
23366 if it has not yet been initialized.
23367
298711ff
UD
233682011-07-18 Ulrich Drepper <drepper@gmail.com>
23369
23370 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23371
233722011-07-15 Marek Polacek <mpolacek@redhat.com>
23373
23374 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
23375
f9d68389
UD
233762011-07-18 Ulrich Drepper <drepper@gmail.com>
23377
23378 * po/nl.po: Update from translation team.
23379 * po/sv.po: Likewise.
23380
db290cf5
RM
233812011-07-16 Roland McGrath <roland@hack.frob.com>
23382
23383 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
23384 now disallowed by GCC.
5c550700 23385
fd5e21c7
RM
23386 * configure.in (use-default-link): Default to yes if a test -shared
23387 link meets our qualifications.
23388 * configure: Regenerated.
23389
5c550700
RM
23390 * config.make.in (output-format): New variable.
23391 * configure.in: Check for ld --print-output-format support.
23392 * configure: Regenerated.
23393 * Makerules ($(common-objpfx)format.lds)
23394 [$(output-format) != unknown]: Just use $(output-format),
23395 instead of the linker-script munging.
23396
9fa2c032
RM
233972011-07-14 Roland McGrath <roland@hack.frob.com>
23398
a6928d51
RM
23399 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
23400 of $(common-objpfx)shlib.lds.
23401 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
23402
661607b3
RM
23403 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
23404 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
23405
9fa2c032
RM
23406 * configure.in (-z relro check): Adjust test code to add a large
23407 writable data section after it.
23408 * configure: Regenerated.
23409
defe9061
RM
234102011-07-11 Roland McGrath <roland@hack.frob.com>
23411
23412 * configure.in (-z relro check): Fix test code to make the variable
23413 truly const.
23414 * configure: Regenerated.
23415
319b9ad4
UD
234162011-07-11 Ulrich Drepper <drepper@gmail.com>
23417
23418 * nscd/nscd.h (struct traced_file): Define.
23419 (struct database_dyn): Remove inotify_descr, reset_res, and filename
23420 elements. Add traced_files.
23421 (inotify_fd): Declare.
23422 (register_traced_file): Declare.
23423 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
23424 (inotify_fd): Export.
23425 (resolv_conf_descr): Remove.
23426 (nscd_init): Move inotify descriptor creation to main.
23427 Don't register files for notification here.
23428 (register_traced_file): New function.
23429 (invalidate_cache): Don't use reset_res to determine whether to call
23430 res_init, go through the list of registered files.
23431 (main_loop_poll): The inotify descriptors are now stored in the
23432 structures for the traced files.
23433 (main_loop_epoll): Likewise
23434 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
23435 to __nss_disable_nscd.
23436 * nscd/cache.c (prune_cache): There is no single inotify descriptor
23437 for a database anymore. Check the records for all the registered
23438 files instead.
23439 * nss/Makefile (libnss_files-routines): Add files-init.
23440 (libnss_db-routines): Add db-init.
23441 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
23442 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
23443 * nss/nss_db/db-init.c: New file.
23444 * nss/nss_files/files-init.c: New file.
23445 * nss/nsswitch.c (nss_load_library): New function. Broken out of
23446 __nss_lookup_function.
23447 (__nss_lookup_function): Call nss_load_library.
23448 (nss_load_all_libraries): New function.
23449 (__nss_disable_nscd): Take parameter with callback function for files
23450 to register. Set is_nscd. Load all the DSOs for the NSS modules
23451 used for the cached services.
23452 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
23453 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
23454 options for features to all the files in nscd.
23455
23456 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
23457
23bee3e8
RM
234582011-07-10 Roland McGrath <roland@hack.frob.com>
23459
23460 * csu/elf-init.c (__libc_csu_init): Comment typo.
23461
46a5b7f0
UD
234622011-07-09 Ulrich Drepper <drepper@gmail.com>
23463
23464 * po/pl.po: Update from translation team.
23465 * po/ja.po: Likewise.
23466 * po/ru.po: Likewise.
23467 * po/ko.po: Likewise.
23468 * po/fr.po: Likewise.
23469
d30cf5bb
RM
234702011-07-09 Roland McGrath <roland@hack.frob.com>
23471
113ddea4
RM
23472 * configure.in (.ctors/.dtors header and trailer check):
23473 Use an empirical test on a built program.
23474 * configure: Regenerated.
23475
574920b4
RM
23476 * configure.in (-z relro check): Use an empirical test on a built DSO.
23477 Detect, but do not require, on ia64.
23478 * configure: Regenerated.
23479
d30cf5bb
RM
23480 * configure.in (READELF): Find it with AC_CHECK_TOOL.
23481 Update tests that use readelf to use $READELF instead.
23482 * configure: Regenerated.
23483
8538fdb3
UD
234842011-07-08 Ulrich Drepper <drepper@gmail.com>
23485
23486 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
23487 if the result is not used.
23488
04d08991
AJ
234892011-07-05 Andreas Jaeger <aj@suse.de>
23490
23491 [BZ#9696]
23492 * stdlib/tst-strtod.c: Add testcase.
23493
de283087
AD
234942011-07-07 Ulrich Drepper <drepper@gmail.com>
23495
4e5f31c8 23496 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 23497 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
23498 The latter has a higher limit. Take additional parameter to pass to
23499 the new function.
23500 (__pathconf): Pass file to __statfs_link_max.
23501 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
23502 __statfs_link_max.
23503 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
23504 __statfs_link_max.
23505
de283087
AD
23506 [BZ #12868]
23507 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
23508 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23509 Handle Lustre.
23510 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
23511 (__statfs_filesize_max): Likewise.
23512 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
23513
c75fa153
AJ
235142011-07-05 Andreas Jaeger <aj@suse.de>
23515
23516 * resolv/res_comp.c (dn_skipname): Remove unused variable.
23517
1a544854
UD
235182011-07-06 Marek Polacek <mpolacek@redhat.com>
23519
23520 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
23521 `status' variable.
23522 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
23523 Likewise.
23524
6f0eec67
UD
235252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
23526
23527 * Makefile (strop-tests): Add strncat.
23528 * string/test-strncat.c: New file.
23529
aae30307
UD
235302011-06-30 Marek Polacek <mpolacek@redhat.com>
23531
23532 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
23533
c0cfb5eb
UD
235342011-06-21 Andreas Jaeger <aj@suse.de>
23535
23536 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
23537 Copy rule from iconvdata/Makefile.
23538
01636b21
UD
235392011-07-06 Ulrich Drepper <drepper@gmail.com>
23540
23541 [BZ #12922]
23542 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
23543 but no long options are defined, just return 'W'.
23544
9895c8bc
UD
235452011-06-22 Marek Polacek <mpolacek@redhat.com>
23546
23547 [BZ #9696]
23548 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
23549
5d4cf042
UD
235502011-07-06 Ulrich Drepper <drepper@gmail.com>
23551
23552 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
23553 netgroups to read.
960e5535 23554 (innetgr): Likewise.
5d4cf042 23555
751eb97e
RM
235562011-07-05 Roland McGrath <roland@hack.frob.com>
23557
23558 * config.make.in (install_root): Default to $(DESTDIR).
23559
f15f1e45
UD
235602011-07-05 Ulrich Drepper <drepper@gmail.com>
23561
23562 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
23563
4e34ac6a
RM
235642011-07-02 Roland McGrath <roland@hack.frob.com>
23565
5e9b6af4
RM
23566 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
23567
84f9ea0f
RM
23568 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
23569 containing directory rather than embedding absolute directory names.
23570
ea5ee9f7
RM
23571 * scripts/check-local-headers.sh: Rewritten using awk.
23572 Match by word, not by line. Print error messages for matches.
23573 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
23574
1b74661a
RM
23575 * Makerules [shlib-lds-flags empty]:
23576 ($(common-objpfx)libc_pic.opts): New target.
23577 ($(common-objpfx)libc_pic.os.clean): New target.
23578 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
23579
23580 * config.make.in (OBJCOPY): New variable.
23581 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
23582 * configure: Regenerated.
23583
f781ef40
RM
23584 * config.make.in (use-default-link): New variable.
23585 * configure.in (use_default_link): Grok --with-default-link to set it.
23586 * configure: Regenerated.
23587 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
23588 (shlib-lds, shlib-lds-flags): Define to empty.
23589
2d4fa81e
RM
23590 * Makerules (shlib-lds): New variable.
23591 (shlib-lds-flags): New variable.
23592 (build-shlib, build-moduile, build-module-asneeded): Use it.
23593 ($(common-objpfx)libc.so): Use $(shlib-lds).
23594 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
23595 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
23596
31fffa6b
RM
23597 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
23598 DT_FLAGS/DT_FLAGS_1 with zero flags.
23599
4e34ac6a
RM
23600 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
23601 linker script munging.
23602
fcfc776b
UD
236032011-07-02 Ulrich Drepper <drepper@gmail.com>
23604
23605 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
23606 as 128-bit value.
23607 * crypt/sha512.c (sha512_process_block): Perform total addition using
23608 128-bit if possible.
23609 (__sha512_finish_ctx): Likewise.
23610 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
23611 as 64-bit value.
23612 * crypt/sha256.c (SWAP64): Define.
23613 (sha256_process_block): Perform total addition using 64-bit if
23614 possible.
23615 (__sha256_finish_ctx): Likewise.
23616
99231d9a
UD
236172011-07-01 Ulrich Drepper <drepper@gmail.com>
23618
23619 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
23620 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23621 * nscd/hstcache.c (cache_addhst): Likewise.
23622 * nscd/grpcache.c (cache_addgr): Likewise.
23623 * nscd/aicache.c (addhstaiX): Likewise
23624 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
23625
445b4a53
TK
236262011-07-01 Thorsten Kukuk <kukuk@suse.de>
23627
23628 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
23629 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23630 * nscd/hstcache.c (cache_addhst): Likewise.
23631 * nscd/grpcache.c (cache_addgr): Likewise.
23632 * nscd/aicache.c (addhstaiX): Likewise
23633
6d4d8e8e
AS
236342011-07-01 Andreas Schwab <schwab@redhat.com>
23635
23636 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
23637 domain only when needed.
23638
89f654c5
AS
236392011-06-30 Andreas Schwab <schwab@redhat.com>
23640
23641 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
23642 is always restored.
23643
cf3b23ff
UD
236442011-06-29 Ulrich Drepper <drepper@gmail.com>
23645
23646 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
23647 are re-adding the entry.
23648 * nscd/servicescache.c (cache_addserv): Likewise.
23649
751626f9
AJ
236502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
23651
23652 * sysdeps/generic/dl-irel.h: fix protection against multiple
23653 inclusions.
23654 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
23655
9113ea1f
UD
236562011-06-28 Ulrich Drepper <drepper@gmail.com>
23657
5c0b8d90
UD
23658 [BZ #12935]
23659 * malloc/memusage.sh: Fix quoting in message.
23660 * debug/xtrace.sh: Likewise.
23661
9113ea1f
UD
23662 * configure.in: Remove support for --experimental-malloc option, make
23663 it the default.
23664 * config.make.in: Likewise.
23665 * malloc/Makefile: Likewise.
23666
a4172181
AS
236672011-06-27 Andreas Schwab <schwab@redhat.com>
23668
23669 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
23670 two-byte characters.
23671
78a7eee7
RM
236722011-06-27 Roland McGrath <roland@hack.frob.com>
23673
62bede13
RM
23674 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
23675 AC_CACHE_CHECK invocation.
23676 * configure: Regenerated.
23677
78a7eee7
RM
23678 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
23679
5ce33a62
UD
236802011-06-27 Ulrich Drepper <drepper@gmail.com>
23681
034807a9
UD
23682 [BZ #12350]
23683 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
23684 bit from old_res_options.
23685
4902da17
UD
23686 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
23687
5ce33a62
UD
23688 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
23689 value type for setfct.
23690
c2344f56
L
236912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
23692
23693 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23694 __gettimeofday instead of gettimeofday.
23695
68468076
UD
236962011-06-26 Ulrich Drepper <drepper@gmail.com>
23697
23698 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
23699
acb0d739
L
237002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
23701
23702 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
23703
23704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
23705 info.
23706
8912479f
L
237072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23708
23709 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23710 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23711 strcpy-sse2-unaligned strncpy-sse2-unaligned
23712 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
23713 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
23714 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
23715 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
23716 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
23717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
23718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
23719 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
23720 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
23721 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
23722 (STRCPY): Support SSE2 and SSSE3 versions.
23723
d5495a11
UD
237242011-06-24 Ulrich Drepper <drepper@gmail.com>
23725
23726 [BZ #12874]
23727 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
23728 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
23729 kernels which artificially limit size of requests.
23730
0b1cbaae
L
237312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
23732
23733 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23734 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
23735 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
23736 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
23737 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
23738 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
23739 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
23740 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
23741 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
23742 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
23743 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
23744 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
23745 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
23746 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
23747 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
23748 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23749 Enable unaligned load optimization for Intel Core i3, i5 and i7
23750 processors.
23751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
23752 Define.
23753 (index_Fast_Unaligned_Load): Define.
23754 (HAS_FAST_UNALIGNED_LOAD): Define.
23755
07f494a0
MP
237562011-06-23 Marek Polacek <mpolacek@redhat.com>
23757
23758 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
23759
fa3fc0fe
UD
237602011-06-22 Ulrich Drepper <drepper@gmail.com>
23761
23762 [BZ #12907]
23763 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
23764 until it is clear that the information is realy needed.
23765 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
23766
e12df166
AS
237672011-06-22 Andreas Schwab <schwab@redhat.com>
23768
23769 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
23770
852eb34d
UD
237712011-06-22 Ulrich Drepper <drepper@gmail.com>
23772
84e2a551
UD
23773 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
23774 /sys/devices/system/cpu/online if it is usable.
23775
852eb34d
UD
23776 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
23777 reading the information from the /proc filesystem to once a second.
23778
6e502e19
UD
237792011-06-21 Andreas Jaeger <aj@suse.de>
23780
23781 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
23782 NULL after inclusion of kernel headers.
23783
75d39ff2
UD
237842011-06-21 Ulrich Drepper <drepper@gmail.com>
23785
51f9aa6a
UD
23786 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
23787 calls to internal_setent.
23788
c0244a9d
UD
23789 [BZ #12885]
23790 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
23791 addresses using gethostbyname4_r ignore IPv4 addresses.
23792
c5e3c2ae
UD
23793 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
23794 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
23795
75d39ff2
UD
23796 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
23797
42675c6f
DM
237982011-06-20 David S. Miller <davem@davemloft.net>
23799
23800 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
23801 inclusions.
23802 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
23803
23804 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
23805 (elf_irel): Use it.
23806 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
23807 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
23808 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
23809 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
23810 * sysdeps/x86_64/dl-irel.h: Likewise.
23811
23812 * elf/dl-runtime.c: Use elf_ifunc_invoke.
23813 * elf/dl-sym.c: Likewise.
23814
57912a71
UD
238152011-06-15 Ulrich Drepper <drepper@gmail.com>
23816
23817 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
23818 need to dereference resplen2.
23819
ee22793d
AS
238202011-06-14 Andreas Schwab <schwab@redhat.com>
23821
23822 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
23823
a9e836b0
UD
238242011-06-15 Ulrich Drepper <drepper@gmail.com>
23825
77fb9117
UD
23826 * Makeconfig: Define vardbdir and inst_vardbdir.
23827 * nss/Makefile: Add rules to install db-Makefile.
23828
40c1b22c
UD
23829 * nss/nss_db/db-XXX.c: Cleanup.
23830
9f2da732
UD
23831 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
23832 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
23833 GLIBC_PRIVATE.
23834 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
23835 * nss/makedb.c: Implement -g option to specify that value strings
23836 are generated and should not be added to table iterated over for
23837 get*ent calls.
23838 * nss/nss_db/db-initgroups.c: New file.
23839
82e9a1f7
UD
23840 * nss/getent.c: Add support for initgroups lookups through getgrouplist
23841 interface.
23842
c41af17e
UD
23843 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
23844 (internal_getgrouplist): Adjust to name change.
23845 Update use_initgroups_entry if this is not the first call.
23846 * nss/databases.def: Add initgroups entry.
23847
a9e836b0
UD
23848 * nss/makedb.c (compute_tables): Check result of multiple hash table
23849 sizes to minimize maximum chain length.
23850
2666d441
UD
238512011-06-14 Ulrich Drepper <drepper@gmail.com>
23852
23853 * Versions.def: Add entry for libnss_db.
23854 * shlib-versions: Likewise.
23855 * nss/Makefile: Add rules to build libnss_db.
23856 * nss/Versions: Add libnss_db information. Organize libnss_files
23857 entries better.
23858 * nss/db-Makefile: Add gshadow support. Change rules for the new
23859 makedb progra. Some minor improvements to generate smaller files.
23860 * nss/nss_db/nss_db.h: Move NSS database header data structures to
23861 here from...
23862 * nss/makedb.c: ...here.
23863 Improve database format to be smaller and require less memory at
23864 runtime.
23865 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
23866 db anymore.
23867 * nss/nss_db/db-netgrp.c: Likewise.
23868 * nss/nss_db/db-open.c: Likewise.
23869 * nss/nss_files/flies-XXX.x: Adjust comments.
23870 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
23871 * nss/nss_files/files-grp.c: Likewise.
23872 * nss/nss_files/files-hosts.c: Likewise.
23873 * nss/nss_files/files-network.c: Likewise.
23874 * nss/nss_files/files-proto.c: Likewise.
23875 * nss/nss_files/files-pwd.c: Likewise.
23876 * nss/nss_files/files-rpc.c: Likewise.
23877 * nss/nss_files/files-service.c: Likewise.
23878 * nss/nss_files/files-sgrp.c: Likewise.
23879 * nss/nss_files/files-spwd.c: Likewise.
23880 * nss/nss_db/db-alias.c: Removed.
23881 * nss/nss_db/dummy-db.h: Removed.
23882
9ee76b5a
UD
238832011-06-02 Ulrich Drepper <drepper@gmail.com>
23884
23885 * nss/makedb.c: Rewritten to not use database library.
23886 * nss/Makefile: Update to build new makedb program.
23887
c71ca1f8
AJ
238882011-06-14 Andreas Jaeger <aj@suse.de>
23889
23890 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
23891 memset declaration.
23892
3154bfb8
UD
238932011-06-10 Andreas Schwab <schwab@redhat.com>
23894
23895 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
23896 tmpbuf.
23897
b350afab
RM
238982011-06-10 Roland McGrath <roland@hack.frob.com>
23899
decd4e50
RM
23900 * Makerules (shlib.lds): Fail if the linker script comes out empty.
23901 * elf/Makefile ($(objpfx)ld.so): Likewise.
23902
5615eaf2
RM
23903 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
23904 Don't list ld.so twice in dependencies.
23905
23906 * posix/bug-regex31.c: Include <stdlib.h>.
23907
23908 * nscd/hstcache.c (cache_addhst): Remove unused variable.
23909
23910 * nis/nss_compat/compat-spwd.c
23911 (getspent_next_nss_netgr): Remove unused variable.
23912 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
23913
23914 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
23915 nonmembers" output to use the right array.
23916
23917 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
23918
23919 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
23920
23921 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
23922 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
23923 * catgets/gencat.c (read_input_file): Likewise.
23924 * locale/programs/locarchive.c (enlarge_archive): Likewise.
23925
23926 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
23927 variable definition inside #if's controlling its use.
23928
23929 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
23930
23931 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
23932
23933 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
23934
23935 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
23936 unreachable code.
23937
23938 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
23939
b68e08db
RM
23940 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
23941 * configure: Regenerated.
23942
b350afab
RM
23943 * Makerules: Revert last change.
23944 * elf/Makefile: Likewise.
23945
28368601
RM
239462011-06-09 Roland McGrath <roland@hack.frob.com>
23947
23948 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
23949 * elf/Makefile ($(objpfx)librtld.os): Likewise.
23950 (reloc-link): Likewise.
23951
11988f8f
UD
239522011-06-09 Ulrich Drepper <drepper@gmail.com>
23953
23954 * elf/Makefile: Add rules to build pldd.
23955 * elf/pldd.c: New file.
23956 * elf/pldd-xx.c: New file.
23957
e80fab37
UD
239582011-06-07 Ulrich Drepper <drepper@gmail.com>
23959
23960 * version.h: Update for 2.15 development version.
23961
9b849836
DM
239622011-06-07 David S. Miller <davem@davemloft.net>
23963
23964 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
23965 ifuncs.
23966 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
23967 elf_machine_lazy_rel): Likewise.
23968 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
23970 elf_machine_lazy_rel): Likewise.
23971 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
23972 dl_hwcap via passed in argument.
23973 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
23974 Likewise.
23975
5a31b283
AK
239762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23977
23978 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
23979
069e52f8
RM
239802011-06-06 Roland McGrath <roland@hack.frob.com>
23981
23982 [BZ #12849]
23983 * manual/fdl-1.1.texi: New file, verbatim from:
23984 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
23985 * manual/lgpl-2.1.texi: New file, verbatim from:
23986 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
23987 * manual/Makefile (licenses): New variable, list those new file names.
23988 (texis): Use it.
23989 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
23990
23991 * manual/fdl.texi: File removed.
23992 * manual/lesser.texi: File removed.
23993 * manual/libc.texinfo (Copying, Documentation License):
23994 Use new @include file names, put @appendix directive before @include.
23995
f16846a5
JJ
239962011-06-04 Jakub Jelinek <jakub@redhat.com>
23997
23998 [BZ #12841]
23999 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24000 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24001 (mq_open): Add __NTH.
24002
3d29045b
L
240032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24004
24005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24006 Assume Intel Core i3/i5/i7 processor if AVX is available.
24007
8c297311
UD
240082011-05-31 Ulrich Drepper <drepper@gmail.com>
24009
24010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24011 typo.
24012
c8fc0c91
UD
240132011-05-31 Andreas Schwab <schwab@redhat.com>
24014
24015 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24016 memory. Use alloca_account. Fix memory leak when retrying.
24017
5b27a807
UD
240182011-05-31 Ulrich Drepper <drepper@gmail.com>
24019
356f8bc6
UD
24020 * version.h (RELEASE): Bump for 2.14 release.
24021 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24022
5b27a807
UD
24023 * config.make.in (RANLIB): Remove entry.
24024
01f16ab0
UD
240252011-05-30 Ulrich Drepper <drepper@gmail.com>
24026
41fce8bd
UD
24027 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24028 (libc.pot): Work around missing support for .ksh extension in xgettext.
24029
4769ae77
UD
24030 [BZ #12684]
24031 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24032 if both request failed.
24033 (send_dg): In case of server errors clear resplen or *resplen2.
24034
6b1e7d19
UD
24035 [BZ #12454]
24036 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24037 when there are multiple maps.
24038 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24039 (_dl_fini): Remove test here.
24040
01f16ab0
UD
24041 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24042
b1ebd700
UD
240432011-05-29 Ulrich Drepper <drepper@gmail.com>
24044
7ae22829
UD
24045 [BZ #12350]
24046 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24047 bit from old_res_options.
24048 (gaih_inet): Likewise.
24049
553149f6 24050 [BZ #11099]
18a84741 24051 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24052 as signed.
24053
652ffab1
UD
24054 * resolv/res_init.c (res_setoptions): Make the code more compact.
24055
16985fd0
UD
24056 [BZ #11558]
24057 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24058 set RES_USEVC.
24059
0464f746
UD
24060 [BZ #11634]
24061 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24062
7d17596c
UD
24063 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24064
cf6bbbd7
UD
24065 [BZ #11781]
24066 * malloc/malloc.h: Declare malloc hook variables as volatile.
24067
13f1ab36
UD
24068 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24069 in last patch.
24070
b1ebd700
UD
24071 [BZ #11799]
24072 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24073 raise in the comment.
80e2212d
UD
24074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24076 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24077
ce67228d
UD
240782011-05-28 Ulrich Drepper <drepper@gmail.com>
24079
8887a920
UD
24080 [BZ #12811]
24081 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24082 grow the buffers more if it already has to be sufficient.
24083 (build_wcs_upper_buffer): Likewise.
24084 * posix/regexec.c (check_matching): Likewise.
24085 (clean_state_log_if_needed): Likewise.
24086 (extend_buffers): Don't enlarge buffers beyond size of the input
24087 buffer.
24088 Patches mostly by Emil Wojak <emil@wojak.eu>.
24089 * posix/bug-regex32.c: New file.
24090 * posix/Makefile (tests): Add bug-regex32.
24091
4f031072
UD
24092 * locale/findlocale.c (_nl_find_locale): Return right away if
24093 _nl_explode_name failed.
24094 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24095
d0478f0c
UD
24096 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24097
de81b246
UD
24098 * debug/xtrace.sh: Unify messages.
24099 * malloc/memusage.sh: Likewise.
24100
c738465a
UD
24101 [BZ #12813]
24102 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24103 time symbol from vDSO. Substitute with vsyscall if not available.
24104 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24105 __vdso_time.
24106
f1f929d7
UD
24107 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24108 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24109 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24110 Add sendmmsg and internal_sendmmsg.
24111 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24112 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24113 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24114
ce67228d
UD
24115 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24116 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24117 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24118
e57420c6
UD
241192011-05-27 Ulrich Drepper <drepper@gmail.com>
24120
a8509ca5
UD
24121 [BZ #12813]
24122 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24123 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24124 available.
24125 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24126 __vdso_getcpu.
24127
e57420c6
UD
24128 [BZ #12814]
24129 * iconvdata/Makefile (tests): Add bug-iconv9.
24130 * iconvdata/bug-iconv9.c: New file.
24131
4d07db15
AS
241322011-05-27 Andreas Schwab <schwab@redhat.com>
24133
24134 [BZ #12814]
24135 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24136
ea486f69
JJ
241372011-05-25 Jakub Jelinek <jakub@redhat.com>
24138
24139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24140 (struct user_regs_struct): Change intcs field back to cs.
24141
6f038433
UD
241422011-05-25 Ulrich Drepper <drepper@gmail.com>
24143
24144 * po/ja.po: Update from translation team.
24145
67f86a25
UD
241462011-05-23 Ulrich Drepper <drepper@gmail.com>
24147
24148 [BZ #12795]
24149 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24150 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24151
def7fbd6
AS
241522011-05-20 Andreas Schwab <schwab@redhat.com>
24153
24154 * stdlib/longlong.h: Update from GCC.
24155
f50ef8f1
AS
241562011-05-23 Andreas Schwab <schwab@redhat.com>
24157
24158 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24159 parameter name.
24160 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24161 Add parameter name.
24162 (__sysconf): Pass it down.
24163
de7ce8f1
UD
241642011-05-22 Ulrich Drepper <drepper@gmail.com>
24165
f2962a71
UD
24166 [BZ #12671]
24167 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24168 some situations.
24169 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24170 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24171 add in in __libc_use_alloca calls. Adjust callers.
24172 (glob): Use malloc in some situations.
24173
de7ce8f1
UD
24174 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24175 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24176 pltexit.
24177
aec84f53
UD
241782011-05-21 Ulrich Drepper <drepper@gmail.com>
24179
05bb4a68
UD
24180 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24181 and CLOCK_BOOTTIME_ALARM.
24182
7ea72f99
UD
24183 [BZ #12782]
24184 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24185 is returned.
24186
7e4afad5
UD
24187 * string/_strerror.c (__strerror_r): Print negative errors as signed
24188 numbers.
24189
8e211fec
UD
24190 [BZ #12777]
24191 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24192 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24193 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24194
f7d82dc9
UD
24195 * configure.in: Fix typo in redirection and correct removal of test
24196 files in two cases.
24197
cc9e536d
UD
24198 [BZ #12788]
24199 * locale/setlocale.c (new_composite_name): Fix test to check for
24200 identical name of all categories.
24201
aec84f53
UD
24202 [BZ #12792]
24203 * libio/filedoalloc.c (local_isatty): New function.
24204 (_IO_file_doallocate): Use local_isatty.
24205 * stdio-common/perror.c (perror): In case a new stream is used
24206 forward the stream error.
24207 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24208 error flag.
24209
78e64fdc
RT
242102011-05-20 Ulrich Drepper <drepper@gmail.com>
24211
34a9094f
UD
24212 [BZ #11869]
24213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24214 alloca.
24215 * include/alloca.h (extend_alloca_account): Define.
24216
78e64fdc
RT
24217 [BZ #11857]
24218 * posix/regex.h: Fix comments with documentation of user-accessible
24219 fields after compilation and describe correct free'ing of pattern
24220 after re_compile_pattern.
24221 Patch by Reuben Thomas <rrt@sc3d.org>.
24222
457bddfc
RA
242232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24224
24225 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24226 and -mno-altivec to prevent the compiler from using Altivec and/or
24227 VSX instructions when the corresponding registers are not available.
24228
a4527b51
AS
242292011-05-19 Andreas Schwab <schwab@redhat.com>
24230
24231 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24232
ed690b2f
UD
242332011-05-19 Ulrich Drepper <drepper@gmail.com>
24234
24235 * libio/freopen.c (freopen): Use __dup2, not dup2.
24236 * libio/freopen64.c (freopen64): Likewise.
24237
8db73634
L
242382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24239
24240 [BZ #12775]
24241 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24242 * math/Makefile (tests): Add test-powl.
24243 (CFLAGS-test-powl.c): Define.
24244 * math/test-powl.c: New file.
24245
0a197a9d
L
242462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24247
24248 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24249
ee30c380
UD
242502011-05-17 Ulrich Drepper <drepper@gmail.com>
24251
24252 [BZ #11837]
24253 * iconvdata/gb18030.c: Update to GB18020-2005.
24254
6ce75379
UD
242552011-05-16 Ulrich Drepper <drepper@gmail.com>
24256
a4b89fd8
AR
24257 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24258 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24259 Patch by Aharon Robbins <arnold@skeeve.com>.
24260
ea389b12
UD
24261 [BZ #11892]
24262 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24263 on the stack.
24264
68a3f91f
UD
24265 [BZ #11895]
24266 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24267 through underflows.
24268
15cc7dd1
UD
24269 [BZ #12766]
24270 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24271 point to strings before performing equality test for error_one_per_line
24272 mode.
24273
f3799213
UD
24274 [BZ #11697]
24275 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24276
d79a9c94
UD
24277 [BZ #11820]
24278 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24279 (struct user_fpregs_struct): Avoid __uint*_t types.
24280
56e5eb46
UD
24281 [BZ #6420]
24282 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24283 symbol info. Use it instead of calling _dl_addr locally.
24284 (lock_and_info): New function.
24285 (tr_freehook): Call lock_and_info and pass symbol info as additional
24286 parameter to tr_where.
24287 (tr_mallochook): Likewise.
24288 (tr_reallochook): Likewise.
24289 (tr_memalignhook): Likewise.
24290
6ce75379
UD
24291 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24292 used and couldn't be at all thread-safe.
24293
f8a3b5bf
UD
242942011-05-15 Ulrich Drepper <drepper@gmail.com>
24295
94b7cc37
UD
24296 * libio/freopen.c (freopen): Don't close old file descriptor
24297 before the new one is opened. Instead dup the new file descriptor
24298 to the old one after the new stream is created.
24299 * libio/freopen64.c (freopen64): Likewise.
24300 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24301 * libio/fileops.c (_IO_new_file_close_it): Handle new
24302 _IO_FLAGS2_NOCLOSE flag.
24303 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24304 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24305 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24306 _IO_FLAGS2_NOCLOSE flag.
24307 * include/unistd.h: Add hidden_proto for dup3.
24308 Define __have_dup3.
24309 * io/dup3.c: Define hidden symbol.
24310 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24311
bd25564e
UD
24312 [BZ #7101]
24313 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24314 when an incomplete long option is used.
24315 * posix/tst-getopt_long1.c: New file.
24316 * posix/Makefile (tests): Add tst-getopt_long1.
24317
c84cfef4
UD
24318 [BZ #10138]
24319 * scripts/config.guess: Update from autoconf-2.68.
24320 * scripts/config.sub: Likewise.
24321
3b85df27
UD
24322 [BZ #10157]
24323 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24324 tests into ...
24325 (has_cpuclock): ...this. New function.
24326 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24327 macro here based on has_cpuclock code.
24328
15a856b1
UD
24329 [BZ #10149]
24330 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24331 First byte (not low byte) is now always NUL.
24332 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24333
05f399e6
UD
24334 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24335 Use non-cancelable interfaces.
24336
10a52685 24337 [BZ #9809]
94ecc67d
UD
24338 * locale/iso-639.def: Add entry for Sorani.
24339
f8a3b5bf
UD
24340 [BZ #11901]
24341 * include/stdlib.h: Move include protection to the right place.
24342 Define abort_msg_s. Declare __abort_msg with it.
24343 * stdlib/abort.c (__abort_msg): Adjust type.
24344 * assert/assert.c (__assert_fail_base): New function. Majority
24345 of code from __assert_fail. Allocate memory for __abort_msg with
24346 mmap.
24347 (__assert_fail): Now call __assert_fail_base.
24348 * assert/assert-perr.c: Remove bulk of implementation. Use
24349 __assert_fail_base.
24350 * include/assert.hL Declare __assert_fail_base.
24351 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24352 mmap.
24353 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24354
1af4e298
UD
243552011-05-14 Ulrich Drepper <drepper@gmail.com>
24356
f8a3b5bf 24357 [BZ #11952]
d26dfc60
MG
24358 [BZ #12453]
24359 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
24360 until all modules are registered in the DTV.
24361 * elf/Makefile: Add rules to build and run tst-tls19.
24362 * elf/tst-tls19.c: New file.
24363 * elf/tst-tls19mod1.c: New file.
24364 * elf/tst-tls19mod2.c: New file.
24365 * elf/tst-tls19mod3.c: New file.
24366 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
24367
2fc54d6f
UD
24368 [BZ #12083]
24369 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
24370 correctly.
24371
98d76b46
UD
24372 [BZ #12601]
24373 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
24374 two-byte sequence errors.
24375 * iconvdata/Makefile (tests): Add bug-iconv8.
24376 * iconvdata/bug-iconv8.c: New file.
24377
da3c19ef
UD
24378 [BZ #12626]
24379 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
24380 buf2 definition.
24381
ca408c15
UD
24382 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
24383
d6f67f7d
UD
24384 [BZ #12432]
24385 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
24386 (dummy_getcfa): New function.
24387 (init): Get _Unwind_GetCFA address, use dummy if not found.
24388 (backtrace_helper): In recursion check, also check whether CFA changes.
24389 (__backtrace): Completely initialize arg.
24390
1af4e298 24391 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
24392 storing incomplete byte sequence in state object. Avoid testing for
24393 guaranteed too small input if we know there is enough data available.
1af4e298 24394
da62f81b
AS
243952011-05-11 Andreas Schwab <schwab@redhat.com>
24396
24397 * Makeconfig (+link-pie): Indent.
24398 * Rules (binaries-pie): Define if $(have-fpie) and
24399 $(build-shared).
24400 (binaries-shared): Also filter out $(binaries-pie).
24401 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
24402 * nscd/Makefile (others-pie): Add nscd.
24403 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
24404 ($(objpfx)nscd): Remove command override.
24405 * login/Makefile (others-pie): Add pt_chown.
24406 ($(objpfx)pt_chown): Remove command override.
24407 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
24408 remove command overrides.
24409
fcabc0f8
UD
244102011-05-13 Ulrich Drepper <drepper@gmail.com>
24411
20030ae6
UD
24412 * libio/tst_putwc.c: Fix error messages.
24413
fcabc0f8
UD
24414 [BZ #12724]
24415 * libio/fileops.c (_IO_new_file_close_it): Always flush when
24416 currently writing and seek to current position when not.
24417 * libio/Makefile (tests): Add bug-fclose1.
24418 * libio/bug-fclose1.c: New file.
24419
320a5dc0
PB
244202011-05-12 Ulrich Drepper <drepper@gmail.com>
24421
24422 [BZ #12511]
24423 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
24424 don't set DF_1_NODELETE here.
24425 (do_lookup_x): When entering new entry test for copy relocation
24426 and if necessary set DF_1_NODELETE flag.
24427 * elf/tst-unique4.cc: New file.
24428 * elf/tst-unique4.h: New file.
24429 * elf/tst-unique4lib.cc: New file.
24430 * elf/Makefile: Add rules to build and run tst-unique4.
24431 Patch by Piotr Bury <pbury@goahead.com>.
24432
22836f52
UD
244332011-05-11 Ulrich Drepper <drepper@gmail.com>
24434
f574184a
UD
24435 [BZ #12052]
24436 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
24437
e1fb097f
UD
24438 [BZ #12625]
24439 * misc/mntent_r.c (addmntent): Flush the stream after the output
24440
22836f52
UD
24441 [BZ #12393]
24442 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
24443 (is_trusted_path_normalize): Skip initial colon. Append slash
24444 to empty buffer. Duplicate is_trusted_path code but allow
24445 constructed patch to be prefix.
24446 (is_dst): Allow $ORIGIN followed by /.
24447 (_dl_dst_substitute): Correct clearing of check_for_trusted.
24448 Correct testing of result of is_trusted_path_normalize
24449 (decompose_rpath): Fix warning.
24450
7b3b0b2a
UD
244512011-05-10 Ulrich Drepper <drepper@gmail.com>
24452
24453 [BZ #11257]
24454 * grp/initgroups.c (internal_getgrouplist): When we found the service
24455 list through the initgroups entry in nsswitch.conf do not always
24456 continue on a successful lookup. Don't always use the
eac80ce2 24457 __nss_group_database value if it is set.
7b3b0b2a
UD
24458 * nss/nsswitch.conf (initgroups): Change action for successful db
24459 lookup to continue for compatibility.
24460
2a81eaa5
UD
244612011-05-09 Ulrich Drepper <drepper@gmail.com>
24462
be97a69e
UD
24463 [BZ #11532]
24464 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
24465 and CP774 modules.
24466 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
24467 and CP774 modules.
24468 * iconvdata/tst-tables.sh: Likewise.
24469 * iconvdata/cp770.c: New file.
24470 * iconvdata/cp771.c: New file.
24471 * iconvdata/cp772.c: New file.
24472 * iconvdata/cp773.c: New file.
24473 * iconvdata/cp774.c: New file.
24474 * iconvdata/testdata/CP770: New file.
24475 * iconvdata/testdata/CP770..UTF8: New file.
24476 * iconvdata/testdata/CP771: New file.
24477 * iconvdata/testdata/CP771..UTF8: New file.
24478 * iconvdata/testdata/CP772: New file.
24479 * iconvdata/testdata/CP772..UTF8: New file.
24480 * iconvdata/testdata/CP773: New file.
24481 * iconvdata/testdata/CP773..UTF8: New file.
24482 * iconvdata/testdata/CP774: New file.
24483 * iconvdata/testdata/CP774..UTF8: New file.
24484
24485 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
24486 END CHARMAP line.
24487 * iconvdata/gen-8bit-gap.sh: Likewise.
24488 * iconvdata/gen-8bit.sh: Likewise.
24489
c1e9e399
UD
24490 * locale/iso-639.def: Add ary entry.
24491
24c55fb3 24492 [BZ #11258]
96b4b1b0
UD
24493 * locale/C-translit.h.in: Add U20A1 transliteration.
24494
bdc2f971
KB
24495 [BZ #12178]
24496 * locale/iso-639.def: Add wae entry.
24497 Patch by Kevin Bortis <bortis@translate-wae.ch>.
24498
2952b117
UD
24499 [BZ #12545]
24500 * locale/programs/localedef.c (construct_output_path): Use ssize_t
24501 for n.
24502
2a81eaa5
UD
24503 [BZ #12711]
24504 * locale/C-translit.h.in: Add entry for U20B9.
24505 Patch by pravin.d.s@gmail.com.
24506
28377d1b
UD
245072011-05-08 Ulrich Drepper <drepper@gmail.com>
24508
7fb90fb8
UD
24509 [BZ #12713]
24510 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
24511 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
24512 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
24513 in rtld. Use *stat64.
7fb90fb8 24514 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 24515 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 24516 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
24517 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
24518 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
24519 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
24520 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
24521 __fstatat64 macros.
7fb90fb8
UD
24522 * include/dirent.h: Add libc_hidden_proto for rewinddir.
24523 * dirent/rewinddir.c: Add libc_hidden_def.
24524 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 24525 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 24526
28377d1b
UD
24527 * include/dirent.h (__alloc_dir): Add flags parameter.
24528 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
24529 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
24530 __alloc_dir.
24531 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
24532 from fdopendir if O_CLOEXEC is already set.
24533
66bdbaa4
AM
245342011-03-15 Alan Modra <amodra@gmail.com>
24535
24536 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
24537 l_tls_firstbyte_offset non-zero. Save padding offset in
24538 l_tls_firstbyte_offset for later use.
24539 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
24540 freeing static tls block.
24541
95721191
JN
245422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
24543
24544 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
24545 where #ifdef was intended. The intent is to prevent ARG_MAX from
24546 being defined by the kernel headers.
24547
f87dfb1f
UD
245482011-05-07 Ulrich Drepper <drepper@gmail.com>
24549
24550 [BZ #12734]
24551 * resolv/resolv.h: Define RES_NOTLDQUERY.
24552 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
24553 no-tld-query and set RES_NOTLDQUERY.
24554 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
24555 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
24556 modern BIND to search name as TLD unless forbidden.
24557
47c3cd7a
UD
245582011-05-07 Petr Baudis <pasky@suse.cz>
24559 Ulrich Drepper <drepper@gmail.com>
24560
24561 [BZ #12393]
24562 * elf/dl-load.c (fillin_rpath): Move trusted path check...
24563 (is_trusted_path): ...to here.
c1e9ea35 24564 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 24565 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 24566 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 24567
8a35c912
PP
245682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24569
24570 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
24571 __BEGIN/__END_DECLS.
24572
acd41f47
UD
245732011-05-06 Ulrich Drepper <drepper@gmail.com>
24574
24575 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
24576 NSS_STATUS_NOTFOUND if no record was found.
24577
597df647
AS
245782011-05-05 Andreas Schwab <schwab@redhat.com>
24579
24580 * sunrpc/Makefile (headers): Add rpc/netdb.h.
24581 (headers-not-in-tirpc): Remove rpc/netdb.h
24582 * resolv/netdb.h: Revert last change.
24583
b9af1301
PP
245842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24585
24586 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
24587 circular dependency between libgcc.a and libc.a.
24588
4e34d5f5
AS
245892011-05-05 Andreas Schwab <schwab@redhat.com>
24590
24591 * resolv/netdb.h: Don't include <rpc/netdb.h>.
24592 * nis/Makefile: Don't install rpcsvc/*.
24593 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
24594 instead of <rpc/types.h>.
24595 (MAXHOSTNAMELEN): Define.
24596
00ee369c
AS
245972011-05-03 Andreas Schwab <schwab@redhat.com>
24598
24599 * elf/ldconfig.c (add_dir): Don't crash on empty path.
24600
0b592a30
MB
246012011-04-28 Maciej Babinski <mbabinski@google.com>
24602
24603 [BZ #12714]
24604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
24605 gethostbyname4_r when IPv6 results are possible.
24606
6e04cbbe
UD
246072011-05-02 Ulrich Drepper <drepper@gmail.com>
24608
24609 [BZ #12723]
24610 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
24611 _PC_PIPE_BUF handling.
24612
e4ecafe0
BH
246132011-04-30 Bruno Haible <bruno@clisp.org>
24614
24615 [BZ #12717]
24616 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
24617 * resolv/netdb.h (getnameinfo): Change type of flags parameter
24618 to 'int'.
24619 * inet/getnameinfo.c (getnameinfo): Likewise.
24620
125ee683
UD
246212011-04-29 Ulrich Drepper <drepper@gmail.com>
24622
24623 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
24624 to groups setting in database lookup.
24625 * nss/nsswitch.conf: Add initgroups entry.
24626
b722481a
EB
246272011-04-22 Ulrich Drepper <drepper@gmail.com>
24628
24629 [BZ #12685]
24630 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
24631 mode string.
24632 Patch by Eric Blake <eblake@redhat.com>.
24633
4df46dbd
L
246342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
24635
24636 * sunrpc/Makefile (need-export-routines): Add svc_run.
24637 (routines): Remove svc_run.
24638 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
24639 * sunrpc/clnt_perr.c (clnt_perrno): Export.
24640 * sunrpc/svc_run.c (svc_run): Likewise.
24641 * sunrpc/svc_udp.c (svcudp_create): Likewise.
24642
e84142d2
UD
246432011-04-21 Ulrich Drepper <drepper@gmail.com>
24644
24645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
24646 problem in reallocation in last patch.
24647
877175d8
UD
246482011-04-20 Ulrich Drepper <drepper@gmail.com>
24649
24650 * sunrpc/Makefile: Move inclusion of Rules.
24651
ab8eed78
UD
246522011-04-19 Ulrich Drepper <drepper@gmail.com>
24653
24654 * nss/nss_files/files-initgroups.c: New file.
24655 * nss/Makefile (libnss_files-routines): Add files-initgroups.
24656 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
24657 _nss_files_initgroups_dyn.
24658
e3d8f584
RS
246592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
24660
24661 * elf/elf.h (R_ARM_IRELATIVE): Define.
24662
af190f45
UD
246632011-04-19 Ulrich Drepper <drepper@gmail.com>
24664
24665 * po/ru.po: Update from translation team.
24666
53cf59ef
UD
246672011-04-17 Ulrich Drepper <drepper@gmail.com>
24668
24669 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
24670 dependencies.
24671
4c559bcd
MF
246722011-02-06 Mike Frysinger <vapier@gentoo.org>
24673
24674 [BZ #12653]
24675 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
24676 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
24677 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24679 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24680
4420675c
AS
246812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
24682
24683 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
24684 differing bytes.
24685 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24686 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24687 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24688
75ea32ab
UD
246892011-04-17 Ulrich Drepper <drepper@gmail.com>
24690
24691 [BZ #12420]
24692 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
24693 storing it.
24694 * stdlib/bug-getcontext.c: New file.
24695 * stdlib/Makefile: Add rules to build and run bug-getcontext.
24696
27390476
AK
246972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24698
24699 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
24700 instructions into .machine "z9-109".
24701 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
24702 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
24703
10442705
AK
247042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24705
24706 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
24707 between environment variables and auxiliary vector.
24708
7b57bfe5
UD
247092011-04-16 Ulrich Drepper <drepper@gmail.com>
24710
24711 * Makefile: Add rules to build linkobj/libc.so.
24712 * include/libc-symbols.h: Define libc_hidden_nolink.
24713 * include/rpc/auth.h: Mark functions which are to be hidden.
24714 * include/rpc/auth_des.h: Likewise.
24715 * include/rpc/auth_unix.h: Likewise.
24716 * include/rpc/clnt.h: Likewise.
24717 * include/rpc/des_crypt.h: Likewise.
24718 * include/rpc/key_prot.h: Likewise.
24719 * include/rpc/pmap_clnt.h: Likewise.
24720 * include/rpc/pmap_prot.h: Likewise.
24721 * include/rpc/pmap_rmt.h: Likewise.
24722 * include/rpc/rpc_msg.h: Likewise.
24723 * include/rpc/svc.h: Likewise.
24724 * include/rpc/svc_auth.h: Likewise.
24725 * include/rpc/xdr.h: Likewise.
24726 * nis/Makefile: Link all DSOs against linkobj/libc.so.
24727 * nss/Makefile: Likewise.
24728 * sunrpc/Makefile: Don't install headers. Build library with normal
24729 entry points. Don't build rpcinfo. Link RPC tests appropriately.
24730 * sunrpc/auth_des.c: Hide exported symbols by default, export some
24731 for the compat linking library. Remove use of INTDEF/INTUSE.
24732 * sunrpc/auth_none.c: Likewise.
24733 * sunrpc/auth_unix.c: Likewise.
24734 * sunrpc/authdes_prot.c: Likewise.
24735 * sunrpc/authuxprot.c: Likewise.
24736 * sunrpc/clnt_gen.c: Likewise.
24737 * sunrpc/clnt_perr.c: Likewise.
24738 * sunrpc/clnt_raw.c: Likewise.
24739 * sunrpc/clnt_simp.c: Likewise.
24740 * sunrpc/clnt_tcp.c: Likewise.
24741 * sunrpc/clnt_udp.c: Likewise.
24742 * sunrpc/clnt_unix.c: Likewise.
24743 * sunrpc/des_crypt.c: Likewise.
24744 * sunrpc/des_soft.c: Likewise.
24745 * sunrpc/get_myaddr.c: Likewise.
24746 * sunrpc/key_call.c: Likewise.
24747 * sunrpc/key_prot.c: Likewise.
24748 * sunrpc/netname.c: Likewise.
24749 * sunrpc/pm_getmaps.c: Likewise.
24750 * sunrpc/pm_getport.c: Likewise.
24751 * sunrpc/pmap_clnt.c: Likewise.
24752 * sunrpc/pmap_prot.c: Likewise.
24753 * sunrpc/pmap_prot2.c: Likewise.
24754 * sunrpc/pmap_rmt.c: Likewise.
24755 * sunrpc/publickey.c: Likewise.
24756 * sunrpc/rpc_cmsg.c: Likewise.
24757 * sunrpc/rpc_common.c: Likewise.
24758 * sunrpc/rpc_dtable.c: Likewise.
24759 * sunrpc/rpc_prot.c: Likewise.
24760 * sunrpc/rpc_thread.c: Likewise.
24761 * sunrpc/rtime.c: Likewise.
24762 * sunrpc/svc.c: Likewise.
24763 * sunrpc/svc_auth.c: Likewise.
24764 * sunrpc/svc_authux.c: Likewise.
24765 * sunrpc/svc_raw.c: Likewise.
24766 * sunrpc/svc_run.c: Likewise.
24767 * sunrpc/svc_simple.c: Likewise.
24768 * sunrpc/svc_tcp.c: Likewise.
24769 * sunrpc/svc_udp.c: Likewise.
24770 * sunrpc/svc_unix.c: Likewise.
24771 * sunrpc/svcauth_des.c: Likewise.
24772 * sunrpc/xcrypt.c: Likewise.
24773 * sunrpc/xdr.c: Likewise.
24774 * sunrpc/xdr_array.c: Likewise.
24775 * sunrpc/xdr_float.c: Likewise.
24776 * sunrpc/xdr_intXX_t.c: Likewise.
24777 * sunrpc/xdr_mem.c: Likewise.
24778 * sunrpc/xdr_rec.c: Likewise.
24779 * sunrpc/xdr_ref.c: Likewise.
24780 * sunrpc/xdr_sizeof.c: Likewise.
24781 * sunrpc/xdr_stdio.c: Likewise.
24782
e6c61494
UD
247832011-04-10 Ulrich Drepper <drepper@gmail.com>
24784
24785 [BZ #12650]
24786 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
24787 * sysdeps/ia64/dl-tls.h: Likewise.
24788 * sysdeps/powerpc/dl-tls.h: Likewise.
24789 * sysdeps/s390/dl-tls.h: Likewise.
24790 * sysdeps/sh/dl-tls.h: Likewise.
24791 * sysdeps/sparc/dl-tls.h: Likewise.
24792 * sysdeps/x86_64/dl-tls.h: Likewise.
24793 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
24794
34fe483e
AS
247952011-03-14 Andreas Schwab <schwab@redhat.com>
24796
24797 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
24798 rpath element also skip the following colon.
24799 (expand_dynamic_string_token): Add is_path parameter and pass
24800 down to DL_DST_REQUIRED and _dl_dst_substitute.
24801 (decompose_rpath): Call expand_dynamic_string_token with
24802 non-zero is_path. Ignore empty rpaths.
24803 (_dl_map_object_from_fd): Call expand_dynamic_string_token
24804 with zero is_path.
24805
f12a32e6
AS
248062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
24807
24808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
24809 Make cancelable.
24810
38a7d692
UD
248112011-04-09 Ulrich Drepper <drepper@gmail.com>
24812
24813 [BZ #12655]
24814 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
24815 Patch by Filipe David Manana <fdmanana@apache.org>.
24816
e451d22b
AS
248172011-04-07 Andreas Schwab <schwab@redhat.com>
24818
24819 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
24820 Maintain aligned stack.
24821 (CHECK_RSP): Remove unused macro.
24822
dedc7c7b
UD
248232011-04-03 Ulrich Drepper <drepper@gmail.com>
24824
24825 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
24826 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
24827
94521213
UD
248282011-04-02 Ulrich Drepper <drepper@gmail.com>
24829
24830 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
24831
8cb700c0 24832 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 24833
0354e355
L
248342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
24835
24836 [BZ #12518]
24837 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
24838 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
24839 * sysdeps/x86_64/memmove.c: New file.
24840 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
24841 (memcpy): Renamed to ...
24842 (__new_memcpy): This.
24843 (memcpy): Provide GLIBC_2_14 memcpy.
24844 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
24845 (memcpy): Provide GLIBC_2_2_5 memcpy.
24846
8593482f
UD
248472011-04-01 Ulrich Drepper <drepper@gmail.com>
24848
24849 [BZ #12631]
24850 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
24851
81a5726b
AS
248522011-03-30 Andreas Schwab <schwab@redhat.com>
24853
24854 * misc/syncfs.c: New file.
24855 * misc/Makefile (routines): Add syncfs.
24856 * posix/unistd.h: Declare syncfs.
24857 * sysdeps/unix/syscalls.list: Add syncfs.
24858
00e5419f
AS
248592011-04-01 Andreas Schwab <schwab@redhat.com>
24860
24861 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
24862 open_by_handle_at.
24863 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
24864 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24866 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24867 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24868 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
24869 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24870
748876bf
UD
248712011-04-01 Ulrich Drepper <drepper@gmail.com>
24872
658e451d
UD
24873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
24874 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24875 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
24876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24880
748876bf
UD
24881 * io/Makefile: Compile fallocate.c, fallocate64.c, and
24882 sync_file_range.c with -fexceptions.
24883 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
24884 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
24885 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24886 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24887 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
24888 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
24889 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
24890 sync_file_range as cancellation point
24891 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
24892 now a wrapper around __call_sync_file_range with cancellation handling.
24893 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
24894 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
24895 function name to __call_sync_file_range.
24896 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
24897 Add call_sync_file_range.
748876bf 24898
6e63d5e1
AS
248992011-04-01 Andreas Schwab <schwab@redhat.com>
24900
24901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 24902 bits/timex.h.
6e63d5e1 24903
46998f74
UD
249042011-04-01 Ulrich Drepper <drepper@gmail.com>
24905
4c1423ed
UD
24906 * iconv/iconv.h: Fix typo in comment.
24907 * io/fcntl.h: Likewise.
24908 * libio/stdio.h: Likewise.
24909 * posix/spawn.h: Likewise.
24910 * posix/unistd.h: Likewise.
24911 * stdlib/stdlib.h: Likewise.
24912 * time/time.h: Likewise.
24913 * wcsmbs/wchar.h: Likewise.
24914
158648c0
UD
24915 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
24916 open_by_handle): Add.
24917 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
24918 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
24919 Augment a few comments.
24920 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
24921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
24923 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
24925 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
24926 open_by_handle.
24927
46998f74
UD
24928 * io/fcntl.h (AT_EMPTY_PATH): Define.
24929
83fe108b
UD
249302011-03-30 Ulrich Drepper <drepper@gmail.com>
24931
24932 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
24933 * sysdeps/unix/sysv/linux/bits/time.h: New file.
24934 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
24935 to...
24936 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
24937 * Versions.def: Add GLIBC_2.14.
24938 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
24939 Export.
83fe108b 24940
bb242059
UD
249412011-03-22 Ulrich Drepper <drepper@gmail.com>
24942
24943 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
24944 round counter.
24945 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24946
c97a1282
L
249472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
24948
24949 [BZ #12597]
24950 * string/test-strncmp.c (do_page_test): New function.
24951 (check2): Likewise.
24952 (test_main): Call check2.
24953 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
24954
2a115601
UD
249552011-03-20 Ulrich Drepper <drepper@gmail.com>
24956
24957 [BZ #12587]
24958 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
24959 Handle cache information in CPU leaf 4.
24960 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
24961
8126d904
UD
249622011-03-18 Ulrich Drepper <drepper@gmail.com>
24963
042c49c6 24964 [BZ #12583]
8126d904
UD
24965 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
24966 character representation.
24967 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
24968
ccfe366e
RA
249692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
24970
24971 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
24972 END(__isnan) to END(__isnanf) to match function entry point/label
24973 EALIGN(__isnanf,...).
24974
c6e13027
JJ
249752011-03-10 Jakub Jelinek <jakub@redhat.com>
24976
24977 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
24978
33f85a3f
UD
249792011-03-10 Ulrich Drepper <drepper@gmail.com>
24980
028478fa
UD
24981 [BZ #12510]
24982 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
24983 copy from the symbol referenced in the relocation to initialize the
24984 used variable.
24985 Patch by Piotr Bury <pbury@goahead.com>.
24986 * elf/Makefile: Add rules to build and tst-unique3.
24987 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
24988 * elf/tst-unique3.cc: New file.
24989 * elf/tst-unique3.h: New file.
24990 * elf/tst-unique3lib.cc: New file.
24991 * elf/tst-unique3lib2.cc: New file.
24992
33f85a3f
UD
24993 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
24994
03592fc7
MF
249952011-03-10 Mike Frysinger <vapier@gentoo.org>
24996
24997 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
24998 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
24999 to _start.
03592fc7 25000
6a5ee102
UD
250012011-03-06 Ulrich Drepper <drepper@gmail.com>
25002
25003 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25004 to-be-loaded object along a path to loader is ld.so.
25005
7e4ba49c
HJ
250062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25007 Ulrich Drepper <drepper@gmail.com>
25008
25009 * sysdeps/x86_64/memset.S: After aligning destination, code
25010 branches to different locations depending on the value of
25011 misalignment, when multiarch is enabled. Fix this.
25012
250132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25014
25015 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25016 Set _x86_64_preferred_memory_instruction for AMD processsors.
25017 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25018 Set bit_Prefer_SSE_for_memop for AMD processors.
25019
13a804de
UD
250202011-03-04 Ulrich Drepper <drepper@gmail.com>
25021
25022 * libio/fmemopen.c (fmemopen): Optimize a bit.
25023
9d25c392
AS
250242011-03-03 Andreas Schwab <schwab@redhat.com>
25025
25026 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25027
a5543c6a
RM
250282011-03-03 Roland McGrath <roland@redhat.com>
25029
25030 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25031
012d35f7
DM
250322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25033
7e4ba49c 25034 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25035 __bzero_ultra1 instead of __memset_ultra1.
25036
4bff6e01
AS
250372011-02-23 Andreas Schwab <schwab@redhat.com>
25038 Ulrich Drepper <drepper@gmail.com>
25039
25040 [BZ #12509]
25041 * include/link.h (struct link_map): Add l_orig_initfini.
25042 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25043 returning unsuccessfully.
25044 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25045 close of a file loaded at startup, restore the original l_initfini
25046 list.
25047 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25048 list, store the pointer.
25049 * elf/Makefile ($(objpfx)noload-mem): New rule.
25050 (noload-ENV): Define.
25051 (tests): Add $(objpfx)noload-mem.
25052 * elf/noload.c: Include <memcheck.h>.
25053 (main): Call mtrace. Close all opened handles.
25054
f2092faf
AS
250552011-02-17 Andreas Schwab <schwab@redhat.com>
25056
25057 [BZ #12454]
25058 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25059 dependencies are missing.
25060
6c8a2e88
ST
250612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25062
f2092faf 25063 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25064 Hurd needs munmap.
25065 * sysdeps/mach/hurd/ifreq.h: New file.
25066
84a42118
PB
250672011-01-27 Petr Baudis <pasky@suse.cz>
25068 Ulrich Drepper <drepper@gmail.com>
25069
071f805e 25070 [BZ 12445]#
84a42118
PB
25071 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25072 to extend_alloca().
25073 * stdio-common/bug23.c: New file.
25074 * stdio-common/Makefile (tests): Add bug23.
25075
e23fe25b
AS
250762010-09-28 Andreas Schwab <schwab@redhat.com>
25077 Ulrich Drepper <drepper@gmail.com>
25078
25079 [BZ #12489]
25080 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25081 before performing relro protection. At old place add assertion
25082 to make sure nothing changed.
25083
d3f02e10
NS
250842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25085 Glauber de Oliveira Costa <glommer@gmail.com>
25086
25087 * elf/elf.h: Add new ARM TLS relocs.
25088
d55fd7a5
RA
250892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25090
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25092 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25093 cast from r3.
25094 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25095 'tests' variable.
25096 * sysdeps/wordsize-64/tst-writev.c: New file.
25097
2206397e
RA
250982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25099
25100 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25101 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25102 insns in _dl_start to prevent a TOC reference before relocs are
25103 resolved.
25104
e9433893
UD
251052011-02-15 Ulrich Drepper <drepper@gmail.com>
25106
25107 [BZ #12469]
25108 * Makeconfig: Remove RANLIB definition.
25109 * Makerules: Don't use RANLIB.
25110 * aclocal.m4: Remove ranlib test.
25111 * configure.in: No need to check for ranlib.
25112 * elf/rtld-Rules: Don't use RANLIB.
25113
f75286c6
ST
251142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25115
8e31c82d
ST
25116 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25117 protection macro.
25118 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25119 inclusion protection macro.
25120
f75286c6
ST
25121 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25122 SIGRTMIN and SIGRTMAX and print information in that case only when
25123 SIGRTMIN is defined.
25124
c1d0e639
JJ
251252011-02-11 Jakub Jelinek <jakub@redhat.com>
25126
25127 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25128 arginfo fn returning -1.
25129
25130 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25131 and thousands string is zero terminated.
25132
edf9294e
AS
251332011-02-03 Andreas Schwab <schwab@redhat.com>
25134
25135 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25136 sysdeps/unix/sysv/linux/bits/socket.h.
25137
2b7e92df
ST
251382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25139
edf9294e
AS
25140 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25141 (__CPU_COUNT): Remove old macros.
25142 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25143 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25144 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25145 (__sched_cpualloc, __sched_cpufree): Add declarations.
25146
a4c7ea7b
UD
251472011-02-05 Ulrich Drepper <drepper@gmail.com>
25148
25149 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25150 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25151 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25152 (readdhstai): Return value of addhstaiX call.
25153 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25154 (addgrbyX): Return value returned by cache_addgr.
25155 (readdgrbyname): Return value returned by addgrbyX.
25156 (readdgrbygid): Likewise.
25157 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25158 (addpwbyX): Return value returned by cache_addpw.
25159 (readdpwbyname): Return value returned by addhstbyX.
25160 (readdpwbyuid): Likewise.
25161 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25162 (addservbyX): Return value returned by cache_addserv.
25163 (readdservbyname): Return value returned by addservbyX:
25164 (readdservbyport): Likewise.
25165 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25166 (addhstbyX): Return value returned by cache_addhst.
25167 (readdhstbyname): Return value returned by addhstbyX.
25168 (readdhstbyaddr): Likewise.
25169 (readdhstbynamev6): Likewise.
25170 (readdhstbyaddrv6): Likewise.
25171 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25172 (readdinitgroups): Return value returned by addinitgroupsX.
25173 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25174 (prune_cache): Keep track of timeout value of re-added entries.
25175 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25176 * nscd/nscd.h: Adjust prototypes of readd* functions.
25177
a0bf67cc
RM
251782011-02-04 Roland McGrath <roland@redhat.com>
25179
25180 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25181 (nis_stats): Likewise.
25182 * nis/nis_modify.c (nis_modify): Likewise.
25183 * nis/nis_remove.c (nis_remove): Likewise.
25184 * nis/nis_add.c (nis_add): Likewise.
25185
25186 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25187
25188 * posix/fnmatch_loop.c: Add some consts.
25189
25190 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25191
435b95eb
L
251922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25193
25194 [BZ #12460]
25195 * config.make.in (config-cflags-novzeroupper): Define.
25196 * configure.in: Substitute libc_cv_cc_novzeroupper.
25197 * elf/Makefile (AVX-CFLAGS): Define.
25198 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25199 (CFLAGS-tst-auditmod4a.c): Likewise.
25200 (CFLAGS-tst-auditmod4b.c): Likewise.
25201 (CFLAGS-tst-auditmod6b.c): Likewise.
25202 (CFLAGS-tst-auditmod6c.c): Likewise.
25203 (CFLAGS-tst-auditmod7b.c): Likewise.
25204 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25205
8517b15e
UD
252062011-02-02 Ulrich Drepper <drepper@gmail.com>
25207
25208 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25209 function to the callback.
25210 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25211
10a656fe
AS
252122011-02-02 Andreas Schwab <schwab@redhat.com>
25213
25214 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25215 of errno.
25216
968dad0a
UD
252172011-01-19 Ulrich Drepper <drepper@gmail.com>
25218
9f94d2ea 25219 [BZ #11724]
968dad0a
UD
25220 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25221 of constructors.
25222 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25223 of destructors.
25224 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25225
25226 [BZ #11724]
25227 * elf/Makefile: Add rules to build and run new test.
25228 * elf/tst-initorder.c: New file.
25229 * elf/tst-initorder.exp: New file.
25230 * elf/tst-initordera1.c: New file.
25231 * elf/tst-initordera2.c: New file.
25232 * elf/tst-initordera3.c: New file.
25233 * elf/tst-initordera4.c: New file.
25234 * elf/tst-initorderb1.c: New file.
25235 * elf/tst-initorderb2.c: New file.
25236 * elf/tst-order-a1.c: New file.
25237 * elf/tst-order-a2.c: New file.
25238 * elf/tst-order-a3.c: New file.
25239 * elf/tst-order-a4.c: New file.
25240 * elf/tst-order-b1.c: New file.
25241 * elf/tst-order-b2.c: New file.
25242 * elf/tst-order-main.c: New file.
25243 New test case by George Gensure <werkt0@gmail.com>.
25244
86e92359
UD
252452010-10-01 Andreas Schwab <schwab@redhat.com>
25246
25247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25248 decoding ACE if AI_CANONIDN.
25249
5d5732b0
UD
252502011-01-18 Ulrich Drepper <drepper@gmail.com>
25251
25252 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25253
a77e8cbc
UD
252542011-01-17 Ulrich Drepper <drepper@gmail.com>
25255
6392473f
UD
25256 * version.h (RELEASE): Bump for 2.13 release.
25257 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25258
620a0529
UD
25259 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25260
18ba70a5
UD
25261 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25262 MADV_NOHUGEPAGE.
32465c3e
UD
25263 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25264 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25265 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25266 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25267 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25268 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25269
c0dafcf1
UD
25270 * posix/getconf.c: Update copyright year.
25271 * catgets/gencat.c: Likewise.
25272 * csu/version.c: Likewise.
25273 * debug/catchsegv.sh: Likewise.
25274 * debug/xtrace.sh: Likewise.
25275 * elf/ldconfig.c: Likewise.
25276 * elf/ldd.bash.in: Likewise.
25277 * elf/sprof.c (print_version): Likewise.
25278 * iconv/iconv_prog.c: Likewise.
25279 * iconv/iconvconfig.c: Likewise.
25280 * locale/programs/locale.c: Likewise.
25281 * locale/programs/localedef.c: Likewise.
25282 * malloc/memusage.sh: Likewise.
25283 * malloc/mtrace.pl: Likewise.
25284 * nscd/nscd.c (print_version): Likewise.
25285 * nss/getent.c: Likewise.
25286
a77e8cbc
UD
25287 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25288 PF_CAIF, and PF_ALG.
25289 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25290
77e8bddf
AS
252912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25292
1f20b93a
AS
25293 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25294 (modules-names): Use them.
25295 (ifunc-test-modules, ifunc-pie-tests): Define.
25296 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25297 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25298 (test-extras): Likewise.
25299 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25300 $(compile-command.c).
25301 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25302 (all-built-dso): Define.
25303 (check-textrel.out, check-execstack.out): Depend on it.
25304
77e8bddf
AS
25305 * configure.in: Don't override --enable-multi-arch.
25306
bc425b33
UD
253072011-01-15 Ulrich Drepper <drepper@gmail.com>
25308
25309 [BZ #6812]
25310 * nscd/hstcache.c (tryagain): Define.
25311 (cache_addhst): Return tryagain not notfound for temporary errors.
25312 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25313 failed.
25314
794c3ad3
UD
253152011-01-14 Ulrich Drepper <drepper@gmail.com>
25316
70181fdd
UD
25317 [BZ #10563]
25318 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25319 to make the syscall.
25320 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25321
794c3ad3
UD
25322 [BZ #12378]
25323 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25324 and fall back to matching as normal character if the string ends before
25325 the matching ']' is found. This is what POSIX requires.
25326 * posix/testfnm.c: Adjust test result.
25327 * posix/globtest.sh: Adjust test result. Add new test.
25328 * posix/tst-fnmatch.input: Likewise.
25329 * posix/tst-fnmatch2.c: Add new test.
25330
68dc9497
AS
253312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25332
25333 * elf/Makefile (check-execstack): Revert last change. Depend on
25334 check-execstack.h.
25335 (check-execstack.h): New target.
25336 (generated): Add check-execstack.h.
25337 * elf/check-execstack.c: Include "check-execstack.h".
25338 (main): Revert last change.
25339 (handle_file): Return zero if GNU_STACK is absent and
25340 DEFAULT_STACK_PERMS doesn't include PF_X.
25341
451f001b
UD
253422011-01-13 Ulrich Drepper <drepper@gmail.com>
25343
cfa28e56
UD
25344 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25345 in child fails because the descriptor is already closed.
8cf8ce17
UD
25346 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25347 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25348 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25349
1086d70d
UD
25350 [BZ #12397]
25351 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25352 syscall.
25353
451f001b
UD
25354 [BZ #10484]
25355 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25356 temporary buffer used to handle multi lookups locally.
a85b5cb4 25357 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 25358
08769175
UD
253592011-01-12 Ulrich Drepper <drepper@gmail.com>
25360
25361 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
25362 loader is ld.so.
25363
5e49c52e
UD
253642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
25365
25366 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
25367 alignment for SSE2.
25368
60522a5f
UD
253692011-01-12 Ulrich Drepper <drepper@gmail.com>
25370
25371 [BZ #12394]
25372 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
25373 characters. When rounding increased number of integer digits recompute
25374 number of groups.
25375 * stdio-common/tst-grouping.c: New file.
25376 * stdio-common/Makefile: Add rules to build and run tst-grouping.
25377
f257bbd7
UD
253782011-01-09 Ulrich Drepper <drepper@gmail.com>
25379
25380 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
25381 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
25382
25383 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
25384 void.
25385 * bits/select.h: Likewise.
25386
fa9c15cb
UD
253872011-01-08 Ulrich Drepper <drepper@gmail.com>
25388
25389 * po/ja.po: Update from translation team.
25390
16c2895f
DM
253912011-01-04 David S. Miller <davem@sunset.davemloft.net>
25392
25393 [BZ #11155]
25394 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
25395 implementation just like for lxstat, fxstatat, et al.
25396
2543fef2
JM
253972010-12-27 Jim Meyering <meyering@redhat.com>
25398
25399 [BZ #12348]
25400 * posix/regexec.c (build_trtable): Return failure indication upon
25401 calloc failure. Otherwise, re_search_internal could infloop on OOM.
25402
98727dbe
UD
254032010-12-25 Ulrich Drepper <drepper@gmail.com>
25404
5bd6dc5c
UD
25405 [BZ #12201]
25406 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
25407 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
25408 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
25409 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
25410
97983464
UD
25411 [BZ #12207]
25412 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
25413
98727dbe
UD
25414 [BZ #12204]
25415 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
25416 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
25417
4a531bb0
L
254182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
25421 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
25422 script has SORT_BY_INIT_PRIORITY.
25423 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
25424 NO_CTORS_DTORS_SECTIONS is defined.
25425 * elf/soinit.c: Likewise.
25426 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
25427 NO_CTORS_DTORS_SECTIONS is defined.
25428 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
25429 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
25430 * sysdeps/sh/init-first.c: Likewise.
25431 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
25432
07eb4b71
UD
254332010-12-24 Ulrich Drepper <drepper@gmail.com>
25434
25435 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
25436 always use the slow path.
25437
30950a5f
RA
254382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
25439
25440 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
25441 similar rule which adds the sysdep directories to the header search in
25442 order to pick up the correct platform stackinfo.h.
25443 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
25444 perform test if it is, otherwise return successfully without testing.
25445 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
25446 DEFAULT_STACK_PERMS define in stackinfo.h.
25447 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
25448 defined in stackinfo.h.
25449 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
25450 DEFAULT_STACK_PERMS defined in stackinfo.h.
25451 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
25452 * sysdeps/ia64/stackinfo.h: Likewise.
25453 * sysdeps/s390/stackinfo.h: Likewise.
25454 * sysdeps/sh/stackinfo.h: Likewise.
25455 * sysdeps/sparc/stackinfo.h: Likewise.
25456 * sysdeps/x86_64/stackinfo.h: Likewise.
25457 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
25458 PF_X for powerpc64. Retain PF_X for powerpc32.
25459
db753e2c
UD
254602010-12-19 Ulrich Drepper <drepper@gmail.com>
25461
14b697f7
UD
25462 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
25463 accurately.
db753e2c
UD
25464 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
25465 GETDENTS_64BIT_ALIGNED.
25466
28300719
UD
254672010-12-14 Ulrich Drepper <dreper@gmail.com>
25468
14b697f7 25469 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 25470
4f197237
AS
254712010-12-10 Andreas Schwab <schwab@redhat.com>
25472
dbb0472f
AS
25473 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
25474 _GNU_SOURCE.
25475
4f197237
AS
25476 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
25477 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
25478 Remove __restrict.
25479 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
25480 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
25481
fb88ac72
UD
254822010-12-09 Ulrich Drepper <drepper@gmail.com>
25483
25484 [BZ #11655]
25485 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
25486 are initialized.
25487
42acbb92
JJ
254882010-12-09 Jakub Jelinek <jakub@redhat.com>
25489
25490 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
25491
c038d98d
UD
254922010-12-03 Ulrich Drepper <drepper@gmail.com>
25493
25494 * po/it.po: Update from translation team.
25495
3a4a2499
L
254962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
25497
25498 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
25499 unused codes.
25500
1e24cf6e
UD
255012010-11-30 Ulrich Drepper <drepper@gmail.com>
25502
25503 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
25504
a7690819
AS
255052010-11-24 Andreas Schwab <schwab@redhat.com>
25506
25507 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
25508 specially.
25509 (gaih_getanswer_slice): Likewise.
25510
3bf8d1b1
JJ
255112010-10-20 Jakub Jelinek <jakub@redhat.com>
25512
25513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
25514
6db52fbb
PB
255152010-05-31 Petr Baudis <pasky@suse.cz>
25516
25517 [BZ #11149]
25518 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
25519 silently even in the chroot mode.
25520
eaca7569
UD
255212010-11-22 Ulrich Drepper <drepper@gmail.com>
25522
25523 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
25524 last patch a bit. Pretty printing
25525
3056dcdb
UD
255262010-05-31 Petr Baudis <pasky@suse.cz>
25527
25528 [BZ #10085]
25529 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
25530 initialization of skip_initgroups_dyn.
25531
cf7c9078
UD
255322010-11-19 Ulrich Drepper <drepper@gmail.com>
25533
25534 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
25535 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25536
a1fb5e3e
UD
255372010-11-16 Ulrich Drepper <drepper@gmail.com>
25538
25539 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
25540
3540d66b
AS
255412010-11-11 Andreas Schwab <schwab@redhat.com>
25542
25543 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
25544 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
25545 (tst-fnmatch-ENV): Set MALLOC_TRACE.
25546 ($(objpfx)tst-fnmatch-mem): New rule.
25547 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
25548 * posix/tst-fnmatch.c (main): Call mtrace.
25549
13b69574
L
255502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
25551
25552 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25553 Support Intel processor model 6 and model 0x2c.
25554
da93d214
LM
255552010-11-10 Luis Machado <luisgpm@br.ibm.com>
25556
25557 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
25558 signed comparison.
25559
8ca52c6e
L
255602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
25561
25562 [BZ #12205]
25563 * string/test-strncasecmp.c (check_result): New function.
25564 (do_one_test): Use it.
25565 (check1): New function.
25566 (test_main): Use it.
25567 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
25568 Support strcasecmp and strncasecmp.
25569
69da074d
UD
255702010-11-08 Ulrich Drepper <drepper@gmail.com>
25571
25572 [BZ #12194]
25573 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
25574 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25575
ff02d528
L
255762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
25577
25578 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
25579 IFUNC support.
25580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25581 memset-x86-64.
25582 * sysdeps/x86_64/multiarch/bzero.S: New file.
25583 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
25584 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
25585 * sysdeps/x86_64/multiarch/memset.S: New file.
25586 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
25587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25588 Set bit_Prefer_SSE_for_memop for Intel processors.
25589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
25590 Define.
25591 (index_Prefer_SSE_for_memop): Define.
25592 (HAS_PREFER_SSE_FOR_MEMOP): Define.
25593
344d0b54
LM
255942010-11-04 Luis Machado <luisgpm@br.ibm.com>
25595
25596 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
25597 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
25598
c0dde15b
UD
255992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
25600
25601 [BZ #12191]
25602 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25603 (__x86_64_raw_data_cache_size_half): Likewise.
25604 (__x86_64_raw_shared_cache_size): Likewise.
25605 (__x86_64_raw_shared_cache_size_half): Likewise.
25606
25607 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
25608 (__x86_64_raw_data_cache_size_half): Likewise.
25609 (__x86_64_raw_shared_cache_size): Likewise.
25610 (__x86_64_raw_shared_cache_size_half): Likewise.
25611 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
25612 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
25613 and __x86_64_raw_shared_cache_size_half. Round
25614 __x86_64_data_cache_size_half, __x86_64_data_cache_size
25615 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
25616 to multiple of 256 bytes.
25617
0e516e0e
MS
256182010-11-03 Ulrich Drepper <drepper@gmail.com>
25619
25620 [BZ #12167]
25621 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
25622 of inacessible symlinks. Verify result of symlink before returning it.
25623 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
25624 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
25625
0e012e87
ER
256262010-10-28 Erich Ritz <erichritz@gmail.com>
25627
25628 * math/math.h (isinf): Fix typo in comment.
25629
de0ff7bc
UD
256302010-11-01 Ulrich Drepper <drepper@gmail.com>
25631
25632 * po/da.po: Update from translation team.
25633
fa41c84d
UD
256342010-10-26 Ulrich Drepper <drepper@gmail.com>
25635
25636 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
25637 is added to the list.
25638
f0967738
AK
256392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25640 Ulrich Drepper <drepper@gmail.com>
25641
25642 * elf/dl-object.c (_dl_new_object): Don't append the new object to
25643 the global list here. Move code to...
25644 (_dl_add_to_namespace_list): ...here. New function.
25645 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
25646 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
25647 * elf/dl-load.c (lose): Don't remove the element from the list.
25648 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
25649 (_dl_map_object): Likewise.
25650
256512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
25652
25653 [BZ #12159]
25654 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
25655 into all bytes of SSE register.
25656 Patch by Richard Li <richardpku@gmail.com>.
25657
f0967738 256582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
25659
25660 [BZ #12140]
25661 * malloc/malloc.c (_int_free): Fill correct number of bytes when
25662 perturbing.
25663
d0b9e94f
MB
256642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
25665
25666 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
25667 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
25668 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
25669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
25671 submachine.
25672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
25673
8e9f92e9
AS
256742010-10-22 Andreas Schwab <schwab@redhat.com>
25675
25676 * include/dlfcn.h (__RTLD_SECURE): Define.
25677 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
25678 mode & __RTLD_SECURE instead.
25679 (open_path): Rename preloaded parameter to secure.
25680 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
25681 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
25682 * elf/dl-deps.c (openaux): Likewise.
25683 * elf/rtld.c (struct map_args): Remove is_preloaded.
25684 (map_doit): Don't use it.
25685 (dl_main): Likewise.
25686 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
25687 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
25688
bc96fbda
AS
256892010-09-09 Andreas Schwab <schwab@redhat.com>
25690
25691 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
25692 (sysd-rules-targets): Remove duplicates.
25693 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
25694 rtld-%.$o dependency.
25695
22cd1c9b
AS
256962010-10-18 Andreas Schwab <schwab@redhat.com>
25697
25698 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
25699 _dl_map_object do it.
25700
18edac48
UD
257012010-10-19 Ulrich Drepper <drepper@gmail.com>
25702
25703 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
25704 fast fma builtins, define the macros in the C99 standard.
25705 (FP_FAST_FMAF): Likewise.
25706 (FP_FAST_FMAL): Likewise.
25707 * sysdeps/x86_64/bits/mathdef.h: Likewise.
25708
25709 * bits/mathdef.h: Update copyright year.
25710 * sysdeps/powerpc/bits/mathdef.h: Likewise.
25711
d2050124
MM
257122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
25713
25714 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
25715 builtins, define the macros in the C99 standard.
25716 (FP_FAST_FMAF): Likewise.
25717 (FP_FAST_FMAL): Likewise.
25718 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
25719 multiply/add.
25720 (FP_FAST_FMAF): Likewise.
25721
475facd1
JJ
257222010-10-15 Jakub Jelinek <jakub@redhat.com>
25723
25724 [BZ #3268]
25725 * math/libm-test.inc (fma_test): Some new testcases.
25726 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
25727 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
25728 y and infinite z. Do multiplication by C already in long double.
25729 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
25730 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
25731 y and infinite z. Do bitwise or of inexact bit into u.d.
25732 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
25733 * sysdeps/i386/fpu/s_fmaf.S: Removed.
25734 * sysdeps/i386/fpu/s_fma.S: Removed.
25735 * sysdeps/i386/fpu/s_fmal.S: Removed.
25736
7c08a05c
JJ
257372010-10-16 Jakub Jelinek <jakub@redhat.com>
25738
25739 [BZ #3268]
25740 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
25741 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
25742 computation is not scheduled after fetestexcept. Fix value
25743 of minimum denormal long double.
25744
f3f7372d
JJ
257452010-10-14 Jakub Jelinek <jakub@redhat.com>
25746
25747 [BZ #3268]
25748 * math/libm-test.inc (fma_test): Add some more tests.
25749 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
25750 correctly.
25751
14d43591
AS
257522010-10-15 Andreas Schwab <schwab@redhat.com>
25753
25754 * scripts/data/localplt-s390-linux-gnu.data: New file.
25755 * scripts/data/localplt-s390x-linux-gnu.data: New file.
25756
5e908464
JJ
257572010-10-13 Jakub Jelinek <jakub@redhat.com>
25758
25759 [BZ #3268]
25760 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
25761 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
25762 instead of dbl-64.
25763 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
25764 inlines.
25765 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
25766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
25767 if one of x and y is very large and the other is subnormal.
25768 * sysdeps/s390/fpu/s_fmaf.c: New file.
25769 * sysdeps/s390/fpu/s_fma.c: New file.
25770 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
25771 * sysdeps/powerpc/fpu/s_fma.S: New file.
25772 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
25773 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
25774 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
25775
257762010-10-12 Jakub Jelinek <jakub@redhat.com>
25777
25778 [BZ #3268]
25779 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
25780 fma tests.
25781 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
25782 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
25783 * sysdeps/i386/i686/multiarch/s_fma.c: Include
25784 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
25785 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
25786 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
25787 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
25788
b833d51f
UD
257892010-10-12 Ulrich Drepper <drepper@redhat.com>
25790
25791 [BZ #12078]
25792 * posix/regcomp.c (parse_branch): One more memory leak plugged.
25793 * posix/bug-regex31.input: Add test case.
25794
1751705d
UD
257952010-10-11 Ulrich Drepper <drepper@gmail.com>
25796
e9b9cbf5
UD
25797 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
25798 * posix/bug-regex31.input: New file.
25799
25800 [BZ #12078]
25801 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
25802 (parse_sub_exp): Fix last change, use postorder.
25803
ef06edbe
UD
25804 * posix/bug-regex31.c: New file.
25805 * posix/Makefile: Add rules to build and run bug-regex31.
25806
a129c80d
UD
25807 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
25808
25809 [BZ #12078]
25810 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
25811
b76b818e
UD
25812 [BZ #12108]
25813 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
25814 to have entries in sys_siglist.
25815
1751705d
UD
25816 [BZ #12093]
25817 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
25818 be NULL.
25819
9ff8d36f
JJ
258202010-10-07 Jakub Jelinek <jakub@redhat.com>
25821
25822 [BZ #3268]
25823 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
25824 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
25825 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
25826 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
25827 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
25828 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
25829 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
25830 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
25831 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
25832 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
25833 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
25834 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
25835 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
25836 * math/ftestexcept.c (fetestexcept): Likewise.
25837 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
25838 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
25839 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25840 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
25841 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
25842 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
25843 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25844
af325969
UD
258452010-10-11 Ulrich Drepper <drepper@gmail.com>
25846
c579b202 25847 [BZ #12107]
af325969
UD
25848 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
25849 newline.
25850
67a67b95
UD
258512010-10-06 Ulrich Drepper <drepper@gmail.com>
25852
25853 * string/bug-strstr1.c: New file.
25854 * string/Makefile: Add rules to build and run bug-strstr1.
25855
5fb308bc
EB
258562010-10-05 Eric Blake <eblake@redhat.com>
25857
25858 [BZ #12092]
25859 * string/str-two-way.h (two_way_long_needle): Always clear memory
25860 when skipping input due to the shift table.
25861
45db99c7
UD
258622010-10-03 Ulrich Drepper <drepper@gmail.com>
25863
3b111893
UD
25864 [BZ #12005]
25865 * malloc/mcheck.c: Handle large requests.
25866
45db99c7
UD
25867 [BZ #12077]
25868 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
25869 for strncmp and strncasecmp.
25870 * string/stratcliff.c: Add tests for strcmp and strncmp.
25871 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
25872
cf7a1eb8
NI
258732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25874
25875 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
25876 __set_fpscr.
25877
6484ba5e
AJ
258782010-09-30 Andreas Jaeger <aj@suse.de>
25879
25880 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
25881 (CGROUP_SUPER_MAGIC): Define.
25882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25883 Handle btrfs and cgroup file systems.
25884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25885 Likewise.
25886
91c42559
LM
258872010-09-27 Luis Machado <luisgpm@br.ibm.com>
25888
25889 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
25890 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
25891
87a97932
AK
258922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25893
25894 [BZ #12067]
25895 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
25896 trying to locate the ELF header.
25897
c21cc9bc
AS
258982010-09-27 Andreas Schwab <schwab@redhat.com>
25899
25900 [BZ #11611]
25901 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
25902 Mask out sign-bit copies when constructing f_fsid.
25903
315970f6
PB
259042010-09-24 Petr Baudis <pasky@suse.cz>
25905
25906 * debug/stack_chk_fail_local.c: Add missing licence exception.
25907 * debug/warning-nop.c: Likewise.
25908
1ac7a2c7
JM
259092010-09-15 Joseph Myers <joseph@codesourcery.com>
25910
25911 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
25912 implementing getdents64 using getdents syscall, set d_type if
25913 __ASSUME_GETDENTS32_D_TYPE.
25914
56801c50
AS
259152010-09-16 Andreas Schwab <schwab@redhat.com>
25916
25917 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
25918 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
25919
dda51327
UD
259202010-09-21 Ulrich Drepper <drepper@redhat.com>
25921
25922 [BZ #12037]
25923 * posix/unistd.h: Undo change of feature selection for ftruncate from
25924 2010-01-11.
25925
8ffcee4a
UD
259262010-09-20 Ulrich Drepper <drepper@redhat.com>
25927
a545ecd9 25928 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
25929 detection.
25930
e24f0a8b
AS
259312010-09-20 Andreas Schwab <schwab@redhat.com>
25932
25933 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
25934 fanotify_mark.
25935 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
25936
7291c56f
AS
259372010-09-14 Andreas Schwab <schwab@redhat.com>
25938
25939 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
25940 variables after CHECK_SP call.
25941 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
25942
bc5fb037
AS
259432010-09-13 Andreas Schwab <schwab@redhat.com>
25944 Ulrich Drepper <drepper@redhat.com>
25945
25946 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
25947 re-relocationg ld.so.
25948 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
25949 _dl_init_paths call.
25950 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
25951 here anymore.
25952
e66e7419
UD
259532010-09-14 Ulrich Drepper <drepper@redhat.com>
25954
25955 * resolv/res_init.c (__res_vinit): Count the default server we added.
25956
c044aa75
CLT
259572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
25958 Ulrich Drepper <drepper@redhat.com>
25959
25960 [BZ #11968]
25961 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
25962 (____longjmp_chk): Use %ebx for saving value across system call.
25963 Add unwind info.
25964
32cf4069
AS
259652010-09-06 Andreas Schwab <schwab@redhat.com>
25966
25967 * manual/Makefile: Don't mix pattern rules with normal rules.
25968
817328ee
AS
259692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
25970
25971 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
25972 operation.
25973 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25974 * libio/iofopncook.c (_IO_cookie_init): Likewise.
25975 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25976 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25978 Likewise.
25979
29fddf61
UD
259802010-09-04 Ulrich Drepper <drepper@redhat.com>
25981
25982 [BZ #11979]
25983 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
25984 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
25985
0959ffc9
UD
259862010-09-02 Ulrich Drepper <drepper@redhat.com>
25987
25988 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
25989 * sysdeps/x86_64/addmul_1.S: Likewise.
25990 * sysdeps/x86_64/lshift.S: Likewise.
25991 * sysdeps/x86_64/mul_1.S: Likewise.
25992 * sysdeps/x86_64/rshift.S: Likewise.
25993 * sysdeps/x86_64/sub_n.S: Likewise.
25994 * sysdeps/x86_64/submul_1.S: Likewise.
25995
ece29840
ST
259962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
25997
0959ffc9
UD
25998 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
25999 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26000 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26001 * bits/sched.h [__need_schedparam]
ece29840 26002 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26003 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26004 (__defined_schedparam): Define to 1.
ece29840
ST
26005 (__sched_param): New structure, identical to sched_param.
26006 (__need_schedparam): Undefine.
26007
e53a31fe
MF
260082010-08-31 Mike Frysinger <vapier@gentoo.org>
26009
fdc0c10d
MF
26010 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26011 (epoll_create1): Declare.
26012
e53a31fe
MF
26013 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26014
a726d796
AS
260152010-08-31 Andreas Schwab <schwab@redhat.com>
26016
26017 [BZ #7066]
26018 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26019 shifting retval into place.
26020
2f3e3dc7
UD
260212010-09-01 Ulrich Drepper <drepper@redhat.com>
26022
f2933da9
UD
26023 * nis/rpcsvc/nis.h: Update copyright notice.
26024 * nis/rpcsvc/nis.x: Likewise.
26025 * nis/rpcsvc/nis_callback.h: Likewise.
26026 * nis/rpcsvc/nis_callback.x: Likewise.
26027 * nis/rpcsvc/nis_object.x: Likewise.
26028 * nis/rpcsvc/nis_tags.h: Likewise.
26029 * nis/rpcsvc/yp.h: Likewise.
26030 * nis/rpcsvc/yp.x: Likewise.
26031 * nis/rpcsvc/ypupd.h: Likewise.
26032 * nis/yp_xdr.c: Likewise.
26033 * nis/ypupdate_xdr.c: Likewise.
26034
2f3e3dc7
UD
26035 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26036 mainly the body of pmap_getport. Add parameters to specify timeouts.
26037 (pmap_getport): Use __libc_rpc_getport.
26038 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26039 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26040 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26041
f3dcc2f9
AS
260422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26043
26044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26045 fanotify_mark.
26046
6d34eb5b
RM
260472010-08-27 Roland McGrath <roland@redhat.com>
26048
26049 * sysdeps/i386/i686/multiarch/Makefile
26050 (CFLAGS-varshift.c): New variable.
26051
9ea3de11
UD
260522010-08-27 Ulrich Drepper <drepper@redhat.com>
26053
c96d23fc
UD
26054 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26055 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26056
9ea3de11
UD
26057 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26058
26059 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26060
623aac7f
L
260612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26062
26063 * sysdeps/x86_64/strlen.S: Unroll the loop.
26064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26065 strlen-sse2 strlen-sse2-bsf.
26066 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26067 __strlen_no_bsf if bit_Slow_BSF is set.
26068 (__strlen_sse42): Removed.
26069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26070 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26071
8b2b7715
RM
260722010-08-25 Roland McGrath <roland@redhat.com>
26073
26074 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26075 * sysdeps/x86_64/multiarch/varshift.c: New file.
26076 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26077 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26078 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26079 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26080
e73015f2
L
260812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26082
26083 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26084 strlen-sse2 strlen-sse2-bsf.
26085 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26086 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26087 (__strlen_sse2): Removed.
26088 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26089 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26091 bit_Slow_BSF for Atom.
26092 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26093 (index_Slow_BSF): Define.
26094 (HAS_SLOW_BSF): Define.
26095
df24a73e
UD
260962010-08-25 Ulrich Drepper <drepper@redhat.com>
26097
26098 [BZ #10851]
26099 * resolv/res_init.c (__res_vinit): When no server address at all
26100 is given default to loopback.
26101
f2ac4868
RM
261022010-08-24 Roland McGrath <roland@redhat.com>
26103
09055553
RM
26104 * configure.in: Remove config-name.h generation.
26105 * configure: Regenerated.
26106 * config-name.in: File removed.
26107 * scripts/config-uname.sh: New file.
26108 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26109 ($(objdir)config-name.h): New target.
26110
f2ac4868
RM
26111 * sunrpc/rpc_parse.h: Avoid nested comment.
26112
73f27d5e
RH
261132010-08-24 Richard Henderson <rth@redhat.com>
26114 Ulrich Drepper <drepper@redhat.com>
26115 H.J. Lu <hongjiu.lu@intel.com>
26116
26117 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26119 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26120 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26121 _mm_alignr_epi8 with _mm_loadu_si128.
26122 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26123 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26124 (__m128i_shift_right): Removed.
26125 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26126 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26127 * sysdeps/x86_64/multiarch/varshift.h: New file.
26128 * sysdeps/x86_64/multiarch/varshift.S: New file.
26129
84b9230c
MF
261302010-08-21 Mike Frysinger <vapier@gentoo.org>
26131
26132 * configure.in: Move assembler checks to before sysdep dir checking.
26133
9bbd0ddc
PB
261342010-08-20 Petr Baudis <pasky@suse.cz>
26135
26136 * LICENSES: Sync the sunrpc license.
26137
9da4bb31
UD
261382010-08-19 Ulrich Drepper <drepper@redhat.com>
26139
a7ab6ec8
UD
26140 * sunrpc/auth_des.c: Update copyright notice once again.
26141 * sunrpc/auth_none.c: Likewise.
26142 * sunrpc/auth_unix.c: Likewise.
26143 * sunrpc/authdes_prot.c: Likewise.
26144 * sunrpc/authuxprot.c: Likewise.
26145 * sunrpc/bindrsvprt.c: Likewise.
26146 * sunrpc/clnt_gen.c: Likewise.
26147 * sunrpc/clnt_perr.c: Likewise.
26148 * sunrpc/clnt_raw.c: Likewise.
26149 * sunrpc/clnt_simp.c: Likewise.
26150 * sunrpc/clnt_tcp.c: Likewise.
26151 * sunrpc/clnt_udp.c: Likewise.
26152 * sunrpc/clnt_unix.c: Likewise.
26153 * sunrpc/des_crypt.c: Likewise.
26154 * sunrpc/des_soft.c: Likewise.
26155 * sunrpc/get_myaddr.c: Likewise.
26156 * sunrpc/getrpcport.c: Likewise.
26157 * sunrpc/key_call.c: Likewise.
26158 * sunrpc/key_prot.c: Likewise.
26159 * sunrpc/openchild.c: Likewise.
26160 * sunrpc/pm_getmaps.c: Likewise.
26161 * sunrpc/pm_getport.c: Likewise.
26162 * sunrpc/pmap_clnt.c: Likewise.
26163 * sunrpc/pmap_prot.c: Likewise.
26164 * sunrpc/pmap_prot2.c: Likewise.
26165 * sunrpc/pmap_rmt.c: Likewise.
26166 * sunrpc/rpc/auth.h: Likewise.
26167 * sunrpc/rpc/auth_unix.h: Likewise.
26168 * sunrpc/rpc/clnt.h: Likewise.
26169 * sunrpc/rpc/des_crypt.h: Likewise.
26170 * sunrpc/rpc/key_prot.h: Likewise.
26171 * sunrpc/rpc/netdb.h: Likewise.
26172 * sunrpc/rpc/pmap_clnt.h: Likewise.
26173 * sunrpc/rpc/pmap_prot.h: Likewise.
26174 * sunrpc/rpc/pmap_rmt.h: Likewise.
26175 * sunrpc/rpc/rpc.h: Likewise.
26176 * sunrpc/rpc/rpc_des.h: Likewise.
26177 * sunrpc/rpc/rpc_msg.h: Likewise.
26178 * sunrpc/rpc/svc.h: Likewise.
26179 * sunrpc/rpc/svc_auth.h: Likewise.
26180 * sunrpc/rpc/types.h: Likewise.
26181 * sunrpc/rpc/xdr.h: Likewise.
26182 * sunrpc/rpc_clntout.c: Likewise.
26183 * sunrpc/rpc_cmsg.c: Likewise.
26184 * sunrpc/rpc_common.c: Likewise.
26185 * sunrpc/rpc_cout.c: Likewise.
26186 * sunrpc/rpc_dtable.c: Likewise.
26187 * sunrpc/rpc_hout.c: Likewise.
26188 * sunrpc/rpc_main.c: Likewise.
26189 * sunrpc/rpc_parse.c: Likewise.
26190 * sunrpc/rpc_parse.h: Likewise.
26191 * sunrpc/rpc_prot.c: Likewise.
26192 * sunrpc/rpc_sample.c: Likewise.
26193 * sunrpc/rpc_scan.c: Likewise.
26194 * sunrpc/rpc_scan.h: Likewise.
26195 * sunrpc/rpc_svcout.c: Likewise.
26196 * sunrpc/rpc_tblout.c: Likewise.
26197 * sunrpc/rpc_util.c: Likewise.
26198 * sunrpc/rpc_util.h: Likewise.
26199 * sunrpc/rpcinfo.c: Likewise.
26200 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26201 * sunrpc/rpcsvc/key_prot.x: Likewise.
26202 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26203 * sunrpc/rpcsvc/mount.x: Likewise.
26204 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26205 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26206 * sunrpc/rpcsvc/rex.x: Likewise.
26207 * sunrpc/rpcsvc/rstat.x: Likewise.
26208 * sunrpc/rpcsvc/rusers.x: Likewise.
26209 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26210 * sunrpc/rpcsvc/spray.x: Likewise.
26211 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26212 * sunrpc/rtime.c: Likewise.
26213 * sunrpc/svc.c: Likewise.
26214 * sunrpc/svc_auth.c: Likewise.
26215 * sunrpc/svc_authux.c: Likewise.
26216 * sunrpc/svc_raw.c: Likewise.
26217 * sunrpc/svc_run.c: Likewise.
26218 * sunrpc/svc_simple.c: Likewise.
26219 * sunrpc/svc_tcp.c: Likewise.
26220 * sunrpc/svc_udp.c: Likewise.
26221 * sunrpc/svc_unix.c: Likewise.
26222 * sunrpc/svcauth_des.c: Likewise.
26223 * sunrpc/xcrypt.c: Likewise.
26224 * sunrpc/xdr.c: Likewise.
26225 * sunrpc/xdr_array.c: Likewise.
26226 * sunrpc/xdr_float.c: Likewise.
26227 * sunrpc/xdr_mem.c: Likewise.
26228 * sunrpc/xdr_rec.c: Likewise.
26229 * sunrpc/xdr_ref.c: Likewise.
26230 * sunrpc/xdr_sizeof.c: Likewise.
26231 * sunrpc/xdr_stdio.c: Likewise.
26232
9da4bb31
UD
26233 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26234 handling.
26235
bdaa77bc
AS
262362010-08-19 Andreas Schwab <schwab@redhat.com>
26237
26238 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26239
fe2f79db
LM
262402010-08-19 Luis Machado <luisgpm@br.ibm.com>
26241
26242 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26243 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26244 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26245 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26246 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26247 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26248 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26249 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26250 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26251 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26252 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26253 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26254 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26255 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26256
b9b42ee0
AB
262572010-07-26 Anton Blanchard <anton@samba.org>
26258
26259 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26260 * malloc/arena.c (heap_trim): Likewise.
26261
1c06ba31
UD
262622010-08-16 Ulrich Drepper <drepper@redhat.com>
26263
26264 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26265 here. Not...
26266 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26267 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26268
f8392f40
L
262692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26270
26271 * sysdeps/i386/elf/Makefile: New file.
26272
3162f12e
AS
262732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26274
26275 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26276 from fanotify_init.
26277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26278 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26279
28c90b2c
UD
262802010-08-15 Ulrich Drepper <drepper@redhat.com>
26281
26282 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26283 of strncasecmp_l.
1feccb6c 26284 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26285
ca6bb004
UD
262862010-08-14 Ulrich Drepper <drepper@redhat.com>
26287
e9f82e0d
UD
26288 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26289 strncase_l-nonascii.
26290 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26291 Add strncase_l-ssse3.
26292 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26293 * sysdeps/x86_64/strcmp.S: Likewise.
26294 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26295 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26296 * sysdeps/x86_64/strncase.S: New file.
26297 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26298 * sysdeps/x86_64/strncase_l.S: New file.
26299 * string/Makefile (strop-tests): Add strncasecmp.
26300 * string/test-strncasecmp.c: New file.
26301
26302 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26303 warning.
26304
ca6bb004
UD
26305 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26306 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26307
052fa7b3
AS
263082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26309
26310 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26311
962dba78
UD
263122010-08-12 Ulrich Drepper <drepper@redhat.com>
26313
26314 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26315 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26316 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26317
bebff237
AM
263182010-05-01 Alan Modra <amodra@gmail.com>
26319
26320 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26321 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26322 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26323 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26324 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26325 tidying. Don't tail-call __sigjmp_save for static lib.
26326 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26327 save location.
26328 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26329 (CALL_MCOUNT): Add eh info, and nop after bl.
26330 (TAIL_CALL_SYSCALL_ERROR): New macro.
26331 (PSEUDO_RET): Use it.
26332 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26333 Correct save location of integer regs and cr.
26334 (_dl_profile_resolve): Correct cr save location. Delete nops
26335 after bl when SHARED. Reduce cfi size a little by better
26336 placement of cfi directives.
26337 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26338 make a stack frame. Instead use parm save area as a temp.
26339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26340 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26342 Don't make a stack frame for parent, use parm save area.
26343 Increase child stack frame to 112 bytes. Don't save unused reg,
26344 and adjust reg usage. Set up cfi on error recovery and
26345 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26347 (__makecontext): Add dummy nop after jump to exit.
26348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26349 Use correct parm save area and cr save, reduce stack frame.
26350 Correct cfi for possible PSEUDO_RET frame setup.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26352 Branch to local label emitted by PSEUDO_RET rather than
26353 __syscall_error.
26354
02637374
AS
263552010-08-12 Andreas Schwab <schwab@redhat.com>
26356
26357 [BZ #11904]
26358 * locale/programs/locale.c (print_assignment): New function.
26359 (show_locale_vars): Use it.
26360
c3e2f19b
UD
263612010-08-11 Ulrich Drepper <drepper@redhat.com>
26362
3cdaa6ad
UD
26363 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
26364 field.
26365 (struct statfs64): Likewise.
26366 (_STATFS_F_FLAGS): Define.
26367 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
26368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26369 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
26370 (ST_VALID): Define locally.
26371 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
26372 __statvfs_getflags, use the provided value.
26373 * sysdeps/unix/sysv/linux/kernel-features.h: Define
26374 __ASSUME_STATFS_F_FLAGS.
26375
754f7da3
UD
26376 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
26377
10b3bedc
UD
26378 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
26379 Add sys/fanotify.h.
26380 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
26381 fanotify_mask for GLIBC_2.13.
26382 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
26383 fanotify_init and fanotify_mark.
26384 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26385 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
26386
c08fb0d7
UD
26387 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
26388 Add prlimit.
26389 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
26390 prlimit64 for GLIBC_2.13.
26391 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
26392 prlimit64.
26393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
26394 syscall.
26395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
26396 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26397 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
26398 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
26399 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
26400 add prlimit alias.
26401 * sysdeps/unix/sysv/linux/prlimit.c: New file.
26402
15bac72b
UD
26403 [BZ #11903]
26404 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
26405 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
26406
c3e2f19b
UD
26407 * nss/Makefile: Add rules to build and run tst-nss-test1.
26408 * shlib-versions: Add entry for libnss_test1.
26409 * nss/nss_test1.c: New file.
26410 * nss/tst-nss-test1.c: New file.
26411
26412 * nss/nsswitch.c (__nss_database_custom): Define new variable.
26413 (__nss_configure_lookup): Set appropriate entry in
26414 __nss_configure_lookup to true.
26415 * nss/nsswitch.h: Define enum with indeces of databases in
26416 databases and __nss_database_custom arrays. Declare
26417 __nss_database_custom.
26418 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
26419 to avoid using nscd when custom rules are installed.
26420 * nss/getXXbyYY_r.c: Likewise.
26421 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26422
26423 * nss/nss_files/files-parse.c: Whitespace fixes.
26424
f15ce4d8
UD
264252010-08-09 Ulrich Drepper <drepper@redhat.com>
26426
26427 [BZ #11883]
26428 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
26429 * posix/fnmatch_loop.c: Likewise.
26430
d22e4cc9
AK
264312010-07-17 Andi Kleen <ak@linux.intel.com>
26432
26433 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
26434 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
26435 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
26436 * Versions.def [GLIBC_2.13]: Add.
26437
805bc17d
UD
264382010-08-06 Ulrich Drepper <drepper@redhat.com>
26439
26440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26441 Also fail if tpwd after pwuid call is NULL.
26442
5a42321d
ST
264432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
26444
26445 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
26446 when converting to ms.
26447
fd3ebeda
ST
264482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
26449
26450 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
26451 EOPNOTSUPP errors with ENOTTY.
26452 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
26453 EOPNOTSUPP errors with ENOTTY.
26454
73507d3a
UD
264552010-07-31 Ulrich Drepper <drepper@redhat.com>
26456
26457 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26458 Add strcasecmp_l-ssse3.
26459 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
26460 strcasecmp.
26461 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
26462 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
26463 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
26464
fe36dd02
UD
264652010-07-30 Ulrich Drepper <drepper@redhat.com>
26466
66f6765a
UD
26467 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
26468
42e08a54
UD
26469 * string/Makefile (strop-tests): Add strcasecmp.
26470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26471 strcasecmp_l-nonascii.
26472 (gen-as-const-headers): Add locale-defines.sym.
26473 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
26474 * sysdeps/x86_64/strcasecmp.S: New file.
26475 * sysdeps/x86_64/strcasecmp_l.S: New file.
26476 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
26477 * sysdeps/x86_64/locale-defines.sym: New file.
26478 * string/test-strcasecmp.c: New file.
26479
fe36dd02
UD
26480 * string/test-strcasestr.c: Test both ends of the range of characters.
26481 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
26482
48cbc0d6
RM
264832010-07-29 Roland McGrath <roland@redhat.com>
26484
76e6d6bc 26485 [BZ #11856]
48cbc0d6
RM
26486 * manual/locale.texi (Yes-or-No Questions): Fix example code.
26487
880113d9
UD
264882010-07-27 Ulrich Drepper <drepper@redhat.com>
26489
26490 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
26491 for ld.so.
26492
deb9cabb
AS
264932010-07-27 Andreas Schwab <schwab@redhat.com>
26494
26495 * manual/memory.texi (Malloc Tunable Parameters): Document
26496 M_PERTURB.
26497
1c7570ff
RM
264982010-07-26 Roland McGrath <roland@redhat.com>
26499
26500 [BZ #11840]
26501 * configure.in (-fgnu89-inline check): Set and substitute
26502 gnu89_inline, not libc_cv_gnu89_inline.
26503 * configure: Regenerated.
26504 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
26505
24fb0f88
UD
265062010-07-26 Ulrich Drepper <drepper@redhat.com>
26507
26508 * string/test-strnlen.c: New file.
26509 * string/Makefile (strop-tests): Add strnlen.
26510 * string/tester.c (test_strnlen): Add a few more test cases.
26511 * string/tst-strlen.c: Better error reporting.
26512
26513 * sysdeps/x86_64/strnlen.S: New file.
26514
8e96b93a
UD
265152010-07-24 Ulrich Drepper <drepper@redhat.com>
26516
26517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
26518 lower-latency instructions.
26519
dbc676d4
UD
265202010-07-23 Ulrich Drepper <drepper@redhat.com>
26521
26522 * string/test-strcasestr.c: New file.
26523 * string/test-strstr.c: New file.
26524 * string/Makefile (strop-tests): Add strstr and strcasestr.
26525 * string/str-two-way.h: Don't undefine MAX.
26526 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
26527
f6a31e0e
AS
265282010-07-21 Andreas Schwab <schwab@redhat.com>
26529
26530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26531 strcasestr-nonascii.
26532 (CFLAGS-strcasestr-nonascii.c): Define.
26533 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
26534 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
26535 Remove unused attribute.
26536
5dbc3b6c
RM
265372010-07-20 Roland McGrath <roland@redhat.com>
26538
26539 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
26540 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
26541 ld.so.cache was broken. With it, there is no way to disable dsocaps
26542 like LD_HWCAP_MASK can disable hwcaps.
26543
23d101d8
EPM
265442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26545
26546 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
26547
cc9f2e47
UD
265482010-07-16 Ulrich Drepper <drepper@redhat.com>
26549
26550 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
26551 call in strcasestr.
26552 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
26553 __strcasestr_sse42_nonascii.
26554 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
26555 strcasestr-nonascii.c.
26556 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
26557
77c1b069
LM
265582010-06-15 Luis Machado <luisgpm@br.ibm.com>
26559
26560 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
26561 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
26562 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
26563 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
26564
440566c3
UD
265652010-07-09 Ulrich Drepper <drepper@redhat.com>
26566
26567 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
26568 fcntl.
26569
5be9d05d
AS
265702010-07-06 Andreas Schwab <schwab@redhat.com>
26571
c30b7ee2 26572 [BZ #11577]
5be9d05d
AS
26573 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
26574 dl_signal_cerror.
26575
8a492a67
UD
265762010-07-06 Ulrich Drepper <drepper@redhat.com>
26577
26578 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
26579 _PC_PIPE_BUF using F_GETPIPE_SZ.
26580
713df3d5
RM
265812010-07-05 Roland McGrath <roland@redhat.com>
26582
26583 * manual/arith.texi (Rounding Functions): Fix rint description
26584 implicit in round description.
26585
702e8f14
UD
265862010-07-02 Ulrich Drepper <drepper@redhat.com>
26587
26588 * elf/Makefile: Fix linking for a few tests to make recent linker
26589 happy.
26590
52ed8be9
AS
265912010-06-30 Andreas Schwab <schwab@redhat.com>
26592
26593 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
26594 $(common-objpfx)libc_nonshared.a.
26595
f47c9a11
LM
265962010-06-21 Luis Machado <luisgpm@br.ibm.com>
26597
26598 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
26599 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
26600 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26601 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26602 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
26603 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
26604 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26605 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
26607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
26608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
26609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
26610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
26611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
26612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
26613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
26614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
26615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
26616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
26617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
26618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
26619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
26620 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
26621 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
26622 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
26623 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
26624 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
26625 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
26626 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
26627 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
26628 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
26629 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
26630 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
26631 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
26632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
26633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
26634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
26635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
26636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
26637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
26638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
26639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
26640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
26641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
26642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
26643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
26644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
26645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
26646
6fb8cbcb
L
266472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
26648
26649 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
26650 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
26651 * string/memmove.c (memmove): Renamed to ...
26652 (MEMMOVE): ...this. Default to memmove.
26653 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
26654 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
26655 (END_CHK): Define.
26656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26657 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
26658 mempcpy-ssse3-back memmove-ssse3-back.
26659 * sysdeps/x86_64/multiarch/bcopy.S: New file .
26660 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
26661 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
26662 * sysdeps/x86_64/multiarch/memcpy.S: New file.
26663 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
26664 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
26665 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
26666 * sysdeps/x86_64/multiarch/memmove.c: New file.
26667 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
26668 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
26669 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
26670 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
26671 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
26672 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
26673 Define.
26674 (index_Fast_Copy_Backward): Define.
26675 (HAS_ARCH_FEATURE): Define.
26676 (HAS_FAST_REP_STRING): Define.
26677 (HAS_FAST_COPY_BACKWARD): Define.
26678
4e733bac 266792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
26680
26681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
26682 Restore proper fallback handling.
26683
63c4ed22
UD
266842010-06-19 Ulrich Drepper <drepper@redhat.com>
26685
ac2b484c
UD
26686 [BZ #11701]
26687 * posix/group_member.c (__group_member): Correct checking loop.
26688
63c4ed22
UD
26689 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
26690 OOM in getpwuid_r correctly. Return error number when the caller
26691 should return, otherwise -1.
26692 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
26693 call returning > 0 value.
26694 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
26695
765ade4b
AS
266962010-06-07 Andreas Schwab <schwab@redhat.com>
26697
26698 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
26699 libc_nonshared.a from targets in modules-names.
26700
80da2e09
KS
267012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
26702
26703 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
26704 requires it.
26705
158db122
LM
267062010-06-10 Luis Machado <luisgpm@br.ibm.com>
26707
26708 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
26709 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
26710 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
26711 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
26712
caa78cf8
AS
267132010-06-02 Andreas Schwab <schwab@redhat.com>
26714
26715 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
26716
b2ef2c01
UD
267172010-06-14 Ulrich Drepper <drepper@redhat.com>
26718
26719 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
26720 and F_GETPIPE_SZ.
26721 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
26722 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
26723 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26725 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
26726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
26727
fbd643b6
RM
267282010-06-14 Roland McGrath <roland@redhat.com>
26729
26730 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
26731
f32f2869
JJ
267322010-06-07 Jakub Jelinek <jakub@redhat.com>
26733
26734 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
26735 __REDIRECT followed by __THROW.
26736 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
26737 * posix/getopt.h (getopt): Likewise.
26738
2a50c078
EPM
267392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
26740
26741 * hurd/lookup-at.c (__file_name_lookup_at): Accept
26742 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
26743 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
26744 in AT_FLAGS.
26745 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
26746 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
26747
eb5ad2eb
LM
267482010-05-28 Luis Machado <luisgpm@br.ibm.com>
26749
26750 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
26751
3c88fe1e
L
267522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
26753
26754 [BZ #11640]
26755 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26756 Properly check family and model.
26757
d2f73151
TY
267582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
26759
26760 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
26761
ebd2e13d
LM
267622010-05-24 Luis Machado <luisgpm@br.ibm.com>
26763
26764 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
26765
b32b8b45
UD
267662010-05-21 Ulrich Drepper <drepper@redhat.com>
26767
26768 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
26769 symbol reference.
26770
9acbe24d
AS
267712010-05-19 Andreas Schwab <schwab@redhat.com>
26772
26773 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
26774 symbol reference.
26775
f0ccf6ea
AS
267762010-05-21 Andreas Schwab <schwab@redhat.com>
26777
3d04ff3a
AS
26778 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
26779 and internal_recvmmsg.
26780 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
26781 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
26782 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
26783 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
26784
f0ccf6ea
AS
26785 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
26786 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
26787 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
26788
5b08ac57
AS
267892010-05-20 Andreas Schwab <schwab@redhat.com>
26790
26791 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
26792
4828935d
LM
267932010-05-17 Luis Machado <luisgpm@br.ibm.com>
26794
26795 POWER7 optimizations.
26796 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
26797 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
26798
373d545e
UD
267992010-05-19 Ulrich Drepper <drepper@redhat.com>
26800
26801 * version.h: Update for 2.13 development version.
26802
21a2b1ae
AS
268032010-05-12 Andrew Stubbs <ams@codesourcery.com>
26804
26805 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
26806 exceptions. Return 0.
26807
3f7dcb2b
RM
268082010-05-07 Roland McGrath <roland@redhat.com>
26809
26810 * elf/ldconfig.c (main): Add a const.
26811
5f24d53a 268122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 26813
a160f8d8
UD
26814 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
26815 (args_options): Add no-idn option.
26816 (ahosts_keys_int): Add idn_flags to ai_flags.
26817 (parse_option): Handle 'i' option to clear idn_flags.
26818
5f24d53a
UD
26819 * malloc/malloc.c (_int_free): Possible race in the most recently
26820 added check. Only act on the data if no current modification
26821 happened.
265bb1ce
UD
26822
26823See ChangeLog.17 for earlier changes.
This page took 3.702649 seconds and 5 git commands to generate.