]> sourceware.org Git - glibc.git/blob - ChangeLog
Add bits/sysctl.h to sysdep_headers
[glibc.git] / ChangeLog
1 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
2
3 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4 bits/sysctl.h.
5
6 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7
8 [BZ #14117]
9 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
10 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11
12 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
13 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
14 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18
19 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
21 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
22
23 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24 with __addr.
25 (insw): Likewise.
26 (insl): Likewise.
27 (outsb): Likewise.
28 (outsw): Likewise.
29 (outsl): Likewise.
30
31 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
32 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
34
35 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41
42 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44
45 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
46 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
47
48 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
51
52 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
53 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
54 to ...
55 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
56
57 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
58 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
60
61 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62 for x86-64.
63 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
64
65 2012-05-31 Joseph Myers <joseph@codesourcery.com>
66
67 * math/math.h (M_El): Use two more decimal places.
68 (M_LOG2El): Likewise.
69 (M_LOG10El): Likewise.
70 (M_LN2l): Likewise.
71 (M_LN10l): Likewise.
72 (M_PIl): Likewise.
73 (M_PI_2l): Likewise.
74 (M_PI_4l): Likewise.
75 (M_1_PIl): Likewise.
76 (M_2_PIl): Likewise.
77 (M_2_SQRTPIl): Likewise.
78 (M_SQRT2l): Likewise.
79 (M_SQRT1_2l): Likewise.
80
81 2012-05-31 David S. Miller <davem@davemloft.net>
82
83 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
84 values between float registers.
85 * sysdeps/sparc/sparc64/memset.S: Likewise.
86 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
87
88 2012-05-31 Mike Frysinger <vapier@gentoo.org>
89
90 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
91 -D_FORTIFY_SOURCE=1.
92 (CPPFLAGS-tst-longjmp_chk.c): Define.
93 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
94 (CPPFLAGS-tst-longjmp_chk2.c): Define.
95 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
96 CFLAGS-tst-wchar-h.c.
97
98 2012-05-31 Marek Polacek <polacek@redhat.com>
99
100 [BZ #14132]
101 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
102 __endmntent_internal): Remove declaration.
103 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
104 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
105 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
106
107 2012-05-30 David S. Miller <davem@davemloft.net>
108
109 * sysdeps/sparc/sparc32/soft-fp/q_util.c
110 (___Q_simulate_exceptions): Use real FP ops rather than writing
111 into the %fsr.
112 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
113 Likewise.
114
115 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
116
117 [BZ #14117]
118 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
119 * sysdeps/x86/bits/xtitypes.h: This.
120
121 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
122 * sysdeps/x86/bits/wordsize.h: This.
123
124 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
125 * sysdeps/x86/bits/huge_vall.h: This.
126
127 * sysdeps/i386/bits/select.h: Removed.
128 * sysdeps/x86_64/bits/select.h: Renamed to ...
129 * sysdeps/x86/bits/select.h: This.
130
131 * sysdeps/i386/bits/setjmp.h: Removed.
132 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
133 * sysdeps/x86/bits/setjmp.h: This.
134
135 * sysdeps/i386/bits/mathdef.h: Removed.
136 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
137 * sysdeps/x86/bits/mathdef.h: This.
138
139 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
140
141 [BZ #14132]
142 * include/sys/socket.h (__connect_internal)
143 (__libc_sa_len_internal): Remove declaration.
144 (__connect, __libc_sa_len): Declare hidden_proto.
145 (SA_LEN): Remove use of INTUSE.
146 * socket/connect.c: Add libc_hidden_def.
147 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
148 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
149 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
150 alias.
151 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
152 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
153 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
154 of adding _internal alias.
155
156 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
157
158 [BZ #14117]
159 * sysdeps/i386/bits/link.h: Removed.
160 * sysdeps/i386/bits/linkmap.h: Likewise.
161 * sysdeps/x86_64/bits/link.h: Renamed to ...
162 * sysdeps/x86/bits/link.h: This.
163 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
164 * sysdeps/x86/bits/linkmap.h: This.
165
166 * sysdeps/i386/bits/endian.h: Removed.
167 * sysdeps/x86_64/bits/endian.h: Renamed to ...
168 * sysdeps/x86/bits/endian.h: This.
169
170 * sysdeps/i386/bits/byteswap.h: Removed.
171 * sysdeps/i386/bits/byteswap-16.h: Likewise.
172 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
173 * sysdeps/x86/bits/byteswap.h: This.
174 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
175 * sysdeps/x86/bits/byteswap-16.h: This.
176 * sysdeps/i386/Implies: Add x86.
177 * sysdeps/x86_64/Implies: Likewise.
178
179 2012-05-30 David S. Miller <davem@davemloft.net>
180
181 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
182 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
183 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
184 (FP_TRAPPING_EXCEPTIONS): Define.
185 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
186 (FP_TRAPPING_EXCEPTIONS): Define.
187 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
188 subnormals only when inexact has been signalled or underflow
189 exceptions are enabled.
190 (_FP_PACK_CANONICAL): Likewise.
191
192 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
193
194 [BZ #14183]
195 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
196 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
197
198 2012-05-30 Richard Henderson <rth@twiddle.net>
199
200 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
201 with #ifndef NOT_IN_libc.
202
203 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
204 marked to avoid plt entry.
205
206 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
207
208 [BZ #14112]
209 * Makeconfig (default-abi): New macro.
210 (abi-includes): Likewise.
211 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
212 $(abi-$(default-abi)-lib-soname) for soname if defined.
213 ($(common-objpfx)gnu/lib-names.stmp): Generate from
214 abi-variants.
215 * Makefile (installed-stubs): Likewise.
216 * include/stubs-biarch.h: Removed.
217 * scripts/lib-names.awk: Only handle one library at a time.
218 * scripts/soversions.awk: Remove WORDSIZE support.
219 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
220 entries.
221 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
222 Removed.
223 (syscall-list-default-condition): Likewise.
224 (syscall-list-default-condition): Likewise.
225 (syscall-list-includes): Likewise.
226 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
227 syscall-list-* with abi-*. Handle undefined abi-variants.
228 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
229 * sysdeps/unix/sysv/linux/i386/Implies: New file.
230 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
231 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
232 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
233 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
234 Removed.
235 (syscall-list-32-options): Likewise.
236 (syscall-list-32-condition): Likewise.
237 (syscall-list-64-options): Likewise.
238 (syscall-list-64-condition): Likewise.
239 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
240 macro.
241 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
242 Renamed to ...
243 (abi-*): This.
244 (abi-64-ld-soname): New macro.
245 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
246 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
247 Renamed to ...
248 (abi-*): This.
249 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
250 * sysdeps/x86_64/x32/shlib-versions: Likewise.
251
252 2012-05-30 Joseph Myers <joseph@codesourcery.com>
253
254 * sysdeps/unix/sysv/linux/kernel-features.h
255 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
256 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
257 include <kernel-features.h>.
258 [!__NR_ftruncate64]: Remove conditional code.
259 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
260 [__NR_ftruncate64]: Make code unconditional.
261 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
262 * sysdeps/unix/sysv/linux/truncate64.c: Do not
263 include <kernel-features.h>.
264 [!__NR_ftruncate64]: Remove conditional code.
265 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
266 [__NR_ftruncate64]: Make code unconditional.
267 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
269 include <kernel-features.h>.
270 [!__NR_ftruncate64]: Remove conditional code.
271 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
272 [__NR_ftruncate64]: Make code unconditional.
273 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
275 include <kernel-features.h>.
276 [!__NR_ftruncate64]: Remove conditional code.
277 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
278 [__NR_ftruncate64]: Make code unconditional.
279 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
280
281 * configure.in (libc_cv_fpie): Weaken to a compile test using
282 LIBC_TRY_CC_OPTION.
283 * configure: Regenerated.
284
285 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
286
287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
291 Refreshed.
292 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
293 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
294 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
295 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
296 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
297 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
298 Refreshed.
299
300 2012-05-27 David S. Miller <davem@davemloft.net>
301
302 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
303 (___Q_zero): New.
304 (__Q_simulate_exceptions): Return void. Change to simulate
305 exceptions by writing into the %fsr.
306 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
307 (__Qp_handle_exceptions): Likewise.
308 (numbers): Delete.
309 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
310 __Qp_handle_exceptions.
311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
312 __Qp_handle_exceptions.
313 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
314 as unused and give dummy FP_RND_NEAREST initializer.
315 (FP_INHIBIT_RESULTS): Define.
316 (___Q_simulate_exceptions): Update declaration.
317 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
318 formatting.
319 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
320 as unused and give dummy FP_RND_NEAREST initializer.
321 (__Qp_handle_exceptions): Update declaration.
322 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
323 formatting.
324
325 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
326
327 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
328 the temporary FPU control word.
329 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
330 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
332 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
333 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
335 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
337 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
338 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
339 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
340
341 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
342
343 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
344 fields.
345
346 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
347
348 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
349 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
350 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
351 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
352 Likewise.
353 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
354 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
355 Likewise.
356
357 2012-05-27 Ulrich Drepper <drepper@gmail.com>
358
359 * po/h.po: Update from translation team.
360
361 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
362
363 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
364
365 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
366 handling of denormals.
367 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
368 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
369 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
370 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
371 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
373 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
374 Likewise.
375
376 2012-05-26 Marek Polacek <polacek@redhat.com>
377
378 [BZ #14152]
379 * math/libm-test.inc (fma_test): Don't always expect underflow
380 exception.
381
382 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 [BZ #12416]
385 * elf/tst-execstack.c: Include stackinfo.h.
386 (do_test): Adjust test case to ensure that pthread_getattr_np
387 behaviour remains the same after marking stack executable.
388
389 2012-05-25 Joseph Myers <joseph@codesourcery.com>
390
391 * sysdeps/unix/sysv/linux/kernel-features.h
392 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
393 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
394 kernel-features.h.
395 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
396 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
397 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
398 kernel-features.h.
399 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
400 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
401
402 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
403
404 * configure.in: Define the default includes to being none.
405 * configure: Regenerated.
406
407 2012-05-25 Roland McGrath <roland@hack.frob.com>
408
409 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
410 * sysdeps/x86_64/setjmp.S: Likewise.
411 * sysdeps/i386/bsd-setjmp.S: Likewise.
412 * sysdeps/i386/bsd-_setjmp.S: Likewise.
413 * sysdeps/i386/setjmp.S: Likewise.
414 * sysdeps/i386/__longjmp.S: Likewise.
415 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
416 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
417
418 * include/stap-probe.h: New file.
419 * configure.in: Handle --enable-systemtap.
420 * configure: Regenerated.
421 * config.h.in (USE_STAP_PROBE): New #undef.
422 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
423 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
424 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
425
426 2012-05-25 Joseph Myers <joseph@codesourcery.com>
427
428 [BZ #13717]
429 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
430 to 2.4.0 where earlier.
431 * sysdeps/unix/sysv/linux/configure: Regenerated.
432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
433 <kernel-features.h>.
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
437 <kernel-features.h>.
438 [__ASSUME_32BITUIDS]: Make code unconditional.
439 [!__ASSUME_32BITUIDS]: Remove conditional code.
440 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
441 [__ASSUME_32BITUIDS]: Make code unconditional.
442 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
443 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
444 <kernel-features.h>.
445 [__ASSUME_32BITUIDS]: Make code unconditional.
446 [!__ASSUME_32BITUIDS]: Remove conditional code.
447 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
448 <kernel-features.h>.
449 [__ASSUME_32BITUIDS]: Make code unconditional.
450 [!__ASSUME_32BITUIDS]: Remove conditional code.
451 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
452 <kernel-features.h>.
453 [__ASSUME_32BITUIDS]: Make code unconditional.
454 [!__ASSUME_32BITUIDS]: Remove conditional code.
455 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
456 <kernel-features.h>.
457 [__ASSUME_32BITUIDS]: Make code unconditional.
458 [!__ASSUME_32BITUIDS]: Remove conditional code.
459 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
460 <kernel-features.h>.
461 [__ASSUME_32BITUIDS]: Make code unconditional.
462 [!__ASSUME_32BITUIDS]: Remove conditional code.
463 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
464 <kernel-features.h>.
465 [__ASSUME_32BITUIDS]: Make code unconditional.
466 [!__ASSUME_32BITUIDS]: Remove conditional code.
467 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
468 <kernel-features.h>.
469 [__ASSUME_32BITUIDS]: Make code unconditional.
470 [!__ASSUME_32BITUIDS]: Remove conditional code.
471 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
472 <kernel-features.h>.
473 [__ASSUME_32BITUIDS]: Make code unconditional.
474 [!__ASSUME_32BITUIDS]: Remove conditional code.
475 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
476 <kernel-features.h>.
477 [__ASSUME_32BITUIDS]: Make code unconditional.
478 [!__ASSUME_32BITUIDS]: Remove conditional code.
479 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
480 <kernel-features.h>.
481 [__ASSUME_32BITUIDS]: Make code unconditional.
482 [!__ASSUME_32BITUIDS]: Remove conditional code.
483 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
484 <kernel-features.h>.
485 [__NR_setresgid] (__setresgid): Do not declare.
486 [__ASSUME_32BITUIDS]: Make code unconditional.
487 [!__ASSUME_32BITUIDS]: Remove conditional code.
488 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
489 <kernel-features.h>.
490 [__NR_setresuid] (__setresuid): Do not declare.
491 [__ASSUME_32BITUIDS]: Make code unconditional.
492 [!__ASSUME_32BITUIDS]: Remove conditional code.
493 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
494 <kernel-features.h>.
495 [__ASSUME_32BITUIDS]: Make code unconditional.
496 [!__ASSUME_32BITUIDS]: Remove conditional code.
497 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
498 <kernel-features.h>.
499 [__ASSUME_32BITUIDS]: Make code unconditional.
500 [!__ASSUME_32BITUIDS]: Remove conditional code.
501 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
502 <kernel-features.h>.
503 [__ASSUME_32BITUIDS]: Make code unconditional.
504 [!__ASSUME_32BITUIDS]: Remove conditional code.
505 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
506 <kernel-features.h>.
507 [__ASSUME_32BITUIDS]: Make code unconditional.
508 [!__ASSUME_32BITUIDS]: Remove conditional code.
509 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
510 <kernel-features.h>.
511 [__ASSUME_32BITUIDS]: Make code unconditional.
512 [!__ASSUME_32BITUIDS]: Remove conditional code.
513 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
514 <kernel-features.h>.
515 [__ASSUME_32BITUIDS]: Make code unconditional.
516 [!__ASSUME_32BITUIDS]: Remove conditional code.
517 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
518 <kernel-features.h>.
519 [__ASSUME_32BITUIDS]: Make code unconditional.
520 [!__ASSUME_32BITUIDS]: Remove conditional code.
521 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
522 <kernel-features.h>.
523 [__ASSUME_32BITUIDS]: Make code unconditional.
524 [!__ASSUME_32BITUIDS]: Remove conditional code.
525 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
526 <kernel-features.h>.
527 [__ASSUME_32BITUIDS]: Make code unconditional.
528 [!__ASSUME_32BITUIDS]: Remove conditional code.
529 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
530 <kernel-features.h>.
531 [__ASSUME_32BITUIDS]: Make code unconditional.
532 [!__ASSUME_32BITUIDS]: Remove conditional code.
533 * sysdeps/unix/sysv/linux/kernel-features.h
534 (__ASSUME_SETRESUID_SYSCALL): Remove.
535 (__ASSUME_SETRESGID_SYSCALL): Likewise.
536 (__ASSUME_32BITUIDS): Likewise.
537 (__ASSUME_LDT_WORKS): Likewise.
538 (__ASSUME_O_DIRECTORY): Likewise.
539 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
540 architecture but not kernel version.
541 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
542 (__ASSUME_MMAP2_SYSCALL): Likewise.
543 (__ASSUME_STAT64_SYSCALL): Likewise.
544 (__ASSUME_IPC64): Likewise.
545 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
546 <kernel-features.h>.
547 [__ASSUME_32BITUIDS]: Make code unconditional.
548 [!__ASSUME_32BITUIDS]: Remove conditional code.
549 * sysdeps/unix/sysv/linux/opendir.c: Do not include
550 <kernel-features.h>.
551 [__ASSUME_O_DIRECTORY]: Make code unconditional.
552 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
553 132096]: Remove conditional code.
554 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
555 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
556 <kernel-features.h>.
557 [__ASSUME_32BITUIDS]: Make code unconditional.
558 [!__ASSUME_32BITUIDS]: Remove conditional code.
559 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
560 <kernel-features.h>.
561 [__ASSUME_32BITUIDS]: Make code unconditional.
562 [!__ASSUME_32BITUIDS]: Remove conditional code.
563 * sysdeps/unix/sysv/linux/setegid.c: Do not include
564 <kernel-features.h>.
565 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
566 unconditional.
567 (__setresgid): Do not declare.
568 [__ASSUME_32BITUIDS]: Make code unconditional.
569 [!__ASSUME_32BITUIDS]: Remove conditional code.
570 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
571 <kernel-features.h>.
572 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
573 unconditional.
574 (__setresuid): Do not declare.
575 [__ASSUME_32BITUIDS]: Make code unconditional.
576 [!__ASSUME_32BITUIDS]: Remove conditional code.
577 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
578 <kernel-features.h>.
579 [__ASSUME_32BITUIDS]: Make code unconditional.
580 [!__ASSUME_32BITUIDS]: Remove conditional code.
581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
582 <kernel-features.h>.
583 [__ASSUME_32BITUIDS]: Make code unconditional.
584 [!__ASSUME_32BITUIDS]: Remove conditional code.
585
586 2012-05-25 Richard Henderson <rth@twiddle.net>
587
588 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
589 dl_hwcap to ifunc resolver.
590 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
591 elf_ifunc_invoke.
592 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
593 dl_hwcap to ifunc resolver.
594 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
595
596 2012-05-24 Joseph Myers <joseph@codesourcery.com>
597
598 [BZ #14153]
599 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
600 for |x| <= 2**-26, not 2**-57.
601 * math/libm-test.inc (acos_test): Do not allow spurious underflow
602 exception.
603
604 2012-05-24 Jeff Law <law@redhat.com>
605
606 * stdio-common/Makefile (tests): Add bug25.
607 * stdio-common/bug25.c: New test.
608
609 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
610
611 [BZ #13576]
612 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
613 multiple of MALLOC_ALIGNMENT in size.
614 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
615
616 2012-05-24 Joseph Myers <joseph@codesourcery.com>
617
618 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
619 Require >= 256.
620 (FILENAME_MAX): Use macro-int-constant.
621 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
622 (_IOFBF): Use macro-int-constant.
623 (_IOLBF): Likewise.
624 (_IONBF): Likewise.
625 (SEEK_CUR): Likewise.
626 (SEEK_END): Likewise.
627 (SEEK_SET): Likewise.
628 (TMP_MAX): Likewise.
629 (EOF): Use macro-int-constant. Require < 0.
630 (NULL): Use macro-constant. Require == 0.
631 (stdin): Require type to be FILE *.
632 (stdout): Likewise.
633 (stderr): Likewise.
634 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
635 macro-int-constant.
636 (EXIT_SUCCESS): Likewise.
637 (NULL): Use macro-constant. Require == 0.
638 (RAND_MAX): Use macro-int-constant.
639 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
640 [C99-based standards] (strtof): Require function.
641 [C99-based standards] (strtold): Likewise.
642 [C99-based standards] (strtoll): Likewise.
643 [C99-based standards] (strtoull): Likewise.
644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
645 [ISO || ISO99 || ISO11] (limits.h): Likewise.
646 [ISO || ISO99 || ISO11] (math.h): Likewise.
647 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
648 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
649 [ISO || ISO99 || ISO11] (*_t): Do not allow.
650
651 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
652
653 [BZ #14132]
654 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
655 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
656 * intl/dgettext.c (DCGETTEXT): Likewise.
657 * intl/gettext.c (DCGETTEXT): Likewise.
658 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
659 * posix/regex_internal.h (gettext): Likewise.
660 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
661 Remove declaration.
662 * include/argz.h (__argz_count_internal)
663 (__argz_stringify_internal): Remove declaration.
664 (__argz_count, __argz_stringify): Declare hidden proto.
665 * intl/dcgettext.c: Remove use of INTDEF.
666 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
667 * string/argz-stringify.c: Likewise.
668 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
669 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
670 Declare hidden proto.
671 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
672 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
673 Declare hidden proto.
674 * include/stdio.h (__asprintf_internal): Don't declare.
675 (__asprintf): Don't define as macro. Declare hidden proto.
676 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
677 (__fsetlocking): Declare hidden proto.
678 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
679 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
680 hidden proto.
681 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
682 (_IO_setlinebuf): Remove use of INTUSE.
683 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
684 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
685 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
686 Remove declaration.
687 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
688 (_IO_do_flush): Remove use of INTUSE.
689 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
690 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
691 (_IO_adjust_column, _IO_least_wmarker)
692 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
693 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
694 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
695 (_IO_default_doallocate, _IO_wdefault_doallocate)
696 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
697 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
698 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
699 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
700 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
701 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
702 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
703 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
704 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
705 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
706 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
707 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
708 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
709 proto.
710 (_IO_flush_all_internal, _IO_adjust_column_internal)
711 (_IO_default_uflow_internal, _IO_default_finish_internal)
712 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
713 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
714 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
715 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
716 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
717 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
718 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
719 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
720 (_IO_file_close_internal, _IO_file_close_it_internal)
721 (_IO_file_underflow_internal, _IO_file_overflow_internal)
722 (_IO_file_init_internal, _IO_file_attach_internal)
723 (_IO_file_fopen_internal, _IO_file_read_internal)
724 (_IO_file_sync_internal, _IO_file_seek_internal)
725 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
726 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
727 (_IO_str_underflow_internal, _IO_str_overflow_internal)
728 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
729 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
730 (_IO_list_all_internal, _IO_link_in_internal)
731 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
732 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
733 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
734 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
735 (_IO_do_write_internal, _IO_padn_internal)
736 (_IO_getline_info_internal, _IO_getline_internal)
737 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
738 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
739 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
740 (_IO_vfscanf_internal, _IO_vfprintf_internal)
741 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
742 (_IO_init_internal, _IO_un_link_internal): Don't declare.
743 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
744 with libc_hidden_ver, remove use of INTUSE.
745 * libio/genops.c: Likewise.
746 * libio/freopen.c: Likewise.
747 * libio/freopen64.c: Likewise.
748 * libio/iofclose.c: Likewise.
749 * libio/iofdopen.c: Likewise.
750 * libio/iofflush.c: Likewise.
751 * libio/iofflush_u.c: Likewise.
752 * libio/iofgets.c: Likewise.
753 * libio/iofgets_u.c: Likewise.
754 * libio/iofopen.c: Likewise.
755 * libio/iofopncook.c: Likewise.
756 * libio/iofread.c: Likewise.
757 * libio/iofread_u.c: Likewise.
758 * libio/ioftell.c: Likewise.
759 * libio/iofwrite.c: Likewise.
760 * libio/iogetline.c: Likewise.
761 * libio/iogets.c: Likewise.
762 * libio/iogetwline.c: Likewise.
763 * libio/iopadn.c: Likewise.
764 * libio/iopopen.c: Likewise.
765 * libio/ioseekoff.c: Likewise.
766 * libio/ioseekpos.c: Likewise.
767 * libio/iosetbuffer.c: Likewise.
768 * libio/iosetvbuf.c: Likewise.
769 * libio/ioungetc.c: Likewise.
770 * libio/ioungetwc.c: Likewise.
771 * libio/iovdprintf.c: Likewise.
772 * libio/iovsprintf.c: Likewise.
773 * libio/iovsscanf.c: Likewise.
774 * libio/memstream.c: Likewise.
775 * libio/obprintf.c: Likewise.
776 * libio/oldfileops.c: Likewise.
777 * libio/oldiofclose.c: Likewise.
778 * libio/oldiofdopen.c: Likewise.
779 * libio/oldiofopen.c: Likewise.
780 * libio/oldiopopen.c: Likewise.
781 * libio/oldstdfiles.c: Likewise.
782 * libio/putc.c: Likewise.
783 * libio/setbuf.c: Likewise.
784 * libio/setlinebuf.c: Likewise.
785 * libio/stdfiles.c: Likewise.
786 * libio/strops.c: Likewise.
787 * libio/vasprintf.c: Likewise.
788 * libio/vscanf.c: Likewise.
789 * libio/vsnprintf.c: Likewise.
790 * libio/vswprintf.c: Likewise.
791 * libio/wfiledoalloc.c: Likewise.
792 * libio/wfileops.c: Likewise.
793 * libio/wgenops.c: Likewise.
794 * libio/wmemstream.c: Likewise.
795 * libio/wstrops.c: Likewise.
796 * libio/__fpurge.c: Likewise.
797 * libio/__fsetlocking.c: Likewise.
798 * assert/assert.c: Likewise.
799 * debug/fgets_chk.c: Likewise.
800 * debug/fgets_u_chk.c: Likewise.
801 * debug/fread_chk.c: Likewise.
802 * debug/fread_u_chk.c: Likewise.
803 * debug/gets_chk.c: Likewise.
804 * debug/obprintf_chk.c: Likewise.
805 * debug/vasprintf_chk.c: Likewise.
806 * debug/vdprintf_chk.c: Likewise.
807 * debug/vsnprintf_chk.c: Likewise.
808 * debug/vsprintf_chk.c: Likewise.
809 * malloc/mtrace.c: Likewise.
810 * misc/error.c: Likewise.
811 * misc/syslog.c: Likewise.
812 * stdio-common/asprintf.c: Likewise.
813 * stdio-common/fxprintf.c: Likewise.
814 * stdio-common/getw.c: Likewise.
815 * stdio-common/isoc99_fscanf.c: Likewise.
816 * stdio-common/isoc99_scanf.c: Likewise.
817 * stdio-common/isoc99_vfscanf.c: Likewise.
818 * stdio-common/isoc99_vscanf.c: Likewise.
819 * stdio-common/isoc99_vsscanf.c: Likewise.
820 * stdio-common/printf-prs.c: Likewise.
821 * stdio-common/printf_fp.c: Likewise.
822 * stdio-common/printf_fphex.c: Likewise.
823 * stdio-common/printf_size.c: Likewise.
824 * stdio-common/putw.c: Likewise.
825 * stdio-common/scanf.c: Likewise.
826 * stdio-common/sprintf.c: Likewise.
827 * stdio-common/tmpfile.c: Likewise.
828 * stdio-common/vfprintf.c: Likewise.
829 * stdio-common/vfscanf.c: Likewise.
830 * stdlib/strfmon_l.c: Likewise.
831 * sunrpc/openchild.c: Likewise.
832 * sunrpc/xdr_stdio.c: Likewise.
833 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
834 * sysdeps/mach/hurd/tmpfile.c: Likewise.
835
836 2012-05-24 Roland McGrath <roland@hack.frob.com>
837
838 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
839
840 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
841 in the third column, to generate for the shared library an IFUNC
842 that uses _dl_vdso_vsym.
843 * Makerules (COMPILE.c, compile-stdin.c): New variables.
844 * Makeconfig (object-suffixes-noshared): New variable.
845
846 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
847 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
848 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
849 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
850
851 [BZ #14132]
852 * include/sys/time.h (__gettimeofday): Remove macro.
853 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
854 * time/gettimeofday.c (__gettimeofday): Remove #undef.
855 Remove INTDEF.
856 (__gettimeofday): Add libc_hidden_def.
857 (gettimeofday): Add libc_hidden_weak.
858 * sysdeps/mach/gettimeofday.c: Likewise.
859 * sysdeps/posix/gettimeofday.c: Likewise.
860 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
861 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
862 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
863 (__gettimeofday_internal): Remove strong_alias.
864 (__gettimeofday): Add libc_hidden_def.
865 (gettimeofday): Add libc_hidden_weak.
866 * sysdeps/unix/syscalls.list (gettimeofday):
867 Remove __gettimeofday_internal alias.
868
869 2012-05-24 Daniel Jacobowitz <drow@false.org>
870 H.J. Lu <hongjiu.lu@intel.com>
871
872 [BZ #12495]
873 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
874 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
875 (largebin_index_32_big): New.
876 (largebin_index): Use it for 16-byte alignment.
877 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
878 correction with front_misalign.
879
880 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
881
882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
883 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
884 Likewise.
885 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
886 Likewise.
887 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
888 Likewise.
889 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
890 Likewise.
891 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
892 Likewise.
893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
894 Likewise.
895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
896 Likewise.
897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
898 Likewise.
899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
900 Likewise.
901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
902 Likewise.
903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
904 Likewise.
905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
906 Likewise.
907
908 * scripts/data/c++-types-x32-linux-gnu.data: New file.
909 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
910
911 2012-05-24 Joseph Myers <joseph@codesourcery.com>
912
913 [BZ #10846]
914 [BZ #14036]
915 * math/libm-test.inc (exp_test): Add test from bug 14036.
916 (pow_test): Add test from bug 10846.
917
918 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
919 and other flags.
920 (special_function): Do not include flags in test name.
921 (parse_args): Likewise.
922 * sysdeps/i386/fpu/libm-test-ulps: Update.
923 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
924 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
927
928 * math/gen-libm-test.pl (%beautify): Add entries for underflow
929 exceptions.
930 * math/libm-test.inc ("Philosophy"): Update comment about
931 exception testing.
932 (UNDERFLOW_EXCEPTION): New macro.
933 (UNDERFLOW_EXCEPTION_OK): Likewise.
934 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
935 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
936 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
937 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
938 (INVALID_EXCEPTION_OK): Update value.
939 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
940 (OVERFLOW_EXCEPTION_OK): Likewise.
941 (IGNORE_ZERO_INF_SIGN): Likewise.
942 (test_exceptions): Handle underflow exceptions.
943 (acos_test): Update for underflow exception expectations.
944 (cexp_test): Likewise.
945 (clog_test): Likewise.
946 (clog10_test): Likewise.
947 (csqrt_test): Likewise.
948 (ctan_test): Likewise.
949 (ctanh_test): Likewise.
950 (exp_test): Likewise.
951 (exp10_test): Likewise.
952 (exp2_test): Likewise.
953 (expm1_test): Likewise.
954 (fma_test): Likewise.
955 (j0_test): Likewise.
956 (jn_test): Likewise.
957 (nexttoward_test): Likewise.
958 (pow_test): Likewise.
959 (scalbn_test): Likewise.
960 (scalbln_test): Likewise.
961 (tan_test): Likewise.
962 (y1_test): Likewise.
963 * sysdeps/i386/fpu/libm-test-ulps: Update.
964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
965
966 2012-05-23 David S. Miller <davem@davemloft.net>
967
968 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
969 (__libc_sigaction): Remove unused local variables.
970
971 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
972
973 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
974
975 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
976
977 mktime: avoid signed integer overflow
978 * time/mktime.c (__mktime_internal): Do not mishandle the case
979 where diff == INT_MIN.
980
981 mktime: simplify computation of average
982 * time/mktime.c (ranged_convert): Use new time_t_avg function
983 instead of rolling our own (probably-slower) code.
984
985 mktime: do not assume signed right shift propagates sign bit
986 * time/mktime.c (isdst_differ): New static function.
987 (__mktime_internal): No need to normalize tm_isdst now.
988 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
989 tm_isdst values.
990
991 mktime: merge another wrapv change from gnulib
992 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
993 from some compilers.
994
995 mktime: remove incorrect attempt at unusual arithmetics
996 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
997 The code didn't really work on such machines anyway.
998 (TYPE_MINIMUM): Assume two's complement.
999 (twos_complement_arithmetic): Verify that long_int and time_t
1000 are two's complement (or unsigned, in the latter case).
1001
1002 mktime: check signed shifts on long_int and time_t, too
1003 * time/mktime.c (SHR): Check that shifts work as desired
1004 on the types long_int and time_t too, as SHR is used on
1005 such types.
1006
1007 mktime: do not assume 'long' is wide enough
1008 * time/mktime.c (verify): Move decl up.
1009 (long_int): New type.
1010 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
1011 to remove assumption in the code that 'long' is wide enough to
1012 store year values. This assumption is not true on x32 and on
1013 some non-glibc platforms.
1014
1015 mktime: merge wrapv change from gnulib
1016 * time/mktime.c (WRAPV): New macro.
1017 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
1018 (guess_time_tm, __mktime_internal): Do not assume that signed
1019 integer overflow wraps around; modern compilers generate code
1020 where this assumption is no longer valid.
1021
1022 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1025 Replace "jmp L(pseudo_end)" with "ret".
1026 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
1027 Likewise.
1028
1029 2012-05-23 Andreas Jaeger <aj@suse.de>
1030
1031 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
1032 * sysdeps/unix/sysv/linux/poll.c: Remove file.
1033
1034 2012-05-23 Andreas Jaeger <aj@suse.de>
1035 Maximilian Attems <max@stro.at>
1036
1037 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
1038 New macros.
1039
1040 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
1041
1042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
1043 code so that pseudo_end is just ret and the stack pointer is
1044 correct also for static library in error case.
1045
1046 2012-05-23 Joseph Myers <joseph@codesourcery.com>
1047
1048 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
1049 move to syscalls.list.
1050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1054
1055 * manual/install.texi (Running make install): Do not mention Linux
1056 kernel version for which pt_chown is not needed.
1057 (Linux): Do not mention problems with nscd with 2.0 kernels.
1058 * INSTALL: Regenerated.
1059
1060 2012-05-23 Andreas Jaeger <aj@suse.de>
1061
1062 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
1063 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
1064 macro.
1065 * sysdeps/unix/sysv/linux/s390/bits/mman.h
1066 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1067 * sysdeps/unix/sysv/linux/sh/bits/mman.h
1068 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1069 * sysdeps/unix/sysv/linux/i386/bits/mman.h
1070 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1071 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
1072 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
1074 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
1075 * sysdeps/unix/sysv/linux/bits/in.h
1076 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
1077
1078 2012-05-22 Roland McGrath <roland@hack.frob.com>
1079
1080 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
1081 (PREPARE_VERSION): Just use assert instead, it will be elided
1082 under [NDEBUG] anyway.
1083
1084 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 * sysdeps/unix/sysv/linux/Makefile: Include
1087 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
1088 (sysdep_routines): Remove sysctl.
1089 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
1090 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
1091 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
1093 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
1094
1095 2012-05-22 Andreas Jaeger <aj@suse.de>
1096
1097 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
1098 that pseudo_end is just ret and the stack pointer is correct also
1099 for static library in error case.
1100
1101 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1102
1103 [BZ #14122]
1104 * nss/nsswitch.c (defconfig_entries): New variable.
1105 (__nss_database_lookup): Don't leak defconfig entries.
1106 (nss_parse_service_list): Don't leak on error paths.
1107 (free_database_entries): New function.
1108 (free_defconfig): New function.
1109 (free_mem): Move common code to free_database_entries.
1110
1111 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1112
1113 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
1114 Add arch_prctl.
1115 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
1116
1117 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1118 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
1119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
1120 New macro.
1121 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
1122 (INTERNAL_SYSCALL_TYPES): Likewise.
1123 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1124 (LOAD_REGS_TYPES_[1-6]): Likewise.
1125 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1126 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1127
1128 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1129
1130 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1131 copysignl for GLIBC_2_0.
1132 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1133 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1134 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1135 logbl for GLIBC_2_0.
1136 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1137 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1138
1139 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1140
1141 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1143
1144 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1145 Use "neg %eax".
1146
1147 * time/mktime.c: Update copyright years.
1148
1149 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1150
1151 mktime: merge comment-quoting-style change from gnulib
1152 * time/mktime.c: Quote 'like this' in comments.
1153 The GNU coding standards suggest that we no longer quote `like this',
1154 as "`" and "'" are typically rendered asymmetrically nowadays.
1155 The typical gnulib style is to quote 'like this' when quoting
1156 code, and "like this" when quoting English.
1157
1158 * time/mktime.c (compile-command): Add "-I.".
1159
1160 mktime: merge mktime-internal.h change from gnulib
1161 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1162
1163 mktime: merge time_r change from gnulib
1164 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1165
1166 mktime: merge DEBUG change from gnulib
1167 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1168 case system <time.h> has a #define.
1169
1170 mktime: merge <sys/types.h> change from gnulib
1171 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1172 since <time.t> is now guaranteed to define time_t.
1173
1174 mktime: merge HAVE_CONFIG_H change from gnulib
1175 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1176
1177 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1178
1179 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1180 Use "neg %eax".
1181
1182 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1183 __rlim_t cast.
1184 (struct rusage): Use anonymous union to pad each field to
1185 __syscall_slong_t.
1186
1187 2012-05-21 David S. Miller <davem@davemloft.net>
1188
1189 * Makefules (o-iterator): Remove .s cases.
1190 (compile-command.s): Delete.
1191 (COMPILE.s): Delete.
1192 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1193
1194 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1195
1196 * configure.in (libc_cv_predef_stack_protector): Only consider
1197 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1198 * configure: Regenerated.
1199
1200 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1201
1202 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1203 New macro. Use R*LP on int and pointer.
1204 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1205 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1206 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1207 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1208
1209 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1210 [__WORDSIZE_TIME64_COMPAT32] instead of
1211 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1212 (struct utmp): Likewise.
1213 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1214 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1215 Renamed to ...
1216 (__WORDSIZE_TIME64_COMPAT32): This.
1217 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1218 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1219 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1221 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1222 (__WORDSIZE_TIME64_COMPAT32): New macro.
1223
1224 2012-05-21 Andreas Jaeger <aj@suse.de>
1225
1226 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1227 only if [SHARED]. Add prototype for __wcschr_ia32.
1228
1229 2012-05-21 Roland McGrath <roland@hack.frob.com>
1230
1231 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1232 of %rbp unmolested in the jmp_buf while mangling the low bits.
1233 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1234 unmolested high bits of %rbp while demangling the low bits.
1235 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1236
1237 2012-05-21 Andreas Jaeger <aj@suse.de>
1238
1239 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1240 * sunrpc/svc_simple.c: Use it for registerrpc.
1241 * sunrpc/xcrypt.c: Use it for passwd2des.
1242
1243 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1244
1245 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1246
1247 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1248 Don't define if [__SYSCALL_WORDSIZE != 32].
1249 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1250 New macro.
1251
1252 2012-05-21 Bruno Haible <bruno@clisp.org>
1253 Andreas Jaeger <aj@suse.de>
1254
1255 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1256 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1257 inptr and inend for must_buffer_ch.
1258 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1259 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1260 * stdio-common/Makefile (tests): Remove bug15.
1261 (bug15-ENV): Remove macro.
1262 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1263 anymore.
1264
1265 2012-05-19 Andreas Jaeger <aj@suse.de>
1266 Roland McGrath <roland@hack.frob.com>
1267
1268 * manual/contrib.texi: Completely rewritten. It contains now an
1269 alphabetical list of contributors and their contributions.
1270
1271 2012-05-21 Richard Henderson <rth@twiddle.net>
1272
1273 * misc/getauxval.c (__getauxval): Use unsigned long int.
1274 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1275 (getauxval): Use unsigned long int.
1276
1277 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1278
1279 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1280
1281 2012-05-21 Roland McGrath <roland@hack.frob.com>
1282
1283 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1284 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1285 __alignof__ (long double).
1286
1287 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1288
1289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1290
1291 2012-05-20 Richard Henderson <rth@twiddle.net>
1292
1293 * misc/getauxval.c: New file.
1294 * misc/sys/auxv.h: New file.
1295 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1296 (routines): Add getauxval.
1297 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1298 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1299 * elf/dl-sysdep.c (_dl_auxv): Remove.
1300 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1301 * elf/dl-support.c (_dl_auxv): New variable.
1302 (_dl_aux_init): Initialize it.
1303 * manual/startup.texi (Auxiliary Vector): New node.
1304 * sysdeps/generic/bits/hwcap.h: New file.
1305 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1306 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1307 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1308 * sysdeps/sparc/sysdep.h: ... here. Include it.
1309 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1312 Update.
1313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1316 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1317 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1320 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1321
1322 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1323
1324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1325
1326 2012-05-19 David S. Miller <davem@davemloft.net>
1327
1328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1329
1330 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1331
1332 [BZ #14123]
1333 * math/s_ccosh.c: Include <float.h>
1334 (__ccosh): Avoid internal overflow calculating sinh and cosh
1335 values before multiplying by sin and cos values.
1336 * math/s_ccoshf.c: Likewise.
1337 * math/s_ccoshl.c: Likewise.
1338 * math/s_csin.c: Likewise.
1339 * math/s_csinf.c: Likewise.
1340 * math/s_csinl.c: Likewise.
1341 * math/s_csinh.c: Likewise.
1342 * math/s_csinhf.c: Likewise.
1343 * math/s_csinhl.c: Likewise.
1344 * math/libm-test.inc (ccos_test): Add more tests.
1345 (ccosh_test): Likewise.
1346 (csin_test): Likewise.
1347 (csinh_test): Likewise.
1348 * sysdeps/i386/fpu/libm-test-ulps: Update.
1349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1350
1351 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1352
1353 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1354 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1355
1356 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1357
1358 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1359
1360 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1361 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1362 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1363 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1364 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1365 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1366 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1367 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1368 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1369 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1370 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1371 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1372 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1373 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1374 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1375 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1376 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1377 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1378 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1379 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1380 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1381 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1382 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1383 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1384 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1385 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1386 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1387 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1388 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1389 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1390 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1391
1392 2012-05-18 Andreas Jaeger <aj@suse.de>
1393
1394 * csu/.gitignore: Delete.
1395
1396 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1397
1398 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1399 (timex): Use __syscall_slong_t.
1400
1401 2012-05-18 Andreas Jaeger <aj@suse.de>
1402 Carlos O'Donell <carlos_odonell@mentor.com>
1403
1404 * manual/install.texi (Configuring and compiling): Update
1405 description about files modified in the source directory.
1406 * INSTALL: Regenerated.
1407
1408 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1409
1410 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1411 value. Use "or" to set return value to -1.
1412 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1413 negate return value.
1414
1415 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1416
1417 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1418 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1419 failure if the compiler has Graphite support disabled.
1420 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1421 Likewise.
1422 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1423 CFLAGS-memmove.c): Likewise.
1424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1425 Likewise.
1426
1427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 * sysdeps/x86_64/x32/_itoa.h: New file.
1430
1431 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1432 getdents system call only if kernel and user dirents have the
1433 same d_ino and d_off.
1434
1435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1436 LLONG_MAX != LONG_MAX.
1437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1438 (_fitoa_word): Likewise.
1439
1440 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1441 years.
1442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1443 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1444 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1445
1446 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1447 include <bits/wordsize.h>. Check __x86_64__ instead of
1448 __WORDSIZE.
1449 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1450 if __x86_64__ is defined. Use anonymous union on fpstate.
1451
1452 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1453 anonymous union.
1454
1455 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1456
1457 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1458 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1459 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1460 Refer to _rtld_local_ro instead of _rtld_global_ro.
1461 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1462 Likewise.
1463 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1464 Likewise.
1465 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1466 Likewise.
1467 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1468 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1469 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1470
1471 * sysdeps/powerpc/powerpc32/dl-machine.c
1472 (__elf_machine_runtime_setup) [PROF]: Don't reference
1473 _dl_prof_resolve.
1474
1475 2012-05-18 Andreas Jaeger <aj@suse.de>
1476
1477 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1478 function only available for GCCs before 3.4 since GCC 3.4
1479 introduced a builtin.
1480 (lrint): Likewise.
1481 (llrintf): Likewise.
1482 (llrint): Likewise.
1483 (fmaxf): Likewise.
1484 (fmax): Likewise.
1485 (fminf): Likewise.
1486 (fmin): Likewise.
1487 (rint): Likewise.
1488 (rintf): Likewise.
1489 (nearbyint): Likewise.
1490 (nearbyintf): Likewise.
1491 (ceil): Likewise.
1492 (ceilf): Likewise.
1493 (floor): Likewise.
1494 (floorf): Likewise.
1495
1496 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1497
1498 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1499 on both fields and cast pointer to __syscall_ulong_t.
1500
1501 * bits/types.h (__fsword_t): New type.
1502 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1503 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1504 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1505 (__FSWORD_T_TYPE): Likewise.
1506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1507 (__FSWORD_T_TYPE): Likewise.
1508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1509 (__FSWORD_T_TYPE): Likewise.
1510 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1511 (__FSWORD_T_TYPE): Likewise.
1512 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1513 __SWORD_TYPE with __fsword_t.
1514 (statfs64): Likewise.
1515
1516 2012-05-17 David S. Miller <davem@davemloft.net>
1517
1518 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1519
1520 2012-05-17 Andreas Jaeger <aj@suse.de>
1521
1522 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1523 warning.
1524
1525 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1528
1529 2012-05-17 Andreas Jaeger <aj@suse.de>
1530
1531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1532 when it is used.
1533
1534 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1535
1536 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1537
1538 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1539
1540 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1541 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1542
1543 2012-05-17 Andreas Jaeger <aj@suse.de>
1544 Carlos O'Donell <carlos_odonell@mentor.com>
1545
1546 [BZ #14059]
1547 * sysdeps/x86_64/multiarch/init-arch.h
1548 (bit_YMM_Usable): Rename to...
1549 (bit_AVX_Usable): ... this.
1550 (bit_FMA4_Usable): New macro.
1551 (bit_XMM_state): New macro.
1552 (bit_YMM_state): New macro.
1553 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1554 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1555 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1556 (CPUID_OSXSAVE): New macro.
1557 (CPUID_AVX): New macro.
1558 (CPUID_FMA4): New macro.
1559 (index_YMM_Usable): Rename to...
1560 (index_AVX_Usable): ... this.
1561 (HAS_AVX): Use HAS_ARCH_FEATURE.
1562 (HAS_FMA4): Likewise.
1563 (HAS_YMM_USABLE): Remove.
1564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1565 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1566 are present.
1567 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1568 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1569 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1570 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1571 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1572
1573 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1574
1575 * math/libm-test.c: Support platforms without multiple rounding modes.
1576 * math/bug-nextafter.c: Support platforms without FP exceptions.
1577 * math/bug-nexttoward.c: Likewise.
1578 * math/test-fenv.c: Likewise.
1579 * math/test-misc.c: Likewise.
1580 * stdlib/bug-getcontext.c: Likewise.
1581
1582 2012-05-17 Andreas Jaeger <aj@suse.de>
1583
1584 * manual/examples/search.c (critter_cmp): Change signature to
1585 avoid warnings.
1586 * manual/string.texi (Collation Functions): Likewise.
1587
1588 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 * bits/types.h: Fold copyright years.
1591 * bits/typesizes.h: Likewise.
1592 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1593 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1594 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1595 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1596 * time/time.h: Likewise.
1597
1598 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1599
1600 [BZ #208]
1601 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1602 in instead of returning them. Return void.
1603 (__libc_mallinfo): Accumulate over all arenas.
1604 (__malloc_stats): Adjust for change in int_mallinfo interface.
1605
1606 2012-05-16 Roland McGrath <roland@hack.frob.com>
1607
1608 [BZ #10375]
1609 * configure.in (NM): Add AC_CHECK_TOOL for it.
1610 (libc_extra_cflags): New substituted variable.
1611 Check for -fstack-protector being used implicitly.
1612 * configure: Regenerated.
1613 * config.make.in (config-extra-cflags): New variable,
1614 gets @libc_extra_cflags@.
1615 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1616
1617 [BZ #10375]
1618 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1619 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1620 * configure: Regenerated.
1621 * config.make.in (CPPUNDEFS): New substituted variable.
1622 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1623 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1624 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1625
1626 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1629 (mq_attr): Use __syscall_slong_t.
1630
1631 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1634 Check __x86_64__ instead of __WORDSIZE.
1635 (_STAT_VER_LINUX): Likewise.
1636 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1637 __syscall_ulong_t and __syscall_slong_t.
1638 (stat64): Likewise.
1639
1640 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1641
1642 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1643
1644 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1647
1648 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1651 __syscall_ulong_t.
1652
1653 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1654 include <bits/wordsize.h>. Check __x86_64__ instead of
1655 __WORDSIZE.
1656 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1657 defined.
1658 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1659
1660 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1661 include <bits/wordsize.h>. Check __x86_64__ instead of
1662 __WORDSIZE.
1663 (user_regs_struct): Use "__extension__ unsigned long long"
1664 instead of "unsigned long" if __x86_64__ is defined.
1665 (user): Likewise. Pad after pointer field if __ILP32__ is
1666 defined.
1667
1668 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1669
1670 * configure.in (makeinfo): Require version 4.5 or later. Allow
1671 versions 5 to 9.
1672 * configure: Regenerated.
1673 * manual/install.texi (texinfo): Increase version requirement to
1674 4.5 or later.
1675 * INSTALL: Regenerated.
1676
1677 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1678
1679 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1680
1681 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1682
1683 * sysdeps/x86_64/x32/ffs.c: New file.
1684
1685 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1686 __syscall_ulong_t.
1687 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1688 defined. Use __syscall_ulong_t.
1689 (shminfo): Use __syscall_ulong_t.
1690 (shm_info): Likewise.
1691
1692 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1693 __syscall_ulong_t.
1694
1695 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1696 <bits/wordsize.h>.
1697 (msgqnum_t): Use __syscall_ulong_t.
1698 (msglen_t): Likewise.
1699 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1700 __syscall_ulong_t.
1701
1702 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1703 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1704
1705 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1706
1707 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1708 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1709
1710 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1711 __syscall_slong_t.
1712
1713 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1714 include <bits/wordsize.h>. Check __x86_64__ instead of
1715 __WORDSIZE.
1716
1717 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1718 "unsigned long long int" if __x86_64__ is defined.
1719 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1720
1721 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1723 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1724
1725 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1726 <stdint.h>.
1727 (GET_PC): Cast to uintptr_t first.
1728 (GET_FRAME): Likewise.
1729 (GET_STACK): Likewise.
1730
1731 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1732 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1733 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1734 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1735 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1736 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1737 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1738 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1739 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1740 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1741 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1742 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1743 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1744 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1745 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1746 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1747 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1748 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1749 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1750 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1751 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1752 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1753 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1754 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1755 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1756 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1757 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1758 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1759 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1760
1761 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1762
1763 * Makerules (+depfiles): Also collect depfiles from .oS in
1764 $(extra-objs).
1765 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1766 .oS, $(libnldbl-routines)).
1767
1768 * Makerules (native-compile-mkdep-flags): Define.
1769 * sunrpc/Makefile (extra-objs): Add $(addprefix
1770 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1771 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1772 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1773 calling $(make-target-directory).
1774
1775 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 * bits/types.h (__snseconds_t): Removed.
1778 * time/time.h (struct timespec): Replace __snseconds_t with
1779 __syscall_slong_t.
1780 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1781 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1782 Likewise.
1783 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1784 (__SNSECONDS_T_TYPE): Likewise.
1785 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1786 (__SNSECONDS_T_TYPE): Likewise.
1787 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1788 (__SNSECONDS_T_TYPE): Likewise.
1789
1790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 * sysdeps/mach/hurd/bits/typesizes.h
1793 (__SYSCALL_SLONG_TYPE): New macro.
1794 (__SYSCALL_ULONG_TYPE): Likewise.
1795
1796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1797
1798 * bits/types.h (__syscall_slong_t): New type.
1799 (__syscall_ulong_t): Likewise.
1800
1801 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1802 (__SYSCALL_ULONG_TYPE): Likewise.
1803 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1804 (__SYSCALL_SLONG_TYPE): Likewise.
1805 (__SYSCALL_ULONG_TYPE): Likewise.
1806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1807 (__SYSCALL_SLONG_TYPE): Likewise.
1808 (__SYSCALL_ULONG_TYPE): Likewise.
1809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1810 (__SYSCALL_SLONG_TYPE): Likewise.
1811 (__SYSCALL_ULONG_TYPE): Likewise.
1812
1813 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1814
1815 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1816 Add sigaltstack-offsets.sym.
1817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1818 <sigaltstack-offsets.h>.
1819 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1820 longjmp_msg pointer.
1821 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1822 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1823 signal stack.
1824 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1825
1826 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1827
1828 * elf/stackguard-macros.h: Remove file.
1829 * sysdeps/generic/stackguard-macros.h: New file.
1830 * sysdeps/i386/stackguard-macros.h: Likewise.
1831 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1832 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1833 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1834 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1835 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1836 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1837 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1838 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1839 <elf/stackguard-macros.h>.
1840
1841 [BZ #14109]
1842 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1843 __aligned__ in attribute.
1844 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1845 (gregset_t): Likewise.
1846
1847 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1848
1849 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1850 * sysdeps/x86_64/64/Implies-after: Here. New file.
1851 * sysdeps/x86_64/x32/Implies-after: New file.
1852
1853 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1854
1855 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1856 and access return value for _dl_profile_fixup. Use R10_LP to
1857 load frame size.
1858
1859 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1862
1863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1864
1865 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1866 * sysdeps/x86_64/x32/sysdep.h: New file.
1867
1868 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1869
1870 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1871 * sysdeps/x86_64/setjmp.S: Likewise.
1872
1873 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1874
1875 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1876 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1877 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1878 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1879 remove unused global constant.
1880
1881 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1882
1883 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1884 include of <not-cancel.h>.
1885
1886 2012-05-15 Roland McGrath <roland@hack.frob.com>
1887
1888 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1889
1890 2012-05-15 Jeff Law <law@redhat.com>
1891 Andreas Jaeger <aj@suse.de>
1892
1893 [BZ #13594]
1894 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1895 out from...
1896 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1897 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1898 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1899 code changing __hst_map_handle.map.
1900
1901 2012-05-15 Roland McGrath <roland@hack.frob.com>
1902
1903 * configure.in (sysnames): Look for Implies-before and Implies-after
1904 files.
1905 * configure: Regenerated.
1906
1907 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1908
1909 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1910 8-byte data alignment with LP_SIZE alignment.
1911
1912 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1913
1914 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1915 into R10_LP.
1916
1917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1920
1921 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1922
1923 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1924 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1926 Likewise.
1927 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1928
1929 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1930
1931 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1932 (stackinfo_sub_sp): Likewise.
1933
1934 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1937 RAX_LP.
1938
1939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1940
1941 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1942 into R*_LP.
1943
1944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1945
1946 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1947 sizes into R*_LP.
1948
1949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1952
1953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1954
1955 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1956 into R11_LP and load __x86_64_shared_cache_size_half into
1957 R8_LP.
1958
1959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1960
1961 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1962 R8_LP.
1963
1964 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1965
1966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1967 logb for POWER7.
1968 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1969 logbf for POWER7.
1970 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1971 logbl for POWER7.
1972 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1973 powerpc32/power7/fpu/s_logb.c via #include.
1974 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1975 powerpc32/power7/fpu/s_logbf.c via #include.
1976 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1977 powerpc32/power7/fpu/s_logbl.c via #include.
1978
1979 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1980
1981 * README.libm: Remove file.
1982
1983 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1984
1985 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1986 count for x32. Use R*_LP and omit operand-size suffix.
1987
1988 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1989
1990 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1991 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1992 * sysdeps/x86_64/x32/shlib-versions: New file.
1993
1994 2012-05-14 Roland McGrath <roland@hack.frob.com>
1995
1996 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1997 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1998 Use _dl_fatal_printf instead.
1999
2000 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2001
2002 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
2003 set if not set by the user. Do not allow for being unset.
2004 * sysdeps/unix/sysv/linux/configure: Regenerated.
2005
2006 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2007
2008 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
2009 the `q' suffix from lea and replace .quad with ASM_ADDR.
2010
2011 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2012
2013 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
2014 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
2015 instead of $17.
2016 (PTR_DEMANGLE): Likewise.
2017
2018 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2019
2020 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
2021 (LP_OP): Likewise.
2022 (ASM_ADDR): Likewise.
2023 (RAX_LP): Likewise.
2024 (RBP_LP): Likewise.
2025 (RBX_LP): Likewise.
2026 (RCX_LP): Likewise.
2027 (RDI_LP): Likewise.
2028 (RSI_LP): Likewise.
2029 (RSP_LP): Likewise.
2030 (R8_LP): Likewise.
2031 (R9_LP): Likewise.
2032 (R10_LP): Likewise.
2033 (R10_LP): Likewise.
2034 (R11_LP): Likewise.
2035 (R12_LP): Likewise.
2036 (R13_LP): Likewise.
2037 (R14_LP): Likewise.
2038 (R15_LP): Likewise.
2039
2040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2041
2042 * sysdeps/x86_64/x32/dl-machine.h: New file.
2043
2044 2012-05-14 Andreas Jaeger <aj@suse.de>
2045
2046 * manual/Makefile (subdir): Remove export of subdir.
2047 (all): Remove target.
2048 (.PHONY): Remove all from list.
2049 (mkinstalldirs): Remove.
2050 (.PHONY): Remove installdirs from list.
2051 ($(inst_infodir)/libc.info): Use make-target-directory.
2052 (installdirs): Remove.
2053 (subdir_%): Remove.
2054 (glibc-targets): Remove.
2055 (lib): Remove.
2056 (stubs): Remove.
2057 ($(objpfx)stubs ../po/manual.pot): Remove.
2058 ($(objpfx)stamp%): Remove.
2059 (make-target-directory): Remove.
2060 (subdir_install): Remove.
2061 (routines): Remove.
2062 (aux): Remove.
2063 (sources): Remove.
2064 (objects): Remove.
2065 (headers): Remove.
2066
2067 [BZ #13750]
2068 * manual/.gitignore: Remove, it's not needed anymore.
2069 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
2070 all files in it.
2071 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
2072 directory.
2073 (texis): Renamed to $(objpfx)texis.
2074 (texis-path): New, contains path to generated files.
2075 (chapters.%): Use texis-path for complete path, add extra argument
2076 libc-texinfo.sh.
2077 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
2078 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
2079 (summary,texi, stamp-summary): Use complete path of
2080 files. Generate files in build dir.
2081 (dir-add.texi): Build in build dir.
2082 (libm-err.texi,stamp-libm-err): Likewise.
2083 (version.texi, stamp-version): Likewise.
2084 (.%c.texi): Likewise.
2085 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
2086 (mostlyclean): Remove target.
2087 (realclean): Remove target.
2088 (generated): Add new variable with contents from mostlyclean and
2089 realclean, remove entries duplicated in common-mostlyclean, add
2090 stamp-libm-err and stamp-version.
2091 (generated-dirs): Add libc directory.
2092 ($(inst_infodir)/libc.info): Install files from build dir.
2093
2094 * manual/install.texi (Configuring and compiling): Adjust since
2095 the info files are not part of the tar ball anymore.
2096
2097 2012-05-14 Andreas Jaeger <aj@suse.de>
2098
2099 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
2100 variable.
2101
2102 2012-05-14 Joseph Myers <joseph@codesourcery.com>
2103
2104 [BZ #13717]
2105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2106 to 2.2.0 where earlier.
2107 * sysdeps/unix/sysv/linux/configure: Regenerated.
2108 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
2109 Remove conditional code.
2110 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
2111 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
2112 Remove conditional code.
2113 [!__NR_lchown]: Likewise.
2114 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2115 [__NR_lchown]: Likewise.
2116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
2117 comment referencing __ASSUME_LCHOWN_SYSCALL.
2118 * sysdeps/unix/sysv/linux/i386/sigaction.c
2119 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2120 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2121 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
2122 Remove conditional code.
2123 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2124 (__protocol_available): Remove #if 0 code.
2125 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2126 conditional code.
2127 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2128 * sysdeps/unix/sysv/linux/kernel-features.h
2129 (__ASSUME_GETCWD_SYSCALL): Don't define.
2130 (__ASSUME_REALTIME_SIGNALS): Likewise.
2131 (__ASSUME_PREAD_SYSCALL): Likewise.
2132 (__ASSUME_PWRITE_SYSCALL): Likewise.
2133 (__ASSUME_POLL_SYSCALL): Likewise.
2134 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2135 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2136 non-SPARC.
2137 (__ASSUME_SIOCGIFNAME): Don't define.
2138 (__ASSUME_MSG_NOSIGNAL): Likewise.
2139 (__ASSUME_SENDFILE): Define unconditionally.
2140 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2141 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2142 conditional code.
2143 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2144 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2145 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2146 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2147 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2148 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2149 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2151 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2154 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2155 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2160 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2161 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2163 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2164 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2166 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2167 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2169 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2172 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2173 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2174 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2175 Remove conditional code.
2176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2177 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2178 Remove conditional code.
2179 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2180 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2181 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2183 Remove conditional code.
2184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2185 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2186 Remove conditional code.
2187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2188 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2189 Remove conditional code.
2190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2191 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2192 Remove conditional code.
2193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2194 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2195 Remove conditional code.
2196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2197 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2200 * sysdeps/unix/sysv/linux/sigaction.c
2201 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2202 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2203 * sysdeps/unix/sysv/linux/sigpending.c
2204 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2205 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2206 * sysdeps/unix/sysv/linux/sigprocmask.c
2207 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2208 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2209 * sysdeps/unix/sysv/linux/sigsuspend.c
2210 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2211 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2212 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2213 (__libc_missing_rt_sigs): Remove.
2214 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2215 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2216 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2217 Remove conditional code.
2218 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2219 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2220 return 1.
2221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2222 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2224 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2225
2226 2012-05-14 Andreas Jaeger <aj@suse.de>
2227
2228 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2229 it's not used in glibc.
2230 (__coshm1): Likewise.
2231 (__acosh1p): Likewise.
2232 (__sgn): Likewise.
2233
2234 * manual/string.texi (Copying and Concatenation): Add missing
2235 variable in concat example.
2236 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2237
2238 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2239
2240 [BZ #14103]
2241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2242 __builtin_clzl with __builtin_clzll.
2243
2244 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2245
2246 [BZ #14104]
2247 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2248 libc_freeres_ptr.
2249
2250 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2251
2252 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2253 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2254 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2256
2257 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2258
2259 * NEWS: Update ia64 info.
2260
2261 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2262
2263 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2264 used as bcopy.
2265
2266 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2267
2268 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2269 * sysdeps/unix/syscalls.list (dup3): Likewise.
2270 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2271 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2272
2273 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2274
2275 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2276 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2277
2278 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2281 thread pointer.
2282 (TLS_IE): Use mov/add instead of movq/addq to load thread
2283 pointer.
2284 (TLS_GD_PREFIX): New.
2285 (TLS_GD): Use it.
2286
2287 2012-05-11 David S. Miller <davem@davemloft.net>
2288
2289 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2290 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2291 (_FPU_SETCW): Likewise.
2292
2293 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2294
2295 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2296 is 32-byte aligned.
2297
2298 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2299
2300 [BZ #11837]
2301 * iconvdata/gb18030.c: Update tables.
2302 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2303 characters specially.
2304 (BODY for TO_LOOP): Add encoding of missing ranges.
2305
2306 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2307
2308 [BZ #13673]
2309 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2310 * sysdeps/mach/hurd/dup3.c: Likewise.
2311 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2312 * sysdeps/powerpc/memmove.c:: Likewise.
2313
2314 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2315
2316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2317 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2318
2319 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2320
2321 * elf/elf.h (R_X86_64_RELATIVE64): New.
2322 (R_X86_64_NUM): Updated.
2323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2324 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2325 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2326 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2327 tst-quad1pie tst-quad2pie
2328 (modules-names): Add tst-quadmod1 tst-quadmod2.
2329 ($(objpfx)tst-quad1): New dependency.
2330 ($(objpfx)tst-quad2): Likewise.
2331 ($(objpfx)tst-quad1pie): Likewise.
2332 ($(objpfx)tst-quad2pie): Likewise.
2333 * sysdeps/x86_64/tst-quad1.c: New file.
2334 * sysdeps/x86_64/tst-quad1pie.c: New file.
2335 * sysdeps/x86_64/tst-quad2.c: Likewise.
2336 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2337 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2338 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2339 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2340 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2341
2342 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2343
2344 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2345 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2346 * streams/stropts.h (t_scalar_t): Define type.
2347
2348 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2349 (_PATH_PRESERVE): Set to "/var/lib".
2350 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2351
2352 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2353 instead of int.
2354
2355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2356 if __dir_mkfile succeeded.
2357
2358 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2359 checking for _hurd_dtablesize. Unlock it right after having
2360 finished _hurd_dtable allocation.
2361
2362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2363
2364 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2365 * sysdeps/mach/hurd/configure: Regenerated.
2366 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2367 special-casing to...
2368 * sysdeps/gnu/configure.in: ... this new file.
2369 * sysdeps/unix/sysv/linux/configure: Regenerated.
2370 * sysdeps/gnu/configure: New generated file.
2371
2372 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2373 for Linux: use nsec instead of usec, as well as:
2374 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2375 members of type struct timespec.
2376 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2377 New macros.
2378 (struct stat64): Likewise.
2379 (_STATBUF_ST_NSEC): New macro.
2380 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2381
2382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2383 __strtoul_internal rather than strtoul.
2384
2385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2386
2387 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2388 and reject them.
2389
2390 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2391
2392 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2393 which preserves existing values.
2394 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2395
2396 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2397
2398 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2399 TIMEOUT values. Return EINVAL for NFDS values either negative or
2400 greater than FD_SETSIZE.
2401
2402 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2403
2404 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2405 allocated, call __vm_protect to finish enabling the existing space, and
2406 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2407 allocate the remainder.
2408
2409 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2410
2411 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2412 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2413
2414 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2415
2416 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2417 sysdeps/mach/hurd/readlink.c.
2418
2419 * posix/tst-sysconf.c (posix_options): Only use
2420 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2421 _POSIX_SYNCHRONIZED_IO when they are defined
2422 * sysdeps/mach/hurd/bits/posix_opt.h:
2423 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2424 (_XOPEN_REALTIME): Undefine macro.
2425 (_XOPEN_REALTIME_THREADS): Undefine macro.
2426 (_XOPEN_SHM): Undefine macro.
2427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2428 macro to -1.
2429 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2430 macro to -1.
2431 (_POSIX_ASYNC_IO): Undefine macro.
2432 (_POSIX_PRIORITIZED_IO): Undefine macro.
2433 (_POSIX_SPIN_LOCKS): Define macro to -1.
2434
2435 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2436 SA_NODEFER, SA_RESETHAND.
2437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2438 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2439 F_DUPFD_CLOEXEC.
2440
2441 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2442
2443 * elf/Makefile (pldd-modules): Define unconditionally.
2444
2445 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2446
2447 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2448
2449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2450
2451 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2452 Return ENOENT when name is empty.
2453 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2454
2455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2456
2457 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2458
2459 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2460
2461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2462
2463 Fix mlock in all cases except non-readable pages.
2464 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2465 instead of VM_PROT_ALL as parameter to __vm_wire function.
2466
2467 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2468 (__mkdir): When path is `/', just fail with EEXIST.
2469 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2470
2471 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2472
2473 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2474 <sys/uio.h> (for writev).
2475 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2476 and <sys/param.h> (for MIN).
2477
2478 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2479
2480 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2481 REQUESTED_TIME. Properly set the remaining time and return EINTR
2482 if interrupted.
2483
2484 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2485
2486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2487 Depend on against $(link-rpcuserlibs).
2488
2489 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2490
2491 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2492 (__libc_stack_end): Do not use attribute_relro.
2493 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2494 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2495 to libthread-provided value.
2496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2497 attribute_relro.
2498
2499 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2500
2501 [BZ #3748]
2502 * bits/libc-lock.h (__libc_once_get): New macro.
2503 * sysdeps/mach/bits/libc-lock.h: Likewise.
2504 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2506 instead of using implementation details.
2507
2508 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2509 * libio/freopen.c: Likewise.
2510 * libio/freopen64.c: Likewise.
2511 * misc/syslog.c: Likewise.
2512 * nscd/connections.c: Likewise.
2513 * nscd/netgroupcache.c: Likewise.
2514 * sysdeps/posix/getcwd.c: Likewise.
2515
2516 2012-05-10 Roland McGrath <roland@hack.frob.com>
2517
2518 * math/w_ilogbf.c: Add #include <limits.h>.
2519
2520 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2521
2522 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2523 path instead of returning without unlocking.
2524
2525 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2526 immediate-write ioctls.
2527 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2528
2529 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2530
2531 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2532 __builtin_frame_address instead of making assumptions about the
2533 location of the return address relative to DATA. Force early load of
2534 the return address.
2535 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2536 __builtin_frame_address.
2537
2538 dup3 for GNU Hurd.
2539 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2540 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2541 implement dup3 and do some further code clean-ups.
2542 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2544
2545 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2546
2547 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2548
2549 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2550 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2551 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2552 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2553 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2554 d->port.lock.
2555
2556 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2557 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2558 when handler == SIG_ERR, not when handler != SIG_ERR.
2559
2560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2561
2562 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2563 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2564 definitions.
2565
2566 accept4 for GNU Hurd.
2567 * include/sys/socket.h (__libc_accept4): New prototype.
2568 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2569 to implement __libc_accept4.
2570 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2571 __libc_accept4.
2572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2573
2574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2575 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2576 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2577 signal-defines.sym.
2578
2579 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2580
2581 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2582
2583 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2584
2585 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2586 assertion on O_CLOEXEC flag.
2587 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2588 * hurd/intern-fd.c: Likewise.
2589 * hurd/port2fd.c: Likewise.
2590
2591 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2592
2593 [BZ #3906]
2594 * bits/in.h (IPV6_PKTINFO): Define new macro.
2595 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2596
2597 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2598
2599 [BZ #13954]
2600 [BZ #13955]
2601 [BZ #13956]
2602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2604 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2608 * math/libm-test.inc (logb_test) : Additional logb tests.
2609
2610 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2611 Andreas Jaeger <aj@suse.de>
2612
2613 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2614 * configure: Regenerated.
2615 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2616 * config.make.in (link-obsolete-rpc): New substituted variable.
2617 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2618 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2619 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2620 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2621 so that libc.a contains the symbols.
2622 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2623 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2624 * sunrpc/auth_none.c: Likewise.
2625 * sunrpc/auth_unix.c: Likewise.
2626 * sunrpc/authdes_prot.c: Likewise.
2627 * sunrpc/authuxprot.c: Likewise.
2628 * sunrpc/clnt_gen.c: Likewise.
2629 * sunrpc/clnt_perr.c: Likewise.
2630 * sunrpc/clnt_raw.c: Likewise.
2631 * sunrpc/clnt_simp.c: Likewise.
2632 * sunrpc/clnt_tcp.c: Likewise.
2633 * sunrpc/clnt_udp.c: Likewise.
2634 * sunrpc/clnt_unix.c: Likewise.
2635 * sunrpc/des_crypt.c: Likewise.
2636 * sunrpc/des_soft.c: Likewise.
2637 * sunrpc/get_myaddr.c: Likewise.
2638 * sunrpc/key_call.c: Likewise.
2639 * sunrpc/key_prot.c: Likewise.
2640 * sunrpc/netname.c: Likewise.
2641 * sunrpc/pm_getmaps.c: Likewise.
2642 * sunrpc/pm_getport.c: Likewise.
2643 * sunrpc/pmap_clnt.c: Likewise.
2644 * sunrpc/pmap_prot.c: Likewise.
2645 * sunrpc/pmap_prot2.c: Likewise.
2646 * sunrpc/pmap_rmt.c: Likewise.
2647 * sunrpc/publickey.c: Likewise.
2648 * sunrpc/rpc_cmsg.c: Likewise.
2649 * sunrpc/rpc_common.c: Likewise.
2650 * sunrpc/rpc_dtable.c: Likewise.
2651 * sunrpc/rpc_prot.c: Likewise.
2652 * sunrpc/rpc_thread.c: Likewise.
2653 * sunrpc/rtime.c: Likewise.
2654 * sunrpc/svc.c: Likewise.
2655 * sunrpc/svc_auth.c: Likewise.
2656 * sunrpc/svc_raw.c: Likewise.
2657 * sunrpc/svc_run.c: Likewise.
2658 * sunrpc/svc_tcp.c: Likewise.
2659 * sunrpc/svc_udp.c: Likewise.
2660 * sunrpc/svc_unix.c: Likewise.
2661 * sunrpc/svcauth_des.c: Likewise.
2662 * sunrpc/xcrypt.c: Likewise.
2663 * sunrpc/xdr.c: Likewise.
2664 * sunrpc/xdr_array.c: Likewise.
2665 * sunrpc/xdr_float.c: Likewise.
2666 * sunrpc/xdr_intXX_t.c: Likewise.
2667 * sunrpc/xdr_mem.c: Likewise.
2668 * sunrpc/xdr_rec.c: Likewise.
2669 * sunrpc/xdr_ref.c: Likewise.
2670 * sunrpc/xdr_sizeof.c: Likewise.
2671 * sunrpc/xdr_stdio.c: Likewise.
2672
2673 2012-05-10 Roland McGrath <roland@hack.frob.com>
2674
2675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2676 change. Update copyright years.
2677
2678 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2679
2680 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2681
2682 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2683 Joseph Myers <joseph@codesourcery.com>
2684 Paul Pluzhnikov <ppluzhnikov@google.com>
2685
2686 [BZ #14012]
2687 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2688 requiring rpcgen.
2689 [cross-compiling] (extra-libs): Likewise.
2690 [cross-compiling] (extra-libs-others): Likewise.
2691 [cross-compiling] (librpcsvc-routines): Likewise.
2692 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2693 [cross-compiling] (omit-deps): Likewise.
2694 (sunrpc-CPPFLAGS): New variable.
2695 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2696 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2697 (cross-rpcgen-objs): New variable.
2698 (extra-objs): Append $(cross-rpcgen-objs).
2699 ($(cross-rpcgen-objs)): New rule.
2700 ($(objpfx)cross-rpcgen): Likewise.
2701 (rpcgen-cmd): Define to use $(built-program-file). Expand
2702 comment.
2703 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2704 ($(objpfx)x%.stmp): Likewise.
2705 * sunrpc/proto.h [IS_IN_build] (_): Define.
2706 [IS_IN_build] (_libc_intl_domainname): Likewise.
2707
2708 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2709
2710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2711 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2712 and R_X86_64_TPOFF64.
2713
2714 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2715
2716 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2717 sysdeps/unix/sysv/syscalls.list.
2718 (stime): Likewise.
2719 (utime): Likewise.
2720 * sysdeps/unix/sysv/syscalls.list: Remove file.
2721
2722 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2723
2724 [BZ #3440]
2725 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2726 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2727 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2728 (__LC_IDENTIFICATION): Make these macros useful in #if
2729 expressions, as required by C99.
2730
2731 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2732
2733 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2734 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2735 after this.
2736
2737 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 * stdlib/longlong.h: Updated from GCC.
2740
2741 2012-05-09 Andreas Jaeger <aj@suse.de>
2742
2743 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2744 default is first entry.
2745 (run_mode): Set type.
2746 (main): Remove informal message about syslog.
2747 (options): Fix typo.
2748
2749 [BZ #14053]
2750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2751 to asm.
2752 (lrint): Likewise.
2753 (llrintf): Likewise.
2754 (llrint): Likewise.
2755 (rint): Likewise.
2756 (rintf): Likewise.
2757 (nearbyint): Likewise.
2758 (nearbyintf): Likewise.
2759
2760 2012-05-09 Andreas Jaeger <aj@suse.de>
2761 Pedro Alves <palves@redhat.com>
2762
2763 * nscd/nscd.c (run_mode): Use enum.
2764 (main): Cleanup coding style issue.
2765
2766 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2767 Andreas Jaeger <aj@suse.de>
2768
2769 * nscd/nscd.c (go_background): Replaced with...
2770 (run_mode): ... this.
2771 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2772 (options): Add -F --foreground.
2773 (main): Implement it.
2774 (parse_opt): Parse it.
2775
2776 2012-05-09 Andreas Jaeger <aj@suse.de>
2777
2778 [BZ #14083]
2779 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2780 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2781 -Wconversion warning.
2782 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2783 Likewise.
2784
2785 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2786
2787 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2788 == 0.
2789 (LC_ALL): Use macro-int-constant.
2790 (LC_COLLATE): Likewise.
2791 (LC_CTYPE): Likewise.
2792 (LC_MESSAGES): Likewise.
2793 (LC_MONETARY): Likewise.
2794 (LC_NUMERIC): Likewise.
2795 (LC_TIME): Likewise.
2796 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2797 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2799 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2800 Specify type.
2801 [C99-based standards] (float_t): Expect type.
2802 [C99-based standards] (double_t): Expect type.
2803 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2804 type.
2805 [C99-based standards] (HUGE_VALL): Likewise.
2806 [C99-based standards] (INFINITY): Likewise.
2807 [C99-based standards] (NAN): Likewise.
2808 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2809 [C99-based standards] (FP_NAN): Likewise.
2810 [C99-based standards] (FP_NORMAL): Likewise.
2811 [C99-based standards] (FP_SUBNORMAL): Likewise.
2812 [C99-based standards] (FP_ZERO): Likewise.
2813 [C99-based standards] (FP_FAST_FMA): Use
2814 optional-macro-int-constant. Specify type. Require == 1.
2815 [C99-based standards] (FP_FAST_FMAF): Likewise.
2816 [C99-based standards] (FP_FAST_FMAL): Likewise.
2817 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2818 [C99-based standards] (FP_ILOGBNAN): Likewise.
2819 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2820 Specify type.
2821 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2822 [C99-based standards] (math_errhandling): Specify type.
2823 [ISO99 || ISO11] (signgam): Do not allow.
2824 [non-C99-based standards] (copysignf): Do not allow.
2825 [non-C99-based standards] (exp2f): Likewise.
2826 [non-C99-based standards] (log2f): Likewise.
2827 [non-C99-based standards] (modff): Allow.
2828 [non-C99-based standards] (erff): Do not allow.
2829 [non-C99-based standards] (erfcf): Likewise.
2830 [non-C99-based standards] (gammaf): Likewise.
2831 [non-C99-based standards] (hypotf): Likewise.
2832 [non-C99-based standards] (j0f): Likewise.
2833 [non-C99-based standards] (j1f): Likewise.
2834 [non-C99-based standards] (jnf): Likewise.
2835 [non-C99-based standards] (lgammaf): Likewise.
2836 [non-C99-based standards] (tgammaf): Likewise.
2837 [non-C99-based standards] (y0f): Likewise.
2838 [non-C99-based standards] (y1f): Likewise.
2839 [non-C99-based standards] (ynf): Likewise.
2840 [non-C99-based standards] (isnanf): Likewise.
2841 [non-C99-based standards] (acoshf): Likewise.
2842 [non-C99-based standards] (asinhf): Likewise.
2843 [non-C99-based standards] (atanhf): Likewise.
2844 [non-C99-based standards] (cbrtf): Likewise.
2845 [non-C99-based standards] (expm1f): Likewise.
2846 [non-C99-based standards] (ilogbf): Likewise.
2847 [non-C99-based standards] (log1pf): Likewise.
2848 [non-C99-based standards] (logbf): Likewise.
2849 [non-C99-based standards] (nextafterf): Likewise.
2850 [non-C99-based standards] (remainderf): Likewise.
2851 [non-C99-based standards] (rintf): Likewise.
2852 [non-C99-based standards] (scalbf): Likewise.
2853 [non-C99-based standards] (copysignl): Likewise.
2854 [non-C99-based standards] (exp2l): Likewise.
2855 [non-C99-based standards] (log2l): Likewise.
2856 [non-C99-based standards] (modfl): Allow.
2857 [non-C99-based standards] (erfl): Do not allow.
2858 [non-C99-based standards] (erfcl): Likewise.
2859 [non-C99-based standards] (gammal): Likewise.
2860 [non-C99-based standards] (hypotl): Likewise.
2861 [non-C99-based standards] (j0l): Likewise.
2862 [non-C99-based standards] (j1l): Likewise.
2863 [non-C99-based standards] (jnl): Likewise.
2864 [non-C99-based standards] (lgammal): Likewise.
2865 [non-C99-based standards] (tgammal): Likewise.
2866 [non-C99-based standards] (y0l): Likewise.
2867 [non-C99-based standards] (y1l): Likewise.
2868 [non-C99-based standards] (ynl): Likewise.
2869 [non-C99-based standards] (isnanl): Likewise.
2870 [non-C99-based standards] (acoshl): Likewise.
2871 [non-C99-based standards] (asinhl): Likewise.
2872 [non-C99-based standards] (atanhl): Likewise.
2873 [non-C99-based standards] (cbrtl): Likewise.
2874 [non-C99-based standards] (expm1l): Likewise.
2875 [non-C99-based standards] (ilogbl): Likewise.
2876 [non-C99-based standards] (log1pl): Likewise.
2877 [non-C99-based standards] (logbl): Likewise.
2878 [non-C99-based standards] (nextafterl): Likewise.
2879 [non-C99-based standards] (remainderl): Likewise.
2880 [non-C99-based standards] (rintl): Likewise.
2881 [non-C99-based standards] (scalbl): Likewise.
2882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2883 [non-C99-based standards] (FP_*): Do not allow.
2884 [C99-based standards] (FP_*): Change to
2885 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2886 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2887 allow.
2888 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2889 (SIG_ERR): Likewise.
2890 [X/Open-based standards] (SIG_HOLD): Likewise.
2891 (SIG_IGN): Likewise.
2892 (SIGABRT): Use macro-int-constant. Specify type. Require
2893 positive value.
2894 (SIGFPE): Likewise.
2895 (SIGILL): Likewise.
2896 (SIGINT): Likewise.
2897 (SIGSEGV): Likewise.
2898 (SIGTER): Likewise.
2899 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2900 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2901 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2902 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2903 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2904 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2905 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2906 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2907 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2908 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2909 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2910 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2911 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2912 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2913 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2914 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2915 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2916 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2917 [X/Open-based standards] (SIGTRAP): Likewise.
2918 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2919 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2920 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2921 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2922 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2923 allow.
2924
2925 2012-05-08 Ian Wienand <ianw@vmware.com>
2926
2927 [BZ #14080]
2928 * time/tzset.c (__tzset_parse_tz): Update default rules for
2929 daylight time changes in the Energy Policy Act of 2005.
2930
2931 2012-05-09 Andreas Jaeger <aj@suse.de>
2932
2933 [BZ #13983]
2934 * elf/ldconfig.c (parse_conf): Change string to make clear that
2935 ldconfig only issued a warning if ld.so.conf does not exist.
2936
2937 2012-05-08 David S. Miller <davem@davemloft.net>
2938
2939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2940 movxtod instead of popping the value on the stack.
2941
2942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2943
2944 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2945
2946 * config.h.in: Add HAVE_ARM_PCS_VFP.
2947
2948 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2949
2950 [BZ #13979]
2951 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2952 checking but the checks are disabled for any reason.
2953
2954 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2955
2956 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2957 and ELF64_R_TYPE with ELFW(R_TYPE).
2958
2959 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2960
2961 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2962 (ulimit): Likewise.
2963
2964 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2965 (settimeofday): Likewise.
2966
2967 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2968
2969 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2970 a struct th_u2 inside the union, and move tu_block/tu_code into
2971 a new th_u3 union of tu_block/tu_code inside of that. Move
2972 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2973 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2974 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2975 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2976 (th_stuff): Change to th_u1.tu_stuff.
2977 (th_data): Define.
2978 (th_msg): Change to th_u1.th_u2.tu_data.
2979
2980 2012-05-07 David S. Miller <davem@davemloft.net>
2981
2982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2983
2984 [BZ #14074]
2985 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2986 (SETUP_PIC_REG): Use it.
2987 (SETUP_PIC_REG_LEAF): Use it.
2988
2989 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2990
2991 [BZ #13885]
2992 [BZ #13923]
2993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2994 USE_AS_EXPM1L.
2995 (EXPL_FINITE): Likewise.
2996 (FLDLOG): Likewise.
2997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2998 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2999 e_expl.S.
3000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3001 USE_AS_EXPM1L.
3002 (EXPL_FINITE): Likewise.
3003 (FLDLOG): Likewise.
3004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
3005 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
3006 e_expl.S.
3007 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
3008 test of -max_value argument for long double.
3009 * sysdeps/i386/fpu/libm-test-ulps: Update.
3010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3011
3012 2012-05-06 David S. Miller <davem@davemloft.net>
3013
3014 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
3015 quad soft-float symbols whose references which are compiler
3016 generated.
3017 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
3018
3019 2012-05-06 Joseph Myers <joseph@codesourcery.com>
3020
3021 [BZ #13884]
3022 [BZ #13914]
3023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3024 USE_AS_EXP10L.
3025 (EXPL_FINITE): Likewise.
3026 (FLDLOG): Likewise.
3027 (c0): Likewise.
3028 (c1): Likewise.
3029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3030 Adjust comments for base varying.
3031 (__expl_finite): Change alias to EXPL_FINITE.
3032 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
3033 e_expl.S.
3034 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
3035 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3037 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
3038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
3039 USE_AS_EXP10L.
3040 (EXPL_FINITE): Likewise.
3041 (FLDLOG): Likewise.
3042 (c0): Likewise.
3043 (c1): Likewise.
3044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
3045 Adjust comments for base varying.
3046 (__expl_finite): Change alias to EXPL_FINITE.
3047 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
3048 tests for bugs.
3049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3050
3051 [BZ #14064]
3052 * math/libm-test.inc (check_float_internal): Correct ulp
3053 calculation for subnormal expected results.
3054
3055 2012-05-06 Andreas Jaeger <aj@suse.de>
3056
3057 * Makeconfig (+math-flags): New, set to -frounding-math.
3058 (+cflags): Add +math-flags so that all of glibc gets compiled with
3059 it.
3060
3061 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
3062
3063 2012-05-05 Joseph Myers <joseph@codesourcery.com>
3064
3065 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
3066 Disable one test.
3067
3068 [BZ #13787]
3069 [BZ #13922]
3070 [BZ #14036]
3071 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
3072 (__ieee754_expl): Allow for and saturate large arguments.
3073 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
3074 (u_threshold): Likewise.
3075 (__exp): Call __ieee754_exp before checking for overflow and
3076 underflow.
3077 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
3078 (u_threshold): Likewise.
3079 (__expf): Call __ieee754_expf before checking for overflow and
3080 underflow.
3081 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
3082 (u_threshold): Likewise.
3083 (__expl): Call __ieee754_expl before checking for overflow and
3084 underflow.
3085 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
3086 (__ieee754_expl): Allow for and saturate large arguments.
3087 * math/libm-test.inc (exp_test): Add another test. Do not allow
3088 missing overflow exception on overflow.
3089 (expm1_test): Do not allow missing overflow exception on overflow.
3090
3091 * sysdeps/i386/fpu/e_expl.c: Move to ...
3092 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
3093 rather than using inline asm.
3094 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
3095 * sysdeps/x86_64/fpu/e_expl.S: Copy from
3096 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
3097
3098 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
3099 (nice): Likewise.
3100 (poll): Likewise.
3101 (signal): Likewise.
3102 (time): Likewise.
3103 (times): Likewise.
3104
3105 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3106
3107 * sysdeps/unix/syscalls.list (adjtime): Add entry from
3108 sysdeps/unix/common/syscalls.list.
3109 (fchmod): Likewise.
3110 (fchown): Likewise.
3111 (ftruncate): Likewise.
3112 (getrusage): Likewise.
3113 (gettimeofday): Likewise.
3114 (setpgid): Likewise.
3115 (setregid): Likewise.
3116 (setreuid): Likewise.
3117 (sigaction): Likewise.
3118 (truncate): Likewise.
3119 (vhangup): Likewise.
3120 * sysdeps/unix/common/syscalls.list: Remove file.
3121 * sysdeps/unix/bsd/Implies: Don't include unix/common.
3122 * sysdeps/unix/sysv/linux/Implies: Likewise.
3123
3124 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3125
3126 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3128 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3129 Moved to ...
3130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3131 Here.
3132 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3133 to ...
3134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3135 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3136 to ...
3137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3139 to ...
3140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3142 to ...
3143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3144 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3145 to ...
3146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3148 to ...
3149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3151 to ...
3152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3153 Here.
3154 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3155 to ...
3156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3157 Here.
3158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3159 to ...
3160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3162 Moved to ...
3163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3164 Here.
3165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3166 to ...
3167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3168
3169 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3170
3171 * sysdeps/unix/common/bits/dirent.h: Remove file.
3172 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3173
3174 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3175 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3176 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3177 * sysdeps/unix/bsd/isatty.c: Likewise.
3178 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3179 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3180 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3181
3182 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3183
3184 [BZ #13563]
3185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3186 long double comparison inaccuracies.
3187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3189
3190 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3191
3192 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3194
3195 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3196
3197 [BZ #14049]
3198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3199 nonzero digits before rounding a hex value.
3200 * stdlib/tst-strtod.c (tests): Add another test.
3201
3202 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3203
3204 * sysdeps/s390/fpu/libm-test-ulps: Update.
3205
3206 2012-05-03 Andreas Jaeger <aj@suse.de>
3207
3208 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3209 does not get optimized out.
3210 (malloc_opt_barrier): New.
3211
3212 2012-05-03 Andreas Jaeger <aj@suse.de>
3213 Roland McGrath <roland@hack.frob.com>
3214
3215 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3216 intermediate file deletion.
3217 (generated): Add .symlist files.
3218
3219 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3220
3221 [BZ #13775]
3222 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3223 Redirect under this condition.
3224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3225 [__USE_GNU] (__dprintf_chk): Not under this condition.
3226 [__USE_GNU] (__vdprintf_chk): Likewise.
3227 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3228 under this condition.
3229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3230 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3231 [__USE_XOPEN2K8] (vdprintf): Likewise.
3232 [__USE_GNU] (__dprintf_chk): Not under this condition.
3233 [__USE_GNU] (__vdprintf_chk): Likewise.
3234 [__USE_GNU] (dprintf): Likewise.
3235 [__USE_GNU] (vdprintf): Likewise.
3236
3237 2012-05-03 Roland McGrath <roland@hack.frob.com>
3238
3239 * elf/Makefile (common-generated): Set this instead of generated for
3240 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3241 $(all-built-dso)-derived lists.
3242
3243 2012-05-03 Andreas Jaeger <aj@suse.de>
3244
3245 * sysdeps/i386/fpu/libm-test-ulps: Update.
3246
3247 * FAQ: Removed.
3248 * FAQ.in: Likewise.
3249 * scripts/gen-FAQ.pl: Likewise.
3250 * manual/install.texi (Installation): Point to online location of
3251 FAQ.
3252 * Makefile (files-for-dist): Remove FAQ.
3253 (FAQ): Remove.
3254
3255 2012-05-02 Allan McRae <allan@archlinux.org>
3256
3257 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3258 (LDFLAGS-reldepmod5.so): Likewise.
3259 (LDFLAGS-reldep6mod1.so): Likewise.
3260 (LDFLAGS-reldep6mod4.so): Likewise.
3261 (LDFLAGS-reldep8mod3.so): Likewise.
3262 (LDFLAGS-unload4mod1.so): Likewise.
3263 (LDFLAGS-unload4mod2.so): Likewise.
3264 (LDFLAGS-tst-initorder): Likewise.
3265 (LDFLAGS-tst-initordera2.so): Likewise.
3266 (LDFLAGS-tst-initordera3.so): Likewise.
3267 (LDFLAGS-tst-initordera4.so): Likewise.
3268 (LDFLAGS-tst-initorderb2.so): Likewise.
3269 (LDFLAGS-noload): Likewise.
3270 (LDFLAGS-next): Likewise.
3271 (LDFLAGS-order2mod1.so): Likewise.
3272 (LDFLAGS-order2mod2.so): Likewise.
3273 (LDFLAGS-tst-initorder2): Likewise.
3274 (LDFLAGS-tst-initorder2a.so): Likewise.
3275 (LDFLAGS-tst-initorder2b.so): Likewise.
3276 (LDFLAGS-tst-initorder2c.so): Likewise.
3277 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3278
3279 2012-05-02 David S. Miller <davem@davemloft.net>
3280
3281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3282
3283 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3284
3285 [BZ #14055]
3286 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3287
3288 2012-05-02 Andreas Jaeger <aj@suse.de>
3289
3290 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3291 since we manipulate rounding mode.
3292 (CPPFLAGS-test-idouble.c): Likewise.
3293 (CPPFLAGS-test-ifloat.c): Likewise.
3294 (CFLAGS-test-ldouble.c): Likewise.
3295 (CFLAGS-test-double.c): Likewise.
3296 (CFLAGS-test-float.c): Likewise.
3297 (CFLAGS-test-misc.c): Likewise.
3298 (CFLAGS-test-test-fenv.c): Likewise.
3299
3300 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3301
3302 [BZ #2550]
3303 [BZ #2570]
3304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3305 comparisons to determine direction to adjust input.
3306
3307 2012-05-01 Roland McGrath <roland@hack.frob.com>
3308
3309 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3310 output to the target.
3311
3312 * scripts/localplt.awk: New file.
3313 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3314 (check-localplt-CFLAGS): Variable removed.
3315 ($(all-built-dso:=.jmprel)): New static pattern rule.
3316 (generated): Add those targets.
3317 (localplt-built-dso): New variable.
3318 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3319
3320 * elf/check-localplt.c: File removed.
3321
3322 * scripts/check-execstack.awk: New file.
3323 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3324 (check-execstack-CFLAGS): Variable removed.
3325 ($(objpfx)check-execstack.h): Target removed.
3326 ($(objpfx)execstack-default): New target.
3327 (generated): Add that instead of check-execstack.h.
3328 ($(all-built-dso:=.phdr)): New static pattern rule.
3329 (generated): Add those targets.
3330 * elf/check-execstack.c: File removed.
3331
3332 * scripts/check-textrel.awk: New file.
3333 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3334 (check-textrel-CFLAGS): Variable removed.
3335 (all-built-dso): Use := to define.o
3336 ($(all-built-dso:=.dyn)): New static pattern rule.
3337 (generated): Add those targets.
3338 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3339 * config.make.in (READELF): New substituted variable.
3340 * elf/check-textrel.c: File removed.
3341
3342 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3343
3344 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3345 allow.
3346 * conform/data/ctype.h-data [C99-based standards] (isblank):
3347 Expect function.
3348 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3349 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3351 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3352 Specify type. Require positive value.
3353 (EILSEQ): Likewise.
3354 (ERANGE): Likewise.
3355 [ISO || POSIX] (EILSEQ): Do not expect.
3356 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3357 Specify type. Require positive value.
3358 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3359 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3360 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3361 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3362 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3363 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3364 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3365 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3366 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3367 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3368 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3369 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3370 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3371 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3372 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3373 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3374 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3375 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3376 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3377 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3378 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3379 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3380 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3381 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3382 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3383 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3384 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3385 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3386 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3387 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3388 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3389 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3390 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3391 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3392 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3393 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3394 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3395 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3396 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3397 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3398 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3399 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3400 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3401 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3402 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3403 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3404 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3405 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3406 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3407 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3408 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3409 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3410 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3411 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3412 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3413 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3414 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3415 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3416 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3417 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3418 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3419 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3420 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3421 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3422 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3423 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3424 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3425 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3426 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3427 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3428 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3429 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3430 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3431 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3432 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3433 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3434 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3435 Require >= 2.
3436 (FLT_ROUNDS): Expect as macro, not constant.
3437 (FLT_MANT_DIG): Use macro-int-constant.
3438 (DBL_MANT_DIG): Likewise.
3439 (LDBL_MANT_DIG): Likewise.
3440 (FLT_DIG): Likewise.
3441 (DBL_DIG): Likewise.
3442 (LDBL_DIG): Likewise.
3443 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3444 (DBL_MIN_EXP): Likewise.
3445 (LDBL_MIN_EXP): Likewise.
3446 (FLT_MAX_EXP): Use macro-int-constant.
3447 (DBL_MAX_EXP): Likewise.
3448 (LDBL_MAX_EXP): Likewise.
3449 (FLT_MAX_10_EXP): Likewise.
3450 (DBL_MAX_10_EXP): Likewise.
3451 (LDBL_MAX_10_EXP): Likewise.
3452 (FLT_MAX): Use macro-constant.
3453 (DBL_MAX): Likewise.
3454 (LDBL_MAX): Likewise.
3455 (FLT_EPSILON): Use macro-constant. Give upper bound.
3456 (DBL_EPSILON): Likewise.
3457 (LDBL_EPSILON): Likewise.
3458 (FLT_MIN): Likewise.
3459 (DBL_MIN): Likewise.
3460 (LDBL_MIN): Likewise.
3461 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3462 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3463 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3464 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3465 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3466 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3467 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3468 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3469 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3470 [ISO11] (FLT_TRUE_MIN): Likewise.
3471 [ISO11] (LDBL_TRUE_MIN): Likewise.
3472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3473 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3474 (SCHAR_MIN): Use macro-int-constant. Specify type.
3475 (SCHAR_MAX): Likewise.
3476 (UCHAR_MAX): Likewise.
3477 (CHAR_MIN): Likewise.
3478 (CHAR_MAX): Likewise.
3479 (MB_LEN_MAX): Use macro-int-constant.
3480 (SHRT_MIN): Use macro-int-constant. Specify type.
3481 (SHRT_MAX): Likewise.
3482 (USHRT_MAX): Likewise.
3483 (INT_MAX): Likewise.
3484 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3485 bound negative.
3486 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3487 bound with "U".
3488 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3489 bound with "L".
3490 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3491 bound negative. Suffix upper bound with "L".
3492 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3493 bound with "UL".
3494 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3495 Specify type.
3496 [C99-based standards] (LLONG_MAX): Likewise.
3497 [C99-based standards] (ULLONG_MAX): Likewise.
3498 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3499 == 0.
3500 [ISO11] (max_align_t): Require type.
3501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3502
3503 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3504 from $CFLAGS, without defining away __attribute__ calls.
3505 (checknamespace): Use $CFLAGS_namespace.
3506
3507 * conform/conformtest.pl (@keywords): Only include C99 keywords
3508 for standards based on C99 or C11.
3509
3510 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3511 Disable tests.
3512 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3513 UNIX98]: Likewise.
3514
3515 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3516 usability of symbols in #if.
3517
3518 * conform/conformtest.pl: If macro or constant types start
3519 "promoted:", expect the symbol to be of the following type
3520 promoted by the integer promotions.
3521
3522 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3523 in one place. Also handle "macro-constant".
3524
3525 * conform/conformtest.pl: Only accept expected macro values with
3526 "==". Parse all "macro" lines in one place.
3527 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3528
3529 * conform/conformtest.pl: Handle braced types on "constant" lines
3530 instead of handling "typed-constant".
3531 * conform/data/signal.h-data: Use "constant" instead of
3532 "typed-constant".
3533
3534 * conform/conformtest.pl: Handle "optional-" at start of lines in
3535 one place rather than duplicating several cases. Handle each
3536 format of "macro" line with initial "optional-".
3537
3538 * conform/conformtest.pl: Only accept expected constant or
3539 optional-constant values with "==". Parse all "constant" lines in
3540 one place. Parse all "optional-constant" lines in one place.
3541 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3542 * conform/data/fmtmsg.h-data: Likewise.
3543 * conform/data/netinet/in.h-data: Likewise.
3544 * conform/data/tar.h-data: Likewise.
3545 * conform/data/limits.h-data: Use "==" form on "constant" and
3546 "optional-constant" lines.
3547
3548 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3549 Use -std=c99 for XOPEN2K.
3550 (@knownproblems): Remove.
3551 (newtoken): Don't check %isknown.
3552
3553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3554 Do not expect macro.
3555 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3567 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3568 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3585 [XPG3] (acosh): Likewise.
3586 [XPG3] (asinh): Likewise.
3587 [XPG3] (atanh): Likewise.
3588 [XPG3] (cbrt): Likewise.
3589 [XPG3] (expm1): Likewise.
3590 [XPG3] (ilogb): Likewise.
3591 [XPG3] (log1p): Likewise.
3592 [XPG3] (logb): Likewise.
3593 [XPG3] (nextafter): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3596 [XPG3] (remainder): Likewise.
3597 [XPG3] (rint): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3605 [UNIX98 || XOPEN2K] (scalb): Expect.
3606 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3607 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3620 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3621 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3622 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3623 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3624 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3625 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3626 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3627 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3628 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3629 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3630 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3631 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3632 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3633 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3634 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3635 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3636 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3637 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3638 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3639 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3640 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3641 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3642 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3643 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3644 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3645 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3646 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3647 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3648 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3649 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3650 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3651 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3652 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3653 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3654 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3655 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3656 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3657 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3658 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3659 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3660 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3661 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3662 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3663 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3664 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3665 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3666 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3667 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3668 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3669 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3670 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3671 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3672 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3673 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3674 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3675 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3676 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3677 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3678 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3679 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3680 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3681 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3682 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3683 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3684 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3685 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3686 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3687 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3688 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3689 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3690 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3691 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3692 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3693 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3694 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3695 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3696 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3697 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3698 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3699 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3700 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3701 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3702 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3703 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3704 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3705 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3706 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3707 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3708 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3709 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3710 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3711 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3712 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3713 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3714 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3715 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3716 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3717 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3718 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3719 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3720 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3721 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3722 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3723 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3724 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3725 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3726 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3727 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3728 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3729 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3730 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3731 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3732 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3733 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3734 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3735 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3736 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3737 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3738 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3739 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3740 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3741 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3742 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3743
3744 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3745 _XOPEN_SOURCE_EXTENDED for XPG4.
3746
3747 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3748
3749 * Makeconfig (localtime): Remove variable.
3750 (inst_localtime-file): Likewise.
3751
3752 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3753
3754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3755 Update.
3756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3757 Update.
3758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3759 Update.
3760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3761 Update.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3763 Update.
3764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3765 Update.
3766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3767 Update.
3768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3769 Update.
3770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3771 Update.
3772
3773 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3774
3775 [BZ #2550]
3776 [BZ #2570]
3777 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3778 comparisons to determine direction to adjust input.
3779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3780 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3782 Likewise.
3783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3784 Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3786 Likewise.
3787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3789 Likewise.
3790 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3791 Likewise.
3792 * math/libm-test.inc (nexttoward_test): Add more tests.
3793
3794 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3795
3796 [BZ #14040]
3797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3798 in version GLIBC_2.1, not GLIBC_2.0.
3799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3800 Likewise.
3801
3802 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3803
3804 [BZ #13942]
3805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3806 (1 - x) * (1 + x).
3807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3808 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3809 * math/libm-test.inc (acos_test): Add more tests.
3810 (asin_test): Likewise.
3811 * sysdeps/i386/fpu/libm-test-ulps: Update.
3812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3813
3814 [BZ #14034]
3815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3816 of square root.
3817 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3819 * math/libm-test.inc (acos_test_tonearest): New function.
3820 (acos_test_towardzero): Likewise.
3821 (acos_test_downward): Likewise.
3822 (acos_test_upward): Likewise.
3823 (asin_test_tonearest): Likewise.
3824 (asin_test_towardzero): Likewise.
3825 (asin_test_downward): Likewise.
3826 (asin_test_upward): Likewise.
3827 (main): Call the new functions.
3828 * sysdeps/i386/fpu/libm-test-ulps: Update.
3829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3830
3831 [BZ #13884]
3832 [BZ #13924]
3833 * math/e_exp10.c: Include <float.h>.
3834 (__ieee754_exp10): Handle underflow here rather than multiplying
3835 large negative argument by M_LN10.
3836 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3837 of __ieee754_expf.
3838 * math/e_exp10l.c: Include <float.h>.
3839 (__ieee754_exp10l): Handle underflow here rather than multiplying
3840 large negative argument by M_LN10l.
3841 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3842 spurious overflow exception on underflow.
3843
3844 2012-04-29 Marek Polacek <polacek@redhat.com>
3845
3846 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3847 (__fortify_function): New macro.
3848 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3849 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3850 __extern_always_inline.
3851 * libio/bits/stdio2.h: Likewise.
3852 * libio/bits/stdio.h: Likewise.
3853 * string/string.h: Likewise.
3854 * string/bits/string3.h: Likewise.
3855 * include/stdio.h: Likewise.
3856 * stdlib/bits/stdlib.h: Likewise.
3857 * stdlib/stdlib.h: Likewise.
3858 * rt/bits/mqueue2.h: Likewise.
3859 * rt/mqueue.h: Likewise.
3860 * posix/bits/unistd.h: Likewise.
3861 * posix/unistd.h: Likewise.
3862 * io/bits/poll2.h: Likewise.
3863 * io/bits/fcntl2.h: Likewise.
3864 * io/fcntl.h: Likewise.
3865 * io/sys/poll.h: Likewise.
3866 * misc/bits/syslog.h: Likewise.
3867 * misc/bits/syslog-ldbl.h: Likewise.
3868 * misc/sys/syslog.h: Likewise.
3869 * socket/bits/socket2.h: Likewise.
3870 * socket/sys/socket.h: Likewise.
3871 * debug/tst-chk1.c: Likewise.
3872 * wcsmbs/bits/wchar2.h: Likewise.
3873 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3874 * wcsmbs/wchar.h: Likewise.
3875
3876 2012-04-29 Andreas Jaeger <aj@suse.de>
3877
3878 * Makerules (tests): Remove enable-check-abi protection.
3879 (check-abi-warn): Remove.
3880 (check-abi-%): Remove check-abi-warn usage.
3881
3882 * configure.in: Remove check-abi configure option.
3883 * configure: Regenerated.
3884 * config.make.in (enable-check-abi): Remove.
3885
3886 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3887
3888 [BZ #14033]
3889 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3890 double functions to double *_finite functions.
3891
3892 [BZ #13941]
3893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3894 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3895 LDBL_MIN_EXP.
3896 * stdio-common/Makefile (tests): Add tst-sprintf3.
3897 * stdio-common/tst-sprintf3.c: New file.
3898
3899 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3900 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3901
3902 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3903
3904 * conform/conformtest.pl: Remove duplicate typed-constant
3905 handling.
3906
3907 2012-04-28 David S. Miller <davem@davemloft.net>
3908
3909 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3910 (check-abi-%): Remove AWK script prerequisite and explicit
3911 abilist directory.
3912 (check-abi): Rewrite to just diff the symlist with the abilist.
3913 (config-tls, config-abi-config): Delete, no longer used.
3914 (update-abi-%): Remove AWK script and explicit abilist directory.
3915 (update-abi): Rewrite to simply compare and conditionally copy the
3916 symlist and the sysdep abilist file. Remove update-abi-config
3917 checks.
3918 * abilist/ld.abilist: Remove.
3919 * abilist/libBrokenLocale.abilist: Remove.
3920 * abilist/libanl.abilist: Remove.
3921 * abilist/libcrypt.abilist: Remove.
3922 * abilist/libdl.abilist: Remove.
3923 * abilist/librt.abilist: Remove.
3924 * abilist/libthread_db.abilist: Remove.
3925 * abilist/libutil.abilist: Remove.
3926 * scripts/extract-abilist.awk: Remove.
3927 * scripts/merge-abilist.awk: Remove.
3928 * sysdeps/generic/libcidn.abilist: New file.
3929 * sysdeps/generic/libnss_compat.abilist: New file.
3930 * sysdeps/generic/libnss_db.abilist: New file.
3931 * sysdeps/generic/libnss_dns.abilist: New file.
3932 * sysdeps/generic/libnss_files.abilist: New file.
3933 * sysdeps/generic/libnss_hesiod.abilist: New file.
3934 * sysdeps/generic/libnss_nis.abilist: New file.
3935 * sysdeps/generic/libnss_nisplus.abilist: New file.
3936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3937 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3939 file.
3940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3941 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3942 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3944 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3945 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3946 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3947 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3948 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3949 file.
3950 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3951 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3953 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3954 file.
3955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3956 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3958 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3960 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3961 file.
3962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3965 file.
3966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3968 New file.
3969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3970 New file.
3971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3972 New file.
3973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3974 New file.
3975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3976 New file.
3977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3978 New file.
3979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3980 New file.
3981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3982 New file.
3983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3984 New file.
3985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3986 New file.
3987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3988 New file.
3989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3990 New file.
3991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3992 New file.
3993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3994 file.
3995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3996 New file.
3997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3998 New file.
3999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
4000 file.
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
4002 New file.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
4004 New file.
4005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
4006 file.
4007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
4008 New file.
4009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4010 New file.
4011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
4012 New file.
4013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
4014 New file.
4015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
4016 New file.
4017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
4018 New file.
4019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
4020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
4021 file.
4022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4023 New file.
4024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
4025 file.
4026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
4027 file.
4028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
4029 file.
4030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
4031 file.
4032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
4033 file.
4034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4035 New file.
4036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
4037 file.
4038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
4039 file.
4040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4041 New file.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
4043 file.
4044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
4045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
4046 file.
4047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4048 New file.
4049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
4050 file.
4051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
4052 file.
4053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
4054 file.
4055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
4056 file.
4057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
4058 file.
4059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4060 New file.
4061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
4062 file.
4063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
4064 file.
4065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4066 New file.
4067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
4068 file.
4069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
4070 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
4071 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
4072 file.
4073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
4074 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
4075 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
4076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
4077 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
4078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
4079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
4080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
4081 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
4082 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
4083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
4084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
4085 file.
4086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
4087 New file.
4088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
4089 file.
4090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
4091 file.
4092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
4093 file.
4094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
4095 file.
4096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
4097 file.
4098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4099 New file.
4100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
4101 New file.
4102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
4103 file.
4104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
4105 New file.
4106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
4107 file.
4108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
4109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
4110 file.
4111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
4112 New file.
4113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
4114 file.
4115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
4116 file.
4117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
4118 file.
4119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
4120 file.
4121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
4122 file.
4123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4124 New file.
4125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4126 New file.
4127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4128 file.
4129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4130 New file.
4131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4132 file.
4133
4134 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4135
4136 * conform/conformtest.pl: Fix typo in handling typed-constant from
4137 allow-header.
4138
4139 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4140
4141 * README: Cut down references to pre-2.6 Linux kernels and
4142 Linuxthreads. Update lists of configurations in libc and ports
4143 and sort alphabetically. Say "or newer" with Linux kernel version
4144 requirements.
4145
4146 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4147
4148 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4149
4150 [BZ #887]
4151 * math/libm-test.inc (logb_test_downward): New test to expose
4152 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4153 rounding mode.
4154
4155 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4156
4157 [BZ #14027]
4158 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4159 to be done.
4160 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4161 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4162
4163 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4164
4165 * sysdeps/unix/i386/brk.S: Remove file.
4166 * sysdeps/unix/i386/dl-brk.S: Likewise.
4167 * sysdeps/unix/i386/pipe.S: Likewise.
4168 * sysdeps/unix/i386/sigreturn.S: Likewise.
4169 * sysdeps/unix/i386/syscall.S: Likewise.
4170 * sysdeps/unix/i386/vfork.S: Likewise.
4171 * sysdeps/unix/i386/wait.S: Likewise.
4172
4173 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4174 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4175
4176 * configure.in (arm*-none*): Do not allow without
4177 --enable-hacker-mode.
4178 (netbsd*): Remove case setting base_os.
4179 (386bsd*): Likewise.
4180 (freebsd*): Likewise.
4181 (bsdi*): Likewise.
4182 (osf*): Likewise.
4183 (sunos*): Likewise.
4184 (ultrix*): Likewise.
4185 (newsos*): Likewise.
4186 (dynix*): Likewise.
4187 (*bsd*): Likewise.
4188 (sysv*): Likewise.
4189 (isc*): Likewise.
4190 (esix*): Likewise.
4191 (sco*): Likewise.
4192 (minix*): Likewise.
4193 (irix4*): Likewise.
4194 (irix6*): Likewise.
4195 (solaris[2-9]*): Likewise.
4196 (none): Likewise.
4197 * configure: Regenerated.
4198
4199 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4200
4201 [BZ #11521]
4202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4203 overflow or cancellation in calculating denominator.
4204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4206 down expression to avoid unexpected rounding in newer GCCs.
4207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4208
4209 2012-04-26 David S. Miller <davem@davemloft.net>
4210
4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4212 long-double compat symbols.
4213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4226
4227 2012-04-25 David S. Miller <davem@davemloft.net>
4228
4229 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4230 HWCAP_* values only after the memory barriers have been defined.
4231 (atomic_full_barrier): Define.
4232 (atomic_read_barrier): Define.
4233 (atomic_write_barrier): Define.
4234
4235 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4236
4237 * shlib-versions: Add libgcc_s version information.
4238 * sysdeps/generic/libgcc_s.h: Remove.
4239 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4240 libgcc_s.h.
4241 * sysdeps/gnu/unwind-resume.c: Likewise.
4242 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4243
4244 2012-04-25 David S. Miller <davem@davemloft.net>
4245
4246 * sysdeps/unix/sparc/brk.S: Delete.
4247 * sysdeps/unix/sparc/dl-brk.S: Delete.
4248 * sysdeps/unix/sparc/pipe.S: Delete.
4249 * sysdeps/unix/sparc/sysdep.S: Delete.
4250 * sysdeps/unix/sparc/sysdep.h: Delete.
4251 * sysdeps/unix/sparc/vfork.S: Delete.
4252 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4253 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4255 ret_ERRVAL, r0, r1, MOVE): Define.
4256 (JUMPTARGET): Remove.
4257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4258 sysdeps/unix/sparc/sysdep.h
4259 (ENTRY, END): Remove.
4260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4261
4262 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4263
4264 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4265 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4266 -DIS_IN_build.
4267
4268 * timezone/README: Update upstream location and email address for
4269 tzcode and tzdata.
4270 * timezone/zdump.c: Update from tzcode 2012b.
4271 * timezone/zic.c: Likewise.
4272
4273 * configure.in (libc_cv_as_needed): Remove test.
4274 * configure: Regenerated.
4275 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4276 conditional definition.
4277 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4278 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4279 * config.make.in (have-as-needed): Remove variable.
4280
4281 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4282 Paul Pluzhnikov <ppluzhnikov@google.com>
4283
4284 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4285 strings correctly.
4286
4287 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4288
4289 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4290 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4291 * sysdeps/sh/strlen.S: Likewise.
4292
4293 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4294
4295 * sysdeps/unix/fork.S: Remove file.
4296 * sysdeps/unix/i386/fork.S: Likewise.
4297 * sysdeps/unix/sparc/fork.S: Likewise.
4298
4299 * sysdeps/unix/system.c: Remove file.
4300 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4301
4302 * sysdeps/unix/getegid.S: Remove file.
4303 * sysdeps/unix/geteuid.S: Likewise.
4304
4305 2012-04-24 Roland McGrath <roland@hack.frob.com>
4306
4307 * scripts/check-localplt.awk: New file.
4308 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4309 of diff.
4310 * scripts/data/localplt-generic.data: Add a comment.
4311
4312 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4313 NODE when __dir_mkfile failed.
4314 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4315 Reported by Ludovic Courtès <ludo@gnu.org>.
4316
4317 2012-04-24 Andreas Jaeger <aj@suse.de>
4318
4319 * Makerules (common-clean): Also remove gen-as-const-headers
4320 files.
4321
4322 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4323
4324 * Makerules (native-compile): Do not change working directory for
4325 build. Use $(OUTPUT_OPTION) in command.
4326 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4327
4328 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4329
4330 [BZ #13886]
4331 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4332 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4333 * math/libm-test.inc (floor_test): Add more tests.
4334 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4335
4336 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4337
4338 * sysdeps/unix/getdents.c: Remove file.
4339 * sysdeps/unix/sysv/getdents.c: Likewise.
4340 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4341
4342 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4343 sysdeps/unix/mman/syscalls.list.
4344 (mmap): Likewise.
4345 (mprotect): Likewise.
4346 (msync): Likewise.
4347 (munmap): Likewise.
4348 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4349 * sysdeps/unix/mman/syscalls.list: Remove.
4350 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4351
4352 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4353 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4354 * configure: Regenerated.
4355 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4356 $(libgcc_s_suffix).
4357 * config.make.in (libgcc_s_suffix): Remove variable.
4358
4359 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4360
4361 * sysdeps/unix/sysv/gethostname.c: Move to ...
4362 * sysdeps/posix/gethostname.c: ... here.
4363
4364 * sysdeps/unix/execve.S: Remove file.
4365
4366 * sysdeps/unix/_exit.S: Remove file.
4367
4368 2012-04-23 Andreas Jaeger <aj@suse.de>
4369
4370 [BZ #13739]
4371 * manual/Makefile: Remove make dist support, there's no
4372 need for a stand-alone documentation tar ball.
4373 (TEXI2DVI): Define always, it's not in Makeconfig.
4374 (dist): Removed.
4375 (tar-it): Removed.
4376 (edition): Removed.
4377 (glibc-doc-$(edition).tar): Removed
4378 (%.Z): Removed.
4379 (%.gz): Removed.
4380 (%.uu): Removed.
4381 (ETAGS): Remove, it's in Makeconfig.
4382 (move-if-change): Remove, it's in Makeconfig.
4383
4384 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4385
4386 [BZ #13970]
4387 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4388 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4389 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4390 (strtod_l, strtof_l, strtold_l): Remove __wur.
4391 It is not necessarily an error to ignore strtol's return value.
4392 One can reliably look at the stored endptr to decide whether
4393 the number had valid syntax.
4394
4395 2012-04-21 Andreas Jaeger <aj@suse.de>
4396
4397 [BZ #13739]
4398 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4399
4400 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4401
4402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4403 * sysdeps/unix/sysv/Versions: Remove file.
4404
4405 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4406
4407 [BZ #13927]
4408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4409
4410 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4411
4412 [BZ #7064]
4413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4414 version from __vm86.
4415
4416 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4417
4418 * sysdeps/unix/common/lxstat.c: Remove file.
4419 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4420
4421 * sysdeps/unix/sysv/Makefile: Remove file.
4422
4423 * sysdeps/unix/sysv/direct.h: Remove file.
4424
4425 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4426 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4427 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4428 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4429 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4430 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4431 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4432
4433 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4434
4435 * sysdeps/unix/xmknod.c: Remove file.
4436 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4437
4438 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4439
4440 * sysdeps/unix/sysv/i386/time.S: Remove file.
4441
4442 * sysdeps/unix/fxstat.c: Remove file.
4443 * sysdeps/unix/xstat.c: Likewise.
4444 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4445
4446 * sysdeps/unix/sysv/sigaction.c: Remove file.
4447
4448 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4449 (sysdep_headers): Remove variable.
4450 [termio.h not in sysdep_headers] (generated): Likewise.
4451 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4452 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4453 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4454 * sysdeps/unix/sysv/tcflow.c: Likewise.
4455 * sysdeps/unix/sysv/tcflush.c: Likewise.
4456 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4457 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4458 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4459 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4460 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4461
4462 * sysdeps/unix/siglist.c: Remove file.
4463
4464 * sysdeps/unix/getppid.S: Remove file.
4465
4466 * sysdeps/unix/mkdir.c: Remove file.
4467 * sysdeps/unix/rmdir.c: Likewise.
4468
4469 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4470
4471 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4472 ERR_MAX value.
4473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4474 errlist-compat value.
4475
4476 2012-04-18 David S. Miller <davem@davemloft.net>
4477
4478 * sysdeps/generic/memcopy.h (reg_char): Delete.
4479 * debug/strcat_chk.c: Use char, not reg_char.
4480 * debug/strcpy_chk.c: Likewise.
4481 * debug/strncat_chk.c: Likewise.
4482 * debug/strncpy_chk.c: Likewise.
4483 * string/memchr.c: Likewise.
4484 * string/memrchr.c: Likewise.
4485 * string/rawmemchr.c: Likewise.
4486 * string/strcat.c: Likewise.
4487 * string/strchr.c: Likewise.
4488 * string/strchrnul.c: Likewise.
4489 * string/strcmp.c: Likewise.
4490 * string/strcpy.c: Likewise.
4491 * string/strncat.c: Likewise.
4492 * string/strncmp.c: Likewise.
4493 * string/strncpy.c: Likewise.
4494
4495 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4496
4497 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4498 __builtin_memcopy is called when src and dest ranges are known to not
4499 overlap.
4500
4501 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4502
4503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4504 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4505 fwd_align_merge macro call.
4506 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4507 bwd_align_merge macro call.
4508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4509
4510 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4511
4512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4513 bwd_align_merge macros.
4514 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4515 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4517
4518 2012-04-18 David S. Miller <davem@davemloft.net>
4519
4520 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4521
4522 2012-04-18 Andreas Jaeger <aj@suse.de>
4523
4524 [BZ# 6794]
4525 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4526 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4528
4529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4530 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4532
4533 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4534 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4535 Adjust for changed ldbl-128 files.
4536
4537 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4538 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4540
4541 2012-04-17 David S. Miller <davem@davemloft.net>
4542
4543 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4544
4545 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4546
4547 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4548 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4549 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4550 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4551 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4552 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4553
4554 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4555
4556 [BZ #6794]
4557 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4558 * math/libm-test.inc: Add ilogb errno and exception tests.
4559 * math/w_ilogb.c: New file: ilogb wrapper.
4560 * math/w_ilogbf.c: New file: ilogbf wrapper.
4561 * math/w_ilogbl.c: New file: ilogbl wrapper.
4562 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4563 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4564 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4565 exception being thrown with 0.0 as argument.
4566 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4567 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4568 exception being thrown with 0.0 as argument.
4569 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4570 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4571 exception being thrown with 0.0 as argument.
4572 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4573 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4574 exception being thrown with 0.0 as argument.
4575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4576 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4578 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4581 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4582 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4583 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4584
4585 2012-04-17 Petr Baudis <pasky@ucw.cz>
4586
4587 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4588 with altivec.
4589
4590 2012-04-16 Marek Polacek <polacek@redhat.com>
4591
4592 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4593
4594 2012-04-16 Marek Polacek <polacek@redhat.com>
4595
4596 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4597 operands of fdivp instruction.
4598
4599 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4600
4601 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4602 * elf/tst-auditmod3b.c: Likewise.
4603 * elf/tst-auditmod4b.c: Likewise.
4604 * elf/tst-auditmod5b.c: Likewise.
4605 * elf/tst-auditmod6b.c: Likewise.
4606 * elf/tst-auditmod6c.c: Likewise.
4607 * elf/tst-auditmod7b.c: Likewise.
4608 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4609 * sysdeps/x86_64/preconfigure.in: Likewise.
4610 * sysdeps/x86_64/preconfigure: Regenerated.
4611
4612 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4613
4614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4615 __ILP32__.
4616
4617 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4618
4619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4620 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4621
4622 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4623
4624 [BZ #13973]
4625 * locale/iso-639.def: Fix gl language name. Spotted by
4626 Yaron Shahrabani.
4627
4628 2012-04-12 Roland McGrath <roland@hack.frob.com>
4629
4630 [BZ #2074]
4631 * libio/libio.h (__io_write_fn): Update comment.
4632
4633 2012-04-12 Petr Baudis <pasky@ucw.cz>
4634
4635 [BZ #2074]
4636 * stdio.texi (Hook Functions): The user provided writer function
4637 is not allowed to return -1.
4638
4639 2012-04-11 David S. Miller <davem@davemloft.net>
4640
4641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4642
4643 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4644
4645 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4646 Add a leading slash to rtkaio.
4647
4648 2012-04-11 Jim Meyering <meyering@redhat.com>
4649
4650 [BZ #11959]
4651 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4652 It is not necessarily an error to ignore fwrite's return
4653 value. One can reliably use ferror to test for errors after
4654 the fact.
4655
4656 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4657
4658 * bits/types.h (__snseconds_t): New type.
4659 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4660
4661 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4663 (__SNSECONDS_T_TYPE): Likewise.
4664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4665 (__SNSECONDS_T_TYPE): Likewise.
4666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4667 (__SNSECONDS_T_TYPE): Likewise.
4668
4669 2012-04-10 Andreas Jaeger <aj@suse.de>
4670
4671 [BZ #2636]
4672 * manual/time.texi (Processor Time): Return type of times is
4673 elapsed real time since an arbitrary point in the past.
4674 (CPU Time): Move CLK_TCK from here...
4675 (Processor Time): ...to here. Correct description.
4676 * manual/conf.texi (Constants for Sysconf): Correct description of
4677 _SC_CLK_TCK.
4678
4679 2012-04-10 David S. Miller <davem@davemloft.net>
4680
4681 [BZ #13967]
4682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4683 where the is a gap between DT_REL(A) and DT_JMPREL.
4684
4685 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4686
4687 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4690
4691 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4692
4693 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4694 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4695 (dl_main): Handle --inhibit-cache.
4696 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4697 _dl_inhibit_cache.
4698 * elf/dl-load.c (_dl_map_object): Use it.
4699 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4700
4701 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4702
4703 [BZ #13872]
4704 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4705 (__ieee754_powl): Saturate large exponents rather than testing for
4706 overflow of y*log2(x).
4707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4708 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4709 exceptions.
4710
4711 [BZ #11521]
4712 * math/s_ctan.c: Include <float.h>.
4713 (__ctan): Avoid internal overflow or cancellation in calculating
4714 denominator.
4715 * math/s_ctanf.c: Likewise.
4716 * math/s_ctanl.c: Likewise.
4717 * math/s_ctanh.c: Likewise.
4718 * math/s_ctanhf.c: Likewise.
4719 * math/s_ctanhl.c: Likewise.
4720 * math/libm-test.inc (ctan_test): Add more tests.
4721 (ctanh_test): Likewise.
4722 * sysdeps/i386/fpu/libm-test-ulps: Update.
4723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4724
4725 2012-04-09 Andreas Jaeger <aj@suse.de>
4726
4727 [BZ #6894]
4728 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4729 is an optional BSD extension.
4730
4731 [BZ #10254]
4732 * manual/stdio.texi (Opening Streams): Document additional fopen
4733 parameters.
4734
4735 2012-04-09 Roland McGrath <roland@hack.frob.com>
4736
4737 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4738 %eax without telling the compiler.
4739
4740 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4741
4742 [BZ # 13963]
4743 * manual/install.texi: Use sourceware.org.
4744
4745 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4746
4747 [BZ #13873]
4748 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4749 (__ieee754_pow): Generate overflow and underflow using huge*huge
4750 and tiny*tiny rather than just returning constant infinity or zero
4751 for large exponents.
4752 * math/libm-test.inc (pow_test): Require overflow exceptions for
4753 applicable cases of large exponents.
4754
4755 [BZ #706]
4756 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4757 (__ieee754_pow): Use iterative multiplication algorithm only for
4758 integer exponents with absolute value below 1024. Check for odd
4759 integer exponents when using algorithm for real exponents.
4760 * math/libm-test.inc (pow_test): Add more tests.
4761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4762
4763 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4764
4765 [BZ #13705]
4766 * math/libm-test.inc (exp_test): Do not allow overflow exception
4767 on underflow test.
4768
4769 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4770
4771 [BZ #13705]
4772 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4773 instead of __kernel_standard_f.
4774
4775 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4776
4777 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4778 * sysdeps/x86_64/memset_chk.S: Likewise.
4779
4780 2012-04-08 Andreas Jaeger <aj@suse.de>
4781
4782 [BZ #10153]
4783 * manual/startup.texi (Environment Access): Describe return value
4784 for putenv and setenv.
4785
4786 [BZ #6895]
4787 * manual/filesys.texi (Directory Entries): Add description for
4788 DT_LNK.
4789
4790 [BZ #6890]
4791 * manual/filesys.texi (Directory Entries): Clarify that it's file
4792 system not operating system in the description of DT_UNKNOWN.
4793
4794 [BZ #6578]
4795 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4796
4797 2012-04-08 Stephen Compall <s11@member.fsf.org>
4798
4799 [BZ #6649]
4800 * manual/llio.texi (Opening and Closing Files): Add cross
4801 reference to explain mode argument.
4802
4803 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4804
4805 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4806 * sysdeps/x86_64/memset_chk.S: Likewise.
4807
4808 2012-04-07 David S. Miller <davem@davemloft.net>
4809
4810 * elf/elf.h (R_SPARC_WDISP10): Define.
4811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4812 R_SPARC_SIZE32.
4813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4814 R_SPARC_SIZE64 and R_SPARC_H34.
4815
4816 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4817
4818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4819 conditions and remove no longer applicable assertion.
4820
4821 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4822
4823 * bits/byteswap.h: Include <features.h>.
4824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4826
4827 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4828
4829 * bits/byteswap.h (__bswap_16): Removed.
4830 Include <bits/byteswap-16.h> to get __bswap_16.
4831 * sysdeps/i386/bits/byteswap.h: Likewise.
4832 * sysdeps/s390/bits/byteswap.h: Likewise.
4833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4834 * bits/byteswap-16.h: New file.
4835 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4836 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4837 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4838 * string/Makefile (headers): Add bits/byteswap-16.h.
4839
4840 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4841
4842 [BZ #13895]
4843 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4844 extra indirection.
4845 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4846 * nss/tst-nss-static.c: New.
4847
4848 2012-04-06 Robert Millan <rmh@gnu.org>
4849
4850 [BZ #6486]
4851 * manual/llio.texi (File Position Primitive): lseek
4852 refers to WHENCE when it really means OFFSET.
4853
4854 2012-04-06 Andreas Jaeger <aj@suse.de>
4855
4856 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4857 strncmp declarations.
4858
4859 * abilist/libc.abilist: Add __poll and __ppoll.
4860
4861 2012-04-05 David S. Miller <davem@davemloft.net>
4862
4863 * scripts/check-local-headers.sh: Accept a host triplet in the
4864 path matched by the exclude regexp.
4865
4866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4867 definition.
4868 * sysdeps/powerpc/powerpc32/dl-machine.h
4869 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4870 * sysdeps/s390/s390-32/dl-machine.h
4871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4872 * sysdeps/sparc/sparc32/dl-machine.h
4873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4874 * sysdeps/sparc/sparc64/dl-machine.h
4875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4876
4877 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4878 lazy binding.
4879 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4880 undefined symbol errors.
4881
4882 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4883 DT_NEEDED entries.
4884
4885 2012-04-05 Michael Matz <matz@suse.de>
4886
4887 [BZ #13592]
4888 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4889
4890 2012-04-05 Andreas Jaeger <aj@suse.de>
4891
4892 [BZ #13908]
4893 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4894 comment.
4895
4896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4897
4898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4899 which ROUND is no valid rounding mode.
4900
4901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4902
4903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4904 read again.
4905 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4906
4907 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4908
4909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4910 an exception using FPU order intentionally.
4911
4912 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4913
4914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4915 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4916 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4917 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4918
4919 2012-04-05 Simon Josefsson <simon@josefsson.org>
4920
4921 [BZ #12340]
4922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4923 EINVAL when BUFLEN is too smal.
4924
4925 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4926
4927 [BZ #13553]
4928 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4929 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4930
4931 2012-04-03 Andreas Jaeger <aj@suse.de>
4932
4933 [BZ #13938]
4934 * manual/setjmp.texi (System V contexts): Fix sentence.
4935
4936 [BZ #13926]
4937 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4938 New macro for this case.
4939 [!__GNUC__] (__bswap_64): New inline function for this case.
4940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4941 * bits/byteswap.h: Likewise.
4942 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4943 ull, guard with __GLIBC_HAVE_LONG_LONG.
4944
4945 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4946 __GLIBC_HAVE_LONG_LONG.
4947
4948 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4949 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4950
4951 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4952
4953 [BZ #13691]
4954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4955 inptr and inend, rather than using last_ch.
4956
4957 2012-04-02 David S. Miller <davem@davemloft.net>
4958
4959 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4960 * stdio-common/printf-parse.h (read_int): Change return type to
4961 'int', return -1 on INT_MAX overflow.
4962 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4963 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4964 overflows INT_MAX. Check for overflow of in-format-string precision
4965 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4966 SIZE_MAX not INT_MAX for integer overflow test.
4967 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4968 skip the construct in the format string but do not record anything.
4969 * stdio-common/bug22.c: Adjust to test both width/prevision
4970 INT_MAX overflow as well as total length INT_MAX overflow. Check
4971 explicitly for proper errno values.
4972
4973 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4974
4975 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4976 CHAR_MAX.
4977 * string/test-strcmp.c [! WIDE]: Likewise.
4978 * time/tst-mktime2.c: Likewise for INT_MAX.
4979 * string/test-string.h: #include <sys/param.h> for MIN.
4980
4981 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4982 * sysdeps/i386/init-first.c (init): Likewise.
4983 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4984 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4985 * sysdeps/sh/init-first.c (init): Likewise.
4986
4987 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4988
4989 * po/ru.po: Update from translation team.
4990 * po/vi.po: Likewise.
4991
4992 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4993
4994 * resolv/nss_dns/dns-host.c: Merge copyright years.
4995
4996 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4997
4998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4999 Optimize memcpy with prefetch if
5000 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
5001 src, dst pointers have unequal 16 byte alignments.
5002
5003 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5004
5005 [BZ #13928]
5006 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
5007 from a CNAME entry and return the minimum ttl for the query.
5008 (gaih_getanswer_slice): Likewise.
5009
5010 2012-03-30 Jeff Law <law@redhat.com>
5011
5012 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
5013 due to long keys.
5014 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5015 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5016
5017 * resolv/nss_dns/dns-host.c: Update copyright year.
5018
5019 2012-03-30 Ulrich Drepper <drepper@gmail.com>
5020
5021 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
5022 requests to save a system call. Fix check that all bytes are sent.
5023
5024 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
5025 comments for sendmmsg.
5026
5027 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5028
5029 [BZ #13691]
5030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
5031 with only 1 character between 0x0041 and 0x01b0.
5032 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
5033 * wcsmbs/tst-mbsnrtowcs.c: New file.
5034
5035 2012-03-29 David S. Miller <davem@davemloft.net>
5036
5037 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
5038 small copies by hand.
5039
5040 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5041
5042 [BZ #13761]
5043 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
5044 _nss_compat_initgroups_dyn): Fall back to malloc/free
5045 for large group memberships.
5046
5047 2012-03-28 David S. Miller <davem@davemloft.net>
5048
5049 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
5050 that branches into memcpy.
5051 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
5056 bits.
5057 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
5058 implementation too.
5059 * sysdeps/sparc/mempcpy.S: New file.
5060
5061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
5062 the IFUNC routine in the libc case.
5063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5064
5065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
5066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
5067 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
5068 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
5069 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
5070 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
5071 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
5072 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
5073
5074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
5075 loop to 256 bytes instead of 64 bytes and fix test signedness.
5076
5077 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
5078 * sysdeps/sparc/sparc32/Makefile: rather than here...
5079 * sysdeps/sparc/sparc64/Makefile: and here.
5080
5081 2012-03-28 Ulrich Drepper <drepper@gmail.com>
5082
5083 * malloc/mallocbug.c: Avoid warnings about unused variables.
5084
5085 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5086
5087 [BZ #13760]
5088 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
5089 in the right place. Discard and retry query if response is
5090 larger than input buffer size.
5091
5092 2012-03-28 Joseph Myers <joseph@codesourcery.com>
5093
5094 [BZ #369]
5095 [BZ #2678]
5096 [BZ #3866]
5097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
5098 x for large integer exponent.
5099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5100 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
5101 sign of result as needed afterwards.
5102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
5104 result for underflowing pow the same as for overflow.
5105 (__kernel_standard_l): Handle powl overflow and underflow here
5106 rather than calling __kernel_standard.
5107 * math/libm-test.inc (pow_test): Add more tests.
5108
5109 [BZ #3868]
5110 [BZ #13879]
5111 [BZ #13910]
5112 [BZ #13911]
5113 [BZ #13912]
5114 [BZ #13913]
5115 [BZ #13915]
5116 [BZ #13916]
5117 [BZ #13917]
5118 [BZ #13918]
5119 [BZ #13919]
5120 [BZ #13920]
5121 [BZ #13921]
5122 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5123 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5124 (__kernel_standard_l): New function.
5125 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5126 __kernel_standard.
5127 * math/w_acosl.c (__acosl): Likewise.
5128 * math/w_asinl.c (__asinl): Likewise.
5129 * math/w_atan2l.c (__atan2l): Likewise.
5130 * math/w_atanhl.c (__atanhl): Likewise.
5131 * math/w_coshl.c (__coshl): Likewise.
5132 * math/w_exp10l.c (__exp10l): Likewise.
5133 * math/w_exp2l.c (__exp2l): Likewise.
5134 * math/w_fmodl.c (__fmodl): Likewise.
5135 * math/w_hypotl.c (__hypotl): Likewise.
5136 * math/w_j0l.c (__j0l, __y0l): Likewise.
5137 * math/w_j1l.c (__j1l, __y1l): Likewise.
5138 * math/w_jnl.c (__jnl, __ynl): Likewise.
5139 * math/w_lgammal.c (__lgammal): Likewise.
5140 * math/w_log10l.c (__log10l): Likewise.
5141 * math/w_log2l.c (__log2l): Likewise.
5142 * math/w_logl.c (__logl): Likewise.
5143 * math/w_powl.c (__powl): Likewise.
5144 * math/w_remainderl.c (__remainderl): Likewise.
5145 * math/w_scalbl.c (sysv_scalbl): Likewise.
5146 * math/w_sinhl.c (__sinhl): Likewise.
5147 * math/w_sqrtl.c (__sqrtl): Likewise.
5148 * math/w_tgammal.c (__tgammal): Likewise.
5149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5150 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5151 * math/libm-test.inc (acos_test): Add more tests.
5152 (acosh_test): Likewise.
5153 (asin_test): Likewise.
5154 (atanh_test): Likewise.
5155 (exp_test): Likewise.
5156 (exp10_test): Likewise.
5157 (exp2_test): Likewise.
5158 (expm1_test): Likewise.
5159 (lgamma_test): Likewise.
5160 (log_test): Likewise.
5161 (log10_test): Likewise.
5162 (log1p_test): Likewise.
5163 (log2_test): Likewise.
5164 (pow_test): Do not allow some spurious overflow exceptions.
5165 (sqrt_test): Add more tests.
5166 (tgamma_test): Likewise.
5167 (y0_test): Likewise.
5168 (y1_test): Likewise.
5169 (yn_test): Likewise.
5170
5171 2012-03-27 Anton Blanchard <anton@samba.org>
5172
5173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5174 MAP_HUGETLB.
5175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5178
5179 2012-03-27 David S. Miller <davem@davemloft.net>
5180
5181 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5182
5183 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5184 have-as-vis3 check.
5185
5186 2012-03-27 Andreas Jaeger <aj@suse.de>
5187
5188 * sysdeps/x86_64/elf/configure.in: Moved to ...
5189 * sysdeps/x86_64/configure.in: ... here.
5190 * sysdeps/x86_64/elf/start.S: Moved to ...
5191 * sysdeps/x86_64/start.S: ... here.
5192 * sysdeps/x86_64/elf/configure: Delete.
5193
5194 * sysdeps/x86_64/configure.in: Merge contents from
5195 sysdeps/i386/configure.in (without i686 check).
5196
5197 * sysdeps/i386/elf/Versions: Merge into ...
5198 * sysdeps/i386/Versions: ... this.
5199 * sysdeps/i386/elf/Versions: Delete file.
5200 * sysdeps/i386/elf/start.S: Moved to ...
5201 * sysdeps/i386/start.S: ...here.
5202 * sysdeps/i386/elf/configure.in: Merge into...
5203 * sysdeps/i386/configure.in: ...here.
5204 * sysdeps/i386/elf/configure.in: Delete file.
5205 * sysdeps/i386/elf/configure: Delete file.
5206
5207 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5208 * debug/backtracesyms.c: ... here.
5209 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5210 * debug/backtracesymsfd.c: ... here.
5211 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5212 * sysdeps/generic/ifunc-sel.h: ... here.
5213
5214 * sysdeps/unix/i386/start.c: Delete file.
5215 * sysdeps/unix/sparc/start.c: Delete file.
5216 * sysdeps/unix/start.c: Delete file.
5217
5218 * sysdeps/sh/elf/configure.in: Moved to ...
5219 * sysdeps/sh/configure.in: ... here.
5220 * sysdeps/sh/elf/start.S: Moved to ...
5221 * sysdeps/sh/start.S: ... here.
5222 * sysdeps/sh/elf/configure: Delete file.
5223
5224 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5225 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5226 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5227 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5228 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5229 * sysdeps/powerpc/powerpc64/start.S: here.
5230 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5231 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5232 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5233 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5234 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5235
5236 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5237 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5238 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5239 * sysdeps/powerpc/powerpc32/start.S: ... here.
5240 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5241 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5242 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5243
5244 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5245 * sysdeps/powerpc/ifunc-sel.h: ... here.
5246 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5247 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5248
5249 * sysdeps/sparc/elf/configure.in: Moved to ...
5250 * sysdeps/sparc/configure.in: ... here.
5251 * sysdeps/sparc/elf/configure: Delete file.
5252 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5253 * sysdeps/sparc/sparc32/start.S: ... here.
5254 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5255 * sysdeps/sparc/sparc64/start.S: ... here.
5256 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5257 * sysdeps/sparc/sparc32/Makefile: ... this.
5258 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5259 * sysdeps/sparc/sparc64/Makefile: ... this.
5260
5261 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5262 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5263 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5264 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5265 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5266 * sysdeps/s390/s390-32/setjmp.S: ... here.
5267 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5268 * sysdeps/s390/s390-32/configure.in: ... here.
5269 * sysdeps/s390/s390-32/elf/configure: Delete file.
5270 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5271 * sysdeps/s390/s390-32/start.S: ... here.
5272
5273 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5274 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5275 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5276 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5277 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5278 * sysdeps/s390/s390-64/setjmp.S: ... here.
5279 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5280 * sysdeps/s390/s390-64/configure.in: ... here
5281 * sysdeps/s390/s390-64/elf/configure: Delete file.
5282 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5283 * sysdeps/s390/s390-64/start.S: ... here.
5284 * sysdeps/s390/s390-64/elf/configure: Delete.
5285
5286 * configure.in: Remove support for elf directories in sysdeps.
5287
5288 * configure: Regenerated.
5289 * sysdeps/i386/configure: Regenerated.
5290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5292 * sysdeps/s390/s390-32/configure: Regenerated.
5293 * sysdeps/s390/s390-64/configure: Regenerated.
5294 * sysdeps/sh/configure: Regenerated.
5295 * sysdeps/sparc/configure: Regenerated.
5296 * sysdeps/x86_64/configure: Regenerated.
5297
5298 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5299
5300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5301
5302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5303 denormal result into account.
5304
5305 2012-03-25 Roland McGrath <roland@hack.frob.com>
5306
5307 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5308 Reported by Allan McRae <allan@archlinux.org>.
5309
5310 2012-03-23 Jeff Law <law@redhat.com>
5311
5312 * nss/getnssent.c (__nss_getent): Fix typo.
5313
5314 2012-03-23 David S. Miller <davem@davemloft.net>
5315
5316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5317
5318 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5319
5320 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5321 to pad to uint64_t for each field.
5322 (dl_tls_index): Replace unsigned long with uint64_t.
5323
5324 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5325 Paul Pluzhnikov <ppluzhnikov@google.com>
5326
5327 [BZ #6528]
5328 * grp/Makefile (otherlibs): Don't set it.
5329 * inet/Makefile (otherlibs): Likewise.
5330 * login/Makefile (otherlibs): Likewise.
5331 * nscd/Makefile (otherlibs): Likewise.
5332 * posix/Makefile (otherlibs): Likewise.
5333 * pwd/Makefile (otherlibs): Likewise.
5334 * rt/Makefile (otherlibs): Likewise.
5335 * sunrpc/Makefile (otherlibs): Likewise.
5336 * nss/Makefile (otherlibs): Likewise.
5337 Add libnss_files to routines and static-only-routines.
5338 ($(objpfx)getent): Remove rule.
5339 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5340 static-only-routines.
5341
5342 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5343
5344 [BZ #13892]
5345 * math/s_cexp.c: Include <float.h>.
5346 (__cexp): Handle exp result overflowing not necessarily
5347 overflowing both real and imaginary parts of result.
5348 * math/s_cexpf.c: Likewise.
5349 * math/s_cexpl.c: Likewise.
5350 * math/libm-test.inc (cexp_test): Add more tests.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5353
5354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5355
5356 * include/link.h (ELFW): New macro.
5357 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5358 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5359
5360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5361
5362 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5363 with uint64_t.
5364
5365 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5368 declaration.
5369 (struct La_x32_retval): Likewise.
5370
5371 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5372
5373 * sysdeps/x86_64/preconfigure.in: New file.
5374 * sysdeps/x86_64/preconfigure: New generated file.
5375
5376 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5377
5378 [BZ #13824]
5379 * math/e_exp2l.c: Include <float.h>.
5380 (__ieee754_exp2l): Handle overflow and underflow cases
5381 separately. Only pass fractional part of argument to
5382 __ieee754_expl.
5383 * math/libm-test.inc (exp2_test): Add more tests.
5384
5385 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5386 negating x to take absolute value.
5387 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5388 Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5391 Likewise.
5392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5393 computing low part if x was negated.
5394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5395
5396 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5397
5398 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5399 la_x32_gnu_pltexit.
5400 (pltexit): Cast int_retval to ptrdiff_t.
5401 * elf/tst-auditmod3b.c: Likewise.
5402 * elf/tst-auditmod4b.c: Likewise.
5403 * elf/tst-auditmod5b.c: Likewise.
5404 * elf/tst-auditmod6b.c: Likewise.
5405 * elf/tst-auditmod6c.c: Likewise.
5406 * elf/tst-auditmod7b.c: Likewise.
5407
5408 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5409 and x32_gnu_pltexit.
5410
5411 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5412 __ELF_NATIVE_CLASS.
5413 (La_x32_regs): New macro.
5414 (La_x32_retval): Likewise.
5415 (la_x32_gnu_pltenter): New function prototype.
5416 (la_x32_gnu_pltexit): Likewise.
5417
5418 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5419
5420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5421 exponent.
5422
5423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5424
5425 * configure.in (libc_cv_cc_nofma): Check for option to disable
5426 generation of FMA instructions.
5427 * configure: Regenerate.
5428 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5429 * sysdeps/ieee754/dbl-64/Makefile: New file.
5430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5431 Remove brandred-fma4.
5432 (CFLAGS-brandred-fma4.c): Remove.
5433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5435 define.
5436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5437 define.
5438
5439 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5440
5441 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5442 LLONG_MAX != LONG_MAX.
5443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5444 (_fitoa_word): Likewise.
5445 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5446 LLONG_MAX != LONG_MAX.
5447 * stdio-common/_itowa.h: Include <_itoa.h>.
5448 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5449 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5450 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5451 only if not defined.
5452 (_ITOA_WORD_TYPE): Likewise.
5453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5454 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5455
5456 2012-03-21 David S. Miller <davem@davemloft.net>
5457
5458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5459
5460 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5461
5462 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5463 of x86_64 when setting libc_cv_slibdir, libdir and
5464 libc_cv_localedir.
5465 * sysdeps/unix/sysv/linux/configure: Regenerated.
5466
5467 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5468
5469 * manual/lang.texi (Old Varargs): Remove section.
5470 (How Variadic): Update menu.
5471 (va_start): Do not mention varargs.h.
5472
5473 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5474 Joseph Myers <joseph@codesourcery.com>
5475
5476 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5477 link test.
5478 * configure: Regenerated.
5479
5480 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5481
5482 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5483 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5484 conformtest.pl
5485
5486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5487
5488 * NOTES: Remove.
5489 * Makefile (files-for-dist): Remove NOTES.
5490 (NOTES): Remove rule.
5491 * README: Don't refer to NOTES.
5492 * manual/creature.texi: Don't include macros.texi.
5493 * manual/intro.texi (creature.texi): Remove comment referring to
5494 NOTES.
5495
5496 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5497 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5498 * configure: Regenerated.
5499 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5500 LIBC_TRY_CC_OPTION.
5501 (libc_cv_as_i686): Likewise.
5502 (libc_cv_cc_avx): Likewise.
5503 (libc_cv_cc_sse2avx): Likewise.
5504 (libc_cv_cc_fma4): Likewise.
5505 (libc_cv_cc_novzeroupper): Likewise.
5506 * sysdeps/i386/configure: Regenerated.
5507
5508 [BZ #13883]
5509 * sysdeps/i386/fpu/s_cexp.S: Remove.
5510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5512 * math/libm-test.inc (cexp_test): Add more tests.
5513 * sysdeps/i386/fpu/libm-test-ulps: Update.
5514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5515
5516 2012-03-21 Allan McRae <allan@archlinux.org>
5517
5518 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5519
5520 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5521
5522 [BZ #13871]
5523 * math/w_exp2.c: Do not include <float.h>.
5524 (o_threshold, u_threshold): Remove.
5525 (__exp2): Calculate result before checking finiteness and calling
5526 __kernel_standard.
5527 * math/w_exp2f.c: Likewise.
5528 * math/w_exp2l.c: Likewise.
5529 * math/libm-test.inc (exp2_test): Require overflow exception for
5530 1e6 input.
5531
5532 [BZ #3866]
5533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5534 range of signed 64-bit integers before using fistpll. Remove
5535 checks for whether integers fit in mantissa bits.
5536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5537 the range of signed 32-bit integers before using fistpl. Remove
5538 checks for whether integers fit in mantissa bits.
5539 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5540 (__ieee754_powl): Test for y outside the range of signed 64-bit
5541 integers before using fistpll. Reduce 64-bit values to 63-bit
5542 ones as needed.
5543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5544 divide-by-zero is raised for zero to large negative powers.
5545 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5546 (__ieee754_powl): Test for y outside the range of signed 64-bit
5547 integers before using fistpll. Reduce 64-bit values to 63-bit
5548 ones as needed.
5549 * math/libm-test.inc (pow_test): Add more tests.
5550
5551 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5552
5553 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5554 <stdio-common/_itoa.h>.
5555 * debug/segfault.c: Likewise.
5556 * elf/dl-cache.c: Likewise.
5557 * elf/dl-minimal.c: Likewise.
5558 * elf/dl-misc.c: Likewise.
5559 * elf/dl-sysdep.c: Likewise.
5560 * elf/dl-version.c: Likewise.
5561 * elf/rtld.c: Likewise.
5562 * hurd/hurdsock.c: Likewise.
5563 * hurd/lookup-retry.c: Likewise.
5564 * malloc/malloc.c: Likewise.
5565 * malloc/mtrace.c: Likewise.
5566 * nscd/nscd_getgr_r.c: Likewise.
5567 * nscd/nscd_getpw_r.c: Likewise.
5568 * nscd/nscd_getserv_r.c: Likewise.
5569 * posix/getopt_init.c: Likewise.
5570 * posix/wordexp.c: Likewise.
5571 * stdio-common/_itoa.c: Likewise.
5572 * stdio-common/printf_fphex.c: Likewise.
5573 * stdio-common/vfprintf.c: Likewise.
5574 * string/_strerror.c: Likewise.
5575 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5576 * sysdeps/i386/i686/hp-timing.h: Likewise.
5577 * sysdeps/mach/_strerror.c: Likewise.
5578 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5579 * sysdeps/mach/hurd/sethostid.c: Likewise.
5580 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5581 * sysdeps/mach/xpg-strerror.c: Likewise.
5582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5584 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5585 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5587 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5590 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5591 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5592 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5593 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5598 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5599 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5600 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5601 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5602 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5603
5604 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5605
5606 * stdio-common/_itoa.h: Moved to ...
5607 * sysdeps/generic/_itoa.h: Here.
5608
5609 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5610
5611 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5612 instead of "_itoa.h" and "_itowa.h".
5613 * stdio-common/vfprintf.: Likewise.
5614
5615 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5616
5617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5618 <bits/wordsize.h>.
5619 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5620 (__signbit): Likwise.
5621 (llrintf): Likwise.
5622 (llrint): Likwise.
5623
5624 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5625
5626 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5627 __WORDSIZE != 64.
5628
5629 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5630
5631 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5632 OVERFLOW_EXCEPTION_OK.
5633 * math/libm-test.inc ("Philosophy"): Update comment about
5634 exception testing.
5635 (OVERFLOW_EXCEPTION): Define.
5636 (OVERFLOW_EXCEPTION_OK): Likewise.
5637 (INVALID_EXCEPTION_OK): Renumber.
5638 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5639 (IGNORE_ZERO_INF_SIGN): Likewise.
5640 (test_exceptions): Handle FE_OVERFLOW.
5641 (exp10_test): Expect overflow exceptions.
5642 (exp2_test): Likewise.
5643 (expm1_test): Likewise.
5644 (nextafter_test): Likewise.
5645 (pow_test): Likewise.
5646 (scalbn_test): Likewise.
5647 (scalbln_test): Likewise.
5648
5649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5650
5651 * sysdeps/x86_64/bits/atomic.h
5652 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5653 64bit integer.
5654 (atomic_exchange_acq): Likewise.
5655 (__arch_exchange_and_add_body): Likewise.
5656 (__arch_add_body): Likewise.
5657 (atomic_add_negative): Likewise.
5658 (atomic_add_zero): Likewise.
5659
5660 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5661
5662 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5663 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5664
5665 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5666
5667 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5668 Check __x86_64__ instead of __WORDSIZE.
5669
5670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5671
5672 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5673
5674 2012-03-19 David S. Miller <davem@davemloft.net>
5675
5676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5677
5678 * sysdeps/sparc/fpu/fenv_private.h: New file.
5679 * sysdeps/sparc/fpu/math_private.h: Use it.
5680 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5681 Remove.
5682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5683 (libc_feholdexcept_setroundl): Remove.
5684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5685 Remove.
5686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5688
5689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5690
5691 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5692 int64_t instead of long int.
5693 (INSERT_WORDS64): Likwise.
5694
5695 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5696
5697 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5698 _Unwind_GetCFA return to _Unwind_Ptr first.
5699
5700 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5701
5702 [BZ #13629]
5703 * math/s_clog.c: Include <float.h>.
5704 (__clog): Scale large or subnormal inputs.
5705 * math/s_clogf.c: Likewise.
5706 * math/s_clogl.c: Likewise.
5707 * math/s_clog10.c: Include <float.h>.
5708 (M_LOG10_2): Define.
5709 (__clog10): Scale large or subnormal inputs.
5710 * math/s_clog10f.c: Likewise.
5711 * math/s_clog10l.c: Likewise.
5712 * math/libm-test.inc (clog_test): Add more tests.
5713 (clog10_test): Likewise.
5714 * sysdeps/i386/fpu/libm-test-ulps: Update.
5715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5716
5717 [BZ #11451]
5718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5719 x and y.
5720 * math/libm-test.inc (atan2_test): Add another test.
5721
5722 * Makerules (common-objdir-compile): Remove.
5723 * sysdeps/unix/Makefile (config-generated): Do not add
5724 $(unix-generated) to variable.
5725 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5726 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5727 Remove rule.
5728 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5729 Likewise.
5730 [generic bits/local_lim.h] (before-compile): Do not append to
5731 variable.
5732 [generic bits/local_lim.h] (common-generated): Likewise.
5733 [generic sys/param.h] (before-compile): Do not append to variable.
5734 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5735 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5736 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5738 include.
5739 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5740 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5741 [generic sys/param.h] ($(addprefix
5742 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5743 [generic sys/param.h] (common-generated): Do not append to
5744 variable.
5745 [generic sys/param.h] (sysdep_headers): Likewise.
5746 [generic bits/errno.h] (before-compile): Do not append to
5747 variable.
5748 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5749 rule.
5750 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5751 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5752 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5753 [generic bits/errno.h] (common-generated): Do not append to
5754 variable.
5755 [generic bits/ioctls.h] (before-compile): Do not append to
5756 variable.
5757 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5758 rule.
5759 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5760 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5762 rule.
5763 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5764 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5765 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5766 [generic bits/ioctls.h] (common-generated): Do not append to
5767 variable.
5768 [generic sys/syscall.h] (syscall.h): Remove variable.
5769 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5770 rule.
5771 [generic sys/syscall.h] (before-compile): Do not append to
5772 variable.
5773 [generic sys/syscall.h] (common-generated): Likewise.
5774 * sysdeps/unix/errnos-tmpl.c: Remove file.
5775 * sysdeps/unix/errnos.awk: Likewise.
5776 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5777 * sysdeps/unix/ioctls.awk: Likewise.
5778 * sysdeps/unix/mk-local_lim.c: Likewise.
5779 * sysdeps/unix/snarf-ioctls: Likewise.
5780
5781 2012-03-19 Richard Henderson <rth@twiddle.net>
5782
5783 * sysdeps/i386/fpu/fenv_private.h: New file.
5784 * sysdeps/i386/fpu/math_private.h: Use it.
5785 (math_opt_barrier, math_force_eval): Remove.
5786 (libc_feholdexcept_setround_53bit): Remove.
5787 (libc_feupdateenv_53bit): Remove.
5788 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5789 (math_opt_barrier, math_force_eval): Remove.
5790 (libc_feholdexcept): Remove.
5791 (libc_feholdexcept_setround): Remove.
5792 (libc_fetestexcept, libc_fesetenv): Remove.
5793 (libc_feupdateenv_test): Remove.
5794 (libc_feupdateenv, libc_feholdsetround): Remove.
5795 (libc_feresetround): Remove.
5796
5797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5798 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5799
5800 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5801 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5802 (libc_feupdateenv_testl): New.
5803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5804 (libc_feupdateenv_testf): New.
5805 (libc_feupdateenv): Use libc_feupdateenv_test.
5806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5808
5809 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5810 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5811 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5812 (libc_feresetround_noex): New.
5813 (libc_feresetround_noexf): New.
5814 (libc_feresetround_noexl): New.
5815 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5816 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5817 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5819 SET_RESTORE_ROUND.
5820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5822 (__cos): Likewise.
5823 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5825 SET_RESTORE_ROUND_NOEX.
5826 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5827 SET_RESTORE_ROUND_NOEXF.
5828 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5829 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5830 (libc_feholdsetroundf): New.
5831 (libc_feresetround, libc_feresetroundf): New.
5832
5833 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5834 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5835 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5836
5837 * sysdeps/generic/math_private.h: Include <fenv.h>.
5838 (default_libc_feholdexcept): New.
5839 (default_libc_feholdexcept_setround): New.
5840 (default_libc_fesetenv, default_libc_feupdateenv): New.
5841 (libc_feholdexcept): Only define if undefined.
5842 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5844 (libc_feholdexcept_setroundl): Likewise.
5845 (libc_feholdexcept_setround_53bit): Likewise.
5846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5849 (libc_feupdateenv_53bit): Likewise.
5850 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5851 (libc_feholdexcept): Convert from macro to inline function.
5852 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5853 (libc_fesetenv, libc_feupdateenv): Likewise.
5854
5855 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5856 not previously defined.
5857 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5858 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5859 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5860 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5861 * sysdeps/ieee754/flt-32/math_private.h: New file.
5862 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5863 math_private.h below SET_FLOAT_WORD.
5864 (__isnan, __isinf_ns, __finite): Remove.
5865 (__isnanf, __isinf_nsf, __finitef): Remove.
5866
5867 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5870
5871 2012-03-17 David S. Miller <davem@davemloft.net>
5872
5873 [BZ #6471]
5874 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5875 for 2.16.
5876
5877 2012-03-16 David S. Miller <davem@davemloft.net>
5878
5879 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5880 warnings.
5881
5882 [BZ #6471]
5883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5884 properly.
5885 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5886 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5887 sysdep_routines when subdir is sysvipc.
5888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5889 __getshmlba helper.
5890
5891 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5892
5893 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5894
5895 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5896 [__LP64__].
5897
5898 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5899
5900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5902 (__lround): Renamed to ...
5903 (__llround): This. Replace long int with long long int.
5904 Define lround functions as aliases of llround functions.
5905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5906
5907 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5908
5909 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5910 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5911 adresses to uintptr_t. Replace "long int" and "unsigned long
5912 int" with "greg_t" on va_arg.
5913
5914 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5915
5916 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5917 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5918
5919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5920 Move e_machine check before EI_CLASS check. Handle x32
5921 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5922 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5923 SKIP_EM_IA_64 and include
5924 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5925
5926 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5927 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5928 (add_system_dir): New macro.
5929
5930 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5931 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5932
5933 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5934
5935 [BZ #2551]
5936 [BZ #2552]
5937 [BZ #2553]
5938 [BZ #2554]
5939 [BZ #2562]
5940 [BZ #2563]
5941 [BZ #2565]
5942 [BZ #2566]
5943 [BZ #2576]
5944 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5945 (y0): Likewise.
5946 * math/w_j0f.c (j0f): Likewise.
5947 (y0f): Likewise.
5948 * math/w_j0l.c (__j0l): Likewise.
5949 (__y0l): Likewise.
5950 * math/w_j1.c (j1): Likewise.
5951 (y1): Likewise.
5952 * math/w_j1f.c (j1f): Likewise.
5953 (y1f): Likewise.
5954 * math/w_j1l.c (__j1l): Likewise.
5955 (__y1l): Likewise.
5956 * math/w_jn.c (jn): Likewise.
5957 (yn): Likewise.
5958 * math/w_jnf.c (jnf): Likewise.
5959 (ynf): Likewise.
5960 * math/w_jnl.c (__jnl): Likewise.
5961 (__ynl): Likewise.
5962 * math/libm-test.inc (j0_test): Add more tests.
5963 (j1_test): Likewise.
5964 (jn_test): Likewise. Add trailing semicolon to existing test.
5965 (y0_test): Likewise.
5966 (y1_test): Likewise.
5967 * sysdeps/i386/fpu/libm-test-ulps: Update.
5968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5969
5970 [BZ #13851]
5971 [BZ #13854]
5972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5973 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5974 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5976 (__tanl): Set errno for infinite argument.
5977 * sysdeps/i386/fpu/mptan.c: Remove.
5978 * sysdeps/i386/fpu/s_tan.S: Likewise.
5979 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5980 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5981 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5982 * math/libm-test.inc (tan_test): Add more tests and enable more
5983 tests for double and long double.
5984 * sysdeps/i386/fpu/libm-test-ulps: Update.
5985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5986
5987 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5988
5989 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5990 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5991
5992 2012-03-16 Roland McGrath <roland@hack.frob.com>
5993
5994 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5995 * configure.in: Use it for both main tree and add-ons.
5996 * configure: Regenerated.
5997
5998 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5999
6000 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
6001
6002 2012-03-16 Joseph Myers <joseph@codesourcery.com>
6003
6004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
6005 in comment.
6006
6007 [BZ #13851]
6008 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
6009 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
6010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
6011 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
6012 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
6013 infinite argument.
6014 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
6015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
6016 != 0 for prec == 2.
6017 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
6018 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
6019 * sysdeps/i386/fpu/s_cosl.S: Likewise.
6020 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
6021 * sysdeps/i386/fpu/s_sinl.S: Likewise.
6022 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
6023 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
6024 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
6025 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
6026 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
6027 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
6028 * math/libm-test.inc (cos_test): Add more tests and enable more
6029 tests for long double.
6030 (sin_test): Likewise.
6031 (sincos_test): Likewise.
6032 * sysdeps/i386/fpu/libm-test-ulps: Update.
6033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6034
6035 2012-03-16 David S. Miller <davem@davemloft.net>
6036
6037 * sysdeps/sparc/fpu/math_private.h: New file.
6038
6039 2012-03-15 David S. Miller <davem@davemloft.net>
6040
6041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
6042 file.
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
6044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
6045 file.
6046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
6047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
6048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
6049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
6050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
6051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
6052 sysdep routines.
6053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6054
6055 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
6056 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
6057
6058 * sysdeps/sparc/sparc-ifunc.h: New file.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
6060 sparc-ifunc.h
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
6063 Likewise.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
6065 Likewise.
6066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
6067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
6068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
6069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
6070 Likewise.
6071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
6073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
6076 Likewise.
6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
6078 Likewise.
6079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
6081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
6083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
6084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
6085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
6086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
6087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
6088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
6089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
6090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
6091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
6092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
6093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
6094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
6095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
6101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
6102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
6103
6104 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6105
6106 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
6107 scaling.
6108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6109
6110 2012-03-15 Andreas Jaeger <aj@suse.de>
6111
6112 [BZ #13852]
6113 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
6114 ieee754/flt-32 implementation for sin, cos and sincos.
6115 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
6116 * sysdeps/i386/fpu/s_cosf.S: Likewise.
6117 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
6118 * sysdeps/i386/fpu/s_sinf.S: Likewise.
6119 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
6120 ieee754/flt-32 implementation for tan.
6121
6122 * math/libm-test.inc (cos_test): Enable some large input tests for
6123 float as well
6124 (sin_test): Likewise.
6125 (sincos_test): Likewise.
6126 (tan_test): Add tests for large input.
6127
6128 * sysdeps/i386/fpu/libm-test-ulps: Update.
6129
6130 2012-03-15 Andreas Jaeger <aj@suse.de>
6131
6132 [BZ #13658]
6133 * math/libm-test.inc (cos_test): Add more test cases.
6134 (sin_test): Likewise.
6135 (sincos_test): Likewise.
6136
6137 2012-03-15 Andreas Jaeger <aj@suse.de>
6138
6139 [BZ #13837]
6140 * math/libm-test.inc (cos_test): Add a test case for large input
6141 value.
6142 (sin_test): Likewise.
6143 (sincos_test): Likewise.
6144
6145 2012-03-15 Andreas Jaeger <aj@suse.de>,
6146 Joseph Myers <joseph@codesourcery.com>
6147
6148 [BZ #13658]
6149 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6150 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6151 * sysdeps/i386/fpu/branred.c: Likewise.
6152 * sysdeps/i386/fpu/dosincos.c: Likewise.
6153 * sysdeps/i386/fpu/mpa.c: Likewise.
6154 * sysdeps/i386/fpu/s_cos.S: Likewise.
6155 * sysdeps/i386/fpu/s_sin.S: Likewise.
6156 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6157 * sysdeps/i386/fpu/sincos32.c: Likewise.
6158
6159 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6160 Define.
6161 (libc_feupdateenv_53bit): Define.
6162 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6163 Define.
6164 (libc_feupdateenv_53bit): Define.
6165
6166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6167 53 bit (without extend i386 double precision).
6168
6169 * math/libm-test.inc (sincos_test): Add tests for large input.
6170 (sin): Likewise.
6171 (cos): Likewise.
6172
6173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6174
6175 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6176
6177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6178
6179 2012-03-15 David S. Miller <davem@davemloft.net>
6180
6181 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6182 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6183 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6197 file.
6198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6200 file.
6201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6203 file.
6204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6206 file.
6207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6209 fmin/fmax sysdep routines.
6210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6211
6212 2012-03-14 David S. Miller <davem@davemloft.net>
6213
6214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6243 routines.
6244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6245 file.
6246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6248 file.
6249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6251 file.
6252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6254 file.
6255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6257 file.
6258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6260 file.
6261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6262 file.
6263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6264 file.
6265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6266 file.
6267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6268 New file.
6269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6270 file.
6271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6272 file.
6273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6275 file.
6276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6278 file.
6279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6281 file.
6282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6284 VIS3 routines.
6285
6286 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6287 New file.
6288
6289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6290
6291 * sysdeps/sparc/configure.in: New file.
6292 * sysdeps/sparc/configure: Generate.
6293 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6294 * configure: Regenerate.
6295 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6296 * config.make.in (have-as-vis3): New.
6297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6298 available use -Av9d instead of -Av9a.
6299 * sysdeps/sparc/sparc64/Makefile: Likewise.
6300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6302 New file.
6303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6304 file.
6305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6306 New file.
6307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6308 file.
6309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6314
6315 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6316 fzeros/fnegs to load 0x80000000 into a float register instead of
6317 using the stack.
6318 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6319
6320 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6321
6322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6323 bits/syscall.h.
6324 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6325 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6326 ($(inst_includedir)/bits/syscall.h): Remove rule.
6327 ($(objpfx)bits/syscall.d): Include instead of
6328 $(objpfx)syscall-list.d.
6329 (generated): Change syscall-list.h and syscall-list.d to
6330 bits/syscall.h and bits/syscall.d.
6331
6332 2012-03-14 Roland McGrath <roland@hack.frob.com>
6333
6334 [BZ #13846]
6335 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6336
6337 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6338
6339 [BZ #13841]
6340 * math/s_csqrt.c: Include <float.h>.
6341 (__csqrt): Scale large or subnormal inputs.
6342 * math/s_csqrtf.c: Likewise.
6343 * math/s_csqrtl.c: Likewise.
6344 * math/libm-test.inc (csqrt_test): Add more tests.
6345 * sysdeps/i386/fpu/libm-test-ulps: Update.
6346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6347
6348 [BZ #13840]
6349 * math/libm-test.inc (hypot_test): Add more tests.
6350
6351 2012-03-13 David S. Miller <davem@davemloft.net>
6352
6353 [BZ #13840]
6354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6355 double-precision for the calculation instead of scaling.
6356
6357 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6358
6359 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6360 manipulate bits before adding and subtracting TWO52[sx].
6361 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6363 Likewise.
6364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6365
6366 2012-03-13 David S. Miller <davem@davemloft.net>
6367
6368 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6369 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6371 rtld-global-offsets.h
6372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6373
6374 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6375 large parameters.
6376
6377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6378
6379 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6380 'err' in the ifdef scope in which it is actually used.
6381
6382 * nss/nss_db/db-init.c: Include string.h
6383
6384 2012-03-12 David S. Miller <davem@davemloft.net>
6385
6386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6387 masking out of the most significant byte of random value used.
6388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6389 Fix coding style in previous change.
6390
6391 * sysdeps/unix/sysv/linux/kernel-features.h
6392 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6393 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6394 expression.
6395 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6396 later.
6397
6398 2012-03-11 David S. Miller <davem@davemloft.net>
6399
6400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6401 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6403 for 'resultvar' otherwise things get truncated on 64-bit.
6404
6405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6406 Fix masking out of the most significant byte of random value used.
6407
6408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6409
6410 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6411
6412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6413
6414 2012-03-09 David S. Miller <davem@davemloft.net>
6415
6416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6417 variables with appropriate CPP guards.
6418 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6419 frame pointer, not the stack pointer. Correct layout comments. Fix test
6420 on resulting framesize and the management of the outregs buffer for pltexit.
6421 Preserve floating point return values across _dl_call_pltexit call.
6422 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6423 framesize and the management of the outregs buffer for pltexit.
6424 Preserve floating point return values across _dl_call_pltexit
6425 call.
6426 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6427 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6428 (print_exit): Fix format string for return register value.
6429
6430 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6431
6432 * sunrpc/Makefile (others): Add rpcgen.
6433 ($(objpfx)rpcgen): Remove special build rule and dependency on
6434 libc.
6435 * sunrpc/rpcgen.c: New file.
6436
6437 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6438
6439 [BZ #13673]
6440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6442 * sysdeps/i386/crti.S: Likewise.
6443 * sysdeps/i386/crtn.S: Likewise.
6444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6448 * sysdeps/sh/crti.S: Likewise.
6449 * sysdeps/sh/crtn.S: Likewise.
6450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6451
6452 [BZ #13673]
6453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6454 with URL.
6455 * locale/programs/locfile-kw.gperf: Likewise.
6456 * locale/programs/charmap-kw.h: Regenerated.
6457 * locale/programs/locfile-kw.h: Likewise.
6458
6459 [BZ #13673]
6460 * intl/plural.y: Replace FSF snail mail address with URL.
6461 * intl/plural.c: Regenerated.
6462
6463 2012-03-09 Richard Henderson <rth@twiddle.net>
6464
6465 * include/math_private.h: Remove file.
6466 * math/math_private.h: Move file ...
6467 * sysdeps/generic/math_private.h: ... here.
6468
6469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6472
6473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6474 and <math_private.h>.
6475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6624 * sysdeps/ieee754/k_standard.c: Likewise.
6625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6785 * sysdeps/ieee754/s_lib_version.c: Likewise.
6786 * sysdeps/ieee754/s_matherr.c: Likewise.
6787 * sysdeps/ieee754/s_signgam.c: Likewise.
6788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6809
6810 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6811
6812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6813 * sunrpc/rpc_main.c: Likewise.
6814 * sunrpc/rpc_svcout.c: Likewise.
6815
6816 2012-03-09 David S. Miller <davem@davemloft.net>
6817
6818 * include/math_private.h: New file.
6819
6820 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6821
6822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6825 from <bits/socket_type.h>.
6826 (enum __socket_type): Don't define here.
6827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6829 bits/socket_type.h.
6830
6831 [BZ #13566]
6832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6833 checking __USE_GNU.
6834
6835 * Makerules ($(inst_includedir)/%.h): New rule.
6836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6837 (install-others): Remove variable setting.
6838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6839
6840 2012-03-08 Richard Henderson <rth@twiddle.net>
6841
6842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6843 from macro to inline function; merge with the
6844 !__LIBC_INTERNAL_MATH_INLINES version.
6845 (__ieee754_sqrtf): Likewise.
6846
6847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6848 to inline function.
6849 (__rintf, __floor, __floorf): Likewise.
6850
6851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6852 macro to inline function.
6853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6854
6855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6856 not <math/math_private.h>.
6857
6858 2012-03-08 David S. Miller <davem@davemloft.net>
6859
6860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6861 copyright year.
6862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6863
6864 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6865
6866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6867 normalization.
6868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6870
6871 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6872
6873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6874 be defined individually, they must be defined as a block. Define
6875 S for printing a string instead of hidint the different by using a
6876 macro for adding the 'l'.
6877 * stdio-common/tst-fphex-wide.c: Adjust.
6878
6879 2012-03-07 Marek Polacek <polacek@redhat.com>
6880
6881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6882
6883 2012-03-08 Marek Polacek <polacek@redhat.com>
6884
6885 [BZ #13806]
6886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6887 * stdio-common/tst-fphex.c: Define a few macros to make the
6888 test reusable. Use them.
6889 * stdio-common/tst-fphex-wide.c: New file.
6890
6891 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6892
6893 [BZ #6911]
6894 * manual/macros.texi (gnusystems): New macro.
6895 (nongnusystems): Likewise.
6896 (gnulinuxhurdsystems): Likewise.
6897 (gnuhurdsystems): Likewise..
6898 (gnulinuxsystems): Likewise.
6899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6900 variants of the GNU system, not "GNU system".
6901 * manual/conf.texi: Likewise.
6902 * manual/errno.texi: Likewise. Update example of errno macro
6903 expansion.
6904 * manual/filesys.texi: Likewise.
6905 (getumask): Document as specific to GNU/Hurd.
6906 * manual/install.texi: Likewise. Reword some references to
6907 GNU/Linux.
6908 * manual/intro.texi: Likewise.
6909 * manual/io.texi: Likewise.
6910 (File Name Portability): Detail which constraints are inapplicable
6911 to all GNU systems and which are only inapplicable to GNU/Hurd.
6912 * manual/job.texi: Likewise.
6913 * manual/llio.texi: Likewise.
6914 (O_NOCTTY): Document as present on GNU/Linux.
6915 * manual/maint.texi: Likewise.
6916 * manual/memory.texi: Likewise.
6917 * manual/pattern.texi: Likewise.
6918 * manual/pipe.texi: Likewise.
6919 * manual/process.texi: Likewise.
6920 * manual/resource.texi: Likewise.
6921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6922 child on GNU/Hurd.
6923 * manual/setjmp.texi: Likewise.
6924 * manual/signal.texi: Likewise.
6925 * manual/startup.texi: Likewise.
6926 * manual/stdio.texi: Likewise.
6927 * manual/terminal.texi: Likewise.
6928 (ONLCR): Document as POSIX.
6929 (OXTABS): Document availability on GNU/Linux as XTABS.
6930 (ONOEOT): Document availability separately from other bits.
6931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6932 * manual/time.texi: Likewise.
6933 * manual/users.texi: Likewise.
6934 * INSTALL: Regenerated.
6935 * sysdeps/gnu/errlist.c: Regenerated.
6936
6937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6940 puts.
6941 * configure: Regenerated.
6942
6943 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6944
6945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6946 default includes instead of AC_HEADER_CHECK.
6947 * sysdeps/i386/configure: Regenerated.
6948
6949 [BZ #10716]
6950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6951 * math/s_cacoshf.c (__cacoshf): Likewise.
6952 * math/s_cacoshl.c (__cacoshl): Likewise.
6953 * math/s_casinh.c (__casinh): Set signs of result from argument.
6954 * math/s_casinhf.c (__casinhf): Likewise.
6955 * math/s_casinhl.c (__casinhl): Likewise.
6956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6957 (casinh_test): Add more tests.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6960
6961 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6962
6963 * po/zh_TW.po: Update from translation team.
6964
6965 * login/Makefile (distribute): Remove variable.
6966 * catgets/Makefile: Likewise.
6967 * mach/Makefile: Likewise.
6968 * malloc/Makefile: Likewise.
6969 * misc/Makefile: Likewise.
6970 * iconv/Makefile: Likewise.
6971 * nscd/Makefile: Likewise.
6972 * hurd/Makefile: Likewise.
6973 * manual/Makefile: Likewise.
6974 * locale/Makefile: Likewise.
6975 * intl/Makefile: Likewise.
6976 * conform/Makefile: Likewise.
6977 * nss/Makefile: Likewise.
6978 * time/Makefile: Likewise.
6979 * soft-fp/Makefile: Likewise.
6980 * dirent/Makefile: Likewise.
6981 * gmon/Makefile: Likewise.
6982 * po/Makefile: Likewise.
6983 * rt/Makefile: Likewise.
6984 * socket/Makefile: Likewise.
6985 * math/Makefile: Likewise.
6986 * signal/Makefile: Likewise.
6987 * debug/Makefile: Likewise.
6988 * elf/Makefile: Likewise.
6989 * timezone/Makefile: Likewise.
6990 * stdlib/Makefile: Likewise.
6991 * iconvdata/Makefile: Likewise.
6992 * sunrpc/Makefile: Likewise.
6993 * io/Makefile: Likewise.
6994 * argp/Makefile: Likewise.
6995 * inet/Makefile: Likewise.
6996 * hesiod/Makefile: Likewise.
6997 * grp/Makefile: Likewise.
6998 * csu/Makefile: Likewise.
6999 * wctype/Makefile: Likewise.
7000 * crypt/Makefile: Likewise.
7001 * libio/Makefile: Likewise.
7002 * string/Makefile: Likewise.
7003 * nis/Makefile: Likewise.
7004 * resolv/Makefile: Likewise.
7005 * stdio-common/Makefile: Likewise.
7006 * wcsmbs/Makefile: Likewise.
7007 * dlfcn/Makefile: Likewise.
7008 * posix/Makefile: Likewise.
7009
7010 [BZ #6959]
7011 * timezone/Makefile: Don't install timezone files, just the programs
7012 and scripts.
7013
7014 2012-03-06 Ulrich Drepper <drepper@gmail.com>
7015
7016 * nss/databases.def: Add missing gshadow entry.
7017
7018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
7019
7020 2012-03-06 Marek Polacek <polacek@redhat.com>
7021
7022 [BZ #13726]
7023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
7024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
7026 * stdio-common/tst-long-dbl-fphex.c: New file.
7027
7028 2012-03-06 David S. Miller <davem@davemloft.net>
7029
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7031 (set_obp_int): New function.
7032 (get_obp_int): New function.
7033 (__get_clockfreq_via_dev_openprom): Likewise.
7034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
7035 Avoid unused variable warnings on 'val' and use builtin_expect.
7036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
7037 __builtin_expect.
7038 (INLINE_CLONE_SYSCALL): Likewise.
7039
7040 2012-03-05 David S. Miller <davem@davemloft.net>
7041
7042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7043
7044 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
7045
7046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7047
7048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
7049 only for |x| >= 40.
7050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7051
7052 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
7053
7054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
7055 Replace gettimeofday with __vdso_gettimeofday.
7056
7057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
7059 __vdso_clock_gettime and __vdso_getcpu.
7060
7061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
7062 time with __vdso_time.
7063
7064 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7065
7066 * manual/lang.texi (size_t): Note types to which size_t may be
7067 equivalent with the GNU C Library, but do not describe when
7068 differences between them are significant.
7069
7070 2012-03-05 Andreas Jaeger <aj@suse.de>
7071
7072 * sysdeps/i386/fpu/libm-test-ulps: Update.
7073
7074 2012-03-05 Joseph Myers <joseph@codesourcery.com>
7075
7076 [BZ #3976]
7077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
7078 (__ieee754_pow): Save and restore rounding mode and use
7079 round-to-nearest for main computations.
7080 * math/libm-test.inc (pow_test_tonearest): New function.
7081 (pow_test_towardzero): Likewise.
7082 (pow_test_downward): Likewise.
7083 (pow_test_upward): Likewise.
7084 (main): Call the new functions.
7085 * sysdeps/i386/fpu/libm-test-ulps: Update.
7086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7087
7088 [BZ #3976]
7089 * math/libm-test.inc (cosh_test_tonearest): New function.
7090 (cosh_test_towardzero): Likewise.
7091 (cosh_test_downward): Likewise.
7092 (cosh_test_upward): Likewise.
7093 (sinh_test_tonearest): Likewise.
7094 (sinh_test_towardzero): Likewise.
7095 (sinh_test_downward): Likewise.
7096 (sinh_test_upward): Likewise.
7097 (main): Call the new functions.
7098 * sysdeps/i386/fpu/libm-test-ulps: Update.
7099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7100
7101 2012-03-05 Tom de Vries <tom@codesourcery.com>
7102
7103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
7104 default stack guard is set in last bytes.
7105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
7106
7107 2012-03-05 Kees Cook <keescook@chromium.org>
7108
7109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
7110
7111 [BZ #13656]
7112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
7113 possibly allocate from heap instead of stack.
7114 * stdio-common/bug-vfprintf-nargs.c: New file.
7115 * stdio-common/Makefile (tests): Add nargs overflow test.
7116
7117 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
7118
7119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7120
7121 2012-03-03 Marek Polacek <polacek@redhat.com>
7122
7123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7124 * math/math_private.h: Likewise.
7125 * stdlib/tst-strtod.c: Likewise.
7126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7127 * sysdeps/x86_64/bits/atomic.h: Likewise.
7128
7129 2012-03-02 David S. Miller <davem@davemloft.net>
7130
7131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7139
7140 2012-03-02 Roland McGrath <roland@hack.frob.com>
7141
7142 [BZ #13792]
7143 * manual/examples/README: New file, says the example source files
7144 can be used under GPL>=2.
7145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7146 line containing just "*/".
7147 * manual/examples/add.c: Add copyright header (GPL>=2).
7148 * manual/examples/argp-ex1.c: Likewise.
7149 * manual/examples/argp-ex2.c: Likewise.
7150 * manual/examples/argp-ex3.c: Likewise.
7151 * manual/examples/argp-ex4.c: Likewise.
7152 * manual/examples/atexit.c: Likewise.
7153 * manual/examples/db.c: Likewise.
7154 * manual/examples/dir.c: Likewise.
7155 * manual/examples/dir2.c: Likewise.
7156 * manual/examples/execinfo.c: Likewise.
7157 * manual/examples/filecli.c: Likewise.
7158 * manual/examples/filesrv.c: Likewise.
7159 * manual/examples/fmtmsgexpl.c: Likewise.
7160 * manual/examples/genpass.c: Likewise.
7161 * manual/examples/inetcli.c: Likewise.
7162 * manual/examples/inetsrv.c: Likewise.
7163 * manual/examples/isockad.c: Likewise.
7164 * manual/examples/longopt.c: Likewise.
7165 * manual/examples/memopen.c: Likewise.
7166 * manual/examples/memstrm.c: Likewise.
7167 * manual/examples/mkfsock.c: Likewise.
7168 * manual/examples/mkisock.c: Likewise.
7169 * manual/examples/mygetpass.c: Likewise.
7170 * manual/examples/pipe.c: Likewise.
7171 * manual/examples/popen.c: Likewise.
7172 * manual/examples/rprintf.c: Likewise.
7173 * manual/examples/search.c: Likewise.
7174 * manual/examples/select.c: Likewise.
7175 * manual/examples/setjmp.c: Likewise.
7176 * manual/examples/sigh1.c: Likewise.
7177 * manual/examples/sigusr.c: Likewise.
7178 * manual/examples/stpcpy.c: Likewise.
7179 * manual/examples/strdupa.c: Likewise.
7180 * manual/examples/strftim.c: Likewise.
7181 * manual/examples/strncat.c: Likewise.
7182 * manual/examples/subopt.c: Likewise.
7183 * manual/examples/swapcontext.c: Likewise.
7184 * manual/examples/termios.c: Likewise.
7185 * manual/examples/testopt.c: Likewise.
7186 * manual/examples/testpass.c: Likewise.
7187 * manual/examples/timeval_subtract.c: Likewise.
7188
7189 [BZ #13792]
7190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7191 function to ...
7192 * manual/timeval_subtract.c.texi: ... here, new file.
7193
7194 2012-03-02 David S. Miller <davem@davemloft.net>
7195
7196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7197
7198 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7199
7200 [BZ #3976]
7201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7202 (__sin): Save and restore rounding mode and use round-to-nearest
7203 for all computations.
7204 (__cos): Save and restore rounding mode and use round-to-nearest
7205 for all computations.
7206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7207 <fenv.h>.
7208 (tan): Save and restore rounding mode and use round-to-nearest for
7209 all computations.
7210 * math/libm-test.inc (cos_test_tonearest): New function.
7211 (cos_test_towardzero): Likewise.
7212 (cos_test_downward): Likewise.
7213 (cos_test_upward): Likewise.
7214 (sin_test_tonearest): Likewise.
7215 (sin_test_towardzero): Likewise.
7216 (sin_test_downward): Likewise.
7217 (sin_test_upward): Likewise.
7218 (tan_test_tonearest): Likewise.
7219 (tan_test_towardzero): Likewise.
7220 (tan_test_downward): Likewise.
7221 (tan_test_upward): Likewise.
7222 (main): Call the new functions.
7223 * sysdeps/i386/fpu/libm-test-ulps: Update.
7224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7225
7226 [BZ #10135]
7227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7228 small n, then large n, before computing and testing k+n.
7229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7231 Likewise.
7232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7233 Likewise.
7234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7242 * math/libm-test.inc (scalbn_test): Add more tests.
7243 (scalbln_test): Likewise.
7244
7245 * manual/filesys.texi (mode_t): Describe constraints on size and
7246 signedness, not exact equivalence to a particular type.
7247 (ino_t): Likewise.
7248 (ino64_t): Likewise.
7249 (dev_t): Likewise.
7250 (nlink_t): Likewise.
7251 (blkcnt_t): Likewise.
7252 (blkcnt64_t): Likewise.
7253 * manual/llio.texi (off_t): Likewise.
7254
7255 [BZ #3976]
7256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7257 (__ieee754_exp): Save and restore rounding mode and use
7258 round-to-nearest for all computations.
7259 * math/libm-test.inc (exp_test_tonearest): New function.
7260 (exp_test_towardzero): Likewise.
7261 (exp_test_downward): Likewise.
7262 (exp_test_upward): Likewise.
7263 (main): Call the new functions.
7264 * sysdeps/i386/fpu/libm-test-ulps: Update.
7265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7266
7267 2012-03-01 Chris Demetriou <cgd@google.com>
7268
7269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7270 have predictable order.
7271
7272 2012-03-01 David S. Miller <davem@davemloft.net>
7273
7274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7275
7276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7280
7281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7290
7291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7292
7293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7296
7297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7315 * sysdeps/sparc/elf/configure: Regenerated.
7316
7317 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7318
7319 * configure.in (AS, LD): Require binutils 2.20 or later.
7320 * configure: Regenerated.
7321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7322 as required minimum version.
7323 * INSTALL: Regenerated.
7324
7325 [BZ #2541]
7326 [BZ #4108]
7327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7328 before squaring exponent.
7329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7330 bottom long double and 27 bits of top long double before squaring
7331 exponent.
7332 * math/libm-test.inc (erfc_test): Add more tests.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7336
7337 2012-03-01 Kai Tietz <ktietz@redhat.com>
7338
7339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7341 containing bit-fields.
7342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7343 * soft-fp/single.h (_FP_UNION_S): Likewise.
7344 * soft-fp/double.h (_FP_UNION_D): Likewise.
7345
7346 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7347
7348 [BZ #13786]
7349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7350 not include ../strcmp.S.
7351 [USE_AS_STRNCASECMP_L]: Likewise.
7352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7355 (__strncasecmp_l_ia32): Define as alias to
7356 __strncasecmp_l_nonascii.
7357
7358 [BZ #5794]
7359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7360 * sysdeps/i386/fpu/libm-test-ulps: Update.
7361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7362
7363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7365
7366 2012-02-29 Jeff Law <law@redhat.com>
7367
7368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7369 out of bounds read.
7370
7371 2012-02-29 Marek Polacek <polacek@redhat.com>
7372
7373 [BZ #13706]
7374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7375 * elf/Makefile: Add rules to run tst-unused-dep.out.
7376
7377 2012-02-28 David S. Miller <davem@davemloft.net>
7378
7379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7385
7386 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7387
7388 * math/libm-test.inc (llround_test): Move one test from
7389 lround_test. Use TEST_f_L in moved test.
7390 (lround_test): Move misplaced test to llround_test. Add testcase
7391 from bug 2561.
7392
7393 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7394
7395 * sysdeps/x86_64/fpu/e_expf.S: New file.
7396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7397
7398 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7399
7400 [BZ #13637]
7401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7402 of remain_len that may cause incomplete multi-byte character and
7403 false match.
7404 * posix/bug-regex33.c: New file.
7405 * posix/Makefile (tests): Add bug-regex33.
7406
7407 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7408
7409 * manual/macros.texi: New file.
7410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7411 * manual/libc.texinfo: Include macros.texi.
7412 * manual/creatute.texi: Likewise.
7413 * manual/install.texi: Likewise.
7414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7415 @glibcadj{} in references to the GNU C Library.
7416 * manual/charset.texi: Likewise.
7417 * manual/conf.texi: Likewise.
7418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7419 when not using those macros.
7420 * manual/creature.texi: Likewise.
7421 * manual/crypt.texi: Likewise.
7422 * manual/errno.texi: Likewise.
7423 * manual/filesys.texi: Likewise.
7424 * manual/header.texi: Likewise.
7425 * manual/install.texi: Likewise.
7426 * manual/intro.texi: Likewise.
7427 * manual/io.texi: Likewise.
7428 * manual/job.texi: Likewise.
7429 * manual/lang.texi: Likewise.
7430 * manual/libc.texiinfo: Likewise.
7431 * manual/llio.texi: Likewise.
7432 * manual/locale.texi: Likewise.
7433 * manual/maint.texi: Likewise.
7434 * manual/math.texi: Likewise.
7435 * manual/memory.texi: Likewise.
7436 * manual/message.texi: Likewise.
7437 * manual/nss.texi: Likewise.
7438 * manual/pattern.texi: Likewise.
7439 * manual/process.texi: Likewise.
7440 * manual/resource.texi: Likewise.
7441 * manual/search.texi: Likewise.
7442 * manual/setjmp.texi: Likewise.
7443 * manual/signal.texi: Likewise.
7444 * manual/socket.texi: Likewise.
7445 * manual/startup.texi: Likewise.
7446 * manual/stdio.texi: Likewise.
7447 * manual/string.texi: Likewise.
7448 * manual/sysinfo.texi: Likewise.
7449 * manual/syslog.texi: Likewise.
7450 * manual/terminal.texi: Likewise.
7451 * manual/time.texi: Likewise.
7452 * manual/users.texi: Likewise.
7453 * INSTALL: Regenerated.
7454 * NOTES: Regenerated.
7455 * sysdeps/gnu/errlist.c: Regenerated.
7456
7457 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7458
7459 * include/dirent.h: Include <dirstream.h> before
7460 <dirent/dirent.h>.
7461
7462 2012-02-28 David S. Miller <davem@davemloft.net>
7463
7464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7468
7469 2012-02-27 David S. Miller <davem@davemloft.net>
7470
7471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7475
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7477 frame pointer instead of stack pointer relative arg slot.
7478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7481
7482 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7483
7484 [BZ #3992]
7485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7486
7487 2012-02-27 David S. Miller <davem@davemloft.net>
7488
7489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7497
7498 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7499
7500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7501 later. Allow versions 5-9.
7502 * configure: Regenerated.
7503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7504 required minimum version and 4.6 as recommended version. Do not
7505 mention bugs in GCC 2.7 and 2.8.
7506 * INSTALL: Regenerated.
7507
7508 2012-02-27 David S. Miller <davem@davemloft.net>
7509
7510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7518
7519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7520 manipulate bits before adding and subtracting TWO112[sx].
7521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7522
7523 2012-02-27 Roland McGrath <roland@hack.frob.com>
7524
7525 [BZ #13775]
7526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7529 being in POSIX, because they are in 1003.1-2008.
7530
7531 * rt/tst-aio.c: Include <fcntl.h>.
7532 * rt/tst-aio7.c: Likewise.
7533 * rt/tst-aio64.c: Likewise.
7534
7535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7536
7537 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7538
7539 * manual/install.texi (--with-headers): Describe headers as
7540 interface headers, not private headers.
7541 (Specific advice for GNU/Linux systems): Describe use of headers
7542 from "make headers_install", not private headers from older
7543 kernels.
7544 * INSTALL: Regenerated.
7545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7546 Change to 2.6.19.
7547 * sysdeps/unix/sysv/linux/configure: Regenerated.
7548
7549 * manual/llio.texi (fclean): Remove documentation.
7550
7551 * manual/Makefile (libc-texi-generated): New variable. Include
7552 version.texi.
7553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7554 $(libc-texi-generated), not duplicated list of files.
7555 (version.texi, stamp-version): New rules.
7556 (realclean): Remove $(libc-texi-generated), not individual files
7557 from that list. Do not remove dir-add.texinfo.
7558 * manual/libc.texinfo: Comment out uses of edition numbers and
7559 references to printed manual. Remove last-updated dates.
7560 (EDITION): Comment out.
7561 (ISBN): Likewise.
7562 (VERSION, UPDATED): Remove.
7563 (version.texi): Include.
7564
7565 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7566
7567 * sysdeps/posix/spawni.c: Include <signal.h>.
7568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7569 * sysdeps/pthread/aio_fsync.c: Likewise.
7570
7571 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7572
7573 * conform/Makefile (tests): Run only when not cross-compiling and
7574 when fast-check is not defined.
7575
7576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7577 * conform/data/limits.h-data: Fixes for POSIX2008.
7578 * conform/run-conformtest.sh: Run all tests.
7579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7580 headers.
7581 * include/bits/dlfcn.h: Likewise.
7582 * include/langinfo.h: Likewise.
7583 * include/monetary.h: Likewise.
7584 * include/sys/poll.h: Likewise.
7585
7586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7587 for __USE_GNU.
7588 * posix/spawn.h: Define __need_sigset_t.
7589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7592 to get sigevent_t only.
7593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7594 only for __USE_GNU.
7595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7597 process_vm_writev only for __USE_GNU.
7598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7599
7600 * conform/Makefile: For now ignore errors from run-conformtest.
7601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7602 POSIX to avoid namespace pollution. Don't prepend headers.
7603 * conform/data/aio.h-data: Fixes for POSIX testing.
7604 * conform/data/fcntl.h-data: Likewise.
7605 * conform/data/glob.h-data: Likewise.
7606 * conform/data/grp.h-data: Likewise.
7607 * conform/data/pthread.h-data: Likewise.
7608 * conform/data/pwd.h-data: Likewise.
7609 * conform/data/signal.h-data: Likewise.
7610 * conform/data/spawn.h-data: Likewise.
7611 * conform/data/stdio.h-data: Likewise.
7612 * conform/data/stdlib.h-data: Likewise.
7613 * conform/data/stropts.h-data: Likewise.
7614 * conform/data/sys/mman.h-data: Likewise.
7615 * conform/data/sys/stat.h-data: Likewise.
7616 * conform/data/sys/types.h-data: Likewise.
7617 * conform/data/sys/wait.h-data: Likewise.
7618 * conform/data/time.h-data: Likewise.
7619 * conform/data/unistd.h-data: Likewise.
7620 * conform/data/utime.h-data: Likewise.
7621
7622 * io/sys/stat.h: fchmod was always in POSIX.
7623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7625 * rt/aio.h: Define __need_timespec before including <time.h>.
7626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7627 struct. Add forward declaration of pthread_attr_t and use it in
7628 sigevent.
7629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7632 always remove CLK_TCK definition.
7633
7634 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7635
7636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7637
7638 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7639
7640 * conform/run-conformtest.sh: New file.
7641 * conform/Makefile: Run run-conformtest for tests.
7642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7643 support.
7644
7645 * conform/data/uchar.h-data: New file.
7646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7647 * conform/data/arpa/inet.h-data: Likewise.
7648 * conform/data/assert.h-data: Likewise.
7649 * conform/data/complex.h-data: Likewise.
7650 * conform/data/cpio.h-data: Likewise.
7651 * conform/data/ctype.h-data: Likewise.
7652 * conform/data/dirent.h-data: Likewise.
7653 * conform/data/dlfcn.h-data: Likewise.
7654 * conform/data/errno.h-data: Likewise.
7655 * conform/data/fcntl.h-data: Likewise.
7656 * conform/data/float.h-data: Likewise.
7657 * conform/data/fmtmsg.h-data: Likewise.
7658 * conform/data/fnmatch.h-data: Likewise.
7659 * conform/data/ftw.h-data: Likewise.
7660 * conform/data/glob.h-data: Likewise.
7661 * conform/data/grp.h-data: Likewise.
7662 * conform/data/iconv.h-data: Likewise.
7663 * conform/data/inttypes.h-data: Likewise.
7664 * conform/data/langinfo.h-data: Likewise.
7665 * conform/data/libgen.h-data: Likewise.
7666 * conform/data/limits.h-data: Likewise.
7667 * conform/data/locale.h-data: Likewise.
7668 * conform/data/math.h-data: Likewise.
7669 * conform/data/monetary.h-data: Likewise.
7670 * conform/data/mqueue.h-data: Likewise.
7671 * conform/data/ndbm.h-data: Likewise.
7672 * conform/data/net/if.h-data: Likewise.
7673 * conform/data/netdb.h-data: Likewise.
7674 * conform/data/netinet/in.h-data: Likewise.
7675 * conform/data/nl_types.h-data: Likewise.
7676 * conform/data/poll.h-data: Likewise.
7677 * conform/data/pthread.h-data: Likewise.
7678 * conform/data/pwd.h-data: Likewise.
7679 * conform/data/regex.h-data: Likewise.
7680 * conform/data/sched.h-data: Likewise.
7681 * conform/data/search.h-data: Likewise.
7682 * conform/data/semaphore.h-data: Likewise.
7683 * conform/data/setjmp.h-data: Likewise.
7684 * conform/data/signal.h-data: Likewise.
7685 * conform/data/spawn.h-data: Likewise.
7686 * conform/data/stdarg.h-data: Likewise.
7687 * conform/data/stdio.h-data: Likewise.
7688 * conform/data/stdlib.h-data: Likewise.
7689 * conform/data/string.h-data: Likewise.
7690 * conform/data/strings.h-data: Likewise.
7691 * conform/data/stropts.h-data: Likewise.
7692 * conform/data/sys/ipc.h-data: Likewise.
7693 * conform/data/sys/mman.h-data: Likewise.
7694 * conform/data/sys/msg.h-data: Likewise.
7695 * conform/data/sys/resource.h-data: Likewise.
7696 * conform/data/sys/select.h-data: Likewise.
7697 * conform/data/sys/sem.h-data: Likewise.
7698 * conform/data/sys/shm.h-data: Likewise.
7699 * conform/data/sys/socket.h-data: Likewise.
7700 * conform/data/sys/stat.h-data: Likewise.
7701 * conform/data/sys/statvfs.h-data: Likewise.
7702 * conform/data/sys/time.h-data: Likewise.
7703 * conform/data/sys/timeb.h-data: Likewise.
7704 * conform/data/sys/times.h-data: Likewise.
7705 * conform/data/sys/types.h-data: Likewise.
7706 * conform/data/sys/uio.h-data: Likewise.
7707 * conform/data/sys/un.h-data: Likewise.
7708 * conform/data/sys/utsname.h-data: Likewise.
7709 * conform/data/sys/wait.h-data: Likewise.
7710 * conform/data/syslog.h-data: Likewise.
7711 * conform/data/tar.h-data: Likewise.
7712 * conform/data/termios.h-data: Likewise.
7713 * conform/data/utime.h-data: Likewise.
7714 * conform/data/utmpx.h-data: Likewise.
7715 * conform/data/varargs.h-data: Likewise.
7716 * conform/data/wchar.h-data: Likewise.
7717 * conform/data/wctype.h-data: Likewise.
7718 * conform/data/wordexp.h-data: Likewise.
7719
7720 * include/stropts.h: New file.
7721 * include/uchar.h: New file.
7722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7723 * include/assert.h: Likewise.
7724 * include/ctype.h: Likewise.
7725 * include/dirent.h: Likewise.
7726 * include/dlfcn.h: Likewise.
7727 * include/fcntl.h: Likewise.
7728 * include/fnmatch.h: Likewise.
7729 * include/glob.h: Likewise.
7730 * include/grp.h: Likewise.
7731 * include/libio.h: Likewise.
7732 * include/locale.h: Likewise.
7733 * include/math.h: Likewise.
7734 * include/net/if.h: Likewise.
7735 * include/netdb.h: Likewise.
7736 * include/netinet/in.h: Likewise.
7737 * include/pthread.h: Likewise.
7738 * include/pwd.h: Likewise.
7739 * include/regex.h: Likewise.
7740 * include/sched.h: Likewise.
7741 * include/search.h: Likewise.
7742 * include/setjmp.h: Likewise.
7743 * include/signal.h: Likewise.
7744 * include/stdio.h: Likewise.
7745 * include/stdlib.h: Likewise.
7746 * include/string.h: Likewise.
7747 * include/sys/cdefs.h: Likewise.
7748 * include/sys/mman.h: Likewise.
7749 * include/sys/msg.h: Likewise.
7750 * include/sys/resource.h: Likewise.
7751 * include/sys/select.h: Likewise.
7752 * include/sys/socket.h: Likewise.
7753 * include/sys/stat.h: Likewise.
7754 * include/sys/statvfs.h: Likewise.
7755 * include/sys/time.h: Likewise.
7756 * include/sys/times.h: Likewise.
7757 * include/sys/uio.h: Likewise.
7758 * include/sys/utsname.h: Likewise.
7759 * include/sys/wait.h: Likewise.
7760 * include/termios.h: Likewise.
7761 * include/time.h: Likewise.
7762 * include/ulimit.h: Likewise.
7763 * include/unistd.h: Likewise.
7764 * include/utime.h: Likewise.
7765 * include/wchar.h: Likewise.
7766 * include/wctype.h: Likewise.
7767 * include/wordexp.h: Likewise.
7768
7769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7770
7771 * time/time.h: TIME_UTC must be a macro.
7772 Make timespec_get available for ISO C11 only as well.
7773
7774 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7775
7776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7778
7779 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7780
7781 * configure.in: Use -o not -a in test for unsupported multi-arch.
7782
7783 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7784
7785 * manual/texinfo.tex: Update to version 2012-01-19.16.
7786
7787 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7788
7789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7790
7791 2012-02-24 Roland McGrath <roland@hack.frob.com>
7792
7793 [BZ #13738]
7794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7795 * manual/fdl-1.3.texi: New file.
7796 * manual/fdl-1.1.texi: File removed.
7797
7798 [BZ #13738]
7799 * manual/libc.texinfo (FDL_VERSION): New @set.
7800 Use it for mention of FDL in cover text.
7801 (Documentation License): Use it in @include file name.
7802
7803 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7804 Roland McGrath <roland@hack.frob.com>
7805
7806 [BZ #5461]
7807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7808 not LONG_LONG_MAX and LONG_LONG_MIN.
7809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7811 name.
7812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7813
7814 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7815
7816 [BZ #2547]
7817 [BZ #11365]
7818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7819 manipulate bits before adding and subtracting TWO23[sx].
7820 * math/libm-test.inc (nearbyint_test): Add more tests.
7821
7822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7823
7824 [BZ #2548]
7825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7826 bits before adding and subtracting TWO23[sx].
7827 * math/libm-test.inc (rint_test): Add more tests.
7828 (rint_test_tonearest): Likewise.
7829 (rint_test_towardzero): Likewise.
7830 (rint_test_downward): Likewise.
7831 (rint_test_upward: Likewise.
7832
7833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7834
7835 [BZ #10110]
7836 * include/stdc-predef.h: New file. Extracted from features.h.
7837 * include/features.h: Include stdc-predef.h.
7838 * Makefile (headers): Add stdc-predef.h.
7839 * CONFORMANCE (Compiler limitations): Update.
7840
7841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7842
7843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7844
7845 2012-02-21 David S. Miller <davem@davemloft.net>
7846
7847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7849
7850 2012-02-20 David S. Miller <davem@davemloft.net>
7851
7852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7853 using a normal save/restore sequence, rather than allocating a
7854 dummy stack frame just to store a frame pointer and restore.
7855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7856
7857 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7858
7859 * manual/install.texi: Fix stray word in line-wrapped comment.
7860
7861 2012-02-20 David S. Miller <davem@davemloft.net>
7862
7863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7864 both binutils and gcc support GOTDATA.
7865
7866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7867 "rd %pc" in the PIC register setup sequences.
7868
7869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7878 (SYSCALL_ERROR_HANDLER): Likewise.
7879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7882 (SYSCALL_ERROR_HANDLER): Likewise.
7883
7884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7885 (HAVE_GCC_GOTDATA): New.
7886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7887 relocation support in both binutils and gcc.
7888 * sysdeps/sparc/elf/configure: Regenerate.
7889
7890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7891 * sysdeps/sparc/sparc32/elf/configure: Delete.
7892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7893 * sysdeps/sparc/sparc64/elf/configure: Delete.
7894 * sysdeps/sparc/elf/configure.in: New file.
7895 * sysdeps/sparc/elf/configure: Generate.
7896
7897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7902
7903 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7904
7905 * manual/install.texi: Do not mention specific glibc version
7906 numbers.
7907 * manual/libc.texinfo (VERSION, UPDATED): Update.
7908 (@copying): Use @copyright{} and range of years.
7909
7910 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7911
7912 [BZ #13695]
7913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7914 [crti.S not in sysdirs] (generated): Do not append.
7915 [crti.S not in sysdirs] (omit-deps): Likewise.
7916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7921 Likewise.
7922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7925 * csu/defs.awk: Remove file.
7926 * sysdeps/generic/initfini.c: Likewise.
7927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7928 variable.
7929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7930 Likewise.
7931
7932 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7933
7934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7940 <bits/epoll.h>.
7941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7942 (__EPOLL_PACKED): Define to empty if not defined by
7943 <bits/epoll.h>.
7944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7946 bits/epoll.h.
7947
7948 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7949
7950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7954 <bits/timerfd.h>.
7955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7957 bits/timerfd.h.
7958
7959 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7960
7961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7962 in C locale.
7963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7967
7968 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7969
7970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7972
7973 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7974
7975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7977 defined.
7978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7979 Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7981 entry for 2.16.
7982
7983 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7984
7985 * math/w_acos.c: Use non-signaling floating-point comparisons.
7986 * math/w_acosf.c: Likewise.
7987 * math/w_acosh.c: Likewise.
7988 * math/w_acoshf.c: Likewise.
7989 * math/w_acoshl.c: Likewise.
7990 * math/w_acosl.c: Likewise.
7991 * math/w_asin.c: Likewise.
7992 * math/w_asinf.c: Likewise.
7993 * math/w_asinl.c: Likewise.
7994 * math/w_atanh.c: Likewise.
7995 * math/w_atanhf.c: Likewise.
7996 * math/w_atanhl.c: Likewise.
7997 * math/w_exp2.c: Likewise.
7998 * math/w_exp2f.c: Likewise.
7999 * math/w_exp2l.c: Likewise.
8000 * math/w_j0.c: Likewise.
8001 * math/w_j0f.c: Likewise.
8002 * math/w_j0l.c: Likewise.
8003 * math/w_j1.c: Likewise.
8004 * math/w_j1f.c: Likewise.
8005 * math/w_j1l.c: Likewise.
8006 * math/w_jn.c: Likewise.
8007 * math/w_jnf.c: Likewise.
8008 * math/w_log.c: Likewise.
8009 * math/w_log10.c: Likewise.
8010 * math/w_log10f.c: Likewise.
8011 * math/w_log10l.c: Likewise.
8012 * math/w_log2.c: Likewise.
8013 * math/w_log2f.c: Likewise.
8014 * math/w_log2l.c: Likewise.
8015 * math/w_logf.c: Likewise.
8016 * math/w_logl.c: Likewise.
8017 * math/w_sqrt.c: Likewise.
8018 * math/w_sqrtf.c: Likewise.
8019 * math/w_sqrtl.c: Likewise.
8020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8025
8026 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8027
8028 [BZ #9739]
8029 * manual/string.texi (strnlen): Use correct parameter name in
8030 equivalent expression.
8031
8032 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8033
8034 [BZ #11174]
8035 * manual/users.texi (seteuid): Consistently use neweuid for
8036 argument name.
8037
8038 2012-02-19 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #13704]
8041 * manual/nss.texi (Services in the NSS configuration): Correct
8042 list of services in example configuration file.
8043
8044 2012-02-19 Nick Bowler <nbowler@draconx.ca>
8045
8046 [BZ #11322]
8047 * manual/arith.texi: Remove statements about negative zero
8048 behaving identically to zero.
8049
8050 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8051
8052 [BZ #5993]
8053 * manual/install.texi: Do not document upgrading from libc5.
8054
8055 2012-02-18 Joseph Myers <joseph@codesourcery.com>
8056
8057 [BZ #4596]
8058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
8059
8060 2012-02-18 David S. Miller <davem@davemloft.net>
8061
8062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
8063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
8064 %o7 across the call.
8065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
8066 instead.
8067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
8068 SETUP_PIC_REG_LEAF.
8069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
8071 * sysdeps/sparc/crtn.S: Likewise.
8072
8073 2012-02-17 Ulrich Drepper <drepper@gmail.com>
8074
8075 * aout/Makefile: Remove.
8076
8077 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
8078
8079 [BZ #13058]
8080 * manual/examples/argp-ex1.c (main): Format definition in GNU
8081 style.
8082 * manual/examples/argp-ex2.c (main): Likewise.
8083 * manual/examples/argp-ex3.c (main): Likewise.
8084 * manual/examples/argp-ex4.c (main): Likewise.
8085 * manual/examples/longopt.c (main): Use new-style prototype
8086 definition.
8087 * manual/examples/strncat.c (main): Specify return type and use
8088 (void) for arguments.
8089 * manual/examples/subopt.c (main): Use char **argv argument.
8090
8091 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #5077]
8094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
8095 rounding modes.
8096
8097 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
8098
8099 [BZ #6907]
8100 * manual/string.texi (strchr): Change when strchrnul is
8101 recommended.
8102
8103 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
8104
8105 [BZ #174]
8106 * manual/locale.texi (setlocale): Document LOCPATH.
8107
8108 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8109
8110 [BZ #10210]
8111 * manual/process.texi (execle): Move @dots{} before last argument.
8112
8113 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
8114
8115 [BZ #12047]
8116 * manual/charset.texi (Generic Charset Conversion): Fix typo
8117 (LC_TYPE -> LC_CTYPE).
8118
8119 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
8120
8121 [BZ #5805]
8122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8123 (scalbnf): Likewise.
8124 (scalbnl): Likewise.
8125 (scalbln): Likewise.
8126 (scalblnf): Likewise.
8127 (scalblnl): Likewise.
8128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8129 (vwarnx): Likewise.
8130 (verr): Likewise.
8131 (verrx): Likewise.
8132 * manual/filesys.texi (telldir): Use braces around return type.
8133 * manual/llio.texi (mmap): Add space after comma.
8134 (mmap64): Likewise.
8135 * manual/math.texi (jn): Use @var{} on parameter names.
8136 (jnf): Likewise.
8137 (jnl): Likewise.
8138 (yn): Likewise.
8139 (ynf): Likewise.
8140 (ynl): Likewise.
8141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8142 line.
8143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8144 "...".
8145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8146 (sched_get_priority_max): Likewise.
8147 * manual/signal.texi (sigvec): Add space after comma.
8148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8149 names.
8150 (if_indextoname): Likewise.
8151 (if_freenameindex): Likewise.
8152 (sendto): Use ',' instead of '.' in prototype.
8153 * manual/startup.texi (syscall): Use @dots{} instead of literal
8154 "...".
8155 * manual/stdio.texi (__fpending): Separate initial words of
8156 paragraph from @deftypefun line.
8157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8158 "...".
8159 (vsyslog): Use @var{} on parameter names.
8160 * manual/terminal.texi (stty): Use @var{} on parameter names.
8161 * manual/users.texi (getutmp): Use @var{} on parameter names.
8162 (getutmpx): Likewise.
8163
8164 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8165
8166 [BZ #6884]
8167 * manual/stdio.texi (fopen): Fix typos in description of
8168 ",ccs=STRING".
8169
8170 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8171
8172 [BZ #4026]
8173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8174 get clock_id definition.
8175
8176 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8177
8178 [BZ #4822]
8179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8180 (madvise): Cast every argument to void on its own.
8181
8182 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8183
8184 [BZ #9902]
8185 * manual/startup.texi (Exit Status): Fix typo.
8186
8187 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8188
8189 [BZ #10140]
8190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8191 * manual/examples/argp-ex2.c: Likewise.
8192 * manual/examples/argp-ex3.c: Likewise.
8193
8194 2012-02-16 Richard Henderson <rth@redhat.com>
8195
8196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8197 * sysdeps/s390/s390-32/initfini.c: Remove.
8198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8199 * sysdeps/s390/s390-64/initfini.c: Remove.
8200
8201 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8202
8203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8204 compiler output for sysdeps/generic/initfini.c.
8205 * sysdeps/sh/elf/initfini.c: Remove file.
8206
8207 2012-02-16 David S. Miller <davem@davemloft.net>
8208
8209 [BZ #11494]
8210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8211
8212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8213 * sysdeps/sparc/crti.S: New file.
8214 * sysdeps/sparc/crtn.S: New file.
8215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8216 * sysdeps/sparc/sparc64/Makefile: Likewise.
8217
8218 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8219
8220 [BZ #3335]
8221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8222
8223 2012-02-15 Roland McGrath <roland@hack.frob.com>
8224
8225 [BZ #4822]
8226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8227
8228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8229 (write, read, close): Likewise.
8230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8231
8232 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8233
8234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8238 <bits/signalfd.h>.
8239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8241 bits/signalfd.h.
8242
8243 2012-02-14 Marek Polacek <polacek@redhat.com>
8244
8245 * sysdeps/x86_64/crti.S: New file.
8246 * sysdeps/x86_64/crtn.S: New file.
8247 * sysdeps/x86_64/elf/initfini.c: Remove file.
8248
8249 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8250
8251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8255 <bits/inotify.h>.
8256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8258 bits/inotify.h.
8259
8260 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8261
8262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8266 <bits/eventfd.h>.
8267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8269 bits/eventfd.h.
8270
8271 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8272
8273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8274 __feraiseexcept instead of feraiseexcept.
8275
8276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8277 nanosleep invocations.
8278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8279 strings, and add error checking for a nanosleep invocations.
8280
8281 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8282
8283 Replace FSF snail mail address with URLs, as per GNU coding standards.
8284 Most of the snail mail addresses were wrong anyway, and omitting
8285 them makes the source code easier to maintain. Almost all of the
8286 changes are to license notices and to locale LC_IDENTIFICATION
8287 addresses, except for this one:
8288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8289 not its snail mail address.
8290
8291 2012-02-09 Richard Henderson <rth@twiddle.net>
8292
8293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8294 of kernel-features.h.
8295
8296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8297
8298 2012-02-08 Marek Polacek <polacek@redhat.com>
8299
8300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8302 * sysdeps/gnu/_G_config.h: Likewise.
8303 * sysdeps/generic/_G_config.h: Likewise.
8304
8305 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8306
8307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8308 tests.
8309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8310
8311 * sysdeps/powerpc/powerpc32/crti.S: New file.
8312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8313 * sysdeps/powerpc/powerpc64/crti.S: New file.
8314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8315
8316 * Makeconfig (have-initfini): Don't set.
8317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8318 * configure.in (nopic_initfini): Don't substitute.
8319 * config.h.in (HAVE_INITFINI): Don't #undef.
8320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8322
8323 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8324
8325 Support crti.S and crtn.S provided directly by architectures.
8326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8327 [crti.S in sysdirs] (omit-deps): Likewise.
8328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8337 compiler output for sysdeps/generic/initfini.c.
8338 * sysdeps/i386/elf/Makefile: Remove file.
8339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8340
8341 2012-02-07 Marek Polacek <polacek@redhat.com>
8342
8343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8344 * sysdeps/gnu/_G_config.h: Likewise.
8345 * sysdeps/mach/hurd/_G_config.h: Likewise.
8346
8347 2012-02-07 Marek Polacek <polacek@redhat.com>
8348
8349 * math/Makefile (tests): Add tst-CMPLX2.
8350 * math/tst-CMPLX2.c: New file.
8351
8352 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8353
8354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8355
8356 * math/libm-test.inc (jn_test): Add missing L suffix.
8357
8358 2012-02-06 Marek Polacek <polacek@redhat.com>
8359
8360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8361 * sysdeps/i386/fpu/e_powf.S: Likewise.
8362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8365 * sysdeps/i386/fpu/e_pow.S: Likewise.
8366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8370 * sysdeps/i386/fpu/e_log2.S: Likewise.
8371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8373 * sysdeps/i386/fpu/e_powl.S: Likewise.
8374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8377 * sysdeps/i386/fpu/e_logl.S: Likewise.
8378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8384 * sysdeps/i386/fpu/e_log.S: Likewise.
8385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8388 * sysdeps/i386/fpu/e_logf.S: Likewise.
8389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8394 * sysdeps/i386/fpu/e_log10.S: Likewise.
8395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8401 * sysdeps/i386/asm-syntax.h: Likewise.
8402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8411 * sysdeps/powerpc/sysdep.h: Likewise.
8412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8414
8415 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8416
8417 [BZ #411]
8418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8419
8420 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8421
8422 * sysdeps/i386/sysdep.h: Include <features.h>.
8423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8424 version.
8425
8426 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8427
8428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8429 Define.
8430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8431 LOAD_PIC_REG_STR.
8432
8433 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8434
8435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8436 (SETUP_PIC_REG): Use GET_PC_THUNK.
8437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8438 macro.
8439
8440 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8441
8442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8443 for non-PIC compilation.
8444 (SETUP_PIC_REG): Add .p2align directive.
8445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8486
8487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8488
8489 * math/tst-CMPLX.c: Include <stdio.h>.
8490
8491 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8492
8493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8494 float.
8495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8496 * sysdeps/sparc/bits/mathdef.h: Likewise.
8497
8498 2012-01-31 Marek Polacek <polacek@redhat.com>
8499
8500 * libio/libio.h: Don't define _PARAMS.
8501 * locale/programs/config.h: Don't define PARAMS.
8502 * stdlib/strtol_l.c: Likewise.
8503 (__strtol_l): Remove PARAMS from the prototype.
8504
8505 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8506
8507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8508 names. Just use the correct names. Remove unnecessary wrapper
8509 functions.
8510 * malloc/arena.c: Likewise.
8511 * malloc/hooks.c: Likewise.
8512
8513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8514 ARENA_TEST says not to. Simplify test for creation of a new arena.
8515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8516
8517 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8518
8519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8520 into tail calls.
8521 (update_get_addr): New function.
8522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8523 GET_ADDR_MODULE parameter.
8524
8525 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8526
8527 * crypt/cert.c: Remove __STDC__ conditionals.
8528 * crypt/crypt-entry.c: Likewise.
8529 * crypt/crypt_util.c: Likewise.
8530 * libio/filedoalloc.c: Likewise.
8531 * libio/fileops.c: Likewise.
8532 * libio/genops.c: Likewise.
8533 * libio/iofclose.c: Likewise.
8534 * libio/iofdopen.c: Likewise.
8535 * libio/iofopen.c: Likewise.
8536 * libio/iofopen64.c: Likewise.
8537 * libio/iogetdelim.c: Likewise.
8538 * libio/iopopen.c: Likewise.
8539 * libio/obprintf.c: Likewise.
8540 * libio/oldfileops.c: Likewise.
8541 * libio/oldiofclose.c: Likewise.
8542 * libio/oldiofdopen.c: Likewise.
8543 * libio/oldiofopen.c: Likewise.
8544 * libio/oldiopopen.c: Likewise.
8545 * libio/wfiledoalloc.c: Likewise.
8546 * libio/wgenops.c: Likewise.
8547 * locale/programs/xmalloc.c: Likewise.
8548 * misc/syslog.c: Likewise.
8549 * stdio-common/xbug.c: Likewise.
8550 * string/memchr.c: Likewise.
8551 * string/memcmp.c: Likewise.
8552 * string/memrchr.c: Likewise.
8553 * string/rawmemchr.c: Likewise.
8554 * sysdeps/posix/getcwd.c: Likewise.
8555 * time/strftime_l.c: Likewise.
8556
8557 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8558
8559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8560 * config.make.in (config-cflags-sse2avx): Define.
8561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8562 Fix typo.
8563
8564 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8565
8566 * scripts/config.guess: Update from upstream config git repository.
8567 * scripts/config.sub: Likewise.
8568
8569 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8570
8571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8572 (EM_NUM): Update.
8573 (R_TILEPRO_*, R_TILEGX_*): New macros.
8574
8575 * scripts/firstversions.awk: Fix bug in version range handling.
8576
8577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8578
8579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8580
8581 * include/sys/epoll.h: New file.
8582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8583 libc_hidden_def.
8584
8585 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8586
8587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8588 Avoid unnecessary __WORDSIZE == 64 test.
8589 (fmaxf): Use VEX format if possible.
8590 (fmax): Likewise.
8591 (fminf): Likewise.
8592 (fmin): Likewise.
8593
8594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8595 * math/math_private.h: Remove libc_fegetround* and
8596 libc_fesetround*.
8597 * sysdeps/i386/configure.in: Check for -msse2avx.
8598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8599 also if SSE2AVX is defined.
8600 Remove libc_fegetround* and libc_fesetround*.
8601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8604 of HAS_YMM_USABLE.
8605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8610
8611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8612
8613 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8614
8615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8616 size is not set.
8617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8618
8619 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8620
8621 [BZ #13618]
8622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8623 relocation.
8624 * Makeconfig (libm): Define.
8625 * elf/Makefile: Add rules to build and run tst-relsort1.
8626 * elf/tst-relsort1.c: New file.
8627 * elf/tst-relsort1mod1.c: New file.
8628 * elf/tst-relsort1mod2.c: New file.
8629
8630 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8631
8632 * math/s_ldexp.c: Remove __STDC__ conditionals.
8633 * math/s_ldexpf.c: Likewise.
8634 * math/s_ldexpl.c: Likewise.
8635 * math/s_nextafter.c: Likewise.
8636 * math/s_nexttowardf.c: Likewise.
8637 * math/s_significand.c: Likewise.
8638 * math/s_significandf.c: Likewise.
8639 * math/s_significandl.c: Likewise.
8640 * math/w_jnl.c: Likewise.
8641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8681 * sysdeps/ieee754/k_standard.c: Likewise.
8682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8761 * sysdeps/ieee754/s_matherr.c: Likewise.
8762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8766
8767 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8768
8769 * crypt/md5.h: Remove __STDC__ conditionals.
8770 * libio/libioP.h: Likewise.
8771 * locale/programs/config.h: Likewise.
8772 * sysdeps/generic/sysdep.h: Likewise.
8773 * sysdeps/i386/asm-syntax.h: Likewise.
8774 * sysdeps/s390/asm-syntax.h: Likewise.
8775 * sysdeps/unix/sysdep.h: Likewise.
8776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8778
8779 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8780
8781 * libio/libio.h: Remove __STDC__ conditionals.
8782 * malloc/obstack.h: Likewise.
8783 * math/complex.h: Likewise.
8784 * math/math.h: Likewise.
8785 * sysdeps/generic/_G_config.h: Likewise.
8786 * sysdeps/gnu/_G_config.h: Likewise.
8787 * sysdeps/mach/hurd/_G_config.h: Likewise.
8788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8790 * sysdeps/sparc/bits/mathdef.h: Likewise.
8791
8792 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8793
8794 [BZ #13583]
8795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8796 Clean up HAS_* macros.
8797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8799 possible.
8800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8801 HAS_AVX.
8802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8807
8808 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8809
8810 * elf/tst-unique3.cc (gets): Remove declaration.
8811 * elf/tst-unique3lib.cc (gets): Likewise.
8812 * elf/tst-unique3lib2.cc (gets): Likewise.
8813 * elf/tst-unique4.cc (gets): Likewise.
8814
8815 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8816
8817 * include/stdio.h: Add C++ protection. Add gets declarations and
8818 definitions.
8819 * debug/tst-chk1.c: Don't declare gets here.
8820 * stdio-common/tst-gets.c: Likewise.
8821
8822 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8823
8824 * posix/glob: Remove directory.
8825
8826 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8827
8828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8829
8830 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8831
8832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8833 of the non-standard EPFNOSUPPORT.
8834
8835 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8836
8837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8840
8841 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8842
8843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8844
8845 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8846
8847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8848 transient errors.
8849 * nscd/grpcache.c (cache_addgr): Likewise.
8850 * nscd/hstcache.c (cache_addhst): Likewise.
8851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8852 * nscd/pwdcache.c (cache_addpw): Likewise.
8853 * nscd/servicescache.c (cache_addserv): Likewise.
8854
8855 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8856
8857 * malloc/malloc.c: Various cleanups.
8858 * malloc/hooks.c: Likewise.
8859
8860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8861 * stdlib/bug-fmtmsg1.c: New file.
8862
8863 * stdlib/fmtmsg.c (init): Add missing unlock.
8864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8865
8866 2012-01-12 Marek Polacek <polacek@redhat.com>
8867
8868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8869 and _GNU_SOURCE.
8870
8871 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8872
8873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8875 macro to ensure uniqueness of label name.
8876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8878
8879 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8880
8881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8882
8883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8887
8888 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8889
8890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8891
8892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8895
8896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8897
8898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8902
8903 * math/bits/math-finite.h: Add ldexp support.
8904
8905 2012-01-10 Marek Polacek <polacek@redhat.com>
8906
8907 * locale/programs/localedef.h (show_archive_content): Add noreturn
8908 attribute.
8909
8910 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8911
8912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8913
8914 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8915
8916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8917
8918 * io/Makefile (headers): Add bits/poll2.h.
8919
8920 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8921
8922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8923 typo #include statement.
8924
8925 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8926
8927 * include/sys/cdefs.h: Define __attribute_alloc_size.
8928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8930 * elf/pldd.c: Likewise.
8931 * iconv/iconv_charmap.c: Likewise.
8932 * iconv/iconvconfig.c: Likewise.
8933 * iconv/strtab.c: Likewise.
8934 * locale/programs/locale.c: Likewise.
8935 * locale/programs/localedef.h: Likewise.
8936 * locale/programs/simple-hash.c: Likewise.
8937 * nscd/nscd.h: Likewise.
8938 * nss/makedb.c: Likewise.
8939 * sysdeps/generic/ldconfig.h: Likewise.
8940 * locale/programs/localedef.c: Remove xmalloc prototype.
8941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8942
8943 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8944
8945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8946 appropriate.
8947
8948 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8949
8950 * math/Makefile (tests): Add tst-CMPLX.
8951 * math/tst-CMPLX.c: New file.
8952
8953 * math/complex.h (CMPLXL): Fix typo.
8954
8955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8957 GLIBC_2.16.
8958 * debug/tst-chk1.c: Add poll and ppoll tests.
8959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8960 * include/sys/poll.h: Add hidden proto for ppoll.
8961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8962 * sysdeps/mach/hurd/ppoll.c: Likewise.
8963 * io/ppoll.c: Likewise.
8964 * debug/poll_chk.c: New file.
8965 * debug/ppoll_chk.c: New file.
8966 * include/bits/poll2.h: New file.
8967 * io/bits/poll2.h: New file.
8968
8969 [BZ #1350]
8970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8971
8972 * configure.in: static is always set to yes. Remove.
8973 * config.make.in: Don't set build-static.
8974 * Makeconfig: Remove use of build-static.
8975 * dlfcn/Makefile: Likewise.
8976 * elf/Makefile: Likewise.
8977 * math/Makefile: Likewise.
8978 * misc/Makefile: Likewise.
8979 * nptl/Makefile: Likewise.
8980 * sysdeps/mach/hurd/Makefile: Likewise.
8981
8982 * configure.in: PWD_P is not used anymore.
8983 * config.make.in: Remove PWD_P entry.
8984
8985 * configure.in: Remove last remnants of RANLIB.
8986 No need to check for signed size_t anymore.
8987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8988 and IA-64.
8989 Remove __builtin_expect test because we require at least gcc 3.4.
8990 * aclocal.m4: Likewise.
8991
8992 * wcsmbs/mbrtoc16.c: Implement using towc function.
8993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8994 * wcsmbs/wcsmbsload.c: Likewise.
8995 * iconv/gconv_simple.c: Likewise.
8996 * iconv/gconv_int.h: Likewise.
8997 * iconv/gconv_builtin.h: Likewise.
8998 * iconv/iconv_prog.c: Remove CHAR16 handling.
8999
9000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
9001
9002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
9003
9004 * configure.in: Remove --with-elf and --enable-bounded options.
9005 Dont set base_machine for ia64. More non-ELF conditions removed.
9006 Remove testing and setting of leading underscore information.
9007 * config.make.in (build-bounded): Set to no.
9008 * config.h.in: Remove NO_UNDERSCORES entry.
9009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
9010 them.
9011 * csu/start.c: Remove !NO_UNDERSCORE code.
9012 * locale/localeinfo.h: Likewise.
9013 * sysdeps/generic/machine-gmon.h: Likewise.
9014 * sysdeps/generic/sysdep.h: Likewise.
9015 * sysdeps/i386/sysdep.h: Likewise.
9016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9017 * sysdeps/mach/sysdep.h: Likewise.
9018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9020 * sysdeps/sh/sysdep.h: Likewise.
9021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
9022 * sysdeps/unix/i386/sysdep.S: Likewise.
9023 * sysdeps/unix/sparc/start.c: Likewise.
9024 * sysdeps/unix/sparc/sysdep.S: Likewise.
9025 * sysdeps/unix/sparc/sysdep.h: Likewise.
9026 * sysdeps/unix/start.c: Likewise.
9027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9028 * sysdeps/x86_64/sysdep.h: Likewise.
9029
9030 2012-01-07 Ulrich Drepper <drepper@gmail.com>
9031
9032 [BZ #13553]
9033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
9034 for non-gcc.
9035 * argp/argp-fmtstream.h: Use const instead __const.
9036 * argp/argp.h: Likewise.
9037 * assert/assert.h: Likewise.
9038 * bits/fenv.h: Likewise.
9039 * bits/sched.h: Likewise.
9040 * bits/sigset.h: Likewise.
9041 * bits/sigthread.h: Likewise.
9042 * catgets/nl_types.h: Likewise.
9043 * conform/data/pthread.h-data: Likewise.
9044 * crypt/crypt-private.h: Likewise.
9045 * crypt/crypt.h: Likewise.
9046 * crypt/crypt_util.c: Likewise.
9047 * ctype/ctype.h: Likewise.
9048 * debug/execinfo.h: Likewise.
9049 * debug/mbsnrtowcs_chk.c: Likewise.
9050 * debug/mbsrtowcs_chk.c: Likewise.
9051 * debug/wcsnrtombs_chk.c: Likewise.
9052 * debug/wcsrtombs_chk.c: Likewise.
9053 * debug/wcstombs_chk.c: Likewise.
9054 * dirent/dirent.h: Likewise.
9055 * dlfcn/dlfcn.h: Likewise.
9056 * elf/neededtest4.c: Likewise.
9057 * grp/grp.h: Likewise.
9058 * gshadow/gshadow.h: Likewise.
9059 * iconv/gconv.h: Likewise.
9060 * iconv/gconv_int.h: Likewise.
9061 * iconv/gconv_simple.c: Likewise.
9062 * iconv/iconv.h: Likewise.
9063 * iconv/loop.c: Likewise.
9064 * iconv/skeleton.c: Likewise.
9065 * include/aio.h: Likewise.
9066 * include/aliases.h: Likewise.
9067 * include/argz.h: Likewise.
9068 * include/arpa/inet.h: Likewise.
9069 * include/assert.h: Likewise.
9070 * include/dirent.h: Likewise.
9071 * include/dlfcn.h: Likewise.
9072 * include/execinfo.h: Likewise.
9073 * include/fcntl.h: Likewise.
9074 * include/fenv.h: Likewise.
9075 * include/glob.h: Likewise.
9076 * include/grp.h: Likewise.
9077 * include/libintl.h: Likewise.
9078 * include/mntent.h: Likewise.
9079 * include/netdb.h: Likewise.
9080 * include/pwd.h: Likewise.
9081 * include/rpc/netdb.h: Likewise.
9082 * include/sched.h: Likewise.
9083 * include/search.h: Likewise.
9084 * include/shadow.h: Likewise.
9085 * include/signal.h: Likewise.
9086 * include/stdio.h: Likewise.
9087 * include/stdlib.h: Likewise.
9088 * include/string.h: Likewise.
9089 * include/sys/socket.h: Likewise.
9090 * include/sys/stat.h: Likewise.
9091 * include/sys/statfs.h: Likewise.
9092 * include/sys/statvfs.h: Likewise.
9093 * include/sys/syslog.h: Likewise.
9094 * include/sys/time.h: Likewise.
9095 * include/sys/uio.h: Likewise.
9096 * include/time.h: Likewise.
9097 * include/unistd.h: Likewise.
9098 * include/utmp.h: Likewise.
9099 * include/wchar.h: Likewise.
9100 * include/wctype.h: Likewise.
9101 * inet/aliases.h: Likewise.
9102 * inet/arpa/inet.h: Likewise.
9103 * inet/netinet/ether.h: Likewise.
9104 * inet/netinet/in.h: Likewise.
9105 * intl/libintl.h: Likewise.
9106 * io/bits/fcntl2.h: Likewise.
9107 * io/fcntl.h: Likewise.
9108 * io/ftw.h: Likewise.
9109 * io/sys/poll.h: Likewise.
9110 * io/sys/stat.h: Likewise.
9111 * io/sys/statfs.h: Likewise.
9112 * io/sys/statvfs.h: Likewise.
9113 * io/utime.h: Likewise.
9114 * libio/bits/stdio.h: Likewise.
9115 * libio/bits/stdio2.h: Likewise.
9116 * libio/libio.h: Likewise.
9117 * libio/libioP.h: Likewise.
9118 * libio/stdio.h: Likewise.
9119 * locale/lc-ctype.c: Likewise.
9120 * locale/locale.h: Likewise.
9121 * login/utmp.h: Likewise.
9122 * malloc/arena.c: Likewise.
9123 * malloc/malloc.c: Likewise.
9124 * malloc/malloc.h: Likewise.
9125 * malloc/mcheck.c: Likewise.
9126 * malloc/mtrace.c: Likewise.
9127 * math/bits/mathcalls.h: Likewise.
9128 * math/fenv.h: Likewise.
9129 * math/math_private.h: Likewise.
9130 * misc/bits/error.h: Likewise.
9131 * misc/bits/syslog.h: Likewise.
9132 * misc/err.h: Likewise.
9133 * misc/error.h: Likewise.
9134 * misc/fstab.h: Likewise.
9135 * misc/mntent.h: Likewise.
9136 * misc/regexp.h: Likewise.
9137 * misc/search.h: Likewise.
9138 * misc/sgtty.h: Likewise.
9139 * misc/sys/mman.h: Likewise.
9140 * misc/sys/syslog.h: Likewise.
9141 * misc/sys/uio.h: Likewise.
9142 * misc/sys/xattr.h: Likewise.
9143 * misc/ttyent.h: Likewise.
9144 * nis/rpcsvc/ypclnt.h: Likewise.
9145 * nss/nss.h: Likewise.
9146 * posix/bits/unistd.h: Likewise.
9147 * posix/fnmatch.h: Likewise.
9148 * posix/glob.h: Likewise.
9149 * posix/sched.h: Likewise.
9150 * posix/spawn.h: Likewise.
9151 * posix/sys/wait.h: Likewise.
9152 * posix/unistd.h: Likewise.
9153 * posix/wordexp.h: Likewise.
9154 * pwd/pwd.h: Likewise.
9155 * resolv/netdb.h: Likewise.
9156 * resource/sys/resource.h: Likewise.
9157 * rt/aio.h: Likewise.
9158 * rt/bits/mqueue2.h: Likewise.
9159 * rt/mqueue.h: Likewise.
9160 * shadow/shadow.h: Likewise.
9161 * signal/signal.h: Likewise.
9162 * socket/send.c: Likewise.
9163 * socket/sendto.c: Likewise.
9164 * socket/sys/socket.h: Likewise.
9165 * stdio-common/printf.h: Likewise.
9166 * stdlib/bits/stdlib.h: Likewise.
9167 * stdlib/fmtmsg.h: Likewise.
9168 * stdlib/monetary.h: Likewise.
9169 * stdlib/stdlib.h: Likewise.
9170 * stdlib/ucontext.h: Likewise.
9171 * streams/stropts.h: Likewise.
9172 * string/argz.h: Likewise.
9173 * string/bits/string2.h: Likewise.
9174 * string/string.h: Likewise.
9175 * string/strings.h: Likewise.
9176 * sunrpc/rpc/auth.h: Likewise.
9177 * sunrpc/rpc/auth_des.h: Likewise.
9178 * sunrpc/rpc/clnt.h: Likewise.
9179 * sunrpc/rpc/netdb.h: Likewise.
9180 * sunrpc/rpc/pmap_clnt.h: Likewise.
9181 * sunrpc/rpc/xdr.h: Likewise.
9182 * sysdeps/generic/inttypes.h: Likewise.
9183 * sysdeps/generic/net/if.h: Likewise.
9184 * sysdeps/generic/sys/swap.h: Likewise.
9185 * sysdeps/gnu/net/if.h: Likewise.
9186 * sysdeps/gnu/utmpx.h: Likewise.
9187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9188 * sysdeps/i386/i486/bits/string.h: Likewise.
9189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9190 * sysdeps/s390/bits/string.h: Likewise.
9191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9222 * sysvipc/sys/ipc.h: Likewise.
9223 * sysvipc/sys/msg.h: Likewise.
9224 * sysvipc/sys/sem.h: Likewise.
9225 * sysvipc/sys/shm.h: Likewise.
9226 * termios/termios.h: Likewise.
9227 * time/sys/time.h: Likewise.
9228 * time/time.h: Likewise.
9229 * wcsmbs/bits/wchar2.h: Likewise.
9230 * wcsmbs/uchar.h: Likewise.
9231 * wcsmbs/wchar.h: Likewise.
9232 * wctype/wctype.h: Likewise.
9233
9234 [BZ #13551]
9235 * Makeconfig: Remove all but ELF support including AIX support.
9236 * Makerules: Likewise.
9237 * config.h.in: Likewise.
9238 * config.make.in: Likewise.
9239 * configure: Likewise.
9240 * configure.in: Likewise.
9241 * csu/Makefile: Likewise.
9242 * csu/version.c: Likewise.
9243 * debug/Makefile: Likewise.
9244 * dlfcn/Makefile: Likewise.
9245 * elf/Makefile: Likewise.
9246 * extra-lib.mk: Likewise.
9247 * iconv/Makefile: Likewise.
9248 * include/libc-symbols.h: Likewise.
9249 * include/shlib-compat.h: Likewise.
9250 * resolv/Makefile: Likewise.
9251 * resolv/res_libc.c: Likewise.
9252 * rt/Makefile: Likewise.
9253 * sysdeps/i386/asm-syntax.h: Likewise.
9254 * sysdeps/i386/sysdep.h: Likewise.
9255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9256 * sysdeps/mach/sysdep.h: Likewise.
9257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9259 * sysdeps/s390/asm-syntax.h: Likewise.
9260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9262 * sysdeps/sh/sysdep.h: Likewise.
9263 * sysdeps/unix/sparc/sysdep.h: Likewise.
9264 * sysdeps/wordsize-32/divdi3.c: Likewise.
9265 * sysdeps/x86_64/sysdep.h: Likewise.
9266
9267 * argp/Versions: Remove _argp_unlock_xxx.
9268
9269 [BZ #13559]
9270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9271 * abilist/libBrokenLocale.abilist: Likewise.
9272 * abilist/libanl.abilist: Likewise.
9273 * abilist/libc.abilist: Likewise.
9274 * abilist/libcrypt.abilist: Likewise.
9275 * abilist/libdl.abilist: Likewise.
9276 * abilist/libm.abilist: Likewise.
9277 * abilist/libnsl.abilist: Likewise.
9278 * abilist/libpthread.abilist: Likewise.
9279 * abilist/libresolv.abilist: Likewise.
9280 * abilist/librt.abilist: Likewise.
9281 * abilist/libthread_db.abilist: Likewise.
9282 * abilist/libutil.abilist: Likewise.
9283 * abilist/libnss_db.abilist: New file.
9284
9285 * scripts/abilist.awk: Add support for indirect functions.
9286
9287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9288
9289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9290
9291 * shlib-versions: Remove entries for ports architectures.
9292
9293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9294 files in ports.
9295 * elf/stackguard-macros.h: Remove support for IA-64.
9296 * elf/tst-auditmod1.c: Likewise.
9297 * sysdeps/generic/ldsodefs.h: Likewise.
9298
9299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9301 configure files.
9302
9303 [BZ #13552]
9304 * configure.in: Remove --enable-omitfp support.
9305 * FAQ.in: Adjust.
9306 * config.make.in: Likewise.
9307 * Makeconfig: Likewise.
9308 * manual/install.texi: Likewise.
9309
9310 In case anyone cares, the IA-64 architecture could move to ports.
9311 * sysdeps/ia64/*: Removed.
9312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9314
9315 [BZ #13555]
9316 * configure.in: Remove entries for unsupported architectures.
9317
9318 [BZ #13533]
9319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9321 routines.
9322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9325 fall back to using wcrtomb.
9326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9328 renaming.
9329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9330 * wcsmbs/tst-c16c32-1.c: New file.
9331
9332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9333 local variable.
9334
9335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9336
9337 * elf/tst-unique3.cc: Add explicit declaration of gets.
9338 * elf/tst-unique3lib.cc: Likewise.
9339 * elf/tst-unique3lib2.cc: Likewise.
9340 * elf/tst-unique4.cc: Likewise.
9341
9342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9343
9344 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9345
9346 [BZ #13566]
9347 * assert/assert.h (static_assert): Don't define for C++.
9348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9350
9351 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9352
9353 * iconv/loop.c (single loop): Fix assertion in storing of
9354 remaining bytes.
9355
9356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9357
9358 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9359
9360 * posix/getconf.c: Update copyright year.
9361 * nss/getent.c: Likewise.
9362 * nss/makedb.c: Likewise.
9363 * iconv/iconvconfig.c: Likewise.
9364 * iconv/iconv_prog.c: Likewise.
9365 * elf/ldconfig.c: Likewise.
9366 * elf/pldd.c: Likewise.
9367 * elf/sotruss.ksh: Likewise.
9368 * catgets/gencat.c: Likewise.
9369 * csu/version.c: Likewise.
9370 * elf/ldd.bash.in: Likewise.
9371 * elf/sprof.c (print_version): Likewise.
9372 * locale/programs/locale.c: Likewise.
9373 * locale/programs/localedef.c: Likewise.
9374 * login/programs/pt_chown.c: Likewise.
9375 * nscd/nscd.c (print_version): Likewise.
9376 * debug/xtrace.sh: Likewise.
9377 * malloc/memusage.sh: Likewise.
9378 * malloc/mtrace.pl: Likewise.
9379 * debug/catchsegv.sh: Likewise.
9380
9381 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9382
9383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9384 pure attribute.
9385
9386 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9387
9388 [BZ #13533]
9389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9391 transformations.
9392 * iconv/gconv_int.h: Likewise.
9393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9395 from libc for GLIBC_2.16.
9396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9398 * wcsmbs/uchar.h: Really define mbstate_t.
9399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9400 * wcsmbs/c16rtomb.c: New file.
9401 * wcsmbs/mbrtoc16.c: New file.
9402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9403 for C/POSIX locale.
9404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9406
9407 * wcsmbs/wchar.h: Add missing __restrict.
9408
9409 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9410
9411 [BZ #13532]
9412 * time/Makefile (routines): Add timespec_get.
9413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9415 timespec for ISO C11.
9416 * time/timespec_get.c: New file.
9417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9419
9420 [BZ #13531]
9421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9422 * stdlib/stdlib.h: Declare aligned_alloc.
9423 * Versions.def: Add GLIBC_2.16 for libc.
9424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9425
9426 [BZ 13527]
9427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9428 ISO C11.
9429
9430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9431 code.
9432
9433 [BZ #13528]
9434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9435
9436 [BZ #13529]
9437 * assert/assert.h (static_assert): Define.
9438
9439 * version.h: Update for 2.16 development version.
9440
9441 [BZ #13526]
9442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9443 _ISOC11_SOURCE.
9444
9445 * version.h (RELEASE): Bump for 2.15 release.
9446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9447
9448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9449 Patch by Marek Polacek <mpolacek@redhat.com>.
9450
9451 * bits/byteswap.h: Protect long long constants with __extension__.
9452 * sysdeps/i386/bits/byteswap.h: Likewise.
9453 * sysdeps/ia64/bits/byteswap.h: Likewise.
9454 * sysdeps/s390/bits/byteswap.h: Likewise.
9455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9456
9457 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9458
9459 [BZ #13540]
9460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9461 destination buffer.
9462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9463
9464 2011-12-23 Marek Polacek <polacek@redhat.com>
9465
9466 * elf/dl-addr.c (determine_info): Add inline keyword.
9467 * elf/tst-auditmod4b.c (check_avx): Likewise.
9468 * elf/tst-auditmod6b.c (check_avx): Likewise.
9469 * elf/tst-auditmod6c.c (check_avx): Likewise.
9470 * elf/tst-auditmod7b.c (check_avx): Likewise.
9471
9472 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9473
9474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9475 !__SSE_MATH__.
9476
9477 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9478
9479 [BZ #13540]
9480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9481 processing for last bytes.
9482
9483 2011-08-06 Bruno Haible <bruno@clisp.org>
9484
9485 [BZ #13061]
9486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9487 U+0385, not to U+1FEE.
9488
9489 [BZ #13062]
9490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9491 entry for U+00A5 U+0301.
9492
9493 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9494
9495 [BZ #13166]
9496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9497 buffer for the output is too small.
9498
9499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9500 optimization.
9501
9502 [BZ #13185]
9503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9504 SSE flags if possible.
9505
9506 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9507
9508 [BZ #13540]
9509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9510 processing for last bytes.
9511
9512 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9513
9514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9515 (syscall-list-default-options, syscall-list-default-condition)
9516 (syscall-list-includes): Define.
9517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9518 list of ABIs and options and #if conditions for each ABI. Do not
9519 handle common syscalls between ABIs specially.
9520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9521 Remove.
9522 (syscall-list-variants, syscall-list-32bit-options)
9523 (syscall-list-32bit-condition, syscall-list-64bit-options)
9524 (syscall-list-64bit-condition): Define.
9525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9526 (syscall-list-variants, syscall-list-32bit-options)
9527 (syscall-list-32bit-condition, syscall-list-64bit-options)
9528 (syscall-list-64bit-condition): Define.
9529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9530 Remove.
9531 (syscall-list-variants, syscall-list-32bit-options)
9532 (syscall-list-32bit-condition, syscall-list-64bit-options)
9533 (syscall-list-64bit-condition): Define.
9534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9535 Remove.
9536 (syscall-list-variants, syscall-list-32bit-options)
9537 (syscall-list-32bit-condition, syscall-list-64bit-options)
9538 (syscall-list-64bit-condition): Define.
9539
9540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9541
9542 * locale/iso-639.def: Add brx entry.
9543
9544 [BZ #13328]
9545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9547
9548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9549 __feraiseexcept_renamed.
9550
9551 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9552
9553 [BZ #13538]
9554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9555 EPOLLET with unsigned values.
9556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9558
9559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9560 to large cancellation.
9561 * math/s_cacoshf.c: Likewise.
9562 * math/s_cacoshl.c: Likewise.
9563
9564 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9565
9566 [BZ #13305]
9567 [BZ #12786]
9568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9569 * math/s_cacoshf.c: Likewise.
9570 * math/s_cacoshl.c: Likewise.
9571
9572 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9573
9574 [BZ #13439]
9575 * iconv/gconv.h: Define __GCONV_SWAP.
9576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9577 * iconvdata/utf-16.c: Likewise.
9578 * iconvdata/utf-32.c: Likewise.
9579
9580 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9581
9582 [BZ #13524]
9583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9584 numerator after shifting it by one limb.
9585
9586 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9587
9588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9589 under [__USE_EXTERN_INLINES].
9590
9591 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9592
9593 [BZ #13446]
9594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9595
9596 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9597
9598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9600 optimized code.
9601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9605 for strncasecmp/strncasecmp_l compilation.
9606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9608
9609 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9610
9611 [BZ #13484]
9612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9613 of __asm__.
9614
9615 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9616
9617 [BZ #13506]
9618 * time/tzfile.c (__tzfile_read): Check values from file header.
9619
9620 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9621
9622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9624 * powerpc/powerpc32/dl-start.S: Likewise.
9625 * powerpc/powerpc32/elf/start.S: Likewise.
9626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9639 * powerpc/powerpc32/memset.S: Likewise.
9640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9653
9654 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9655
9656 * math/libm-test.inc: Added more nearbyint tests.
9657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9661
9662 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9663
9664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9665 FD_CLOEXEC.
9666
9667 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9668
9669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9670 Add wcscpy-ssse3 wcscpy-c.
9671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9674 * sysdeps/x86_64/wcschr.S: New file.
9675 * sysdeps/x86_64/wcsrchr.S: New file.
9676 * string/test-strcmp.c: Remove checking of wcscmp function for
9677 wrong alignments.
9678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9680 wcsrchr-sse2 wcsrchr-c.
9681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9690 * wcsmbc/wcschr.c (WCSCHR): New macro.
9691
9692 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9693
9694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9695 * wcsmbs/test-wcsrchr.c: New file.
9696 * string/test-strrchr.c: Add wcsrchr support.
9697 (WIDE): New macro.
9698 * wcsmbs/test-wcscpy.c: New file.
9699 * string/test-strcpy.c: Add wcscpy support.
9700 (WIDE): New macro.
9701
9702 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9705 the inner loop.
9706
9707 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9708
9709 [BZ #13472]
9710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9711
9712 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9713
9714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9715 Minor optimizations.
9716
9717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9720
9721 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9722
9723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9726 for gcc to avoid warnings.
9727 * inet/Makefile (tests): Add tst-checks.
9728 * inet/tst-checks.c: New file.
9729
9730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9731 warning.
9732
9733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9734 __wmemcmp_sse2.
9735
9736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9738
9739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9740
9741 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9742
9743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9744 problem.
9745
9746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9747
9748 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9749
9750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9751 conditional on GCC version.
9752 (__arch_compare_and_exchange_val_8_acq)
9753 (__arch_compare_and_exchange_val_16_acq)
9754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9757
9758 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9759
9760 * sysdeps/sh/backtrace.c: New file.
9761
9762 2011-12-02 Andreas Schwab <schwab@redhat.com>
9763
9764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9765 parenthesis.
9766
9767 2011-12-01 Andreas Schwab <schwab@redhat.com>
9768
9769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9770 falling back to utime.
9771
9772 2011-11-30 Andreas Schwab <schwab@redhat.com>
9773
9774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9775 expectations for float.
9776
9777 2011-11-29 Andreas Schwab <schwab@redhat.com>
9778
9779 * locale/weight.h (findidx): Add parameter len.
9780 * locale/weightwc.h (findidx): Likewise.
9781 * posix/fnmatch_loop.c (FCT): Adjust caller.
9782 * posix/regcomp.c (build_equiv_class): Likewise.
9783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9784 * posix/regexec.c (check_node_accept_bytes): Likewise.
9785 * string/strcoll_l.c (STRCOLL): Likewise.
9786 * string/strxfrm_l.c (STRXFRM): Likewise.
9787
9788 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9789
9790 * Makefile.in: Remove CVSOPT handling.
9791 * configure.in: Remove use of AC_REVISION.
9792 * iconvdata/Makefile (distribute): No need to filter out CVS.
9793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9794 handling.
9795
9796 2011-11-16 Andreas Schwab <schwab@redhat.com>
9797
9798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9800 [USE_AS_STRNCASECMP_L]: Likewise.
9801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9802 NO_TLS_DIRECT_SEG_REFS.
9803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9804 Fix argument offsets for non-PIC.
9805 [USE_AS_STRNCASECMP_L]: Likewise.
9806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9807 NO_TLS_DIRECT_SEG_REFS.
9808
9809 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9810
9811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9812 O_CLOEXEC.
9813 * locale/loadlocale.c (_nl_load_locale): Likewise.
9814
9815 2011-11-15 Andreas Schwab <schwab@redhat.com>
9816
9817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9820 (SYSCALL_GETTIME): Set errno on error.
9821
9822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9823 count references to noai6ai_cached.
9824
9825 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9826
9827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9828
9829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9830 FD_CLOEXEC for /proc/self/maps.
9831
9832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9833 FD_CLOEXEC for /proc/meminfo.
9834
9835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9836 gai.conf.
9837
9838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9839 FD_CLOEXEC for given file.
9840
9841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9842
9843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9844 FD_CLOEXEC for /etc/hosts.
9845 (_gethtent): Likewise.
9846
9847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9848
9849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9850 cancellation and set FD_CLOEXEC for /etc/netgroup.
9851
9852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9853 reading /etc/publickey.
9854
9855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9856 allow cancellation when reading /etc/group.
9857
9858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9859 cancellation.
9860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9861
9862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9863 when using data file.
9864
9865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9866
9867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9868 (write_nis_obj): Use "c" and "e" in fopen.
9869
9870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9871
9872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9873
9874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9875
9876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9877
9878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9879 locale.alias.
9880
9881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9882
9883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9884
9885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9886
9887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9888 file parsing and set FD_CLOEXEC.
9889
9890 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9891
9892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9893
9894 2011-11-14 Andreas Schwab <schwab@redhat.com>
9895
9896 * malloc/arena.c (arena_get2): Don't call reused_arena when
9897 _int_new_arena failed.
9898
9899 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9900
9901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9907 to compile strcasecmp and strncasecmp.
9908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9910
9911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9912
9913 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9914
9915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9916 locale-defines.sym to gen-as-const-headers.
9917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9920 to compile strcasecmp and strncasecmp.
9921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9922 strcasecmp_l and strncasecmp_l.
9923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9934
9935 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9936
9937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9938 result of SYSDEP_GETTIME_CPU to retval.
9939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9940 parameter list to macro. Remove trailing semicolon. Adjust users.
9941
9942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9943 variable.
9944
9945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9946 mantissa words.
9947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9948
9949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9950 from unused variable.
9951
9952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9953 DWARF definitions.
9954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9955 for assembling.
9956
9957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9958 over namespaces.
9959
9960 * sunrpc/rpc_prot.c (rejected): Fix case value.
9961
9962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9963 unsigned long long int to avoid warnings in shift.
9964
9965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9966 of use of trans.
9967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9968 variable tmp.
9969
9970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9973
9974 * nis/nis_table.c (nis_list): Use variable of correct type for
9975 result of __follow_path call.
9976
9977 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978
9979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9980 of math functions ceil, trunc, floor, round, and sqrt, when
9981 avaliable on the platform.
9982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9983 name clash.
9984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9987
9988 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9989
9990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9992
9993 2011-11-11 Roland McGrath <roland@hack.frob.com>
9994
9995 * include/unistd.h: Fix __readlink return type.
9996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9997
9998 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9999
10000 * stdlib/ucontext.h: Undo last change for makecontext.
10001
10002 2011-11-11 Andreas Schwab <schwab@redhat.com>
10003
10004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
10005
10006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
10007 * setjmp/setjmp.h: Mark functions as non-leaf.
10008 * setjmp/bits/setjmp2.h: Likewise.
10009 * stdlib/ucontext.h: Likewise.
10010
10011 2011-11-10 Andreas Schwab <schwab@redhat.com>
10012
10013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
10014 (reused_arena): Don't check arena limit.
10015 (arena_get2): Atomically check arena limit.
10016
10017 2011-11-08 Ulrich Drepper <drepper@gmail.com>
10018
10019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
10020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
10021
10022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
10023 instructions.
10024
10025 2011-11-07 Andreas Schwab <schwab@redhat.com>
10026
10027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
10028 handler when locking.
10029
10030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
10031 Fix size of allocated buffer.
10032
10033 2011-11-04 Andreas Schwab <schwab@redhat.com>
10034
10035 [BZ #10103]
10036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
10037 declarations for long double functions.
10038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
10039
10040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
10041
10042 2011-11-03 Andreas Schwab <schwab@redhat.com>
10043
10044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
10045 installed.
10046
10047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
10048 is disabled.
10049
10050 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
10051
10052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
10053
10054 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
10055
10056 * include/alloca.h (stackinfo_alloca_round): Define.
10057 (extend_alloca): Use it.
10058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
10059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
10060 here.
10061
10062 * scripts/check-local-headers.sh: Ignore libaudit.h.
10063
10064 * nscd/Makefile (extra-objs): Make recursively expanded.
10065
10066 2011-11-01 Ulrich Drepper <drepper@gmail.com>
10067
10068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
10069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10070
10071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
10072 * posix/tst-rfc3484-2.c: Likewise.
10073 * posix/tst-rfc3484-3.c: Likewise.
10074
10075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
10076 process_vm_writev.
10077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
10078 process_vm_writev.
10079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
10080 process_vm_writev from libc using GLIBC_2.15 version.
10081
10082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
10083
10084 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10085
10086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
10087 stack usage.
10088
10089 2011-10-31 Ulrich Drepper <drepper@gmail.com>
10090
10091 [BZ #13367]
10092 * nss/getent.c (initgroups_keys): Show error message in case no group
10093 names are given.
10094
10095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
10096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
10097 __bump_nl_timestamp.
10098 * nscd/connections (nscd_init): When host database is served open
10099 netlink socket and request notification about configuration changes.
10100 (main_loop_poll): Track netlink file descriptor and bump timestamp
10101 in case data becomes available.
10102 (main_loop_epoll): Likewise.
10103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
10104 (database_pers_head): Add extra_data fileds.
10105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
10106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
10107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
10108 Adjust caller.
10109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
10110 in6ai data, call __free_in6ai.
10111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
10112 Add -DHAVE_NETLINK.
10113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
10114 interface information. Reuse previous data if netlink timestamp
10115 is not changed.
10116 (__bump_nl_timestamp): New function.
10117 (__free_in6ai): New function.
10118
10119 2011-10-30 Ulrich Drepper <drepper@gmail.com>
10120
10121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
10122 close_not_cancel_no_status here.
10123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10124
10125 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10126
10127 [BZ #13276]
10128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10129 return value.
10130
10131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10134
10135 2011-07-03 Andreas Jaeger <aj@suse.de>
10136
10137 [BZ #10709]
10138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10140 * math/libm-test.inc (sin_test): Add test case.
10141
10142 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10143
10144 [BZ #13337]
10145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10147
10148 * elf/chroot_canon.c (chroot_canon): Cleanups.
10149
10150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10151
10152 [BZ #13335]
10153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10155
10156 * string/test-strchr.c: Make usable for strchrnul testing.
10157 * string/test-strchrnul.c: New file.
10158 * string/Makefile (strop-tests): Add strchrnul.
10159
10160 * po/it.po: Update from translation team.
10161 * po/es.po: Likewise.
10162
10163 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10164
10165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10166 the three constants needed as parameters. Drop the others.
10167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10168 __m128i_strloadu_tolower.
10169 Create and initialize variable zero and use it in all the places
10170 where _mm_setzero_si128 was used.
10171
10172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10176 anymore.
10177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10182 __mpranred, __mptan.
10183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10192
10193 2011-10-28 Andreas Schwab <schwab@redhat.com>
10194
10195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10196 redefine if SHARED.
10197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10198
10199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10200 wide char related routines to wcsmbs subdir.
10201
10202 2011-10-27 Andreas Schwab <schwab@redhat.com>
10203
10204 [BZ #13344]
10205 * misc/sys/cdefs.h (__THROWNL): Define.
10206 * posix/unistd.h: Use __THREADNL instead of __THREAD
10207 for memory synchronization functions.
10208
10209 2011-10-26 Roland McGrath <roland@hack.frob.com>
10210
10211 [BZ #13349]
10212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10213 doesn't exist.
10214 * manual/stdio.texi (Obstack Streams): Node removed.
10215
10216 2011-10-26 Andreas Schwab <schwab@redhat.com>
10217
10218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10221
10222 * math/math_private.h (math_force_eval): Allow non-addressable
10223 arguments.
10224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10225
10226 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10227
10228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10229 file is not needed.
10230
10231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10239 Add AVX variants.
10240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10259
10260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10262
10263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10264 place. Use VEX encoding when compiling for AVX.
10265
10266 2011-10-25 Andreas Schwab <schwab@redhat.com>
10267
10268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10270
10271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10272
10273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10274
10275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10276 useless if() expression.
10277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10296
10297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10298
10299 2011-10-25 Andreas Schwab <schwab@redhat.com>
10300
10301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10302 condition.
10303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10304
10305 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10306
10307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10308 .text section. Avoid duplicate constants.
10309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10354
10355 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10356
10357 * sysdeps/x86_64/dla.h: Move to ...
10358 * sysdeps/x86_64/fpu/dla.h: ...here.
10359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10360 situations. Use __builtin_fma only for gcc 4.6 and up.
10361
10362 * config.make.in: Add have-mfma4 entry.
10363 * configure.in: Substitute libc_cv_cc_fma4.
10364 * math/Makefile (dbl-only-routines): Add sincostab.
10365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10366 Use __sincostab not sincos.
10367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10368 name is a macro.
10369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10373 using __copysign.
10374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10378 and __inv.
10379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10381 __copysign.
10382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10383 define aliases when function name is a macro.
10384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10385 sysdeps/ieee754/dbl-64/sincos.tbl.
10386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10387 fma4-enabled routines.
10388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10418
10419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10420 rename.
10421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10429
10430 2011-10-24 Andreas Schwab <schwab@redhat.com>
10431
10432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10433
10434 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10435
10436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10437
10438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10439 prediction.
10440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10441
10442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10443 Remove unused variable magic_bits.
10444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10445
10446 * string/strnlen.c: Define and use STRNLEN macro.
10447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10450 * wcsmbs/wcslen.c: Define and use WCSLEN.
10451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10458
10459 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10460
10461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10462 strnlen-sse2-no-bsf.
10463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10466 Add strnlen support.
10467 (USE_AS_STRNLEN): New macro.
10468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10471 * sysdeps/x86_64/wcslen.S: New file.
10472
10473 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10474
10475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10476 XMM-moves are used for copying on small sizes.
10477
10478 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10479
10480 * wcsmbs/Makefile (strop-tests): Add wcschr.
10481 * wcsmbs/test-wcschr.c: New file.
10482 * string/test-strchr.c: Update.
10483 Add wcschr support.
10484 (WIDE): New macro.
10485
10486 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10487
10488 * wcsmbs/Makefile (strop-tests): Add wcslen.
10489 * wcsmbs/test-wcslen.c: New file.
10490 * string/test-strlen.c: Update.
10491 Add wcslen support.
10492 (WIDE): New macro.
10493
10494 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10495
10496 * po/it.po: Update from translation team.
10497
10498 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10499
10500 * sysdeps/x86_64/wcscmp.S: Update.
10501 Fix wrong comparison semantics.
10502 wcscmp shall use signed comparison not unsigned.
10503 Don't use substraction to avoid overflow bug.
10504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10505 * wcsmbc/wcscmp.c: Likewise.
10506 * string/test-strcmp.c: Likewise.
10507 Add new tests to check cases with negative values.
10508
10509 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10510
10511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10512 * sysdeps/x86_64/dla.h: ...here. New file.
10513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10522
10523 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10524
10525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10526 __ynl_finite aliases.
10527
10528 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10529
10530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10531
10532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10533 define DLA_FMA.
10534 [DLA_FMA] (EMULV): Use DLA_FMA.
10535 [DLA_FMA] (MUL12): Use EMULV.
10536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10537 that are not needed.
10538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10545
10546 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10547
10548 * math/s_nan.c: Undef __nan.
10549 * math/s_nanf.c: Undef __nanf.
10550 * math/s_nanl.c: Undef __nanl.
10551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10552 "math_private.h".
10553
10554 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10555
10556 * math/s_catan.c: Add branch predictions.
10557 * math/s_catanf.c: Likewise.
10558 * math/s_catanh.c: Likewise.
10559 * math/s_catanhf.c: Likewise.
10560 * math/s_catanhl.c: Likewise.
10561 * math/s_catanl.c: Likewise.
10562 * math/s_cexp.c: Likewise.
10563 * math/s_cexpf.c: Likewise.
10564 * math/s_cexpl.c: Likewise.
10565 * math/s_clog.c: Likewise.
10566 * math/s_clog10.c: Likewise.
10567 * math/s_clog10f.c: Likewise.
10568 * math/s_clog10l.c: Likewise.
10569 * math/s_clogf.c: Likewise.
10570 * math/s_clogl.c: Likewise.
10571 * math/s_csqrt.c: Likewise.
10572 * math/s_csqrtf.c: Likewise.
10573 * math/s_csqrtl.c: Likewise.
10574 * math/s_ctanf.c: Likewise.
10575 * math/s_ctanh.c: Likewise.
10576 * math/s_ctanhf.c: Likewise.
10577 * math/s_ctanhl.c: Likewise.
10578 * math/s_ctanl.c: Likewise.
10579
10580 * math/math_private.h: Define __nan, __nanf, __nanl.
10581 * math/s_cacosh.c: Include <math_private.h>.
10582 * math/s_cacoshl.c: Likewise.
10583 * math/s_casinh.c: Likewise.
10584 * math/s_casinhf.c: Likewise.
10585 * math/s_casinhl.c: Likewise.
10586 * math/s_ccos.c: Rely entire on ccosh.
10587 * math/s_ccosf.c: Rely entire on ccoshf.
10588 * math/s_ccosl.c: Rely entirely on ccoshl.
10589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10590 Remove tests for FE_INVALID.
10591 * math/s_ccoshf.c: Likewise.
10592 * math/s_ccoshl.c: Likewise.
10593 * math/s_csin.c: Likewise.
10594 * math/s_csinf.c: Likewise.
10595 * math/s_csinh.c Likewise.
10596 * math/s_csinhf.c: Likewise.
10597 * math/s_csinhl.c: Likewise.
10598 * math/s_csinl.c: Likewise.
10599 * math/s_ctan.c: Likewise.
10600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10603
10604 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10605
10606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10607 compilation problems.
10608
10609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10610 __builtin_expect.
10611
10612 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10613
10614 * sysdeps/i386/configure.in: Test for -mfma4 option.
10615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10617 COMMON_CPUID_INDEX_80000001.
10618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10620 use it if FMA3 is not supported.
10621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10622
10623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10625
10626 2011-10-20 Andreas Schwab <schwab@redhat.com>
10627
10628 [BZ #12892]
10629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10630 it would create a cycle with a link time dependency.
10631
10632 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10633
10634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10635 instruction.
10636 * string/Makefile (strop-tests): Add rawmemchr.
10637 * string/test-rawmemchr.c: New file.
10638
10639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10642 when compiling str{,n}casecmp and when AVX is available. Hook up
10643 new optimized code in initializers.
10644
10645 2011-10-19 Andreas Schwab <schwab@redhat.com>
10646
10647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10648 __feraiseexcept instead of feraiseexcept.
10649
10650 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10651
10652 * math/math_private.h: Define defaults for libc_fetestexcept and
10653 libc_feupdateenv.
10654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10660 libc_fetestexcept and libc_feupdateenv.
10661
10662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10666 libc_feholdexcept_setround.
10667
10668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10669 Add s_nearbyint-c and s_nearbyintf-c.
10670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10671 nearbyintf inlines.
10672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10676
10677 * math/math_private.h: Define defaults for libc_fegetround,
10678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10683 standard functions.
10684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10685 Remove comments and hacks for old compiler versions.
10686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10688 libc_feholdexceptl.
10689
10690 2011-10-18 Andreas Schwab <schwab@redhat.com>
10691
10692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10693 (__feraiseexcept_renamed): Add __NTH.
10694 (feraiseexcept): Add __NTH. Rename local variables to fix
10695 namespace violations.
10696
10697 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10698
10699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10700
10701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10702
10703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10704 recently added interfaces.
10705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10706
10707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10708 about macro parameter expansion.
10709
10710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10711 __NO_MATH_INLINES is defined. Cleanups.
10712
10713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10714 and __floorf is target has SSE4.1.
10715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10719
10720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10721 name.
10722 (floorf): Likewise.
10723
10724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10725
10726 2011-10-17 Andreas Schwab <schwab@redhat.com>
10727
10728 * misc/sys/cdefs.h: Fix last change.
10729
10730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10731 database lookup.
10732
10733 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10734
10735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10736
10737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10759
10760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10761 ceil, ceilf, floor, floorf.
10762
10763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10764 Perform IRELATIVE relocations last.
10765
10766 * elf/do-rel.h: Add another parameter nrelative, replacing the
10767 local variable with the same name. Change name of the function
10768 to end in Rel or Rela (uppercase).
10769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10771 elf_dynamic_do_##reloc function.
10772
10773 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10774
10775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10776 is sufficient, at least on modern CPUs.
10777
10778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10779
10780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10782
10783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10784 __expl_finite.
10785 * math/bits/math-finite.h: Add entries for exp.
10786 * math/e_expl.c: Add __*_finite alias.
10787 * sysdeps/i386/fpu/e_exp.S: Likewise.
10788 * sysdeps/i386/fpu/e_expf.S: Likewise.
10789 * sysdeps/i386/fpu/e_expl.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10797
10798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10799 is sufficient, at least on modern CPUs.
10800
10801 * ctype/ctype-info.c (__ctype_init): Define.
10802 * include/ctype.h (__ctype_init): Declare.
10803 (__ctype_b_loc): The variable is always initialized.
10804 (__ctype_toupper_loc): Likewise.
10805 (__ctype_tolower_loc): Likewise.
10806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10808
10809 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10810
10811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10812
10813 * configure.in: Also look in $cxxmachine/include for C++ system
10814 headers.
10815
10816 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10817
10818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10823 (USE_AS_WMEMCMP): New macro.
10824 Fixing indents.
10825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10836 (USE_AS_WMEMCMP): New macro.
10837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10838 * sysdeps/string/test-memcmp.c: Update.
10839 Fix simple_wmemcmp.
10840 Add new tests.
10841 * wcsmbs/wmemcmp.c: Update.
10842 (WMEMCMP): New macro.
10843 Fix overflow bug.
10844
10845 2011-10-12 Andreas Jaeger <aj@suse.de>
10846
10847 [BZ #13268]
10848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10849
10850 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10851
10852 * libio/iofwide.c (do_length): Avoid warning.
10853
10854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10855
10856 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10857
10858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10859
10860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10863 * sysdeps/i386/i686/fpu/e_log.S: New file.
10864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10866
10867 * ctype/ctype.h: Add support for inlined isXXX functions when
10868 compiling C++ code.
10869
10870 2011-10-14 Andreas Schwab <schwab@redhat.com>
10871
10872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10873
10874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10875
10876 2011-10-13 Roland McGrath <roland@hack.frob.com>
10877
10878 [BZ #13291]
10879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10880
10881 2011-10-13 Andreas Schwab <schwab@redhat.com>
10882
10883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10885 feraiseexcept.
10886
10887 * sysdeps/x86_64/memrchr.S: Check for zero size.
10888
10889 * string/stratcliff.c: Add memrchr tests.
10890
10891 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10892
10893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10895 rawmemchr-sse2 rawmemchr-sse2-bsf.
10896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10906 * string/memrchr.c (MEMRCHR): New macro.
10907
10908 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10909
10910 Add integration with gcc's -ffinite-math-only and optimize wrapper
10911 functions in libm.
10912 * Versions.def: Define GLIBC_2.15 version for libm.
10913 * math/Makefile (headers): Add bits/math-finite.h.
10914 * math/bits/math-finite.h: New file.
10915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10917 * math/e_acoshl.c: Add __*_finite alias.
10918 * math/e_acosl.c: Likewise.
10919 * math/e_asinl.c: Likewise.
10920 * math/e_atan2l.c: Likewise.
10921 * math/e_atanhl.c: Likewise.
10922 * math/e_coshl.c: Likewise.
10923 * math/e_exp10.c: Likewise.
10924 * math/e_exp10f.c: Likewise.
10925 * math/e_exp10l.c: Likewise.
10926 * math/e_exp2l.c: Likewise.
10927 * math/e_fmodl.c: Likewise.
10928 * math/e_gammal_r.c: Likewise.
10929 * math/e_hypotl.c: Likewise.
10930 * math/e_j0l.c: Likewise.
10931 * math/e_j1l.c: Likewise.
10932 * math/e_jnl.c: Likewise.
10933 * math/e_lgammal_r.c: Likewise.
10934 * math/e_log10l.c: Likewise.
10935 * math/e_log2l.c: Likewise.
10936 * math/e_logl.c: Likewise.
10937 * math/e_powl.c: Likewise.
10938 * math/e_sinhl.c: Likewise.
10939 * math/e_sqrtl.c: Likewise.
10940 * math/e_scalb.c: Completely rewritten and optimized.
10941 * math/e_scalbf.c: Likewise.
10942 * math/e_scalbl.c: Likewise.
10943 * math/w_acos.c: Likewise.
10944 * math/w_acosf.c: Likewise.
10945 * math/w_acosl.c: Likewise.
10946 * math/w_acosh.c: Likewise.
10947 * math/w_acoshf.c: Likewise.
10948 * math/w_acoshl.c: Likewise.
10949 * math/w_asin.c: Likewise.
10950 * math/w_asinf.c: Likewise.
10951 * math/w_asinl.c: Likewise.
10952 * math/w_atan2.c: Likewise.
10953 * math/w_atan2f.c: Likewise.
10954 * math/w_atan2l.c: Likewise.
10955 * math/w_atanh.c: Likewise.
10956 * math/w_atanhf.c: Likewise.
10957 * math/w_atanhl.c: Likewise.
10958 * math/w_exp10.c: Likewise.
10959 * math/w_exp10f.c: Likewise.
10960 * math/w_exp10l.c: Likewise.
10961 * math/w_fmod.c: Likewise.
10962 * math/w_fmodf.c: Likewise.
10963 * math/w_fmodl.c: Likewise.
10964 * math/w_j0.c: Likewise.
10965 * math/w_j0f.c: Likewise.
10966 * math/w_j0l.c: Likewise.
10967 * math/w_j1.c: Likewise.
10968 * math/w_j1f.c: Likewise.
10969 * math/w_j1l.c: Likewise.
10970 * math/w_jn.c: Likewise.
10971 * math/w_jnf.c: Likewise.
10972 * math/w_log.c: Likewise.
10973 * math/w_logf.c: Likewise.
10974 * math/w_logl.c: Likewise.
10975 * math/w_log10.c: Likewise.
10976 * math/w_log10f.c: Likewise.
10977 * math/w_log10l.c: Likewise.
10978 * math/w_log2.c: Likewise.
10979 * math/w_log2f.c: Likewise.
10980 * math/w_log2l.c: Likewise.
10981 * math/w_pow.c: Likewise.
10982 * math/w_powf.c: Likewise.
10983 * math/w_powl.c: Likewise.
10984 * math/w_remainder.c: Likewise.
10985 * math/w_remainderf.c: Likewise.
10986 * math/w_remainderl.c: Likewise.
10987 * math/w_scalb.c: Likewise.
10988 * math/w_scalbf.c: Likewise.
10989 * math/w_scalbl.c: Likewise.
10990 * math/w_sqrt.c: Likewise.
10991 * math/w_sqrtf.c: Likewise.
10992 * math/w_sqrtl.c: Likewise.
10993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10995 used.
10996 * math/math_private.h: Declare __kernel_standard_f.
10997 * math/w_cosh.c: Remove cruft and optimize a bit.
10998 * math/w_coshf.c: Likewise.
10999 * math/w_coshl.c: Likewise.
11000 * math/w_exp2.c: Likewise.
11001 * math/w_exp2f.c: Likewise.
11002 * math/w_exp2l.c: Likewise.
11003 * math/w_hypot.c: Likewise.
11004 * math/w_hypotf.c: Likewise.
11005 * math/w_hypotl.c: Likewise.
11006 * math/w_lgamma.c: Likewise.
11007 * math/w_lgamma_r.c: Likewise.
11008 * math/w_lgammaf.c: Likewise.
11009 * math/w_lgammaf_r.c: Likewise.
11010 * math/w_lgammal.c: Likewise.
11011 * math/w_lgammal_r.c: Likewise.
11012 * math/w_sinh.c: Likewise.
11013 * math/w_sinhf.c: Likewise.
11014 * math/w_sinhl.c: Likewise.
11015 * math/w_tgamma.c: Likewise.
11016 * math/w_tgammaf.c: Likewise.
11017 * math/w_tgammal.c: Likewise.
11018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
11019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
11021 Minor optimizations. Pretty printing. Remove cruft.
11022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
11023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
11024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
11025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
11026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
11027 * sysdeps/i386/fpu/e_asin.S: Likewise.
11028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
11029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
11030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
11031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
11032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
11033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
11034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
11035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
11036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
11037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
11038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
11039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
11040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
11041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
11042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
11043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
11044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
11045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
11046 * sysdeps/i386/fpu/e_log.S: Likewise.
11047 * sysdeps/i386/fpu/e_log10.S: Likewise.
11048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
11049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
11050 * sysdeps/i386/fpu/e_log2.S: Likewise.
11051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
11052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
11053 * sysdeps/i386/fpu/e_logf.S: Likewise.
11054 * sysdeps/i386/fpu/e_logl.S: Likewise.
11055 * sysdeps/i386/fpu/e_pow.S: Likewise.
11056 * sysdeps/i386/fpu/e_powf.S: Likewise.
11057 * sysdeps/i386/fpu/e_powl.S: Likewise.
11058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
11059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
11060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
11061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
11062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
11063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
11064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
11065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
11066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
11067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
11068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
11071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
11073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
11074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
11075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
11078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
11079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
11081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
11082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
11088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
11089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
11090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
11091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
11092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
11093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
11095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
11096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
11097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
11099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
11101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
11102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
11103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
11104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
11105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
11106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
11107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
11108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
11109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
11110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11180 (__isnanf): Likewise.
11181 (__isinf_ns): Likewise.
11182 (__isinf_nsf): Likewise.
11183 (__finite): Likewise.
11184 (__finitef): Likewise.
11185 (__ieee754_sqrt): Define as macro.
11186 (__ieee754_sqrtf): Define as macro.
11187 (__ieee754_sqrtl): Define as macro.
11188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11189 inlined copy.
11190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11191 __FINITE_MATH_ONLY__ consistent.
11192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11193
11194 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11195
11196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11197 of rawmemchr.
11198
11199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11200
11201 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11202
11203 * po/ja.po: Update from translation team.
11204
11205 2011-10-08 Roland McGrath <roland@hack.frob.com>
11206
11207 * locale/programs/locarchive.c (prepare_address_space): New function.
11208 (create_archive, enlarge_archive, open_archive): Use it.
11209
11210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11211 inside [SHARED], where it is used.
11212
11213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11214
11215 * nss/getent.c (netgroup_keys): Remove unused variable.
11216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11217
11218 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11219
11220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11226 * math/Makefile (libm-calls): Add s_isinf_ns.
11227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11228 * math/multc3.c: Likewise.
11229 * math/s_casin.c: Likewise.
11230 * math/s_casinf.c: Likewise.
11231 * math/s_casinl.c: Likewise.
11232 * math/s_ccos.c: Likewise.
11233 * math/s_ccosf.c: Likewise.
11234 * math/s_ccosl.c: Likewise.
11235 * math/s_ctan.c: Likewise.
11236 * math/s_ctanf.c: Likewise.
11237 * math/s_ctanh.c: Likewise.
11238 * math/s_ctanhf.c: Likewise.
11239 * math/s_ctanhl.c: Likewise.
11240 * math/s_ctanl.c: Likewise.
11241 * math/w_fmod.c: Likewise.
11242 * math/w_fmodf.c: Likewise.
11243 * math/w_fmodl.c: Likewise.
11244 * math/w_remainder.c: Likewise.
11245 * math/w_remainderf.c: Likewise.
11246 * math/w_remainderl.c: Likewise.
11247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11255
11256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11257 of the number.
11258 * stdio-common/printf_fphex.c: Likewise.
11259 * stdio-common/printf_size.c: Likewise.
11260
11261 * math/e_exp10.c: Include math_private.h using <...> not "...".
11262 * math/e_exp10f.c: Likewise.
11263 * math/e_exp10l.c: Likewise.
11264 * math/e_exp2l.c: Likewise.
11265 * math/e_j0l.c: Likewise.
11266 * math/e_j1l.c: Likewise.
11267 * math/e_jnl.c: Likewise.
11268 * math/e_lgammal_r.c: Likewise.
11269 * math/e_rem_pio2l.c: Likewise.
11270 * math/e_scalb.c: Likewise.
11271 * math/e_scalbf.c: Likewise.
11272 * math/e_scalbl.c: Likewise.
11273 * math/k_cosl.c: Likewise.
11274 * math/k_sinl.c: Likewise.
11275 * math/k_tanl.c: Likewise.
11276 * math/s_cacoshf.c: Likewise.
11277 * math/s_catan.c: Likewise.
11278 * math/s_catanf.c: Likewise.
11279 * math/s_catanh.c: Likewise.
11280 * math/s_catanhf.c: Likewise.
11281 * math/s_catanhl.c: Likewise.
11282 * math/s_catanl.c: Likewise.
11283 * math/s_ccosh.c: Likewise.
11284 * math/s_ccoshf.c: Likewise.
11285 * math/s_ccoshl.c: Likewise.
11286 * math/s_cexp.c: Likewise.
11287 * math/s_cexpf.c: Likewise.
11288 * math/s_cexpl.c: Likewise.
11289 * math/s_clog.c: Likewise.
11290 * math/s_clog10.c: Likewise.
11291 * math/s_clog10f.c: Likewise.
11292 * math/s_clog10l.c: Likewise.
11293 * math/s_clogf.c: Likewise.
11294 * math/s_clogl.c: Likewise.
11295 * math/s_csin.c: Likewise.
11296 * math/s_csinf.c: Likewise.
11297 * math/s_csinh.c: Likewise.
11298 * math/s_csinhf.c: Likewise.
11299 * math/s_csinhl.c: Likewise.
11300 * math/s_csinl.c: Likewise.
11301 * math/s_csqrt.c: Likewise.
11302 * math/s_csqrtf.c: Likewise.
11303 * math/s_csqrtl.c: Likewise.
11304 * math/s_ctan.c: Likewise.
11305 * math/s_ctanf.c: Likewise.
11306 * math/s_ctanh.c: Likewise.
11307 * math/s_ctanhf.c: Likewise.
11308 * math/s_ctanhl.c: Likewise.
11309 * math/s_ctanl.c: Likewise.
11310 * math/s_ldexp.c: Likewise.
11311 * math/s_ldexpf.c: Likewise.
11312 * math/s_ldexpl.c: Likewise.
11313 * math/s_significand.c: Likewise.
11314 * math/s_significandf.c: Likewise.
11315 * math/s_significandl.c: Likewise.
11316 * math/w_acos.c: Likewise.
11317 * math/w_acosf.c: Likewise.
11318 * math/w_acosh.c: Likewise.
11319 * math/w_acoshf.c: Likewise.
11320 * math/w_acoshl.c: Likewise.
11321 * math/w_acosl.c: Likewise.
11322 * math/w_asin.c: Likewise.
11323 * math/w_asinf.c: Likewise.
11324 * math/w_asinl.c: Likewise.
11325 * math/w_atan2.c: Likewise.
11326 * math/w_atan2f.c: Likewise.
11327 * math/w_atan2l.c: Likewise.
11328 * math/w_atanh.c: Likewise.
11329 * math/w_atanhf.c: Likewise.
11330 * math/w_atanhl.c: Likewise.
11331 * math/w_cosh.c: Likewise.
11332 * math/w_coshf.c: Likewise.
11333 * math/w_coshl.c: Likewise.
11334 * math/w_dremf.c: Likewise.
11335 * math/w_exp10.c: Likewise.
11336 * math/w_exp10f.c: Likewise.
11337 * math/w_exp10l.c: Likewise.
11338 * math/w_exp2.c: Likewise.
11339 * math/w_exp2f.c: Likewise.
11340 * math/w_fmod.c: Likewise.
11341 * math/w_fmodf.c: Likewise.
11342 * math/w_fmodl.c: Likewise.
11343 * math/w_hypot.c: Likewise.
11344 * math/w_hypotf.c: Likewise.
11345 * math/w_hypotl.c: Likewise.
11346 * math/w_j0.c: Likewise.
11347 * math/w_j0f.c: Likewise.
11348 * math/w_j0l.c: Likewise.
11349 * math/w_j1.c: Likewise.
11350 * math/w_j1f.c: Likewise.
11351 * math/w_j1l.c: Likewise.
11352 * math/w_jn.c: Likewise.
11353 * math/w_jnf.c: Likewise.
11354 * math/w_jnl.c: Likewise.
11355 * math/w_lgamma.c: Likewise.
11356 * math/w_lgamma_r.c: Likewise.
11357 * math/w_lgammaf.c: Likewise.
11358 * math/w_lgammaf_r.c: Likewise.
11359 * math/w_lgammal.c: Likewise.
11360 * math/w_lgammal_r.c: Likewise.
11361 * math/w_log.c: Likewise.
11362 * math/w_log10.c: Likewise.
11363 * math/w_log10f.c: Likewise.
11364 * math/w_log10l.c: Likewise.
11365 * math/w_log2.c: Likewise.
11366 * math/w_log2f.c: Likewise.
11367 * math/w_log2l.c: Likewise.
11368 * math/w_logf.c: Likewise.
11369 * math/w_logl.c: Likewise.
11370 * math/w_pow.c: Likewise.
11371 * math/w_powf.c: Likewise.
11372 * math/w_powl.c: Likewise.
11373 * math/w_remainder.c: Likewise.
11374 * math/w_remainderf.c: Likewise.
11375 * math/w_remainderl.c: Likewise.
11376 * math/w_scalb.c: Likewise.
11377 * math/w_scalbf.c: Likewise.
11378 * math/w_scalbl.c: Likewise.
11379 * math/w_sinh.c: Likewise.
11380 * math/w_sinhf.c: Likewise.
11381 * math/w_sinhl.c: Likewise.
11382 * math/w_sqrt.c: Likewise.
11383 * math/w_sqrtf.c: Likewise.
11384 * math/w_sqrtl.c: Likewise.
11385 * math/w_tgamma.c: Likewise.
11386 * math/w_tgammaf.c: Likewise.
11387 * math/w_tgammal.c: Likewise.
11388
11389 * po/ja.po: Update from translation team.
11390
11391 2011-09-29 Andreas Jaeger <aj@suse.de>
11392
11393 [BZ #13179]
11394 * sunrpc/netname.c (netname2host): Fix logic.
11395
11396 [BZ #6779]
11397 [BZ #6783]
11398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11399 correctly.
11400 * math/w_remainder.c (__remainder): Likewise.
11401 * math/w_remainderf.c (__remainderf): Likewise.
11402 * math/libm-test.inc (remainder_test): Add test cases.
11403
11404 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11405
11406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11407 sdiv_qrnnd.
11408
11409 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11410
11411 * string/test-memcmp.c: Avoid unncessary #defines.
11412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11413
11414 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11415
11416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11417 Use new sse2 version for core i3 - i7 as it's faster
11418 than sse42 version.
11419 (bit_Prefer_PMINUB_for_stringop): New.
11420 * sysdeps/x86_64/rawmemchr.S: Update.
11421 Replace with faster SSE2 version.
11422 * sysdeps/x86_64/memrchr.S: New file.
11423 * sysdeps/x86_64/memchr.S: Update.
11424 Replace with faster SSE2 version.
11425
11426 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11427
11428 * elf/dl-load.c (lose): Add cast to avoid warning.
11429
11430 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11431
11432 * po/ca.po: Update from translation team.
11433
11434 * inet/getnetgrent_r.c: Hook up nscd.
11435 * nscd/Makefile (routines): Add nscd_netgroup.
11436 (nscd-modules): Add netgroupcache.
11437 (CFLAGS-netgroupcache.c): Define.
11438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11439 (cache_search): Add const to second parameter.
11440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11441 INNETGR.
11442 (dbs): Add netgrdb entry.
11443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11444 (verify_persistent_db): Handle netgrdb.
11445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11447 GETFDNETGR.
11448 (netgroup_response_header): Define.
11449 (innetgroup_response_header): Define.
11450 (datahead): Add netgroup_response_header and innetgroup_response_header
11451 elements.
11452 * nscd/nscd.conf: Add entries for netgroup cache.
11453 * nscd/nscd.h (dbtype): Add netgrdb.
11454 (_PATH_NSCD_NETGROUP_DB): Define.
11455 (netgroup_iov_disabled): Declare.
11456 (xmalloc, xcalloc, xrealloc): Move declarations here.
11457 (cache_search): Adjust prototype.
11458 Add netgroup-related prototypes.
11459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11461 (__nscd_innetgr): Declare.
11462 * nscd/selinux.c (perms): Use access_vector_t as element type and
11463 add netgroup-related initializers.
11464 * nscd/netgroupcache.c: New file.
11465 * nscd/nscd_netgroup.c: New file.
11466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11468 For four parameters use innetgr.
11469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11473
11474 * nscd/connections.c (register_traced_file): Don't register file
11475 for disabled databases.
11476
11477 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11478
11479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11480
11481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11482 from tree and freeing node.
11483
11484 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11485
11486 * nss/nsswitch.c (__nss_database_lookup): Handle
11487 nss_parse_service_list out of memory case.
11488
11489 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11490
11491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11492 out of memory case.
11493
11494 2011-10-04 Andreas Schwab <schwab@redhat.com>
11495
11496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11498 pass it down.
11499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11500 elf_machine_rela, elf_machine_lazy_rel.
11501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11502 (ELF_DYNAMIC_DO_REL): Likewise.
11503 (ELF_DYNAMIC_DO_RELA): Likewise.
11504 (ELF_DYNAMIC_RELOCATE): Likewise.
11505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11506 to ELF_DYNAMIC_DO_REL.
11507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11510 elf_machine_rela.
11511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11512 skip_ifunc, don't call ifunc function if non-zero.
11513 (elf_machine_rela): Likewise.
11514 (elf_machine_lazy_rel): Likewise.
11515 (elf_machine_lazy_rela): Likewise.
11516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11517 (elf_machine_lazy_rel): Likewise.
11518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11519 Likewise.
11520 (elf_machine_lazy_rel): Likewise.
11521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11522 Likewise.
11523 (elf_machine_lazy_rel): Likewise.
11524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11525 (elf_machine_lazy_rel): Likewise.
11526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11527 (elf_machine_lazy_rel): Likewise.
11528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11529 (elf_machine_lazy_rel): Likewise.
11530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11531 (elf_machine_lazy_rel): Likewise.
11532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11533 (elf_machine_lazy_rel): Likewise.
11534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11535 (elf_machine_lazy_rel): Likewise.
11536
11537 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11538
11539 * nss/nss_files/files-init.c (_nss_files_init): Use static
11540 initialization for all the *_traced_file variables.
11541
11542 2011-09-28 Andreas Schwab <schwab@redhat.com>
11543
11544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11545
11546 2011-09-27 Roland McGrath <roland@hack.frob.com>
11547
11548 [BZ #13226]
11549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11550
11551 2011-09-27 Andreas Schwab <schwab@redhat.com>
11552
11553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11554 Reread the line before reparsing it.
11555
11556 2011-09-26 Andreas Schwab <schwab@redhat.com>
11557
11558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11559
11560 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11561 Maxim Kuvyrkov <maxim@codesourcery.com>
11562 Joseph Myers <joseph@codesourcery.com>
11563
11564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11565 if needed for __stack_chk_guard.
11566
11567 2011-09-19 Roland McGrath <roland@hack.frob.com>
11568
11569 * sysdeps/posix/spawni.c (script_execute): Always define it.
11570 It will be optimized away if unused.
11571 (maybe_script_execute): New function.
11572 (__spawni): Call it.
11573
11574 * Makerules: Don't include tls.make.
11575 (config-tls): Always set to thread.
11576 * tls.make.c: File removed.
11577
11578 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11579
11580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11581 * config.make.in (CPPFLAGS-config): New substituted variable.
11582
11583 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11584
11585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11586
11587 [BZ #13192]
11588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11590
11591 2011-09-15 Roland McGrath <roland@hack.frob.com>
11592
11593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11596 (CALL_FAIL): Likewise.
11597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11598 (CALL_FAIL): Macro removed.
11599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11600
11601 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11602
11603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11604 for __FINITE_MATH_ONLY__ == 1.
11605
11606 2011-09-15 Andreas Schwab <schwab@redhat.com>
11607
11608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11609 __ieee754_sqrt instead of sqrt.
11610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11611 __ieee754_sqrtf instead of sqrtf.
11612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11613 __floorf instead of floorf.
11614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11615 __floorf, __truncf instead of floorf, truncf.
11616
11617 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11618
11619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11620
11621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11622 __extern_always_inline.
11623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11624 32-bit.
11625
11626 2011-09-14 Andreas Schwab <schwab@redhat.com>
11627
11628 * elf/rtld.c (dl_main): Also relocate in dependency order when
11629 doing symbol dependency testing.
11630
11631 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11632
11633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11634 Always define `refsym'.
11635
11636 2011-09-13 Andreas Schwab <schwab@redhat.com>
11637
11638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11639 (__FD_ELT): Renamed from __FDELT.
11640 * misc/bits/select2.h (__FD_ELT): Likewise.
11641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11642 __FD_MASK instead of __FDELT, __FDMASK.
11643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11644 Likewise.
11645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11646 Likewise.
11647
11648 * elf/Makefile (gen-ldd): Fix pattern.
11649
11650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11651 (init_tls): Likewise.
11652
11653 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11654
11655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11656
11657 2011-09-12 Andreas Schwab <schwab@redhat.com>
11658
11659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11660 `struct cmsghdr *' instead of `void *'.
11661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11662 Likewise.
11663
11664 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11665
11666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11667 if non-absolute.
11668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11669 ldd_rewrite_script.
11670
11671 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11672
11673 * configure.in: Remove --with-tls option.
11674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11676 out in case it is missing.
11677 * sysdeps/ia64/elf/configure.in: Likewise.
11678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11682 * sysdeps/sh/elf/configure.in: Likewise.
11683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11685 * sysdeps/x86_64/elf/configure.in: Likewise.
11686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11687 * sysdeps/mach/hurd/tls.h: Likewise.
11688
11689 [BZ #13067]
11690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11691
11692 [BZ #13090]
11693 * configure.in: Fix use of AC_INIT.
11694
11695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11696
11697 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11698
11699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11700 __set_errno.
11701 * malloc/hooks.c: Likewise.
11702
11703 [BZ #11929]
11704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11705 variables statically.
11706 (narenas): Initialize.
11707 (list_lock): Initialize.
11708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11709 initializtion of main_arena and list_lock. Small cleanups.
11710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11712 Add initializers to main_arena and mp_.
11713 (malloc_state): Remove pagesize member. Change all users to use
11714 GLRO(dl_pagesize).
11715
11716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11718 is always initialized.
11719
11720 * malloc/malloc.c: Removed unused configurations and dead code.
11721 * malloc/arena.c: Likewise.
11722 * malloc/hooks.c: Likewise.
11723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11724
11725 * include/tls.h: Removed. USE___THREAD must always be defined.
11726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11727 * elf/dl-libc.c: Likewise.
11728 * elf/dl-tsd.c: Likewise.
11729 * include/errno.h: Likewise.
11730 * include/netdb.h: Likewise.
11731 * include/resolv.h: Likewise.
11732 * inet/herrno-loc.c: Likewise.
11733 * inet/herrno.c: Likewise.
11734 * malloc/arena.c: Likewise.
11735 * malloc/hooks.c: Likewise.
11736 * malloc/malloc.c: Likewise.
11737 * resolv/res-state.c: Likewise.
11738 * resolv/res_libc.c: Likewise.
11739 * sysdeps/i386/dl-machine.h: Likewise.
11740 * sysdeps/ia64/dl-machine.h: Likewise.
11741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11745 * sysdeps/sh/dl-machine.h: Likewise.
11746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11748 * sysdeps/unix/i386/sysdep.S: Likewise.
11749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11760 * sysdeps/x86_64/dl-machine.h: Likewise.
11761 * tls.make.c: Likewise.
11762
11763 * configure.in: Remove --with-__thread option. Make tests for
11764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11765 tls_model attribute fail if no support is available. Remove
11766 USE_IN_LIBIO.
11767 * Makeconfig: Adjust for dropped configure option. All features are
11768 now mandatory.
11769 * Makerules: Likewise.
11770 * Versions.def: Likewise.
11771 * argp/argp-fmtstream.c: Likewise.
11772 * argp/argp-fmtstream.h: Likewise.
11773 * argp/argp-help.c: Likewise.
11774 * assert/assert.c: Likewise.
11775 * config.h.in: Likewise.
11776 * config.make.in: Likewise.
11777 * configure: Likewise.
11778 * configure.in: Likewise.
11779 * csu/Versions: Likewise.
11780 * csu/init.c: Likewise.
11781 * elf/tst-audit2.c: Likewise.
11782 * elf/tst-tls10.c: Likewise.
11783 * elf/tst-tls10.h: Likewise.
11784 * elf/tst-tls11.c: Likewise.
11785 * elf/tst-tls12.c: Likewise.
11786 * elf/tst-tls14.c: Likewise.
11787 * elf/tst-tlsmod11.c: Likewise.
11788 * elf/tst-tlsmod12.c: Likewise.
11789 * elf/tst-tlsmod13.c: Likewise.
11790 * elf/tst-tlsmod13a.c: Likewise.
11791 * elf/tst-tlsmod14a.c: Likewise.
11792 * elf/tst-tlsmod15b.c: Likewise.
11793 * elf/tst-tlsmod16a.c: Likewise.
11794 * elf/tst-tlsmod16b.c: Likewise.
11795 * elf/tst-tlsmod7.c: Likewise.
11796 * elf/tst-tlsmod8.c: Likewise.
11797 * elf/tst-tlsmod9.c: Likewise.
11798 * gmon/gmon.c: Likewise.
11799 * grp/fgetgrent_r.c: Likewise.
11800 * grp/putgrent.c: Likewise.
11801 * hurd/fopenport.c: Likewise.
11802 * include/libc-symbols.h: Likewise.
11803 * include/tls.h: Likewise.
11804 * intl/gettextP.h: Likewise.
11805 * intl/loadinfo.h: Likewise.
11806 * locale/global-locale.c: Likewise.
11807 * locale/localeinfo.h: Likewise.
11808 * mach/devstream.c: Likewise.
11809 * malloc/arena.c: Likewise.
11810 * malloc/set-freeres.c: Likewise.
11811 * misc/err.c: Likewise.
11812 * misc/getttyent.c: Likewise.
11813 * misc/mntent_r.c: Likewise.
11814 * posix/getopt.c: Likewise.
11815 * posix/wordexp.c: Likewise.
11816 * pwd/fgetpwent_r.c: Likewise.
11817 * resolv/Versions: Likewise.
11818 * resolv/res_hconf.c: Likewise.
11819 * shadow/fgetspent_r.c: Likewise.
11820 * shadow/putspent.c: Likewise.
11821 * stdio-common/printf_fphex.c: Likewise.
11822 * stdio-common/tmpfile.c: Likewise.
11823 * stdlib/abort.c: Likewise.
11824 * stdlib/fmtmsg.c: Likewise.
11825 * sunrpc/auth_unix.c: Likewise.
11826 * sunrpc/clnt_perr.c: Likewise.
11827 * sunrpc/clnt_tcp.c: Likewise.
11828 * sunrpc/clnt_udp.c: Likewise.
11829 * sunrpc/clnt_unix.c: Likewise.
11830 * sunrpc/openchild.c: Likewise.
11831 * sunrpc/svc_simple.c: Likewise.
11832 * sunrpc/svc_tcp.c: Likewise.
11833 * sunrpc/svc_udp.c: Likewise.
11834 * sunrpc/svc_unix.c: Likewise.
11835 * sunrpc/xdr.c: Likewise.
11836 * sunrpc/xdr_array.c: Likewise.
11837 * sunrpc/xdr_rec.c: Likewise.
11838 * sunrpc/xdr_ref.c: Likewise.
11839 * sunrpc/xdr_stdio.c: Likewise.
11840
11841 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11842
11843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11844
11845 2011-07-03 Andreas Jaeger <aj@suse.de>
11846
11847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11849 regenerate with gen-libm-tests.pl.
11850
11851 2010-05-12 Petr Baudis <pasky@suse.cz>
11852
11853 [BZ #11589]
11854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11855 around j0() zero points by switching to j1().
11856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11860
11861 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11862
11863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11864 instead of 0.
11865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11866 instead of 0. .
11867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11868 Patch in part by Pavel Roskin <proski@gnu.org>.
11869
11870 [BZ #13138]
11871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11872 realloc.
11873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11874 Free memory block if necessary.
11875
11876 [BZ #12847]
11877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11878 be NULL. Don't lock in this case.
11879
11880 2011-09-09 Roland McGrath <roland@hack.frob.com>
11881
11882 * elf/elf.h (ELFOSABI_GNU): New macro.
11883 (ELFOSABI_LINUX): Define to that.
11884
11885 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11886
11887 * string/strncat.c (strncat): Undef the symbol in case it has been
11888 defined in bits/string.h.
11889
11890 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11891
11892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11893
11894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11895 link map.
11896
11897 2011-08-17 Andreas Jaeger <aj@suse.de>
11898
11899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11900
11901 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11902 Ian Lance Taylor <iant@google.com>
11903
11904 * math/libm-test.inc (lround_test): New testcase.
11905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11906
11907 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11908
11909 * Makefile: Remove support for automatic cvs check-ins.
11910 * Makerules: Likewise.
11911 * config.make.in: Likewise.
11912 * configure.in: Likewise.
11913 * intl/Makefile: Likewise.
11914 * locale/Makefile: Likewise.
11915 * po/Makefile: Likewise.
11916 * posix/Makefile: Likewise.
11917 * sysdeps/gnu/Makefile: Likewise.
11918 * sysdeps/mach/hurd/Makefile: Likewise.
11919 * sysdeps/sparc/sparc32/Makefile: Likewise.
11920
11921 [BZ #13118]
11922 * posix/Makefile (bug-regex32-ENV): Define.
11923 Patch by John Stanley <jpsinthemix@verizon.net>.
11924
11925 * misc/Makefile (headers): Add bits/select2.h.
11926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11927 * misc/bits/select2.h: New file.
11928 * include/bits/select2.h: New file.
11929 * debug/Makefile (routines): Add fdelt_chk.
11930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11932 FD_ISSET.
11933 * debug/fdelt_chk.c: New file.
11934
11935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11936 * wcsmbs/test-wmemcmp.c: Likewise.
11937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11939
11940 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11941
11942 * string/Makefile (strop-tests): Add memcmp.
11943 * string/test-wmemcmp.c: New file.
11944 * string/test-memcmp.c: Add wmemcmp support.
11945
11946 2011-09-08 Roland McGrath <roland@hack.frob.com>
11947
11948 [BZ #13153]
11949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11950 2011-07-19 change.
11951
11952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11953 garbage value in a __mach_port_mod_refs call in the cases of the
11954 task-self and thread-self ports.
11955
11956 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11957
11958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11959
11960 2011-09-08 Andreas Schwab <schwab@redhat.com>
11961
11962 * elf/dl-load.c (lose): Check for non-null L.
11963
11964 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11965
11966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11967
11968 * elf/dl-libc.c (dlerror_run): Pass back error code from
11969 dl_catch_error.
11970
11971 [BZ #13123]
11972 * elf/dl-load.c (lose): Free l_origin if it is valid.
11973
11974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11975 names.
11976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11982
11983 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11984
11985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11995
11996 2011-08-15 Alan Modra <amodra@gmail.com>
11997
11998 [BZ #13092]
11999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
12000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
12001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
12002 ppc_mcount to static-only-routines.
12003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
12004 __mcount_internal.
12005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
12006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
12007
12008 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
12009
12010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
12011 for finite and infinity parameters.
12012
12013 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
12014
12015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
12016 and add nop instructions for throughput optimization.
12017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12018
12019 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
12020
12021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
12022 aligned copy for power7 with vector-scalar instructions.
12023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
12024
12025 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
12026
12027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
12028 AVX check.
12029
12030 2011-09-07 Andreas Schwab <schwab@redhat.com>
12031
12032 [BZ #13144]
12033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
12034 last change.
12035
12036 2011-09-07 Ulrich Drepper <drepper@gmail.com>
12037
12038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
12039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
12040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
12041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
12042 clock_gettime.
12043
12044 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12045
12046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
12047 Forgot to demangle the pointer.
12048
12049 * sysdeps/i386/sysdep.h: Define atom_text_section.
12050 * sysdeps/x86_64/sysdep.h: Likewise.
12051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
12052 section with atom_text_section.
12053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
12058
12059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
12060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
12061 already be defined. Change to take two parameters and don't assign
12062 result to variable. Adjust all users.
12063 Define INTERNAL_GETTIME if not already defined.
12064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
12065 call.
12066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
12067 HAVE_CLOCK_GETTIME_VSYSCALL.
12068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
12069
12070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
12071 gettimeofday vsyscall, just use time.
12072
12073 2011-09-06 Andreas Schwab <schwab@redhat.com>
12074
12075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
12076 <errno.h>.
12077
12078 2011-09-06 Ulrich Drepper <drepper@gmail.com>
12079
12080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
12081 syscall on x86-64.
12082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
12083 syscall.
12084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
12085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
12086 syscall if possible.
12087
12088 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12089
12090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
12091 e_ident. Don't pass to find_mapsXX.
12092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
12093
12094 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12095
12096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
12098 * sysdeps/x86_64/multiarch/strchr.S: Update.
12099 Check bit_slow_BSF bit.
12100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
12102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
12103
12104 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12105
12106 [BZ #13134]
12107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
12108 before glibc 2.15.
12109 (tryshell): Define.
12110 (__spawni): Change last parameter to be flag. Test
12111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
12112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
12113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
12114 * posix/spawni.c: Likewise.
12115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
12116 * posix/spawnp.c: Likewise. Change normal version to use
12117 SPAWN_XFLAGS_USE_PATH.
12118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
12119 SPAWN_XFLAGS_TRY_SHELL.
12120
12121 [BZ #13150]
12122 * posix/glob.h: Remove gcc 1.x support.
12123
12124 [BZ #13068]
12125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12126
12127 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12128
12129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12131 strrchr-sse2-bsf
12132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12138
12139 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12140
12141 * sysdeps/x86_64/wcscmp.S: New file.
12142
12143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12144 wcscmp-c wcscmp-sse2
12145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12148 * wcsmbs/wcscmp.c: Allow renaming.
12149
12150 2011-09-05 David S. Miller <davem@davemloft.net>
12151
12152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12153 stack slot, rather than the struct return pointer slot.
12154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12158
12159 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12160
12161 * po/ja.po: Update from translation team.
12162
12163 [BZ #13144]
12164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12165 kernel in 64-bit binaries.
12166
12167 2011-09-01 David S. Miller <davem@davemloft.net>
12168
12169 * elf/elf.h (HWCAP_SPARC_*): Move to..
12170 * sysdeps/sparc/sysdep.h: this new file and add new values.
12171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12173 _DL_HWCAP_COUNT to 24.
12174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12175 entries.
12176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12180 instead of magic constants.
12181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12182
12183 2011-08-31 David S. Miller <davem@davemloft.net>
12184
12185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12187 Reimplement to do errno handling inline.
12188 (SYSCALL_ERROR_HANDLER): New macro.
12189 (__SYSCALL_STRING): Do not do errno handling in asm.
12190 (__CLONE_SYSCALL_STRING): Delete.
12191 (__INTERNAL_SYSCALL_STRING): Delete.
12192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12194 (PSEUDO): Reimplement to do errno handling inline.
12195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12196 (SYSCALL_ERROR_HANDLER): New macro.
12197 (__SYSCALL_STRING): Do not do errno handling in asm.
12198 (__CLONE_SYSCALL_STRING): Delete.
12199 (__INTERNAL_SYSCALL_STRING): Delete.
12200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12202 i386.
12203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12204 (inline_syscall*): Add 'err' argument.
12205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12209
12210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12212
12213 2011-08-30 Andreas Schwab <schwab@redhat.com>
12214
12215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12216
12217 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12218
12219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12220 directive.
12221
12222 2011-08-24 David S. Miller <davem@davemloft.net>
12223
12224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12225
12226 2011-08-24 Andreas Schwab <schwab@redhat.com>
12227
12228 * elf/Makefile: Add rules to build and run unload8 test.
12229 * elf/unload8.c: New file.
12230 * elf/unload8mod1.c: New file.
12231 * elf/unload8mod1x.c: New file.
12232 * elf/unload8mod2.c: New file.
12233 * elf/unload8mod3.c: New file.
12234
12235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12236 it wasn't used.
12237
12238 2011-08-23 David S. Miller <davem@davemloft.net>
12239
12240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12241 subtract stack bias.
12242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12243 %sp not %fp in calculations.
12244 (_JMPBUF_UNWINDS_ADJ): Likewise.
12245
12246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12247 (aio_suspend): Call it to force an exception region around the
12248 AIO_MISC_WAIT() invocation.
12249
12250 2011-08-23 Andreas Schwab <schwab@redhat.com>
12251
12252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12253 backslash.
12254
12255 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12256
12257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12258 protection macro.
12259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12260 and <dl-machine.h>.
12261 (Elf64_FuncDesc): Remove.
12262
12263 2011-08-22 David S. Miller <davem@davemloft.net>
12264
12265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12266 sigaltstack check, add missing cfi directives.
12267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12268 missing cfi directives, and sigaltstack handling.
12269
12270 2011-08-16 Andreas Schwab <schwab@redhat.com>
12271
12272 [BZ #11724]
12273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12274 object is seen twice.
12275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12276
12277 * elf/Makefile (distribute): Add tst-initorder2.c.
12278 (tests): Add tst-initorder2.
12279 (modules-names): Add tst-initorder2a tst-initorder2b
12280 tst-initorder2c tst-initorder2d. Add rules to build them.
12281 ($(objpfx)tst-initorder2.out): New rule.
12282 * elf/tst-initorder2.c: New file.
12283 * elf/tst-initorder2.exp: New file.
12284
12285 2011-08-22 Andreas Schwab <schwab@redhat.com>
12286
12287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12288
12289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12290 dependencies back to end of function.
12291
12292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12293 $(elfobjdir)/ld.so.
12294
12295 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12296
12297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12302 of __vdso_gettimeofday.
12303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12305 attribute_hidden.
12306 (_libc_vdso_platform_setup): Remove initialization of
12307 __vdso_gettimeofday and __vdso_time.
12308
12309 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12310
12311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12312 and fgetc_unlocked.
12313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12314 getc_unlocked.
12315
12316 * elf/dl-open.c (add_to_global): Report additions to the global scope
12317 for LD_DEBUG=scopes.
12318 (dl_open_worker): Also print scope of newly loaded dependencies.
12319 (_dl_show_scope): Indicate if there is no scope.
12320
12321 [BZ #13114]
12322 * stdio-common/Makefile (tests): Add bug24.
12323 * stdio-common/bug24.c: New file.
12324
12325 2011-08-19 Andreas Jaeger <aj@suse.de>
12326
12327 [BZ #13114]
12328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12329 non-existant file when using close-on-exec mode.
12330
12331 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12332
12333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12334 the very first instruction.
12335
12336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12337 the CFI state in the end.
12338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12339 inclusion of dl-trampoline.h.
12340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12341
12342 2011-08-19 Andreas Schwab <schwab@redhat.com>
12343
12344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12345 expectations for long double.
12346
12347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12349
12350 2011-08-14 David S. Miller <davem@davemloft.net>
12351
12352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12353 artificual limit depends upon the system page size.
12354
12355 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12356
12357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12358 * resolv/Makefile: Define CFLAGS-libresolv.
12359
12360 2011-08-17 Andreas Schwab <schwab@redhat.com>
12361
12362 * nss/makedb.c (compute_tables): Make variables used in nested
12363 function static.
12364
12365 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12366
12367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12369 if buffer was too small.
12370
12371 * elf/pldd.c (main): Attach to all threads in the process.
12372 Rewrite /proc handling to use *at functions.
12373
12374 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12375
12376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12377 specifies first scope to show.
12378 (dl_open_worker): Update callers. Move printing scope of new
12379 object to before the relocation.
12380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12381 * sysdeps/generic/ldsodefs.h: Update declaration.
12382
12383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12384 string for the scope number.
12385
12386 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12387
12388 * nscd/servicescache.c (cache_addserv): Make sure written is always
12389 initialized.
12390
12391 2011-08-14 Roland McGrath <roland@hack.frob.com>
12392
12393 * sysdeps/i386/i486/bits/atomic.h
12394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12395 statement expression, so as to suppress "set but not used" warning.
12396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12397
12398 * string/strncat.c (STRNCAT): Use prototype definition.
12399
12400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12402 -Iprograms here.
12403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12404 (localedef-modules): Add localedef.
12405 (locale-modules): Add locale.
12406
12407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12409 to avoid a warning.
12410
12411 2011-08-14 David S. Miller <davem@davemloft.net>
12412
12413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12415
12416 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12417
12418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12420 * elf/rtld.c (dl_main): Set l_name of vDSO.
12421 Call _dl_show_scope when DL_DEBUG_SCOPES.
12422 (process_dl_debug): Recognize scopes flag and also set it for all.
12423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12424 Declare _dl_show_scope.
12425
12426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12427 (do_dlopen): Pass caller_dlopen to dl_open.
12428 (__libc_dlopen_mode): Initialize caller_dlopen.
12429
12430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12431 of libc. Make tolower call locale-independent. Optimize a bit by
12432 using isdigit instead of isalnum.
12433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12434
12435 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12436
12437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12438 was a dependency or dynamically loaded.
12439
12440 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12441
12442 * intl/l10nflist.c: Allow architecture-specific pop function.
12443 * sysdeps/x86_64/l10nflist.c: New file.
12444
12445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12446 classification.
12447
12448 2011-08-10 Andreas Schwab <schwab@redhat.com>
12449
12450 * include/dirent.h: Add libc_hidden_proto for scandirat and
12451 scandirat64. Don't declare __scandirat64.
12452 * dirent/scandirat.c: Add libc_hidden_def.
12453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12455
12456 2011-08-10 David S. Miller <davem@davemloft.net>
12457
12458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12459 enum.
12460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12463
12464 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12465
12466 * Versions.def [libc]: Add GLIBC_2.15.
12467 * dirent/Makefile (routines): Add scandirat and scandirat64.
12468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12469 GLIBC_2.15.
12470 * dirent/dirent.h: Declare scandirat and scandirat64.
12471 * dirent/scandirat.c: New file.
12472 * dirent/scandirat64.c: New file.
12473 * sysdeps/wordsize-64/scandirat.c: New file.
12474 * sysdeps/wordsize-64/scandirat64.c: New file.
12475 * dirent/opendir.c: Define opendirat.
12476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12477 using scandirat.
12478 * dirent/scandir64.c: Adjust for scandir.c change.
12479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12480 __scandirat64, and __scandir_cancel_handler.
12481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12482 additional parameter and use openat instead of open (outside of ld.so).
12483 Add new __opendir as wrapper around __opendirat.
12484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12485 here without requiring old scandirat implementation.
12486
12487 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12488
12489 * dirent/scandir.c (cancel_handler): Renamed to
12490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12491 defined. Adjust users.
12492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12494
12495 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12496
12497 * string/test-string.h (IMPL): Use __STRING to expand name and then
12498 stringify it.
12499
12500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12501 of cleanups.
12502
12503 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12504
12505 * string/Makefile: Update.
12506 (strop-tests): Append strncat.
12507 * string/test-wcscmp.c: New file.
12508 New comprehensive test for wcscmp.
12509 * string/test-strcmp.c: Update.
12510 (WIDE): New define.
12511
12512 2011-07-22 Andreas Schwab <schwab@redhat.com>
12513
12514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12515 line.
12516
12517 2011-07-26 Andreas Schwab <schwab@redhat.com>
12518
12519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12520 encoding to ACE if AI_IDN.
12521
12522 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12523
12524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12526
12527 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12528
12529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12530 Fix overflow bug in strncat.
12531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12532
12533 * string/test-strncat.c: Update.
12534 Add new tests for checking overflow bugs.
12535
12536 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12537
12538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12547
12548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12549 (USE_AS_STRCAT): Define.
12550 Add strcat and strncat support.
12551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12552
12553 2011-07-25 Andreas Schwab <schwab@redhat.com>
12554
12555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12556 __n bigger than INT_MAX+1.
12557 (__strncmp_g): Likewise.
12558
12559 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12560
12561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12562 * libio/stido.h: Likewise.
12563
12564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12565 (AF_NFC): Define.
12566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12567 (AF_NFC): Define.
12568
12569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12574
12575 [BZ #13021]
12576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12577 installed.
12578
12579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12580 typo.
12581 (_dl_x86_64_save_sse): Likewise.
12582
12583 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12584
12585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12586 OSXSAVE.
12587 (_dl_x86_64_save_sse): Likewise.
12588
12589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12590
12591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12592
12593 2011-07-21 Andreas Schwab <schwab@redhat.com>
12594
12595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12596 change.
12597 (_dl_x86_64_save_sse): Use correct AVX check.
12598
12599 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12600
12601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12602 bug in strncpy/strncat.
12603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12604
12605 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12606
12607 * string/tester.c (test_strcat): Add tests for different alignments
12608 of source and destination.
12609 (test_strncat): Likewise.
12610
12611 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12612
12613 [BZ #12852]
12614 * posix/glob.c (glob): Check passed in values before using them in
12615 expressions to avoid some overflows.
12616 (glob_in_dir): Likewise.
12617
12618 [BZ #13007]
12619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12620 check for AVX enablement so that we don't crash with old kernels and
12621 new hardware.
12622 * elf/tst-audit4.c: Add same checks here.
12623 * elf/tst-audit6.c: Likewise.
12624
12625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12626
12627 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12628
12629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12630
12631 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12632
12633 * po/cs.po: Update from translation team.
12634 * po/bg.po: Likewise.
12635
12636 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12637
12638 * misc/sys/cdefs.h: Add support for const attribute.
12639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12640 to gnu_dev_{major,minor,makedev} functions.
12641
12642 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12643
12644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12645
12646 2011-07-20 Andreas Schwab <schwab@redhat.com>
12647
12648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12649 strlen results.
12650
12651 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12652
12653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12655 register in order to avoid conflicts with the soft frame pointer
12656 being held in r11 when necessary.
12657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12658 (INTERNAL_VSYSCALL_NCS): Likewise.
12659
12660 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12661
12662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12663 * elf/dl-fini.c (_dl_fini): Adjust caller.
12664 * elf/dl-close.c (_dl_close_worker): Likewise.
12665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12666
12667 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12668
12669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12670 "aux_cache->nlibs < 0".
12671
12672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12673 in the reload-count case.
12674
12675 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12676
12677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12681 * sysdeps/x86_64/multiarch/strcat.S: New file.
12682 * sysdeps/x86_64/multiarch/strncat.S: New file.
12683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12688 (USE_AS_STRCAT): Define.
12689 Add strcat and strncat support.
12690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12693 * string/strncat.c: Update.
12694 (USE_AS_STRNCAT): Define.
12695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12697 and i7.
12698 * sysdeps/x86_64/multiarch/init-arch.h
12699 (bit_Prefer_PMINUB_for_stringop): New.
12700 (index_Prefer_PMINUB_for_stringop): Likewise.
12701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12702 bit_Prefer_PMINUB_for_stringop.
12703
12704 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12705
12706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12707 buffer64.
12708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12709 of casting of buffer.
12710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12711 buffer32 and buffer64.
12712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12713 writes instead of casting of buffer.
12714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12715 buffer32.
12716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12717 casting of buffer.
12718
12719 2011-07-19 Andreas Schwab <schwab@redhat.com>
12720
12721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12722
12723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12724
12725 * nscd/nscd.c (termination_handler): Don't do anything for a database
12726 if it has not yet been initialized.
12727
12728 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12729
12730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12731
12732 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12733
12734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12735
12736 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12737
12738 * po/nl.po: Update from translation team.
12739 * po/sv.po: Likewise.
12740
12741 2011-07-16 Roland McGrath <roland@hack.frob.com>
12742
12743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12744 now disallowed by GCC.
12745
12746 * configure.in (use-default-link): Default to yes if a test -shared
12747 link meets our qualifications.
12748 * configure: Regenerated.
12749
12750 * config.make.in (output-format): New variable.
12751 * configure.in: Check for ld --print-output-format support.
12752 * configure: Regenerated.
12753 * Makerules ($(common-objpfx)format.lds)
12754 [$(output-format) != unknown]: Just use $(output-format),
12755 instead of the linker-script munging.
12756
12757 2011-07-14 Roland McGrath <roland@hack.frob.com>
12758
12759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12760 of $(common-objpfx)shlib.lds.
12761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12762
12763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12765
12766 * configure.in (-z relro check): Adjust test code to add a large
12767 writable data section after it.
12768 * configure: Regenerated.
12769
12770 2011-07-11 Roland McGrath <roland@hack.frob.com>
12771
12772 * configure.in (-z relro check): Fix test code to make the variable
12773 truly const.
12774 * configure: Regenerated.
12775
12776 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12777
12778 * nscd/nscd.h (struct traced_file): Define.
12779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12780 elements. Add traced_files.
12781 (inotify_fd): Declare.
12782 (register_traced_file): Declare.
12783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12784 (inotify_fd): Export.
12785 (resolv_conf_descr): Remove.
12786 (nscd_init): Move inotify descriptor creation to main.
12787 Don't register files for notification here.
12788 (register_traced_file): New function.
12789 (invalidate_cache): Don't use reset_res to determine whether to call
12790 res_init, go through the list of registered files.
12791 (main_loop_poll): The inotify descriptors are now stored in the
12792 structures for the traced files.
12793 (main_loop_epoll): Likewise
12794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12795 to __nss_disable_nscd.
12796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12797 for a database anymore. Check the records for all the registered
12798 files instead.
12799 * nss/Makefile (libnss_files-routines): Add files-init.
12800 (libnss_db-routines): Add db-init.
12801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12803 * nss/nss_db/db-init.c: New file.
12804 * nss/nss_files/files-init.c: New file.
12805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12806 __nss_lookup_function.
12807 (__nss_lookup_function): Call nss_load_library.
12808 (nss_load_all_libraries): New function.
12809 (__nss_disable_nscd): Take parameter with callback function for files
12810 to register. Set is_nscd. Load all the DSOs for the NSS modules
12811 used for the cached services.
12812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12814 options for features to all the files in nscd.
12815
12816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12817
12818 2011-07-10 Roland McGrath <roland@hack.frob.com>
12819
12820 * csu/elf-init.c (__libc_csu_init): Comment typo.
12821
12822 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12823
12824 * po/pl.po: Update from translation team.
12825 * po/ja.po: Likewise.
12826 * po/ru.po: Likewise.
12827 * po/ko.po: Likewise.
12828 * po/fr.po: Likewise.
12829
12830 2011-07-09 Roland McGrath <roland@hack.frob.com>
12831
12832 * configure.in (.ctors/.dtors header and trailer check):
12833 Use an empirical test on a built program.
12834 * configure: Regenerated.
12835
12836 * configure.in (-z relro check): Use an empirical test on a built DSO.
12837 Detect, but do not require, on ia64.
12838 * configure: Regenerated.
12839
12840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12841 Update tests that use readelf to use $READELF instead.
12842 * configure: Regenerated.
12843
12844 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12845
12846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12847 if the result is not used.
12848
12849 2011-07-05 Andreas Jaeger <aj@suse.de>
12850
12851 [BZ#9696]
12852 * stdlib/tst-strtod.c: Add testcase.
12853
12854 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12855
12856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12858 The latter has a higher limit. Take additional parameter to pass to
12859 the new function.
12860 (__pathconf): Pass file to __statfs_link_max.
12861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12862 __statfs_link_max.
12863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12864 __statfs_link_max.
12865
12866 [BZ #12868]
12867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12869 Handle Lustre.
12870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12871 (__statfs_filesize_max): Likewise.
12872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12873
12874 2011-07-05 Andreas Jaeger <aj@suse.de>
12875
12876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12877
12878 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12879
12880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12881 `status' variable.
12882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12883 Likewise.
12884
12885 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12886
12887 * Makefile (strop-tests): Add strncat.
12888 * string/test-strncat.c: New file.
12889
12890 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12891
12892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12893
12894 2011-06-21 Andreas Jaeger <aj@suse.de>
12895
12896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12897 Copy rule from iconvdata/Makefile.
12898
12899 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12900
12901 [BZ #12922]
12902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12903 but no long options are defined, just return 'W'.
12904
12905 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12906
12907 [BZ #9696]
12908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12909
12910 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12911
12912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12913 netgroups to read.
12914 (innetgr): Likewise.
12915
12916 2011-07-05 Roland McGrath <roland@hack.frob.com>
12917
12918 * config.make.in (install_root): Default to $(DESTDIR).
12919
12920 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12921
12922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12923
12924 2011-07-02 Roland McGrath <roland@hack.frob.com>
12925
12926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12927
12928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12929 containing directory rather than embedding absolute directory names.
12930
12931 * scripts/check-local-headers.sh: Rewritten using awk.
12932 Match by word, not by line. Print error messages for matches.
12933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12934
12935 * Makerules [shlib-lds-flags empty]:
12936 ($(common-objpfx)libc_pic.opts): New target.
12937 ($(common-objpfx)libc_pic.os.clean): New target.
12938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12939
12940 * config.make.in (OBJCOPY): New variable.
12941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12942 * configure: Regenerated.
12943
12944 * config.make.in (use-default-link): New variable.
12945 * configure.in (use_default_link): Grok --with-default-link to set it.
12946 * configure: Regenerated.
12947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12948 (shlib-lds, shlib-lds-flags): Define to empty.
12949
12950 * Makerules (shlib-lds): New variable.
12951 (shlib-lds-flags): New variable.
12952 (build-shlib, build-moduile, build-module-asneeded): Use it.
12953 ($(common-objpfx)libc.so): Use $(shlib-lds).
12954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12956
12957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12958 DT_FLAGS/DT_FLAGS_1 with zero flags.
12959
12960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12961 linker script munging.
12962
12963 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12964
12965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12966 as 128-bit value.
12967 * crypt/sha512.c (sha512_process_block): Perform total addition using
12968 128-bit if possible.
12969 (__sha512_finish_ctx): Likewise.
12970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12971 as 64-bit value.
12972 * crypt/sha256.c (SWAP64): Define.
12973 (sha256_process_block): Perform total addition using 64-bit if
12974 possible.
12975 (__sha256_finish_ctx): Likewise.
12976
12977 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12978
12979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12981 * nscd/hstcache.c (cache_addhst): Likewise.
12982 * nscd/grpcache.c (cache_addgr): Likewise.
12983 * nscd/aicache.c (addhstaiX): Likewise
12984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12985
12986 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12987
12988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12990 * nscd/hstcache.c (cache_addhst): Likewise.
12991 * nscd/grpcache.c (cache_addgr): Likewise.
12992 * nscd/aicache.c (addhstaiX): Likewise
12993
12994 2011-07-01 Andreas Schwab <schwab@redhat.com>
12995
12996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12997 domain only when needed.
12998
12999 2011-06-30 Andreas Schwab <schwab@redhat.com>
13000
13001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
13002 is always restored.
13003
13004 2011-06-29 Ulrich Drepper <drepper@gmail.com>
13005
13006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
13007 are re-adding the entry.
13008 * nscd/servicescache.c (cache_addserv): Likewise.
13009
13010 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
13011
13012 * sysdeps/generic/dl-irel.h: fix protection against multiple
13013 inclusions.
13014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
13015
13016 2011-06-28 Ulrich Drepper <drepper@gmail.com>
13017
13018 [BZ #12935]
13019 * malloc/memusage.sh: Fix quoting in message.
13020 * debug/xtrace.sh: Likewise.
13021
13022 * configure.in: Remove support for --experimental-malloc option, make
13023 it the default.
13024 * config.make.in: Likewise.
13025 * malloc/Makefile: Likewise.
13026
13027 2011-06-27 Andreas Schwab <schwab@redhat.com>
13028
13029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
13030 two-byte characters.
13031
13032 2011-06-27 Roland McGrath <roland@hack.frob.com>
13033
13034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
13035 AC_CACHE_CHECK invocation.
13036 * configure: Regenerated.
13037
13038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
13039
13040 2011-06-27 Ulrich Drepper <drepper@gmail.com>
13041
13042 [BZ #12350]
13043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
13044 bit from old_res_options.
13045
13046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
13047
13048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
13049 value type for setfct.
13050
13051 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
13052
13053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13054 __gettimeofday instead of gettimeofday.
13055
13056 2011-06-26 Ulrich Drepper <drepper@gmail.com>
13057
13058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
13059
13060 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
13061
13062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
13063
13064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
13065 info.
13066
13067 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13068
13069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13071 strcpy-sse2-unaligned strncpy-sse2-unaligned
13072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
13073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
13074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
13075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
13076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
13077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
13078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
13079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
13080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
13081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
13082 (STRCPY): Support SSE2 and SSSE3 versions.
13083
13084 2011-06-24 Ulrich Drepper <drepper@gmail.com>
13085
13086 [BZ #12874]
13087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
13088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
13089 kernels which artificially limit size of requests.
13090
13091 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
13092
13093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
13095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
13096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
13097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
13098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
13099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
13100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
13101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
13102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
13103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
13104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
13105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
13106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
13107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
13108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13109 Enable unaligned load optimization for Intel Core i3, i5 and i7
13110 processors.
13111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
13112 Define.
13113 (index_Fast_Unaligned_Load): Define.
13114 (HAS_FAST_UNALIGNED_LOAD): Define.
13115
13116 2011-06-23 Marek Polacek <mpolacek@redhat.com>
13117
13118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
13119
13120 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13121
13122 [BZ #12907]
13123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13124 until it is clear that the information is realy needed.
13125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13126
13127 2011-06-22 Andreas Schwab <schwab@redhat.com>
13128
13129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13130
13131 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13132
13133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13134 /sys/devices/system/cpu/online if it is usable.
13135
13136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13137 reading the information from the /proc filesystem to once a second.
13138
13139 2011-06-21 Andreas Jaeger <aj@suse.de>
13140
13141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13142 NULL after inclusion of kernel headers.
13143
13144 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13145
13146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13147 calls to internal_setent.
13148
13149 [BZ #12885]
13150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13151 addresses using gethostbyname4_r ignore IPv4 addresses.
13152
13153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13155
13156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13157
13158 2011-06-20 David S. Miller <davem@davemloft.net>
13159
13160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13161 inclusions.
13162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13163
13164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13165 (elf_irel): Use it.
13166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13170 * sysdeps/x86_64/dl-irel.h: Likewise.
13171
13172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13173 * elf/dl-sym.c: Likewise.
13174
13175 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13176
13177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13178 need to dereference resplen2.
13179
13180 2011-06-14 Andreas Schwab <schwab@redhat.com>
13181
13182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13183
13184 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13185
13186 * Makeconfig: Define vardbdir and inst_vardbdir.
13187 * nss/Makefile: Add rules to install db-Makefile.
13188
13189 * nss/nss_db/db-XXX.c: Cleanup.
13190
13191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13193 GLIBC_PRIVATE.
13194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13195 * nss/makedb.c: Implement -g option to specify that value strings
13196 are generated and should not be added to table iterated over for
13197 get*ent calls.
13198 * nss/nss_db/db-initgroups.c: New file.
13199
13200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13201 interface.
13202
13203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13204 (internal_getgrouplist): Adjust to name change.
13205 Update use_initgroups_entry if this is not the first call.
13206 * nss/databases.def: Add initgroups entry.
13207
13208 * nss/makedb.c (compute_tables): Check result of multiple hash table
13209 sizes to minimize maximum chain length.
13210
13211 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13212
13213 * Versions.def: Add entry for libnss_db.
13214 * shlib-versions: Likewise.
13215 * nss/Makefile: Add rules to build libnss_db.
13216 * nss/Versions: Add libnss_db information. Organize libnss_files
13217 entries better.
13218 * nss/db-Makefile: Add gshadow support. Change rules for the new
13219 makedb progra. Some minor improvements to generate smaller files.
13220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13221 here from...
13222 * nss/makedb.c: ...here.
13223 Improve database format to be smaller and require less memory at
13224 runtime.
13225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13226 db anymore.
13227 * nss/nss_db/db-netgrp.c: Likewise.
13228 * nss/nss_db/db-open.c: Likewise.
13229 * nss/nss_files/flies-XXX.x: Adjust comments.
13230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13231 * nss/nss_files/files-grp.c: Likewise.
13232 * nss/nss_files/files-hosts.c: Likewise.
13233 * nss/nss_files/files-network.c: Likewise.
13234 * nss/nss_files/files-proto.c: Likewise.
13235 * nss/nss_files/files-pwd.c: Likewise.
13236 * nss/nss_files/files-rpc.c: Likewise.
13237 * nss/nss_files/files-service.c: Likewise.
13238 * nss/nss_files/files-sgrp.c: Likewise.
13239 * nss/nss_files/files-spwd.c: Likewise.
13240 * nss/nss_db/db-alias.c: Removed.
13241 * nss/nss_db/dummy-db.h: Removed.
13242
13243 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13244
13245 * nss/makedb.c: Rewritten to not use database library.
13246 * nss/Makefile: Update to build new makedb program.
13247
13248 2011-06-14 Andreas Jaeger <aj@suse.de>
13249
13250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13251 memset declaration.
13252
13253 2011-06-10 Andreas Schwab <schwab@redhat.com>
13254
13255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13256 tmpbuf.
13257
13258 2011-06-10 Roland McGrath <roland@hack.frob.com>
13259
13260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13261 * elf/Makefile ($(objpfx)ld.so): Likewise.
13262
13263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13264 Don't list ld.so twice in dependencies.
13265
13266 * posix/bug-regex31.c: Include <stdlib.h>.
13267
13268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13269
13270 * nis/nss_compat/compat-spwd.c
13271 (getspent_next_nss_netgr): Remove unused variable.
13272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13273
13274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13275 nonmembers" output to use the right array.
13276
13277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13278
13279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13280
13281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13283 * catgets/gencat.c (read_input_file): Likewise.
13284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13285
13286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13287 variable definition inside #if's controlling its use.
13288
13289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13290
13291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13292
13293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13294
13295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13296 unreachable code.
13297
13298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13299
13300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13301 * configure: Regenerated.
13302
13303 * Makerules: Revert last change.
13304 * elf/Makefile: Likewise.
13305
13306 2011-06-09 Roland McGrath <roland@hack.frob.com>
13307
13308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13310 (reloc-link): Likewise.
13311
13312 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13313
13314 * elf/Makefile: Add rules to build pldd.
13315 * elf/pldd.c: New file.
13316 * elf/pldd-xx.c: New file.
13317
13318 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13319
13320 * version.h: Update for 2.15 development version.
13321
13322 2011-06-07 David S. Miller <davem@davemloft.net>
13323
13324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13325 ifuncs.
13326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13327 elf_machine_lazy_rel): Likewise.
13328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13330 elf_machine_lazy_rel): Likewise.
13331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13332 dl_hwcap via passed in argument.
13333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13334 Likewise.
13335
13336 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13337
13338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13339
13340 2011-06-06 Roland McGrath <roland@hack.frob.com>
13341
13342 [BZ #12849]
13343 * manual/fdl-1.1.texi: New file, verbatim from:
13344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13345 * manual/lgpl-2.1.texi: New file, verbatim from:
13346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13347 * manual/Makefile (licenses): New variable, list those new file names.
13348 (texis): Use it.
13349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13350
13351 * manual/fdl.texi: File removed.
13352 * manual/lesser.texi: File removed.
13353 * manual/libc.texinfo (Copying, Documentation License):
13354 Use new @include file names, put @appendix directive before @include.
13355
13356 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13357
13358 [BZ #12841]
13359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13361 (mq_open): Add __NTH.
13362
13363 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13366 Assume Intel Core i3/i5/i7 processor if AVX is available.
13367
13368 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13369
13370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13371 typo.
13372
13373 2011-05-31 Andreas Schwab <schwab@redhat.com>
13374
13375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13376 memory. Use alloca_account. Fix memory leak when retrying.
13377
13378 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13379
13380 * version.h (RELEASE): Bump for 2.14 release.
13381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13382
13383 * config.make.in (RANLIB): Remove entry.
13384
13385 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13386
13387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13388 (libc.pot): Work around missing support for .ksh extension in xgettext.
13389
13390 [BZ #12684]
13391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13392 if both request failed.
13393 (send_dg): In case of server errors clear resplen or *resplen2.
13394
13395 [BZ #12454]
13396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13397 when there are multiple maps.
13398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13399 (_dl_fini): Remove test here.
13400
13401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13402
13403 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13404
13405 [BZ #12350]
13406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13407 bit from old_res_options.
13408 (gaih_inet): Likewise.
13409
13410 [BZ #11099]
13411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13412 as signed.
13413
13414 * resolv/res_init.c (res_setoptions): Make the code more compact.
13415
13416 [BZ #11558]
13417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13418 set RES_USEVC.
13419
13420 [BZ #11634]
13421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13422
13423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13424
13425 [BZ #11781]
13426 * malloc/malloc.h: Declare malloc hook variables as volatile.
13427
13428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13429 in last patch.
13430
13431 [BZ #11799]
13432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13433 raise in the comment.
13434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13437
13438 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13439
13440 [BZ #12811]
13441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13442 grow the buffers more if it already has to be sufficient.
13443 (build_wcs_upper_buffer): Likewise.
13444 * posix/regexec.c (check_matching): Likewise.
13445 (clean_state_log_if_needed): Likewise.
13446 (extend_buffers): Don't enlarge buffers beyond size of the input
13447 buffer.
13448 Patches mostly by Emil Wojak <emil@wojak.eu>.
13449 * posix/bug-regex32.c: New file.
13450 * posix/Makefile (tests): Add bug-regex32.
13451
13452 * locale/findlocale.c (_nl_find_locale): Return right away if
13453 _nl_explode_name failed.
13454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13455
13456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13457
13458 * debug/xtrace.sh: Unify messages.
13459 * malloc/memusage.sh: Likewise.
13460
13461 [BZ #12813]
13462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13463 time symbol from vDSO. Substitute with vsyscall if not available.
13464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13465 __vdso_time.
13466
13467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13470 Add sendmmsg and internal_sendmmsg.
13471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13474
13475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13478
13479 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13480
13481 [BZ #12813]
13482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13484 available.
13485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13486 __vdso_getcpu.
13487
13488 [BZ #12814]
13489 * iconvdata/Makefile (tests): Add bug-iconv9.
13490 * iconvdata/bug-iconv9.c: New file.
13491
13492 2011-05-27 Andreas Schwab <schwab@redhat.com>
13493
13494 [BZ #12814]
13495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13496
13497 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13498
13499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13500 (struct user_regs_struct): Change intcs field back to cs.
13501
13502 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13503
13504 * po/ja.po: Update from translation team.
13505
13506 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13507
13508 [BZ #12795]
13509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13511
13512 2011-05-20 Andreas Schwab <schwab@redhat.com>
13513
13514 * stdlib/longlong.h: Update from GCC.
13515
13516 2011-05-23 Andreas Schwab <schwab@redhat.com>
13517
13518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13519 parameter name.
13520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13521 Add parameter name.
13522 (__sysconf): Pass it down.
13523
13524 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13525
13526 [BZ #12671]
13527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13528 some situations.
13529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13531 add in in __libc_use_alloca calls. Adjust callers.
13532 (glob): Use malloc in some situations.
13533
13534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13536 pltexit.
13537
13538 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13539
13540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13541 and CLOCK_BOOTTIME_ALARM.
13542
13543 [BZ #12782]
13544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13545 is returned.
13546
13547 * string/_strerror.c (__strerror_r): Print negative errors as signed
13548 numbers.
13549
13550 [BZ #12777]
13551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13554
13555 * configure.in: Fix typo in redirection and correct removal of test
13556 files in two cases.
13557
13558 [BZ #12788]
13559 * locale/setlocale.c (new_composite_name): Fix test to check for
13560 identical name of all categories.
13561
13562 [BZ #12792]
13563 * libio/filedoalloc.c (local_isatty): New function.
13564 (_IO_file_doallocate): Use local_isatty.
13565 * stdio-common/perror.c (perror): In case a new stream is used
13566 forward the stream error.
13567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13568 error flag.
13569
13570 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13571
13572 [BZ #11869]
13573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13574 alloca.
13575 * include/alloca.h (extend_alloca_account): Define.
13576
13577 [BZ #11857]
13578 * posix/regex.h: Fix comments with documentation of user-accessible
13579 fields after compilation and describe correct free'ing of pattern
13580 after re_compile_pattern.
13581 Patch by Reuben Thomas <rrt@sc3d.org>.
13582
13583 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13584
13585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13586 and -mno-altivec to prevent the compiler from using Altivec and/or
13587 VSX instructions when the corresponding registers are not available.
13588
13589 2011-05-19 Andreas Schwab <schwab@redhat.com>
13590
13591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13592
13593 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13594
13595 * libio/freopen.c (freopen): Use __dup2, not dup2.
13596 * libio/freopen64.c (freopen64): Likewise.
13597
13598 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13599
13600 [BZ #12775]
13601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13602 * math/Makefile (tests): Add test-powl.
13603 (CFLAGS-test-powl.c): Define.
13604 * math/test-powl.c: New file.
13605
13606 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13607
13608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13609
13610 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13611
13612 [BZ #11837]
13613 * iconvdata/gb18030.c: Update to GB18020-2005.
13614
13615 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13616
13617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13619 Patch by Aharon Robbins <arnold@skeeve.com>.
13620
13621 [BZ #11892]
13622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13623 on the stack.
13624
13625 [BZ #11895]
13626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13627 through underflows.
13628
13629 [BZ #12766]
13630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13631 point to strings before performing equality test for error_one_per_line
13632 mode.
13633
13634 [BZ #11697]
13635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13636
13637 [BZ #11820]
13638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13639 (struct user_fpregs_struct): Avoid __uint*_t types.
13640
13641 [BZ #6420]
13642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13643 symbol info. Use it instead of calling _dl_addr locally.
13644 (lock_and_info): New function.
13645 (tr_freehook): Call lock_and_info and pass symbol info as additional
13646 parameter to tr_where.
13647 (tr_mallochook): Likewise.
13648 (tr_reallochook): Likewise.
13649 (tr_memalignhook): Likewise.
13650
13651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13652 used and couldn't be at all thread-safe.
13653
13654 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13655
13656 * libio/freopen.c (freopen): Don't close old file descriptor
13657 before the new one is opened. Instead dup the new file descriptor
13658 to the old one after the new stream is created.
13659 * libio/freopen64.c (freopen64): Likewise.
13660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13661 * libio/fileops.c (_IO_new_file_close_it): Handle new
13662 _IO_FLAGS2_NOCLOSE flag.
13663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13666 _IO_FLAGS2_NOCLOSE flag.
13667 * include/unistd.h: Add hidden_proto for dup3.
13668 Define __have_dup3.
13669 * io/dup3.c: Define hidden symbol.
13670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13671
13672 [BZ #7101]
13673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13674 when an incomplete long option is used.
13675 * posix/tst-getopt_long1.c: New file.
13676 * posix/Makefile (tests): Add tst-getopt_long1.
13677
13678 [BZ #10138]
13679 * scripts/config.guess: Update from autoconf-2.68.
13680 * scripts/config.sub: Likewise.
13681
13682 [BZ #10157]
13683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13684 tests into ...
13685 (has_cpuclock): ...this. New function.
13686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13687 macro here based on has_cpuclock code.
13688
13689 [BZ #10149]
13690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13691 First byte (not low byte) is now always NUL.
13692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13693
13694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13695 Use non-cancelable interfaces.
13696
13697 [BZ #9809]
13698 * locale/iso-639.def: Add entry for Sorani.
13699
13700 [BZ #11901]
13701 * include/stdlib.h: Move include protection to the right place.
13702 Define abort_msg_s. Declare __abort_msg with it.
13703 * stdlib/abort.c (__abort_msg): Adjust type.
13704 * assert/assert.c (__assert_fail_base): New function. Majority
13705 of code from __assert_fail. Allocate memory for __abort_msg with
13706 mmap.
13707 (__assert_fail): Now call __assert_fail_base.
13708 * assert/assert-perr.c: Remove bulk of implementation. Use
13709 __assert_fail_base.
13710 * include/assert.hL Declare __assert_fail_base.
13711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13712 mmap.
13713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13714
13715 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13716
13717 [BZ #11952]
13718 [BZ #12453]
13719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13720 until all modules are registered in the DTV.
13721 * elf/Makefile: Add rules to build and run tst-tls19.
13722 * elf/tst-tls19.c: New file.
13723 * elf/tst-tls19mod1.c: New file.
13724 * elf/tst-tls19mod2.c: New file.
13725 * elf/tst-tls19mod3.c: New file.
13726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13727
13728 [BZ #12083]
13729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13730 correctly.
13731
13732 [BZ #12601]
13733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13734 two-byte sequence errors.
13735 * iconvdata/Makefile (tests): Add bug-iconv8.
13736 * iconvdata/bug-iconv8.c: New file.
13737
13738 [BZ #12626]
13739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13740 buf2 definition.
13741
13742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13743
13744 [BZ #12432]
13745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13746 (dummy_getcfa): New function.
13747 (init): Get _Unwind_GetCFA address, use dummy if not found.
13748 (backtrace_helper): In recursion check, also check whether CFA changes.
13749 (__backtrace): Completely initialize arg.
13750
13751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13752 storing incomplete byte sequence in state object. Avoid testing for
13753 guaranteed too small input if we know there is enough data available.
13754
13755 2011-05-11 Andreas Schwab <schwab@redhat.com>
13756
13757 * Makeconfig (+link-pie): Indent.
13758 * Rules (binaries-pie): Define if $(have-fpie) and
13759 $(build-shared).
13760 (binaries-shared): Also filter out $(binaries-pie).
13761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13762 * nscd/Makefile (others-pie): Add nscd.
13763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13764 ($(objpfx)nscd): Remove command override.
13765 * login/Makefile (others-pie): Add pt_chown.
13766 ($(objpfx)pt_chown): Remove command override.
13767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13768 remove command overrides.
13769
13770 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13771
13772 * libio/tst_putwc.c: Fix error messages.
13773
13774 [BZ #12724]
13775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13776 currently writing and seek to current position when not.
13777 * libio/Makefile (tests): Add bug-fclose1.
13778 * libio/bug-fclose1.c: New file.
13779
13780 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13781
13782 [BZ #12511]
13783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13784 don't set DF_1_NODELETE here.
13785 (do_lookup_x): When entering new entry test for copy relocation
13786 and if necessary set DF_1_NODELETE flag.
13787 * elf/tst-unique4.cc: New file.
13788 * elf/tst-unique4.h: New file.
13789 * elf/tst-unique4lib.cc: New file.
13790 * elf/Makefile: Add rules to build and run tst-unique4.
13791 Patch by Piotr Bury <pbury@goahead.com>.
13792
13793 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13794
13795 [BZ #12052]
13796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13797
13798 [BZ #12625]
13799 * misc/mntent_r.c (addmntent): Flush the stream after the output
13800
13801 [BZ #12393]
13802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13803 (is_trusted_path_normalize): Skip initial colon. Append slash
13804 to empty buffer. Duplicate is_trusted_path code but allow
13805 constructed patch to be prefix.
13806 (is_dst): Allow $ORIGIN followed by /.
13807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13808 Correct testing of result of is_trusted_path_normalize
13809 (decompose_rpath): Fix warning.
13810
13811 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13812
13813 [BZ #11257]
13814 * grp/initgroups.c (internal_getgrouplist): When we found the service
13815 list through the initgroups entry in nsswitch.conf do not always
13816 continue on a successful lookup. Don't always use the
13817 __nss_group_database value if it is set.
13818 * nss/nsswitch.conf (initgroups): Change action for successful db
13819 lookup to continue for compatibility.
13820
13821 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13822
13823 [BZ #11532]
13824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13825 and CP774 modules.
13826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13827 and CP774 modules.
13828 * iconvdata/tst-tables.sh: Likewise.
13829 * iconvdata/cp770.c: New file.
13830 * iconvdata/cp771.c: New file.
13831 * iconvdata/cp772.c: New file.
13832 * iconvdata/cp773.c: New file.
13833 * iconvdata/cp774.c: New file.
13834 * iconvdata/testdata/CP770: New file.
13835 * iconvdata/testdata/CP770..UTF8: New file.
13836 * iconvdata/testdata/CP771: New file.
13837 * iconvdata/testdata/CP771..UTF8: New file.
13838 * iconvdata/testdata/CP772: New file.
13839 * iconvdata/testdata/CP772..UTF8: New file.
13840 * iconvdata/testdata/CP773: New file.
13841 * iconvdata/testdata/CP773..UTF8: New file.
13842 * iconvdata/testdata/CP774: New file.
13843 * iconvdata/testdata/CP774..UTF8: New file.
13844
13845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13846 END CHARMAP line.
13847 * iconvdata/gen-8bit-gap.sh: Likewise.
13848 * iconvdata/gen-8bit.sh: Likewise.
13849
13850 * locale/iso-639.def: Add ary entry.
13851
13852 [BZ #11258]
13853 * locale/C-translit.h.in: Add U20A1 transliteration.
13854
13855 [BZ #12178]
13856 * locale/iso-639.def: Add wae entry.
13857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13858
13859 [BZ #12545]
13860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13861 for n.
13862
13863 [BZ #12711]
13864 * locale/C-translit.h.in: Add entry for U20B9.
13865 Patch by pravin.d.s@gmail.com.
13866
13867 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13868
13869 [BZ #12713]
13870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13871 ENAMETOOLONG use generic getcwd.
13872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13873 in rtld. Use *stat64.
13874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13881 __fstatat64 macros.
13882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13883 * dirent/rewinddir.c: Add libc_hidden_def.
13884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13886
13887 * include/dirent.h (__alloc_dir): Add flags parameter.
13888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13890 __alloc_dir.
13891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13892 from fdopendir if O_CLOEXEC is already set.
13893
13894 2011-03-15 Alan Modra <amodra@gmail.com>
13895
13896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13897 l_tls_firstbyte_offset non-zero. Save padding offset in
13898 l_tls_firstbyte_offset for later use.
13899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13900 freeing static tls block.
13901
13902 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13903
13904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13905 where #ifdef was intended. The intent is to prevent ARG_MAX from
13906 being defined by the kernel headers.
13907
13908 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13909
13910 [BZ #12734]
13911 * resolv/resolv.h: Define RES_NOTLDQUERY.
13912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13913 no-tld-query and set RES_NOTLDQUERY.
13914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13916 modern BIND to search name as TLD unless forbidden.
13917
13918 2011-05-07 Petr Baudis <pasky@suse.cz>
13919 Ulrich Drepper <drepper@gmail.com>
13920
13921 [BZ #12393]
13922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13923 (is_trusted_path): ...to here.
13924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13926 using is_trusted_path_normalize() in setuid scripts.
13927
13928 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13929
13930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13931 __BEGIN/__END_DECLS.
13932
13933 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13934
13935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13936 NSS_STATUS_NOTFOUND if no record was found.
13937
13938 2011-05-05 Andreas Schwab <schwab@redhat.com>
13939
13940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13941 (headers-not-in-tirpc): Remove rpc/netdb.h
13942 * resolv/netdb.h: Revert last change.
13943
13944 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13945
13946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13947 circular dependency between libgcc.a and libc.a.
13948
13949 2011-05-05 Andreas Schwab <schwab@redhat.com>
13950
13951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13952 * nis/Makefile: Don't install rpcsvc/*.
13953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13954 instead of <rpc/types.h>.
13955 (MAXHOSTNAMELEN): Define.
13956
13957 2011-05-03 Andreas Schwab <schwab@redhat.com>
13958
13959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13960
13961 2011-04-28 Maciej Babinski <mbabinski@google.com>
13962
13963 [BZ #12714]
13964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13965 gethostbyname4_r when IPv6 results are possible.
13966
13967 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13968
13969 [BZ #12723]
13970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13971 _PC_PIPE_BUF handling.
13972
13973 2011-04-30 Bruno Haible <bruno@clisp.org>
13974
13975 [BZ #12717]
13976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13978 to 'int'.
13979 * inet/getnameinfo.c (getnameinfo): Likewise.
13980
13981 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13982
13983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13984 to groups setting in database lookup.
13985 * nss/nsswitch.conf: Add initgroups entry.
13986
13987 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13988
13989 [BZ #12685]
13990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13991 mode string.
13992 Patch by Eric Blake <eblake@redhat.com>.
13993
13994 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13995
13996 * sunrpc/Makefile (need-export-routines): Add svc_run.
13997 (routines): Remove svc_run.
13998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
14000 * sunrpc/svc_run.c (svc_run): Likewise.
14001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
14002
14003 2011-04-21 Ulrich Drepper <drepper@gmail.com>
14004
14005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
14006 problem in reallocation in last patch.
14007
14008 2011-04-20 Ulrich Drepper <drepper@gmail.com>
14009
14010 * sunrpc/Makefile: Move inclusion of Rules.
14011
14012 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14013
14014 * nss/nss_files/files-initgroups.c: New file.
14015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
14016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
14017 _nss_files_initgroups_dyn.
14018
14019 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
14020
14021 * elf/elf.h (R_ARM_IRELATIVE): Define.
14022
14023 2011-04-19 Ulrich Drepper <drepper@gmail.com>
14024
14025 * po/ru.po: Update from translation team.
14026
14027 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14028
14029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
14030 dependencies.
14031
14032 2011-02-06 Mike Frysinger <vapier@gentoo.org>
14033
14034 [BZ #12653]
14035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
14036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
14037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
14038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14040
14041 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
14042
14043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
14044 differing bytes.
14045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14048
14049 2011-04-17 Ulrich Drepper <drepper@gmail.com>
14050
14051 [BZ #12420]
14052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
14053 storing it.
14054 * stdlib/bug-getcontext.c: New file.
14055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
14056
14057 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14058
14059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
14060 instructions into .machine "z9-109".
14061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
14062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
14063
14064 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14065
14066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
14067 between environment variables and auxiliary vector.
14068
14069 2011-04-16 Ulrich Drepper <drepper@gmail.com>
14070
14071 * Makefile: Add rules to build linkobj/libc.so.
14072 * include/libc-symbols.h: Define libc_hidden_nolink.
14073 * include/rpc/auth.h: Mark functions which are to be hidden.
14074 * include/rpc/auth_des.h: Likewise.
14075 * include/rpc/auth_unix.h: Likewise.
14076 * include/rpc/clnt.h: Likewise.
14077 * include/rpc/des_crypt.h: Likewise.
14078 * include/rpc/key_prot.h: Likewise.
14079 * include/rpc/pmap_clnt.h: Likewise.
14080 * include/rpc/pmap_prot.h: Likewise.
14081 * include/rpc/pmap_rmt.h: Likewise.
14082 * include/rpc/rpc_msg.h: Likewise.
14083 * include/rpc/svc.h: Likewise.
14084 * include/rpc/svc_auth.h: Likewise.
14085 * include/rpc/xdr.h: Likewise.
14086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
14087 * nss/Makefile: Likewise.
14088 * sunrpc/Makefile: Don't install headers. Build library with normal
14089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
14090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
14091 for the compat linking library. Remove use of INTDEF/INTUSE.
14092 * sunrpc/auth_none.c: Likewise.
14093 * sunrpc/auth_unix.c: Likewise.
14094 * sunrpc/authdes_prot.c: Likewise.
14095 * sunrpc/authuxprot.c: Likewise.
14096 * sunrpc/clnt_gen.c: Likewise.
14097 * sunrpc/clnt_perr.c: Likewise.
14098 * sunrpc/clnt_raw.c: Likewise.
14099 * sunrpc/clnt_simp.c: Likewise.
14100 * sunrpc/clnt_tcp.c: Likewise.
14101 * sunrpc/clnt_udp.c: Likewise.
14102 * sunrpc/clnt_unix.c: Likewise.
14103 * sunrpc/des_crypt.c: Likewise.
14104 * sunrpc/des_soft.c: Likewise.
14105 * sunrpc/get_myaddr.c: Likewise.
14106 * sunrpc/key_call.c: Likewise.
14107 * sunrpc/key_prot.c: Likewise.
14108 * sunrpc/netname.c: Likewise.
14109 * sunrpc/pm_getmaps.c: Likewise.
14110 * sunrpc/pm_getport.c: Likewise.
14111 * sunrpc/pmap_clnt.c: Likewise.
14112 * sunrpc/pmap_prot.c: Likewise.
14113 * sunrpc/pmap_prot2.c: Likewise.
14114 * sunrpc/pmap_rmt.c: Likewise.
14115 * sunrpc/publickey.c: Likewise.
14116 * sunrpc/rpc_cmsg.c: Likewise.
14117 * sunrpc/rpc_common.c: Likewise.
14118 * sunrpc/rpc_dtable.c: Likewise.
14119 * sunrpc/rpc_prot.c: Likewise.
14120 * sunrpc/rpc_thread.c: Likewise.
14121 * sunrpc/rtime.c: Likewise.
14122 * sunrpc/svc.c: Likewise.
14123 * sunrpc/svc_auth.c: Likewise.
14124 * sunrpc/svc_authux.c: Likewise.
14125 * sunrpc/svc_raw.c: Likewise.
14126 * sunrpc/svc_run.c: Likewise.
14127 * sunrpc/svc_simple.c: Likewise.
14128 * sunrpc/svc_tcp.c: Likewise.
14129 * sunrpc/svc_udp.c: Likewise.
14130 * sunrpc/svc_unix.c: Likewise.
14131 * sunrpc/svcauth_des.c: Likewise.
14132 * sunrpc/xcrypt.c: Likewise.
14133 * sunrpc/xdr.c: Likewise.
14134 * sunrpc/xdr_array.c: Likewise.
14135 * sunrpc/xdr_float.c: Likewise.
14136 * sunrpc/xdr_intXX_t.c: Likewise.
14137 * sunrpc/xdr_mem.c: Likewise.
14138 * sunrpc/xdr_rec.c: Likewise.
14139 * sunrpc/xdr_ref.c: Likewise.
14140 * sunrpc/xdr_sizeof.c: Likewise.
14141 * sunrpc/xdr_stdio.c: Likewise.
14142
14143 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14144
14145 [BZ #12650]
14146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14147 * sysdeps/ia64/dl-tls.h: Likewise.
14148 * sysdeps/powerpc/dl-tls.h: Likewise.
14149 * sysdeps/s390/dl-tls.h: Likewise.
14150 * sysdeps/sh/dl-tls.h: Likewise.
14151 * sysdeps/sparc/dl-tls.h: Likewise.
14152 * sysdeps/x86_64/dl-tls.h: Likewise.
14153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14154
14155 2011-03-14 Andreas Schwab <schwab@redhat.com>
14156
14157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14158 rpath element also skip the following colon.
14159 (expand_dynamic_string_token): Add is_path parameter and pass
14160 down to DL_DST_REQUIRED and _dl_dst_substitute.
14161 (decompose_rpath): Call expand_dynamic_string_token with
14162 non-zero is_path. Ignore empty rpaths.
14163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14164 with zero is_path.
14165
14166 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14167
14168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14169 Make cancelable.
14170
14171 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14172
14173 [BZ #12655]
14174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14175 Patch by Filipe David Manana <fdmanana@apache.org>.
14176
14177 2011-04-07 Andreas Schwab <schwab@redhat.com>
14178
14179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14180 Maintain aligned stack.
14181 (CHECK_RSP): Remove unused macro.
14182
14183 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14184
14185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14187
14188 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14189
14190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14191
14192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14193
14194 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14195
14196 [BZ #12518]
14197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14199 * sysdeps/x86_64/memmove.c: New file.
14200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14201 (memcpy): Renamed to ...
14202 (__new_memcpy): This.
14203 (memcpy): Provide GLIBC_2_14 memcpy.
14204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14205 (memcpy): Provide GLIBC_2_2_5 memcpy.
14206
14207 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14208
14209 [BZ #12631]
14210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14211
14212 2011-03-30 Andreas Schwab <schwab@redhat.com>
14213
14214 * misc/syncfs.c: New file.
14215 * misc/Makefile (routines): Add syncfs.
14216 * posix/unistd.h: Declare syncfs.
14217 * sysdeps/unix/syscalls.list: Add syncfs.
14218
14219 2011-04-01 Andreas Schwab <schwab@redhat.com>
14220
14221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14222 open_by_handle_at.
14223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14230
14231 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14232
14233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14240
14241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14242 sync_file_range.c with -fexceptions.
14243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14250 sync_file_range as cancellation point
14251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14252 now a wrapper around __call_sync_file_range with cancellation handling.
14253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14255 function name to __call_sync_file_range.
14256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14257 Add call_sync_file_range.
14258
14259 2011-04-01 Andreas Schwab <schwab@redhat.com>
14260
14261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14262 bits/timex.h.
14263
14264 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14265
14266 * iconv/iconv.h: Fix typo in comment.
14267 * io/fcntl.h: Likewise.
14268 * libio/stdio.h: Likewise.
14269 * posix/spawn.h: Likewise.
14270 * posix/unistd.h: Likewise.
14271 * stdlib/stdlib.h: Likewise.
14272 * time/time.h: Likewise.
14273 * wcsmbs/wchar.h: Likewise.
14274
14275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14276 open_by_handle): Add.
14277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14279 Augment a few comments.
14280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14286 open_by_handle.
14287
14288 * io/fcntl.h (AT_EMPTY_PATH): Define.
14289
14290 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14291
14292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14295 to...
14296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14297 * Versions.def: Add GLIBC_2.14.
14298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14299 Export.
14300
14301 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14302
14303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14304 round counter.
14305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14306
14307 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14308
14309 [BZ #12597]
14310 * string/test-strncmp.c (do_page_test): New function.
14311 (check2): Likewise.
14312 (test_main): Call check2.
14313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14314
14315 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14316
14317 [BZ #12587]
14318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14319 Handle cache information in CPU leaf 4.
14320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14321
14322 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14323
14324 [BZ #12583]
14325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14326 character representation.
14327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14328
14329 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14330
14331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14332 END(__isnan) to END(__isnanf) to match function entry point/label
14333 EALIGN(__isnanf,...).
14334
14335 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14336
14337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14338
14339 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14340
14341 [BZ #12510]
14342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14343 copy from the symbol referenced in the relocation to initialize the
14344 used variable.
14345 Patch by Piotr Bury <pbury@goahead.com>.
14346 * elf/Makefile: Add rules to build and tst-unique3.
14347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14348 * elf/tst-unique3.cc: New file.
14349 * elf/tst-unique3.h: New file.
14350 * elf/tst-unique3lib.cc: New file.
14351 * elf/tst-unique3lib2.cc: New file.
14352
14353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14354
14355 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14356
14357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14359 to _start.
14360
14361 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14362
14363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14364 to-be-loaded object along a path to loader is ld.so.
14365
14366 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14367 Ulrich Drepper <drepper@gmail.com>
14368
14369 * sysdeps/x86_64/memset.S: After aligning destination, code
14370 branches to different locations depending on the value of
14371 misalignment, when multiarch is enabled. Fix this.
14372
14373 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14374
14375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14376 Set _x86_64_preferred_memory_instruction for AMD processsors.
14377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14378 Set bit_Prefer_SSE_for_memop for AMD processors.
14379
14380 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14381
14382 * libio/fmemopen.c (fmemopen): Optimize a bit.
14383
14384 2011-03-03 Andreas Schwab <schwab@redhat.com>
14385
14386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14387
14388 2011-03-03 Roland McGrath <roland@redhat.com>
14389
14390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14391
14392 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14393
14394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14395 __bzero_ultra1 instead of __memset_ultra1.
14396
14397 2011-02-23 Andreas Schwab <schwab@redhat.com>
14398 Ulrich Drepper <drepper@gmail.com>
14399
14400 [BZ #12509]
14401 * include/link.h (struct link_map): Add l_orig_initfini.
14402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14403 returning unsuccessfully.
14404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14405 close of a file loaded at startup, restore the original l_initfini
14406 list.
14407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14408 list, store the pointer.
14409 * elf/Makefile ($(objpfx)noload-mem): New rule.
14410 (noload-ENV): Define.
14411 (tests): Add $(objpfx)noload-mem.
14412 * elf/noload.c: Include <memcheck.h>.
14413 (main): Call mtrace. Close all opened handles.
14414
14415 2011-02-17 Andreas Schwab <schwab@redhat.com>
14416
14417 [BZ #12454]
14418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14419 dependencies are missing.
14420
14421 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14422
14423 Fix __if_freereq crash: Unlike the generic version which uses free,
14424 Hurd needs munmap.
14425 * sysdeps/mach/hurd/ifreq.h: New file.
14426
14427 2011-01-27 Petr Baudis <pasky@suse.cz>
14428 Ulrich Drepper <drepper@gmail.com>
14429
14430 [BZ 12445]#
14431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14432 to extend_alloca().
14433 * stdio-common/bug23.c: New file.
14434 * stdio-common/Makefile (tests): Add bug23.
14435
14436 2010-09-28 Andreas Schwab <schwab@redhat.com>
14437 Ulrich Drepper <drepper@gmail.com>
14438
14439 [BZ #12489]
14440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14441 before performing relro protection. At old place add assertion
14442 to make sure nothing changed.
14443
14444 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14445 Glauber de Oliveira Costa <glommer@gmail.com>
14446
14447 * elf/elf.h: Add new ARM TLS relocs.
14448
14449 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14450
14451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14453 cast from r3.
14454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14455 'tests' variable.
14456 * sysdeps/wordsize-64/tst-writev.c: New file.
14457
14458 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14459
14460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14462 insns in _dl_start to prevent a TOC reference before relocs are
14463 resolved.
14464
14465 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14466
14467 [BZ #12469]
14468 * Makeconfig: Remove RANLIB definition.
14469 * Makerules: Don't use RANLIB.
14470 * aclocal.m4: Remove ranlib test.
14471 * configure.in: No need to check for ranlib.
14472 * elf/rtld-Rules: Don't use RANLIB.
14473
14474 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14475
14476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14477 protection macro.
14478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14479 inclusion protection macro.
14480
14481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14482 SIGRTMIN and SIGRTMAX and print information in that case only when
14483 SIGRTMIN is defined.
14484
14485 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14486
14487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14488 arginfo fn returning -1.
14489
14490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14491 and thousands string is zero terminated.
14492
14493 2011-02-03 Andreas Schwab <schwab@redhat.com>
14494
14495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14496 sysdeps/unix/sysv/linux/bits/socket.h.
14497
14498 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14499
14500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14501 (__CPU_COUNT): Remove old macros.
14502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14504 (__CPU_ALLOC, __CPU_FREE): Add macros.
14505 (__sched_cpualloc, __sched_cpufree): Add declarations.
14506
14507 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14508
14509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14512 (readdhstai): Return value of addhstaiX call.
14513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14514 (addgrbyX): Return value returned by cache_addgr.
14515 (readdgrbyname): Return value returned by addgrbyX.
14516 (readdgrbygid): Likewise.
14517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14518 (addpwbyX): Return value returned by cache_addpw.
14519 (readdpwbyname): Return value returned by addhstbyX.
14520 (readdpwbyuid): Likewise.
14521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14522 (addservbyX): Return value returned by cache_addserv.
14523 (readdservbyname): Return value returned by addservbyX:
14524 (readdservbyport): Likewise.
14525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14526 (addhstbyX): Return value returned by cache_addhst.
14527 (readdhstbyname): Return value returned by addhstbyX.
14528 (readdhstbyaddr): Likewise.
14529 (readdhstbynamev6): Likewise.
14530 (readdhstbyaddrv6): Likewise.
14531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14532 (readdinitgroups): Return value returned by addinitgroupsX.
14533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14534 (prune_cache): Keep track of timeout value of re-added entries.
14535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14536 * nscd/nscd.h: Adjust prototypes of readd* functions.
14537
14538 2011-02-04 Roland McGrath <roland@redhat.com>
14539
14540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14541 (nis_stats): Likewise.
14542 * nis/nis_modify.c (nis_modify): Likewise.
14543 * nis/nis_remove.c (nis_remove): Likewise.
14544 * nis/nis_add.c (nis_add): Likewise.
14545
14546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14547
14548 * posix/fnmatch_loop.c: Add some consts.
14549
14550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14551
14552 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14553
14554 [BZ #12460]
14555 * config.make.in (config-cflags-novzeroupper): Define.
14556 * configure.in: Substitute libc_cv_cc_novzeroupper.
14557 * elf/Makefile (AVX-CFLAGS): Define.
14558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14559 (CFLAGS-tst-auditmod4a.c): Likewise.
14560 (CFLAGS-tst-auditmod4b.c): Likewise.
14561 (CFLAGS-tst-auditmod6b.c): Likewise.
14562 (CFLAGS-tst-auditmod6c.c): Likewise.
14563 (CFLAGS-tst-auditmod7b.c): Likewise.
14564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14565
14566 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14567
14568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14569 function to the callback.
14570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14571
14572 2011-02-02 Andreas Schwab <schwab@redhat.com>
14573
14574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14575 of errno.
14576
14577 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14578
14579 [BZ #11724]
14580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14581 of constructors.
14582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14583 of destructors.
14584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14585
14586 [BZ #11724]
14587 * elf/Makefile: Add rules to build and run new test.
14588 * elf/tst-initorder.c: New file.
14589 * elf/tst-initorder.exp: New file.
14590 * elf/tst-initordera1.c: New file.
14591 * elf/tst-initordera2.c: New file.
14592 * elf/tst-initordera3.c: New file.
14593 * elf/tst-initordera4.c: New file.
14594 * elf/tst-initorderb1.c: New file.
14595 * elf/tst-initorderb2.c: New file.
14596 * elf/tst-order-a1.c: New file.
14597 * elf/tst-order-a2.c: New file.
14598 * elf/tst-order-a3.c: New file.
14599 * elf/tst-order-a4.c: New file.
14600 * elf/tst-order-b1.c: New file.
14601 * elf/tst-order-b2.c: New file.
14602 * elf/tst-order-main.c: New file.
14603 New test case by George Gensure <werkt0@gmail.com>.
14604
14605 2010-10-01 Andreas Schwab <schwab@redhat.com>
14606
14607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14608 decoding ACE if AI_CANONIDN.
14609
14610 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14611
14612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14613
14614 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14615
14616 * version.h (RELEASE): Bump for 2.13 release.
14617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14618
14619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14620
14621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14622 MADV_NOHUGEPAGE.
14623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14629
14630 * posix/getconf.c: Update copyright year.
14631 * catgets/gencat.c: Likewise.
14632 * csu/version.c: Likewise.
14633 * debug/catchsegv.sh: Likewise.
14634 * debug/xtrace.sh: Likewise.
14635 * elf/ldconfig.c: Likewise.
14636 * elf/ldd.bash.in: Likewise.
14637 * elf/sprof.c (print_version): Likewise.
14638 * iconv/iconv_prog.c: Likewise.
14639 * iconv/iconvconfig.c: Likewise.
14640 * locale/programs/locale.c: Likewise.
14641 * locale/programs/localedef.c: Likewise.
14642 * malloc/memusage.sh: Likewise.
14643 * malloc/mtrace.pl: Likewise.
14644 * nscd/nscd.c (print_version): Likewise.
14645 * nss/getent.c: Likewise.
14646
14647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14648 PF_CAIF, and PF_ALG.
14649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14650
14651 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14652
14653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14654 (modules-names): Use them.
14655 (ifunc-test-modules, ifunc-pie-tests): Define.
14656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14658 (test-extras): Likewise.
14659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14660 $(compile-command.c).
14661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14662 (all-built-dso): Define.
14663 (check-textrel.out, check-execstack.out): Depend on it.
14664
14665 * configure.in: Don't override --enable-multi-arch.
14666
14667 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14668
14669 [BZ #6812]
14670 * nscd/hstcache.c (tryagain): Define.
14671 (cache_addhst): Return tryagain not notfound for temporary errors.
14672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14673 failed.
14674
14675 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14676
14677 [BZ #10563]
14678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14679 to make the syscall.
14680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14681
14682 [BZ #12378]
14683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14684 and fall back to matching as normal character if the string ends before
14685 the matching ']' is found. This is what POSIX requires.
14686 * posix/testfnm.c: Adjust test result.
14687 * posix/globtest.sh: Adjust test result. Add new test.
14688 * posix/tst-fnmatch.input: Likewise.
14689 * posix/tst-fnmatch2.c: Add new test.
14690
14691 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14692
14693 * elf/Makefile (check-execstack): Revert last change. Depend on
14694 check-execstack.h.
14695 (check-execstack.h): New target.
14696 (generated): Add check-execstack.h.
14697 * elf/check-execstack.c: Include "check-execstack.h".
14698 (main): Revert last change.
14699 (handle_file): Return zero if GNU_STACK is absent and
14700 DEFAULT_STACK_PERMS doesn't include PF_X.
14701
14702 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14703
14704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14705 in child fails because the descriptor is already closed.
14706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14709
14710 [BZ #12397]
14711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14712 syscall.
14713
14714 [BZ #10484]
14715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14716 temporary buffer used to handle multi lookups locally.
14717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14718
14719 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14720
14721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14722 loader is ld.so.
14723
14724 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14725
14726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14727 alignment for SSE2.
14728
14729 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14730
14731 [BZ #12394]
14732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14733 characters. When rounding increased number of integer digits recompute
14734 number of groups.
14735 * stdio-common/tst-grouping.c: New file.
14736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14737
14738 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14739
14740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14742
14743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14744 void.
14745 * bits/select.h: Likewise.
14746
14747 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14748
14749 * po/ja.po: Update from translation team.
14750
14751 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14752
14753 [BZ #11155]
14754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14755 implementation just like for lxstat, fxstatat, et al.
14756
14757 2010-12-27 Jim Meyering <meyering@redhat.com>
14758
14759 [BZ #12348]
14760 * posix/regexec.c (build_trtable): Return failure indication upon
14761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14762
14763 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14764
14765 [BZ #12201]
14766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14770
14771 [BZ #12207]
14772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14773
14774 [BZ #12204]
14775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14777
14778 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14779
14780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14782 script has SORT_BY_INIT_PRIORITY.
14783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14784 NO_CTORS_DTORS_SECTIONS is defined.
14785 * elf/soinit.c: Likewise.
14786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14787 NO_CTORS_DTORS_SECTIONS is defined.
14788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14790 * sysdeps/sh/init-first.c: Likewise.
14791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14792
14793 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14794
14795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14796 always use the slow path.
14797
14798 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14799
14800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14801 similar rule which adds the sysdep directories to the header search in
14802 order to pick up the correct platform stackinfo.h.
14803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14804 perform test if it is, otherwise return successfully without testing.
14805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14806 DEFAULT_STACK_PERMS define in stackinfo.h.
14807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14808 defined in stackinfo.h.
14809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14810 DEFAULT_STACK_PERMS defined in stackinfo.h.
14811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14812 * sysdeps/ia64/stackinfo.h: Likewise.
14813 * sysdeps/s390/stackinfo.h: Likewise.
14814 * sysdeps/sh/stackinfo.h: Likewise.
14815 * sysdeps/sparc/stackinfo.h: Likewise.
14816 * sysdeps/x86_64/stackinfo.h: Likewise.
14817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14818 PF_X for powerpc64. Retain PF_X for powerpc32.
14819
14820 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14821
14822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14823 accurately.
14824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14825 GETDENTS_64BIT_ALIGNED.
14826
14827 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14828
14829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14830
14831 2010-12-10 Andreas Schwab <schwab@redhat.com>
14832
14833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14834 _GNU_SOURCE.
14835
14836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14838 Remove __restrict.
14839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14841
14842 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14843
14844 [BZ #11655]
14845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14846 are initialized.
14847
14848 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14849
14850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14851
14852 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14853
14854 * po/it.po: Update from translation team.
14855
14856 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14857
14858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14859 unused codes.
14860
14861 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14862
14863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14864
14865 2010-11-24 Andreas Schwab <schwab@redhat.com>
14866
14867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14868 specially.
14869 (gaih_getanswer_slice): Likewise.
14870
14871 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14872
14873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14874
14875 2010-05-31 Petr Baudis <pasky@suse.cz>
14876
14877 [BZ #11149]
14878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14879 silently even in the chroot mode.
14880
14881 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14882
14883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14884 last patch a bit. Pretty printing
14885
14886 2010-05-31 Petr Baudis <pasky@suse.cz>
14887
14888 [BZ #10085]
14889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14890 initialization of skip_initgroups_dyn.
14891
14892 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14893
14894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14896
14897 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14898
14899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14900
14901 2010-11-11 Andreas Schwab <schwab@redhat.com>
14902
14903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14906 ($(objpfx)tst-fnmatch-mem): New rule.
14907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14908 * posix/tst-fnmatch.c (main): Call mtrace.
14909
14910 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14911
14912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14913 Support Intel processor model 6 and model 0x2c.
14914
14915 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14916
14917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14918 signed comparison.
14919
14920 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14921
14922 [BZ #12205]
14923 * string/test-strncasecmp.c (check_result): New function.
14924 (do_one_test): Use it.
14925 (check1): New function.
14926 (test_main): Use it.
14927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14928 Support strcasecmp and strncasecmp.
14929
14930 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14931
14932 [BZ #12194]
14933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14935
14936 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14937
14938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14939 IFUNC support.
14940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14941 memset-x86-64.
14942 * sysdeps/x86_64/multiarch/bzero.S: New file.
14943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14945 * sysdeps/x86_64/multiarch/memset.S: New file.
14946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14948 Set bit_Prefer_SSE_for_memop for Intel processors.
14949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14950 Define.
14951 (index_Prefer_SSE_for_memop): Define.
14952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14953
14954 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14955
14956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14958
14959 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14960
14961 [BZ #12191]
14962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14963 (__x86_64_raw_data_cache_size_half): Likewise.
14964 (__x86_64_raw_shared_cache_size): Likewise.
14965 (__x86_64_raw_shared_cache_size_half): Likewise.
14966
14967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14968 (__x86_64_raw_data_cache_size_half): Likewise.
14969 (__x86_64_raw_shared_cache_size): Likewise.
14970 (__x86_64_raw_shared_cache_size_half): Likewise.
14971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14973 and __x86_64_raw_shared_cache_size_half. Round
14974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14976 to multiple of 256 bytes.
14977
14978 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14979
14980 [BZ #12167]
14981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14982 of inacessible symlinks. Verify result of symlink before returning it.
14983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14985
14986 2010-10-28 Erich Ritz <erichritz@gmail.com>
14987
14988 * math/math.h (isinf): Fix typo in comment.
14989
14990 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14991
14992 * po/da.po: Update from translation team.
14993
14994 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14995
14996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14997 is added to the list.
14998
14999 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15000 Ulrich Drepper <drepper@gmail.com>
15001
15002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
15003 the global list here. Move code to...
15004 (_dl_add_to_namespace_list): ...here. New function.
15005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
15006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
15007 * elf/dl-load.c (lose): Don't remove the element from the list.
15008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
15009 (_dl_map_object): Likewise.
15010
15011 2010-10-25 Ulrich Drepper <drepper@gmail.com>
15012
15013 [BZ #12159]
15014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
15015 into all bytes of SSE register.
15016 Patch by Richard Li <richardpku@gmail.com>.
15017
15018 2010-10-24 Ulrich Drepper <drepper@gmail.com>
15019
15020 [BZ #12140]
15021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
15022 perturbing.
15023
15024 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
15025
15026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
15027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
15028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
15029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
15031 submachine.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15033
15034 2010-10-22 Andreas Schwab <schwab@redhat.com>
15035
15036 * include/dlfcn.h (__RTLD_SECURE): Define.
15037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
15038 mode & __RTLD_SECURE instead.
15039 (open_path): Rename preloaded parameter to secure.
15040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
15041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
15042 * elf/dl-deps.c (openaux): Likewise.
15043 * elf/rtld.c (struct map_args): Remove is_preloaded.
15044 (map_doit): Don't use it.
15045 (dl_main): Likewise.
15046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
15047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
15048
15049 2010-09-09 Andreas Schwab <schwab@redhat.com>
15050
15051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
15052 (sysd-rules-targets): Remove duplicates.
15053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
15054 rtld-%.$o dependency.
15055
15056 2010-10-18 Andreas Schwab <schwab@redhat.com>
15057
15058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
15059 _dl_map_object do it.
15060
15061 2010-10-19 Ulrich Drepper <drepper@gmail.com>
15062
15063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
15064 fast fma builtins, define the macros in the C99 standard.
15065 (FP_FAST_FMAF): Likewise.
15066 (FP_FAST_FMAL): Likewise.
15067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
15068
15069 * bits/mathdef.h: Update copyright year.
15070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
15071
15072 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
15073
15074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
15075 builtins, define the macros in the C99 standard.
15076 (FP_FAST_FMAF): Likewise.
15077 (FP_FAST_FMAL): Likewise.
15078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
15079 multiply/add.
15080 (FP_FAST_FMAF): Likewise.
15081
15082 2010-10-15 Jakub Jelinek <jakub@redhat.com>
15083
15084 [BZ #3268]
15085 * math/libm-test.inc (fma_test): Some new testcases.
15086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
15087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
15088 y and infinite z. Do multiplication by C already in long double.
15089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
15090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
15091 y and infinite z. Do bitwise or of inexact bit into u.d.
15092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
15093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
15094 * sysdeps/i386/fpu/s_fma.S: Removed.
15095 * sysdeps/i386/fpu/s_fmal.S: Removed.
15096
15097 2010-10-16 Jakub Jelinek <jakub@redhat.com>
15098
15099 [BZ #3268]
15100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
15101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
15102 computation is not scheduled after fetestexcept. Fix value
15103 of minimum denormal long double.
15104
15105 2010-10-14 Jakub Jelinek <jakub@redhat.com>
15106
15107 [BZ #3268]
15108 * math/libm-test.inc (fma_test): Add some more tests.
15109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
15110 correctly.
15111
15112 2010-10-15 Andreas Schwab <schwab@redhat.com>
15113
15114 * scripts/data/localplt-s390-linux-gnu.data: New file.
15115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
15116
15117 2010-10-13 Jakub Jelinek <jakub@redhat.com>
15118
15119 [BZ #3268]
15120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
15121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
15122 instead of dbl-64.
15123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15124 inlines.
15125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15127 if one of x and y is very large and the other is subnormal.
15128 * sysdeps/s390/fpu/s_fmaf.c: New file.
15129 * sysdeps/s390/fpu/s_fma.c: New file.
15130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15131 * sysdeps/powerpc/fpu/s_fma.S: New file.
15132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15135
15136 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15137
15138 [BZ #3268]
15139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15140 fma tests.
15141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15148
15149 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15150
15151 [BZ #12078]
15152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15153 * posix/bug-regex31.input: Add test case.
15154
15155 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15156
15157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15158 * posix/bug-regex31.input: New file.
15159
15160 [BZ #12078]
15161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15162 (parse_sub_exp): Fix last change, use postorder.
15163
15164 * posix/bug-regex31.c: New file.
15165 * posix/Makefile: Add rules to build and run bug-regex31.
15166
15167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15168
15169 [BZ #12078]
15170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15171
15172 [BZ #12108]
15173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15174 to have entries in sys_siglist.
15175
15176 [BZ #12093]
15177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15178 be NULL.
15179
15180 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15181
15182 [BZ #3268]
15183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15196 * math/ftestexcept.c (fetestexcept): Likewise.
15197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15204
15205 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15206
15207 [BZ #12107]
15208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15209 newline.
15210
15211 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15212
15213 * string/bug-strstr1.c: New file.
15214 * string/Makefile: Add rules to build and run bug-strstr1.
15215
15216 2010-10-05 Eric Blake <eblake@redhat.com>
15217
15218 [BZ #12092]
15219 * string/str-two-way.h (two_way_long_needle): Always clear memory
15220 when skipping input due to the shift table.
15221
15222 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15223
15224 [BZ #12005]
15225 * malloc/mcheck.c: Handle large requests.
15226
15227 [BZ #12077]
15228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15229 for strncmp and strncasecmp.
15230 * string/stratcliff.c: Add tests for strcmp and strncmp.
15231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15232
15233 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15234
15235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15236 __set_fpscr.
15237
15238 2010-09-30 Andreas Jaeger <aj@suse.de>
15239
15240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15241 (CGROUP_SUPER_MAGIC): Define.
15242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15243 Handle btrfs and cgroup file systems.
15244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15245 Likewise.
15246
15247 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15248
15249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15251
15252 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15253
15254 [BZ #12067]
15255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15256 trying to locate the ELF header.
15257
15258 2010-09-27 Andreas Schwab <schwab@redhat.com>
15259
15260 [BZ #11611]
15261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15262 Mask out sign-bit copies when constructing f_fsid.
15263
15264 2010-09-24 Petr Baudis <pasky@suse.cz>
15265
15266 * debug/stack_chk_fail_local.c: Add missing licence exception.
15267 * debug/warning-nop.c: Likewise.
15268
15269 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15270
15271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15272 implementing getdents64 using getdents syscall, set d_type if
15273 __ASSUME_GETDENTS32_D_TYPE.
15274
15275 2010-09-16 Andreas Schwab <schwab@redhat.com>
15276
15277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15279
15280 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15281
15282 [BZ #12037]
15283 * posix/unistd.h: Undo change of feature selection for ftruncate from
15284 2010-01-11.
15285
15286 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15287
15288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15289 detection.
15290
15291 2010-09-20 Andreas Schwab <schwab@redhat.com>
15292
15293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15294 fanotify_mark.
15295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15296
15297 2010-09-14 Andreas Schwab <schwab@redhat.com>
15298
15299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15300 variables after CHECK_SP call.
15301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15302
15303 2010-09-13 Andreas Schwab <schwab@redhat.com>
15304 Ulrich Drepper <drepper@redhat.com>
15305
15306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15307 re-relocationg ld.so.
15308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15309 _dl_init_paths call.
15310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15311 here anymore.
15312
15313 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15314
15315 * resolv/res_init.c (__res_vinit): Count the default server we added.
15316
15317 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15318 Ulrich Drepper <drepper@redhat.com>
15319
15320 [BZ #11968]
15321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15322 (____longjmp_chk): Use %ebx for saving value across system call.
15323 Add unwind info.
15324
15325 2010-09-06 Andreas Schwab <schwab@redhat.com>
15326
15327 * manual/Makefile: Don't mix pattern rules with normal rules.
15328
15329 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15330
15331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15332 operation.
15333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15338 Likewise.
15339
15340 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15341
15342 [BZ #11979]
15343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15345
15346 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15347
15348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15349 * sysdeps/x86_64/addmul_1.S: Likewise.
15350 * sysdeps/x86_64/lshift.S: Likewise.
15351 * sysdeps/x86_64/mul_1.S: Likewise.
15352 * sysdeps/x86_64/rshift.S: Likewise.
15353 * sysdeps/x86_64/sub_n.S: Likewise.
15354 * sysdeps/x86_64/submul_1.S: Likewise.
15355
15356 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15357
15358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15359 Define __sched_param instead of SCHED_* and sched_param when
15360 <bits/sched.h> is included with __need_schedparam defined.
15361 * bits/sched.h [__need_schedparam]
15362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15364 (__defined_schedparam): Define to 1.
15365 (__sched_param): New structure, identical to sched_param.
15366 (__need_schedparam): Undefine.
15367
15368 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15369
15370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15371 (epoll_create1): Declare.
15372
15373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15374
15375 2010-08-31 Andreas Schwab <schwab@redhat.com>
15376
15377 [BZ #7066]
15378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15379 shifting retval into place.
15380
15381 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15382
15383 * nis/rpcsvc/nis.h: Update copyright notice.
15384 * nis/rpcsvc/nis.x: Likewise.
15385 * nis/rpcsvc/nis_callback.h: Likewise.
15386 * nis/rpcsvc/nis_callback.x: Likewise.
15387 * nis/rpcsvc/nis_object.x: Likewise.
15388 * nis/rpcsvc/nis_tags.h: Likewise.
15389 * nis/rpcsvc/yp.h: Likewise.
15390 * nis/rpcsvc/yp.x: Likewise.
15391 * nis/rpcsvc/ypupd.h: Likewise.
15392 * nis/yp_xdr.c: Likewise.
15393 * nis/ypupdate_xdr.c: Likewise.
15394
15395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15396 mainly the body of pmap_getport. Add parameters to specify timeouts.
15397 (pmap_getport): Use __libc_rpc_getport.
15398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15401
15402 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15403
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15405 fanotify_mark.
15406
15407 2010-08-27 Roland McGrath <roland@redhat.com>
15408
15409 * sysdeps/i386/i686/multiarch/Makefile
15410 (CFLAGS-varshift.c): New variable.
15411
15412 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15413
15414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15416
15417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15418
15419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15420
15421 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15422
15423 * sysdeps/x86_64/strlen.S: Unroll the loop.
15424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15425 strlen-sse2 strlen-sse2-bsf.
15426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15427 __strlen_no_bsf if bit_Slow_BSF is set.
15428 (__strlen_sse42): Removed.
15429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15431
15432 2010-08-25 Roland McGrath <roland@redhat.com>
15433
15434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15435 * sysdeps/x86_64/multiarch/varshift.c: New file.
15436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15440
15441 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15442
15443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15444 strlen-sse2 strlen-sse2-bsf.
15445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15447 (__strlen_sse2): Removed.
15448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15451 bit_Slow_BSF for Atom.
15452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15453 (index_Slow_BSF): Define.
15454 (HAS_SLOW_BSF): Define.
15455
15456 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15457
15458 [BZ #10851]
15459 * resolv/res_init.c (__res_vinit): When no server address at all
15460 is given default to loopback.
15461
15462 2010-08-24 Roland McGrath <roland@redhat.com>
15463
15464 * configure.in: Remove config-name.h generation.
15465 * configure: Regenerated.
15466 * config-name.in: File removed.
15467 * scripts/config-uname.sh: New file.
15468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15469 ($(objdir)config-name.h): New target.
15470
15471 * sunrpc/rpc_parse.h: Avoid nested comment.
15472
15473 2010-08-24 Richard Henderson <rth@redhat.com>
15474 Ulrich Drepper <drepper@redhat.com>
15475 H.J. Lu <hongjiu.lu@intel.com>
15476
15477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15481 _mm_alignr_epi8 with _mm_loadu_si128.
15482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15484 (__m128i_shift_right): Removed.
15485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15487 * sysdeps/x86_64/multiarch/varshift.h: New file.
15488 * sysdeps/x86_64/multiarch/varshift.S: New file.
15489
15490 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15491
15492 * configure.in: Move assembler checks to before sysdep dir checking.
15493
15494 2010-08-20 Petr Baudis <pasky@suse.cz>
15495
15496 * LICENSES: Sync the sunrpc license.
15497
15498 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15499
15500 * sunrpc/auth_des.c: Update copyright notice once again.
15501 * sunrpc/auth_none.c: Likewise.
15502 * sunrpc/auth_unix.c: Likewise.
15503 * sunrpc/authdes_prot.c: Likewise.
15504 * sunrpc/authuxprot.c: Likewise.
15505 * sunrpc/bindrsvprt.c: Likewise.
15506 * sunrpc/clnt_gen.c: Likewise.
15507 * sunrpc/clnt_perr.c: Likewise.
15508 * sunrpc/clnt_raw.c: Likewise.
15509 * sunrpc/clnt_simp.c: Likewise.
15510 * sunrpc/clnt_tcp.c: Likewise.
15511 * sunrpc/clnt_udp.c: Likewise.
15512 * sunrpc/clnt_unix.c: Likewise.
15513 * sunrpc/des_crypt.c: Likewise.
15514 * sunrpc/des_soft.c: Likewise.
15515 * sunrpc/get_myaddr.c: Likewise.
15516 * sunrpc/getrpcport.c: Likewise.
15517 * sunrpc/key_call.c: Likewise.
15518 * sunrpc/key_prot.c: Likewise.
15519 * sunrpc/openchild.c: Likewise.
15520 * sunrpc/pm_getmaps.c: Likewise.
15521 * sunrpc/pm_getport.c: Likewise.
15522 * sunrpc/pmap_clnt.c: Likewise.
15523 * sunrpc/pmap_prot.c: Likewise.
15524 * sunrpc/pmap_prot2.c: Likewise.
15525 * sunrpc/pmap_rmt.c: Likewise.
15526 * sunrpc/rpc/auth.h: Likewise.
15527 * sunrpc/rpc/auth_unix.h: Likewise.
15528 * sunrpc/rpc/clnt.h: Likewise.
15529 * sunrpc/rpc/des_crypt.h: Likewise.
15530 * sunrpc/rpc/key_prot.h: Likewise.
15531 * sunrpc/rpc/netdb.h: Likewise.
15532 * sunrpc/rpc/pmap_clnt.h: Likewise.
15533 * sunrpc/rpc/pmap_prot.h: Likewise.
15534 * sunrpc/rpc/pmap_rmt.h: Likewise.
15535 * sunrpc/rpc/rpc.h: Likewise.
15536 * sunrpc/rpc/rpc_des.h: Likewise.
15537 * sunrpc/rpc/rpc_msg.h: Likewise.
15538 * sunrpc/rpc/svc.h: Likewise.
15539 * sunrpc/rpc/svc_auth.h: Likewise.
15540 * sunrpc/rpc/types.h: Likewise.
15541 * sunrpc/rpc/xdr.h: Likewise.
15542 * sunrpc/rpc_clntout.c: Likewise.
15543 * sunrpc/rpc_cmsg.c: Likewise.
15544 * sunrpc/rpc_common.c: Likewise.
15545 * sunrpc/rpc_cout.c: Likewise.
15546 * sunrpc/rpc_dtable.c: Likewise.
15547 * sunrpc/rpc_hout.c: Likewise.
15548 * sunrpc/rpc_main.c: Likewise.
15549 * sunrpc/rpc_parse.c: Likewise.
15550 * sunrpc/rpc_parse.h: Likewise.
15551 * sunrpc/rpc_prot.c: Likewise.
15552 * sunrpc/rpc_sample.c: Likewise.
15553 * sunrpc/rpc_scan.c: Likewise.
15554 * sunrpc/rpc_scan.h: Likewise.
15555 * sunrpc/rpc_svcout.c: Likewise.
15556 * sunrpc/rpc_tblout.c: Likewise.
15557 * sunrpc/rpc_util.c: Likewise.
15558 * sunrpc/rpc_util.h: Likewise.
15559 * sunrpc/rpcinfo.c: Likewise.
15560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15561 * sunrpc/rpcsvc/key_prot.x: Likewise.
15562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15563 * sunrpc/rpcsvc/mount.x: Likewise.
15564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15566 * sunrpc/rpcsvc/rex.x: Likewise.
15567 * sunrpc/rpcsvc/rstat.x: Likewise.
15568 * sunrpc/rpcsvc/rusers.x: Likewise.
15569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15570 * sunrpc/rpcsvc/spray.x: Likewise.
15571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15572 * sunrpc/rtime.c: Likewise.
15573 * sunrpc/svc.c: Likewise.
15574 * sunrpc/svc_auth.c: Likewise.
15575 * sunrpc/svc_authux.c: Likewise.
15576 * sunrpc/svc_raw.c: Likewise.
15577 * sunrpc/svc_run.c: Likewise.
15578 * sunrpc/svc_simple.c: Likewise.
15579 * sunrpc/svc_tcp.c: Likewise.
15580 * sunrpc/svc_udp.c: Likewise.
15581 * sunrpc/svc_unix.c: Likewise.
15582 * sunrpc/svcauth_des.c: Likewise.
15583 * sunrpc/xcrypt.c: Likewise.
15584 * sunrpc/xdr.c: Likewise.
15585 * sunrpc/xdr_array.c: Likewise.
15586 * sunrpc/xdr_float.c: Likewise.
15587 * sunrpc/xdr_mem.c: Likewise.
15588 * sunrpc/xdr_rec.c: Likewise.
15589 * sunrpc/xdr_ref.c: Likewise.
15590 * sunrpc/xdr_sizeof.c: Likewise.
15591 * sunrpc/xdr_stdio.c: Likewise.
15592
15593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15594 handling.
15595
15596 2010-08-19 Andreas Schwab <schwab@redhat.com>
15597
15598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15599
15600 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15601
15602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15616
15617 2010-07-26 Anton Blanchard <anton@samba.org>
15618
15619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15620 * malloc/arena.c (heap_trim): Likewise.
15621
15622 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15623
15624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15625 here. Not...
15626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15628
15629 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15630
15631 * sysdeps/i386/elf/Makefile: New file.
15632
15633 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15634
15635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15636 from fanotify_init.
15637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15639
15640 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15641
15642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15643 of strncasecmp_l.
15644 * sysdeps/multiarch/strcmp.S: Likewise.
15645
15646 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15647
15648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15649 strncase_l-nonascii.
15650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15651 Add strncase_l-ssse3.
15652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15653 * sysdeps/x86_64/strcmp.S: Likewise.
15654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15656 * sysdeps/x86_64/strncase.S: New file.
15657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15658 * sysdeps/x86_64/strncase_l.S: New file.
15659 * string/Makefile (strop-tests): Add strncasecmp.
15660 * string/test-strncasecmp.c: New file.
15661
15662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15663 warning.
15664
15665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15667
15668 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15669
15670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15671
15672 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15673
15674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15677
15678 2010-05-01 Alan Modra <amodra@gmail.com>
15679
15680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15685 tidying. Don't tail-call __sigjmp_save for static lib.
15686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15687 save location.
15688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15689 (CALL_MCOUNT): Add eh info, and nop after bl.
15690 (TAIL_CALL_SYSCALL_ERROR): New macro.
15691 (PSEUDO_RET): Use it.
15692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15693 Correct save location of integer regs and cr.
15694 (_dl_profile_resolve): Correct cr save location. Delete nops
15695 after bl when SHARED. Reduce cfi size a little by better
15696 placement of cfi directives.
15697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15698 make a stack frame. Instead use parm save area as a temp.
15699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15702 Don't make a stack frame for parent, use parm save area.
15703 Increase child stack frame to 112 bytes. Don't save unused reg,
15704 and adjust reg usage. Set up cfi on error recovery and
15705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15707 (__makecontext): Add dummy nop after jump to exit.
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15709 Use correct parm save area and cr save, reduce stack frame.
15710 Correct cfi for possible PSEUDO_RET frame setup.
15711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15712 Branch to local label emitted by PSEUDO_RET rather than
15713 __syscall_error.
15714
15715 2010-08-12 Andreas Schwab <schwab@redhat.com>
15716
15717 [BZ #11904]
15718 * locale/programs/locale.c (print_assignment): New function.
15719 (show_locale_vars): Use it.
15720
15721 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15722
15723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15724 field.
15725 (struct statfs64): Likewise.
15726 (_STATFS_F_FLAGS): Define.
15727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15730 (ST_VALID): Define locally.
15731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15732 __statvfs_getflags, use the provided value.
15733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15734 __ASSUME_STATFS_F_FLAGS.
15735
15736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15737
15738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15739 Add sys/fanotify.h.
15740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15741 fanotify_mask for GLIBC_2.13.
15742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15743 fanotify_init and fanotify_mark.
15744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15746
15747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15748 Add prlimit.
15749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15750 prlimit64 for GLIBC_2.13.
15751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15752 prlimit64.
15753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15754 syscall.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15760 add prlimit alias.
15761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15762
15763 [BZ #11903]
15764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15766
15767 * nss/Makefile: Add rules to build and run tst-nss-test1.
15768 * shlib-versions: Add entry for libnss_test1.
15769 * nss/nss_test1.c: New file.
15770 * nss/tst-nss-test1.c: New file.
15771
15772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15773 (__nss_configure_lookup): Set appropriate entry in
15774 __nss_configure_lookup to true.
15775 * nss/nsswitch.h: Define enum with indeces of databases in
15776 databases and __nss_database_custom arrays. Declare
15777 __nss_database_custom.
15778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15779 to avoid using nscd when custom rules are installed.
15780 * nss/getXXbyYY_r.c: Likewise.
15781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15782
15783 * nss/nss_files/files-parse.c: Whitespace fixes.
15784
15785 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15786
15787 [BZ #11883]
15788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15789 * posix/fnmatch_loop.c: Likewise.
15790
15791 2010-07-17 Andi Kleen <ak@linux.intel.com>
15792
15793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15796 * Versions.def [GLIBC_2.13]: Add.
15797
15798 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15799
15800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15801 Also fail if tpwd after pwuid call is NULL.
15802
15803 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15804
15805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15806 when converting to ms.
15807
15808 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15809
15810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15811 EOPNOTSUPP errors with ENOTTY.
15812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15813 EOPNOTSUPP errors with ENOTTY.
15814
15815 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15816
15817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15818 Add strcasecmp_l-ssse3.
15819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15820 strcasecmp.
15821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15824
15825 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15826
15827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15828
15829 * string/Makefile (strop-tests): Add strcasecmp.
15830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15831 strcasecmp_l-nonascii.
15832 (gen-as-const-headers): Add locale-defines.sym.
15833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15834 * sysdeps/x86_64/strcasecmp.S: New file.
15835 * sysdeps/x86_64/strcasecmp_l.S: New file.
15836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15837 * sysdeps/x86_64/locale-defines.sym: New file.
15838 * string/test-strcasecmp.c: New file.
15839
15840 * string/test-strcasestr.c: Test both ends of the range of characters.
15841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15842
15843 2010-07-29 Roland McGrath <roland@redhat.com>
15844
15845 [BZ #11856]
15846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15847
15848 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15849
15850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15851 for ld.so.
15852
15853 2010-07-27 Andreas Schwab <schwab@redhat.com>
15854
15855 * manual/memory.texi (Malloc Tunable Parameters): Document
15856 M_PERTURB.
15857
15858 2010-07-26 Roland McGrath <roland@redhat.com>
15859
15860 [BZ #11840]
15861 * configure.in (-fgnu89-inline check): Set and substitute
15862 gnu89_inline, not libc_cv_gnu89_inline.
15863 * configure: Regenerated.
15864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15865
15866 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15867
15868 * string/test-strnlen.c: New file.
15869 * string/Makefile (strop-tests): Add strnlen.
15870 * string/tester.c (test_strnlen): Add a few more test cases.
15871 * string/tst-strlen.c: Better error reporting.
15872
15873 * sysdeps/x86_64/strnlen.S: New file.
15874
15875 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15876
15877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15878 lower-latency instructions.
15879
15880 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15881
15882 * string/test-strcasestr.c: New file.
15883 * string/test-strstr.c: New file.
15884 * string/Makefile (strop-tests): Add strstr and strcasestr.
15885 * string/str-two-way.h: Don't undefine MAX.
15886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15887
15888 2010-07-21 Andreas Schwab <schwab@redhat.com>
15889
15890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15891 strcasestr-nonascii.
15892 (CFLAGS-strcasestr-nonascii.c): Define.
15893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15895 Remove unused attribute.
15896
15897 2010-07-20 Roland McGrath <roland@redhat.com>
15898
15899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15901 ld.so.cache was broken. With it, there is no way to disable dsocaps
15902 like LD_HWCAP_MASK can disable hwcaps.
15903
15904 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15905
15906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15907
15908 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15909
15910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15911 call in strcasestr.
15912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15913 __strcasestr_sse42_nonascii.
15914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15915 strcasestr-nonascii.c.
15916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15917
15918 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15919
15920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15924
15925 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15926
15927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15928 fcntl.
15929
15930 2010-07-06 Andreas Schwab <schwab@redhat.com>
15931
15932 [BZ #11577]
15933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15934 dl_signal_cerror.
15935
15936 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15937
15938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15939 _PC_PIPE_BUF using F_GETPIPE_SZ.
15940
15941 2010-07-05 Roland McGrath <roland@redhat.com>
15942
15943 * manual/arith.texi (Rounding Functions): Fix rint description
15944 implicit in round description.
15945
15946 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15947
15948 * elf/Makefile: Fix linking for a few tests to make recent linker
15949 happy.
15950
15951 2010-06-30 Andreas Schwab <schwab@redhat.com>
15952
15953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15954 $(common-objpfx)libc_nonshared.a.
15955
15956 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15957
15958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
16000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
16001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
16002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
16003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
16004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
16005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
16006
16007 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
16008
16009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
16010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
16011 * string/memmove.c (memmove): Renamed to ...
16012 (MEMMOVE): ...this. Default to memmove.
16013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
16014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
16015 (END_CHK): Define.
16016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
16018 mempcpy-ssse3-back memmove-ssse3-back.
16019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
16020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
16021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
16022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
16023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
16024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
16025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
16026 * sysdeps/x86_64/multiarch/memmove.c: New file.
16027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
16028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
16029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
16030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
16031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
16032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
16033 Define.
16034 (index_Fast_Copy_Backward): Define.
16035 (HAS_ARCH_FEATURE): Define.
16036 (HAS_FAST_REP_STRING): Define.
16037 (HAS_FAST_COPY_BACKWARD): Define.
16038
16039 2010-06-21 Andreas Schwab <schwab@redhat.com>
16040
16041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16042 Restore proper fallback handling.
16043
16044 2010-06-19 Ulrich Drepper <drepper@redhat.com>
16045
16046 [BZ #11701]
16047 * posix/group_member.c (__group_member): Correct checking loop.
16048
16049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
16050 OOM in getpwuid_r correctly. Return error number when the caller
16051 should return, otherwise -1.
16052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
16053 call returning > 0 value.
16054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
16055
16056 2010-06-07 Andreas Schwab <schwab@redhat.com>
16057
16058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
16059 libc_nonshared.a from targets in modules-names.
16060
16061 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
16062
16063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
16064 requires it.
16065
16066 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
16067
16068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
16069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
16070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
16071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
16072
16073 2010-06-02 Andreas Schwab <schwab@redhat.com>
16074
16075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
16076
16077 2010-06-14 Ulrich Drepper <drepper@redhat.com>
16078
16079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
16080 and F_GETPIPE_SZ.
16081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
16082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
16083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
16086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
16087
16088 2010-06-14 Roland McGrath <roland@redhat.com>
16089
16090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
16091
16092 2010-06-07 Jakub Jelinek <jakub@redhat.com>
16093
16094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
16095 __REDIRECT followed by __THROW.
16096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
16097 * posix/getopt.h (getopt): Likewise.
16098
16099 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
16100
16101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
16102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
16103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
16104 in AT_FLAGS.
16105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
16106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
16107
16108 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
16109
16110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
16111
16112 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
16113
16114 [BZ #11640]
16115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16116 Properly check family and model.
16117
16118 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
16119
16120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
16121
16122 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16123
16124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16125
16126 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16127
16128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16129 symbol reference.
16130
16131 2010-05-19 Andreas Schwab <schwab@redhat.com>
16132
16133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16134 symbol reference.
16135
16136 2010-05-21 Andreas Schwab <schwab@redhat.com>
16137
16138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16139 and internal_recvmmsg.
16140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16144
16145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16148
16149 2010-05-20 Andreas Schwab <schwab@redhat.com>
16150
16151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16152
16153 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16154
16155 POWER7 optimizations.
16156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16158
16159 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16160
16161 * version.h: Update for 2.13 development version.
16162
16163 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16164
16165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16166 exceptions. Return 0.
16167
16168 2010-05-07 Roland McGrath <roland@redhat.com>
16169
16170 * elf/ldconfig.c (main): Add a const.
16171
16172 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16173
16174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16175 (args_options): Add no-idn option.
16176 (ahosts_keys_int): Add idn_flags to ai_flags.
16177 (parse_option): Handle 'i' option to clear idn_flags.
16178
16179 * malloc/malloc.c (_int_free): Possible race in the most recently
16180 added check. Only act on the data if no current modification
16181 happened.
16182
16183 See ChangeLog.17 for earlier changes.
This page took 0.814362 seconds and 6 git commands to generate.