]> sourceware.org Git - glibc.git/blob - ChangeLog
Use x86_64 bits/select.h for i386/x86_64
[glibc.git] / ChangeLog
1 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
4 * sysdeps/i386/bits/select.h: Removed.
5 * sysdeps/x86_64/bits/select.h: Renamed to ...
6 * sysdeps/x86/bits/select.h: This.
7
8 * sysdeps/i386/bits/setjmp.h: Removed.
9 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
10 * sysdeps/x86/bits/setjmp.h: This.
11
12 * sysdeps/i386/bits/mathdef.h: Removed.
13 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
14 * sysdeps/x86/bits/mathdef.h: This.
15
16 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
17
18 [BZ #14132]
19 * include/sys/socket.h (__connect_internal)
20 (__libc_sa_len_internal): Remove declaration.
21 (__connect, __libc_sa_len): Declare hidden_proto.
22 (SA_LEN): Remove use of INTUSE.
23 * socket/connect.c: Add libc_hidden_def.
24 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
25 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27 alias.
28 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
29 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
31 of adding _internal alias.
32
33 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
34
35 [BZ #14117]
36 * sysdeps/i386/bits/link.h: Removed.
37 * sysdeps/i386/bits/linkmap.h: Likewise.
38 * sysdeps/x86_64/bits/link.h: Renamed to ...
39 * sysdeps/x86/bits/link.h: This.
40 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41 * sysdeps/x86/bits/linkmap.h: This.
42
43 * sysdeps/i386/bits/endian.h: Removed.
44 * sysdeps/x86_64/bits/endian.h: Renamed to ...
45 * sysdeps/x86/bits/endian.h: This.
46
47 * sysdeps/i386/bits/byteswap.h: Removed.
48 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
50 * sysdeps/x86/bits/byteswap.h: This.
51 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
52 * sysdeps/x86/bits/byteswap-16.h: This.
53 * sysdeps/i386/Implies: Add x86.
54 * sysdeps/x86_64/Implies: Likewise.
55
56 2012-05-30 David S. Miller <davem@davemloft.net>
57
58 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
60 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
61 (FP_TRAPPING_EXCEPTIONS): Define.
62 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63 (FP_TRAPPING_EXCEPTIONS): Define.
64 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65 subnormals only when inexact has been signalled or underflow
66 exceptions are enabled.
67 (_FP_PACK_CANONICAL): Likewise.
68
69 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70
71 [BZ #14183]
72 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74
75 2012-05-30 Richard Henderson <rth@twiddle.net>
76
77 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
78 with #ifndef NOT_IN_libc.
79
80 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
81 marked to avoid plt entry.
82
83 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
84
85 [BZ #14112]
86 * Makeconfig (default-abi): New macro.
87 (abi-includes): Likewise.
88 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
89 $(abi-$(default-abi)-lib-soname) for soname if defined.
90 ($(common-objpfx)gnu/lib-names.stmp): Generate from
91 abi-variants.
92 * Makefile (installed-stubs): Likewise.
93 * include/stubs-biarch.h: Removed.
94 * scripts/lib-names.awk: Only handle one library at a time.
95 * scripts/soversions.awk: Remove WORDSIZE support.
96 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
97 entries.
98 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
99 Removed.
100 (syscall-list-default-condition): Likewise.
101 (syscall-list-default-condition): Likewise.
102 (syscall-list-includes): Likewise.
103 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
104 syscall-list-* with abi-*. Handle undefined abi-variants.
105 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
106 * sysdeps/unix/sysv/linux/i386/Implies: New file.
107 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
108 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
109 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
110 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
111 Removed.
112 (syscall-list-32-options): Likewise.
113 (syscall-list-32-condition): Likewise.
114 (syscall-list-64-options): Likewise.
115 (syscall-list-64-condition): Likewise.
116 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
117 macro.
118 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
119 Renamed to ...
120 (abi-*): This.
121 (abi-64-ld-soname): New macro.
122 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
123 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
124 Renamed to ...
125 (abi-*): This.
126 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
127 * sysdeps/x86_64/x32/shlib-versions: Likewise.
128
129 2012-05-30 Joseph Myers <joseph@codesourcery.com>
130
131 * sysdeps/unix/sysv/linux/kernel-features.h
132 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
133 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
134 include <kernel-features.h>.
135 [!__NR_ftruncate64]: Remove conditional code.
136 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
137 [__NR_ftruncate64]: Make code unconditional.
138 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
139 * sysdeps/unix/sysv/linux/truncate64.c: Do not
140 include <kernel-features.h>.
141 [!__NR_ftruncate64]: Remove conditional code.
142 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
143 [__NR_ftruncate64]: Make code unconditional.
144 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
146 include <kernel-features.h>.
147 [!__NR_ftruncate64]: Remove conditional code.
148 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
149 [__NR_ftruncate64]: Make code unconditional.
150 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
152 include <kernel-features.h>.
153 [!__NR_ftruncate64]: Remove conditional code.
154 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
155 [__NR_ftruncate64]: Make code unconditional.
156 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
157
158 * configure.in (libc_cv_fpie): Weaken to a compile test using
159 LIBC_TRY_CC_OPTION.
160 * configure: Regenerated.
161
162 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
163
164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
168 Refreshed.
169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
170 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
175 Refreshed.
176
177 2012-05-27 David S. Miller <davem@davemloft.net>
178
179 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
180 (___Q_zero): New.
181 (__Q_simulate_exceptions): Return void. Change to simulate
182 exceptions by writing into the %fsr.
183 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
184 (__Qp_handle_exceptions): Likewise.
185 (numbers): Delete.
186 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
187 __Qp_handle_exceptions.
188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
189 __Qp_handle_exceptions.
190 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
191 as unused and give dummy FP_RND_NEAREST initializer.
192 (FP_INHIBIT_RESULTS): Define.
193 (___Q_simulate_exceptions): Update declaration.
194 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
195 formatting.
196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
197 as unused and give dummy FP_RND_NEAREST initializer.
198 (__Qp_handle_exceptions): Update declaration.
199 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
200 formatting.
201
202 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
203
204 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
205 the temporary FPU control word.
206 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
207 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
208 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
209 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
210 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
211 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
212 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
213 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
214 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
215 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
217
218 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
219
220 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
221 fields.
222
223 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
224
225 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
226 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
227 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
228 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
229 Likewise.
230 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
231 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
232 Likewise.
233
234 2012-05-27 Ulrich Drepper <drepper@gmail.com>
235
236 * po/h.po: Update from translation team.
237
238 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
239
240 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
241
242 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
243 handling of denormals.
244 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
245 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
246 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
247 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
248 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
249 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
251 Likewise.
252
253 2012-05-26 Marek Polacek <polacek@redhat.com>
254
255 [BZ #14152]
256 * math/libm-test.inc (fma_test): Don't always expect underflow
257 exception.
258
259 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
260
261 [BZ #12416]
262 * elf/tst-execstack.c: Include stackinfo.h.
263 (do_test): Adjust test case to ensure that pthread_getattr_np
264 behaviour remains the same after marking stack executable.
265
266 2012-05-25 Joseph Myers <joseph@codesourcery.com>
267
268 * sysdeps/unix/sysv/linux/kernel-features.h
269 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
270 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
271 kernel-features.h.
272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
274 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
275 kernel-features.h.
276 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
277 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
278
279 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
280
281 * configure.in: Define the default includes to being none.
282 * configure: Regenerated.
283
284 2012-05-25 Roland McGrath <roland@hack.frob.com>
285
286 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
287 * sysdeps/x86_64/setjmp.S: Likewise.
288 * sysdeps/i386/bsd-setjmp.S: Likewise.
289 * sysdeps/i386/bsd-_setjmp.S: Likewise.
290 * sysdeps/i386/setjmp.S: Likewise.
291 * sysdeps/i386/__longjmp.S: Likewise.
292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
293 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
294
295 * include/stap-probe.h: New file.
296 * configure.in: Handle --enable-systemtap.
297 * configure: Regenerated.
298 * config.h.in (USE_STAP_PROBE): New #undef.
299 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
300 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
301 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
302
303 2012-05-25 Joseph Myers <joseph@codesourcery.com>
304
305 [BZ #13717]
306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
307 to 2.4.0 where earlier.
308 * sysdeps/unix/sysv/linux/configure: Regenerated.
309 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
310 <kernel-features.h>.
311 [__ASSUME_32BITUIDS]: Make code unconditional.
312 [!__ASSUME_32BITUIDS]: Remove conditional code.
313 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
314 <kernel-features.h>.
315 [__ASSUME_32BITUIDS]: Make code unconditional.
316 [!__ASSUME_32BITUIDS]: Remove conditional code.
317 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
318 [__ASSUME_32BITUIDS]: Make code unconditional.
319 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
321 <kernel-features.h>.
322 [__ASSUME_32BITUIDS]: Make code unconditional.
323 [!__ASSUME_32BITUIDS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
325 <kernel-features.h>.
326 [__ASSUME_32BITUIDS]: Make code unconditional.
327 [!__ASSUME_32BITUIDS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
329 <kernel-features.h>.
330 [__ASSUME_32BITUIDS]: Make code unconditional.
331 [!__ASSUME_32BITUIDS]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
333 <kernel-features.h>.
334 [__ASSUME_32BITUIDS]: Make code unconditional.
335 [!__ASSUME_32BITUIDS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
337 <kernel-features.h>.
338 [__ASSUME_32BITUIDS]: Make code unconditional.
339 [!__ASSUME_32BITUIDS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
341 <kernel-features.h>.
342 [__ASSUME_32BITUIDS]: Make code unconditional.
343 [!__ASSUME_32BITUIDS]: Remove conditional code.
344 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
345 <kernel-features.h>.
346 [__ASSUME_32BITUIDS]: Make code unconditional.
347 [!__ASSUME_32BITUIDS]: Remove conditional code.
348 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
349 <kernel-features.h>.
350 [__ASSUME_32BITUIDS]: Make code unconditional.
351 [!__ASSUME_32BITUIDS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
353 <kernel-features.h>.
354 [__ASSUME_32BITUIDS]: Make code unconditional.
355 [!__ASSUME_32BITUIDS]: Remove conditional code.
356 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
357 <kernel-features.h>.
358 [__ASSUME_32BITUIDS]: Make code unconditional.
359 [!__ASSUME_32BITUIDS]: Remove conditional code.
360 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
361 <kernel-features.h>.
362 [__NR_setresgid] (__setresgid): Do not declare.
363 [__ASSUME_32BITUIDS]: Make code unconditional.
364 [!__ASSUME_32BITUIDS]: Remove conditional code.
365 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
366 <kernel-features.h>.
367 [__NR_setresuid] (__setresuid): Do not declare.
368 [__ASSUME_32BITUIDS]: Make code unconditional.
369 [!__ASSUME_32BITUIDS]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
371 <kernel-features.h>.
372 [__ASSUME_32BITUIDS]: Make code unconditional.
373 [!__ASSUME_32BITUIDS]: Remove conditional code.
374 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
375 <kernel-features.h>.
376 [__ASSUME_32BITUIDS]: Make code unconditional.
377 [!__ASSUME_32BITUIDS]: Remove conditional code.
378 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
379 <kernel-features.h>.
380 [__ASSUME_32BITUIDS]: Make code unconditional.
381 [!__ASSUME_32BITUIDS]: Remove conditional code.
382 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
383 <kernel-features.h>.
384 [__ASSUME_32BITUIDS]: Make code unconditional.
385 [!__ASSUME_32BITUIDS]: Remove conditional code.
386 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
387 <kernel-features.h>.
388 [__ASSUME_32BITUIDS]: Make code unconditional.
389 [!__ASSUME_32BITUIDS]: Remove conditional code.
390 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
391 <kernel-features.h>.
392 [__ASSUME_32BITUIDS]: Make code unconditional.
393 [!__ASSUME_32BITUIDS]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
395 <kernel-features.h>.
396 [__ASSUME_32BITUIDS]: Make code unconditional.
397 [!__ASSUME_32BITUIDS]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
399 <kernel-features.h>.
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
403 <kernel-features.h>.
404 [__ASSUME_32BITUIDS]: Make code unconditional.
405 [!__ASSUME_32BITUIDS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
407 <kernel-features.h>.
408 [__ASSUME_32BITUIDS]: Make code unconditional.
409 [!__ASSUME_32BITUIDS]: Remove conditional code.
410 * sysdeps/unix/sysv/linux/kernel-features.h
411 (__ASSUME_SETRESUID_SYSCALL): Remove.
412 (__ASSUME_SETRESGID_SYSCALL): Likewise.
413 (__ASSUME_32BITUIDS): Likewise.
414 (__ASSUME_LDT_WORKS): Likewise.
415 (__ASSUME_O_DIRECTORY): Likewise.
416 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
417 architecture but not kernel version.
418 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
419 (__ASSUME_MMAP2_SYSCALL): Likewise.
420 (__ASSUME_STAT64_SYSCALL): Likewise.
421 (__ASSUME_IPC64): Likewise.
422 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
423 <kernel-features.h>.
424 [__ASSUME_32BITUIDS]: Make code unconditional.
425 [!__ASSUME_32BITUIDS]: Remove conditional code.
426 * sysdeps/unix/sysv/linux/opendir.c: Do not include
427 <kernel-features.h>.
428 [__ASSUME_O_DIRECTORY]: Make code unconditional.
429 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
430 132096]: Remove conditional code.
431 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
432 * sysdeps/unix/sysv/linux/s390/s390-32/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/s390/s390-32/lchown.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/setegid.c: Do not include
441 <kernel-features.h>.
442 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
443 unconditional.
444 (__setresgid): Do not declare.
445 [__ASSUME_32BITUIDS]: Make code unconditional.
446 [!__ASSUME_32BITUIDS]: Remove conditional code.
447 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
448 <kernel-features.h>.
449 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
450 unconditional.
451 (__setresuid): Do not declare.
452 [__ASSUME_32BITUIDS]: Make code unconditional.
453 [!__ASSUME_32BITUIDS]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
455 <kernel-features.h>.
456 [__ASSUME_32BITUIDS]: Make code unconditional.
457 [!__ASSUME_32BITUIDS]: Remove conditional code.
458 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
459 <kernel-features.h>.
460 [__ASSUME_32BITUIDS]: Make code unconditional.
461 [!__ASSUME_32BITUIDS]: Remove conditional code.
462
463 2012-05-25 Richard Henderson <rth@twiddle.net>
464
465 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
466 dl_hwcap to ifunc resolver.
467 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
468 elf_ifunc_invoke.
469 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
470 dl_hwcap to ifunc resolver.
471 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
472
473 2012-05-24 Joseph Myers <joseph@codesourcery.com>
474
475 [BZ #14153]
476 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
477 for |x| <= 2**-26, not 2**-57.
478 * math/libm-test.inc (acos_test): Do not allow spurious underflow
479 exception.
480
481 2012-05-24 Jeff Law <law@redhat.com>
482
483 * stdio-common/Makefile (tests): Add bug25.
484 * stdio-common/bug25.c: New test.
485
486 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
487
488 [BZ #13576]
489 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
490 multiple of MALLOC_ALIGNMENT in size.
491 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
492
493 2012-05-24 Joseph Myers <joseph@codesourcery.com>
494
495 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
496 Require >= 256.
497 (FILENAME_MAX): Use macro-int-constant.
498 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
499 (_IOFBF): Use macro-int-constant.
500 (_IOLBF): Likewise.
501 (_IONBF): Likewise.
502 (SEEK_CUR): Likewise.
503 (SEEK_END): Likewise.
504 (SEEK_SET): Likewise.
505 (TMP_MAX): Likewise.
506 (EOF): Use macro-int-constant. Require < 0.
507 (NULL): Use macro-constant. Require == 0.
508 (stdin): Require type to be FILE *.
509 (stdout): Likewise.
510 (stderr): Likewise.
511 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
512 macro-int-constant.
513 (EXIT_SUCCESS): Likewise.
514 (NULL): Use macro-constant. Require == 0.
515 (RAND_MAX): Use macro-int-constant.
516 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
517 [C99-based standards] (strtof): Require function.
518 [C99-based standards] (strtold): Likewise.
519 [C99-based standards] (strtoll): Likewise.
520 [C99-based standards] (strtoull): Likewise.
521 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
522 [ISO || ISO99 || ISO11] (limits.h): Likewise.
523 [ISO || ISO99 || ISO11] (math.h): Likewise.
524 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
525 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
526 [ISO || ISO99 || ISO11] (*_t): Do not allow.
527
528 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
529
530 [BZ #14132]
531 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
532 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
533 * intl/dgettext.c (DCGETTEXT): Likewise.
534 * intl/gettext.c (DCGETTEXT): Likewise.
535 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
536 * posix/regex_internal.h (gettext): Likewise.
537 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
538 Remove declaration.
539 * include/argz.h (__argz_count_internal)
540 (__argz_stringify_internal): Remove declaration.
541 (__argz_count, __argz_stringify): Declare hidden proto.
542 * intl/dcgettext.c: Remove use of INTDEF.
543 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
544 * string/argz-stringify.c: Likewise.
545 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
546 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
547 Declare hidden proto.
548 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
549 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
550 Declare hidden proto.
551 * include/stdio.h (__asprintf_internal): Don't declare.
552 (__asprintf): Don't define as macro. Declare hidden proto.
553 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
554 (__fsetlocking): Declare hidden proto.
555 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
556 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
557 hidden proto.
558 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
559 (_IO_setlinebuf): Remove use of INTUSE.
560 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
561 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
562 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
563 Remove declaration.
564 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
565 (_IO_do_flush): Remove use of INTUSE.
566 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
567 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
568 (_IO_adjust_column, _IO_least_wmarker)
569 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
570 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
571 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
572 (_IO_default_doallocate, _IO_wdefault_doallocate)
573 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
574 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
575 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
576 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
577 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
578 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
579 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
580 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
581 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
582 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
583 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
584 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
585 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
586 proto.
587 (_IO_flush_all_internal, _IO_adjust_column_internal)
588 (_IO_default_uflow_internal, _IO_default_finish_internal)
589 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
590 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
591 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
592 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
593 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
594 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
595 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
596 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
597 (_IO_file_close_internal, _IO_file_close_it_internal)
598 (_IO_file_underflow_internal, _IO_file_overflow_internal)
599 (_IO_file_init_internal, _IO_file_attach_internal)
600 (_IO_file_fopen_internal, _IO_file_read_internal)
601 (_IO_file_sync_internal, _IO_file_seek_internal)
602 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
603 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
604 (_IO_str_underflow_internal, _IO_str_overflow_internal)
605 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
606 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
607 (_IO_list_all_internal, _IO_link_in_internal)
608 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
609 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
610 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
611 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
612 (_IO_do_write_internal, _IO_padn_internal)
613 (_IO_getline_info_internal, _IO_getline_internal)
614 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
615 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
616 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
617 (_IO_vfscanf_internal, _IO_vfprintf_internal)
618 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
619 (_IO_init_internal, _IO_un_link_internal): Don't declare.
620 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
621 with libc_hidden_ver, remove use of INTUSE.
622 * libio/genops.c: Likewise.
623 * libio/freopen.c: Likewise.
624 * libio/freopen64.c: Likewise.
625 * libio/iofclose.c: Likewise.
626 * libio/iofdopen.c: Likewise.
627 * libio/iofflush.c: Likewise.
628 * libio/iofflush_u.c: Likewise.
629 * libio/iofgets.c: Likewise.
630 * libio/iofgets_u.c: Likewise.
631 * libio/iofopen.c: Likewise.
632 * libio/iofopncook.c: Likewise.
633 * libio/iofread.c: Likewise.
634 * libio/iofread_u.c: Likewise.
635 * libio/ioftell.c: Likewise.
636 * libio/iofwrite.c: Likewise.
637 * libio/iogetline.c: Likewise.
638 * libio/iogets.c: Likewise.
639 * libio/iogetwline.c: Likewise.
640 * libio/iopadn.c: Likewise.
641 * libio/iopopen.c: Likewise.
642 * libio/ioseekoff.c: Likewise.
643 * libio/ioseekpos.c: Likewise.
644 * libio/iosetbuffer.c: Likewise.
645 * libio/iosetvbuf.c: Likewise.
646 * libio/ioungetc.c: Likewise.
647 * libio/ioungetwc.c: Likewise.
648 * libio/iovdprintf.c: Likewise.
649 * libio/iovsprintf.c: Likewise.
650 * libio/iovsscanf.c: Likewise.
651 * libio/memstream.c: Likewise.
652 * libio/obprintf.c: Likewise.
653 * libio/oldfileops.c: Likewise.
654 * libio/oldiofclose.c: Likewise.
655 * libio/oldiofdopen.c: Likewise.
656 * libio/oldiofopen.c: Likewise.
657 * libio/oldiopopen.c: Likewise.
658 * libio/oldstdfiles.c: Likewise.
659 * libio/putc.c: Likewise.
660 * libio/setbuf.c: Likewise.
661 * libio/setlinebuf.c: Likewise.
662 * libio/stdfiles.c: Likewise.
663 * libio/strops.c: Likewise.
664 * libio/vasprintf.c: Likewise.
665 * libio/vscanf.c: Likewise.
666 * libio/vsnprintf.c: Likewise.
667 * libio/vswprintf.c: Likewise.
668 * libio/wfiledoalloc.c: Likewise.
669 * libio/wfileops.c: Likewise.
670 * libio/wgenops.c: Likewise.
671 * libio/wmemstream.c: Likewise.
672 * libio/wstrops.c: Likewise.
673 * libio/__fpurge.c: Likewise.
674 * libio/__fsetlocking.c: Likewise.
675 * assert/assert.c: Likewise.
676 * debug/fgets_chk.c: Likewise.
677 * debug/fgets_u_chk.c: Likewise.
678 * debug/fread_chk.c: Likewise.
679 * debug/fread_u_chk.c: Likewise.
680 * debug/gets_chk.c: Likewise.
681 * debug/obprintf_chk.c: Likewise.
682 * debug/vasprintf_chk.c: Likewise.
683 * debug/vdprintf_chk.c: Likewise.
684 * debug/vsnprintf_chk.c: Likewise.
685 * debug/vsprintf_chk.c: Likewise.
686 * malloc/mtrace.c: Likewise.
687 * misc/error.c: Likewise.
688 * misc/syslog.c: Likewise.
689 * stdio-common/asprintf.c: Likewise.
690 * stdio-common/fxprintf.c: Likewise.
691 * stdio-common/getw.c: Likewise.
692 * stdio-common/isoc99_fscanf.c: Likewise.
693 * stdio-common/isoc99_scanf.c: Likewise.
694 * stdio-common/isoc99_vfscanf.c: Likewise.
695 * stdio-common/isoc99_vscanf.c: Likewise.
696 * stdio-common/isoc99_vsscanf.c: Likewise.
697 * stdio-common/printf-prs.c: Likewise.
698 * stdio-common/printf_fp.c: Likewise.
699 * stdio-common/printf_fphex.c: Likewise.
700 * stdio-common/printf_size.c: Likewise.
701 * stdio-common/putw.c: Likewise.
702 * stdio-common/scanf.c: Likewise.
703 * stdio-common/sprintf.c: Likewise.
704 * stdio-common/tmpfile.c: Likewise.
705 * stdio-common/vfprintf.c: Likewise.
706 * stdio-common/vfscanf.c: Likewise.
707 * stdlib/strfmon_l.c: Likewise.
708 * sunrpc/openchild.c: Likewise.
709 * sunrpc/xdr_stdio.c: Likewise.
710 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
711 * sysdeps/mach/hurd/tmpfile.c: Likewise.
712
713 2012-05-24 Roland McGrath <roland@hack.frob.com>
714
715 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
716
717 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
718 in the third column, to generate for the shared library an IFUNC
719 that uses _dl_vdso_vsym.
720 * Makerules (COMPILE.c, compile-stdin.c): New variables.
721 * Makeconfig (object-suffixes-noshared): New variable.
722
723 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
724 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
725 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
726 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
727
728 [BZ #14132]
729 * include/sys/time.h (__gettimeofday): Remove macro.
730 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
731 * time/gettimeofday.c (__gettimeofday): Remove #undef.
732 Remove INTDEF.
733 (__gettimeofday): Add libc_hidden_def.
734 (gettimeofday): Add libc_hidden_weak.
735 * sysdeps/mach/gettimeofday.c: Likewise.
736 * sysdeps/posix/gettimeofday.c: Likewise.
737 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
738 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
740 (__gettimeofday_internal): Remove strong_alias.
741 (__gettimeofday): Add libc_hidden_def.
742 (gettimeofday): Add libc_hidden_weak.
743 * sysdeps/unix/syscalls.list (gettimeofday):
744 Remove __gettimeofday_internal alias.
745
746 2012-05-24 Daniel Jacobowitz <drow@false.org>
747 H.J. Lu <hongjiu.lu@intel.com>
748
749 [BZ #12495]
750 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
751 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
752 (largebin_index_32_big): New.
753 (largebin_index): Use it for 16-byte alignment.
754 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
755 correction with front_misalign.
756
757 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
758
759 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
761 Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
763 Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
765 Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
767 Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
769 Likewise.
770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
771 Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
773 Likewise.
774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
775 Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
777 Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
779 Likewise.
780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
781 Likewise.
782 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
783 Likewise.
784
785 * scripts/data/c++-types-x32-linux-gnu.data: New file.
786 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
787
788 2012-05-24 Joseph Myers <joseph@codesourcery.com>
789
790 [BZ #10846]
791 [BZ #14036]
792 * math/libm-test.inc (exp_test): Add test from bug 14036.
793 (pow_test): Add test from bug 10846.
794
795 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
796 and other flags.
797 (special_function): Do not include flags in test name.
798 (parse_args): Likewise.
799 * sysdeps/i386/fpu/libm-test-ulps: Update.
800 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
801 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
802 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
804
805 * math/gen-libm-test.pl (%beautify): Add entries for underflow
806 exceptions.
807 * math/libm-test.inc ("Philosophy"): Update comment about
808 exception testing.
809 (UNDERFLOW_EXCEPTION): New macro.
810 (UNDERFLOW_EXCEPTION_OK): Likewise.
811 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
812 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
813 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
814 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
815 (INVALID_EXCEPTION_OK): Update value.
816 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
817 (OVERFLOW_EXCEPTION_OK): Likewise.
818 (IGNORE_ZERO_INF_SIGN): Likewise.
819 (test_exceptions): Handle underflow exceptions.
820 (acos_test): Update for underflow exception expectations.
821 (cexp_test): Likewise.
822 (clog_test): Likewise.
823 (clog10_test): Likewise.
824 (csqrt_test): Likewise.
825 (ctan_test): Likewise.
826 (ctanh_test): Likewise.
827 (exp_test): Likewise.
828 (exp10_test): Likewise.
829 (exp2_test): Likewise.
830 (expm1_test): Likewise.
831 (fma_test): Likewise.
832 (j0_test): Likewise.
833 (jn_test): Likewise.
834 (nexttoward_test): Likewise.
835 (pow_test): Likewise.
836 (scalbn_test): Likewise.
837 (scalbln_test): Likewise.
838 (tan_test): Likewise.
839 (y1_test): Likewise.
840 * sysdeps/i386/fpu/libm-test-ulps: Update.
841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
842
843 2012-05-23 David S. Miller <davem@davemloft.net>
844
845 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
846 (__libc_sigaction): Remove unused local variables.
847
848 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
849
850 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
851
852 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
853
854 mktime: avoid signed integer overflow
855 * time/mktime.c (__mktime_internal): Do not mishandle the case
856 where diff == INT_MIN.
857
858 mktime: simplify computation of average
859 * time/mktime.c (ranged_convert): Use new time_t_avg function
860 instead of rolling our own (probably-slower) code.
861
862 mktime: do not assume signed right shift propagates sign bit
863 * time/mktime.c (isdst_differ): New static function.
864 (__mktime_internal): No need to normalize tm_isdst now.
865 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
866 tm_isdst values.
867
868 mktime: merge another wrapv change from gnulib
869 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
870 from some compilers.
871
872 mktime: remove incorrect attempt at unusual arithmetics
873 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
874 The code didn't really work on such machines anyway.
875 (TYPE_MINIMUM): Assume two's complement.
876 (twos_complement_arithmetic): Verify that long_int and time_t
877 are two's complement (or unsigned, in the latter case).
878
879 mktime: check signed shifts on long_int and time_t, too
880 * time/mktime.c (SHR): Check that shifts work as desired
881 on the types long_int and time_t too, as SHR is used on
882 such types.
883
884 mktime: do not assume 'long' is wide enough
885 * time/mktime.c (verify): Move decl up.
886 (long_int): New type.
887 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
888 to remove assumption in the code that 'long' is wide enough to
889 store year values. This assumption is not true on x32 and on
890 some non-glibc platforms.
891
892 mktime: merge wrapv change from gnulib
893 * time/mktime.c (WRAPV): New macro.
894 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
895 (guess_time_tm, __mktime_internal): Do not assume that signed
896 integer overflow wraps around; modern compilers generate code
897 where this assumption is no longer valid.
898
899 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
900
901 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
902 Replace "jmp L(pseudo_end)" with "ret".
903 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
904 Likewise.
905
906 2012-05-23 Andreas Jaeger <aj@suse.de>
907
908 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
909 * sysdeps/unix/sysv/linux/poll.c: Remove file.
910
911 2012-05-23 Andreas Jaeger <aj@suse.de>
912 Maximilian Attems <max@stro.at>
913
914 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
915 New macros.
916
917 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
918
919 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
920 code so that pseudo_end is just ret and the stack pointer is
921 correct also for static library in error case.
922
923 2012-05-23 Joseph Myers <joseph@codesourcery.com>
924
925 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
926 move to syscalls.list.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
931
932 * manual/install.texi (Running make install): Do not mention Linux
933 kernel version for which pt_chown is not needed.
934 (Linux): Do not mention problems with nscd with 2.0 kernels.
935 * INSTALL: Regenerated.
936
937 2012-05-23 Andreas Jaeger <aj@suse.de>
938
939 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
940 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
941 macro.
942 * sysdeps/unix/sysv/linux/s390/bits/mman.h
943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
944 * sysdeps/unix/sysv/linux/sh/bits/mman.h
945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
946 * sysdeps/unix/sysv/linux/i386/bits/mman.h
947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
950 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
951 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
952 * sysdeps/unix/sysv/linux/bits/in.h
953 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
954
955 2012-05-22 Roland McGrath <roland@hack.frob.com>
956
957 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
958 (PREPARE_VERSION): Just use assert instead, it will be elided
959 under [NDEBUG] anyway.
960
961 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
962
963 * sysdeps/unix/sysv/linux/Makefile: Include
964 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
965 (sysdep_routines): Remove sysctl.
966 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
967 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
968 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
969 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
970 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
971
972 2012-05-22 Andreas Jaeger <aj@suse.de>
973
974 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
975 that pseudo_end is just ret and the stack pointer is correct also
976 for static library in error case.
977
978 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
979
980 [BZ #14122]
981 * nss/nsswitch.c (defconfig_entries): New variable.
982 (__nss_database_lookup): Don't leak defconfig entries.
983 (nss_parse_service_list): Don't leak on error paths.
984 (free_database_entries): New function.
985 (free_defconfig): New function.
986 (free_mem): Move common code to free_database_entries.
987
988 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
989
990 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
991 Add arch_prctl.
992 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
993
994 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
995 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
996 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
997 New macro.
998 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
999 (INTERNAL_SYSCALL_TYPES): Likewise.
1000 (LOAD_ARGS_TYPES_[1-6]): Likewise.
1001 (LOAD_REGS_TYPES_[1-6]): Likewise.
1002 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
1003 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1004
1005 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1006
1007 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1008 copysignl for GLIBC_2_0.
1009 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1010 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1011 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1012 logbl for GLIBC_2_0.
1013 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1014 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1015
1016 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1017
1018 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1019 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1020
1021 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1022 Use "neg %eax".
1023
1024 * time/mktime.c: Update copyright years.
1025
1026 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1027
1028 mktime: merge comment-quoting-style change from gnulib
1029 * time/mktime.c: Quote 'like this' in comments.
1030 The GNU coding standards suggest that we no longer quote `like this',
1031 as "`" and "'" are typically rendered asymmetrically nowadays.
1032 The typical gnulib style is to quote 'like this' when quoting
1033 code, and "like this" when quoting English.
1034
1035 * time/mktime.c (compile-command): Add "-I.".
1036
1037 mktime: merge mktime-internal.h change from gnulib
1038 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1039
1040 mktime: merge time_r change from gnulib
1041 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1042
1043 mktime: merge DEBUG change from gnulib
1044 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1045 case system <time.h> has a #define.
1046
1047 mktime: merge <sys/types.h> change from gnulib
1048 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1049 since <time.t> is now guaranteed to define time_t.
1050
1051 mktime: merge HAVE_CONFIG_H change from gnulib
1052 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1053
1054 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1055
1056 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1057 Use "neg %eax".
1058
1059 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1060 __rlim_t cast.
1061 (struct rusage): Use anonymous union to pad each field to
1062 __syscall_slong_t.
1063
1064 2012-05-21 David S. Miller <davem@davemloft.net>
1065
1066 * Makefules (o-iterator): Remove .s cases.
1067 (compile-command.s): Delete.
1068 (COMPILE.s): Delete.
1069 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1070
1071 2012-05-21 Joseph Myers <joseph@codesourcery.com>
1072
1073 * configure.in (libc_cv_predef_stack_protector): Only consider
1074 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1075 * configure: Regenerated.
1076
1077 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1078
1079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1080 New macro. Use R*LP on int and pointer.
1081 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
1082 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1083 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
1084 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1085
1086 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1087 [__WORDSIZE_TIME64_COMPAT32] instead of
1088 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1089 (struct utmp): Likewise.
1090 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1091 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1092 Renamed to ...
1093 (__WORDSIZE_TIME64_COMPAT32): This.
1094 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1095 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1096 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1097 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1098 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1099 (__WORDSIZE_TIME64_COMPAT32): New macro.
1100
1101 2012-05-21 Andreas Jaeger <aj@suse.de>
1102
1103 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1104 only if [SHARED]. Add prototype for __wcschr_ia32.
1105
1106 2012-05-21 Roland McGrath <roland@hack.frob.com>
1107
1108 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1109 of %rbp unmolested in the jmp_buf while mangling the low bits.
1110 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1111 unmolested high bits of %rbp while demangling the low bits.
1112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1113
1114 2012-05-21 Andreas Jaeger <aj@suse.de>
1115
1116 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1117 * sunrpc/svc_simple.c: Use it for registerrpc.
1118 * sunrpc/xcrypt.c: Use it for passwd2des.
1119
1120 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1121
1122 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1125 Don't define if [__SYSCALL_WORDSIZE != 32].
1126 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1127 New macro.
1128
1129 2012-05-21 Bruno Haible <bruno@clisp.org>
1130 Andreas Jaeger <aj@suse.de>
1131
1132 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1133 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1134 inptr and inend for must_buffer_ch.
1135 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1136 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1137 * stdio-common/Makefile (tests): Remove bug15.
1138 (bug15-ENV): Remove macro.
1139 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1140 anymore.
1141
1142 2012-05-19 Andreas Jaeger <aj@suse.de>
1143 Roland McGrath <roland@hack.frob.com>
1144
1145 * manual/contrib.texi: Completely rewritten. It contains now an
1146 alphabetical list of contributors and their contributions.
1147
1148 2012-05-21 Richard Henderson <rth@twiddle.net>
1149
1150 * misc/getauxval.c (__getauxval): Use unsigned long int.
1151 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1152 (getauxval): Use unsigned long int.
1153
1154 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1155
1156 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1157
1158 2012-05-21 Roland McGrath <roland@hack.frob.com>
1159
1160 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1161 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1162 __alignof__ (long double).
1163
1164 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165
1166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1167
1168 2012-05-20 Richard Henderson <rth@twiddle.net>
1169
1170 * misc/getauxval.c: New file.
1171 * misc/sys/auxv.h: New file.
1172 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1173 (routines): Add getauxval.
1174 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1175 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1176 * elf/dl-sysdep.c (_dl_auxv): Remove.
1177 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1178 * elf/dl-support.c (_dl_auxv): New variable.
1179 (_dl_aux_init): Initialize it.
1180 * manual/startup.texi (Auxiliary Vector): New node.
1181 * sysdeps/generic/bits/hwcap.h: New file.
1182 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1183 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1184 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1185 * sysdeps/sparc/sysdep.h: ... here. Include it.
1186 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1187 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1189 Update.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1193 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1196 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1198
1199 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200
1201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1202
1203 2012-05-19 David S. Miller <davem@davemloft.net>
1204
1205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1206
1207 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #14123]
1210 * math/s_ccosh.c: Include <float.h>
1211 (__ccosh): Avoid internal overflow calculating sinh and cosh
1212 values before multiplying by sin and cos values.
1213 * math/s_ccoshf.c: Likewise.
1214 * math/s_ccoshl.c: Likewise.
1215 * math/s_csin.c: Likewise.
1216 * math/s_csinf.c: Likewise.
1217 * math/s_csinl.c: Likewise.
1218 * math/s_csinh.c: Likewise.
1219 * math/s_csinhf.c: Likewise.
1220 * math/s_csinhl.c: Likewise.
1221 * math/libm-test.inc (ccos_test): Add more tests.
1222 (ccosh_test): Likewise.
1223 (csin_test): Likewise.
1224 (csinh_test): Likewise.
1225 * sysdeps/i386/fpu/libm-test-ulps: Update.
1226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1227
1228 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1231 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1232
1233 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1234
1235 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1236
1237 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1238 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1239 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1240 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1241 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1242 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1243 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1244 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1245 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1246 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1247 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1248 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1249 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1250 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1251 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1252 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1253 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1254 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1255 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1256 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1257 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1258 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1259 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1260 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1261 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1262 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1263 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1264 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1265 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1266 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1267 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1268
1269 2012-05-18 Andreas Jaeger <aj@suse.de>
1270
1271 * csu/.gitignore: Delete.
1272
1273 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1274
1275 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1276 (timex): Use __syscall_slong_t.
1277
1278 2012-05-18 Andreas Jaeger <aj@suse.de>
1279 Carlos O'Donell <carlos_odonell@mentor.com>
1280
1281 * manual/install.texi (Configuring and compiling): Update
1282 description about files modified in the source directory.
1283 * INSTALL: Regenerated.
1284
1285 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1288 value. Use "or" to set return value to -1.
1289 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1290 negate return value.
1291
1292 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1293
1294 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1295 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1296 failure if the compiler has Graphite support disabled.
1297 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1298 Likewise.
1299 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1300 CFLAGS-memmove.c): Likewise.
1301 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1302 Likewise.
1303
1304 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 * sysdeps/x86_64/x32/_itoa.h: New file.
1307
1308 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1309 getdents system call only if kernel and user dirents have the
1310 same d_ino and d_off.
1311
1312 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1313 LLONG_MAX != LONG_MAX.
1314 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1315 (_fitoa_word): Likewise.
1316
1317 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1318 years.
1319 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1320 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1322
1323 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1324 include <bits/wordsize.h>. Check __x86_64__ instead of
1325 __WORDSIZE.
1326 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1327 if __x86_64__ is defined. Use anonymous union on fpstate.
1328
1329 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1330 anonymous union.
1331
1332 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1333
1334 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1335 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1336 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1337 Refer to _rtld_local_ro instead of _rtld_global_ro.
1338 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1339 Likewise.
1340 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1341 Likewise.
1342 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1343 Likewise.
1344 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1345 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1346 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1347
1348 * sysdeps/powerpc/powerpc32/dl-machine.c
1349 (__elf_machine_runtime_setup) [PROF]: Don't reference
1350 _dl_prof_resolve.
1351
1352 2012-05-18 Andreas Jaeger <aj@suse.de>
1353
1354 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1355 function only available for GCCs before 3.4 since GCC 3.4
1356 introduced a builtin.
1357 (lrint): Likewise.
1358 (llrintf): Likewise.
1359 (llrint): Likewise.
1360 (fmaxf): Likewise.
1361 (fmax): Likewise.
1362 (fminf): Likewise.
1363 (fmin): Likewise.
1364 (rint): Likewise.
1365 (rintf): Likewise.
1366 (nearbyint): Likewise.
1367 (nearbyintf): Likewise.
1368 (ceil): Likewise.
1369 (ceilf): Likewise.
1370 (floor): Likewise.
1371 (floorf): Likewise.
1372
1373 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1374
1375 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1376 on both fields and cast pointer to __syscall_ulong_t.
1377
1378 * bits/types.h (__fsword_t): New type.
1379 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1380 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1381 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1382 (__FSWORD_T_TYPE): Likewise.
1383 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1384 (__FSWORD_T_TYPE): Likewise.
1385 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1386 (__FSWORD_T_TYPE): Likewise.
1387 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1388 (__FSWORD_T_TYPE): Likewise.
1389 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1390 __SWORD_TYPE with __fsword_t.
1391 (statfs64): Likewise.
1392
1393 2012-05-17 David S. Miller <davem@davemloft.net>
1394
1395 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1396
1397 2012-05-17 Andreas Jaeger <aj@suse.de>
1398
1399 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1400 warning.
1401
1402 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1403
1404 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1405
1406 2012-05-17 Andreas Jaeger <aj@suse.de>
1407
1408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1409 when it is used.
1410
1411 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1412
1413 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1414
1415 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1416
1417 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1418 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1419
1420 2012-05-17 Andreas Jaeger <aj@suse.de>
1421 Carlos O'Donell <carlos_odonell@mentor.com>
1422
1423 [BZ #14059]
1424 * sysdeps/x86_64/multiarch/init-arch.h
1425 (bit_YMM_Usable): Rename to...
1426 (bit_AVX_Usable): ... this.
1427 (bit_FMA4_Usable): New macro.
1428 (bit_XMM_state): New macro.
1429 (bit_YMM_state): New macro.
1430 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1431 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1432 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1433 (CPUID_OSXSAVE): New macro.
1434 (CPUID_AVX): New macro.
1435 (CPUID_FMA4): New macro.
1436 (index_YMM_Usable): Rename to...
1437 (index_AVX_Usable): ... this.
1438 (HAS_AVX): Use HAS_ARCH_FEATURE.
1439 (HAS_FMA4): Likewise.
1440 (HAS_YMM_USABLE): Remove.
1441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1442 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1443 are present.
1444 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1445 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1446 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1447 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1448 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1449
1450 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1451
1452 * math/libm-test.c: Support platforms without multiple rounding modes.
1453 * math/bug-nextafter.c: Support platforms without FP exceptions.
1454 * math/bug-nexttoward.c: Likewise.
1455 * math/test-fenv.c: Likewise.
1456 * math/test-misc.c: Likewise.
1457 * stdlib/bug-getcontext.c: Likewise.
1458
1459 2012-05-17 Andreas Jaeger <aj@suse.de>
1460
1461 * manual/examples/search.c (critter_cmp): Change signature to
1462 avoid warnings.
1463 * manual/string.texi (Collation Functions): Likewise.
1464
1465 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1466
1467 * bits/types.h: Fold copyright years.
1468 * bits/typesizes.h: Likewise.
1469 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1471 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1473 * time/time.h: Likewise.
1474
1475 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1476
1477 [BZ #208]
1478 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1479 in instead of returning them. Return void.
1480 (__libc_mallinfo): Accumulate over all arenas.
1481 (__malloc_stats): Adjust for change in int_mallinfo interface.
1482
1483 2012-05-16 Roland McGrath <roland@hack.frob.com>
1484
1485 [BZ #10375]
1486 * configure.in (NM): Add AC_CHECK_TOOL for it.
1487 (libc_extra_cflags): New substituted variable.
1488 Check for -fstack-protector being used implicitly.
1489 * configure: Regenerated.
1490 * config.make.in (config-extra-cflags): New variable,
1491 gets @libc_extra_cflags@.
1492 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1493
1494 [BZ #10375]
1495 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1496 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1497 * configure: Regenerated.
1498 * config.make.in (CPPUNDEFS): New substituted variable.
1499 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1500 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1501 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1502
1503 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1506 (mq_attr): Use __syscall_slong_t.
1507
1508 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1509
1510 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1511 Check __x86_64__ instead of __WORDSIZE.
1512 (_STAT_VER_LINUX): Likewise.
1513 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1514 __syscall_ulong_t and __syscall_slong_t.
1515 (stat64): Likewise.
1516
1517 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1520
1521 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1524
1525 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1526
1527 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1528 __syscall_ulong_t.
1529
1530 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1531 include <bits/wordsize.h>. Check __x86_64__ instead of
1532 __WORDSIZE.
1533 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1534 defined.
1535 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1536
1537 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1538 include <bits/wordsize.h>. Check __x86_64__ instead of
1539 __WORDSIZE.
1540 (user_regs_struct): Use "__extension__ unsigned long long"
1541 instead of "unsigned long" if __x86_64__ is defined.
1542 (user): Likewise. Pad after pointer field if __ILP32__ is
1543 defined.
1544
1545 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1546
1547 * configure.in (makeinfo): Require version 4.5 or later. Allow
1548 versions 5 to 9.
1549 * configure: Regenerated.
1550 * manual/install.texi (texinfo): Increase version requirement to
1551 4.5 or later.
1552 * INSTALL: Regenerated.
1553
1554 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1555
1556 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1557
1558 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1559
1560 * sysdeps/x86_64/x32/ffs.c: New file.
1561
1562 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1563 __syscall_ulong_t.
1564 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1565 defined. Use __syscall_ulong_t.
1566 (shminfo): Use __syscall_ulong_t.
1567 (shm_info): Likewise.
1568
1569 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1570 __syscall_ulong_t.
1571
1572 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1573 <bits/wordsize.h>.
1574 (msgqnum_t): Use __syscall_ulong_t.
1575 (msglen_t): Likewise.
1576 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1577 __syscall_ulong_t.
1578
1579 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1580 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1581
1582 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1583
1584 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1585 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1586
1587 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1588 __syscall_slong_t.
1589
1590 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1591 include <bits/wordsize.h>. Check __x86_64__ instead of
1592 __WORDSIZE.
1593
1594 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1595 "unsigned long long int" if __x86_64__ is defined.
1596 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1597
1598 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1599 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1600 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1601
1602 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1603 <stdint.h>.
1604 (GET_PC): Cast to uintptr_t first.
1605 (GET_FRAME): Likewise.
1606 (GET_STACK): Likewise.
1607
1608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1625 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1633 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1634 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1636 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1637
1638 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1639
1640 * Makerules (+depfiles): Also collect depfiles from .oS in
1641 $(extra-objs).
1642 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1643 .oS, $(libnldbl-routines)).
1644
1645 * Makerules (native-compile-mkdep-flags): Define.
1646 * sunrpc/Makefile (extra-objs): Add $(addprefix
1647 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1648 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1649 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1650 calling $(make-target-directory).
1651
1652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1653
1654 * bits/types.h (__snseconds_t): Removed.
1655 * time/time.h (struct timespec): Replace __snseconds_t with
1656 __syscall_slong_t.
1657 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1658 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1659 Likewise.
1660 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1661 (__SNSECONDS_T_TYPE): Likewise.
1662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1663 (__SNSECONDS_T_TYPE): Likewise.
1664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1665 (__SNSECONDS_T_TYPE): Likewise.
1666
1667 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1668
1669 * sysdeps/mach/hurd/bits/typesizes.h
1670 (__SYSCALL_SLONG_TYPE): New macro.
1671 (__SYSCALL_ULONG_TYPE): Likewise.
1672
1673 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1674
1675 * bits/types.h (__syscall_slong_t): New type.
1676 (__syscall_ulong_t): Likewise.
1677
1678 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1679 (__SYSCALL_ULONG_TYPE): Likewise.
1680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1681 (__SYSCALL_SLONG_TYPE): Likewise.
1682 (__SYSCALL_ULONG_TYPE): Likewise.
1683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1684 (__SYSCALL_SLONG_TYPE): Likewise.
1685 (__SYSCALL_ULONG_TYPE): Likewise.
1686 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1687 (__SYSCALL_SLONG_TYPE): Likewise.
1688 (__SYSCALL_ULONG_TYPE): Likewise.
1689
1690 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1691
1692 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1693 Add sigaltstack-offsets.sym.
1694 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1695 <sigaltstack-offsets.h>.
1696 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1697 longjmp_msg pointer.
1698 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1699 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1700 signal stack.
1701 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1702
1703 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1704
1705 * elf/stackguard-macros.h: Remove file.
1706 * sysdeps/generic/stackguard-macros.h: New file.
1707 * sysdeps/i386/stackguard-macros.h: Likewise.
1708 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1709 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1710 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1711 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1712 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1713 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1714 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1715 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1716 <elf/stackguard-macros.h>.
1717
1718 [BZ #14109]
1719 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1720 __aligned__ in attribute.
1721 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1722 (gregset_t): Likewise.
1723
1724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1725
1726 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1727 * sysdeps/x86_64/64/Implies-after: Here. New file.
1728 * sysdeps/x86_64/x32/Implies-after: New file.
1729
1730 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1731
1732 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1733 and access return value for _dl_profile_fixup. Use R10_LP to
1734 load frame size.
1735
1736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1737
1738 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1739
1740 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1741
1742 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1743 * sysdeps/x86_64/x32/sysdep.h: New file.
1744
1745 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1748 * sysdeps/x86_64/setjmp.S: Likewise.
1749
1750 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1751
1752 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1753 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1754 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1756 remove unused global constant.
1757
1758 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1759
1760 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1761 include of <not-cancel.h>.
1762
1763 2012-05-15 Roland McGrath <roland@hack.frob.com>
1764
1765 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1766
1767 2012-05-15 Jeff Law <law@redhat.com>
1768 Andreas Jaeger <aj@suse.de>
1769
1770 [BZ #13594]
1771 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1772 out from...
1773 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1774 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1775 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1776 code changing __hst_map_handle.map.
1777
1778 2012-05-15 Roland McGrath <roland@hack.frob.com>
1779
1780 * configure.in (sysnames): Look for Implies-before and Implies-after
1781 files.
1782 * configure: Regenerated.
1783
1784 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1785
1786 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1787 8-byte data alignment with LP_SIZE alignment.
1788
1789 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1790
1791 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1792 into R10_LP.
1793
1794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1797
1798 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1799
1800 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1801 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1805
1806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1807
1808 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1809 (stackinfo_sub_sp): Likewise.
1810
1811 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1814 RAX_LP.
1815
1816 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1817
1818 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1819 into R*_LP.
1820
1821 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1824 sizes into R*_LP.
1825
1826 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1829
1830 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1831
1832 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1833 into R11_LP and load __x86_64_shared_cache_size_half into
1834 R8_LP.
1835
1836 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1837
1838 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1839 R8_LP.
1840
1841 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1842
1843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1844 logb for POWER7.
1845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1846 logbf for POWER7.
1847 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1848 logbl for POWER7.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1850 powerpc32/power7/fpu/s_logb.c via #include.
1851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1852 powerpc32/power7/fpu/s_logbf.c via #include.
1853 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1854 powerpc32/power7/fpu/s_logbl.c via #include.
1855
1856 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1857
1858 * README.libm: Remove file.
1859
1860 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1861
1862 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1863 count for x32. Use R*_LP and omit operand-size suffix.
1864
1865 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1866
1867 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1868 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1869 * sysdeps/x86_64/x32/shlib-versions: New file.
1870
1871 2012-05-14 Roland McGrath <roland@hack.frob.com>
1872
1873 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1874 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1875 Use _dl_fatal_printf instead.
1876
1877 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1878
1879 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1880 set if not set by the user. Do not allow for being unset.
1881 * sysdeps/unix/sysv/linux/configure: Regenerated.
1882
1883 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1884
1885 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1886 the `q' suffix from lea and replace .quad with ASM_ADDR.
1887
1888 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1889
1890 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1891 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1892 instead of $17.
1893 (PTR_DEMANGLE): Likewise.
1894
1895 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1896
1897 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1898 (LP_OP): Likewise.
1899 (ASM_ADDR): Likewise.
1900 (RAX_LP): Likewise.
1901 (RBP_LP): Likewise.
1902 (RBX_LP): Likewise.
1903 (RCX_LP): Likewise.
1904 (RDI_LP): Likewise.
1905 (RSI_LP): Likewise.
1906 (RSP_LP): Likewise.
1907 (R8_LP): Likewise.
1908 (R9_LP): Likewise.
1909 (R10_LP): Likewise.
1910 (R10_LP): Likewise.
1911 (R11_LP): Likewise.
1912 (R12_LP): Likewise.
1913 (R13_LP): Likewise.
1914 (R14_LP): Likewise.
1915 (R15_LP): Likewise.
1916
1917 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 * sysdeps/x86_64/x32/dl-machine.h: New file.
1920
1921 2012-05-14 Andreas Jaeger <aj@suse.de>
1922
1923 * manual/Makefile (subdir): Remove export of subdir.
1924 (all): Remove target.
1925 (.PHONY): Remove all from list.
1926 (mkinstalldirs): Remove.
1927 (.PHONY): Remove installdirs from list.
1928 ($(inst_infodir)/libc.info): Use make-target-directory.
1929 (installdirs): Remove.
1930 (subdir_%): Remove.
1931 (glibc-targets): Remove.
1932 (lib): Remove.
1933 (stubs): Remove.
1934 ($(objpfx)stubs ../po/manual.pot): Remove.
1935 ($(objpfx)stamp%): Remove.
1936 (make-target-directory): Remove.
1937 (subdir_install): Remove.
1938 (routines): Remove.
1939 (aux): Remove.
1940 (sources): Remove.
1941 (objects): Remove.
1942 (headers): Remove.
1943
1944 [BZ #13750]
1945 * manual/.gitignore: Remove, it's not needed anymore.
1946 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1947 all files in it.
1948 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1949 directory.
1950 (texis): Renamed to $(objpfx)texis.
1951 (texis-path): New, contains path to generated files.
1952 (chapters.%): Use texis-path for complete path, add extra argument
1953 libc-texinfo.sh.
1954 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1955 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1956 (summary,texi, stamp-summary): Use complete path of
1957 files. Generate files in build dir.
1958 (dir-add.texi): Build in build dir.
1959 (libm-err.texi,stamp-libm-err): Likewise.
1960 (version.texi, stamp-version): Likewise.
1961 (.%c.texi): Likewise.
1962 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1963 (mostlyclean): Remove target.
1964 (realclean): Remove target.
1965 (generated): Add new variable with contents from mostlyclean and
1966 realclean, remove entries duplicated in common-mostlyclean, add
1967 stamp-libm-err and stamp-version.
1968 (generated-dirs): Add libc directory.
1969 ($(inst_infodir)/libc.info): Install files from build dir.
1970
1971 * manual/install.texi (Configuring and compiling): Adjust since
1972 the info files are not part of the tar ball anymore.
1973
1974 2012-05-14 Andreas Jaeger <aj@suse.de>
1975
1976 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1977 variable.
1978
1979 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1980
1981 [BZ #13717]
1982 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1983 to 2.2.0 where earlier.
1984 * sysdeps/unix/sysv/linux/configure: Regenerated.
1985 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1986 Remove conditional code.
1987 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1989 Remove conditional code.
1990 [!__NR_lchown]: Likewise.
1991 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1992 [__NR_lchown]: Likewise.
1993 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1994 comment referencing __ASSUME_LCHOWN_SYSCALL.
1995 * sysdeps/unix/sysv/linux/i386/sigaction.c
1996 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1997 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1998 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1999 Remove conditional code.
2000 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
2001 (__protocol_available): Remove #if 0 code.
2002 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
2003 conditional code.
2004 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2005 * sysdeps/unix/sysv/linux/kernel-features.h
2006 (__ASSUME_GETCWD_SYSCALL): Don't define.
2007 (__ASSUME_REALTIME_SIGNALS): Likewise.
2008 (__ASSUME_PREAD_SYSCALL): Likewise.
2009 (__ASSUME_PWRITE_SYSCALL): Likewise.
2010 (__ASSUME_POLL_SYSCALL): Likewise.
2011 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2012 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2013 non-SPARC.
2014 (__ASSUME_SIOCGIFNAME): Don't define.
2015 (__ASSUME_MSG_NOSIGNAL): Likewise.
2016 (__ASSUME_SENDFILE): Define unconditionally.
2017 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2018 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2019 conditional code.
2020 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2021 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2022 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2023 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2024 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2025 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2026 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2028 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2029 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2031 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2034 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2035 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2037 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2038 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2040 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2041 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2043 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2044 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2046 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2047 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2049 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2050 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2051 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2052 Remove conditional code.
2053 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2054 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2055 Remove conditional code.
2056 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2057 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2058 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2060 Remove conditional code.
2061 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2062 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2063 Remove conditional code.
2064 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2065 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2066 Remove conditional code.
2067 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2068 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2069 Remove conditional code.
2070 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2071 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2072 Remove conditional code.
2073 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2074 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2075 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2076 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2077 * sysdeps/unix/sysv/linux/sigaction.c
2078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2080 * sysdeps/unix/sysv/linux/sigpending.c
2081 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2082 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2083 * sysdeps/unix/sysv/linux/sigprocmask.c
2084 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2085 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2086 * sysdeps/unix/sysv/linux/sigsuspend.c
2087 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2088 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2090 (__libc_missing_rt_sigs): Remove.
2091 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2092 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2093 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2094 Remove conditional code.
2095 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2096 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2097 return 1.
2098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2100 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2101 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2102
2103 2012-05-14 Andreas Jaeger <aj@suse.de>
2104
2105 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2106 it's not used in glibc.
2107 (__coshm1): Likewise.
2108 (__acosh1p): Likewise.
2109 (__sgn): Likewise.
2110
2111 * manual/string.texi (Copying and Concatenation): Add missing
2112 variable in concat example.
2113 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2114
2115 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2116
2117 [BZ #14103]
2118 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2119 __builtin_clzl with __builtin_clzll.
2120
2121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2122
2123 [BZ #14104]
2124 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2125 libc_freeres_ptr.
2126
2127 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2128
2129 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2130 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2131 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2133
2134 2012-05-14 Mike Frysinger <vapier@gentoo.org>
2135
2136 * NEWS: Update ia64 info.
2137
2138 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2139
2140 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2141 used as bcopy.
2142
2143 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2144
2145 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2146 * sysdeps/unix/syscalls.list (dup3): Likewise.
2147 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2148 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2149
2150 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2151
2152 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2153 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2154
2155 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2156
2157 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2158 thread pointer.
2159 (TLS_IE): Use mov/add instead of movq/addq to load thread
2160 pointer.
2161 (TLS_GD_PREFIX): New.
2162 (TLS_GD): Use it.
2163
2164 2012-05-11 David S. Miller <davem@davemloft.net>
2165
2166 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2167 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2168 (_FPU_SETCW): Likewise.
2169
2170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2171
2172 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2173 is 32-byte aligned.
2174
2175 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2176
2177 [BZ #11837]
2178 * iconvdata/gb18030.c: Update tables.
2179 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2180 characters specially.
2181 (BODY for TO_LOOP): Add encoding of missing ranges.
2182
2183 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2184
2185 [BZ #13673]
2186 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2187 * sysdeps/mach/hurd/dup3.c: Likewise.
2188 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2189 * sysdeps/powerpc/memmove.c:: Likewise.
2190
2191 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2192
2193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2194 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2195
2196 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2197
2198 * elf/elf.h (R_X86_64_RELATIVE64): New.
2199 (R_X86_64_NUM): Updated.
2200 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2201 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2202 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2203 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2204 tst-quad1pie tst-quad2pie
2205 (modules-names): Add tst-quadmod1 tst-quadmod2.
2206 ($(objpfx)tst-quad1): New dependency.
2207 ($(objpfx)tst-quad2): Likewise.
2208 ($(objpfx)tst-quad1pie): Likewise.
2209 ($(objpfx)tst-quad2pie): Likewise.
2210 * sysdeps/x86_64/tst-quad1.c: New file.
2211 * sysdeps/x86_64/tst-quad1pie.c: New file.
2212 * sysdeps/x86_64/tst-quad2.c: Likewise.
2213 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2214 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2215 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2216 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2217 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2218
2219 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2220
2221 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2222 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2223 * streams/stropts.h (t_scalar_t): Define type.
2224
2225 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2226 (_PATH_PRESERVE): Set to "/var/lib".
2227 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2228
2229 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2230 instead of int.
2231
2232 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2233 if __dir_mkfile succeeded.
2234
2235 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2236 checking for _hurd_dtablesize. Unlock it right after having
2237 finished _hurd_dtable allocation.
2238
2239 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2240
2241 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2242 * sysdeps/mach/hurd/configure: Regenerated.
2243 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2244 special-casing to...
2245 * sysdeps/gnu/configure.in: ... this new file.
2246 * sysdeps/unix/sysv/linux/configure: Regenerated.
2247 * sysdeps/gnu/configure: New generated file.
2248
2249 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2250 for Linux: use nsec instead of usec, as well as:
2251 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2252 members of type struct timespec.
2253 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2254 New macros.
2255 (struct stat64): Likewise.
2256 (_STATBUF_ST_NSEC): New macro.
2257 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2258
2259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2260 __strtoul_internal rather than strtoul.
2261
2262 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2263
2264 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2265 and reject them.
2266
2267 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2268
2269 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2270 which preserves existing values.
2271 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2272
2273 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2274
2275 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2276 TIMEOUT values. Return EINVAL for NFDS values either negative or
2277 greater than FD_SETSIZE.
2278
2279 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2280
2281 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2282 allocated, call __vm_protect to finish enabling the existing space, and
2283 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2284 allocate the remainder.
2285
2286 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2287
2288 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2289 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2290
2291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2292
2293 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2294 sysdeps/mach/hurd/readlink.c.
2295
2296 * posix/tst-sysconf.c (posix_options): Only use
2297 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2298 _POSIX_SYNCHRONIZED_IO when they are defined
2299 * sysdeps/mach/hurd/bits/posix_opt.h:
2300 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2301 (_XOPEN_REALTIME): Undefine macro.
2302 (_XOPEN_REALTIME_THREADS): Undefine macro.
2303 (_XOPEN_SHM): Undefine macro.
2304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2305 macro to -1.
2306 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2307 macro to -1.
2308 (_POSIX_ASYNC_IO): Undefine macro.
2309 (_POSIX_PRIORITIZED_IO): Undefine macro.
2310 (_POSIX_SPIN_LOCKS): Define macro to -1.
2311
2312 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2313 SA_NODEFER, SA_RESETHAND.
2314 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2315 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2316 F_DUPFD_CLOEXEC.
2317
2318 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2319
2320 * elf/Makefile (pldd-modules): Define unconditionally.
2321
2322 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2323
2324 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2325
2326 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2327
2328 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2329 Return ENOENT when name is empty.
2330 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2331
2332 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2333
2334 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2335
2336 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2337
2338 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2339
2340 Fix mlock in all cases except non-readable pages.
2341 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2342 instead of VM_PROT_ALL as parameter to __vm_wire function.
2343
2344 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2345 (__mkdir): When path is `/', just fail with EEXIST.
2346 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2347
2348 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2349
2350 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2351 <sys/uio.h> (for writev).
2352 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2353 and <sys/param.h> (for MIN).
2354
2355 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2356
2357 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2358 REQUESTED_TIME. Properly set the remaining time and return EINTR
2359 if interrupted.
2360
2361 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2362
2363 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2364 Depend on against $(link-rpcuserlibs).
2365
2366 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2367
2368 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2369 (__libc_stack_end): Do not use attribute_relro.
2370 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2371 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2372 to libthread-provided value.
2373 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2374 attribute_relro.
2375
2376 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2377
2378 [BZ #3748]
2379 * bits/libc-lock.h (__libc_once_get): New macro.
2380 * sysdeps/mach/bits/libc-lock.h: Likewise.
2381 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2382 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2383 instead of using implementation details.
2384
2385 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2386 * libio/freopen.c: Likewise.
2387 * libio/freopen64.c: Likewise.
2388 * misc/syslog.c: Likewise.
2389 * nscd/connections.c: Likewise.
2390 * nscd/netgroupcache.c: Likewise.
2391 * sysdeps/posix/getcwd.c: Likewise.
2392
2393 2012-05-10 Roland McGrath <roland@hack.frob.com>
2394
2395 * math/w_ilogbf.c: Add #include <limits.h>.
2396
2397 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2398
2399 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2400 path instead of returning without unlocking.
2401
2402 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2403 immediate-write ioctls.
2404 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2405
2406 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2407
2408 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2409 __builtin_frame_address instead of making assumptions about the
2410 location of the return address relative to DATA. Force early load of
2411 the return address.
2412 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2413 __builtin_frame_address.
2414
2415 dup3 for GNU Hurd.
2416 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2417 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2418 implement dup3 and do some further code clean-ups.
2419 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2420 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2421
2422 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2423
2424 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2425
2426 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2427 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2428 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2429 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2430 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2431 d->port.lock.
2432
2433 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2434 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2435 when handler == SIG_ERR, not when handler != SIG_ERR.
2436
2437 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2438
2439 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2440 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2441 definitions.
2442
2443 accept4 for GNU Hurd.
2444 * include/sys/socket.h (__libc_accept4): New prototype.
2445 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2446 to implement __libc_accept4.
2447 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2448 __libc_accept4.
2449 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2450
2451 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2452 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2453 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2454 signal-defines.sym.
2455
2456 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2457
2458 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2459
2460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2461
2462 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2463 assertion on O_CLOEXEC flag.
2464 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2465 * hurd/intern-fd.c: Likewise.
2466 * hurd/port2fd.c: Likewise.
2467
2468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2469
2470 [BZ #3906]
2471 * bits/in.h (IPV6_PKTINFO): Define new macro.
2472 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2473
2474 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2475
2476 [BZ #13954]
2477 [BZ #13955]
2478 [BZ #13956]
2479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2480 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2481 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2482 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2483 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2484 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2485 * math/libm-test.inc (logb_test) : Additional logb tests.
2486
2487 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2488 Andreas Jaeger <aj@suse.de>
2489
2490 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2491 * configure: Regenerated.
2492 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2493 * config.make.in (link-obsolete-rpc): New substituted variable.
2494 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2495 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2496 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2497 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2498 so that libc.a contains the symbols.
2499 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2500 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2501 * sunrpc/auth_none.c: Likewise.
2502 * sunrpc/auth_unix.c: Likewise.
2503 * sunrpc/authdes_prot.c: Likewise.
2504 * sunrpc/authuxprot.c: Likewise.
2505 * sunrpc/clnt_gen.c: Likewise.
2506 * sunrpc/clnt_perr.c: Likewise.
2507 * sunrpc/clnt_raw.c: Likewise.
2508 * sunrpc/clnt_simp.c: Likewise.
2509 * sunrpc/clnt_tcp.c: Likewise.
2510 * sunrpc/clnt_udp.c: Likewise.
2511 * sunrpc/clnt_unix.c: Likewise.
2512 * sunrpc/des_crypt.c: Likewise.
2513 * sunrpc/des_soft.c: Likewise.
2514 * sunrpc/get_myaddr.c: Likewise.
2515 * sunrpc/key_call.c: Likewise.
2516 * sunrpc/key_prot.c: Likewise.
2517 * sunrpc/netname.c: Likewise.
2518 * sunrpc/pm_getmaps.c: Likewise.
2519 * sunrpc/pm_getport.c: Likewise.
2520 * sunrpc/pmap_clnt.c: Likewise.
2521 * sunrpc/pmap_prot.c: Likewise.
2522 * sunrpc/pmap_prot2.c: Likewise.
2523 * sunrpc/pmap_rmt.c: Likewise.
2524 * sunrpc/publickey.c: Likewise.
2525 * sunrpc/rpc_cmsg.c: Likewise.
2526 * sunrpc/rpc_common.c: Likewise.
2527 * sunrpc/rpc_dtable.c: Likewise.
2528 * sunrpc/rpc_prot.c: Likewise.
2529 * sunrpc/rpc_thread.c: Likewise.
2530 * sunrpc/rtime.c: Likewise.
2531 * sunrpc/svc.c: Likewise.
2532 * sunrpc/svc_auth.c: Likewise.
2533 * sunrpc/svc_raw.c: Likewise.
2534 * sunrpc/svc_run.c: Likewise.
2535 * sunrpc/svc_tcp.c: Likewise.
2536 * sunrpc/svc_udp.c: Likewise.
2537 * sunrpc/svc_unix.c: Likewise.
2538 * sunrpc/svcauth_des.c: Likewise.
2539 * sunrpc/xcrypt.c: Likewise.
2540 * sunrpc/xdr.c: Likewise.
2541 * sunrpc/xdr_array.c: Likewise.
2542 * sunrpc/xdr_float.c: Likewise.
2543 * sunrpc/xdr_intXX_t.c: Likewise.
2544 * sunrpc/xdr_mem.c: Likewise.
2545 * sunrpc/xdr_rec.c: Likewise.
2546 * sunrpc/xdr_ref.c: Likewise.
2547 * sunrpc/xdr_sizeof.c: Likewise.
2548 * sunrpc/xdr_stdio.c: Likewise.
2549
2550 2012-05-10 Roland McGrath <roland@hack.frob.com>
2551
2552 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2553 change. Update copyright years.
2554
2555 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2556
2557 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2558
2559 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2560 Joseph Myers <joseph@codesourcery.com>
2561 Paul Pluzhnikov <ppluzhnikov@google.com>
2562
2563 [BZ #14012]
2564 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2565 requiring rpcgen.
2566 [cross-compiling] (extra-libs): Likewise.
2567 [cross-compiling] (extra-libs-others): Likewise.
2568 [cross-compiling] (librpcsvc-routines): Likewise.
2569 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2570 [cross-compiling] (omit-deps): Likewise.
2571 (sunrpc-CPPFLAGS): New variable.
2572 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2573 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2574 (cross-rpcgen-objs): New variable.
2575 (extra-objs): Append $(cross-rpcgen-objs).
2576 ($(cross-rpcgen-objs)): New rule.
2577 ($(objpfx)cross-rpcgen): Likewise.
2578 (rpcgen-cmd): Define to use $(built-program-file). Expand
2579 comment.
2580 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2581 ($(objpfx)x%.stmp): Likewise.
2582 * sunrpc/proto.h [IS_IN_build] (_): Define.
2583 [IS_IN_build] (_libc_intl_domainname): Likewise.
2584
2585 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2588 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2589 and R_X86_64_TPOFF64.
2590
2591 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2592
2593 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2594 sysdeps/unix/sysv/syscalls.list.
2595 (stime): Likewise.
2596 (utime): Likewise.
2597 * sysdeps/unix/sysv/syscalls.list: Remove file.
2598
2599 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2600
2601 [BZ #3440]
2602 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2603 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2604 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2605 (__LC_IDENTIFICATION): Make these macros useful in #if
2606 expressions, as required by C99.
2607
2608 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2609
2610 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2611 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2612 after this.
2613
2614 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2615
2616 * stdlib/longlong.h: Updated from GCC.
2617
2618 2012-05-09 Andreas Jaeger <aj@suse.de>
2619
2620 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2621 default is first entry.
2622 (run_mode): Set type.
2623 (main): Remove informal message about syslog.
2624 (options): Fix typo.
2625
2626 [BZ #14053]
2627 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2628 to asm.
2629 (lrint): Likewise.
2630 (llrintf): Likewise.
2631 (llrint): Likewise.
2632 (rint): Likewise.
2633 (rintf): Likewise.
2634 (nearbyint): Likewise.
2635 (nearbyintf): Likewise.
2636
2637 2012-05-09 Andreas Jaeger <aj@suse.de>
2638 Pedro Alves <palves@redhat.com>
2639
2640 * nscd/nscd.c (run_mode): Use enum.
2641 (main): Cleanup coding style issue.
2642
2643 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2644 Andreas Jaeger <aj@suse.de>
2645
2646 * nscd/nscd.c (go_background): Replaced with...
2647 (run_mode): ... this.
2648 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2649 (options): Add -F --foreground.
2650 (main): Implement it.
2651 (parse_opt): Parse it.
2652
2653 2012-05-09 Andreas Jaeger <aj@suse.de>
2654
2655 [BZ #14083]
2656 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2657 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2658 -Wconversion warning.
2659 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2660 Likewise.
2661
2662 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2663
2664 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2665 == 0.
2666 (LC_ALL): Use macro-int-constant.
2667 (LC_COLLATE): Likewise.
2668 (LC_CTYPE): Likewise.
2669 (LC_MESSAGES): Likewise.
2670 (LC_MONETARY): Likewise.
2671 (LC_NUMERIC): Likewise.
2672 (LC_TIME): Likewise.
2673 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2674 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2676 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2677 Specify type.
2678 [C99-based standards] (float_t): Expect type.
2679 [C99-based standards] (double_t): Expect type.
2680 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2681 type.
2682 [C99-based standards] (HUGE_VALL): Likewise.
2683 [C99-based standards] (INFINITY): Likewise.
2684 [C99-based standards] (NAN): Likewise.
2685 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2686 [C99-based standards] (FP_NAN): Likewise.
2687 [C99-based standards] (FP_NORMAL): Likewise.
2688 [C99-based standards] (FP_SUBNORMAL): Likewise.
2689 [C99-based standards] (FP_ZERO): Likewise.
2690 [C99-based standards] (FP_FAST_FMA): Use
2691 optional-macro-int-constant. Specify type. Require == 1.
2692 [C99-based standards] (FP_FAST_FMAF): Likewise.
2693 [C99-based standards] (FP_FAST_FMAL): Likewise.
2694 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2695 [C99-based standards] (FP_ILOGBNAN): Likewise.
2696 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2697 Specify type.
2698 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2699 [C99-based standards] (math_errhandling): Specify type.
2700 [ISO99 || ISO11] (signgam): Do not allow.
2701 [non-C99-based standards] (copysignf): Do not allow.
2702 [non-C99-based standards] (exp2f): Likewise.
2703 [non-C99-based standards] (log2f): Likewise.
2704 [non-C99-based standards] (modff): Allow.
2705 [non-C99-based standards] (erff): Do not allow.
2706 [non-C99-based standards] (erfcf): Likewise.
2707 [non-C99-based standards] (gammaf): Likewise.
2708 [non-C99-based standards] (hypotf): Likewise.
2709 [non-C99-based standards] (j0f): Likewise.
2710 [non-C99-based standards] (j1f): Likewise.
2711 [non-C99-based standards] (jnf): Likewise.
2712 [non-C99-based standards] (lgammaf): Likewise.
2713 [non-C99-based standards] (tgammaf): Likewise.
2714 [non-C99-based standards] (y0f): Likewise.
2715 [non-C99-based standards] (y1f): Likewise.
2716 [non-C99-based standards] (ynf): Likewise.
2717 [non-C99-based standards] (isnanf): Likewise.
2718 [non-C99-based standards] (acoshf): Likewise.
2719 [non-C99-based standards] (asinhf): Likewise.
2720 [non-C99-based standards] (atanhf): Likewise.
2721 [non-C99-based standards] (cbrtf): Likewise.
2722 [non-C99-based standards] (expm1f): Likewise.
2723 [non-C99-based standards] (ilogbf): Likewise.
2724 [non-C99-based standards] (log1pf): Likewise.
2725 [non-C99-based standards] (logbf): Likewise.
2726 [non-C99-based standards] (nextafterf): Likewise.
2727 [non-C99-based standards] (remainderf): Likewise.
2728 [non-C99-based standards] (rintf): Likewise.
2729 [non-C99-based standards] (scalbf): Likewise.
2730 [non-C99-based standards] (copysignl): Likewise.
2731 [non-C99-based standards] (exp2l): Likewise.
2732 [non-C99-based standards] (log2l): Likewise.
2733 [non-C99-based standards] (modfl): Allow.
2734 [non-C99-based standards] (erfl): Do not allow.
2735 [non-C99-based standards] (erfcl): Likewise.
2736 [non-C99-based standards] (gammal): Likewise.
2737 [non-C99-based standards] (hypotl): Likewise.
2738 [non-C99-based standards] (j0l): Likewise.
2739 [non-C99-based standards] (j1l): Likewise.
2740 [non-C99-based standards] (jnl): Likewise.
2741 [non-C99-based standards] (lgammal): Likewise.
2742 [non-C99-based standards] (tgammal): Likewise.
2743 [non-C99-based standards] (y0l): Likewise.
2744 [non-C99-based standards] (y1l): Likewise.
2745 [non-C99-based standards] (ynl): Likewise.
2746 [non-C99-based standards] (isnanl): Likewise.
2747 [non-C99-based standards] (acoshl): Likewise.
2748 [non-C99-based standards] (asinhl): Likewise.
2749 [non-C99-based standards] (atanhl): Likewise.
2750 [non-C99-based standards] (cbrtl): Likewise.
2751 [non-C99-based standards] (expm1l): Likewise.
2752 [non-C99-based standards] (ilogbl): Likewise.
2753 [non-C99-based standards] (log1pl): Likewise.
2754 [non-C99-based standards] (logbl): Likewise.
2755 [non-C99-based standards] (nextafterl): Likewise.
2756 [non-C99-based standards] (remainderl): Likewise.
2757 [non-C99-based standards] (rintl): Likewise.
2758 [non-C99-based standards] (scalbl): Likewise.
2759 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2760 [non-C99-based standards] (FP_*): Do not allow.
2761 [C99-based standards] (FP_*): Change to
2762 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2763 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2764 allow.
2765 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2766 (SIG_ERR): Likewise.
2767 [X/Open-based standards] (SIG_HOLD): Likewise.
2768 (SIG_IGN): Likewise.
2769 (SIGABRT): Use macro-int-constant. Specify type. Require
2770 positive value.
2771 (SIGFPE): Likewise.
2772 (SIGILL): Likewise.
2773 (SIGINT): Likewise.
2774 (SIGSEGV): Likewise.
2775 (SIGTER): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2790 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2794 [X/Open-based standards] (SIGTRAP): Likewise.
2795 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2796 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2797 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2798 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2799 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2800 allow.
2801
2802 2012-05-08 Ian Wienand <ianw@vmware.com>
2803
2804 [BZ #14080]
2805 * time/tzset.c (__tzset_parse_tz): Update default rules for
2806 daylight time changes in the Energy Policy Act of 2005.
2807
2808 2012-05-09 Andreas Jaeger <aj@suse.de>
2809
2810 [BZ #13983]
2811 * elf/ldconfig.c (parse_conf): Change string to make clear that
2812 ldconfig only issued a warning if ld.so.conf does not exist.
2813
2814 2012-05-08 David S. Miller <davem@davemloft.net>
2815
2816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2817 movxtod instead of popping the value on the stack.
2818
2819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2820
2821 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2822
2823 * config.h.in: Add HAVE_ARM_PCS_VFP.
2824
2825 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2826
2827 [BZ #13979]
2828 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2829 checking but the checks are disabled for any reason.
2830
2831 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2832
2833 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2834 and ELF64_R_TYPE with ELFW(R_TYPE).
2835
2836 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2837
2838 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2839 (ulimit): Likewise.
2840
2841 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2842 (settimeofday): Likewise.
2843
2844 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2845
2846 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2847 a struct th_u2 inside the union, and move tu_block/tu_code into
2848 a new th_u3 union of tu_block/tu_code inside of that. Move
2849 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2850 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2851 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2852 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2853 (th_stuff): Change to th_u1.tu_stuff.
2854 (th_data): Define.
2855 (th_msg): Change to th_u1.th_u2.tu_data.
2856
2857 2012-05-07 David S. Miller <davem@davemloft.net>
2858
2859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2860
2861 [BZ #14074]
2862 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2863 (SETUP_PIC_REG): Use it.
2864 (SETUP_PIC_REG_LEAF): Use it.
2865
2866 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2867
2868 [BZ #13885]
2869 [BZ #13923]
2870 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2871 USE_AS_EXPM1L.
2872 (EXPL_FINITE): Likewise.
2873 (FLDLOG): Likewise.
2874 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2875 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2876 e_expl.S.
2877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2878 USE_AS_EXPM1L.
2879 (EXPL_FINITE): Likewise.
2880 (FLDLOG): Likewise.
2881 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2882 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2883 e_expl.S.
2884 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2885 test of -max_value argument for long double.
2886 * sysdeps/i386/fpu/libm-test-ulps: Update.
2887 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2888
2889 2012-05-06 David S. Miller <davem@davemloft.net>
2890
2891 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2892 quad soft-float symbols whose references which are compiler
2893 generated.
2894 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2895
2896 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2897
2898 [BZ #13884]
2899 [BZ #13914]
2900 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2901 USE_AS_EXP10L.
2902 (EXPL_FINITE): Likewise.
2903 (FLDLOG): Likewise.
2904 (c0): Likewise.
2905 (c1): Likewise.
2906 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2907 Adjust comments for base varying.
2908 (__expl_finite): Change alias to EXPL_FINITE.
2909 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2910 e_expl.S.
2911 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2912 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2914 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2915 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2916 USE_AS_EXP10L.
2917 (EXPL_FINITE): Likewise.
2918 (FLDLOG): Likewise.
2919 (c0): Likewise.
2920 (c1): Likewise.
2921 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2922 Adjust comments for base varying.
2923 (__expl_finite): Change alias to EXPL_FINITE.
2924 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2925 tests for bugs.
2926 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2927
2928 [BZ #14064]
2929 * math/libm-test.inc (check_float_internal): Correct ulp
2930 calculation for subnormal expected results.
2931
2932 2012-05-06 Andreas Jaeger <aj@suse.de>
2933
2934 * Makeconfig (+math-flags): New, set to -frounding-math.
2935 (+cflags): Add +math-flags so that all of glibc gets compiled with
2936 it.
2937
2938 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2939
2940 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2941
2942 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2943 Disable one test.
2944
2945 [BZ #13787]
2946 [BZ #13922]
2947 [BZ #14036]
2948 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2949 (__ieee754_expl): Allow for and saturate large arguments.
2950 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2951 (u_threshold): Likewise.
2952 (__exp): Call __ieee754_exp before checking for overflow and
2953 underflow.
2954 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2955 (u_threshold): Likewise.
2956 (__expf): Call __ieee754_expf before checking for overflow and
2957 underflow.
2958 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2959 (u_threshold): Likewise.
2960 (__expl): Call __ieee754_expl before checking for overflow and
2961 underflow.
2962 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2963 (__ieee754_expl): Allow for and saturate large arguments.
2964 * math/libm-test.inc (exp_test): Add another test. Do not allow
2965 missing overflow exception on overflow.
2966 (expm1_test): Do not allow missing overflow exception on overflow.
2967
2968 * sysdeps/i386/fpu/e_expl.c: Move to ...
2969 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2970 rather than using inline asm.
2971 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2972 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2973 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2974
2975 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2976 (nice): Likewise.
2977 (poll): Likewise.
2978 (signal): Likewise.
2979 (time): Likewise.
2980 (times): Likewise.
2981
2982 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2983
2984 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2985 sysdeps/unix/common/syscalls.list.
2986 (fchmod): Likewise.
2987 (fchown): Likewise.
2988 (ftruncate): Likewise.
2989 (getrusage): Likewise.
2990 (gettimeofday): Likewise.
2991 (setpgid): Likewise.
2992 (setregid): Likewise.
2993 (setreuid): Likewise.
2994 (sigaction): Likewise.
2995 (truncate): Likewise.
2996 (vhangup): Likewise.
2997 * sysdeps/unix/common/syscalls.list: Remove file.
2998 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2999 * sysdeps/unix/sysv/linux/Implies: Likewise.
3000
3001 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
3002
3003 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3005 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3006 Moved to ...
3007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3008 Here.
3009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3010 to ...
3011 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3013 to ...
3014 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3015 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3016 to ...
3017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3018 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3019 to ...
3020 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3021 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3022 to ...
3023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3024 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3025 to ...
3026 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3027 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3028 to ...
3029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3030 Here.
3031 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3032 to ...
3033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3034 Here.
3035 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3036 to ...
3037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3038 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3039 Moved to ...
3040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3041 Here.
3042 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3043 to ...
3044 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3045
3046 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3047
3048 * sysdeps/unix/common/bits/dirent.h: Remove file.
3049 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3050
3051 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3052 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3053 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3054 * sysdeps/unix/bsd/isatty.c: Likewise.
3055 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3056 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3057 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3058
3059 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3060
3061 [BZ #13563]
3062 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3063 long double comparison inaccuracies.
3064 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3066
3067 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3068
3069 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3070 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3071
3072 2012-05-04 Joseph Myers <joseph@codesourcery.com>
3073
3074 [BZ #14049]
3075 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3076 nonzero digits before rounding a hex value.
3077 * stdlib/tst-strtod.c (tests): Add another test.
3078
3079 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3080
3081 * sysdeps/s390/fpu/libm-test-ulps: Update.
3082
3083 2012-05-03 Andreas Jaeger <aj@suse.de>
3084
3085 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3086 does not get optimized out.
3087 (malloc_opt_barrier): New.
3088
3089 2012-05-03 Andreas Jaeger <aj@suse.de>
3090 Roland McGrath <roland@hack.frob.com>
3091
3092 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
3093 intermediate file deletion.
3094 (generated): Add .symlist files.
3095
3096 2012-05-03 Joseph Myers <joseph@codesourcery.com>
3097
3098 [BZ #13775]
3099 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3100 Redirect under this condition.
3101 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3102 [__USE_GNU] (__dprintf_chk): Not under this condition.
3103 [__USE_GNU] (__vdprintf_chk): Likewise.
3104 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3105 under this condition.
3106 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3107 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3108 [__USE_XOPEN2K8] (vdprintf): Likewise.
3109 [__USE_GNU] (__dprintf_chk): Not under this condition.
3110 [__USE_GNU] (__vdprintf_chk): Likewise.
3111 [__USE_GNU] (dprintf): Likewise.
3112 [__USE_GNU] (vdprintf): Likewise.
3113
3114 2012-05-03 Roland McGrath <roland@hack.frob.com>
3115
3116 * elf/Makefile (common-generated): Set this instead of generated for
3117 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3118 $(all-built-dso)-derived lists.
3119
3120 2012-05-03 Andreas Jaeger <aj@suse.de>
3121
3122 * sysdeps/i386/fpu/libm-test-ulps: Update.
3123
3124 * FAQ: Removed.
3125 * FAQ.in: Likewise.
3126 * scripts/gen-FAQ.pl: Likewise.
3127 * manual/install.texi (Installation): Point to online location of
3128 FAQ.
3129 * Makefile (files-for-dist): Remove FAQ.
3130 (FAQ): Remove.
3131
3132 2012-05-02 Allan McRae <allan@archlinux.org>
3133
3134 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3135 (LDFLAGS-reldepmod5.so): Likewise.
3136 (LDFLAGS-reldep6mod1.so): Likewise.
3137 (LDFLAGS-reldep6mod4.so): Likewise.
3138 (LDFLAGS-reldep8mod3.so): Likewise.
3139 (LDFLAGS-unload4mod1.so): Likewise.
3140 (LDFLAGS-unload4mod2.so): Likewise.
3141 (LDFLAGS-tst-initorder): Likewise.
3142 (LDFLAGS-tst-initordera2.so): Likewise.
3143 (LDFLAGS-tst-initordera3.so): Likewise.
3144 (LDFLAGS-tst-initordera4.so): Likewise.
3145 (LDFLAGS-tst-initorderb2.so): Likewise.
3146 (LDFLAGS-noload): Likewise.
3147 (LDFLAGS-next): Likewise.
3148 (LDFLAGS-order2mod1.so): Likewise.
3149 (LDFLAGS-order2mod2.so): Likewise.
3150 (LDFLAGS-tst-initorder2): Likewise.
3151 (LDFLAGS-tst-initorder2a.so): Likewise.
3152 (LDFLAGS-tst-initorder2b.so): Likewise.
3153 (LDFLAGS-tst-initorder2c.so): Likewise.
3154 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3155
3156 2012-05-02 David S. Miller <davem@davemloft.net>
3157
3158 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3159
3160 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3161
3162 [BZ #14055]
3163 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3164
3165 2012-05-02 Andreas Jaeger <aj@suse.de>
3166
3167 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3168 since we manipulate rounding mode.
3169 (CPPFLAGS-test-idouble.c): Likewise.
3170 (CPPFLAGS-test-ifloat.c): Likewise.
3171 (CFLAGS-test-ldouble.c): Likewise.
3172 (CFLAGS-test-double.c): Likewise.
3173 (CFLAGS-test-float.c): Likewise.
3174 (CFLAGS-test-misc.c): Likewise.
3175 (CFLAGS-test-test-fenv.c): Likewise.
3176
3177 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3178
3179 [BZ #2550]
3180 [BZ #2570]
3181 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3182 comparisons to determine direction to adjust input.
3183
3184 2012-05-01 Roland McGrath <roland@hack.frob.com>
3185
3186 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3187 output to the target.
3188
3189 * scripts/localplt.awk: New file.
3190 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3191 (check-localplt-CFLAGS): Variable removed.
3192 ($(all-built-dso:=.jmprel)): New static pattern rule.
3193 (generated): Add those targets.
3194 (localplt-built-dso): New variable.
3195 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3196
3197 * elf/check-localplt.c: File removed.
3198
3199 * scripts/check-execstack.awk: New file.
3200 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3201 (check-execstack-CFLAGS): Variable removed.
3202 ($(objpfx)check-execstack.h): Target removed.
3203 ($(objpfx)execstack-default): New target.
3204 (generated): Add that instead of check-execstack.h.
3205 ($(all-built-dso:=.phdr)): New static pattern rule.
3206 (generated): Add those targets.
3207 * elf/check-execstack.c: File removed.
3208
3209 * scripts/check-textrel.awk: New file.
3210 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3211 (check-textrel-CFLAGS): Variable removed.
3212 (all-built-dso): Use := to define.o
3213 ($(all-built-dso:=.dyn)): New static pattern rule.
3214 (generated): Add those targets.
3215 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3216 * config.make.in (READELF): New substituted variable.
3217 * elf/check-textrel.c: File removed.
3218
3219 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3220
3221 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3222 allow.
3223 * conform/data/ctype.h-data [C99-based standards] (isblank):
3224 Expect function.
3225 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3226 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3227 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3228 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3229 Specify type. Require positive value.
3230 (EILSEQ): Likewise.
3231 (ERANGE): Likewise.
3232 [ISO || POSIX] (EILSEQ): Do not expect.
3233 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3234 Specify type. Require positive value.
3235 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3261 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3266 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3267 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3270 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3271 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3272 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3273 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3274 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3275 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3276 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3277 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3286 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3291 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3292 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3293 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3294 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3295 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3296 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3297 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3298 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3299 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3300 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3301 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3302 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3303 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3304 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3305 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3306 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3307 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3308 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3309 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3310 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3311 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3312 Require >= 2.
3313 (FLT_ROUNDS): Expect as macro, not constant.
3314 (FLT_MANT_DIG): Use macro-int-constant.
3315 (DBL_MANT_DIG): Likewise.
3316 (LDBL_MANT_DIG): Likewise.
3317 (FLT_DIG): Likewise.
3318 (DBL_DIG): Likewise.
3319 (LDBL_DIG): Likewise.
3320 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3321 (DBL_MIN_EXP): Likewise.
3322 (LDBL_MIN_EXP): Likewise.
3323 (FLT_MAX_EXP): Use macro-int-constant.
3324 (DBL_MAX_EXP): Likewise.
3325 (LDBL_MAX_EXP): Likewise.
3326 (FLT_MAX_10_EXP): Likewise.
3327 (DBL_MAX_10_EXP): Likewise.
3328 (LDBL_MAX_10_EXP): Likewise.
3329 (FLT_MAX): Use macro-constant.
3330 (DBL_MAX): Likewise.
3331 (LDBL_MAX): Likewise.
3332 (FLT_EPSILON): Use macro-constant. Give upper bound.
3333 (DBL_EPSILON): Likewise.
3334 (LDBL_EPSILON): Likewise.
3335 (FLT_MIN): Likewise.
3336 (DBL_MIN): Likewise.
3337 (LDBL_MIN): Likewise.
3338 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3339 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3340 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3341 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3342 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3343 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3344 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3345 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3346 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3347 [ISO11] (FLT_TRUE_MIN): Likewise.
3348 [ISO11] (LDBL_TRUE_MIN): Likewise.
3349 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3350 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3351 (SCHAR_MIN): Use macro-int-constant. Specify type.
3352 (SCHAR_MAX): Likewise.
3353 (UCHAR_MAX): Likewise.
3354 (CHAR_MIN): Likewise.
3355 (CHAR_MAX): Likewise.
3356 (MB_LEN_MAX): Use macro-int-constant.
3357 (SHRT_MIN): Use macro-int-constant. Specify type.
3358 (SHRT_MAX): Likewise.
3359 (USHRT_MAX): Likewise.
3360 (INT_MAX): Likewise.
3361 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3362 bound negative.
3363 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3364 bound with "U".
3365 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3366 bound with "L".
3367 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3368 bound negative. Suffix upper bound with "L".
3369 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3370 bound with "UL".
3371 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3372 Specify type.
3373 [C99-based standards] (LLONG_MAX): Likewise.
3374 [C99-based standards] (ULLONG_MAX): Likewise.
3375 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3376 == 0.
3377 [ISO11] (max_align_t): Require type.
3378 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3379
3380 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3381 from $CFLAGS, without defining away __attribute__ calls.
3382 (checknamespace): Use $CFLAGS_namespace.
3383
3384 * conform/conformtest.pl (@keywords): Only include C99 keywords
3385 for standards based on C99 or C11.
3386
3387 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3388 Disable tests.
3389 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3390 UNIX98]: Likewise.
3391
3392 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3393 usability of symbols in #if.
3394
3395 * conform/conformtest.pl: If macro or constant types start
3396 "promoted:", expect the symbol to be of the following type
3397 promoted by the integer promotions.
3398
3399 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3400 in one place. Also handle "macro-constant".
3401
3402 * conform/conformtest.pl: Only accept expected macro values with
3403 "==". Parse all "macro" lines in one place.
3404 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3405
3406 * conform/conformtest.pl: Handle braced types on "constant" lines
3407 instead of handling "typed-constant".
3408 * conform/data/signal.h-data: Use "constant" instead of
3409 "typed-constant".
3410
3411 * conform/conformtest.pl: Handle "optional-" at start of lines in
3412 one place rather than duplicating several cases. Handle each
3413 format of "macro" line with initial "optional-".
3414
3415 * conform/conformtest.pl: Only accept expected constant or
3416 optional-constant values with "==". Parse all "constant" lines in
3417 one place. Parse all "optional-constant" lines in one place.
3418 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3419 * conform/data/fmtmsg.h-data: Likewise.
3420 * conform/data/netinet/in.h-data: Likewise.
3421 * conform/data/tar.h-data: Likewise.
3422 * conform/data/limits.h-data: Use "==" form on "constant" and
3423 "optional-constant" lines.
3424
3425 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3426 Use -std=c99 for XOPEN2K.
3427 (@knownproblems): Remove.
3428 (newtoken): Don't check %isknown.
3429
3430 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3431 Do not expect macro.
3432 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3444 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3445 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3459 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3462 [XPG3] (acosh): Likewise.
3463 [XPG3] (asinh): Likewise.
3464 [XPG3] (atanh): Likewise.
3465 [XPG3] (cbrt): Likewise.
3466 [XPG3] (expm1): Likewise.
3467 [XPG3] (ilogb): Likewise.
3468 [XPG3] (log1p): Likewise.
3469 [XPG3] (logb): Likewise.
3470 [XPG3] (nextafter): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3473 [XPG3] (remainder): Likewise.
3474 [XPG3] (rint): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3482 [UNIX98 || XOPEN2K] (scalb): Expect.
3483 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3484 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3616 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3617 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3618 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3619 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3620
3621 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3622 _XOPEN_SOURCE_EXTENDED for XPG4.
3623
3624 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3625
3626 * Makeconfig (localtime): Remove variable.
3627 (inst_localtime-file): Likewise.
3628
3629 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3630
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3632 Update.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3634 Update.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3636 Update.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3638 Update.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3640 Update.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3642 Update.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3644 Update.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3646 Update.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3648 Update.
3649
3650 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3651
3652 [BZ #2550]
3653 [BZ #2570]
3654 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3655 comparisons to determine direction to adjust input.
3656 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3657 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3659 Likewise.
3660 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3661 Likewise.
3662 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3663 Likewise.
3664 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3665 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3666 Likewise.
3667 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3668 Likewise.
3669 * math/libm-test.inc (nexttoward_test): Add more tests.
3670
3671 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3672
3673 [BZ #14040]
3674 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3675 in version GLIBC_2.1, not GLIBC_2.0.
3676 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3677 Likewise.
3678
3679 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3680
3681 [BZ #13942]
3682 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3683 (1 - x) * (1 + x).
3684 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3685 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3686 * math/libm-test.inc (acos_test): Add more tests.
3687 (asin_test): Likewise.
3688 * sysdeps/i386/fpu/libm-test-ulps: Update.
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3690
3691 [BZ #14034]
3692 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3693 of square root.
3694 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3695 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3696 * math/libm-test.inc (acos_test_tonearest): New function.
3697 (acos_test_towardzero): Likewise.
3698 (acos_test_downward): Likewise.
3699 (acos_test_upward): Likewise.
3700 (asin_test_tonearest): Likewise.
3701 (asin_test_towardzero): Likewise.
3702 (asin_test_downward): Likewise.
3703 (asin_test_upward): Likewise.
3704 (main): Call the new functions.
3705 * sysdeps/i386/fpu/libm-test-ulps: Update.
3706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3707
3708 [BZ #13884]
3709 [BZ #13924]
3710 * math/e_exp10.c: Include <float.h>.
3711 (__ieee754_exp10): Handle underflow here rather than multiplying
3712 large negative argument by M_LN10.
3713 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3714 of __ieee754_expf.
3715 * math/e_exp10l.c: Include <float.h>.
3716 (__ieee754_exp10l): Handle underflow here rather than multiplying
3717 large negative argument by M_LN10l.
3718 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3719 spurious overflow exception on underflow.
3720
3721 2012-04-29 Marek Polacek <polacek@redhat.com>
3722
3723 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3724 (__fortify_function): New macro.
3725 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3726 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3727 __extern_always_inline.
3728 * libio/bits/stdio2.h: Likewise.
3729 * libio/bits/stdio.h: Likewise.
3730 * string/string.h: Likewise.
3731 * string/bits/string3.h: Likewise.
3732 * include/stdio.h: Likewise.
3733 * stdlib/bits/stdlib.h: Likewise.
3734 * stdlib/stdlib.h: Likewise.
3735 * rt/bits/mqueue2.h: Likewise.
3736 * rt/mqueue.h: Likewise.
3737 * posix/bits/unistd.h: Likewise.
3738 * posix/unistd.h: Likewise.
3739 * io/bits/poll2.h: Likewise.
3740 * io/bits/fcntl2.h: Likewise.
3741 * io/fcntl.h: Likewise.
3742 * io/sys/poll.h: Likewise.
3743 * misc/bits/syslog.h: Likewise.
3744 * misc/bits/syslog-ldbl.h: Likewise.
3745 * misc/sys/syslog.h: Likewise.
3746 * socket/bits/socket2.h: Likewise.
3747 * socket/sys/socket.h: Likewise.
3748 * debug/tst-chk1.c: Likewise.
3749 * wcsmbs/bits/wchar2.h: Likewise.
3750 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3751 * wcsmbs/wchar.h: Likewise.
3752
3753 2012-04-29 Andreas Jaeger <aj@suse.de>
3754
3755 * Makerules (tests): Remove enable-check-abi protection.
3756 (check-abi-warn): Remove.
3757 (check-abi-%): Remove check-abi-warn usage.
3758
3759 * configure.in: Remove check-abi configure option.
3760 * configure: Regenerated.
3761 * config.make.in (enable-check-abi): Remove.
3762
3763 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3764
3765 [BZ #14033]
3766 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3767 double functions to double *_finite functions.
3768
3769 [BZ #13941]
3770 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3771 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3772 LDBL_MIN_EXP.
3773 * stdio-common/Makefile (tests): Add tst-sprintf3.
3774 * stdio-common/tst-sprintf3.c: New file.
3775
3776 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3777 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3778
3779 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3780
3781 * conform/conformtest.pl: Remove duplicate typed-constant
3782 handling.
3783
3784 2012-04-28 David S. Miller <davem@davemloft.net>
3785
3786 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3787 (check-abi-%): Remove AWK script prerequisite and explicit
3788 abilist directory.
3789 (check-abi): Rewrite to just diff the symlist with the abilist.
3790 (config-tls, config-abi-config): Delete, no longer used.
3791 (update-abi-%): Remove AWK script and explicit abilist directory.
3792 (update-abi): Rewrite to simply compare and conditionally copy the
3793 symlist and the sysdep abilist file. Remove update-abi-config
3794 checks.
3795 * abilist/ld.abilist: Remove.
3796 * abilist/libBrokenLocale.abilist: Remove.
3797 * abilist/libanl.abilist: Remove.
3798 * abilist/libcrypt.abilist: Remove.
3799 * abilist/libdl.abilist: Remove.
3800 * abilist/librt.abilist: Remove.
3801 * abilist/libthread_db.abilist: Remove.
3802 * abilist/libutil.abilist: Remove.
3803 * scripts/extract-abilist.awk: Remove.
3804 * scripts/merge-abilist.awk: Remove.
3805 * sysdeps/generic/libcidn.abilist: New file.
3806 * sysdeps/generic/libnss_compat.abilist: New file.
3807 * sysdeps/generic/libnss_db.abilist: New file.
3808 * sysdeps/generic/libnss_dns.abilist: New file.
3809 * sysdeps/generic/libnss_files.abilist: New file.
3810 * sysdeps/generic/libnss_hesiod.abilist: New file.
3811 * sysdeps/generic/libnss_nis.abilist: New file.
3812 * sysdeps/generic/libnss_nisplus.abilist: New file.
3813 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3814 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3815 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3816 file.
3817 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3818 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3819 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3820 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3821 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3822 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3823 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3824 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3825 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3826 file.
3827 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3828 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3829 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3830 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3831 file.
3832 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3833 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3834 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3835 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3836 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3838 file.
3839 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3840 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3841 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3842 file.
3843 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3845 New file.
3846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3847 New file.
3848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3849 New file.
3850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3851 New file.
3852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3853 New file.
3854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3855 New file.
3856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3857 New file.
3858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3859 New file.
3860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3861 New file.
3862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3863 New file.
3864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3865 New file.
3866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3867 New file.
3868 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3869 New file.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3871 file.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3873 New file.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3875 New file.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3877 file.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3879 New file.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3881 New file.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3883 file.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3885 New file.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3887 New file.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3889 New file.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3891 New file.
3892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3893 New file.
3894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3895 New file.
3896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3898 file.
3899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3900 New file.
3901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3902 file.
3903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3904 file.
3905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3906 file.
3907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3908 file.
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3910 file.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3912 New file.
3913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3914 file.
3915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3916 file.
3917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3918 New file.
3919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3920 file.
3921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3923 file.
3924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3925 New file.
3926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3927 file.
3928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3929 file.
3930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3931 file.
3932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3933 file.
3934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3935 file.
3936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3937 New file.
3938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3939 file.
3940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3941 file.
3942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3943 New file.
3944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3945 file.
3946 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3947 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3948 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3949 file.
3950 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3951 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3952 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3953 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3954 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3955 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3956 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3957 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3958 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3959 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3962 file.
3963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3964 New file.
3965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3966 file.
3967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3968 file.
3969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3970 file.
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3972 file.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3974 file.
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3976 New file.
3977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3978 New file.
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3982 New file.
3983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3984 file.
3985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3987 file.
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3989 New file.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3991 file.
3992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3995 file.
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3997 file.
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3999 file.
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4001 New file.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
4003 New file.
4004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4005 file.
4006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4007 New file.
4008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4009 file.
4010
4011 2012-04-28 Joseph Myers <joseph@codesourcery.com>
4012
4013 * conform/conformtest.pl: Fix typo in handling typed-constant from
4014 allow-header.
4015
4016 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4017
4018 * README: Cut down references to pre-2.6 Linux kernels and
4019 Linuxthreads. Update lists of configurations in libc and ports
4020 and sort alphabetically. Say "or newer" with Linux kernel version
4021 requirements.
4022
4023 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4024
4025 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4026
4027 [BZ #887]
4028 * math/libm-test.inc (logb_test_downward): New test to expose
4029 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4030 rounding mode.
4031
4032 2012-04-27 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #14027]
4035 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4036 to be done.
4037 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4038 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4039
4040 2012-04-26 Joseph Myers <joseph@codesourcery.com>
4041
4042 * sysdeps/unix/i386/brk.S: Remove file.
4043 * sysdeps/unix/i386/dl-brk.S: Likewise.
4044 * sysdeps/unix/i386/pipe.S: Likewise.
4045 * sysdeps/unix/i386/sigreturn.S: Likewise.
4046 * sysdeps/unix/i386/syscall.S: Likewise.
4047 * sysdeps/unix/i386/vfork.S: Likewise.
4048 * sysdeps/unix/i386/wait.S: Likewise.
4049
4050 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4051 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4052
4053 * configure.in (arm*-none*): Do not allow without
4054 --enable-hacker-mode.
4055 (netbsd*): Remove case setting base_os.
4056 (386bsd*): Likewise.
4057 (freebsd*): Likewise.
4058 (bsdi*): Likewise.
4059 (osf*): Likewise.
4060 (sunos*): Likewise.
4061 (ultrix*): Likewise.
4062 (newsos*): Likewise.
4063 (dynix*): Likewise.
4064 (*bsd*): Likewise.
4065 (sysv*): Likewise.
4066 (isc*): Likewise.
4067 (esix*): Likewise.
4068 (sco*): Likewise.
4069 (minix*): Likewise.
4070 (irix4*): Likewise.
4071 (irix6*): Likewise.
4072 (solaris[2-9]*): Likewise.
4073 (none): Likewise.
4074 * configure: Regenerated.
4075
4076 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077
4078 [BZ #11521]
4079 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4080 overflow or cancellation in calculating denominator.
4081 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4083 down expression to avoid unexpected rounding in newer GCCs.
4084 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4085
4086 2012-04-26 David S. Miller <davem@davemloft.net>
4087
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4089 long-double compat symbols.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4101 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4102 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4103
4104 2012-04-25 David S. Miller <davem@davemloft.net>
4105
4106 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4107 HWCAP_* values only after the memory barriers have been defined.
4108 (atomic_full_barrier): Define.
4109 (atomic_read_barrier): Define.
4110 (atomic_write_barrier): Define.
4111
4112 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4113
4114 * shlib-versions: Add libgcc_s version information.
4115 * sysdeps/generic/libgcc_s.h: Remove.
4116 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4117 libgcc_s.h.
4118 * sysdeps/gnu/unwind-resume.c: Likewise.
4119 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4120
4121 2012-04-25 David S. Miller <davem@davemloft.net>
4122
4123 * sysdeps/unix/sparc/brk.S: Delete.
4124 * sysdeps/unix/sparc/dl-brk.S: Delete.
4125 * sysdeps/unix/sparc/pipe.S: Delete.
4126 * sysdeps/unix/sparc/sysdep.S: Delete.
4127 * sysdeps/unix/sparc/sysdep.h: Delete.
4128 * sysdeps/unix/sparc/vfork.S: Delete.
4129 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4130 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4131 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4132 ret_ERRVAL, r0, r1, MOVE): Define.
4133 (JUMPTARGET): Remove.
4134 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4135 sysdeps/unix/sparc/sysdep.h
4136 (ENTRY, END): Remove.
4137 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4138
4139 2012-04-25 Joseph Myers <joseph@codesourcery.com>
4140
4141 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4142 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4143 -DIS_IN_build.
4144
4145 * timezone/README: Update upstream location and email address for
4146 tzcode and tzdata.
4147 * timezone/zdump.c: Update from tzcode 2012b.
4148 * timezone/zic.c: Likewise.
4149
4150 * configure.in (libc_cv_as_needed): Remove test.
4151 * configure: Regenerated.
4152 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4153 conditional definition.
4154 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4155 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4156 * config.make.in (have-as-needed): Remove variable.
4157
4158 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4159 Paul Pluzhnikov <ppluzhnikov@google.com>
4160
4161 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4162 strings correctly.
4163
4164 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4165
4166 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4167 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4168 * sysdeps/sh/strlen.S: Likewise.
4169
4170 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4171
4172 * sysdeps/unix/fork.S: Remove file.
4173 * sysdeps/unix/i386/fork.S: Likewise.
4174 * sysdeps/unix/sparc/fork.S: Likewise.
4175
4176 * sysdeps/unix/system.c: Remove file.
4177 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4178
4179 * sysdeps/unix/getegid.S: Remove file.
4180 * sysdeps/unix/geteuid.S: Likewise.
4181
4182 2012-04-24 Roland McGrath <roland@hack.frob.com>
4183
4184 * scripts/check-localplt.awk: New file.
4185 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4186 of diff.
4187 * scripts/data/localplt-generic.data: Add a comment.
4188
4189 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4190 NODE when __dir_mkfile failed.
4191 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4192 Reported by Ludovic Courtès <ludo@gnu.org>.
4193
4194 2012-04-24 Andreas Jaeger <aj@suse.de>
4195
4196 * Makerules (common-clean): Also remove gen-as-const-headers
4197 files.
4198
4199 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4200
4201 * Makerules (native-compile): Do not change working directory for
4202 build. Use $(OUTPUT_OPTION) in command.
4203 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4204
4205 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4206
4207 [BZ #13886]
4208 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4209 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4210 * math/libm-test.inc (floor_test): Add more tests.
4211 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4212
4213 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4214
4215 * sysdeps/unix/getdents.c: Remove file.
4216 * sysdeps/unix/sysv/getdents.c: Likewise.
4217 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4218
4219 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4220 sysdeps/unix/mman/syscalls.list.
4221 (mmap): Likewise.
4222 (mprotect): Likewise.
4223 (msync): Likewise.
4224 (munmap): Likewise.
4225 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4226 * sysdeps/unix/mman/syscalls.list: Remove.
4227 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4228
4229 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4230 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4231 * configure: Regenerated.
4232 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4233 $(libgcc_s_suffix).
4234 * config.make.in (libgcc_s_suffix): Remove variable.
4235
4236 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4237
4238 * sysdeps/unix/sysv/gethostname.c: Move to ...
4239 * sysdeps/posix/gethostname.c: ... here.
4240
4241 * sysdeps/unix/execve.S: Remove file.
4242
4243 * sysdeps/unix/_exit.S: Remove file.
4244
4245 2012-04-23 Andreas Jaeger <aj@suse.de>
4246
4247 [BZ #13739]
4248 * manual/Makefile: Remove make dist support, there's no
4249 need for a stand-alone documentation tar ball.
4250 (TEXI2DVI): Define always, it's not in Makeconfig.
4251 (dist): Removed.
4252 (tar-it): Removed.
4253 (edition): Removed.
4254 (glibc-doc-$(edition).tar): Removed
4255 (%.Z): Removed.
4256 (%.gz): Removed.
4257 (%.uu): Removed.
4258 (ETAGS): Remove, it's in Makeconfig.
4259 (move-if-change): Remove, it's in Makeconfig.
4260
4261 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4262
4263 [BZ #13970]
4264 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4265 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4266 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4267 (strtod_l, strtof_l, strtold_l): Remove __wur.
4268 It is not necessarily an error to ignore strtol's return value.
4269 One can reliably look at the stored endptr to decide whether
4270 the number had valid syntax.
4271
4272 2012-04-21 Andreas Jaeger <aj@suse.de>
4273
4274 [BZ #13739]
4275 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4276
4277 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4278
4279 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4280 * sysdeps/unix/sysv/Versions: Remove file.
4281
4282 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4283
4284 [BZ #13927]
4285 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4286
4287 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4288
4289 [BZ #7064]
4290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4291 version from __vm86.
4292
4293 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4294
4295 * sysdeps/unix/common/lxstat.c: Remove file.
4296 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4297
4298 * sysdeps/unix/sysv/Makefile: Remove file.
4299
4300 * sysdeps/unix/sysv/direct.h: Remove file.
4301
4302 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4303 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4304 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4305 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4306 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4307 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4308 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4309
4310 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4311
4312 * sysdeps/unix/xmknod.c: Remove file.
4313 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4314
4315 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4316
4317 * sysdeps/unix/sysv/i386/time.S: Remove file.
4318
4319 * sysdeps/unix/fxstat.c: Remove file.
4320 * sysdeps/unix/xstat.c: Likewise.
4321 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4322
4323 * sysdeps/unix/sysv/sigaction.c: Remove file.
4324
4325 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4326 (sysdep_headers): Remove variable.
4327 [termio.h not in sysdep_headers] (generated): Likewise.
4328 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4329 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4330 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4331 * sysdeps/unix/sysv/tcflow.c: Likewise.
4332 * sysdeps/unix/sysv/tcflush.c: Likewise.
4333 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4334 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4335 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4336 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4337 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4338
4339 * sysdeps/unix/siglist.c: Remove file.
4340
4341 * sysdeps/unix/getppid.S: Remove file.
4342
4343 * sysdeps/unix/mkdir.c: Remove file.
4344 * sysdeps/unix/rmdir.c: Likewise.
4345
4346 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4347
4348 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4349 ERR_MAX value.
4350 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4351 errlist-compat value.
4352
4353 2012-04-18 David S. Miller <davem@davemloft.net>
4354
4355 * sysdeps/generic/memcopy.h (reg_char): Delete.
4356 * debug/strcat_chk.c: Use char, not reg_char.
4357 * debug/strcpy_chk.c: Likewise.
4358 * debug/strncat_chk.c: Likewise.
4359 * debug/strncpy_chk.c: Likewise.
4360 * string/memchr.c: Likewise.
4361 * string/memrchr.c: Likewise.
4362 * string/rawmemchr.c: Likewise.
4363 * string/strcat.c: Likewise.
4364 * string/strchr.c: Likewise.
4365 * string/strchrnul.c: Likewise.
4366 * string/strcmp.c: Likewise.
4367 * string/strcpy.c: Likewise.
4368 * string/strncat.c: Likewise.
4369 * string/strncmp.c: Likewise.
4370 * string/strncpy.c: Likewise.
4371
4372 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4373
4374 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4375 __builtin_memcopy is called when src and dest ranges are known to not
4376 overlap.
4377
4378 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4379
4380 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4381 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4382 fwd_align_merge macro call.
4383 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4384 bwd_align_merge macro call.
4385 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4386
4387 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4388
4389 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4390 bwd_align_merge macros.
4391 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4392 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4393 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4394
4395 2012-04-18 David S. Miller <davem@davemloft.net>
4396
4397 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4398
4399 2012-04-18 Andreas Jaeger <aj@suse.de>
4400
4401 [BZ# 6794]
4402 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4403 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4404 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4405
4406 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4407 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4408 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4409
4410 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4411 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4412 Adjust for changed ldbl-128 files.
4413
4414 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4415 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4416 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4417
4418 2012-04-17 David S. Miller <davem@davemloft.net>
4419
4420 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4421
4422 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4423
4424 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4425 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4426 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4427 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4428 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4429 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4430
4431 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4432
4433 [BZ #6794]
4434 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4435 * math/libm-test.inc: Add ilogb errno and exception tests.
4436 * math/w_ilogb.c: New file: ilogb wrapper.
4437 * math/w_ilogbf.c: New file: ilogbf wrapper.
4438 * math/w_ilogbl.c: New file: ilogbl wrapper.
4439 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4440 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4441 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4442 exception being thrown with 0.0 as argument.
4443 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4444 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4445 exception being thrown with 0.0 as argument.
4446 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4447 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4448 exception being thrown with 0.0 as argument.
4449 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4450 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4451 exception being thrown with 0.0 as argument.
4452 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4453 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4454 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4455 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4456 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4457 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4458 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4459 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4460 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4461
4462 2012-04-17 Petr Baudis <pasky@ucw.cz>
4463
4464 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4465 with altivec.
4466
4467 2012-04-16 Marek Polacek <polacek@redhat.com>
4468
4469 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4470
4471 2012-04-16 Marek Polacek <polacek@redhat.com>
4472
4473 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4474 operands of fdivp instruction.
4475
4476 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4477
4478 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4479 * elf/tst-auditmod3b.c: Likewise.
4480 * elf/tst-auditmod4b.c: Likewise.
4481 * elf/tst-auditmod5b.c: Likewise.
4482 * elf/tst-auditmod6b.c: Likewise.
4483 * elf/tst-auditmod6c.c: Likewise.
4484 * elf/tst-auditmod7b.c: Likewise.
4485 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4486 * sysdeps/x86_64/preconfigure.in: Likewise.
4487 * sysdeps/x86_64/preconfigure: Regenerated.
4488
4489 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4490
4491 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4492 __ILP32__.
4493
4494 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4495
4496 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4497 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4498
4499 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4500
4501 [BZ #13973]
4502 * locale/iso-639.def: Fix gl language name. Spotted by
4503 Yaron Shahrabani.
4504
4505 2012-04-12 Roland McGrath <roland@hack.frob.com>
4506
4507 [BZ #2074]
4508 * libio/libio.h (__io_write_fn): Update comment.
4509
4510 2012-04-12 Petr Baudis <pasky@ucw.cz>
4511
4512 [BZ #2074]
4513 * stdio.texi (Hook Functions): The user provided writer function
4514 is not allowed to return -1.
4515
4516 2012-04-11 David S. Miller <davem@davemloft.net>
4517
4518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4519
4520 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4521
4522 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4523 Add a leading slash to rtkaio.
4524
4525 2012-04-11 Jim Meyering <meyering@redhat.com>
4526
4527 [BZ #11959]
4528 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4529 It is not necessarily an error to ignore fwrite's return
4530 value. One can reliably use ferror to test for errors after
4531 the fact.
4532
4533 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4534
4535 * bits/types.h (__snseconds_t): New type.
4536 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4537
4538 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4539 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4540 (__SNSECONDS_T_TYPE): Likewise.
4541 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4542 (__SNSECONDS_T_TYPE): Likewise.
4543 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4544 (__SNSECONDS_T_TYPE): Likewise.
4545
4546 2012-04-10 Andreas Jaeger <aj@suse.de>
4547
4548 [BZ #2636]
4549 * manual/time.texi (Processor Time): Return type of times is
4550 elapsed real time since an arbitrary point in the past.
4551 (CPU Time): Move CLK_TCK from here...
4552 (Processor Time): ...to here. Correct description.
4553 * manual/conf.texi (Constants for Sysconf): Correct description of
4554 _SC_CLK_TCK.
4555
4556 2012-04-10 David S. Miller <davem@davemloft.net>
4557
4558 [BZ #13967]
4559 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4560 where the is a gap between DT_REL(A) and DT_JMPREL.
4561
4562 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4563
4564 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4565 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4566 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4567
4568 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4569
4570 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4571 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4572 (dl_main): Handle --inhibit-cache.
4573 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4574 _dl_inhibit_cache.
4575 * elf/dl-load.c (_dl_map_object): Use it.
4576 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4577
4578 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4579
4580 [BZ #13872]
4581 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4582 (__ieee754_powl): Saturate large exponents rather than testing for
4583 overflow of y*log2(x).
4584 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4585 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4586 exceptions.
4587
4588 [BZ #11521]
4589 * math/s_ctan.c: Include <float.h>.
4590 (__ctan): Avoid internal overflow or cancellation in calculating
4591 denominator.
4592 * math/s_ctanf.c: Likewise.
4593 * math/s_ctanl.c: Likewise.
4594 * math/s_ctanh.c: Likewise.
4595 * math/s_ctanhf.c: Likewise.
4596 * math/s_ctanhl.c: Likewise.
4597 * math/libm-test.inc (ctan_test): Add more tests.
4598 (ctanh_test): Likewise.
4599 * sysdeps/i386/fpu/libm-test-ulps: Update.
4600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4601
4602 2012-04-09 Andreas Jaeger <aj@suse.de>
4603
4604 [BZ #6894]
4605 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4606 is an optional BSD extension.
4607
4608 [BZ #10254]
4609 * manual/stdio.texi (Opening Streams): Document additional fopen
4610 parameters.
4611
4612 2012-04-09 Roland McGrath <roland@hack.frob.com>
4613
4614 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4615 %eax without telling the compiler.
4616
4617 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4618
4619 [BZ # 13963]
4620 * manual/install.texi: Use sourceware.org.
4621
4622 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4623
4624 [BZ #13873]
4625 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4626 (__ieee754_pow): Generate overflow and underflow using huge*huge
4627 and tiny*tiny rather than just returning constant infinity or zero
4628 for large exponents.
4629 * math/libm-test.inc (pow_test): Require overflow exceptions for
4630 applicable cases of large exponents.
4631
4632 [BZ #706]
4633 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4634 (__ieee754_pow): Use iterative multiplication algorithm only for
4635 integer exponents with absolute value below 1024. Check for odd
4636 integer exponents when using algorithm for real exponents.
4637 * math/libm-test.inc (pow_test): Add more tests.
4638 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4639
4640 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4641
4642 [BZ #13705]
4643 * math/libm-test.inc (exp_test): Do not allow overflow exception
4644 on underflow test.
4645
4646 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4647
4648 [BZ #13705]
4649 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4650 instead of __kernel_standard_f.
4651
4652 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4653
4654 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4655 * sysdeps/x86_64/memset_chk.S: Likewise.
4656
4657 2012-04-08 Andreas Jaeger <aj@suse.de>
4658
4659 [BZ #10153]
4660 * manual/startup.texi (Environment Access): Describe return value
4661 for putenv and setenv.
4662
4663 [BZ #6895]
4664 * manual/filesys.texi (Directory Entries): Add description for
4665 DT_LNK.
4666
4667 [BZ #6890]
4668 * manual/filesys.texi (Directory Entries): Clarify that it's file
4669 system not operating system in the description of DT_UNKNOWN.
4670
4671 [BZ #6578]
4672 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4673
4674 2012-04-08 Stephen Compall <s11@member.fsf.org>
4675
4676 [BZ #6649]
4677 * manual/llio.texi (Opening and Closing Files): Add cross
4678 reference to explain mode argument.
4679
4680 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4681
4682 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4683 * sysdeps/x86_64/memset_chk.S: Likewise.
4684
4685 2012-04-07 David S. Miller <davem@davemloft.net>
4686
4687 * elf/elf.h (R_SPARC_WDISP10): Define.
4688 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4689 R_SPARC_SIZE32.
4690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4691 R_SPARC_SIZE64 and R_SPARC_H34.
4692
4693 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4694
4695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4696 conditions and remove no longer applicable assertion.
4697
4698 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4699
4700 * bits/byteswap.h: Include <features.h>.
4701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4703
4704 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4705
4706 * bits/byteswap.h (__bswap_16): Removed.
4707 Include <bits/byteswap-16.h> to get __bswap_16.
4708 * sysdeps/i386/bits/byteswap.h: Likewise.
4709 * sysdeps/s390/bits/byteswap.h: Likewise.
4710 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4711 * bits/byteswap-16.h: New file.
4712 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4713 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4714 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4715 * string/Makefile (headers): Add bits/byteswap-16.h.
4716
4717 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4718
4719 [BZ #13895]
4720 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4721 extra indirection.
4722 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4723 * nss/tst-nss-static.c: New.
4724
4725 2012-04-06 Robert Millan <rmh@gnu.org>
4726
4727 [BZ #6486]
4728 * manual/llio.texi (File Position Primitive): lseek
4729 refers to WHENCE when it really means OFFSET.
4730
4731 2012-04-06 Andreas Jaeger <aj@suse.de>
4732
4733 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4734 strncmp declarations.
4735
4736 * abilist/libc.abilist: Add __poll and __ppoll.
4737
4738 2012-04-05 David S. Miller <davem@davemloft.net>
4739
4740 * scripts/check-local-headers.sh: Accept a host triplet in the
4741 path matched by the exclude regexp.
4742
4743 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4744 definition.
4745 * sysdeps/powerpc/powerpc32/dl-machine.h
4746 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4747 * sysdeps/s390/s390-32/dl-machine.h
4748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4749 * sysdeps/sparc/sparc32/dl-machine.h
4750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4751 * sysdeps/sparc/sparc64/dl-machine.h
4752 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4753
4754 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4755 lazy binding.
4756 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4757 undefined symbol errors.
4758
4759 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4760 DT_NEEDED entries.
4761
4762 2012-04-05 Michael Matz <matz@suse.de>
4763
4764 [BZ #13592]
4765 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4766
4767 2012-04-05 Andreas Jaeger <aj@suse.de>
4768
4769 [BZ #13908]
4770 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4771 comment.
4772
4773 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4774
4775 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4776 which ROUND is no valid rounding mode.
4777
4778 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4779
4780 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4781 read again.
4782 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4783
4784 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4785
4786 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4787 an exception using FPU order intentionally.
4788
4789 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4790
4791 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4792 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4793 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4794 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4795
4796 2012-04-05 Simon Josefsson <simon@josefsson.org>
4797
4798 [BZ #12340]
4799 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4800 EINVAL when BUFLEN is too smal.
4801
4802 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4803
4804 [BZ #13553]
4805 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4806 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4807
4808 2012-04-03 Andreas Jaeger <aj@suse.de>
4809
4810 [BZ #13938]
4811 * manual/setjmp.texi (System V contexts): Fix sentence.
4812
4813 [BZ #13926]
4814 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4815 New macro for this case.
4816 [!__GNUC__] (__bswap_64): New inline function for this case.
4817 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4818 * bits/byteswap.h: Likewise.
4819 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4820 ull, guard with __GLIBC_HAVE_LONG_LONG.
4821
4822 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4823 __GLIBC_HAVE_LONG_LONG.
4824
4825 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4826 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4827
4828 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4829
4830 [BZ #13691]
4831 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4832 inptr and inend, rather than using last_ch.
4833
4834 2012-04-02 David S. Miller <davem@davemloft.net>
4835
4836 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4837 * stdio-common/printf-parse.h (read_int): Change return type to
4838 'int', return -1 on INT_MAX overflow.
4839 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4840 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4841 overflows INT_MAX. Check for overflow of in-format-string precision
4842 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4843 SIZE_MAX not INT_MAX for integer overflow test.
4844 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4845 skip the construct in the format string but do not record anything.
4846 * stdio-common/bug22.c: Adjust to test both width/prevision
4847 INT_MAX overflow as well as total length INT_MAX overflow. Check
4848 explicitly for proper errno values.
4849
4850 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4851
4852 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4853 CHAR_MAX.
4854 * string/test-strcmp.c [! WIDE]: Likewise.
4855 * time/tst-mktime2.c: Likewise for INT_MAX.
4856 * string/test-string.h: #include <sys/param.h> for MIN.
4857
4858 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4859 * sysdeps/i386/init-first.c (init): Likewise.
4860 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4861 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4862 * sysdeps/sh/init-first.c (init): Likewise.
4863
4864 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4865
4866 * po/ru.po: Update from translation team.
4867 * po/vi.po: Likewise.
4868
4869 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4870
4871 * resolv/nss_dns/dns-host.c: Merge copyright years.
4872
4873 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4874
4875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4876 Optimize memcpy with prefetch if
4877 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4878 src, dst pointers have unequal 16 byte alignments.
4879
4880 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
4882 [BZ #13928]
4883 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4884 from a CNAME entry and return the minimum ttl for the query.
4885 (gaih_getanswer_slice): Likewise.
4886
4887 2012-03-30 Jeff Law <law@redhat.com>
4888
4889 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4890 due to long keys.
4891 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4892 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4893
4894 * resolv/nss_dns/dns-host.c: Update copyright year.
4895
4896 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4897
4898 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4899 requests to save a system call. Fix check that all bytes are sent.
4900
4901 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4902 comments for sendmmsg.
4903
4904 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4905
4906 [BZ #13691]
4907 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4908 with only 1 character between 0x0041 and 0x01b0.
4909 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4910 * wcsmbs/tst-mbsnrtowcs.c: New file.
4911
4912 2012-03-29 David S. Miller <davem@davemloft.net>
4913
4914 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4915 small copies by hand.
4916
4917 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4918
4919 [BZ #13761]
4920 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4921 _nss_compat_initgroups_dyn): Fall back to malloc/free
4922 for large group memberships.
4923
4924 2012-03-28 David S. Miller <davem@davemloft.net>
4925
4926 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4927 that branches into memcpy.
4928 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4929 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4930 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4931 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4933 bits.
4934 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4935 implementation too.
4936 * sysdeps/sparc/mempcpy.S: New file.
4937
4938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4939 the IFUNC routine in the libc case.
4940 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4941
4942 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4943 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4944 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4945 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4946 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4947 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4948 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4949 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4950
4951 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4952 loop to 256 bytes instead of 64 bytes and fix test signedness.
4953
4954 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4955 * sysdeps/sparc/sparc32/Makefile: rather than here...
4956 * sysdeps/sparc/sparc64/Makefile: and here.
4957
4958 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4959
4960 * malloc/mallocbug.c: Avoid warnings about unused variables.
4961
4962 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4963
4964 [BZ #13760]
4965 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4966 in the right place. Discard and retry query if response is
4967 larger than input buffer size.
4968
4969 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4970
4971 [BZ #369]
4972 [BZ #2678]
4973 [BZ #3866]
4974 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4975 x for large integer exponent.
4976 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4977 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4978 sign of result as needed afterwards.
4979 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4980 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4981 result for underflowing pow the same as for overflow.
4982 (__kernel_standard_l): Handle powl overflow and underflow here
4983 rather than calling __kernel_standard.
4984 * math/libm-test.inc (pow_test): Add more tests.
4985
4986 [BZ #3868]
4987 [BZ #13879]
4988 [BZ #13910]
4989 [BZ #13911]
4990 [BZ #13912]
4991 [BZ #13913]
4992 [BZ #13915]
4993 [BZ #13916]
4994 [BZ #13917]
4995 [BZ #13918]
4996 [BZ #13919]
4997 [BZ #13920]
4998 [BZ #13921]
4999 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
5000 * sysdeps/ieee754/k_standard.c: Include <float.h>.
5001 (__kernel_standard_l): New function.
5002 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
5003 __kernel_standard.
5004 * math/w_acosl.c (__acosl): Likewise.
5005 * math/w_asinl.c (__asinl): Likewise.
5006 * math/w_atan2l.c (__atan2l): Likewise.
5007 * math/w_atanhl.c (__atanhl): Likewise.
5008 * math/w_coshl.c (__coshl): Likewise.
5009 * math/w_exp10l.c (__exp10l): Likewise.
5010 * math/w_exp2l.c (__exp2l): Likewise.
5011 * math/w_fmodl.c (__fmodl): Likewise.
5012 * math/w_hypotl.c (__hypotl): Likewise.
5013 * math/w_j0l.c (__j0l, __y0l): Likewise.
5014 * math/w_j1l.c (__j1l, __y1l): Likewise.
5015 * math/w_jnl.c (__jnl, __ynl): Likewise.
5016 * math/w_lgammal.c (__lgammal): Likewise.
5017 * math/w_log10l.c (__log10l): Likewise.
5018 * math/w_log2l.c (__log2l): Likewise.
5019 * math/w_logl.c (__logl): Likewise.
5020 * math/w_powl.c (__powl): Likewise.
5021 * math/w_remainderl.c (__remainderl): Likewise.
5022 * math/w_scalbl.c (sysv_scalbl): Likewise.
5023 * math/w_sinhl.c (__sinhl): Likewise.
5024 * math/w_sqrtl.c (__sqrtl): Likewise.
5025 * math/w_tgammal.c (__tgammal): Likewise.
5026 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5027 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5028 * math/libm-test.inc (acos_test): Add more tests.
5029 (acosh_test): Likewise.
5030 (asin_test): Likewise.
5031 (atanh_test): Likewise.
5032 (exp_test): Likewise.
5033 (exp10_test): Likewise.
5034 (exp2_test): Likewise.
5035 (expm1_test): Likewise.
5036 (lgamma_test): Likewise.
5037 (log_test): Likewise.
5038 (log10_test): Likewise.
5039 (log1p_test): Likewise.
5040 (log2_test): Likewise.
5041 (pow_test): Do not allow some spurious overflow exceptions.
5042 (sqrt_test): Add more tests.
5043 (tgamma_test): Likewise.
5044 (y0_test): Likewise.
5045 (y1_test): Likewise.
5046 (yn_test): Likewise.
5047
5048 2012-03-27 Anton Blanchard <anton@samba.org>
5049
5050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5051 MAP_HUGETLB.
5052 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5053 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5054 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5055
5056 2012-03-27 David S. Miller <davem@davemloft.net>
5057
5058 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5059
5060 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5061 have-as-vis3 check.
5062
5063 2012-03-27 Andreas Jaeger <aj@suse.de>
5064
5065 * sysdeps/x86_64/elf/configure.in: Moved to ...
5066 * sysdeps/x86_64/configure.in: ... here.
5067 * sysdeps/x86_64/elf/start.S: Moved to ...
5068 * sysdeps/x86_64/start.S: ... here.
5069 * sysdeps/x86_64/elf/configure: Delete.
5070
5071 * sysdeps/x86_64/configure.in: Merge contents from
5072 sysdeps/i386/configure.in (without i686 check).
5073
5074 * sysdeps/i386/elf/Versions: Merge into ...
5075 * sysdeps/i386/Versions: ... this.
5076 * sysdeps/i386/elf/Versions: Delete file.
5077 * sysdeps/i386/elf/start.S: Moved to ...
5078 * sysdeps/i386/start.S: ...here.
5079 * sysdeps/i386/elf/configure.in: Merge into...
5080 * sysdeps/i386/configure.in: ...here.
5081 * sysdeps/i386/elf/configure.in: Delete file.
5082 * sysdeps/i386/elf/configure: Delete file.
5083
5084 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5085 * debug/backtracesyms.c: ... here.
5086 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5087 * debug/backtracesymsfd.c: ... here.
5088 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5089 * sysdeps/generic/ifunc-sel.h: ... here.
5090
5091 * sysdeps/unix/i386/start.c: Delete file.
5092 * sysdeps/unix/sparc/start.c: Delete file.
5093 * sysdeps/unix/start.c: Delete file.
5094
5095 * sysdeps/sh/elf/configure.in: Moved to ...
5096 * sysdeps/sh/configure.in: ... here.
5097 * sysdeps/sh/elf/start.S: Moved to ...
5098 * sysdeps/sh/start.S: ... here.
5099 * sysdeps/sh/elf/configure: Delete file.
5100
5101 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5102 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5103 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5104 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5105 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5106 * sysdeps/powerpc/powerpc64/start.S: here.
5107 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5108 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5109 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5110 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5111 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5112
5113 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5114 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5115 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5116 * sysdeps/powerpc/powerpc32/start.S: ... here.
5117 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5118 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5119 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5120
5121 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5122 * sysdeps/powerpc/ifunc-sel.h: ... here.
5123 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5124 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5125
5126 * sysdeps/sparc/elf/configure.in: Moved to ...
5127 * sysdeps/sparc/configure.in: ... here.
5128 * sysdeps/sparc/elf/configure: Delete file.
5129 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5130 * sysdeps/sparc/sparc32/start.S: ... here.
5131 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5132 * sysdeps/sparc/sparc64/start.S: ... here.
5133 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5134 * sysdeps/sparc/sparc32/Makefile: ... this.
5135 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5136 * sysdeps/sparc/sparc64/Makefile: ... this.
5137
5138 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5139 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5140 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5141 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5142 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5143 * sysdeps/s390/s390-32/setjmp.S: ... here.
5144 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5145 * sysdeps/s390/s390-32/configure.in: ... here.
5146 * sysdeps/s390/s390-32/elf/configure: Delete file.
5147 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5148 * sysdeps/s390/s390-32/start.S: ... here.
5149
5150 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5151 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5152 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5153 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5154 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5155 * sysdeps/s390/s390-64/setjmp.S: ... here.
5156 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5157 * sysdeps/s390/s390-64/configure.in: ... here
5158 * sysdeps/s390/s390-64/elf/configure: Delete file.
5159 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5160 * sysdeps/s390/s390-64/start.S: ... here.
5161 * sysdeps/s390/s390-64/elf/configure: Delete.
5162
5163 * configure.in: Remove support for elf directories in sysdeps.
5164
5165 * configure: Regenerated.
5166 * sysdeps/i386/configure: Regenerated.
5167 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5168 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5169 * sysdeps/s390/s390-32/configure: Regenerated.
5170 * sysdeps/s390/s390-64/configure: Regenerated.
5171 * sysdeps/sh/configure: Regenerated.
5172 * sysdeps/sparc/configure: Regenerated.
5173 * sysdeps/x86_64/configure: Regenerated.
5174
5175 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5176
5177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5178
5179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5180 denormal result into account.
5181
5182 2012-03-25 Roland McGrath <roland@hack.frob.com>
5183
5184 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5185 Reported by Allan McRae <allan@archlinux.org>.
5186
5187 2012-03-23 Jeff Law <law@redhat.com>
5188
5189 * nss/getnssent.c (__nss_getent): Fix typo.
5190
5191 2012-03-23 David S. Miller <davem@davemloft.net>
5192
5193 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5194
5195 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5196
5197 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5198 to pad to uint64_t for each field.
5199 (dl_tls_index): Replace unsigned long with uint64_t.
5200
5201 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5202 Paul Pluzhnikov <ppluzhnikov@google.com>
5203
5204 [BZ #6528]
5205 * grp/Makefile (otherlibs): Don't set it.
5206 * inet/Makefile (otherlibs): Likewise.
5207 * login/Makefile (otherlibs): Likewise.
5208 * nscd/Makefile (otherlibs): Likewise.
5209 * posix/Makefile (otherlibs): Likewise.
5210 * pwd/Makefile (otherlibs): Likewise.
5211 * rt/Makefile (otherlibs): Likewise.
5212 * sunrpc/Makefile (otherlibs): Likewise.
5213 * nss/Makefile (otherlibs): Likewise.
5214 Add libnss_files to routines and static-only-routines.
5215 ($(objpfx)getent): Remove rule.
5216 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5217 static-only-routines.
5218
5219 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5220
5221 [BZ #13892]
5222 * math/s_cexp.c: Include <float.h>.
5223 (__cexp): Handle exp result overflowing not necessarily
5224 overflowing both real and imaginary parts of result.
5225 * math/s_cexpf.c: Likewise.
5226 * math/s_cexpl.c: Likewise.
5227 * math/libm-test.inc (cexp_test): Add more tests.
5228 * sysdeps/i386/fpu/libm-test-ulps: Update.
5229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5230
5231 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5232
5233 * include/link.h (ELFW): New macro.
5234 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5235 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5236
5237 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5238
5239 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5240 with uint64_t.
5241
5242 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5245 declaration.
5246 (struct La_x32_retval): Likewise.
5247
5248 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5249
5250 * sysdeps/x86_64/preconfigure.in: New file.
5251 * sysdeps/x86_64/preconfigure: New generated file.
5252
5253 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5254
5255 [BZ #13824]
5256 * math/e_exp2l.c: Include <float.h>.
5257 (__ieee754_exp2l): Handle overflow and underflow cases
5258 separately. Only pass fractional part of argument to
5259 __ieee754_expl.
5260 * math/libm-test.inc (exp2_test): Add more tests.
5261
5262 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5263 negating x to take absolute value.
5264 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5265 Likewise.
5266 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5268 Likewise.
5269 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5270 computing low part if x was negated.
5271 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5272
5273 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5274
5275 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5276 la_x32_gnu_pltexit.
5277 (pltexit): Cast int_retval to ptrdiff_t.
5278 * elf/tst-auditmod3b.c: Likewise.
5279 * elf/tst-auditmod4b.c: Likewise.
5280 * elf/tst-auditmod5b.c: Likewise.
5281 * elf/tst-auditmod6b.c: Likewise.
5282 * elf/tst-auditmod6c.c: Likewise.
5283 * elf/tst-auditmod7b.c: Likewise.
5284
5285 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5286 and x32_gnu_pltexit.
5287
5288 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5289 __ELF_NATIVE_CLASS.
5290 (La_x32_regs): New macro.
5291 (La_x32_retval): Likewise.
5292 (la_x32_gnu_pltenter): New function prototype.
5293 (la_x32_gnu_pltexit): Likewise.
5294
5295 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5296
5297 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5298 exponent.
5299
5300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5301
5302 * configure.in (libc_cv_cc_nofma): Check for option to disable
5303 generation of FMA instructions.
5304 * configure: Regenerate.
5305 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5306 * sysdeps/ieee754/dbl-64/Makefile: New file.
5307 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5308 Remove brandred-fma4.
5309 (CFLAGS-brandred-fma4.c): Remove.
5310 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5311 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5312 define.
5313 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5314 define.
5315
5316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5317
5318 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5319 LLONG_MAX != LONG_MAX.
5320 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5321 (_fitoa_word): Likewise.
5322 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5323 LLONG_MAX != LONG_MAX.
5324 * stdio-common/_itowa.h: Include <_itoa.h>.
5325 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5326 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5327 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5328 only if not defined.
5329 (_ITOA_WORD_TYPE): Likewise.
5330 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5331 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5332
5333 2012-03-21 David S. Miller <davem@davemloft.net>
5334
5335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5336
5337 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5338
5339 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5340 of x86_64 when setting libc_cv_slibdir, libdir and
5341 libc_cv_localedir.
5342 * sysdeps/unix/sysv/linux/configure: Regenerated.
5343
5344 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5345
5346 * manual/lang.texi (Old Varargs): Remove section.
5347 (How Variadic): Update menu.
5348 (va_start): Do not mention varargs.h.
5349
5350 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5351 Joseph Myers <joseph@codesourcery.com>
5352
5353 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5354 link test.
5355 * configure: Regenerated.
5356
5357 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5358
5359 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5360 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5361 conformtest.pl
5362
5363 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5364
5365 * NOTES: Remove.
5366 * Makefile (files-for-dist): Remove NOTES.
5367 (NOTES): Remove rule.
5368 * README: Don't refer to NOTES.
5369 * manual/creature.texi: Don't include macros.texi.
5370 * manual/intro.texi (creature.texi): Remove comment referring to
5371 NOTES.
5372
5373 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5374 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5375 * configure: Regenerated.
5376 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5377 LIBC_TRY_CC_OPTION.
5378 (libc_cv_as_i686): Likewise.
5379 (libc_cv_cc_avx): Likewise.
5380 (libc_cv_cc_sse2avx): Likewise.
5381 (libc_cv_cc_fma4): Likewise.
5382 (libc_cv_cc_novzeroupper): Likewise.
5383 * sysdeps/i386/configure: Regenerated.
5384
5385 [BZ #13883]
5386 * sysdeps/i386/fpu/s_cexp.S: Remove.
5387 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5388 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5389 * math/libm-test.inc (cexp_test): Add more tests.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
5393 2012-03-21 Allan McRae <allan@archlinux.org>
5394
5395 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5396
5397 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5398
5399 [BZ #13871]
5400 * math/w_exp2.c: Do not include <float.h>.
5401 (o_threshold, u_threshold): Remove.
5402 (__exp2): Calculate result before checking finiteness and calling
5403 __kernel_standard.
5404 * math/w_exp2f.c: Likewise.
5405 * math/w_exp2l.c: Likewise.
5406 * math/libm-test.inc (exp2_test): Require overflow exception for
5407 1e6 input.
5408
5409 [BZ #3866]
5410 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5411 range of signed 64-bit integers before using fistpll. Remove
5412 checks for whether integers fit in mantissa bits.
5413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5414 the range of signed 32-bit integers before using fistpl. Remove
5415 checks for whether integers fit in mantissa bits.
5416 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5417 (__ieee754_powl): Test for y outside the range of signed 64-bit
5418 integers before using fistpll. Reduce 64-bit values to 63-bit
5419 ones as needed.
5420 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5421 divide-by-zero is raised for zero to large negative powers.
5422 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5423 (__ieee754_powl): Test for y outside the range of signed 64-bit
5424 integers before using fistpll. Reduce 64-bit values to 63-bit
5425 ones as needed.
5426 * math/libm-test.inc (pow_test): Add more tests.
5427
5428 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5429
5430 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5431 <stdio-common/_itoa.h>.
5432 * debug/segfault.c: Likewise.
5433 * elf/dl-cache.c: Likewise.
5434 * elf/dl-minimal.c: Likewise.
5435 * elf/dl-misc.c: Likewise.
5436 * elf/dl-sysdep.c: Likewise.
5437 * elf/dl-version.c: Likewise.
5438 * elf/rtld.c: Likewise.
5439 * hurd/hurdsock.c: Likewise.
5440 * hurd/lookup-retry.c: Likewise.
5441 * malloc/malloc.c: Likewise.
5442 * malloc/mtrace.c: Likewise.
5443 * nscd/nscd_getgr_r.c: Likewise.
5444 * nscd/nscd_getpw_r.c: Likewise.
5445 * nscd/nscd_getserv_r.c: Likewise.
5446 * posix/getopt_init.c: Likewise.
5447 * posix/wordexp.c: Likewise.
5448 * stdio-common/_itoa.c: Likewise.
5449 * stdio-common/printf_fphex.c: Likewise.
5450 * stdio-common/vfprintf.c: Likewise.
5451 * string/_strerror.c: Likewise.
5452 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5453 * sysdeps/i386/i686/hp-timing.h: Likewise.
5454 * sysdeps/mach/_strerror.c: Likewise.
5455 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5456 * sysdeps/mach/hurd/sethostid.c: Likewise.
5457 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5458 * sysdeps/mach/xpg-strerror.c: Likewise.
5459 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5460 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5461 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5462 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5463 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5464 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5465 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5466 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5467 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5468 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5469 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5470 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5471 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5472 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5473 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5474 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5475 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5476 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5477 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5478 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5479 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5480
5481 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5482
5483 * stdio-common/_itoa.h: Moved to ...
5484 * sysdeps/generic/_itoa.h: Here.
5485
5486 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5487
5488 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5489 instead of "_itoa.h" and "_itowa.h".
5490 * stdio-common/vfprintf.: Likewise.
5491
5492 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5493
5494 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5495 <bits/wordsize.h>.
5496 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5497 (__signbit): Likwise.
5498 (llrintf): Likwise.
5499 (llrint): Likwise.
5500
5501 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5502
5503 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5504 __WORDSIZE != 64.
5505
5506 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5507
5508 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5509 OVERFLOW_EXCEPTION_OK.
5510 * math/libm-test.inc ("Philosophy"): Update comment about
5511 exception testing.
5512 (OVERFLOW_EXCEPTION): Define.
5513 (OVERFLOW_EXCEPTION_OK): Likewise.
5514 (INVALID_EXCEPTION_OK): Renumber.
5515 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5516 (IGNORE_ZERO_INF_SIGN): Likewise.
5517 (test_exceptions): Handle FE_OVERFLOW.
5518 (exp10_test): Expect overflow exceptions.
5519 (exp2_test): Likewise.
5520 (expm1_test): Likewise.
5521 (nextafter_test): Likewise.
5522 (pow_test): Likewise.
5523 (scalbn_test): Likewise.
5524 (scalbln_test): Likewise.
5525
5526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5527
5528 * sysdeps/x86_64/bits/atomic.h
5529 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5530 64bit integer.
5531 (atomic_exchange_acq): Likewise.
5532 (__arch_exchange_and_add_body): Likewise.
5533 (__arch_add_body): Likewise.
5534 (atomic_add_negative): Likewise.
5535 (atomic_add_zero): Likewise.
5536
5537 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5538
5539 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5540 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5541
5542 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5543
5544 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5545 Check __x86_64__ instead of __WORDSIZE.
5546
5547 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5548
5549 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5550
5551 2012-03-19 David S. Miller <davem@davemloft.net>
5552
5553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5554
5555 * sysdeps/sparc/fpu/fenv_private.h: New file.
5556 * sysdeps/sparc/fpu/math_private.h: Use it.
5557 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5558 Remove.
5559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5560 (libc_feholdexcept_setroundl): Remove.
5561 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5562 Remove.
5563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5565
5566 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5567
5568 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5569 int64_t instead of long int.
5570 (INSERT_WORDS64): Likwise.
5571
5572 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5573
5574 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5575 _Unwind_GetCFA return to _Unwind_Ptr first.
5576
5577 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5578
5579 [BZ #13629]
5580 * math/s_clog.c: Include <float.h>.
5581 (__clog): Scale large or subnormal inputs.
5582 * math/s_clogf.c: Likewise.
5583 * math/s_clogl.c: Likewise.
5584 * math/s_clog10.c: Include <float.h>.
5585 (M_LOG10_2): Define.
5586 (__clog10): Scale large or subnormal inputs.
5587 * math/s_clog10f.c: Likewise.
5588 * math/s_clog10l.c: Likewise.
5589 * math/libm-test.inc (clog_test): Add more tests.
5590 (clog10_test): Likewise.
5591 * sysdeps/i386/fpu/libm-test-ulps: Update.
5592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5593
5594 [BZ #11451]
5595 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5596 x and y.
5597 * math/libm-test.inc (atan2_test): Add another test.
5598
5599 * Makerules (common-objdir-compile): Remove.
5600 * sysdeps/unix/Makefile (config-generated): Do not add
5601 $(unix-generated) to variable.
5602 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5603 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5604 Remove rule.
5605 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5606 Likewise.
5607 [generic bits/local_lim.h] (before-compile): Do not append to
5608 variable.
5609 [generic bits/local_lim.h] (common-generated): Likewise.
5610 [generic sys/param.h] (before-compile): Do not append to variable.
5611 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5612 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5613 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5614 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5615 include.
5616 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5617 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5618 [generic sys/param.h] ($(addprefix
5619 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5620 [generic sys/param.h] (common-generated): Do not append to
5621 variable.
5622 [generic sys/param.h] (sysdep_headers): Likewise.
5623 [generic bits/errno.h] (before-compile): Do not append to
5624 variable.
5625 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5626 rule.
5627 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5628 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5629 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5630 [generic bits/errno.h] (common-generated): Do not append to
5631 variable.
5632 [generic bits/ioctls.h] (before-compile): Do not append to
5633 variable.
5634 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5635 rule.
5636 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5637 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5639 rule.
5640 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5641 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5642 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5643 [generic bits/ioctls.h] (common-generated): Do not append to
5644 variable.
5645 [generic sys/syscall.h] (syscall.h): Remove variable.
5646 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5647 rule.
5648 [generic sys/syscall.h] (before-compile): Do not append to
5649 variable.
5650 [generic sys/syscall.h] (common-generated): Likewise.
5651 * sysdeps/unix/errnos-tmpl.c: Remove file.
5652 * sysdeps/unix/errnos.awk: Likewise.
5653 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5654 * sysdeps/unix/ioctls.awk: Likewise.
5655 * sysdeps/unix/mk-local_lim.c: Likewise.
5656 * sysdeps/unix/snarf-ioctls: Likewise.
5657
5658 2012-03-19 Richard Henderson <rth@twiddle.net>
5659
5660 * sysdeps/i386/fpu/fenv_private.h: New file.
5661 * sysdeps/i386/fpu/math_private.h: Use it.
5662 (math_opt_barrier, math_force_eval): Remove.
5663 (libc_feholdexcept_setround_53bit): Remove.
5664 (libc_feupdateenv_53bit): Remove.
5665 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5666 (math_opt_barrier, math_force_eval): Remove.
5667 (libc_feholdexcept): Remove.
5668 (libc_feholdexcept_setround): Remove.
5669 (libc_fetestexcept, libc_fesetenv): Remove.
5670 (libc_feupdateenv_test): Remove.
5671 (libc_feupdateenv, libc_feholdsetround): Remove.
5672 (libc_feresetround): Remove.
5673
5674 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5675 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5676
5677 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5678 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5679 (libc_feupdateenv_testl): New.
5680 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5681 (libc_feupdateenv_testf): New.
5682 (libc_feupdateenv): Use libc_feupdateenv_test.
5683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5684 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5685
5686 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5687 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5688 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5689 (libc_feresetround_noex): New.
5690 (libc_feresetround_noexf): New.
5691 (libc_feresetround_noexl): New.
5692 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5693 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5694 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5695 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5696 SET_RESTORE_ROUND.
5697 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5699 (__cos): Likewise.
5700 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5701 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5702 SET_RESTORE_ROUND_NOEX.
5703 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5704 SET_RESTORE_ROUND_NOEXF.
5705 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5706 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5707 (libc_feholdsetroundf): New.
5708 (libc_feresetround, libc_feresetroundf): New.
5709
5710 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5711 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5712 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5713
5714 * sysdeps/generic/math_private.h: Include <fenv.h>.
5715 (default_libc_feholdexcept): New.
5716 (default_libc_feholdexcept_setround): New.
5717 (default_libc_fesetenv, default_libc_feupdateenv): New.
5718 (libc_feholdexcept): Only define if undefined.
5719 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5720 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5721 (libc_feholdexcept_setroundl): Likewise.
5722 (libc_feholdexcept_setround_53bit): Likewise.
5723 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5724 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5725 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5726 (libc_feupdateenv_53bit): Likewise.
5727 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5728 (libc_feholdexcept): Convert from macro to inline function.
5729 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5730 (libc_fesetenv, libc_feupdateenv): Likewise.
5731
5732 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5733 not previously defined.
5734 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5735 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5736 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5737 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5738 * sysdeps/ieee754/flt-32/math_private.h: New file.
5739 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5740 math_private.h below SET_FLOAT_WORD.
5741 (__isnan, __isinf_ns, __finite): Remove.
5742 (__isnanf, __isinf_nsf, __finitef): Remove.
5743
5744 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5745
5746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5747
5748 2012-03-17 David S. Miller <davem@davemloft.net>
5749
5750 [BZ #6471]
5751 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5752 for 2.16.
5753
5754 2012-03-16 David S. Miller <davem@davemloft.net>
5755
5756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5757 warnings.
5758
5759 [BZ #6471]
5760 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5761 properly.
5762 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5763 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5764 sysdep_routines when subdir is sysvipc.
5765 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5766 __getshmlba helper.
5767
5768 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5769
5770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5771
5772 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5773 [__LP64__].
5774
5775 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5776
5777 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5779 (__lround): Renamed to ...
5780 (__llround): This. Replace long int with long long int.
5781 Define lround functions as aliases of llround functions.
5782 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5783
5784 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5785
5786 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5787 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5788 adresses to uintptr_t. Replace "long int" and "unsigned long
5789 int" with "greg_t" on va_arg.
5790
5791 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5792
5793 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5794 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5795
5796 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5797 Move e_machine check before EI_CLASS check. Handle x32
5798 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5799 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5800 SKIP_EM_IA_64 and include
5801 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5802
5803 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5804 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5805 (add_system_dir): New macro.
5806
5807 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5808 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5809
5810 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5811
5812 [BZ #2551]
5813 [BZ #2552]
5814 [BZ #2553]
5815 [BZ #2554]
5816 [BZ #2562]
5817 [BZ #2563]
5818 [BZ #2565]
5819 [BZ #2566]
5820 [BZ #2576]
5821 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5822 (y0): Likewise.
5823 * math/w_j0f.c (j0f): Likewise.
5824 (y0f): Likewise.
5825 * math/w_j0l.c (__j0l): Likewise.
5826 (__y0l): Likewise.
5827 * math/w_j1.c (j1): Likewise.
5828 (y1): Likewise.
5829 * math/w_j1f.c (j1f): Likewise.
5830 (y1f): Likewise.
5831 * math/w_j1l.c (__j1l): Likewise.
5832 (__y1l): Likewise.
5833 * math/w_jn.c (jn): Likewise.
5834 (yn): Likewise.
5835 * math/w_jnf.c (jnf): Likewise.
5836 (ynf): Likewise.
5837 * math/w_jnl.c (__jnl): Likewise.
5838 (__ynl): Likewise.
5839 * math/libm-test.inc (j0_test): Add more tests.
5840 (j1_test): Likewise.
5841 (jn_test): Likewise. Add trailing semicolon to existing test.
5842 (y0_test): Likewise.
5843 (y1_test): Likewise.
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5846
5847 [BZ #13851]
5848 [BZ #13854]
5849 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5850 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5851 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5852 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5853 (__tanl): Set errno for infinite argument.
5854 * sysdeps/i386/fpu/mptan.c: Remove.
5855 * sysdeps/i386/fpu/s_tan.S: Likewise.
5856 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5857 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5858 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5859 * math/libm-test.inc (tan_test): Add more tests and enable more
5860 tests for double and long double.
5861 * sysdeps/i386/fpu/libm-test-ulps: Update.
5862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5863
5864 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5865
5866 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5867 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5868
5869 2012-03-16 Roland McGrath <roland@hack.frob.com>
5870
5871 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5872 * configure.in: Use it for both main tree and add-ons.
5873 * configure: Regenerated.
5874
5875 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5876
5877 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5878
5879 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5880
5881 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5882 in comment.
5883
5884 [BZ #13851]
5885 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5886 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5887 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5888 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5890 infinite argument.
5891 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5892 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5893 != 0 for prec == 2.
5894 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5895 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5896 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5897 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5898 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5899 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5900 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5901 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5902 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5903 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5904 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5905 * math/libm-test.inc (cos_test): Add more tests and enable more
5906 tests for long double.
5907 (sin_test): Likewise.
5908 (sincos_test): Likewise.
5909 * sysdeps/i386/fpu/libm-test-ulps: Update.
5910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5911
5912 2012-03-16 David S. Miller <davem@davemloft.net>
5913
5914 * sysdeps/sparc/fpu/math_private.h: New file.
5915
5916 2012-03-15 David S. Miller <davem@davemloft.net>
5917
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5919 file.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5922 file.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5929 sysdep routines.
5930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5931
5932 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5933 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5934
5935 * sysdeps/sparc/sparc-ifunc.h: New file.
5936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5937 sparc-ifunc.h
5938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5940 Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5942 Likewise.
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5947 Likewise.
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5953 Likewise.
5954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5955 Likewise.
5956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5962 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5963 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5965 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5968 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5969 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5972 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5973 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5978 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5979 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5980
5981 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5982
5983 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5984 scaling.
5985 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5986
5987 2012-03-15 Andreas Jaeger <aj@suse.de>
5988
5989 [BZ #13852]
5990 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5991 ieee754/flt-32 implementation for sin, cos and sincos.
5992 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5993 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5994 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5995 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5996 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5997 ieee754/flt-32 implementation for tan.
5998
5999 * math/libm-test.inc (cos_test): Enable some large input tests for
6000 float as well
6001 (sin_test): Likewise.
6002 (sincos_test): Likewise.
6003 (tan_test): Add tests for large input.
6004
6005 * sysdeps/i386/fpu/libm-test-ulps: Update.
6006
6007 2012-03-15 Andreas Jaeger <aj@suse.de>
6008
6009 [BZ #13658]
6010 * math/libm-test.inc (cos_test): Add more test cases.
6011 (sin_test): Likewise.
6012 (sincos_test): Likewise.
6013
6014 2012-03-15 Andreas Jaeger <aj@suse.de>
6015
6016 [BZ #13837]
6017 * math/libm-test.inc (cos_test): Add a test case for large input
6018 value.
6019 (sin_test): Likewise.
6020 (sincos_test): Likewise.
6021
6022 2012-03-15 Andreas Jaeger <aj@suse.de>,
6023 Joseph Myers <joseph@codesourcery.com>
6024
6025 [BZ #13658]
6026 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
6027 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6028 * sysdeps/i386/fpu/branred.c: Likewise.
6029 * sysdeps/i386/fpu/dosincos.c: Likewise.
6030 * sysdeps/i386/fpu/mpa.c: Likewise.
6031 * sysdeps/i386/fpu/s_cos.S: Likewise.
6032 * sysdeps/i386/fpu/s_sin.S: Likewise.
6033 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6034 * sysdeps/i386/fpu/sincos32.c: Likewise.
6035
6036 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6037 Define.
6038 (libc_feupdateenv_53bit): Define.
6039 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6040 Define.
6041 (libc_feupdateenv_53bit): Define.
6042
6043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6044 53 bit (without extend i386 double precision).
6045
6046 * math/libm-test.inc (sincos_test): Add tests for large input.
6047 (sin): Likewise.
6048 (cos): Likewise.
6049
6050 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6051
6052 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6053
6054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6055
6056 2012-03-15 David S. Miller <davem@davemloft.net>
6057
6058 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6059 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6061 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
6073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6074 file.
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
6076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6077 file.
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
6079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6080 file.
6081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6083 file.
6084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6085 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6086 fmin/fmax sysdep routines.
6087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6088
6089 2012-03-14 David S. Miller <davem@davemloft.net>
6090
6091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6117 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
6119 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6120 routines.
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6122 file.
6123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
6124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6125 file.
6126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
6127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6128 file.
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
6130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6131 file.
6132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
6133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6134 file.
6135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6137 file.
6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6139 file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6141 file.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6143 file.
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6145 New file.
6146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6147 file.
6148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6149 file.
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
6151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6152 file.
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
6154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6155 file.
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
6157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6158 file.
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
6160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6161 VIS3 routines.
6162
6163 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6164 New file.
6165
6166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6167
6168 * sysdeps/sparc/configure.in: New file.
6169 * sysdeps/sparc/configure: Generate.
6170 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6171 * configure: Regenerate.
6172 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6173 * config.make.in (have-as-vis3): New.
6174 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6175 available use -Av9d instead of -Av9a.
6176 * sysdeps/sparc/sparc64/Makefile: Likewise.
6177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6179 New file.
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6181 file.
6182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6183 New file.
6184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6185 file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6189 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6191
6192 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6193 fzeros/fnegs to load 0x80000000 into a float register instead of
6194 using the stack.
6195 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6196
6197 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6198
6199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6200 bits/syscall.h.
6201 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6202 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6203 ($(inst_includedir)/bits/syscall.h): Remove rule.
6204 ($(objpfx)bits/syscall.d): Include instead of
6205 $(objpfx)syscall-list.d.
6206 (generated): Change syscall-list.h and syscall-list.d to
6207 bits/syscall.h and bits/syscall.d.
6208
6209 2012-03-14 Roland McGrath <roland@hack.frob.com>
6210
6211 [BZ #13846]
6212 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6213
6214 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6215
6216 [BZ #13841]
6217 * math/s_csqrt.c: Include <float.h>.
6218 (__csqrt): Scale large or subnormal inputs.
6219 * math/s_csqrtf.c: Likewise.
6220 * math/s_csqrtl.c: Likewise.
6221 * math/libm-test.inc (csqrt_test): Add more tests.
6222 * sysdeps/i386/fpu/libm-test-ulps: Update.
6223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6224
6225 [BZ #13840]
6226 * math/libm-test.inc (hypot_test): Add more tests.
6227
6228 2012-03-13 David S. Miller <davem@davemloft.net>
6229
6230 [BZ #13840]
6231 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6232 double-precision for the calculation instead of scaling.
6233
6234 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6235
6236 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6237 manipulate bits before adding and subtracting TWO52[sx].
6238 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6239 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6240 Likewise.
6241 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6242
6243 2012-03-13 David S. Miller <davem@davemloft.net>
6244
6245 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6246 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6247 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6248 rtld-global-offsets.h
6249 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6250
6251 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6252 large parameters.
6253
6254 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6255
6256 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6257 'err' in the ifdef scope in which it is actually used.
6258
6259 * nss/nss_db/db-init.c: Include string.h
6260
6261 2012-03-12 David S. Miller <davem@davemloft.net>
6262
6263 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6264 masking out of the most significant byte of random value used.
6265 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6266 Fix coding style in previous change.
6267
6268 * sysdeps/unix/sysv/linux/kernel-features.h
6269 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6270 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6271 expression.
6272 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6273 later.
6274
6275 2012-03-11 David S. Miller <davem@davemloft.net>
6276
6277 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6278 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6279 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6280 for 'resultvar' otherwise things get truncated on 64-bit.
6281
6282 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6283 Fix masking out of the most significant byte of random value used.
6284
6285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6286
6287 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6288
6289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6290
6291 2012-03-09 David S. Miller <davem@davemloft.net>
6292
6293 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6294 variables with appropriate CPP guards.
6295 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6296 frame pointer, not the stack pointer. Correct layout comments. Fix test
6297 on resulting framesize and the management of the outregs buffer for pltexit.
6298 Preserve floating point return values across _dl_call_pltexit call.
6299 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6300 framesize and the management of the outregs buffer for pltexit.
6301 Preserve floating point return values across _dl_call_pltexit
6302 call.
6303 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6304 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6305 (print_exit): Fix format string for return register value.
6306
6307 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6308
6309 * sunrpc/Makefile (others): Add rpcgen.
6310 ($(objpfx)rpcgen): Remove special build rule and dependency on
6311 libc.
6312 * sunrpc/rpcgen.c: New file.
6313
6314 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6315
6316 [BZ #13673]
6317 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6318 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6319 * sysdeps/i386/crti.S: Likewise.
6320 * sysdeps/i386/crtn.S: Likewise.
6321 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6322 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6323 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6324 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6325 * sysdeps/sh/crti.S: Likewise.
6326 * sysdeps/sh/crtn.S: Likewise.
6327 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6328
6329 [BZ #13673]
6330 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6331 with URL.
6332 * locale/programs/locfile-kw.gperf: Likewise.
6333 * locale/programs/charmap-kw.h: Regenerated.
6334 * locale/programs/locfile-kw.h: Likewise.
6335
6336 [BZ #13673]
6337 * intl/plural.y: Replace FSF snail mail address with URL.
6338 * intl/plural.c: Regenerated.
6339
6340 2012-03-09 Richard Henderson <rth@twiddle.net>
6341
6342 * include/math_private.h: Remove file.
6343 * math/math_private.h: Move file ...
6344 * sysdeps/generic/math_private.h: ... here.
6345
6346 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6347 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6349
6350 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6351 and <math_private.h>.
6352 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6353 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6354 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6355 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6356 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6445 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6452 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6453 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6454 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6467 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6471 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6475 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6478 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6480 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6481 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6482 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6483 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6484 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6485 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6486 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6489 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6491 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6493 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6495 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6497 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6499 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6500 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6501 * sysdeps/ieee754/k_standard.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6651 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6662 * sysdeps/ieee754/s_lib_version.c: Likewise.
6663 * sysdeps/ieee754/s_matherr.c: Likewise.
6664 * sysdeps/ieee754/s_signgam.c: Likewise.
6665 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6666 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6667 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6668 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6670 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6671 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6672 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6673 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6674 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6675 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6676 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6677 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6678 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6679 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6680 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6683 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6686
6687 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6688
6689 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6690 * sunrpc/rpc_main.c: Likewise.
6691 * sunrpc/rpc_svcout.c: Likewise.
6692
6693 2012-03-09 David S. Miller <davem@davemloft.net>
6694
6695 * include/math_private.h: New file.
6696
6697 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6698
6699 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6700 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6701 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6702 from <bits/socket_type.h>.
6703 (enum __socket_type): Don't define here.
6704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6706 bits/socket_type.h.
6707
6708 [BZ #13566]
6709 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6710 checking __USE_GNU.
6711
6712 * Makerules ($(inst_includedir)/%.h): New rule.
6713 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6714 (install-others): Remove variable setting.
6715 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6716
6717 2012-03-08 Richard Henderson <rth@twiddle.net>
6718
6719 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6720 from macro to inline function; merge with the
6721 !__LIBC_INTERNAL_MATH_INLINES version.
6722 (__ieee754_sqrtf): Likewise.
6723
6724 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6725 to inline function.
6726 (__rintf, __floor, __floorf): Likewise.
6727
6728 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6729 macro to inline function.
6730 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6731
6732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6733 not <math/math_private.h>.
6734
6735 2012-03-08 David S. Miller <davem@davemloft.net>
6736
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6738 copyright year.
6739 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6740
6741 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6742
6743 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6744 normalization.
6745 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6746 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6747
6748 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6749
6750 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6751 be defined individually, they must be defined as a block. Define
6752 S for printing a string instead of hidint the different by using a
6753 macro for adding the 'l'.
6754 * stdio-common/tst-fphex-wide.c: Adjust.
6755
6756 2012-03-07 Marek Polacek <polacek@redhat.com>
6757
6758 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6759
6760 2012-03-08 Marek Polacek <polacek@redhat.com>
6761
6762 [BZ #13806]
6763 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6764 * stdio-common/tst-fphex.c: Define a few macros to make the
6765 test reusable. Use them.
6766 * stdio-common/tst-fphex-wide.c: New file.
6767
6768 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #6911]
6771 * manual/macros.texi (gnusystems): New macro.
6772 (nongnusystems): Likewise.
6773 (gnulinuxhurdsystems): Likewise.
6774 (gnuhurdsystems): Likewise..
6775 (gnulinuxsystems): Likewise.
6776 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6777 variants of the GNU system, not "GNU system".
6778 * manual/conf.texi: Likewise.
6779 * manual/errno.texi: Likewise. Update example of errno macro
6780 expansion.
6781 * manual/filesys.texi: Likewise.
6782 (getumask): Document as specific to GNU/Hurd.
6783 * manual/install.texi: Likewise. Reword some references to
6784 GNU/Linux.
6785 * manual/intro.texi: Likewise.
6786 * manual/io.texi: Likewise.
6787 (File Name Portability): Detail which constraints are inapplicable
6788 to all GNU systems and which are only inapplicable to GNU/Hurd.
6789 * manual/job.texi: Likewise.
6790 * manual/llio.texi: Likewise.
6791 (O_NOCTTY): Document as present on GNU/Linux.
6792 * manual/maint.texi: Likewise.
6793 * manual/memory.texi: Likewise.
6794 * manual/pattern.texi: Likewise.
6795 * manual/pipe.texi: Likewise.
6796 * manual/process.texi: Likewise.
6797 * manual/resource.texi: Likewise.
6798 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6799 child on GNU/Hurd.
6800 * manual/setjmp.texi: Likewise.
6801 * manual/signal.texi: Likewise.
6802 * manual/startup.texi: Likewise.
6803 * manual/stdio.texi: Likewise.
6804 * manual/terminal.texi: Likewise.
6805 (ONLCR): Document as POSIX.
6806 (OXTABS): Document availability on GNU/Linux as XTABS.
6807 (ONOEOT): Document availability separately from other bits.
6808 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6809 * manual/time.texi: Likewise.
6810 * manual/users.texi: Likewise.
6811 * INSTALL: Regenerated.
6812 * sysdeps/gnu/errlist.c: Regenerated.
6813
6814 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6815 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6816 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6817 puts.
6818 * configure: Regenerated.
6819
6820 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6821
6822 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6823 default includes instead of AC_HEADER_CHECK.
6824 * sysdeps/i386/configure: Regenerated.
6825
6826 [BZ #10716]
6827 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6828 * math/s_cacoshf.c (__cacoshf): Likewise.
6829 * math/s_cacoshl.c (__cacoshl): Likewise.
6830 * math/s_casinh.c (__casinh): Set signs of result from argument.
6831 * math/s_casinhf.c (__casinhf): Likewise.
6832 * math/s_casinhl.c (__casinhl): Likewise.
6833 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6834 (casinh_test): Add more tests.
6835 * sysdeps/i386/fpu/libm-test-ulps: Update.
6836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6837
6838 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6839
6840 * po/zh_TW.po: Update from translation team.
6841
6842 * login/Makefile (distribute): Remove variable.
6843 * catgets/Makefile: Likewise.
6844 * mach/Makefile: Likewise.
6845 * malloc/Makefile: Likewise.
6846 * misc/Makefile: Likewise.
6847 * iconv/Makefile: Likewise.
6848 * nscd/Makefile: Likewise.
6849 * hurd/Makefile: Likewise.
6850 * manual/Makefile: Likewise.
6851 * locale/Makefile: Likewise.
6852 * intl/Makefile: Likewise.
6853 * conform/Makefile: Likewise.
6854 * nss/Makefile: Likewise.
6855 * time/Makefile: Likewise.
6856 * soft-fp/Makefile: Likewise.
6857 * dirent/Makefile: Likewise.
6858 * gmon/Makefile: Likewise.
6859 * po/Makefile: Likewise.
6860 * rt/Makefile: Likewise.
6861 * socket/Makefile: Likewise.
6862 * math/Makefile: Likewise.
6863 * signal/Makefile: Likewise.
6864 * debug/Makefile: Likewise.
6865 * elf/Makefile: Likewise.
6866 * timezone/Makefile: Likewise.
6867 * stdlib/Makefile: Likewise.
6868 * iconvdata/Makefile: Likewise.
6869 * sunrpc/Makefile: Likewise.
6870 * io/Makefile: Likewise.
6871 * argp/Makefile: Likewise.
6872 * inet/Makefile: Likewise.
6873 * hesiod/Makefile: Likewise.
6874 * grp/Makefile: Likewise.
6875 * csu/Makefile: Likewise.
6876 * wctype/Makefile: Likewise.
6877 * crypt/Makefile: Likewise.
6878 * libio/Makefile: Likewise.
6879 * string/Makefile: Likewise.
6880 * nis/Makefile: Likewise.
6881 * resolv/Makefile: Likewise.
6882 * stdio-common/Makefile: Likewise.
6883 * wcsmbs/Makefile: Likewise.
6884 * dlfcn/Makefile: Likewise.
6885 * posix/Makefile: Likewise.
6886
6887 [BZ #6959]
6888 * timezone/Makefile: Don't install timezone files, just the programs
6889 and scripts.
6890
6891 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6892
6893 * nss/databases.def: Add missing gshadow entry.
6894
6895 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6896
6897 2012-03-06 Marek Polacek <polacek@redhat.com>
6898
6899 [BZ #13726]
6900 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6901 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6902 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6903 * stdio-common/tst-long-dbl-fphex.c: New file.
6904
6905 2012-03-06 David S. Miller <davem@davemloft.net>
6906
6907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6908 (set_obp_int): New function.
6909 (get_obp_int): New function.
6910 (__get_clockfreq_via_dev_openprom): Likewise.
6911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6912 Avoid unused variable warnings on 'val' and use builtin_expect.
6913 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6914 __builtin_expect.
6915 (INLINE_CLONE_SYSCALL): Likewise.
6916
6917 2012-03-05 David S. Miller <davem@davemloft.net>
6918
6919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6920
6921 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6922
6923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6924
6925 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6926 only for |x| >= 40.
6927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6928
6929 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6930
6931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6932 Replace gettimeofday with __vdso_gettimeofday.
6933
6934 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6935 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6936 __vdso_clock_gettime and __vdso_getcpu.
6937
6938 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6939 time with __vdso_time.
6940
6941 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6942
6943 * manual/lang.texi (size_t): Note types to which size_t may be
6944 equivalent with the GNU C Library, but do not describe when
6945 differences between them are significant.
6946
6947 2012-03-05 Andreas Jaeger <aj@suse.de>
6948
6949 * sysdeps/i386/fpu/libm-test-ulps: Update.
6950
6951 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #3976]
6954 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6955 (__ieee754_pow): Save and restore rounding mode and use
6956 round-to-nearest for main computations.
6957 * math/libm-test.inc (pow_test_tonearest): New function.
6958 (pow_test_towardzero): Likewise.
6959 (pow_test_downward): Likewise.
6960 (pow_test_upward): Likewise.
6961 (main): Call the new functions.
6962 * sysdeps/i386/fpu/libm-test-ulps: Update.
6963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6964
6965 [BZ #3976]
6966 * math/libm-test.inc (cosh_test_tonearest): New function.
6967 (cosh_test_towardzero): Likewise.
6968 (cosh_test_downward): Likewise.
6969 (cosh_test_upward): Likewise.
6970 (sinh_test_tonearest): Likewise.
6971 (sinh_test_towardzero): Likewise.
6972 (sinh_test_downward): Likewise.
6973 (sinh_test_upward): Likewise.
6974 (main): Call the new functions.
6975 * sysdeps/i386/fpu/libm-test-ulps: Update.
6976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6977
6978 2012-03-05 Tom de Vries <tom@codesourcery.com>
6979
6980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6981 default stack guard is set in last bytes.
6982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6983
6984 2012-03-05 Kees Cook <keescook@chromium.org>
6985
6986 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6987
6988 [BZ #13656]
6989 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6990 possibly allocate from heap instead of stack.
6991 * stdio-common/bug-vfprintf-nargs.c: New file.
6992 * stdio-common/Makefile (tests): Add nargs overflow test.
6993
6994 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6995
6996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6997
6998 2012-03-03 Marek Polacek <polacek@redhat.com>
6999
7000 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
7001 * math/math_private.h: Likewise.
7002 * stdlib/tst-strtod.c: Likewise.
7003 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7004 * sysdeps/x86_64/bits/atomic.h: Likewise.
7005
7006 2012-03-02 David S. Miller <davem@davemloft.net>
7007
7008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7012 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7013 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7014 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7015 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7016
7017 2012-03-02 Roland McGrath <roland@hack.frob.com>
7018
7019 [BZ #13792]
7020 * manual/examples/README: New file, says the example source files
7021 can be used under GPL>=2.
7022 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7023 line containing just "*/".
7024 * manual/examples/add.c: Add copyright header (GPL>=2).
7025 * manual/examples/argp-ex1.c: Likewise.
7026 * manual/examples/argp-ex2.c: Likewise.
7027 * manual/examples/argp-ex3.c: Likewise.
7028 * manual/examples/argp-ex4.c: Likewise.
7029 * manual/examples/atexit.c: Likewise.
7030 * manual/examples/db.c: Likewise.
7031 * manual/examples/dir.c: Likewise.
7032 * manual/examples/dir2.c: Likewise.
7033 * manual/examples/execinfo.c: Likewise.
7034 * manual/examples/filecli.c: Likewise.
7035 * manual/examples/filesrv.c: Likewise.
7036 * manual/examples/fmtmsgexpl.c: Likewise.
7037 * manual/examples/genpass.c: Likewise.
7038 * manual/examples/inetcli.c: Likewise.
7039 * manual/examples/inetsrv.c: Likewise.
7040 * manual/examples/isockad.c: Likewise.
7041 * manual/examples/longopt.c: Likewise.
7042 * manual/examples/memopen.c: Likewise.
7043 * manual/examples/memstrm.c: Likewise.
7044 * manual/examples/mkfsock.c: Likewise.
7045 * manual/examples/mkisock.c: Likewise.
7046 * manual/examples/mygetpass.c: Likewise.
7047 * manual/examples/pipe.c: Likewise.
7048 * manual/examples/popen.c: Likewise.
7049 * manual/examples/rprintf.c: Likewise.
7050 * manual/examples/search.c: Likewise.
7051 * manual/examples/select.c: Likewise.
7052 * manual/examples/setjmp.c: Likewise.
7053 * manual/examples/sigh1.c: Likewise.
7054 * manual/examples/sigusr.c: Likewise.
7055 * manual/examples/stpcpy.c: Likewise.
7056 * manual/examples/strdupa.c: Likewise.
7057 * manual/examples/strftim.c: Likewise.
7058 * manual/examples/strncat.c: Likewise.
7059 * manual/examples/subopt.c: Likewise.
7060 * manual/examples/swapcontext.c: Likewise.
7061 * manual/examples/termios.c: Likewise.
7062 * manual/examples/testopt.c: Likewise.
7063 * manual/examples/testpass.c: Likewise.
7064 * manual/examples/timeval_subtract.c: Likewise.
7065
7066 [BZ #13792]
7067 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7068 function to ...
7069 * manual/timeval_subtract.c.texi: ... here, new file.
7070
7071 2012-03-02 David S. Miller <davem@davemloft.net>
7072
7073 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7074
7075 2012-03-02 Joseph Myers <joseph@codesourcery.com>
7076
7077 [BZ #3976]
7078 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7079 (__sin): Save and restore rounding mode and use round-to-nearest
7080 for all computations.
7081 (__cos): Save and restore rounding mode and use round-to-nearest
7082 for all computations.
7083 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7084 <fenv.h>.
7085 (tan): Save and restore rounding mode and use round-to-nearest for
7086 all computations.
7087 * math/libm-test.inc (cos_test_tonearest): New function.
7088 (cos_test_towardzero): Likewise.
7089 (cos_test_downward): Likewise.
7090 (cos_test_upward): Likewise.
7091 (sin_test_tonearest): Likewise.
7092 (sin_test_towardzero): Likewise.
7093 (sin_test_downward): Likewise.
7094 (sin_test_upward): Likewise.
7095 (tan_test_tonearest): Likewise.
7096 (tan_test_towardzero): Likewise.
7097 (tan_test_downward): Likewise.
7098 (tan_test_upward): Likewise.
7099 (main): Call the new functions.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102
7103 [BZ #10135]
7104 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7105 small n, then large n, before computing and testing k+n.
7106 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7108 Likewise.
7109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7110 Likewise.
7111 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7112 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7114 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7119 * math/libm-test.inc (scalbn_test): Add more tests.
7120 (scalbln_test): Likewise.
7121
7122 * manual/filesys.texi (mode_t): Describe constraints on size and
7123 signedness, not exact equivalence to a particular type.
7124 (ino_t): Likewise.
7125 (ino64_t): Likewise.
7126 (dev_t): Likewise.
7127 (nlink_t): Likewise.
7128 (blkcnt_t): Likewise.
7129 (blkcnt64_t): Likewise.
7130 * manual/llio.texi (off_t): Likewise.
7131
7132 [BZ #3976]
7133 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7134 (__ieee754_exp): Save and restore rounding mode and use
7135 round-to-nearest for all computations.
7136 * math/libm-test.inc (exp_test_tonearest): New function.
7137 (exp_test_towardzero): Likewise.
7138 (exp_test_downward): Likewise.
7139 (exp_test_upward): Likewise.
7140 (main): Call the new functions.
7141 * sysdeps/i386/fpu/libm-test-ulps: Update.
7142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7143
7144 2012-03-01 Chris Demetriou <cgd@google.com>
7145
7146 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7147 have predictable order.
7148
7149 2012-03-01 David S. Miller <davem@davemloft.net>
7150
7151 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7152
7153 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7156 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7157
7158 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7159 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7160 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7163 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7164 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7165 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7166 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7167
7168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7169
7170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7171 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7173
7174 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7175 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7176 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7177 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7178 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7181 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7190 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7191 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7192 * sysdeps/sparc/elf/configure: Regenerated.
7193
7194 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7195
7196 * configure.in (AS, LD): Require binutils 2.20 or later.
7197 * configure: Regenerated.
7198 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7199 as required minimum version.
7200 * INSTALL: Regenerated.
7201
7202 [BZ #2541]
7203 [BZ #4108]
7204 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7205 before squaring exponent.
7206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7207 bottom long double and 27 bits of top long double before squaring
7208 exponent.
7209 * math/libm-test.inc (erfc_test): Add more tests.
7210 * sysdeps/i386/fpu/libm-test-ulps: Update.
7211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7213
7214 2012-03-01 Kai Tietz <ktietz@redhat.com>
7215
7216 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7217 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7218 containing bit-fields.
7219 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7220 * soft-fp/single.h (_FP_UNION_S): Likewise.
7221 * soft-fp/double.h (_FP_UNION_D): Likewise.
7222
7223 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7224
7225 [BZ #13786]
7226 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7227 not include ../strcmp.S.
7228 [USE_AS_STRNCASECMP_L]: Likewise.
7229 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7230 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7231 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7232 (__strncasecmp_l_ia32): Define as alias to
7233 __strncasecmp_l_nonascii.
7234
7235 [BZ #5794]
7236 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7237 * sysdeps/i386/fpu/libm-test-ulps: Update.
7238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7239
7240 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7242
7243 2012-02-29 Jeff Law <law@redhat.com>
7244
7245 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7246 out of bounds read.
7247
7248 2012-02-29 Marek Polacek <polacek@redhat.com>
7249
7250 [BZ #13706]
7251 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7252 * elf/Makefile: Add rules to run tst-unused-dep.out.
7253
7254 2012-02-28 David S. Miller <davem@davemloft.net>
7255
7256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7260 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7261 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7262
7263 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7264
7265 * math/libm-test.inc (llround_test): Move one test from
7266 lround_test. Use TEST_f_L in moved test.
7267 (lround_test): Move misplaced test to llround_test. Add testcase
7268 from bug 2561.
7269
7270 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7271
7272 * sysdeps/x86_64/fpu/e_expf.S: New file.
7273 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7274
7275 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7276
7277 [BZ #13637]
7278 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7279 of remain_len that may cause incomplete multi-byte character and
7280 false match.
7281 * posix/bug-regex33.c: New file.
7282 * posix/Makefile (tests): Add bug-regex33.
7283
7284 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7285
7286 * manual/macros.texi: New file.
7287 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7288 * manual/libc.texinfo: Include macros.texi.
7289 * manual/creatute.texi: Likewise.
7290 * manual/install.texi: Likewise.
7291 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7292 @glibcadj{} in references to the GNU C Library.
7293 * manual/charset.texi: Likewise.
7294 * manual/conf.texi: Likewise.
7295 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7296 when not using those macros.
7297 * manual/creature.texi: Likewise.
7298 * manual/crypt.texi: Likewise.
7299 * manual/errno.texi: Likewise.
7300 * manual/filesys.texi: Likewise.
7301 * manual/header.texi: Likewise.
7302 * manual/install.texi: Likewise.
7303 * manual/intro.texi: Likewise.
7304 * manual/io.texi: Likewise.
7305 * manual/job.texi: Likewise.
7306 * manual/lang.texi: Likewise.
7307 * manual/libc.texiinfo: Likewise.
7308 * manual/llio.texi: Likewise.
7309 * manual/locale.texi: Likewise.
7310 * manual/maint.texi: Likewise.
7311 * manual/math.texi: Likewise.
7312 * manual/memory.texi: Likewise.
7313 * manual/message.texi: Likewise.
7314 * manual/nss.texi: Likewise.
7315 * manual/pattern.texi: Likewise.
7316 * manual/process.texi: Likewise.
7317 * manual/resource.texi: Likewise.
7318 * manual/search.texi: Likewise.
7319 * manual/setjmp.texi: Likewise.
7320 * manual/signal.texi: Likewise.
7321 * manual/socket.texi: Likewise.
7322 * manual/startup.texi: Likewise.
7323 * manual/stdio.texi: Likewise.
7324 * manual/string.texi: Likewise.
7325 * manual/sysinfo.texi: Likewise.
7326 * manual/syslog.texi: Likewise.
7327 * manual/terminal.texi: Likewise.
7328 * manual/time.texi: Likewise.
7329 * manual/users.texi: Likewise.
7330 * INSTALL: Regenerated.
7331 * NOTES: Regenerated.
7332 * sysdeps/gnu/errlist.c: Regenerated.
7333
7334 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7335
7336 * include/dirent.h: Include <dirstream.h> before
7337 <dirent/dirent.h>.
7338
7339 2012-02-28 David S. Miller <davem@davemloft.net>
7340
7341 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7342 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7343 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7344 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7345
7346 2012-02-27 David S. Miller <davem@davemloft.net>
7347
7348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7350 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7351 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7352
7353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7354 frame pointer instead of stack pointer relative arg slot.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7358
7359 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7360
7361 [BZ #3992]
7362 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7363
7364 2012-02-27 David S. Miller <davem@davemloft.net>
7365
7366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7372 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7374
7375 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7376
7377 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7378 later. Allow versions 5-9.
7379 * configure: Regenerated.
7380 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7381 required minimum version and 4.6 as recommended version. Do not
7382 mention bugs in GCC 2.7 and 2.8.
7383 * INSTALL: Regenerated.
7384
7385 2012-02-27 David S. Miller <davem@davemloft.net>
7386
7387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7395
7396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7397 manipulate bits before adding and subtracting TWO112[sx].
7398 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7399
7400 2012-02-27 Roland McGrath <roland@hack.frob.com>
7401
7402 [BZ #13775]
7403 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7404 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7405 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7406 being in POSIX, because they are in 1003.1-2008.
7407
7408 * rt/tst-aio.c: Include <fcntl.h>.
7409 * rt/tst-aio7.c: Likewise.
7410 * rt/tst-aio64.c: Likewise.
7411
7412 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7413
7414 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7415
7416 * manual/install.texi (--with-headers): Describe headers as
7417 interface headers, not private headers.
7418 (Specific advice for GNU/Linux systems): Describe use of headers
7419 from "make headers_install", not private headers from older
7420 kernels.
7421 * INSTALL: Regenerated.
7422 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7423 Change to 2.6.19.
7424 * sysdeps/unix/sysv/linux/configure: Regenerated.
7425
7426 * manual/llio.texi (fclean): Remove documentation.
7427
7428 * manual/Makefile (libc-texi-generated): New variable. Include
7429 version.texi.
7430 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7431 $(libc-texi-generated), not duplicated list of files.
7432 (version.texi, stamp-version): New rules.
7433 (realclean): Remove $(libc-texi-generated), not individual files
7434 from that list. Do not remove dir-add.texinfo.
7435 * manual/libc.texinfo: Comment out uses of edition numbers and
7436 references to printed manual. Remove last-updated dates.
7437 (EDITION): Comment out.
7438 (ISBN): Likewise.
7439 (VERSION, UPDATED): Remove.
7440 (version.texi): Include.
7441
7442 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7443
7444 * sysdeps/posix/spawni.c: Include <signal.h>.
7445 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7446 * sysdeps/pthread/aio_fsync.c: Likewise.
7447
7448 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7449
7450 * conform/Makefile (tests): Run only when not cross-compiling and
7451 when fast-check is not defined.
7452
7453 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7454 * conform/data/limits.h-data: Fixes for POSIX2008.
7455 * conform/run-conformtest.sh: Run all tests.
7456 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7457 headers.
7458 * include/bits/dlfcn.h: Likewise.
7459 * include/langinfo.h: Likewise.
7460 * include/monetary.h: Likewise.
7461 * include/sys/poll.h: Likewise.
7462
7463 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7464 for __USE_GNU.
7465 * posix/spawn.h: Define __need_sigset_t.
7466 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7467 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7468 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7469 to get sigevent_t only.
7470 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7471 only for __USE_GNU.
7472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7473 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7474 process_vm_writev only for __USE_GNU.
7475 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7476
7477 * conform/Makefile: For now ignore errors from run-conformtest.
7478 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7479 POSIX to avoid namespace pollution. Don't prepend headers.
7480 * conform/data/aio.h-data: Fixes for POSIX testing.
7481 * conform/data/fcntl.h-data: Likewise.
7482 * conform/data/glob.h-data: Likewise.
7483 * conform/data/grp.h-data: Likewise.
7484 * conform/data/pthread.h-data: Likewise.
7485 * conform/data/pwd.h-data: Likewise.
7486 * conform/data/signal.h-data: Likewise.
7487 * conform/data/spawn.h-data: Likewise.
7488 * conform/data/stdio.h-data: Likewise.
7489 * conform/data/stdlib.h-data: Likewise.
7490 * conform/data/stropts.h-data: Likewise.
7491 * conform/data/sys/mman.h-data: Likewise.
7492 * conform/data/sys/stat.h-data: Likewise.
7493 * conform/data/sys/types.h-data: Likewise.
7494 * conform/data/sys/wait.h-data: Likewise.
7495 * conform/data/time.h-data: Likewise.
7496 * conform/data/unistd.h-data: Likewise.
7497 * conform/data/utime.h-data: Likewise.
7498
7499 * io/sys/stat.h: fchmod was always in POSIX.
7500 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7501 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7502 * rt/aio.h: Define __need_timespec before including <time.h>.
7503 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7504 struct. Add forward declaration of pthread_attr_t and use it in
7505 sigevent.
7506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7508 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7509 always remove CLK_TCK definition.
7510
7511 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7512
7513 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7514
7515 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7516
7517 * conform/run-conformtest.sh: New file.
7518 * conform/Makefile: Run run-conformtest for tests.
7519 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7520 support.
7521
7522 * conform/data/uchar.h-data: New file.
7523 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7524 * conform/data/arpa/inet.h-data: Likewise.
7525 * conform/data/assert.h-data: Likewise.
7526 * conform/data/complex.h-data: Likewise.
7527 * conform/data/cpio.h-data: Likewise.
7528 * conform/data/ctype.h-data: Likewise.
7529 * conform/data/dirent.h-data: Likewise.
7530 * conform/data/dlfcn.h-data: Likewise.
7531 * conform/data/errno.h-data: Likewise.
7532 * conform/data/fcntl.h-data: Likewise.
7533 * conform/data/float.h-data: Likewise.
7534 * conform/data/fmtmsg.h-data: Likewise.
7535 * conform/data/fnmatch.h-data: Likewise.
7536 * conform/data/ftw.h-data: Likewise.
7537 * conform/data/glob.h-data: Likewise.
7538 * conform/data/grp.h-data: Likewise.
7539 * conform/data/iconv.h-data: Likewise.
7540 * conform/data/inttypes.h-data: Likewise.
7541 * conform/data/langinfo.h-data: Likewise.
7542 * conform/data/libgen.h-data: Likewise.
7543 * conform/data/limits.h-data: Likewise.
7544 * conform/data/locale.h-data: Likewise.
7545 * conform/data/math.h-data: Likewise.
7546 * conform/data/monetary.h-data: Likewise.
7547 * conform/data/mqueue.h-data: Likewise.
7548 * conform/data/ndbm.h-data: Likewise.
7549 * conform/data/net/if.h-data: Likewise.
7550 * conform/data/netdb.h-data: Likewise.
7551 * conform/data/netinet/in.h-data: Likewise.
7552 * conform/data/nl_types.h-data: Likewise.
7553 * conform/data/poll.h-data: Likewise.
7554 * conform/data/pthread.h-data: Likewise.
7555 * conform/data/pwd.h-data: Likewise.
7556 * conform/data/regex.h-data: Likewise.
7557 * conform/data/sched.h-data: Likewise.
7558 * conform/data/search.h-data: Likewise.
7559 * conform/data/semaphore.h-data: Likewise.
7560 * conform/data/setjmp.h-data: Likewise.
7561 * conform/data/signal.h-data: Likewise.
7562 * conform/data/spawn.h-data: Likewise.
7563 * conform/data/stdarg.h-data: Likewise.
7564 * conform/data/stdio.h-data: Likewise.
7565 * conform/data/stdlib.h-data: Likewise.
7566 * conform/data/string.h-data: Likewise.
7567 * conform/data/strings.h-data: Likewise.
7568 * conform/data/stropts.h-data: Likewise.
7569 * conform/data/sys/ipc.h-data: Likewise.
7570 * conform/data/sys/mman.h-data: Likewise.
7571 * conform/data/sys/msg.h-data: Likewise.
7572 * conform/data/sys/resource.h-data: Likewise.
7573 * conform/data/sys/select.h-data: Likewise.
7574 * conform/data/sys/sem.h-data: Likewise.
7575 * conform/data/sys/shm.h-data: Likewise.
7576 * conform/data/sys/socket.h-data: Likewise.
7577 * conform/data/sys/stat.h-data: Likewise.
7578 * conform/data/sys/statvfs.h-data: Likewise.
7579 * conform/data/sys/time.h-data: Likewise.
7580 * conform/data/sys/timeb.h-data: Likewise.
7581 * conform/data/sys/times.h-data: Likewise.
7582 * conform/data/sys/types.h-data: Likewise.
7583 * conform/data/sys/uio.h-data: Likewise.
7584 * conform/data/sys/un.h-data: Likewise.
7585 * conform/data/sys/utsname.h-data: Likewise.
7586 * conform/data/sys/wait.h-data: Likewise.
7587 * conform/data/syslog.h-data: Likewise.
7588 * conform/data/tar.h-data: Likewise.
7589 * conform/data/termios.h-data: Likewise.
7590 * conform/data/utime.h-data: Likewise.
7591 * conform/data/utmpx.h-data: Likewise.
7592 * conform/data/varargs.h-data: Likewise.
7593 * conform/data/wchar.h-data: Likewise.
7594 * conform/data/wctype.h-data: Likewise.
7595 * conform/data/wordexp.h-data: Likewise.
7596
7597 * include/stropts.h: New file.
7598 * include/uchar.h: New file.
7599 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7600 * include/assert.h: Likewise.
7601 * include/ctype.h: Likewise.
7602 * include/dirent.h: Likewise.
7603 * include/dlfcn.h: Likewise.
7604 * include/fcntl.h: Likewise.
7605 * include/fnmatch.h: Likewise.
7606 * include/glob.h: Likewise.
7607 * include/grp.h: Likewise.
7608 * include/libio.h: Likewise.
7609 * include/locale.h: Likewise.
7610 * include/math.h: Likewise.
7611 * include/net/if.h: Likewise.
7612 * include/netdb.h: Likewise.
7613 * include/netinet/in.h: Likewise.
7614 * include/pthread.h: Likewise.
7615 * include/pwd.h: Likewise.
7616 * include/regex.h: Likewise.
7617 * include/sched.h: Likewise.
7618 * include/search.h: Likewise.
7619 * include/setjmp.h: Likewise.
7620 * include/signal.h: Likewise.
7621 * include/stdio.h: Likewise.
7622 * include/stdlib.h: Likewise.
7623 * include/string.h: Likewise.
7624 * include/sys/cdefs.h: Likewise.
7625 * include/sys/mman.h: Likewise.
7626 * include/sys/msg.h: Likewise.
7627 * include/sys/resource.h: Likewise.
7628 * include/sys/select.h: Likewise.
7629 * include/sys/socket.h: Likewise.
7630 * include/sys/stat.h: Likewise.
7631 * include/sys/statvfs.h: Likewise.
7632 * include/sys/time.h: Likewise.
7633 * include/sys/times.h: Likewise.
7634 * include/sys/uio.h: Likewise.
7635 * include/sys/utsname.h: Likewise.
7636 * include/sys/wait.h: Likewise.
7637 * include/termios.h: Likewise.
7638 * include/time.h: Likewise.
7639 * include/ulimit.h: Likewise.
7640 * include/unistd.h: Likewise.
7641 * include/utime.h: Likewise.
7642 * include/wchar.h: Likewise.
7643 * include/wctype.h: Likewise.
7644 * include/wordexp.h: Likewise.
7645
7646 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7647
7648 * time/time.h: TIME_UTC must be a macro.
7649 Make timespec_get available for ISO C11 only as well.
7650
7651 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7652
7653 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7654 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7655
7656 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7657
7658 * configure.in: Use -o not -a in test for unsupported multi-arch.
7659
7660 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7661
7662 * manual/texinfo.tex: Update to version 2012-01-19.16.
7663
7664 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7665
7666 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7667
7668 2012-02-24 Roland McGrath <roland@hack.frob.com>
7669
7670 [BZ #13738]
7671 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7672 * manual/fdl-1.3.texi: New file.
7673 * manual/fdl-1.1.texi: File removed.
7674
7675 [BZ #13738]
7676 * manual/libc.texinfo (FDL_VERSION): New @set.
7677 Use it for mention of FDL in cover text.
7678 (Documentation License): Use it in @include file name.
7679
7680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7681 Roland McGrath <roland@hack.frob.com>
7682
7683 [BZ #5461]
7684 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7685 not LONG_LONG_MAX and LONG_LONG_MIN.
7686 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7687 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7688 name.
7689 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7690
7691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7692
7693 [BZ #2547]
7694 [BZ #11365]
7695 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7696 manipulate bits before adding and subtracting TWO23[sx].
7697 * math/libm-test.inc (nearbyint_test): Add more tests.
7698
7699 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7700
7701 [BZ #2548]
7702 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7703 bits before adding and subtracting TWO23[sx].
7704 * math/libm-test.inc (rint_test): Add more tests.
7705 (rint_test_tonearest): Likewise.
7706 (rint_test_towardzero): Likewise.
7707 (rint_test_downward): Likewise.
7708 (rint_test_upward: Likewise.
7709
7710 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7711
7712 [BZ #10110]
7713 * include/stdc-predef.h: New file. Extracted from features.h.
7714 * include/features.h: Include stdc-predef.h.
7715 * Makefile (headers): Add stdc-predef.h.
7716 * CONFORMANCE (Compiler limitations): Update.
7717
7718 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7719
7720 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7721
7722 2012-02-21 David S. Miller <davem@davemloft.net>
7723
7724 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7726
7727 2012-02-20 David S. Miller <davem@davemloft.net>
7728
7729 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7730 using a normal save/restore sequence, rather than allocating a
7731 dummy stack frame just to store a frame pointer and restore.
7732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7733
7734 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7735
7736 * manual/install.texi: Fix stray word in line-wrapped comment.
7737
7738 2012-02-20 David S. Miller <davem@davemloft.net>
7739
7740 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7741 both binutils and gcc support GOTDATA.
7742
7743 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7744 "rd %pc" in the PIC register setup sequences.
7745
7746 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7747 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7748 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7749 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7750 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7755 (SYSCALL_ERROR_HANDLER): Likewise.
7756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7759 (SYSCALL_ERROR_HANDLER): Likewise.
7760
7761 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7762 (HAVE_GCC_GOTDATA): New.
7763 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7764 relocation support in both binutils and gcc.
7765 * sysdeps/sparc/elf/configure: Regenerate.
7766
7767 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7768 * sysdeps/sparc/sparc32/elf/configure: Delete.
7769 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7770 * sysdeps/sparc/sparc64/elf/configure: Delete.
7771 * sysdeps/sparc/elf/configure.in: New file.
7772 * sysdeps/sparc/elf/configure: Generate.
7773
7774 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7775 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7777 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7778 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7779
7780 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7781
7782 * manual/install.texi: Do not mention specific glibc version
7783 numbers.
7784 * manual/libc.texinfo (VERSION, UPDATED): Update.
7785 (@copying): Use @copyright{} and range of years.
7786
7787 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7788
7789 [BZ #13695]
7790 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7791 [crti.S not in sysdirs] (generated): Do not append.
7792 [crti.S not in sysdirs] (omit-deps): Likewise.
7793 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7794 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7795 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7796 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7797 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7798 Likewise.
7799 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7800 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7801 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7802 * csu/defs.awk: Remove file.
7803 * sysdeps/generic/initfini.c: Likewise.
7804 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7805 variable.
7806 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7807 Likewise.
7808
7809 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7810
7811 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7812 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7813 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7817 <bits/epoll.h>.
7818 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7819 (__EPOLL_PACKED): Define to empty if not defined by
7820 <bits/epoll.h>.
7821 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7823 bits/epoll.h.
7824
7825 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7826
7827 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7828 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7829 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7830 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7831 <bits/timerfd.h>.
7832 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7834 bits/timerfd.h.
7835
7836 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7837
7838 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7839 in C locale.
7840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7841 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7844
7845 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7846
7847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7849
7850 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7851
7852 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7853 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7854 defined.
7855 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7856 Likewise.
7857 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7858 entry for 2.16.
7859
7860 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7861
7862 * math/w_acos.c: Use non-signaling floating-point comparisons.
7863 * math/w_acosf.c: Likewise.
7864 * math/w_acosh.c: Likewise.
7865 * math/w_acoshf.c: Likewise.
7866 * math/w_acoshl.c: Likewise.
7867 * math/w_acosl.c: Likewise.
7868 * math/w_asin.c: Likewise.
7869 * math/w_asinf.c: Likewise.
7870 * math/w_asinl.c: Likewise.
7871 * math/w_atanh.c: Likewise.
7872 * math/w_atanhf.c: Likewise.
7873 * math/w_atanhl.c: Likewise.
7874 * math/w_exp2.c: Likewise.
7875 * math/w_exp2f.c: Likewise.
7876 * math/w_exp2l.c: Likewise.
7877 * math/w_j0.c: Likewise.
7878 * math/w_j0f.c: Likewise.
7879 * math/w_j0l.c: Likewise.
7880 * math/w_j1.c: Likewise.
7881 * math/w_j1f.c: Likewise.
7882 * math/w_j1l.c: Likewise.
7883 * math/w_jn.c: Likewise.
7884 * math/w_jnf.c: Likewise.
7885 * math/w_log.c: Likewise.
7886 * math/w_log10.c: Likewise.
7887 * math/w_log10f.c: Likewise.
7888 * math/w_log10l.c: Likewise.
7889 * math/w_log2.c: Likewise.
7890 * math/w_log2f.c: Likewise.
7891 * math/w_log2l.c: Likewise.
7892 * math/w_logf.c: Likewise.
7893 * math/w_logl.c: Likewise.
7894 * math/w_sqrt.c: Likewise.
7895 * math/w_sqrtf.c: Likewise.
7896 * math/w_sqrtl.c: Likewise.
7897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7898 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7902
7903 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7904
7905 [BZ #9739]
7906 * manual/string.texi (strnlen): Use correct parameter name in
7907 equivalent expression.
7908
7909 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7910
7911 [BZ #11174]
7912 * manual/users.texi (seteuid): Consistently use neweuid for
7913 argument name.
7914
7915 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7916
7917 [BZ #13704]
7918 * manual/nss.texi (Services in the NSS configuration): Correct
7919 list of services in example configuration file.
7920
7921 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7922
7923 [BZ #11322]
7924 * manual/arith.texi: Remove statements about negative zero
7925 behaving identically to zero.
7926
7927 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7928
7929 [BZ #5993]
7930 * manual/install.texi: Do not document upgrading from libc5.
7931
7932 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7933
7934 [BZ #4596]
7935 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7936
7937 2012-02-18 David S. Miller <davem@davemloft.net>
7938
7939 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7940 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7941 %o7 across the call.
7942 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7943 instead.
7944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7945 SETUP_PIC_REG_LEAF.
7946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7947 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7948 * sysdeps/sparc/crtn.S: Likewise.
7949
7950 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7951
7952 * aout/Makefile: Remove.
7953
7954 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7955
7956 [BZ #13058]
7957 * manual/examples/argp-ex1.c (main): Format definition in GNU
7958 style.
7959 * manual/examples/argp-ex2.c (main): Likewise.
7960 * manual/examples/argp-ex3.c (main): Likewise.
7961 * manual/examples/argp-ex4.c (main): Likewise.
7962 * manual/examples/longopt.c (main): Use new-style prototype
7963 definition.
7964 * manual/examples/strncat.c (main): Specify return type and use
7965 (void) for arguments.
7966 * manual/examples/subopt.c (main): Use char **argv argument.
7967
7968 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7969
7970 [BZ #5077]
7971 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7972 rounding modes.
7973
7974 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7975
7976 [BZ #6907]
7977 * manual/string.texi (strchr): Change when strchrnul is
7978 recommended.
7979
7980 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7981
7982 [BZ #174]
7983 * manual/locale.texi (setlocale): Document LOCPATH.
7984
7985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7986
7987 [BZ #10210]
7988 * manual/process.texi (execle): Move @dots{} before last argument.
7989
7990 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7991
7992 [BZ #12047]
7993 * manual/charset.texi (Generic Charset Conversion): Fix typo
7994 (LC_TYPE -> LC_CTYPE).
7995
7996 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7997
7998 [BZ #5805]
7999 * manual/arith.texi (scalbn): Use @var{} on parameter names.
8000 (scalbnf): Likewise.
8001 (scalbnl): Likewise.
8002 (scalbln): Likewise.
8003 (scalblnf): Likewise.
8004 (scalblnl): Likewise.
8005 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8006 (vwarnx): Likewise.
8007 (verr): Likewise.
8008 (verrx): Likewise.
8009 * manual/filesys.texi (telldir): Use braces around return type.
8010 * manual/llio.texi (mmap): Add space after comma.
8011 (mmap64): Likewise.
8012 * manual/math.texi (jn): Use @var{} on parameter names.
8013 (jnf): Likewise.
8014 (jnl): Likewise.
8015 (yn): Likewise.
8016 (ynf): Likewise.
8017 (ynl): Likewise.
8018 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8019 line.
8020 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8021 "...".
8022 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8023 (sched_get_priority_max): Likewise.
8024 * manual/signal.texi (sigvec): Add space after comma.
8025 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8026 names.
8027 (if_indextoname): Likewise.
8028 (if_freenameindex): Likewise.
8029 (sendto): Use ',' instead of '.' in prototype.
8030 * manual/startup.texi (syscall): Use @dots{} instead of literal
8031 "...".
8032 * manual/stdio.texi (__fpending): Separate initial words of
8033 paragraph from @deftypefun line.
8034 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8035 "...".
8036 (vsyslog): Use @var{} on parameter names.
8037 * manual/terminal.texi (stty): Use @var{} on parameter names.
8038 * manual/users.texi (getutmp): Use @var{} on parameter names.
8039 (getutmpx): Likewise.
8040
8041 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8042
8043 [BZ #6884]
8044 * manual/stdio.texi (fopen): Fix typos in description of
8045 ",ccs=STRING".
8046
8047 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8048
8049 [BZ #4026]
8050 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8051 get clock_id definition.
8052
8053 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
8054
8055 [BZ #4822]
8056 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8057 (madvise): Cast every argument to void on its own.
8058
8059 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8060
8061 [BZ #9902]
8062 * manual/startup.texi (Exit Status): Fix typo.
8063
8064 2012-02-17 Joseph Myers <joseph@codesourcery.com>
8065
8066 [BZ #10140]
8067 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8068 * manual/examples/argp-ex2.c: Likewise.
8069 * manual/examples/argp-ex3.c: Likewise.
8070
8071 2012-02-16 Richard Henderson <rth@redhat.com>
8072
8073 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8074 * sysdeps/s390/s390-32/initfini.c: Remove.
8075 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8076 * sysdeps/s390/s390-64/initfini.c: Remove.
8077
8078 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8079
8080 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8081 compiler output for sysdeps/generic/initfini.c.
8082 * sysdeps/sh/elf/initfini.c: Remove file.
8083
8084 2012-02-16 David S. Miller <davem@davemloft.net>
8085
8086 [BZ #11494]
8087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8088
8089 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8090 * sysdeps/sparc/crti.S: New file.
8091 * sysdeps/sparc/crtn.S: New file.
8092 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8093 * sysdeps/sparc/sparc64/Makefile: Likewise.
8094
8095 2012-02-15 Mike Frysinger <vapier@gentoo.org>
8096
8097 [BZ #3335]
8098 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8099
8100 2012-02-15 Roland McGrath <roland@hack.frob.com>
8101
8102 [BZ #4822]
8103 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8104
8105 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8106 (write, read, close): Likewise.
8107 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8108
8109 2012-02-15 Joseph Myers <joseph@codesourcery.com>
8110
8111 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8112 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8113 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8114 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8115 <bits/signalfd.h>.
8116 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8118 bits/signalfd.h.
8119
8120 2012-02-14 Marek Polacek <polacek@redhat.com>
8121
8122 * sysdeps/x86_64/crti.S: New file.
8123 * sysdeps/x86_64/crtn.S: New file.
8124 * sysdeps/x86_64/elf/initfini.c: Remove file.
8125
8126 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8127
8128 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8129 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8130 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8131 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8132 <bits/inotify.h>.
8133 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8135 bits/inotify.h.
8136
8137 2012-02-13 Joseph Myers <joseph@codesourcery.com>
8138
8139 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8140 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8141 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8142 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8143 <bits/eventfd.h>.
8144 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8146 bits/eventfd.h.
8147
8148 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8149
8150 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8151 __feraiseexcept instead of feraiseexcept.
8152
8153 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8154 nanosleep invocations.
8155 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8156 strings, and add error checking for a nanosleep invocations.
8157
8158 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8159
8160 Replace FSF snail mail address with URLs, as per GNU coding standards.
8161 Most of the snail mail addresses were wrong anyway, and omitting
8162 them makes the source code easier to maintain. Almost all of the
8163 changes are to license notices and to locale LC_IDENTIFICATION
8164 addresses, except for this one:
8165 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8166 not its snail mail address.
8167
8168 2012-02-09 Richard Henderson <rth@twiddle.net>
8169
8170 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8171 of kernel-features.h.
8172
8173 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8174
8175 2012-02-08 Marek Polacek <polacek@redhat.com>
8176
8177 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8178 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8179 * sysdeps/gnu/_G_config.h: Likewise.
8180 * sysdeps/generic/_G_config.h: Likewise.
8181
8182 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8183
8184 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8185 tests.
8186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8187
8188 * sysdeps/powerpc/powerpc32/crti.S: New file.
8189 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8190 * sysdeps/powerpc/powerpc64/crti.S: New file.
8191 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8192
8193 * Makeconfig (have-initfini): Don't set.
8194 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8195 * configure.in (nopic_initfini): Don't substitute.
8196 * config.h.in (HAVE_INITFINI): Don't #undef.
8197 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8198 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8199
8200 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8201
8202 Support crti.S and crtn.S provided directly by architectures.
8203 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8204 [crti.S in sysdirs] (omit-deps): Likewise.
8205 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8206 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8207 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8208 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8209 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8210 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8211 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8212 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8213 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8214 compiler output for sysdeps/generic/initfini.c.
8215 * sysdeps/i386/elf/Makefile: Remove file.
8216 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8217
8218 2012-02-07 Marek Polacek <polacek@redhat.com>
8219
8220 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8221 * sysdeps/gnu/_G_config.h: Likewise.
8222 * sysdeps/mach/hurd/_G_config.h: Likewise.
8223
8224 2012-02-07 Marek Polacek <polacek@redhat.com>
8225
8226 * math/Makefile (tests): Add tst-CMPLX2.
8227 * math/tst-CMPLX2.c: New file.
8228
8229 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8230
8231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8232
8233 * math/libm-test.inc (jn_test): Add missing L suffix.
8234
8235 2012-02-06 Marek Polacek <polacek@redhat.com>
8236
8237 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8238 * sysdeps/i386/fpu/e_powf.S: Likewise.
8239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8240 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8242 * sysdeps/i386/fpu/e_pow.S: Likewise.
8243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8247 * sysdeps/i386/fpu/e_log2.S: Likewise.
8248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8250 * sysdeps/i386/fpu/e_powl.S: Likewise.
8251 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8253 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8254 * sysdeps/i386/fpu/e_logl.S: Likewise.
8255 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8256 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8257 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8258 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8259 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8260 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8261 * sysdeps/i386/fpu/e_log.S: Likewise.
8262 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8263 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8264 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8265 * sysdeps/i386/fpu/e_logf.S: Likewise.
8266 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8268 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8269 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8270 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8271 * sysdeps/i386/fpu/e_log10.S: Likewise.
8272 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8274 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8275 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8277 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8278 * sysdeps/i386/asm-syntax.h: Likewise.
8279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8280 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8281 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8282 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8283 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8284 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8285 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8286 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8287 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8288 * sysdeps/powerpc/sysdep.h: Likewise.
8289 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8290 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8291
8292 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8293
8294 [BZ #411]
8295 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8296
8297 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8298
8299 * sysdeps/i386/sysdep.h: Include <features.h>.
8300 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8301 version.
8302
8303 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8304
8305 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8306 Define.
8307 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8308 LOAD_PIC_REG_STR.
8309
8310 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8311
8312 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8313 (SETUP_PIC_REG): Use GET_PC_THUNK.
8314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8315 macro.
8316
8317 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8318
8319 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8320 for non-PIC compilation.
8321 (SETUP_PIC_REG): Add .p2align directive.
8322 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8323 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8341 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8345 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8348 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8350 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8351 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8352 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8353 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8354 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8355 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8356 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8357 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8358 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8359 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8360 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8361 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8362 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8363
8364 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8365
8366 * math/tst-CMPLX.c: Include <stdio.h>.
8367
8368 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8369
8370 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8371 float.
8372 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8373 * sysdeps/sparc/bits/mathdef.h: Likewise.
8374
8375 2012-01-31 Marek Polacek <polacek@redhat.com>
8376
8377 * libio/libio.h: Don't define _PARAMS.
8378 * locale/programs/config.h: Don't define PARAMS.
8379 * stdlib/strtol_l.c: Likewise.
8380 (__strtol_l): Remove PARAMS from the prototype.
8381
8382 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8383
8384 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8385 names. Just use the correct names. Remove unnecessary wrapper
8386 functions.
8387 * malloc/arena.c: Likewise.
8388 * malloc/hooks.c: Likewise.
8389
8390 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8391 ARENA_TEST says not to. Simplify test for creation of a new arena.
8392 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8393
8394 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8395
8396 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8397 into tail calls.
8398 (update_get_addr): New function.
8399 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8400 GET_ADDR_MODULE parameter.
8401
8402 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8403
8404 * crypt/cert.c: Remove __STDC__ conditionals.
8405 * crypt/crypt-entry.c: Likewise.
8406 * crypt/crypt_util.c: Likewise.
8407 * libio/filedoalloc.c: Likewise.
8408 * libio/fileops.c: Likewise.
8409 * libio/genops.c: Likewise.
8410 * libio/iofclose.c: Likewise.
8411 * libio/iofdopen.c: Likewise.
8412 * libio/iofopen.c: Likewise.
8413 * libio/iofopen64.c: Likewise.
8414 * libio/iogetdelim.c: Likewise.
8415 * libio/iopopen.c: Likewise.
8416 * libio/obprintf.c: Likewise.
8417 * libio/oldfileops.c: Likewise.
8418 * libio/oldiofclose.c: Likewise.
8419 * libio/oldiofdopen.c: Likewise.
8420 * libio/oldiofopen.c: Likewise.
8421 * libio/oldiopopen.c: Likewise.
8422 * libio/wfiledoalloc.c: Likewise.
8423 * libio/wgenops.c: Likewise.
8424 * locale/programs/xmalloc.c: Likewise.
8425 * misc/syslog.c: Likewise.
8426 * stdio-common/xbug.c: Likewise.
8427 * string/memchr.c: Likewise.
8428 * string/memcmp.c: Likewise.
8429 * string/memrchr.c: Likewise.
8430 * string/rawmemchr.c: Likewise.
8431 * sysdeps/posix/getcwd.c: Likewise.
8432 * time/strftime_l.c: Likewise.
8433
8434 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8435
8436 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8437 * config.make.in (config-cflags-sse2avx): Define.
8438 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8439 Fix typo.
8440
8441 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8442
8443 * scripts/config.guess: Update from upstream config git repository.
8444 * scripts/config.sub: Likewise.
8445
8446 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8447
8448 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8449 (EM_NUM): Update.
8450 (R_TILEPRO_*, R_TILEGX_*): New macros.
8451
8452 * scripts/firstversions.awk: Fix bug in version range handling.
8453
8454 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8455
8456 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8457
8458 * include/sys/epoll.h: New file.
8459 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8460 libc_hidden_def.
8461
8462 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8463
8464 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8465 Avoid unnecessary __WORDSIZE == 64 test.
8466 (fmaxf): Use VEX format if possible.
8467 (fmax): Likewise.
8468 (fminf): Likewise.
8469 (fmin): Likewise.
8470
8471 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8472 * math/math_private.h: Remove libc_fegetround* and
8473 libc_fesetround*.
8474 * sysdeps/i386/configure.in: Check for -msse2avx.
8475 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8476 also if SSE2AVX is defined.
8477 Remove libc_fegetround* and libc_fesetround*.
8478 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8479 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8480 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8481 of HAS_YMM_USABLE.
8482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8487
8488 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8489
8490 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8491
8492 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8493 size is not set.
8494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8495
8496 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8497
8498 [BZ #13618]
8499 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8500 relocation.
8501 * Makeconfig (libm): Define.
8502 * elf/Makefile: Add rules to build and run tst-relsort1.
8503 * elf/tst-relsort1.c: New file.
8504 * elf/tst-relsort1mod1.c: New file.
8505 * elf/tst-relsort1mod2.c: New file.
8506
8507 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8508
8509 * math/s_ldexp.c: Remove __STDC__ conditionals.
8510 * math/s_ldexpf.c: Likewise.
8511 * math/s_ldexpl.c: Likewise.
8512 * math/s_nextafter.c: Likewise.
8513 * math/s_nexttowardf.c: Likewise.
8514 * math/s_significand.c: Likewise.
8515 * math/s_significandf.c: Likewise.
8516 * math/s_significandl.c: Likewise.
8517 * math/w_jnl.c: Likewise.
8518 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8519 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8520 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8521 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8522 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8539 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8540 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8542 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8543 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8546 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8552 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8556 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8557 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8558 * sysdeps/ieee754/k_standard.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8625 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8629 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8634 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8635 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8636 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8637 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8638 * sysdeps/ieee754/s_matherr.c: Likewise.
8639 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8640 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8643
8644 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8645
8646 * crypt/md5.h: Remove __STDC__ conditionals.
8647 * libio/libioP.h: Likewise.
8648 * locale/programs/config.h: Likewise.
8649 * sysdeps/generic/sysdep.h: Likewise.
8650 * sysdeps/i386/asm-syntax.h: Likewise.
8651 * sysdeps/s390/asm-syntax.h: Likewise.
8652 * sysdeps/unix/sysdep.h: Likewise.
8653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8655
8656 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8657
8658 * libio/libio.h: Remove __STDC__ conditionals.
8659 * malloc/obstack.h: Likewise.
8660 * math/complex.h: Likewise.
8661 * math/math.h: Likewise.
8662 * sysdeps/generic/_G_config.h: Likewise.
8663 * sysdeps/gnu/_G_config.h: Likewise.
8664 * sysdeps/mach/hurd/_G_config.h: Likewise.
8665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8666 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8667 * sysdeps/sparc/bits/mathdef.h: Likewise.
8668
8669 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8670
8671 [BZ #13583]
8672 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8673 Clean up HAS_* macros.
8674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8675 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8676 possible.
8677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8678 HAS_AVX.
8679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8684
8685 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8686
8687 * elf/tst-unique3.cc (gets): Remove declaration.
8688 * elf/tst-unique3lib.cc (gets): Likewise.
8689 * elf/tst-unique3lib2.cc (gets): Likewise.
8690 * elf/tst-unique4.cc (gets): Likewise.
8691
8692 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8693
8694 * include/stdio.h: Add C++ protection. Add gets declarations and
8695 definitions.
8696 * debug/tst-chk1.c: Don't declare gets here.
8697 * stdio-common/tst-gets.c: Likewise.
8698
8699 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8700
8701 * posix/glob: Remove directory.
8702
8703 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8704
8705 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8706
8707 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8708
8709 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8710 of the non-standard EPFNOSUPPORT.
8711
8712 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8713
8714 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8715 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8716 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8717
8718 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8719
8720 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8721
8722 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8723
8724 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8725 transient errors.
8726 * nscd/grpcache.c (cache_addgr): Likewise.
8727 * nscd/hstcache.c (cache_addhst): Likewise.
8728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8729 * nscd/pwdcache.c (cache_addpw): Likewise.
8730 * nscd/servicescache.c (cache_addserv): Likewise.
8731
8732 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8733
8734 * malloc/malloc.c: Various cleanups.
8735 * malloc/hooks.c: Likewise.
8736
8737 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8738 * stdlib/bug-fmtmsg1.c: New file.
8739
8740 * stdlib/fmtmsg.c (init): Add missing unlock.
8741 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8742
8743 2012-01-12 Marek Polacek <polacek@redhat.com>
8744
8745 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8746 and _GNU_SOURCE.
8747
8748 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8749
8750 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8752 macro to ensure uniqueness of label name.
8753 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8754 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8755
8756 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8757
8758 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8759
8760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8761 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8764
8765 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8766
8767 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8768
8769 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8770 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8771 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8772
8773 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8774
8775 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8776 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8779
8780 * math/bits/math-finite.h: Add ldexp support.
8781
8782 2012-01-10 Marek Polacek <polacek@redhat.com>
8783
8784 * locale/programs/localedef.h (show_archive_content): Add noreturn
8785 attribute.
8786
8787 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8788
8789 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8790
8791 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8792
8793 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8794
8795 * io/Makefile (headers): Add bits/poll2.h.
8796
8797 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8798
8799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8800 typo #include statement.
8801
8802 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8803
8804 * include/sys/cdefs.h: Define __attribute_alloc_size.
8805 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8806 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8807 * elf/pldd.c: Likewise.
8808 * iconv/iconv_charmap.c: Likewise.
8809 * iconv/iconvconfig.c: Likewise.
8810 * iconv/strtab.c: Likewise.
8811 * locale/programs/locale.c: Likewise.
8812 * locale/programs/localedef.h: Likewise.
8813 * locale/programs/simple-hash.c: Likewise.
8814 * nscd/nscd.h: Likewise.
8815 * nss/makedb.c: Likewise.
8816 * sysdeps/generic/ldconfig.h: Likewise.
8817 * locale/programs/localedef.c: Remove xmalloc prototype.
8818 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8819
8820 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8821
8822 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8823 appropriate.
8824
8825 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8826
8827 * math/Makefile (tests): Add tst-CMPLX.
8828 * math/tst-CMPLX.c: New file.
8829
8830 * math/complex.h (CMPLXL): Fix typo.
8831
8832 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8833 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8834 GLIBC_2.16.
8835 * debug/tst-chk1.c: Add poll and ppoll tests.
8836 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8837 * include/sys/poll.h: Add hidden proto for ppoll.
8838 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8839 * sysdeps/mach/hurd/ppoll.c: Likewise.
8840 * io/ppoll.c: Likewise.
8841 * debug/poll_chk.c: New file.
8842 * debug/ppoll_chk.c: New file.
8843 * include/bits/poll2.h: New file.
8844 * io/bits/poll2.h: New file.
8845
8846 [BZ #1350]
8847 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8848
8849 * configure.in: static is always set to yes. Remove.
8850 * config.make.in: Don't set build-static.
8851 * Makeconfig: Remove use of build-static.
8852 * dlfcn/Makefile: Likewise.
8853 * elf/Makefile: Likewise.
8854 * math/Makefile: Likewise.
8855 * misc/Makefile: Likewise.
8856 * nptl/Makefile: Likewise.
8857 * sysdeps/mach/hurd/Makefile: Likewise.
8858
8859 * configure.in: PWD_P is not used anymore.
8860 * config.make.in: Remove PWD_P entry.
8861
8862 * configure.in: Remove last remnants of RANLIB.
8863 No need to check for signed size_t anymore.
8864 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8865 and IA-64.
8866 Remove __builtin_expect test because we require at least gcc 3.4.
8867 * aclocal.m4: Likewise.
8868
8869 * wcsmbs/mbrtoc16.c: Implement using towc function.
8870 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8871 * wcsmbs/wcsmbsload.c: Likewise.
8872 * iconv/gconv_simple.c: Likewise.
8873 * iconv/gconv_int.h: Likewise.
8874 * iconv/gconv_builtin.h: Likewise.
8875 * iconv/iconv_prog.c: Remove CHAR16 handling.
8876
8877 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8878
8879 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8880
8881 * configure.in: Remove --with-elf and --enable-bounded options.
8882 Dont set base_machine for ia64. More non-ELF conditions removed.
8883 Remove testing and setting of leading underscore information.
8884 * config.make.in (build-bounded): Set to no.
8885 * config.h.in: Remove NO_UNDERSCORES entry.
8886 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8887 them.
8888 * csu/start.c: Remove !NO_UNDERSCORE code.
8889 * locale/localeinfo.h: Likewise.
8890 * sysdeps/generic/machine-gmon.h: Likewise.
8891 * sysdeps/generic/sysdep.h: Likewise.
8892 * sysdeps/i386/sysdep.h: Likewise.
8893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8894 * sysdeps/mach/sysdep.h: Likewise.
8895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8897 * sysdeps/sh/sysdep.h: Likewise.
8898 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8899 * sysdeps/unix/i386/sysdep.S: Likewise.
8900 * sysdeps/unix/sparc/start.c: Likewise.
8901 * sysdeps/unix/sparc/sysdep.S: Likewise.
8902 * sysdeps/unix/sparc/sysdep.h: Likewise.
8903 * sysdeps/unix/start.c: Likewise.
8904 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8905 * sysdeps/x86_64/sysdep.h: Likewise.
8906
8907 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8908
8909 [BZ #13553]
8910 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8911 for non-gcc.
8912 * argp/argp-fmtstream.h: Use const instead __const.
8913 * argp/argp.h: Likewise.
8914 * assert/assert.h: Likewise.
8915 * bits/fenv.h: Likewise.
8916 * bits/sched.h: Likewise.
8917 * bits/sigset.h: Likewise.
8918 * bits/sigthread.h: Likewise.
8919 * catgets/nl_types.h: Likewise.
8920 * conform/data/pthread.h-data: Likewise.
8921 * crypt/crypt-private.h: Likewise.
8922 * crypt/crypt.h: Likewise.
8923 * crypt/crypt_util.c: Likewise.
8924 * ctype/ctype.h: Likewise.
8925 * debug/execinfo.h: Likewise.
8926 * debug/mbsnrtowcs_chk.c: Likewise.
8927 * debug/mbsrtowcs_chk.c: Likewise.
8928 * debug/wcsnrtombs_chk.c: Likewise.
8929 * debug/wcsrtombs_chk.c: Likewise.
8930 * debug/wcstombs_chk.c: Likewise.
8931 * dirent/dirent.h: Likewise.
8932 * dlfcn/dlfcn.h: Likewise.
8933 * elf/neededtest4.c: Likewise.
8934 * grp/grp.h: Likewise.
8935 * gshadow/gshadow.h: Likewise.
8936 * iconv/gconv.h: Likewise.
8937 * iconv/gconv_int.h: Likewise.
8938 * iconv/gconv_simple.c: Likewise.
8939 * iconv/iconv.h: Likewise.
8940 * iconv/loop.c: Likewise.
8941 * iconv/skeleton.c: Likewise.
8942 * include/aio.h: Likewise.
8943 * include/aliases.h: Likewise.
8944 * include/argz.h: Likewise.
8945 * include/arpa/inet.h: Likewise.
8946 * include/assert.h: Likewise.
8947 * include/dirent.h: Likewise.
8948 * include/dlfcn.h: Likewise.
8949 * include/execinfo.h: Likewise.
8950 * include/fcntl.h: Likewise.
8951 * include/fenv.h: Likewise.
8952 * include/glob.h: Likewise.
8953 * include/grp.h: Likewise.
8954 * include/libintl.h: Likewise.
8955 * include/mntent.h: Likewise.
8956 * include/netdb.h: Likewise.
8957 * include/pwd.h: Likewise.
8958 * include/rpc/netdb.h: Likewise.
8959 * include/sched.h: Likewise.
8960 * include/search.h: Likewise.
8961 * include/shadow.h: Likewise.
8962 * include/signal.h: Likewise.
8963 * include/stdio.h: Likewise.
8964 * include/stdlib.h: Likewise.
8965 * include/string.h: Likewise.
8966 * include/sys/socket.h: Likewise.
8967 * include/sys/stat.h: Likewise.
8968 * include/sys/statfs.h: Likewise.
8969 * include/sys/statvfs.h: Likewise.
8970 * include/sys/syslog.h: Likewise.
8971 * include/sys/time.h: Likewise.
8972 * include/sys/uio.h: Likewise.
8973 * include/time.h: Likewise.
8974 * include/unistd.h: Likewise.
8975 * include/utmp.h: Likewise.
8976 * include/wchar.h: Likewise.
8977 * include/wctype.h: Likewise.
8978 * inet/aliases.h: Likewise.
8979 * inet/arpa/inet.h: Likewise.
8980 * inet/netinet/ether.h: Likewise.
8981 * inet/netinet/in.h: Likewise.
8982 * intl/libintl.h: Likewise.
8983 * io/bits/fcntl2.h: Likewise.
8984 * io/fcntl.h: Likewise.
8985 * io/ftw.h: Likewise.
8986 * io/sys/poll.h: Likewise.
8987 * io/sys/stat.h: Likewise.
8988 * io/sys/statfs.h: Likewise.
8989 * io/sys/statvfs.h: Likewise.
8990 * io/utime.h: Likewise.
8991 * libio/bits/stdio.h: Likewise.
8992 * libio/bits/stdio2.h: Likewise.
8993 * libio/libio.h: Likewise.
8994 * libio/libioP.h: Likewise.
8995 * libio/stdio.h: Likewise.
8996 * locale/lc-ctype.c: Likewise.
8997 * locale/locale.h: Likewise.
8998 * login/utmp.h: Likewise.
8999 * malloc/arena.c: Likewise.
9000 * malloc/malloc.c: Likewise.
9001 * malloc/malloc.h: Likewise.
9002 * malloc/mcheck.c: Likewise.
9003 * malloc/mtrace.c: Likewise.
9004 * math/bits/mathcalls.h: Likewise.
9005 * math/fenv.h: Likewise.
9006 * math/math_private.h: Likewise.
9007 * misc/bits/error.h: Likewise.
9008 * misc/bits/syslog.h: Likewise.
9009 * misc/err.h: Likewise.
9010 * misc/error.h: Likewise.
9011 * misc/fstab.h: Likewise.
9012 * misc/mntent.h: Likewise.
9013 * misc/regexp.h: Likewise.
9014 * misc/search.h: Likewise.
9015 * misc/sgtty.h: Likewise.
9016 * misc/sys/mman.h: Likewise.
9017 * misc/sys/syslog.h: Likewise.
9018 * misc/sys/uio.h: Likewise.
9019 * misc/sys/xattr.h: Likewise.
9020 * misc/ttyent.h: Likewise.
9021 * nis/rpcsvc/ypclnt.h: Likewise.
9022 * nss/nss.h: Likewise.
9023 * posix/bits/unistd.h: Likewise.
9024 * posix/fnmatch.h: Likewise.
9025 * posix/glob.h: Likewise.
9026 * posix/sched.h: Likewise.
9027 * posix/spawn.h: Likewise.
9028 * posix/sys/wait.h: Likewise.
9029 * posix/unistd.h: Likewise.
9030 * posix/wordexp.h: Likewise.
9031 * pwd/pwd.h: Likewise.
9032 * resolv/netdb.h: Likewise.
9033 * resource/sys/resource.h: Likewise.
9034 * rt/aio.h: Likewise.
9035 * rt/bits/mqueue2.h: Likewise.
9036 * rt/mqueue.h: Likewise.
9037 * shadow/shadow.h: Likewise.
9038 * signal/signal.h: Likewise.
9039 * socket/send.c: Likewise.
9040 * socket/sendto.c: Likewise.
9041 * socket/sys/socket.h: Likewise.
9042 * stdio-common/printf.h: Likewise.
9043 * stdlib/bits/stdlib.h: Likewise.
9044 * stdlib/fmtmsg.h: Likewise.
9045 * stdlib/monetary.h: Likewise.
9046 * stdlib/stdlib.h: Likewise.
9047 * stdlib/ucontext.h: Likewise.
9048 * streams/stropts.h: Likewise.
9049 * string/argz.h: Likewise.
9050 * string/bits/string2.h: Likewise.
9051 * string/string.h: Likewise.
9052 * string/strings.h: Likewise.
9053 * sunrpc/rpc/auth.h: Likewise.
9054 * sunrpc/rpc/auth_des.h: Likewise.
9055 * sunrpc/rpc/clnt.h: Likewise.
9056 * sunrpc/rpc/netdb.h: Likewise.
9057 * sunrpc/rpc/pmap_clnt.h: Likewise.
9058 * sunrpc/rpc/xdr.h: Likewise.
9059 * sysdeps/generic/inttypes.h: Likewise.
9060 * sysdeps/generic/net/if.h: Likewise.
9061 * sysdeps/generic/sys/swap.h: Likewise.
9062 * sysdeps/gnu/net/if.h: Likewise.
9063 * sysdeps/gnu/utmpx.h: Likewise.
9064 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9065 * sysdeps/i386/i486/bits/string.h: Likewise.
9066 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9067 * sysdeps/s390/bits/string.h: Likewise.
9068 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9069 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9070 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9071 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9072 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9073 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9074 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9075 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9076 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9077 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9078 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9079 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9080 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9081 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9082 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9083 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9084 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9089 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9090 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9091 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9092 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9093 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9094 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9096 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9098 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9099 * sysvipc/sys/ipc.h: Likewise.
9100 * sysvipc/sys/msg.h: Likewise.
9101 * sysvipc/sys/sem.h: Likewise.
9102 * sysvipc/sys/shm.h: Likewise.
9103 * termios/termios.h: Likewise.
9104 * time/sys/time.h: Likewise.
9105 * time/time.h: Likewise.
9106 * wcsmbs/bits/wchar2.h: Likewise.
9107 * wcsmbs/uchar.h: Likewise.
9108 * wcsmbs/wchar.h: Likewise.
9109 * wctype/wctype.h: Likewise.
9110
9111 [BZ #13551]
9112 * Makeconfig: Remove all but ELF support including AIX support.
9113 * Makerules: Likewise.
9114 * config.h.in: Likewise.
9115 * config.make.in: Likewise.
9116 * configure: Likewise.
9117 * configure.in: Likewise.
9118 * csu/Makefile: Likewise.
9119 * csu/version.c: Likewise.
9120 * debug/Makefile: Likewise.
9121 * dlfcn/Makefile: Likewise.
9122 * elf/Makefile: Likewise.
9123 * extra-lib.mk: Likewise.
9124 * iconv/Makefile: Likewise.
9125 * include/libc-symbols.h: Likewise.
9126 * include/shlib-compat.h: Likewise.
9127 * resolv/Makefile: Likewise.
9128 * resolv/res_libc.c: Likewise.
9129 * rt/Makefile: Likewise.
9130 * sysdeps/i386/asm-syntax.h: Likewise.
9131 * sysdeps/i386/sysdep.h: Likewise.
9132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9133 * sysdeps/mach/sysdep.h: Likewise.
9134 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9135 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9136 * sysdeps/s390/asm-syntax.h: Likewise.
9137 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9139 * sysdeps/sh/sysdep.h: Likewise.
9140 * sysdeps/unix/sparc/sysdep.h: Likewise.
9141 * sysdeps/wordsize-32/divdi3.c: Likewise.
9142 * sysdeps/x86_64/sysdep.h: Likewise.
9143
9144 * argp/Versions: Remove _argp_unlock_xxx.
9145
9146 [BZ #13559]
9147 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9148 * abilist/libBrokenLocale.abilist: Likewise.
9149 * abilist/libanl.abilist: Likewise.
9150 * abilist/libc.abilist: Likewise.
9151 * abilist/libcrypt.abilist: Likewise.
9152 * abilist/libdl.abilist: Likewise.
9153 * abilist/libm.abilist: Likewise.
9154 * abilist/libnsl.abilist: Likewise.
9155 * abilist/libpthread.abilist: Likewise.
9156 * abilist/libresolv.abilist: Likewise.
9157 * abilist/librt.abilist: Likewise.
9158 * abilist/libthread_db.abilist: Likewise.
9159 * abilist/libutil.abilist: Likewise.
9160 * abilist/libnss_db.abilist: New file.
9161
9162 * scripts/abilist.awk: Add support for indirect functions.
9163
9164 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9165
9166 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9167
9168 * shlib-versions: Remove entries for ports architectures.
9169
9170 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9171 files in ports.
9172 * elf/stackguard-macros.h: Remove support for IA-64.
9173 * elf/tst-auditmod1.c: Likewise.
9174 * sysdeps/generic/ldsodefs.h: Likewise.
9175
9176 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9177 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9178 configure files.
9179
9180 [BZ #13552]
9181 * configure.in: Remove --enable-omitfp support.
9182 * FAQ.in: Adjust.
9183 * config.make.in: Likewise.
9184 * Makeconfig: Likewise.
9185 * manual/install.texi: Likewise.
9186
9187 In case anyone cares, the IA-64 architecture could move to ports.
9188 * sysdeps/ia64/*: Removed.
9189 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9190 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9191
9192 [BZ #13555]
9193 * configure.in: Remove entries for unsupported architectures.
9194
9195 [BZ #13533]
9196 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9197 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9198 routines.
9199 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9200 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9201 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9202 fall back to using wcrtomb.
9203 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9204 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9205 renaming.
9206 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9207 * wcsmbs/tst-c16c32-1.c: New file.
9208
9209 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9210 local variable.
9211
9212 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9213
9214 * elf/tst-unique3.cc: Add explicit declaration of gets.
9215 * elf/tst-unique3lib.cc: Likewise.
9216 * elf/tst-unique3lib2.cc: Likewise.
9217 * elf/tst-unique4.cc: Likewise.
9218
9219 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9220
9221 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9222
9223 [BZ #13566]
9224 * assert/assert.h (static_assert): Don't define for C++.
9225 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9226 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9227
9228 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9229
9230 * iconv/loop.c (single loop): Fix assertion in storing of
9231 remaining bytes.
9232
9233 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9234
9235 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9236
9237 * posix/getconf.c: Update copyright year.
9238 * nss/getent.c: Likewise.
9239 * nss/makedb.c: Likewise.
9240 * iconv/iconvconfig.c: Likewise.
9241 * iconv/iconv_prog.c: Likewise.
9242 * elf/ldconfig.c: Likewise.
9243 * elf/pldd.c: Likewise.
9244 * elf/sotruss.ksh: Likewise.
9245 * catgets/gencat.c: Likewise.
9246 * csu/version.c: Likewise.
9247 * elf/ldd.bash.in: Likewise.
9248 * elf/sprof.c (print_version): Likewise.
9249 * locale/programs/locale.c: Likewise.
9250 * locale/programs/localedef.c: Likewise.
9251 * login/programs/pt_chown.c: Likewise.
9252 * nscd/nscd.c (print_version): Likewise.
9253 * debug/xtrace.sh: Likewise.
9254 * malloc/memusage.sh: Likewise.
9255 * malloc/mtrace.pl: Likewise.
9256 * debug/catchsegv.sh: Likewise.
9257
9258 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9259
9260 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9261 pure attribute.
9262
9263 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9264
9265 [BZ #13533]
9266 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9267 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9268 transformations.
9269 * iconv/gconv_int.h: Likewise.
9270 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9271 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9272 from libc for GLIBC_2.16.
9273 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9274 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9275 * wcsmbs/uchar.h: Really define mbstate_t.
9276 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9277 * wcsmbs/c16rtomb.c: New file.
9278 * wcsmbs/mbrtoc16.c: New file.
9279 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9280 for C/POSIX locale.
9281 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9282 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9283
9284 * wcsmbs/wchar.h: Add missing __restrict.
9285
9286 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9287
9288 [BZ #13532]
9289 * time/Makefile (routines): Add timespec_get.
9290 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9291 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9292 timespec for ISO C11.
9293 * time/timespec_get.c: New file.
9294 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9295 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9296
9297 [BZ #13531]
9298 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9299 * stdlib/stdlib.h: Declare aligned_alloc.
9300 * Versions.def: Add GLIBC_2.16 for libc.
9301 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9302
9303 [BZ 13527]
9304 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9305 ISO C11.
9306
9307 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9308 code.
9309
9310 [BZ #13528]
9311 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9312
9313 [BZ #13529]
9314 * assert/assert.h (static_assert): Define.
9315
9316 * version.h: Update for 2.16 development version.
9317
9318 [BZ #13526]
9319 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9320 _ISOC11_SOURCE.
9321
9322 * version.h (RELEASE): Bump for 2.15 release.
9323 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9324
9325 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9326 Patch by Marek Polacek <mpolacek@redhat.com>.
9327
9328 * bits/byteswap.h: Protect long long constants with __extension__.
9329 * sysdeps/i386/bits/byteswap.h: Likewise.
9330 * sysdeps/ia64/bits/byteswap.h: Likewise.
9331 * sysdeps/s390/bits/byteswap.h: Likewise.
9332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9333
9334 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9335
9336 [BZ #13540]
9337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9338 destination buffer.
9339 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9340
9341 2011-12-23 Marek Polacek <polacek@redhat.com>
9342
9343 * elf/dl-addr.c (determine_info): Add inline keyword.
9344 * elf/tst-auditmod4b.c (check_avx): Likewise.
9345 * elf/tst-auditmod6b.c (check_avx): Likewise.
9346 * elf/tst-auditmod6c.c (check_avx): Likewise.
9347 * elf/tst-auditmod7b.c (check_avx): Likewise.
9348
9349 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9350
9351 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9352 !__SSE_MATH__.
9353
9354 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9355
9356 [BZ #13540]
9357 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9358 processing for last bytes.
9359
9360 2011-08-06 Bruno Haible <bruno@clisp.org>
9361
9362 [BZ #13061]
9363 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9364 U+0385, not to U+1FEE.
9365
9366 [BZ #13062]
9367 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9368 entry for U+00A5 U+0301.
9369
9370 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9371
9372 [BZ #13166]
9373 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9374 buffer for the output is too small.
9375
9376 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9377 optimization.
9378
9379 [BZ #13185]
9380 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9381 SSE flags if possible.
9382
9383 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9384
9385 [BZ #13540]
9386 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9387 processing for last bytes.
9388
9389 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9390
9391 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9392 (syscall-list-default-options, syscall-list-default-condition)
9393 (syscall-list-includes): Define.
9394 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9395 list of ABIs and options and #if conditions for each ABI. Do not
9396 handle common syscalls between ABIs specially.
9397 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9398 Remove.
9399 (syscall-list-variants, syscall-list-32bit-options)
9400 (syscall-list-32bit-condition, syscall-list-64bit-options)
9401 (syscall-list-64bit-condition): Define.
9402 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9403 (syscall-list-variants, syscall-list-32bit-options)
9404 (syscall-list-32bit-condition, syscall-list-64bit-options)
9405 (syscall-list-64bit-condition): Define.
9406 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9407 Remove.
9408 (syscall-list-variants, syscall-list-32bit-options)
9409 (syscall-list-32bit-condition, syscall-list-64bit-options)
9410 (syscall-list-64bit-condition): Define.
9411 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9412 Remove.
9413 (syscall-list-variants, syscall-list-32bit-options)
9414 (syscall-list-32bit-condition, syscall-list-64bit-options)
9415 (syscall-list-64bit-condition): Define.
9416
9417 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9418
9419 * locale/iso-639.def: Add brx entry.
9420
9421 [BZ #13328]
9422 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9423 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9424
9425 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9426 __feraiseexcept_renamed.
9427
9428 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9429
9430 [BZ #13538]
9431 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9432 EPOLLET with unsigned values.
9433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9435
9436 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9437 to large cancellation.
9438 * math/s_cacoshf.c: Likewise.
9439 * math/s_cacoshl.c: Likewise.
9440
9441 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9442
9443 [BZ #13305]
9444 [BZ #12786]
9445 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9446 * math/s_cacoshf.c: Likewise.
9447 * math/s_cacoshl.c: Likewise.
9448
9449 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9450
9451 [BZ #13439]
9452 * iconv/gconv.h: Define __GCONV_SWAP.
9453 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9454 * iconvdata/utf-16.c: Likewise.
9455 * iconvdata/utf-32.c: Likewise.
9456
9457 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9458
9459 [BZ #13524]
9460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9461 numerator after shifting it by one limb.
9462
9463 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9464
9465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9466 under [__USE_EXTERN_INLINES].
9467
9468 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9469
9470 [BZ #13446]
9471 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9472
9473 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9474
9475 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9476 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9477 optimized code.
9478 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9479 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9480 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9481 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9482 for strncasecmp/strncasecmp_l compilation.
9483 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9484 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9485
9486 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9487
9488 [BZ #13484]
9489 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9490 of __asm__.
9491
9492 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9493
9494 [BZ #13506]
9495 * time/tzfile.c (__tzfile_read): Check values from file header.
9496
9497 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9498
9499 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9500 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9501 * powerpc/powerpc32/dl-start.S: Likewise.
9502 * powerpc/powerpc32/elf/start.S: Likewise.
9503 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9504 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9505 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9506 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9507 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9508 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9509 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9510 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9511 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9512 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9513 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9514 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9515 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9516 * powerpc/powerpc32/memset.S: Likewise.
9517 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9518 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9519 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9520 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9521 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9522 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9523 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9524 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9525 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9526 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9528 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9529 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9530
9531 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9532
9533 * math/libm-test.inc: Added more nearbyint tests.
9534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9538
9539 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9540
9541 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9542 FD_CLOEXEC.
9543
9544 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9545
9546 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9547 Add wcscpy-ssse3 wcscpy-c.
9548 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9549 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9550 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9551 * sysdeps/x86_64/wcschr.S: New file.
9552 * sysdeps/x86_64/wcsrchr.S: New file.
9553 * string/test-strcmp.c: Remove checking of wcscmp function for
9554 wrong alignments.
9555 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9556 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9557 wcsrchr-sse2 wcsrchr-c.
9558 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9559 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9560 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9561 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9562 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9563 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9564 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9565 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9566 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9567 * wcsmbc/wcschr.c (WCSCHR): New macro.
9568
9569 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9570
9571 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9572 * wcsmbs/test-wcsrchr.c: New file.
9573 * string/test-strrchr.c: Add wcsrchr support.
9574 (WIDE): New macro.
9575 * wcsmbs/test-wcscpy.c: New file.
9576 * string/test-strcpy.c: Add wcscpy support.
9577 (WIDE): New macro.
9578
9579 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9580
9581 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9582 the inner loop.
9583
9584 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9585
9586 [BZ #13472]
9587 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9588
9589 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9592 Minor optimizations.
9593
9594 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9595 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9596 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9597
9598 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9599
9600 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9601 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9602 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9603 for gcc to avoid warnings.
9604 * inet/Makefile (tests): Add tst-checks.
9605 * inet/tst-checks.c: New file.
9606
9607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9608 warning.
9609
9610 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9611 __wmemcmp_sse2.
9612
9613 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9614 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9615
9616 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9617
9618 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9619
9620 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9621 problem.
9622
9623 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9624
9625 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9626
9627 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9628 conditional on GCC version.
9629 (__arch_compare_and_exchange_val_8_acq)
9630 (__arch_compare_and_exchange_val_16_acq)
9631 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9632 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9633 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9634
9635 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9636
9637 * sysdeps/sh/backtrace.c: New file.
9638
9639 2011-12-02 Andreas Schwab <schwab@redhat.com>
9640
9641 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9642 parenthesis.
9643
9644 2011-12-01 Andreas Schwab <schwab@redhat.com>
9645
9646 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9647 falling back to utime.
9648
9649 2011-11-30 Andreas Schwab <schwab@redhat.com>
9650
9651 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9652 expectations for float.
9653
9654 2011-11-29 Andreas Schwab <schwab@redhat.com>
9655
9656 * locale/weight.h (findidx): Add parameter len.
9657 * locale/weightwc.h (findidx): Likewise.
9658 * posix/fnmatch_loop.c (FCT): Adjust caller.
9659 * posix/regcomp.c (build_equiv_class): Likewise.
9660 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9661 * posix/regexec.c (check_node_accept_bytes): Likewise.
9662 * string/strcoll_l.c (STRCOLL): Likewise.
9663 * string/strxfrm_l.c (STRXFRM): Likewise.
9664
9665 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9666
9667 * Makefile.in: Remove CVSOPT handling.
9668 * configure.in: Remove use of AC_REVISION.
9669 * iconvdata/Makefile (distribute): No need to filter out CVS.
9670 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9671 handling.
9672
9673 2011-11-16 Andreas Schwab <schwab@redhat.com>
9674
9675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9676 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9677 [USE_AS_STRNCASECMP_L]: Likewise.
9678 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9679 NO_TLS_DIRECT_SEG_REFS.
9680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9681 Fix argument offsets for non-PIC.
9682 [USE_AS_STRNCASECMP_L]: Likewise.
9683 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9684 NO_TLS_DIRECT_SEG_REFS.
9685
9686 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9687
9688 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9689 O_CLOEXEC.
9690 * locale/loadlocale.c (_nl_load_locale): Likewise.
9691
9692 2011-11-15 Andreas Schwab <schwab@redhat.com>
9693
9694 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9695 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9697 (SYSCALL_GETTIME): Set errno on error.
9698
9699 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9700 count references to noai6ai_cached.
9701
9702 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9703
9704 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9705
9706 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9707 FD_CLOEXEC for /proc/self/maps.
9708
9709 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9710 FD_CLOEXEC for /proc/meminfo.
9711
9712 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9713 gai.conf.
9714
9715 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9716 FD_CLOEXEC for given file.
9717
9718 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9719
9720 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9721 FD_CLOEXEC for /etc/hosts.
9722 (_gethtent): Likewise.
9723
9724 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9725
9726 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9727 cancellation and set FD_CLOEXEC for /etc/netgroup.
9728
9729 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9730 reading /etc/publickey.
9731
9732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9733 allow cancellation when reading /etc/group.
9734
9735 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9736 cancellation.
9737 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9738
9739 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9740 when using data file.
9741
9742 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9743
9744 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9745 (write_nis_obj): Use "c" and "e" in fopen.
9746
9747 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9748
9749 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9750
9751 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9752
9753 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9754
9755 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9756 locale.alias.
9757
9758 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9759
9760 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9761
9762 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9763
9764 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9765 file parsing and set FD_CLOEXEC.
9766
9767 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9768
9769 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9770
9771 2011-11-14 Andreas Schwab <schwab@redhat.com>
9772
9773 * malloc/arena.c (arena_get2): Don't call reused_arena when
9774 _int_new_arena failed.
9775
9776 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9777
9778 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9779 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9780 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9781 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9783 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9784 to compile strcasecmp and strncasecmp.
9785 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9786 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9787
9788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9789
9790 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9791
9792 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9793 locale-defines.sym to gen-as-const-headers.
9794 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9795 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9797 to compile strcasecmp and strncasecmp.
9798 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9799 strcasecmp_l and strncasecmp_l.
9800 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9801 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9802 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9804 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9805 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9806 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9807 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9808 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9809 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9810 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9811
9812 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9813
9814 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9815 result of SYSDEP_GETTIME_CPU to retval.
9816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9817 parameter list to macro. Remove trailing semicolon. Adjust users.
9818
9819 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9820 variable.
9821
9822 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9823 mantissa words.
9824 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9825
9826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9827 from unused variable.
9828
9829 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9830 DWARF definitions.
9831 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9832 for assembling.
9833
9834 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9835 over namespaces.
9836
9837 * sunrpc/rpc_prot.c (rejected): Fix case value.
9838
9839 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9840 unsigned long long int to avoid warnings in shift.
9841
9842 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9843 of use of trans.
9844 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9845 variable tmp.
9846
9847 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9848 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9849 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9850
9851 * nis/nis_table.c (nis_list): Use variable of correct type for
9852 result of __follow_path call.
9853
9854 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9855
9856 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9857 of math functions ceil, trunc, floor, round, and sqrt, when
9858 avaliable on the platform.
9859 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9860 name clash.
9861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9864
9865 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9866
9867 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9868 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9869
9870 2011-11-11 Roland McGrath <roland@hack.frob.com>
9871
9872 * include/unistd.h: Fix __readlink return type.
9873 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9874
9875 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9876
9877 * stdlib/ucontext.h: Undo last change for makecontext.
9878
9879 2011-11-11 Andreas Schwab <schwab@redhat.com>
9880
9881 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9882
9883 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9884 * setjmp/setjmp.h: Mark functions as non-leaf.
9885 * setjmp/bits/setjmp2.h: Likewise.
9886 * stdlib/ucontext.h: Likewise.
9887
9888 2011-11-10 Andreas Schwab <schwab@redhat.com>
9889
9890 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9891 (reused_arena): Don't check arena limit.
9892 (arena_get2): Atomically check arena limit.
9893
9894 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9895
9896 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9897 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9898
9899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9900 instructions.
9901
9902 2011-11-07 Andreas Schwab <schwab@redhat.com>
9903
9904 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9905 handler when locking.
9906
9907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9908 Fix size of allocated buffer.
9909
9910 2011-11-04 Andreas Schwab <schwab@redhat.com>
9911
9912 [BZ #10103]
9913 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9914 declarations for long double functions.
9915 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9916
9917 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9918
9919 2011-11-03 Andreas Schwab <schwab@redhat.com>
9920
9921 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9922 installed.
9923
9924 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9925 is disabled.
9926
9927 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9928
9929 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9930
9931 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9932
9933 * include/alloca.h (stackinfo_alloca_round): Define.
9934 (extend_alloca): Use it.
9935 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9936 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9937 here.
9938
9939 * scripts/check-local-headers.sh: Ignore libaudit.h.
9940
9941 * nscd/Makefile (extra-objs): Make recursively expanded.
9942
9943 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9944
9945 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9946 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9947
9948 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9949 * posix/tst-rfc3484-2.c: Likewise.
9950 * posix/tst-rfc3484-3.c: Likewise.
9951
9952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9953 process_vm_writev.
9954 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9955 process_vm_writev.
9956 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9957 process_vm_writev from libc using GLIBC_2.15 version.
9958
9959 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9960
9961 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9962
9963 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9964 stack usage.
9965
9966 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9967
9968 [BZ #13367]
9969 * nss/getent.c (initgroups_keys): Show error message in case no group
9970 names are given.
9971
9972 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9973 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9974 __bump_nl_timestamp.
9975 * nscd/connections (nscd_init): When host database is served open
9976 netlink socket and request notification about configuration changes.
9977 (main_loop_poll): Track netlink file descriptor and bump timestamp
9978 in case data becomes available.
9979 (main_loop_epoll): Likewise.
9980 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9981 (database_pers_head): Add extra_data fileds.
9982 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9983 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9984 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9985 Adjust caller.
9986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9987 in6ai data, call __free_in6ai.
9988 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9989 Add -DHAVE_NETLINK.
9990 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9991 interface information. Reuse previous data if netlink timestamp
9992 is not changed.
9993 (__bump_nl_timestamp): New function.
9994 (__free_in6ai): New function.
9995
9996 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9997
9998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9999 close_not_cancel_no_status here.
10000 (__check_pf): Reorganize code a bit to not call close twice if OOM.
10001
10002 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10003
10004 [BZ #13276]
10005 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10006 return value.
10007
10008 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
10009 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10010 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10011
10012 2011-07-03 Andreas Jaeger <aj@suse.de>
10013
10014 [BZ #10709]
10015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10016 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10017 * math/libm-test.inc (sin_test): Add test case.
10018
10019 2011-10-29 Ulrich Drepper <drepper@gmail.com>
10020
10021 [BZ #13337]
10022 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10023 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10024
10025 * elf/chroot_canon.c (chroot_canon): Cleanups.
10026
10027 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10028
10029 [BZ #13335]
10030 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10031 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10032
10033 * string/test-strchr.c: Make usable for strchrnul testing.
10034 * string/test-strchrnul.c: New file.
10035 * string/Makefile (strop-tests): Add strchrnul.
10036
10037 * po/it.po: Update from translation team.
10038 * po/es.po: Likewise.
10039
10040 2011-10-28 Ulrich Drepper <drepper@gmail.com>
10041
10042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10043 the three constants needed as parameters. Drop the others.
10044 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10045 __m128i_strloadu_tolower.
10046 Create and initialize variable zero and use it in all the places
10047 where _mm_setzero_si128 was used.
10048
10049 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10050 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10051 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10053 anymore.
10054 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10057 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10058 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10059 __mpranred, __mptan.
10060 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10061 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10062 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10063 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10064 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10065 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10067 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10068 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10069
10070 2011-10-28 Andreas Schwab <schwab@redhat.com>
10071
10072 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10073 redefine if SHARED.
10074 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10075
10076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10077 wide char related routines to wcsmbs subdir.
10078
10079 2011-10-27 Andreas Schwab <schwab@redhat.com>
10080
10081 [BZ #13344]
10082 * misc/sys/cdefs.h (__THROWNL): Define.
10083 * posix/unistd.h: Use __THREADNL instead of __THREAD
10084 for memory synchronization functions.
10085
10086 2011-10-26 Roland McGrath <roland@hack.frob.com>
10087
10088 [BZ #13349]
10089 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10090 doesn't exist.
10091 * manual/stdio.texi (Obstack Streams): Node removed.
10092
10093 2011-10-26 Andreas Schwab <schwab@redhat.com>
10094
10095 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10098
10099 * math/math_private.h (math_force_eval): Allow non-addressable
10100 arguments.
10101 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10102
10103 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10104
10105 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10106 file is not needed.
10107
10108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10115 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10116 Add AVX variants.
10117 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10118 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10119 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10120 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10121 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10122 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10123 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10125 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10126 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10127 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10128 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10129 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10130 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10134 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10135 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10136
10137 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10138 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10139
10140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10141 place. Use VEX encoding when compiling for AVX.
10142
10143 2011-10-25 Andreas Schwab <schwab@redhat.com>
10144
10145 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10146 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10147
10148 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10149
10150 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10151
10152 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
10153 useless if() expression.
10154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10172 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10173
10174 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10175
10176 2011-10-25 Andreas Schwab <schwab@redhat.com>
10177
10178 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10179 condition.
10180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10181
10182 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10183
10184 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10185 .text section. Avoid duplicate constants.
10186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10196 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10203 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10213 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10214 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10217 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10219 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10220 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10221 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10222 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10223 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10224 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10225 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10227 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10228 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10229 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10230 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10231
10232 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10233
10234 * sysdeps/x86_64/dla.h: Move to ...
10235 * sysdeps/x86_64/fpu/dla.h: ...here.
10236 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10237 situations. Use __builtin_fma only for gcc 4.6 and up.
10238
10239 * config.make.in: Add have-mfma4 entry.
10240 * configure.in: Substitute libc_cv_cc_fma4.
10241 * math/Makefile (dbl-only-routines): Add sincostab.
10242 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10243 Use __sincostab not sincos.
10244 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10245 name is a macro.
10246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10250 using __copysign.
10251 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10252 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10253 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10254 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10255 and __inv.
10256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10257 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10258 __copysign.
10259 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10260 define aliases when function name is a macro.
10261 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10262 sysdeps/ieee754/dbl-64/sincos.tbl.
10263 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10264 fma4-enabled routines.
10265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10268 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10283 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10295
10296 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10297 rename.
10298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10306
10307 2011-10-24 Andreas Schwab <schwab@redhat.com>
10308
10309 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10310
10311 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10312
10313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10314
10315 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10316 prediction.
10317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10318
10319 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10320 Remove unused variable magic_bits.
10321 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10322
10323 * string/strnlen.c: Define and use STRNLEN macro.
10324 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10325 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10327 * wcsmbs/wcslen.c: Define and use WCSLEN.
10328 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10329 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10330 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10331 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10332 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10333 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10334 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10335
10336 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10337
10338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10339 strnlen-sse2-no-bsf.
10340 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10342 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10343 Add strnlen support.
10344 (USE_AS_STRNLEN): New macro.
10345 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10346 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10347 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10348 * sysdeps/x86_64/wcslen.S: New file.
10349
10350 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10351
10352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10353 XMM-moves are used for copying on small sizes.
10354
10355 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10356
10357 * wcsmbs/Makefile (strop-tests): Add wcschr.
10358 * wcsmbs/test-wcschr.c: New file.
10359 * string/test-strchr.c: Update.
10360 Add wcschr support.
10361 (WIDE): New macro.
10362
10363 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10364
10365 * wcsmbs/Makefile (strop-tests): Add wcslen.
10366 * wcsmbs/test-wcslen.c: New file.
10367 * string/test-strlen.c: Update.
10368 Add wcslen support.
10369 (WIDE): New macro.
10370
10371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10372
10373 * po/it.po: Update from translation team.
10374
10375 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10376
10377 * sysdeps/x86_64/wcscmp.S: Update.
10378 Fix wrong comparison semantics.
10379 wcscmp shall use signed comparison not unsigned.
10380 Don't use substraction to avoid overflow bug.
10381 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10382 * wcsmbc/wcscmp.c: Likewise.
10383 * string/test-strcmp.c: Likewise.
10384 Add new tests to check cases with negative values.
10385
10386 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10387
10388 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10389 * sysdeps/x86_64/dla.h: ...here. New file.
10390 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10399
10400 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10401
10402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10403 __ynl_finite aliases.
10404
10405 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10406
10407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10408
10409 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10410 define DLA_FMA.
10411 [DLA_FMA] (EMULV): Use DLA_FMA.
10412 [DLA_FMA] (MUL12): Use EMULV.
10413 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10414 that are not needed.
10415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10422
10423 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10424
10425 * math/s_nan.c: Undef __nan.
10426 * math/s_nanf.c: Undef __nanf.
10427 * math/s_nanl.c: Undef __nanl.
10428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10429 "math_private.h".
10430
10431 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10432
10433 * math/s_catan.c: Add branch predictions.
10434 * math/s_catanf.c: Likewise.
10435 * math/s_catanh.c: Likewise.
10436 * math/s_catanhf.c: Likewise.
10437 * math/s_catanhl.c: Likewise.
10438 * math/s_catanl.c: Likewise.
10439 * math/s_cexp.c: Likewise.
10440 * math/s_cexpf.c: Likewise.
10441 * math/s_cexpl.c: Likewise.
10442 * math/s_clog.c: Likewise.
10443 * math/s_clog10.c: Likewise.
10444 * math/s_clog10f.c: Likewise.
10445 * math/s_clog10l.c: Likewise.
10446 * math/s_clogf.c: Likewise.
10447 * math/s_clogl.c: Likewise.
10448 * math/s_csqrt.c: Likewise.
10449 * math/s_csqrtf.c: Likewise.
10450 * math/s_csqrtl.c: Likewise.
10451 * math/s_ctanf.c: Likewise.
10452 * math/s_ctanh.c: Likewise.
10453 * math/s_ctanhf.c: Likewise.
10454 * math/s_ctanhl.c: Likewise.
10455 * math/s_ctanl.c: Likewise.
10456
10457 * math/math_private.h: Define __nan, __nanf, __nanl.
10458 * math/s_cacosh.c: Include <math_private.h>.
10459 * math/s_cacoshl.c: Likewise.
10460 * math/s_casinh.c: Likewise.
10461 * math/s_casinhf.c: Likewise.
10462 * math/s_casinhl.c: Likewise.
10463 * math/s_ccos.c: Rely entire on ccosh.
10464 * math/s_ccosf.c: Rely entire on ccoshf.
10465 * math/s_ccosl.c: Rely entirely on ccoshl.
10466 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10467 Remove tests for FE_INVALID.
10468 * math/s_ccoshf.c: Likewise.
10469 * math/s_ccoshl.c: Likewise.
10470 * math/s_csin.c: Likewise.
10471 * math/s_csinf.c: Likewise.
10472 * math/s_csinh.c Likewise.
10473 * math/s_csinhf.c: Likewise.
10474 * math/s_csinhl.c: Likewise.
10475 * math/s_csinl.c: Likewise.
10476 * math/s_ctan.c: Likewise.
10477 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10478 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10479 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10480
10481 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10482
10483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10484 compilation problems.
10485
10486 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10487 __builtin_expect.
10488
10489 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10490
10491 * sysdeps/i386/configure.in: Test for -mfma4 option.
10492 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10493 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10494 COMMON_CPUID_INDEX_80000001.
10495 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10496 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10497 use it if FMA3 is not supported.
10498 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10499
10500 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10501 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10502
10503 2011-10-20 Andreas Schwab <schwab@redhat.com>
10504
10505 [BZ #12892]
10506 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10507 it would create a cycle with a link time dependency.
10508
10509 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10510
10511 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10512 instruction.
10513 * string/Makefile (strop-tests): Add rawmemchr.
10514 * string/test-rawmemchr.c: New file.
10515
10516 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10518 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10519 when compiling str{,n}casecmp and when AVX is available. Hook up
10520 new optimized code in initializers.
10521
10522 2011-10-19 Andreas Schwab <schwab@redhat.com>
10523
10524 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10525 __feraiseexcept instead of feraiseexcept.
10526
10527 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10528
10529 * math/math_private.h: Define defaults for libc_fetestexcept and
10530 libc_feupdateenv.
10531 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10533 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10534 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10535 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10536 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10537 libc_fetestexcept and libc_feupdateenv.
10538
10539 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10540 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10541 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10542 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10543 libc_feholdexcept_setround.
10544
10545 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10546 Add s_nearbyint-c and s_nearbyintf-c.
10547 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10548 nearbyintf inlines.
10549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10553
10554 * math/math_private.h: Define defaults for libc_fegetround,
10555 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10556 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10557 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10558 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10559 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10560 standard functions.
10561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10562 Remove comments and hacks for old compiler versions.
10563 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10564 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10565 libc_feholdexceptl.
10566
10567 2011-10-18 Andreas Schwab <schwab@redhat.com>
10568
10569 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10570 (__feraiseexcept_renamed): Add __NTH.
10571 (feraiseexcept): Add __NTH. Rename local variables to fix
10572 namespace violations.
10573
10574 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10575
10576 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10577
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10579
10580 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10581 recently added interfaces.
10582 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10583
10584 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10585 about macro parameter expansion.
10586
10587 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10588 __NO_MATH_INLINES is defined. Cleanups.
10589
10590 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10591 and __floorf is target has SSE4.1.
10592 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10594 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10595 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10596
10597 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10598 name.
10599 (floorf): Likewise.
10600
10601 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10602
10603 2011-10-17 Andreas Schwab <schwab@redhat.com>
10604
10605 * misc/sys/cdefs.h: Fix last change.
10606
10607 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10608 database lookup.
10609
10610 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10611
10612 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10613
10614 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10622 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10623 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10624 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10626 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10628 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10630 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10632 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10633 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10634 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10635 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10636
10637 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10638 ceil, ceilf, floor, floorf.
10639
10640 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10641 Perform IRELATIVE relocations last.
10642
10643 * elf/do-rel.h: Add another parameter nrelative, replacing the
10644 local variable with the same name. Change name of the function
10645 to end in Rel or Rela (uppercase).
10646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10647 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10648 elf_dynamic_do_##reloc function.
10649
10650 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10651
10652 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10653 is sufficient, at least on modern CPUs.
10654
10655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10656
10657 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10659
10660 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10661 __expl_finite.
10662 * math/bits/math-finite.h: Add entries for exp.
10663 * math/e_expl.c: Add __*_finite alias.
10664 * sysdeps/i386/fpu/e_exp.S: Likewise.
10665 * sysdeps/i386/fpu/e_expf.S: Likewise.
10666 * sysdeps/i386/fpu/e_expl.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10669 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10671 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10672 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10673 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10674
10675 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10676 is sufficient, at least on modern CPUs.
10677
10678 * ctype/ctype-info.c (__ctype_init): Define.
10679 * include/ctype.h (__ctype_init): Declare.
10680 (__ctype_b_loc): The variable is always initialized.
10681 (__ctype_toupper_loc): Likewise.
10682 (__ctype_tolower_loc): Likewise.
10683 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10684 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10685
10686 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10687
10688 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10689
10690 * configure.in: Also look in $cxxmachine/include for C++ system
10691 headers.
10692
10693 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10694
10695 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10696 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10697 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10698 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10700 (USE_AS_WMEMCMP): New macro.
10701 Fixing indents.
10702 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10703 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10704 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10705 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10707 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10708 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10709 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10710 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10711 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10712 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10713 (USE_AS_WMEMCMP): New macro.
10714 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10715 * sysdeps/string/test-memcmp.c: Update.
10716 Fix simple_wmemcmp.
10717 Add new tests.
10718 * wcsmbs/wmemcmp.c: Update.
10719 (WMEMCMP): New macro.
10720 Fix overflow bug.
10721
10722 2011-10-12 Andreas Jaeger <aj@suse.de>
10723
10724 [BZ #13268]
10725 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10726
10727 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10728
10729 * libio/iofwide.c (do_length): Avoid warning.
10730
10731 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10732
10733 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10734
10735 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10736
10737 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10738 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10739 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10740 * sysdeps/i386/i686/fpu/e_log.S: New file.
10741 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10742 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10743
10744 * ctype/ctype.h: Add support for inlined isXXX functions when
10745 compiling C++ code.
10746
10747 2011-10-14 Andreas Schwab <schwab@redhat.com>
10748
10749 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10750
10751 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10752
10753 2011-10-13 Roland McGrath <roland@hack.frob.com>
10754
10755 [BZ #13291]
10756 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10757
10758 2011-10-13 Andreas Schwab <schwab@redhat.com>
10759
10760 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10761 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10762 feraiseexcept.
10763
10764 * sysdeps/x86_64/memrchr.S: Check for zero size.
10765
10766 * string/stratcliff.c: Add memrchr tests.
10767
10768 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10769
10770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10771 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10772 rawmemchr-sse2 rawmemchr-sse2-bsf.
10773 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10774 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10775 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10776 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10777 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10778 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10779 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10780 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10782 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10783 * string/memrchr.c (MEMRCHR): New macro.
10784
10785 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10786
10787 Add integration with gcc's -ffinite-math-only and optimize wrapper
10788 functions in libm.
10789 * Versions.def: Define GLIBC_2.15 version for libm.
10790 * math/Makefile (headers): Add bits/math-finite.h.
10791 * math/bits/math-finite.h: New file.
10792 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10793 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10794 * math/e_acoshl.c: Add __*_finite alias.
10795 * math/e_acosl.c: Likewise.
10796 * math/e_asinl.c: Likewise.
10797 * math/e_atan2l.c: Likewise.
10798 * math/e_atanhl.c: Likewise.
10799 * math/e_coshl.c: Likewise.
10800 * math/e_exp10.c: Likewise.
10801 * math/e_exp10f.c: Likewise.
10802 * math/e_exp10l.c: Likewise.
10803 * math/e_exp2l.c: Likewise.
10804 * math/e_fmodl.c: Likewise.
10805 * math/e_gammal_r.c: Likewise.
10806 * math/e_hypotl.c: Likewise.
10807 * math/e_j0l.c: Likewise.
10808 * math/e_j1l.c: Likewise.
10809 * math/e_jnl.c: Likewise.
10810 * math/e_lgammal_r.c: Likewise.
10811 * math/e_log10l.c: Likewise.
10812 * math/e_log2l.c: Likewise.
10813 * math/e_logl.c: Likewise.
10814 * math/e_powl.c: Likewise.
10815 * math/e_sinhl.c: Likewise.
10816 * math/e_sqrtl.c: Likewise.
10817 * math/e_scalb.c: Completely rewritten and optimized.
10818 * math/e_scalbf.c: Likewise.
10819 * math/e_scalbl.c: Likewise.
10820 * math/w_acos.c: Likewise.
10821 * math/w_acosf.c: Likewise.
10822 * math/w_acosl.c: Likewise.
10823 * math/w_acosh.c: Likewise.
10824 * math/w_acoshf.c: Likewise.
10825 * math/w_acoshl.c: Likewise.
10826 * math/w_asin.c: Likewise.
10827 * math/w_asinf.c: Likewise.
10828 * math/w_asinl.c: Likewise.
10829 * math/w_atan2.c: Likewise.
10830 * math/w_atan2f.c: Likewise.
10831 * math/w_atan2l.c: Likewise.
10832 * math/w_atanh.c: Likewise.
10833 * math/w_atanhf.c: Likewise.
10834 * math/w_atanhl.c: Likewise.
10835 * math/w_exp10.c: Likewise.
10836 * math/w_exp10f.c: Likewise.
10837 * math/w_exp10l.c: Likewise.
10838 * math/w_fmod.c: Likewise.
10839 * math/w_fmodf.c: Likewise.
10840 * math/w_fmodl.c: Likewise.
10841 * math/w_j0.c: Likewise.
10842 * math/w_j0f.c: Likewise.
10843 * math/w_j0l.c: Likewise.
10844 * math/w_j1.c: Likewise.
10845 * math/w_j1f.c: Likewise.
10846 * math/w_j1l.c: Likewise.
10847 * math/w_jn.c: Likewise.
10848 * math/w_jnf.c: Likewise.
10849 * math/w_log.c: Likewise.
10850 * math/w_logf.c: Likewise.
10851 * math/w_logl.c: Likewise.
10852 * math/w_log10.c: Likewise.
10853 * math/w_log10f.c: Likewise.
10854 * math/w_log10l.c: Likewise.
10855 * math/w_log2.c: Likewise.
10856 * math/w_log2f.c: Likewise.
10857 * math/w_log2l.c: Likewise.
10858 * math/w_pow.c: Likewise.
10859 * math/w_powf.c: Likewise.
10860 * math/w_powl.c: Likewise.
10861 * math/w_remainder.c: Likewise.
10862 * math/w_remainderf.c: Likewise.
10863 * math/w_remainderl.c: Likewise.
10864 * math/w_scalb.c: Likewise.
10865 * math/w_scalbf.c: Likewise.
10866 * math/w_scalbl.c: Likewise.
10867 * math/w_sqrt.c: Likewise.
10868 * math/w_sqrtf.c: Likewise.
10869 * math/w_sqrtl.c: Likewise.
10870 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10871 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10872 used.
10873 * math/math_private.h: Declare __kernel_standard_f.
10874 * math/w_cosh.c: Remove cruft and optimize a bit.
10875 * math/w_coshf.c: Likewise.
10876 * math/w_coshl.c: Likewise.
10877 * math/w_exp2.c: Likewise.
10878 * math/w_exp2f.c: Likewise.
10879 * math/w_exp2l.c: Likewise.
10880 * math/w_hypot.c: Likewise.
10881 * math/w_hypotf.c: Likewise.
10882 * math/w_hypotl.c: Likewise.
10883 * math/w_lgamma.c: Likewise.
10884 * math/w_lgamma_r.c: Likewise.
10885 * math/w_lgammaf.c: Likewise.
10886 * math/w_lgammaf_r.c: Likewise.
10887 * math/w_lgammal.c: Likewise.
10888 * math/w_lgammal_r.c: Likewise.
10889 * math/w_sinh.c: Likewise.
10890 * math/w_sinhf.c: Likewise.
10891 * math/w_sinhl.c: Likewise.
10892 * math/w_tgamma.c: Likewise.
10893 * math/w_tgammaf.c: Likewise.
10894 * math/w_tgammal.c: Likewise.
10895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10897 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10898 Minor optimizations. Pretty printing. Remove cruft.
10899 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10903 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10904 * sysdeps/i386/fpu/e_asin.S: Likewise.
10905 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10906 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10907 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10908 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10909 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10910 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10912 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10913 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10914 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10915 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10916 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10917 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10918 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10919 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10920 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10921 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10922 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10923 * sysdeps/i386/fpu/e_log.S: Likewise.
10924 * sysdeps/i386/fpu/e_log10.S: Likewise.
10925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10927 * sysdeps/i386/fpu/e_log2.S: Likewise.
10928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10929 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10930 * sysdeps/i386/fpu/e_logf.S: Likewise.
10931 * sysdeps/i386/fpu/e_logl.S: Likewise.
10932 * sysdeps/i386/fpu/e_pow.S: Likewise.
10933 * sysdeps/i386/fpu/e_powf.S: Likewise.
10934 * sysdeps/i386/fpu/e_powl.S: Likewise.
10935 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10936 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10937 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10938 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10939 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10940 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10941 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10942 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10943 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10961 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10962 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10964 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10985 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11031 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11032 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11033 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11035 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11036 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11037 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11038 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11039 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11040 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11041 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11042 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11043 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11044 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11045 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11046 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11047 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11049 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11052 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11053 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11054 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11055 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11056 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11057 (__isnanf): Likewise.
11058 (__isinf_ns): Likewise.
11059 (__isinf_nsf): Likewise.
11060 (__finite): Likewise.
11061 (__finitef): Likewise.
11062 (__ieee754_sqrt): Define as macro.
11063 (__ieee754_sqrtf): Define as macro.
11064 (__ieee754_sqrtl): Define as macro.
11065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11066 inlined copy.
11067 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11068 __FINITE_MATH_ONLY__ consistent.
11069 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11070
11071 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11072
11073 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11074 of rawmemchr.
11075
11076 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11077
11078 2011-10-09 Ulrich Drepper <drepper@gmail.com>
11079
11080 * po/ja.po: Update from translation team.
11081
11082 2011-10-08 Roland McGrath <roland@hack.frob.com>
11083
11084 * locale/programs/locarchive.c (prepare_address_space): New function.
11085 (create_archive, enlarge_archive, open_archive): Use it.
11086
11087 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11088 inside [SHARED], where it is used.
11089
11090 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11091
11092 * nss/getent.c (netgroup_keys): Remove unused variable.
11093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11094
11095 2011-10-08 Ulrich Drepper <drepper@gmail.com>
11096
11097 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11101 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11102 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11103 * math/Makefile (libm-calls): Add s_isinf_ns.
11104 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11105 * math/multc3.c: Likewise.
11106 * math/s_casin.c: Likewise.
11107 * math/s_casinf.c: Likewise.
11108 * math/s_casinl.c: Likewise.
11109 * math/s_ccos.c: Likewise.
11110 * math/s_ccosf.c: Likewise.
11111 * math/s_ccosl.c: Likewise.
11112 * math/s_ctan.c: Likewise.
11113 * math/s_ctanf.c: Likewise.
11114 * math/s_ctanh.c: Likewise.
11115 * math/s_ctanhf.c: Likewise.
11116 * math/s_ctanhl.c: Likewise.
11117 * math/s_ctanl.c: Likewise.
11118 * math/w_fmod.c: Likewise.
11119 * math/w_fmodf.c: Likewise.
11120 * math/w_fmodl.c: Likewise.
11121 * math/w_remainder.c: Likewise.
11122 * math/w_remainderf.c: Likewise.
11123 * math/w_remainderl.c: Likewise.
11124 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11125 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11128 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11129 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11130 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11131 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11132
11133 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11134 of the number.
11135 * stdio-common/printf_fphex.c: Likewise.
11136 * stdio-common/printf_size.c: Likewise.
11137
11138 * math/e_exp10.c: Include math_private.h using <...> not "...".
11139 * math/e_exp10f.c: Likewise.
11140 * math/e_exp10l.c: Likewise.
11141 * math/e_exp2l.c: Likewise.
11142 * math/e_j0l.c: Likewise.
11143 * math/e_j1l.c: Likewise.
11144 * math/e_jnl.c: Likewise.
11145 * math/e_lgammal_r.c: Likewise.
11146 * math/e_rem_pio2l.c: Likewise.
11147 * math/e_scalb.c: Likewise.
11148 * math/e_scalbf.c: Likewise.
11149 * math/e_scalbl.c: Likewise.
11150 * math/k_cosl.c: Likewise.
11151 * math/k_sinl.c: Likewise.
11152 * math/k_tanl.c: Likewise.
11153 * math/s_cacoshf.c: Likewise.
11154 * math/s_catan.c: Likewise.
11155 * math/s_catanf.c: Likewise.
11156 * math/s_catanh.c: Likewise.
11157 * math/s_catanhf.c: Likewise.
11158 * math/s_catanhl.c: Likewise.
11159 * math/s_catanl.c: Likewise.
11160 * math/s_ccosh.c: Likewise.
11161 * math/s_ccoshf.c: Likewise.
11162 * math/s_ccoshl.c: Likewise.
11163 * math/s_cexp.c: Likewise.
11164 * math/s_cexpf.c: Likewise.
11165 * math/s_cexpl.c: Likewise.
11166 * math/s_clog.c: Likewise.
11167 * math/s_clog10.c: Likewise.
11168 * math/s_clog10f.c: Likewise.
11169 * math/s_clog10l.c: Likewise.
11170 * math/s_clogf.c: Likewise.
11171 * math/s_clogl.c: Likewise.
11172 * math/s_csin.c: Likewise.
11173 * math/s_csinf.c: Likewise.
11174 * math/s_csinh.c: Likewise.
11175 * math/s_csinhf.c: Likewise.
11176 * math/s_csinhl.c: Likewise.
11177 * math/s_csinl.c: Likewise.
11178 * math/s_csqrt.c: Likewise.
11179 * math/s_csqrtf.c: Likewise.
11180 * math/s_csqrtl.c: Likewise.
11181 * math/s_ctan.c: Likewise.
11182 * math/s_ctanf.c: Likewise.
11183 * math/s_ctanh.c: Likewise.
11184 * math/s_ctanhf.c: Likewise.
11185 * math/s_ctanhl.c: Likewise.
11186 * math/s_ctanl.c: Likewise.
11187 * math/s_ldexp.c: Likewise.
11188 * math/s_ldexpf.c: Likewise.
11189 * math/s_ldexpl.c: Likewise.
11190 * math/s_significand.c: Likewise.
11191 * math/s_significandf.c: Likewise.
11192 * math/s_significandl.c: Likewise.
11193 * math/w_acos.c: Likewise.
11194 * math/w_acosf.c: Likewise.
11195 * math/w_acosh.c: Likewise.
11196 * math/w_acoshf.c: Likewise.
11197 * math/w_acoshl.c: Likewise.
11198 * math/w_acosl.c: Likewise.
11199 * math/w_asin.c: Likewise.
11200 * math/w_asinf.c: Likewise.
11201 * math/w_asinl.c: Likewise.
11202 * math/w_atan2.c: Likewise.
11203 * math/w_atan2f.c: Likewise.
11204 * math/w_atan2l.c: Likewise.
11205 * math/w_atanh.c: Likewise.
11206 * math/w_atanhf.c: Likewise.
11207 * math/w_atanhl.c: Likewise.
11208 * math/w_cosh.c: Likewise.
11209 * math/w_coshf.c: Likewise.
11210 * math/w_coshl.c: Likewise.
11211 * math/w_dremf.c: Likewise.
11212 * math/w_exp10.c: Likewise.
11213 * math/w_exp10f.c: Likewise.
11214 * math/w_exp10l.c: Likewise.
11215 * math/w_exp2.c: Likewise.
11216 * math/w_exp2f.c: Likewise.
11217 * math/w_fmod.c: Likewise.
11218 * math/w_fmodf.c: Likewise.
11219 * math/w_fmodl.c: Likewise.
11220 * math/w_hypot.c: Likewise.
11221 * math/w_hypotf.c: Likewise.
11222 * math/w_hypotl.c: Likewise.
11223 * math/w_j0.c: Likewise.
11224 * math/w_j0f.c: Likewise.
11225 * math/w_j0l.c: Likewise.
11226 * math/w_j1.c: Likewise.
11227 * math/w_j1f.c: Likewise.
11228 * math/w_j1l.c: Likewise.
11229 * math/w_jn.c: Likewise.
11230 * math/w_jnf.c: Likewise.
11231 * math/w_jnl.c: Likewise.
11232 * math/w_lgamma.c: Likewise.
11233 * math/w_lgamma_r.c: Likewise.
11234 * math/w_lgammaf.c: Likewise.
11235 * math/w_lgammaf_r.c: Likewise.
11236 * math/w_lgammal.c: Likewise.
11237 * math/w_lgammal_r.c: Likewise.
11238 * math/w_log.c: Likewise.
11239 * math/w_log10.c: Likewise.
11240 * math/w_log10f.c: Likewise.
11241 * math/w_log10l.c: Likewise.
11242 * math/w_log2.c: Likewise.
11243 * math/w_log2f.c: Likewise.
11244 * math/w_log2l.c: Likewise.
11245 * math/w_logf.c: Likewise.
11246 * math/w_logl.c: Likewise.
11247 * math/w_pow.c: Likewise.
11248 * math/w_powf.c: Likewise.
11249 * math/w_powl.c: Likewise.
11250 * math/w_remainder.c: Likewise.
11251 * math/w_remainderf.c: Likewise.
11252 * math/w_remainderl.c: Likewise.
11253 * math/w_scalb.c: Likewise.
11254 * math/w_scalbf.c: Likewise.
11255 * math/w_scalbl.c: Likewise.
11256 * math/w_sinh.c: Likewise.
11257 * math/w_sinhf.c: Likewise.
11258 * math/w_sinhl.c: Likewise.
11259 * math/w_sqrt.c: Likewise.
11260 * math/w_sqrtf.c: Likewise.
11261 * math/w_sqrtl.c: Likewise.
11262 * math/w_tgamma.c: Likewise.
11263 * math/w_tgammaf.c: Likewise.
11264 * math/w_tgammal.c: Likewise.
11265
11266 * po/ja.po: Update from translation team.
11267
11268 2011-09-29 Andreas Jaeger <aj@suse.de>
11269
11270 [BZ #13179]
11271 * sunrpc/netname.c (netname2host): Fix logic.
11272
11273 [BZ #6779]
11274 [BZ #6783]
11275 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11276 correctly.
11277 * math/w_remainder.c (__remainder): Likewise.
11278 * math/w_remainderf.c (__remainderf): Likewise.
11279 * math/libm-test.inc (remainder_test): Add test cases.
11280
11281 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11282
11283 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11284 sdiv_qrnnd.
11285
11286 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11287
11288 * string/test-memcmp.c: Avoid unncessary #defines.
11289 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11290
11291 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11292
11293 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11294 Use new sse2 version for core i3 - i7 as it's faster
11295 than sse42 version.
11296 (bit_Prefer_PMINUB_for_stringop): New.
11297 * sysdeps/x86_64/rawmemchr.S: Update.
11298 Replace with faster SSE2 version.
11299 * sysdeps/x86_64/memrchr.S: New file.
11300 * sysdeps/x86_64/memchr.S: Update.
11301 Replace with faster SSE2 version.
11302
11303 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11304
11305 * elf/dl-load.c (lose): Add cast to avoid warning.
11306
11307 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11308
11309 * po/ca.po: Update from translation team.
11310
11311 * inet/getnetgrent_r.c: Hook up nscd.
11312 * nscd/Makefile (routines): Add nscd_netgroup.
11313 (nscd-modules): Add netgroupcache.
11314 (CFLAGS-netgroupcache.c): Define.
11315 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11316 (cache_search): Add const to second parameter.
11317 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11318 INNETGR.
11319 (dbs): Add netgrdb entry.
11320 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11321 (verify_persistent_db): Handle netgrdb.
11322 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11323 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11324 GETFDNETGR.
11325 (netgroup_response_header): Define.
11326 (innetgroup_response_header): Define.
11327 (datahead): Add netgroup_response_header and innetgroup_response_header
11328 elements.
11329 * nscd/nscd.conf: Add entries for netgroup cache.
11330 * nscd/nscd.h (dbtype): Add netgrdb.
11331 (_PATH_NSCD_NETGROUP_DB): Define.
11332 (netgroup_iov_disabled): Declare.
11333 (xmalloc, xcalloc, xrealloc): Move declarations here.
11334 (cache_search): Adjust prototype.
11335 Add netgroup-related prototypes.
11336 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11337 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11338 (__nscd_innetgr): Declare.
11339 * nscd/selinux.c (perms): Use access_vector_t as element type and
11340 add netgroup-related initializers.
11341 * nscd/netgroupcache.c: New file.
11342 * nscd/nscd_netgroup.c: New file.
11343 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11344 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11345 For four parameters use innetgr.
11346 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11347 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11348 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11349 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11350
11351 * nscd/connections.c (register_traced_file): Don't register file
11352 for disabled databases.
11353
11354 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11355
11356 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11357
11358 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11359 from tree and freeing node.
11360
11361 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11362
11363 * nss/nsswitch.c (__nss_database_lookup): Handle
11364 nss_parse_service_list out of memory case.
11365
11366 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11367
11368 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11369 out of memory case.
11370
11371 2011-10-04 Andreas Schwab <schwab@redhat.com>
11372
11373 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11374 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11375 pass it down.
11376 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11377 elf_machine_rela, elf_machine_lazy_rel.
11378 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11379 (ELF_DYNAMIC_DO_REL): Likewise.
11380 (ELF_DYNAMIC_DO_RELA): Likewise.
11381 (ELF_DYNAMIC_RELOCATE): Likewise.
11382 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11383 to ELF_DYNAMIC_DO_REL.
11384 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11385 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11386 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11387 elf_machine_rela.
11388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11389 skip_ifunc, don't call ifunc function if non-zero.
11390 (elf_machine_rela): Likewise.
11391 (elf_machine_lazy_rel): Likewise.
11392 (elf_machine_lazy_rela): Likewise.
11393 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11394 (elf_machine_lazy_rel): Likewise.
11395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11396 Likewise.
11397 (elf_machine_lazy_rel): Likewise.
11398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11399 Likewise.
11400 (elf_machine_lazy_rel): Likewise.
11401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11402 (elf_machine_lazy_rel): Likewise.
11403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11404 (elf_machine_lazy_rel): Likewise.
11405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11406 (elf_machine_lazy_rel): Likewise.
11407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11408 (elf_machine_lazy_rel): Likewise.
11409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11410 (elf_machine_lazy_rel): Likewise.
11411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11412 (elf_machine_lazy_rel): Likewise.
11413
11414 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11415
11416 * nss/nss_files/files-init.c (_nss_files_init): Use static
11417 initialization for all the *_traced_file variables.
11418
11419 2011-09-28 Andreas Schwab <schwab@redhat.com>
11420
11421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11422
11423 2011-09-27 Roland McGrath <roland@hack.frob.com>
11424
11425 [BZ #13226]
11426 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11427
11428 2011-09-27 Andreas Schwab <schwab@redhat.com>
11429
11430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11431 Reread the line before reparsing it.
11432
11433 2011-09-26 Andreas Schwab <schwab@redhat.com>
11434
11435 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11436
11437 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11438 Maxim Kuvyrkov <maxim@codesourcery.com>
11439 Joseph Myers <joseph@codesourcery.com>
11440
11441 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11442 if needed for __stack_chk_guard.
11443
11444 2011-09-19 Roland McGrath <roland@hack.frob.com>
11445
11446 * sysdeps/posix/spawni.c (script_execute): Always define it.
11447 It will be optimized away if unused.
11448 (maybe_script_execute): New function.
11449 (__spawni): Call it.
11450
11451 * Makerules: Don't include tls.make.
11452 (config-tls): Always set to thread.
11453 * tls.make.c: File removed.
11454
11455 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11456
11457 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11458 * config.make.in (CPPFLAGS-config): New substituted variable.
11459
11460 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11461
11462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11463
11464 [BZ #13192]
11465 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11466 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11467
11468 2011-09-15 Roland McGrath <roland@hack.frob.com>
11469
11470 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11471 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11473 (CALL_FAIL): Likewise.
11474 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11475 (CALL_FAIL): Macro removed.
11476 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11477
11478 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11479
11480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11481 for __FINITE_MATH_ONLY__ == 1.
11482
11483 2011-09-15 Andreas Schwab <schwab@redhat.com>
11484
11485 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11486 __ieee754_sqrt instead of sqrt.
11487 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11488 __ieee754_sqrtf instead of sqrtf.
11489 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11490 __floorf instead of floorf.
11491 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11492 __floorf, __truncf instead of floorf, truncf.
11493
11494 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11495
11496 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11497
11498 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11499 __extern_always_inline.
11500 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11501 32-bit.
11502
11503 2011-09-14 Andreas Schwab <schwab@redhat.com>
11504
11505 * elf/rtld.c (dl_main): Also relocate in dependency order when
11506 doing symbol dependency testing.
11507
11508 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11509
11510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11511 Always define `refsym'.
11512
11513 2011-09-13 Andreas Schwab <schwab@redhat.com>
11514
11515 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11516 (__FD_ELT): Renamed from __FDELT.
11517 * misc/bits/select2.h (__FD_ELT): Likewise.
11518 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11519 __FD_MASK instead of __FDELT, __FDMASK.
11520 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11521 Likewise.
11522 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11523 Likewise.
11524
11525 * elf/Makefile (gen-ldd): Fix pattern.
11526
11527 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11528 (init_tls): Likewise.
11529
11530 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11531
11532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11533
11534 2011-09-12 Andreas Schwab <schwab@redhat.com>
11535
11536 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11537 `struct cmsghdr *' instead of `void *'.
11538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11539 Likewise.
11540
11541 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11542
11543 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11544 if non-absolute.
11545 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11546 ldd_rewrite_script.
11547
11548 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11549
11550 * configure.in: Remove --with-tls option.
11551 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11552 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11553 out in case it is missing.
11554 * sysdeps/ia64/elf/configure.in: Likewise.
11555 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11556 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11557 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11558 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11559 * sysdeps/sh/elf/configure.in: Likewise.
11560 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11561 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11562 * sysdeps/x86_64/elf/configure.in: Likewise.
11563 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11564 * sysdeps/mach/hurd/tls.h: Likewise.
11565
11566 [BZ #13067]
11567 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11568
11569 [BZ #13090]
11570 * configure.in: Fix use of AC_INIT.
11571
11572 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11573
11574 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11575
11576 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11577 __set_errno.
11578 * malloc/hooks.c: Likewise.
11579
11580 [BZ #11929]
11581 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11582 variables statically.
11583 (narenas): Initialize.
11584 (list_lock): Initialize.
11585 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11586 initializtion of main_arena and list_lock. Small cleanups.
11587 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11588 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11589 Add initializers to main_arena and mp_.
11590 (malloc_state): Remove pagesize member. Change all users to use
11591 GLRO(dl_pagesize).
11592
11593 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11594 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11595 is always initialized.
11596
11597 * malloc/malloc.c: Removed unused configurations and dead code.
11598 * malloc/arena.c: Likewise.
11599 * malloc/hooks.c: Likewise.
11600 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11601
11602 * include/tls.h: Removed. USE___THREAD must always be defined.
11603 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11604 * elf/dl-libc.c: Likewise.
11605 * elf/dl-tsd.c: Likewise.
11606 * include/errno.h: Likewise.
11607 * include/netdb.h: Likewise.
11608 * include/resolv.h: Likewise.
11609 * inet/herrno-loc.c: Likewise.
11610 * inet/herrno.c: Likewise.
11611 * malloc/arena.c: Likewise.
11612 * malloc/hooks.c: Likewise.
11613 * malloc/malloc.c: Likewise.
11614 * resolv/res-state.c: Likewise.
11615 * resolv/res_libc.c: Likewise.
11616 * sysdeps/i386/dl-machine.h: Likewise.
11617 * sysdeps/ia64/dl-machine.h: Likewise.
11618 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11619 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11620 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11621 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11622 * sysdeps/sh/dl-machine.h: Likewise.
11623 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11624 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11625 * sysdeps/unix/i386/sysdep.S: Likewise.
11626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11627 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11632 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11636 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11637 * sysdeps/x86_64/dl-machine.h: Likewise.
11638 * tls.make.c: Likewise.
11639
11640 * configure.in: Remove --with-__thread option. Make tests for
11641 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11642 tls_model attribute fail if no support is available. Remove
11643 USE_IN_LIBIO.
11644 * Makeconfig: Adjust for dropped configure option. All features are
11645 now mandatory.
11646 * Makerules: Likewise.
11647 * Versions.def: Likewise.
11648 * argp/argp-fmtstream.c: Likewise.
11649 * argp/argp-fmtstream.h: Likewise.
11650 * argp/argp-help.c: Likewise.
11651 * assert/assert.c: Likewise.
11652 * config.h.in: Likewise.
11653 * config.make.in: Likewise.
11654 * configure: Likewise.
11655 * configure.in: Likewise.
11656 * csu/Versions: Likewise.
11657 * csu/init.c: Likewise.
11658 * elf/tst-audit2.c: Likewise.
11659 * elf/tst-tls10.c: Likewise.
11660 * elf/tst-tls10.h: Likewise.
11661 * elf/tst-tls11.c: Likewise.
11662 * elf/tst-tls12.c: Likewise.
11663 * elf/tst-tls14.c: Likewise.
11664 * elf/tst-tlsmod11.c: Likewise.
11665 * elf/tst-tlsmod12.c: Likewise.
11666 * elf/tst-tlsmod13.c: Likewise.
11667 * elf/tst-tlsmod13a.c: Likewise.
11668 * elf/tst-tlsmod14a.c: Likewise.
11669 * elf/tst-tlsmod15b.c: Likewise.
11670 * elf/tst-tlsmod16a.c: Likewise.
11671 * elf/tst-tlsmod16b.c: Likewise.
11672 * elf/tst-tlsmod7.c: Likewise.
11673 * elf/tst-tlsmod8.c: Likewise.
11674 * elf/tst-tlsmod9.c: Likewise.
11675 * gmon/gmon.c: Likewise.
11676 * grp/fgetgrent_r.c: Likewise.
11677 * grp/putgrent.c: Likewise.
11678 * hurd/fopenport.c: Likewise.
11679 * include/libc-symbols.h: Likewise.
11680 * include/tls.h: Likewise.
11681 * intl/gettextP.h: Likewise.
11682 * intl/loadinfo.h: Likewise.
11683 * locale/global-locale.c: Likewise.
11684 * locale/localeinfo.h: Likewise.
11685 * mach/devstream.c: Likewise.
11686 * malloc/arena.c: Likewise.
11687 * malloc/set-freeres.c: Likewise.
11688 * misc/err.c: Likewise.
11689 * misc/getttyent.c: Likewise.
11690 * misc/mntent_r.c: Likewise.
11691 * posix/getopt.c: Likewise.
11692 * posix/wordexp.c: Likewise.
11693 * pwd/fgetpwent_r.c: Likewise.
11694 * resolv/Versions: Likewise.
11695 * resolv/res_hconf.c: Likewise.
11696 * shadow/fgetspent_r.c: Likewise.
11697 * shadow/putspent.c: Likewise.
11698 * stdio-common/printf_fphex.c: Likewise.
11699 * stdio-common/tmpfile.c: Likewise.
11700 * stdlib/abort.c: Likewise.
11701 * stdlib/fmtmsg.c: Likewise.
11702 * sunrpc/auth_unix.c: Likewise.
11703 * sunrpc/clnt_perr.c: Likewise.
11704 * sunrpc/clnt_tcp.c: Likewise.
11705 * sunrpc/clnt_udp.c: Likewise.
11706 * sunrpc/clnt_unix.c: Likewise.
11707 * sunrpc/openchild.c: Likewise.
11708 * sunrpc/svc_simple.c: Likewise.
11709 * sunrpc/svc_tcp.c: Likewise.
11710 * sunrpc/svc_udp.c: Likewise.
11711 * sunrpc/svc_unix.c: Likewise.
11712 * sunrpc/xdr.c: Likewise.
11713 * sunrpc/xdr_array.c: Likewise.
11714 * sunrpc/xdr_rec.c: Likewise.
11715 * sunrpc/xdr_ref.c: Likewise.
11716 * sunrpc/xdr_stdio.c: Likewise.
11717
11718 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11719
11720 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11721
11722 2011-07-03 Andreas Jaeger <aj@suse.de>
11723
11724 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11725 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11726 regenerate with gen-libm-tests.pl.
11727
11728 2010-05-12 Petr Baudis <pasky@suse.cz>
11729
11730 [BZ #11589]
11731 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11732 around j0() zero points by switching to j1().
11733 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11737
11738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11739
11740 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11741 instead of 0.
11742 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11743 instead of 0. .
11744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11745 Patch in part by Pavel Roskin <proski@gnu.org>.
11746
11747 [BZ #13138]
11748 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11749 realloc.
11750 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11751 Free memory block if necessary.
11752
11753 [BZ #12847]
11754 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11755 be NULL. Don't lock in this case.
11756
11757 2011-09-09 Roland McGrath <roland@hack.frob.com>
11758
11759 * elf/elf.h (ELFOSABI_GNU): New macro.
11760 (ELFOSABI_LINUX): Define to that.
11761
11762 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11763
11764 * string/strncat.c (strncat): Undef the symbol in case it has been
11765 defined in bits/string.h.
11766
11767 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11768
11769 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11770
11771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11772 link map.
11773
11774 2011-08-17 Andreas Jaeger <aj@suse.de>
11775
11776 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11777
11778 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11779 Ian Lance Taylor <iant@google.com>
11780
11781 * math/libm-test.inc (lround_test): New testcase.
11782 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11783
11784 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11785
11786 * Makefile: Remove support for automatic cvs check-ins.
11787 * Makerules: Likewise.
11788 * config.make.in: Likewise.
11789 * configure.in: Likewise.
11790 * intl/Makefile: Likewise.
11791 * locale/Makefile: Likewise.
11792 * po/Makefile: Likewise.
11793 * posix/Makefile: Likewise.
11794 * sysdeps/gnu/Makefile: Likewise.
11795 * sysdeps/mach/hurd/Makefile: Likewise.
11796 * sysdeps/sparc/sparc32/Makefile: Likewise.
11797
11798 [BZ #13118]
11799 * posix/Makefile (bug-regex32-ENV): Define.
11800 Patch by John Stanley <jpsinthemix@verizon.net>.
11801
11802 * misc/Makefile (headers): Add bits/select2.h.
11803 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11804 * misc/bits/select2.h: New file.
11805 * include/bits/select2.h: New file.
11806 * debug/Makefile (routines): Add fdelt_chk.
11807 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11808 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11809 FD_ISSET.
11810 * debug/fdelt_chk.c: New file.
11811
11812 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11813 * wcsmbs/test-wmemcmp.c: Likewise.
11814 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11815 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11816
11817 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11818
11819 * string/Makefile (strop-tests): Add memcmp.
11820 * string/test-wmemcmp.c: New file.
11821 * string/test-memcmp.c: Add wmemcmp support.
11822
11823 2011-09-08 Roland McGrath <roland@hack.frob.com>
11824
11825 [BZ #13153]
11826 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11827 2011-07-19 change.
11828
11829 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11830 garbage value in a __mach_port_mod_refs call in the cases of the
11831 task-self and thread-self ports.
11832
11833 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11834
11835 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11836
11837 2011-09-08 Andreas Schwab <schwab@redhat.com>
11838
11839 * elf/dl-load.c (lose): Check for non-null L.
11840
11841 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11842
11843 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11844
11845 * elf/dl-libc.c (dlerror_run): Pass back error code from
11846 dl_catch_error.
11847
11848 [BZ #13123]
11849 * elf/dl-load.c (lose): Free l_origin if it is valid.
11850
11851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11852 names.
11853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11857 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11858 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11859
11860 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11861
11862 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11863 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11864 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11866 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11867 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11868 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11869 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11870 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11871 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11872
11873 2011-08-15 Alan Modra <amodra@gmail.com>
11874
11875 [BZ #13092]
11876 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11877 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11878 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11879 ppc_mcount to static-only-routines.
11880 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11881 __mcount_internal.
11882 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11883 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11884
11885 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11886
11887 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11888 for finite and infinity parameters.
11889
11890 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11891
11892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11893 and add nop instructions for throughput optimization.
11894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11895
11896 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11897
11898 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11899 aligned copy for power7 with vector-scalar instructions.
11900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11901
11902 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11903
11904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11905 AVX check.
11906
11907 2011-09-07 Andreas Schwab <schwab@redhat.com>
11908
11909 [BZ #13144]
11910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11911 last change.
11912
11913 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11914
11915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11916 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11917 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11918 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11919 clock_gettime.
11920
11921 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11922
11923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11924 Forgot to demangle the pointer.
11925
11926 * sysdeps/i386/sysdep.h: Define atom_text_section.
11927 * sysdeps/x86_64/sysdep.h: Likewise.
11928 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11929 section with atom_text_section.
11930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11932 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11935
11936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11938 already be defined. Change to take two parameters and don't assign
11939 result to variable. Adjust all users.
11940 Define INTERNAL_GETTIME if not already defined.
11941 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11942 call.
11943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11944 HAVE_CLOCK_GETTIME_VSYSCALL.
11945 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11946
11947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11948 gettimeofday vsyscall, just use time.
11949
11950 2011-09-06 Andreas Schwab <schwab@redhat.com>
11951
11952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11953 <errno.h>.
11954
11955 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11956
11957 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11958 syscall on x86-64.
11959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11960 syscall.
11961 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11963 syscall if possible.
11964
11965 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11966
11967 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11968 e_ident. Don't pass to find_mapsXX.
11969 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11970
11971 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11972
11973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11974 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11975 * sysdeps/x86_64/multiarch/strchr.S: Update.
11976 Check bit_slow_BSF bit.
11977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11978 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11979 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11980
11981 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11982
11983 [BZ #13134]
11984 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11985 before glibc 2.15.
11986 (tryshell): Define.
11987 (__spawni): Change last parameter to be flag. Test
11988 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11989 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11990 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11991 * posix/spawni.c: Likewise.
11992 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11993 * posix/spawnp.c: Likewise. Change normal version to use
11994 SPAWN_XFLAGS_USE_PATH.
11995 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11996 SPAWN_XFLAGS_TRY_SHELL.
11997
11998 [BZ #13150]
11999 * posix/glob.h: Remove gcc 1.x support.
12000
12001 [BZ #13068]
12002 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
12003
12004 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12005
12006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12007 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12008 strrchr-sse2-bsf
12009 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12010 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12011 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12013 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12015
12016 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12017
12018 * sysdeps/x86_64/wcscmp.S: New file.
12019
12020 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12021 wcscmp-c wcscmp-sse2
12022 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12023 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12024 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12025 * wcsmbs/wcscmp.c: Allow renaming.
12026
12027 2011-09-05 David S. Miller <davem@davemloft.net>
12028
12029 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12030 stack slot, rather than the struct return pointer slot.
12031 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12032 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12035
12036 2011-09-05 Ulrich Drepper <drepper@gmail.com>
12037
12038 * po/ja.po: Update from translation team.
12039
12040 [BZ #13144]
12041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12042 kernel in 64-bit binaries.
12043
12044 2011-09-01 David S. Miller <davem@davemloft.net>
12045
12046 * elf/elf.h (HWCAP_SPARC_*): Move to..
12047 * sysdeps/sparc/sysdep.h: this new file and add new values.
12048 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12049 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12050 _DL_HWCAP_COUNT to 24.
12051 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12052 entries.
12053 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12054 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12055 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12057 instead of magic constants.
12058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12059
12060 2011-08-31 David S. Miller <davem@davemloft.net>
12061
12062 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12063 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12064 Reimplement to do errno handling inline.
12065 (SYSCALL_ERROR_HANDLER): New macro.
12066 (__SYSCALL_STRING): Do not do errno handling in asm.
12067 (__CLONE_SYSCALL_STRING): Delete.
12068 (__INTERNAL_SYSCALL_STRING): Delete.
12069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12070 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12071 (PSEUDO): Reimplement to do errno handling inline.
12072 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12073 (SYSCALL_ERROR_HANDLER): New macro.
12074 (__SYSCALL_STRING): Do not do errno handling in asm.
12075 (__CLONE_SYSCALL_STRING): Delete.
12076 (__INTERNAL_SYSCALL_STRING): Delete.
12077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12078 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12079 i386.
12080 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12081 (inline_syscall*): Add 'err' argument.
12082 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12083 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12084 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12085 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12086
12087 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12088 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12089
12090 2011-08-30 Andreas Schwab <schwab@redhat.com>
12091
12092 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12093
12094 2011-08-29 Jiri Olsa <jolsa@redhat.com>
12095
12096 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12097 directive.
12098
12099 2011-08-24 David S. Miller <davem@davemloft.net>
12100
12101 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12102
12103 2011-08-24 Andreas Schwab <schwab@redhat.com>
12104
12105 * elf/Makefile: Add rules to build and run unload8 test.
12106 * elf/unload8.c: New file.
12107 * elf/unload8mod1.c: New file.
12108 * elf/unload8mod1x.c: New file.
12109 * elf/unload8mod2.c: New file.
12110 * elf/unload8mod3.c: New file.
12111
12112 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12113 it wasn't used.
12114
12115 2011-08-23 David S. Miller <davem@davemloft.net>
12116
12117 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12118 subtract stack bias.
12119 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12120 %sp not %fp in calculations.
12121 (_JMPBUF_UNWINDS_ADJ): Likewise.
12122
12123 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12124 (aio_suspend): Call it to force an exception region around the
12125 AIO_MISC_WAIT() invocation.
12126
12127 2011-08-23 Andreas Schwab <schwab@redhat.com>
12128
12129 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12130 backslash.
12131
12132 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12133
12134 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12135 protection macro.
12136 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12137 and <dl-machine.h>.
12138 (Elf64_FuncDesc): Remove.
12139
12140 2011-08-22 David S. Miller <davem@davemloft.net>
12141
12142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12143 sigaltstack check, add missing cfi directives.
12144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12145 missing cfi directives, and sigaltstack handling.
12146
12147 2011-08-16 Andreas Schwab <schwab@redhat.com>
12148
12149 [BZ #11724]
12150 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12151 object is seen twice.
12152 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12153
12154 * elf/Makefile (distribute): Add tst-initorder2.c.
12155 (tests): Add tst-initorder2.
12156 (modules-names): Add tst-initorder2a tst-initorder2b
12157 tst-initorder2c tst-initorder2d. Add rules to build them.
12158 ($(objpfx)tst-initorder2.out): New rule.
12159 * elf/tst-initorder2.c: New file.
12160 * elf/tst-initorder2.exp: New file.
12161
12162 2011-08-22 Andreas Schwab <schwab@redhat.com>
12163
12164 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12165
12166 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12167 dependencies back to end of function.
12168
12169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12170 $(elfobjdir)/ld.so.
12171
12172 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12173
12174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12175 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12177 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12178 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12179 of __vdso_gettimeofday.
12180 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12181 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12182 attribute_hidden.
12183 (_libc_vdso_platform_setup): Remove initialization of
12184 __vdso_gettimeofday and __vdso_time.
12185
12186 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12187
12188 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12189 and fgetc_unlocked.
12190 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12191 getc_unlocked.
12192
12193 * elf/dl-open.c (add_to_global): Report additions to the global scope
12194 for LD_DEBUG=scopes.
12195 (dl_open_worker): Also print scope of newly loaded dependencies.
12196 (_dl_show_scope): Indicate if there is no scope.
12197
12198 [BZ #13114]
12199 * stdio-common/Makefile (tests): Add bug24.
12200 * stdio-common/bug24.c: New file.
12201
12202 2011-08-19 Andreas Jaeger <aj@suse.de>
12203
12204 [BZ #13114]
12205 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12206 non-existant file when using close-on-exec mode.
12207
12208 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12209
12210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12211 the very first instruction.
12212
12213 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12214 the CFI state in the end.
12215 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12216 inclusion of dl-trampoline.h.
12217 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12218
12219 2011-08-19 Andreas Schwab <schwab@redhat.com>
12220
12221 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12222 expectations for long double.
12223
12224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12225 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12226
12227 2011-08-14 David S. Miller <davem@davemloft.net>
12228
12229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12230 artificual limit depends upon the system page size.
12231
12232 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12233
12234 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12235 * resolv/Makefile: Define CFLAGS-libresolv.
12236
12237 2011-08-17 Andreas Schwab <schwab@redhat.com>
12238
12239 * nss/makedb.c (compute_tables): Make variables used in nested
12240 function static.
12241
12242 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12243
12244 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12245 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12246 if buffer was too small.
12247
12248 * elf/pldd.c (main): Attach to all threads in the process.
12249 Rewrite /proc handling to use *at functions.
12250
12251 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12252
12253 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12254 specifies first scope to show.
12255 (dl_open_worker): Update callers. Move printing scope of new
12256 object to before the relocation.
12257 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12258 * sysdeps/generic/ldsodefs.h: Update declaration.
12259
12260 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12261 string for the scope number.
12262
12263 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12264
12265 * nscd/servicescache.c (cache_addserv): Make sure written is always
12266 initialized.
12267
12268 2011-08-14 Roland McGrath <roland@hack.frob.com>
12269
12270 * sysdeps/i386/i486/bits/atomic.h
12271 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12272 statement expression, so as to suppress "set but not used" warning.
12273 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12274
12275 * string/strncat.c (STRNCAT): Use prototype definition.
12276
12277 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12278 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12279 -Iprograms here.
12280 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12281 (localedef-modules): Add localedef.
12282 (locale-modules): Add locale.
12283
12284 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12285 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12286 to avoid a warning.
12287
12288 2011-08-14 David S. Miller <davem@davemloft.net>
12289
12290 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12291 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12292
12293 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12294
12295 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12296 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12297 * elf/rtld.c (dl_main): Set l_name of vDSO.
12298 Call _dl_show_scope when DL_DEBUG_SCOPES.
12299 (process_dl_debug): Recognize scopes flag and also set it for all.
12300 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12301 Declare _dl_show_scope.
12302
12303 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12304 (do_dlopen): Pass caller_dlopen to dl_open.
12305 (__libc_dlopen_mode): Initialize caller_dlopen.
12306
12307 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12308 of libc. Make tolower call locale-independent. Optimize a bit by
12309 using isdigit instead of isalnum.
12310 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12311
12312 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12313
12314 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12315 was a dependency or dynamically loaded.
12316
12317 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12318
12319 * intl/l10nflist.c: Allow architecture-specific pop function.
12320 * sysdeps/x86_64/l10nflist.c: New file.
12321
12322 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12323 classification.
12324
12325 2011-08-10 Andreas Schwab <schwab@redhat.com>
12326
12327 * include/dirent.h: Add libc_hidden_proto for scandirat and
12328 scandirat64. Don't declare __scandirat64.
12329 * dirent/scandirat.c: Add libc_hidden_def.
12330 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12331 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12332
12333 2011-08-10 David S. Miller <davem@davemloft.net>
12334
12335 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12336 enum.
12337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12340
12341 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12342
12343 * Versions.def [libc]: Add GLIBC_2.15.
12344 * dirent/Makefile (routines): Add scandirat and scandirat64.
12345 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12346 GLIBC_2.15.
12347 * dirent/dirent.h: Declare scandirat and scandirat64.
12348 * dirent/scandirat.c: New file.
12349 * dirent/scandirat64.c: New file.
12350 * sysdeps/wordsize-64/scandirat.c: New file.
12351 * sysdeps/wordsize-64/scandirat64.c: New file.
12352 * dirent/opendir.c: Define opendirat.
12353 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12354 using scandirat.
12355 * dirent/scandir64.c: Adjust for scandir.c change.
12356 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12357 __scandirat64, and __scandir_cancel_handler.
12358 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12359 additional parameter and use openat instead of open (outside of ld.so).
12360 Add new __opendir as wrapper around __opendirat.
12361 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12362 here without requiring old scandirat implementation.
12363
12364 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12365
12366 * dirent/scandir.c (cancel_handler): Renamed to
12367 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12368 defined. Adjust users.
12369 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12370 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12371
12372 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12373
12374 * string/test-string.h (IMPL): Use __STRING to expand name and then
12375 stringify it.
12376
12377 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12378 of cleanups.
12379
12380 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12381
12382 * string/Makefile: Update.
12383 (strop-tests): Append strncat.
12384 * string/test-wcscmp.c: New file.
12385 New comprehensive test for wcscmp.
12386 * string/test-strcmp.c: Update.
12387 (WIDE): New define.
12388
12389 2011-07-22 Andreas Schwab <schwab@redhat.com>
12390
12391 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12392 line.
12393
12394 2011-07-26 Andreas Schwab <schwab@redhat.com>
12395
12396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12397 encoding to ACE if AI_IDN.
12398
12399 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12400
12401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12402 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12403
12404 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12405
12406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12407 Fix overflow bug in strncat.
12408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12409
12410 * string/test-strncat.c: Update.
12411 Add new tests for checking overflow bugs.
12412
12413 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12414
12415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12416 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12417 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12418 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12420 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12421 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12422 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12423 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12424
12425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12426 (USE_AS_STRCAT): Define.
12427 Add strcat and strncat support.
12428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12429
12430 2011-07-25 Andreas Schwab <schwab@redhat.com>
12431
12432 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12433 __n bigger than INT_MAX+1.
12434 (__strncmp_g): Likewise.
12435
12436 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12437
12438 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12439 * libio/stido.h: Likewise.
12440
12441 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12442 (AF_NFC): Define.
12443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12444 (AF_NFC): Define.
12445
12446 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12451
12452 [BZ #13021]
12453 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12454 installed.
12455
12456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12457 typo.
12458 (_dl_x86_64_save_sse): Likewise.
12459
12460 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12461
12462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12463 OSXSAVE.
12464 (_dl_x86_64_save_sse): Likewise.
12465
12466 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12467
12468 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12469
12470 2011-07-21 Andreas Schwab <schwab@redhat.com>
12471
12472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12473 change.
12474 (_dl_x86_64_save_sse): Use correct AVX check.
12475
12476 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12477
12478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12479 bug in strncpy/strncat.
12480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12481
12482 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12483
12484 * string/tester.c (test_strcat): Add tests for different alignments
12485 of source and destination.
12486 (test_strncat): Likewise.
12487
12488 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12489
12490 [BZ #12852]
12491 * posix/glob.c (glob): Check passed in values before using them in
12492 expressions to avoid some overflows.
12493 (glob_in_dir): Likewise.
12494
12495 [BZ #13007]
12496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12497 check for AVX enablement so that we don't crash with old kernels and
12498 new hardware.
12499 * elf/tst-audit4.c: Add same checks here.
12500 * elf/tst-audit6.c: Likewise.
12501
12502 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12503
12504 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12505
12506 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12507
12508 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12509
12510 * po/cs.po: Update from translation team.
12511 * po/bg.po: Likewise.
12512
12513 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12514
12515 * misc/sys/cdefs.h: Add support for const attribute.
12516 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12517 to gnu_dev_{major,minor,makedev} functions.
12518
12519 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12520
12521 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12522
12523 2011-07-20 Andreas Schwab <schwab@redhat.com>
12524
12525 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12526 strlen results.
12527
12528 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12529
12530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12531 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12532 register in order to avoid conflicts with the soft frame pointer
12533 being held in r11 when necessary.
12534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12535 (INTERNAL_VSYSCALL_NCS): Likewise.
12536
12537 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12538
12539 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12540 * elf/dl-fini.c (_dl_fini): Adjust caller.
12541 * elf/dl-close.c (_dl_close_worker): Likewise.
12542 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12543
12544 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12545
12546 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12547 "aux_cache->nlibs < 0".
12548
12549 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12550 in the reload-count case.
12551
12552 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12553
12554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12555 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12556 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12557 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12558 * sysdeps/x86_64/multiarch/strcat.S: New file.
12559 * sysdeps/x86_64/multiarch/strncat.S: New file.
12560 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12562 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12563 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12565 (USE_AS_STRCAT): Define.
12566 Add strcat and strncat support.
12567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12569 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12570 * string/strncat.c: Update.
12571 (USE_AS_STRNCAT): Define.
12572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12573 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12574 and i7.
12575 * sysdeps/x86_64/multiarch/init-arch.h
12576 (bit_Prefer_PMINUB_for_stringop): New.
12577 (index_Prefer_PMINUB_for_stringop): Likewise.
12578 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12579 bit_Prefer_PMINUB_for_stringop.
12580
12581 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12582
12583 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12584 buffer64.
12585 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12586 of casting of buffer.
12587 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12588 buffer32 and buffer64.
12589 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12590 writes instead of casting of buffer.
12591 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12592 buffer32.
12593 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12594 casting of buffer.
12595
12596 2011-07-19 Andreas Schwab <schwab@redhat.com>
12597
12598 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12599
12600 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12601
12602 * nscd/nscd.c (termination_handler): Don't do anything for a database
12603 if it has not yet been initialized.
12604
12605 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12606
12607 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12608
12609 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12610
12611 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12612
12613 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12614
12615 * po/nl.po: Update from translation team.
12616 * po/sv.po: Likewise.
12617
12618 2011-07-16 Roland McGrath <roland@hack.frob.com>
12619
12620 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12621 now disallowed by GCC.
12622
12623 * configure.in (use-default-link): Default to yes if a test -shared
12624 link meets our qualifications.
12625 * configure: Regenerated.
12626
12627 * config.make.in (output-format): New variable.
12628 * configure.in: Check for ld --print-output-format support.
12629 * configure: Regenerated.
12630 * Makerules ($(common-objpfx)format.lds)
12631 [$(output-format) != unknown]: Just use $(output-format),
12632 instead of the linker-script munging.
12633
12634 2011-07-14 Roland McGrath <roland@hack.frob.com>
12635
12636 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12637 of $(common-objpfx)shlib.lds.
12638 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12639
12640 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12641 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12642
12643 * configure.in (-z relro check): Adjust test code to add a large
12644 writable data section after it.
12645 * configure: Regenerated.
12646
12647 2011-07-11 Roland McGrath <roland@hack.frob.com>
12648
12649 * configure.in (-z relro check): Fix test code to make the variable
12650 truly const.
12651 * configure: Regenerated.
12652
12653 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12654
12655 * nscd/nscd.h (struct traced_file): Define.
12656 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12657 elements. Add traced_files.
12658 (inotify_fd): Declare.
12659 (register_traced_file): Declare.
12660 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12661 (inotify_fd): Export.
12662 (resolv_conf_descr): Remove.
12663 (nscd_init): Move inotify descriptor creation to main.
12664 Don't register files for notification here.
12665 (register_traced_file): New function.
12666 (invalidate_cache): Don't use reset_res to determine whether to call
12667 res_init, go through the list of registered files.
12668 (main_loop_poll): The inotify descriptors are now stored in the
12669 structures for the traced files.
12670 (main_loop_epoll): Likewise
12671 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12672 to __nss_disable_nscd.
12673 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12674 for a database anymore. Check the records for all the registered
12675 files instead.
12676 * nss/Makefile (libnss_files-routines): Add files-init.
12677 (libnss_db-routines): Add db-init.
12678 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12679 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12680 * nss/nss_db/db-init.c: New file.
12681 * nss/nss_files/files-init.c: New file.
12682 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12683 __nss_lookup_function.
12684 (__nss_lookup_function): Call nss_load_library.
12685 (nss_load_all_libraries): New function.
12686 (__nss_disable_nscd): Take parameter with callback function for files
12687 to register. Set is_nscd. Load all the DSOs for the NSS modules
12688 used for the cached services.
12689 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12691 options for features to all the files in nscd.
12692
12693 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12694
12695 2011-07-10 Roland McGrath <roland@hack.frob.com>
12696
12697 * csu/elf-init.c (__libc_csu_init): Comment typo.
12698
12699 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12700
12701 * po/pl.po: Update from translation team.
12702 * po/ja.po: Likewise.
12703 * po/ru.po: Likewise.
12704 * po/ko.po: Likewise.
12705 * po/fr.po: Likewise.
12706
12707 2011-07-09 Roland McGrath <roland@hack.frob.com>
12708
12709 * configure.in (.ctors/.dtors header and trailer check):
12710 Use an empirical test on a built program.
12711 * configure: Regenerated.
12712
12713 * configure.in (-z relro check): Use an empirical test on a built DSO.
12714 Detect, but do not require, on ia64.
12715 * configure: Regenerated.
12716
12717 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12718 Update tests that use readelf to use $READELF instead.
12719 * configure: Regenerated.
12720
12721 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12722
12723 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12724 if the result is not used.
12725
12726 2011-07-05 Andreas Jaeger <aj@suse.de>
12727
12728 [BZ#9696]
12729 * stdlib/tst-strtod.c: Add testcase.
12730
12731 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12732
12733 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12734 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12735 The latter has a higher limit. Take additional parameter to pass to
12736 the new function.
12737 (__pathconf): Pass file to __statfs_link_max.
12738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12739 __statfs_link_max.
12740 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12741 __statfs_link_max.
12742
12743 [BZ #12868]
12744 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12745 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12746 Handle Lustre.
12747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12748 (__statfs_filesize_max): Likewise.
12749 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12750
12751 2011-07-05 Andreas Jaeger <aj@suse.de>
12752
12753 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12754
12755 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12756
12757 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12758 `status' variable.
12759 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12760 Likewise.
12761
12762 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12763
12764 * Makefile (strop-tests): Add strncat.
12765 * string/test-strncat.c: New file.
12766
12767 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12768
12769 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12770
12771 2011-06-21 Andreas Jaeger <aj@suse.de>
12772
12773 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12774 Copy rule from iconvdata/Makefile.
12775
12776 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12777
12778 [BZ #12922]
12779 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12780 but no long options are defined, just return 'W'.
12781
12782 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12783
12784 [BZ #9696]
12785 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12786
12787 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12788
12789 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12790 netgroups to read.
12791 (innetgr): Likewise.
12792
12793 2011-07-05 Roland McGrath <roland@hack.frob.com>
12794
12795 * config.make.in (install_root): Default to $(DESTDIR).
12796
12797 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12798
12799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12800
12801 2011-07-02 Roland McGrath <roland@hack.frob.com>
12802
12803 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12804
12805 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12806 containing directory rather than embedding absolute directory names.
12807
12808 * scripts/check-local-headers.sh: Rewritten using awk.
12809 Match by word, not by line. Print error messages for matches.
12810 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12811
12812 * Makerules [shlib-lds-flags empty]:
12813 ($(common-objpfx)libc_pic.opts): New target.
12814 ($(common-objpfx)libc_pic.os.clean): New target.
12815 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12816
12817 * config.make.in (OBJCOPY): New variable.
12818 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12819 * configure: Regenerated.
12820
12821 * config.make.in (use-default-link): New variable.
12822 * configure.in (use_default_link): Grok --with-default-link to set it.
12823 * configure: Regenerated.
12824 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12825 (shlib-lds, shlib-lds-flags): Define to empty.
12826
12827 * Makerules (shlib-lds): New variable.
12828 (shlib-lds-flags): New variable.
12829 (build-shlib, build-moduile, build-module-asneeded): Use it.
12830 ($(common-objpfx)libc.so): Use $(shlib-lds).
12831 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12832 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12833
12834 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12835 DT_FLAGS/DT_FLAGS_1 with zero flags.
12836
12837 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12838 linker script munging.
12839
12840 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12841
12842 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12843 as 128-bit value.
12844 * crypt/sha512.c (sha512_process_block): Perform total addition using
12845 128-bit if possible.
12846 (__sha512_finish_ctx): Likewise.
12847 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12848 as 64-bit value.
12849 * crypt/sha256.c (SWAP64): Define.
12850 (sha256_process_block): Perform total addition using 64-bit if
12851 possible.
12852 (__sha256_finish_ctx): Likewise.
12853
12854 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12855
12856 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12858 * nscd/hstcache.c (cache_addhst): Likewise.
12859 * nscd/grpcache.c (cache_addgr): Likewise.
12860 * nscd/aicache.c (addhstaiX): Likewise
12861 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12862
12863 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12864
12865 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12867 * nscd/hstcache.c (cache_addhst): Likewise.
12868 * nscd/grpcache.c (cache_addgr): Likewise.
12869 * nscd/aicache.c (addhstaiX): Likewise
12870
12871 2011-07-01 Andreas Schwab <schwab@redhat.com>
12872
12873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12874 domain only when needed.
12875
12876 2011-06-30 Andreas Schwab <schwab@redhat.com>
12877
12878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12879 is always restored.
12880
12881 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12882
12883 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12884 are re-adding the entry.
12885 * nscd/servicescache.c (cache_addserv): Likewise.
12886
12887 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12888
12889 * sysdeps/generic/dl-irel.h: fix protection against multiple
12890 inclusions.
12891 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12892
12893 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12894
12895 [BZ #12935]
12896 * malloc/memusage.sh: Fix quoting in message.
12897 * debug/xtrace.sh: Likewise.
12898
12899 * configure.in: Remove support for --experimental-malloc option, make
12900 it the default.
12901 * config.make.in: Likewise.
12902 * malloc/Makefile: Likewise.
12903
12904 2011-06-27 Andreas Schwab <schwab@redhat.com>
12905
12906 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12907 two-byte characters.
12908
12909 2011-06-27 Roland McGrath <roland@hack.frob.com>
12910
12911 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12912 AC_CACHE_CHECK invocation.
12913 * configure: Regenerated.
12914
12915 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12916
12917 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12918
12919 [BZ #12350]
12920 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12921 bit from old_res_options.
12922
12923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12924
12925 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12926 value type for setfct.
12927
12928 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12929
12930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12931 __gettimeofday instead of gettimeofday.
12932
12933 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12934
12935 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12936
12937 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12938
12939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12940
12941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12942 info.
12943
12944 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12945
12946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12947 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12948 strcpy-sse2-unaligned strncpy-sse2-unaligned
12949 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12950 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12951 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12952 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12953 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12956 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12957 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12958 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12959 (STRCPY): Support SSE2 and SSSE3 versions.
12960
12961 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12962
12963 [BZ #12874]
12964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12965 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12966 kernels which artificially limit size of requests.
12967
12968 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12971 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12972 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12973 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12974 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12975 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12976 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12977 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12978 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12980 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12981 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12982 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12983 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12984 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12986 Enable unaligned load optimization for Intel Core i3, i5 and i7
12987 processors.
12988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12989 Define.
12990 (index_Fast_Unaligned_Load): Define.
12991 (HAS_FAST_UNALIGNED_LOAD): Define.
12992
12993 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12994
12995 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12996
12997 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12998
12999 [BZ #12907]
13000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
13001 until it is clear that the information is realy needed.
13002 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
13003
13004 2011-06-22 Andreas Schwab <schwab@redhat.com>
13005
13006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13007
13008 2011-06-22 Ulrich Drepper <drepper@gmail.com>
13009
13010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13011 /sys/devices/system/cpu/online if it is usable.
13012
13013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13014 reading the information from the /proc filesystem to once a second.
13015
13016 2011-06-21 Andreas Jaeger <aj@suse.de>
13017
13018 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13019 NULL after inclusion of kernel headers.
13020
13021 2011-06-21 Ulrich Drepper <drepper@gmail.com>
13022
13023 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13024 calls to internal_setent.
13025
13026 [BZ #12885]
13027 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13028 addresses using gethostbyname4_r ignore IPv4 addresses.
13029
13030 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13031 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13032
13033 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13034
13035 2011-06-20 David S. Miller <davem@davemloft.net>
13036
13037 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13038 inclusions.
13039 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13040
13041 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13042 (elf_irel): Use it.
13043 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13044 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13045 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13046 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13047 * sysdeps/x86_64/dl-irel.h: Likewise.
13048
13049 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13050 * elf/dl-sym.c: Likewise.
13051
13052 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13053
13054 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13055 need to dereference resplen2.
13056
13057 2011-06-14 Andreas Schwab <schwab@redhat.com>
13058
13059 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13060
13061 2011-06-15 Ulrich Drepper <drepper@gmail.com>
13062
13063 * Makeconfig: Define vardbdir and inst_vardbdir.
13064 * nss/Makefile: Add rules to install db-Makefile.
13065
13066 * nss/nss_db/db-XXX.c: Cleanup.
13067
13068 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13069 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13070 GLIBC_PRIVATE.
13071 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13072 * nss/makedb.c: Implement -g option to specify that value strings
13073 are generated and should not be added to table iterated over for
13074 get*ent calls.
13075 * nss/nss_db/db-initgroups.c: New file.
13076
13077 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13078 interface.
13079
13080 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13081 (internal_getgrouplist): Adjust to name change.
13082 Update use_initgroups_entry if this is not the first call.
13083 * nss/databases.def: Add initgroups entry.
13084
13085 * nss/makedb.c (compute_tables): Check result of multiple hash table
13086 sizes to minimize maximum chain length.
13087
13088 2011-06-14 Ulrich Drepper <drepper@gmail.com>
13089
13090 * Versions.def: Add entry for libnss_db.
13091 * shlib-versions: Likewise.
13092 * nss/Makefile: Add rules to build libnss_db.
13093 * nss/Versions: Add libnss_db information. Organize libnss_files
13094 entries better.
13095 * nss/db-Makefile: Add gshadow support. Change rules for the new
13096 makedb progra. Some minor improvements to generate smaller files.
13097 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13098 here from...
13099 * nss/makedb.c: ...here.
13100 Improve database format to be smaller and require less memory at
13101 runtime.
13102 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13103 db anymore.
13104 * nss/nss_db/db-netgrp.c: Likewise.
13105 * nss/nss_db/db-open.c: Likewise.
13106 * nss/nss_files/flies-XXX.x: Adjust comments.
13107 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13108 * nss/nss_files/files-grp.c: Likewise.
13109 * nss/nss_files/files-hosts.c: Likewise.
13110 * nss/nss_files/files-network.c: Likewise.
13111 * nss/nss_files/files-proto.c: Likewise.
13112 * nss/nss_files/files-pwd.c: Likewise.
13113 * nss/nss_files/files-rpc.c: Likewise.
13114 * nss/nss_files/files-service.c: Likewise.
13115 * nss/nss_files/files-sgrp.c: Likewise.
13116 * nss/nss_files/files-spwd.c: Likewise.
13117 * nss/nss_db/db-alias.c: Removed.
13118 * nss/nss_db/dummy-db.h: Removed.
13119
13120 2011-06-02 Ulrich Drepper <drepper@gmail.com>
13121
13122 * nss/makedb.c: Rewritten to not use database library.
13123 * nss/Makefile: Update to build new makedb program.
13124
13125 2011-06-14 Andreas Jaeger <aj@suse.de>
13126
13127 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13128 memset declaration.
13129
13130 2011-06-10 Andreas Schwab <schwab@redhat.com>
13131
13132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13133 tmpbuf.
13134
13135 2011-06-10 Roland McGrath <roland@hack.frob.com>
13136
13137 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13138 * elf/Makefile ($(objpfx)ld.so): Likewise.
13139
13140 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13141 Don't list ld.so twice in dependencies.
13142
13143 * posix/bug-regex31.c: Include <stdlib.h>.
13144
13145 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13146
13147 * nis/nss_compat/compat-spwd.c
13148 (getspent_next_nss_netgr): Remove unused variable.
13149 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13150
13151 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13152 nonmembers" output to use the right array.
13153
13154 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13155
13156 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13157
13158 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13159 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13160 * catgets/gencat.c (read_input_file): Likewise.
13161 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13162
13163 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13164 variable definition inside #if's controlling its use.
13165
13166 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13167
13168 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13169
13170 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13171
13172 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13173 unreachable code.
13174
13175 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13176
13177 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13178 * configure: Regenerated.
13179
13180 * Makerules: Revert last change.
13181 * elf/Makefile: Likewise.
13182
13183 2011-06-09 Roland McGrath <roland@hack.frob.com>
13184
13185 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13186 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13187 (reloc-link): Likewise.
13188
13189 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13190
13191 * elf/Makefile: Add rules to build pldd.
13192 * elf/pldd.c: New file.
13193 * elf/pldd-xx.c: New file.
13194
13195 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13196
13197 * version.h: Update for 2.15 development version.
13198
13199 2011-06-07 David S. Miller <davem@davemloft.net>
13200
13201 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13202 ifuncs.
13203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13204 elf_machine_lazy_rel): Likewise.
13205 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13207 elf_machine_lazy_rel): Likewise.
13208 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13209 dl_hwcap via passed in argument.
13210 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13211 Likewise.
13212
13213 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13214
13215 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13216
13217 2011-06-06 Roland McGrath <roland@hack.frob.com>
13218
13219 [BZ #12849]
13220 * manual/fdl-1.1.texi: New file, verbatim from:
13221 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13222 * manual/lgpl-2.1.texi: New file, verbatim from:
13223 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13224 * manual/Makefile (licenses): New variable, list those new file names.
13225 (texis): Use it.
13226 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13227
13228 * manual/fdl.texi: File removed.
13229 * manual/lesser.texi: File removed.
13230 * manual/libc.texinfo (Copying, Documentation License):
13231 Use new @include file names, put @appendix directive before @include.
13232
13233 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13234
13235 [BZ #12841]
13236 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13237 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13238 (mq_open): Add __NTH.
13239
13240 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13241
13242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13243 Assume Intel Core i3/i5/i7 processor if AVX is available.
13244
13245 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13246
13247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13248 typo.
13249
13250 2011-05-31 Andreas Schwab <schwab@redhat.com>
13251
13252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13253 memory. Use alloca_account. Fix memory leak when retrying.
13254
13255 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13256
13257 * version.h (RELEASE): Bump for 2.14 release.
13258 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13259
13260 * config.make.in (RANLIB): Remove entry.
13261
13262 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13263
13264 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13265 (libc.pot): Work around missing support for .ksh extension in xgettext.
13266
13267 [BZ #12684]
13268 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13269 if both request failed.
13270 (send_dg): In case of server errors clear resplen or *resplen2.
13271
13272 [BZ #12454]
13273 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13274 when there are multiple maps.
13275 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13276 (_dl_fini): Remove test here.
13277
13278 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13279
13280 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13281
13282 [BZ #12350]
13283 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13284 bit from old_res_options.
13285 (gaih_inet): Likewise.
13286
13287 [BZ #11099]
13288 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13289 as signed.
13290
13291 * resolv/res_init.c (res_setoptions): Make the code more compact.
13292
13293 [BZ #11558]
13294 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13295 set RES_USEVC.
13296
13297 [BZ #11634]
13298 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13299
13300 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13301
13302 [BZ #11781]
13303 * malloc/malloc.h: Declare malloc hook variables as volatile.
13304
13305 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13306 in last patch.
13307
13308 [BZ #11799]
13309 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13310 raise in the comment.
13311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13313 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13314
13315 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13316
13317 [BZ #12811]
13318 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13319 grow the buffers more if it already has to be sufficient.
13320 (build_wcs_upper_buffer): Likewise.
13321 * posix/regexec.c (check_matching): Likewise.
13322 (clean_state_log_if_needed): Likewise.
13323 (extend_buffers): Don't enlarge buffers beyond size of the input
13324 buffer.
13325 Patches mostly by Emil Wojak <emil@wojak.eu>.
13326 * posix/bug-regex32.c: New file.
13327 * posix/Makefile (tests): Add bug-regex32.
13328
13329 * locale/findlocale.c (_nl_find_locale): Return right away if
13330 _nl_explode_name failed.
13331 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13332
13333 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13334
13335 * debug/xtrace.sh: Unify messages.
13336 * malloc/memusage.sh: Likewise.
13337
13338 [BZ #12813]
13339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13340 time symbol from vDSO. Substitute with vsyscall if not available.
13341 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13342 __vdso_time.
13343
13344 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13345 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13346 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13347 Add sendmmsg and internal_sendmmsg.
13348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13350 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13351
13352 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13353 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13355
13356 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13357
13358 [BZ #12813]
13359 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13360 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13361 available.
13362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13363 __vdso_getcpu.
13364
13365 [BZ #12814]
13366 * iconvdata/Makefile (tests): Add bug-iconv9.
13367 * iconvdata/bug-iconv9.c: New file.
13368
13369 2011-05-27 Andreas Schwab <schwab@redhat.com>
13370
13371 [BZ #12814]
13372 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13373
13374 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13375
13376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13377 (struct user_regs_struct): Change intcs field back to cs.
13378
13379 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13380
13381 * po/ja.po: Update from translation team.
13382
13383 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13384
13385 [BZ #12795]
13386 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13387 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13388
13389 2011-05-20 Andreas Schwab <schwab@redhat.com>
13390
13391 * stdlib/longlong.h: Update from GCC.
13392
13393 2011-05-23 Andreas Schwab <schwab@redhat.com>
13394
13395 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13396 parameter name.
13397 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13398 Add parameter name.
13399 (__sysconf): Pass it down.
13400
13401 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13402
13403 [BZ #12671]
13404 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13405 some situations.
13406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13407 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13408 add in in __libc_use_alloca calls. Adjust callers.
13409 (glob): Use malloc in some situations.
13410
13411 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13412 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13413 pltexit.
13414
13415 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13416
13417 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13418 and CLOCK_BOOTTIME_ALARM.
13419
13420 [BZ #12782]
13421 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13422 is returned.
13423
13424 * string/_strerror.c (__strerror_r): Print negative errors as signed
13425 numbers.
13426
13427 [BZ #12777]
13428 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13429 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13430 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13431
13432 * configure.in: Fix typo in redirection and correct removal of test
13433 files in two cases.
13434
13435 [BZ #12788]
13436 * locale/setlocale.c (new_composite_name): Fix test to check for
13437 identical name of all categories.
13438
13439 [BZ #12792]
13440 * libio/filedoalloc.c (local_isatty): New function.
13441 (_IO_file_doallocate): Use local_isatty.
13442 * stdio-common/perror.c (perror): In case a new stream is used
13443 forward the stream error.
13444 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13445 error flag.
13446
13447 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13448
13449 [BZ #11869]
13450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13451 alloca.
13452 * include/alloca.h (extend_alloca_account): Define.
13453
13454 [BZ #11857]
13455 * posix/regex.h: Fix comments with documentation of user-accessible
13456 fields after compilation and describe correct free'ing of pattern
13457 after re_compile_pattern.
13458 Patch by Reuben Thomas <rrt@sc3d.org>.
13459
13460 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13461
13462 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13463 and -mno-altivec to prevent the compiler from using Altivec and/or
13464 VSX instructions when the corresponding registers are not available.
13465
13466 2011-05-19 Andreas Schwab <schwab@redhat.com>
13467
13468 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13469
13470 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13471
13472 * libio/freopen.c (freopen): Use __dup2, not dup2.
13473 * libio/freopen64.c (freopen64): Likewise.
13474
13475 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 [BZ #12775]
13478 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13479 * math/Makefile (tests): Add test-powl.
13480 (CFLAGS-test-powl.c): Define.
13481 * math/test-powl.c: New file.
13482
13483 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13484
13485 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13486
13487 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13488
13489 [BZ #11837]
13490 * iconvdata/gb18030.c: Update to GB18020-2005.
13491
13492 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13493
13494 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13495 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13496 Patch by Aharon Robbins <arnold@skeeve.com>.
13497
13498 [BZ #11892]
13499 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13500 on the stack.
13501
13502 [BZ #11895]
13503 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13504 through underflows.
13505
13506 [BZ #12766]
13507 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13508 point to strings before performing equality test for error_one_per_line
13509 mode.
13510
13511 [BZ #11697]
13512 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13513
13514 [BZ #11820]
13515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13516 (struct user_fpregs_struct): Avoid __uint*_t types.
13517
13518 [BZ #6420]
13519 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13520 symbol info. Use it instead of calling _dl_addr locally.
13521 (lock_and_info): New function.
13522 (tr_freehook): Call lock_and_info and pass symbol info as additional
13523 parameter to tr_where.
13524 (tr_mallochook): Likewise.
13525 (tr_reallochook): Likewise.
13526 (tr_memalignhook): Likewise.
13527
13528 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13529 used and couldn't be at all thread-safe.
13530
13531 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13532
13533 * libio/freopen.c (freopen): Don't close old file descriptor
13534 before the new one is opened. Instead dup the new file descriptor
13535 to the old one after the new stream is created.
13536 * libio/freopen64.c (freopen64): Likewise.
13537 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13538 * libio/fileops.c (_IO_new_file_close_it): Handle new
13539 _IO_FLAGS2_NOCLOSE flag.
13540 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13541 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13542 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13543 _IO_FLAGS2_NOCLOSE flag.
13544 * include/unistd.h: Add hidden_proto for dup3.
13545 Define __have_dup3.
13546 * io/dup3.c: Define hidden symbol.
13547 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13548
13549 [BZ #7101]
13550 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13551 when an incomplete long option is used.
13552 * posix/tst-getopt_long1.c: New file.
13553 * posix/Makefile (tests): Add tst-getopt_long1.
13554
13555 [BZ #10138]
13556 * scripts/config.guess: Update from autoconf-2.68.
13557 * scripts/config.sub: Likewise.
13558
13559 [BZ #10157]
13560 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13561 tests into ...
13562 (has_cpuclock): ...this. New function.
13563 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13564 macro here based on has_cpuclock code.
13565
13566 [BZ #10149]
13567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13568 First byte (not low byte) is now always NUL.
13569 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13570
13571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13572 Use non-cancelable interfaces.
13573
13574 [BZ #9809]
13575 * locale/iso-639.def: Add entry for Sorani.
13576
13577 [BZ #11901]
13578 * include/stdlib.h: Move include protection to the right place.
13579 Define abort_msg_s. Declare __abort_msg with it.
13580 * stdlib/abort.c (__abort_msg): Adjust type.
13581 * assert/assert.c (__assert_fail_base): New function. Majority
13582 of code from __assert_fail. Allocate memory for __abort_msg with
13583 mmap.
13584 (__assert_fail): Now call __assert_fail_base.
13585 * assert/assert-perr.c: Remove bulk of implementation. Use
13586 __assert_fail_base.
13587 * include/assert.hL Declare __assert_fail_base.
13588 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13589 mmap.
13590 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13591
13592 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13593
13594 [BZ #11952]
13595 [BZ #12453]
13596 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13597 until all modules are registered in the DTV.
13598 * elf/Makefile: Add rules to build and run tst-tls19.
13599 * elf/tst-tls19.c: New file.
13600 * elf/tst-tls19mod1.c: New file.
13601 * elf/tst-tls19mod2.c: New file.
13602 * elf/tst-tls19mod3.c: New file.
13603 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13604
13605 [BZ #12083]
13606 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13607 correctly.
13608
13609 [BZ #12601]
13610 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13611 two-byte sequence errors.
13612 * iconvdata/Makefile (tests): Add bug-iconv8.
13613 * iconvdata/bug-iconv8.c: New file.
13614
13615 [BZ #12626]
13616 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13617 buf2 definition.
13618
13619 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13620
13621 [BZ #12432]
13622 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13623 (dummy_getcfa): New function.
13624 (init): Get _Unwind_GetCFA address, use dummy if not found.
13625 (backtrace_helper): In recursion check, also check whether CFA changes.
13626 (__backtrace): Completely initialize arg.
13627
13628 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13629 storing incomplete byte sequence in state object. Avoid testing for
13630 guaranteed too small input if we know there is enough data available.
13631
13632 2011-05-11 Andreas Schwab <schwab@redhat.com>
13633
13634 * Makeconfig (+link-pie): Indent.
13635 * Rules (binaries-pie): Define if $(have-fpie) and
13636 $(build-shared).
13637 (binaries-shared): Also filter out $(binaries-pie).
13638 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13639 * nscd/Makefile (others-pie): Add nscd.
13640 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13641 ($(objpfx)nscd): Remove command override.
13642 * login/Makefile (others-pie): Add pt_chown.
13643 ($(objpfx)pt_chown): Remove command override.
13644 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13645 remove command overrides.
13646
13647 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13648
13649 * libio/tst_putwc.c: Fix error messages.
13650
13651 [BZ #12724]
13652 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13653 currently writing and seek to current position when not.
13654 * libio/Makefile (tests): Add bug-fclose1.
13655 * libio/bug-fclose1.c: New file.
13656
13657 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13658
13659 [BZ #12511]
13660 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13661 don't set DF_1_NODELETE here.
13662 (do_lookup_x): When entering new entry test for copy relocation
13663 and if necessary set DF_1_NODELETE flag.
13664 * elf/tst-unique4.cc: New file.
13665 * elf/tst-unique4.h: New file.
13666 * elf/tst-unique4lib.cc: New file.
13667 * elf/Makefile: Add rules to build and run tst-unique4.
13668 Patch by Piotr Bury <pbury@goahead.com>.
13669
13670 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13671
13672 [BZ #12052]
13673 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13674
13675 [BZ #12625]
13676 * misc/mntent_r.c (addmntent): Flush the stream after the output
13677
13678 [BZ #12393]
13679 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13680 (is_trusted_path_normalize): Skip initial colon. Append slash
13681 to empty buffer. Duplicate is_trusted_path code but allow
13682 constructed patch to be prefix.
13683 (is_dst): Allow $ORIGIN followed by /.
13684 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13685 Correct testing of result of is_trusted_path_normalize
13686 (decompose_rpath): Fix warning.
13687
13688 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13689
13690 [BZ #11257]
13691 * grp/initgroups.c (internal_getgrouplist): When we found the service
13692 list through the initgroups entry in nsswitch.conf do not always
13693 continue on a successful lookup. Don't always use the
13694 __nss_group_database value if it is set.
13695 * nss/nsswitch.conf (initgroups): Change action for successful db
13696 lookup to continue for compatibility.
13697
13698 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13699
13700 [BZ #11532]
13701 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13702 and CP774 modules.
13703 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13704 and CP774 modules.
13705 * iconvdata/tst-tables.sh: Likewise.
13706 * iconvdata/cp770.c: New file.
13707 * iconvdata/cp771.c: New file.
13708 * iconvdata/cp772.c: New file.
13709 * iconvdata/cp773.c: New file.
13710 * iconvdata/cp774.c: New file.
13711 * iconvdata/testdata/CP770: New file.
13712 * iconvdata/testdata/CP770..UTF8: New file.
13713 * iconvdata/testdata/CP771: New file.
13714 * iconvdata/testdata/CP771..UTF8: New file.
13715 * iconvdata/testdata/CP772: New file.
13716 * iconvdata/testdata/CP772..UTF8: New file.
13717 * iconvdata/testdata/CP773: New file.
13718 * iconvdata/testdata/CP773..UTF8: New file.
13719 * iconvdata/testdata/CP774: New file.
13720 * iconvdata/testdata/CP774..UTF8: New file.
13721
13722 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13723 END CHARMAP line.
13724 * iconvdata/gen-8bit-gap.sh: Likewise.
13725 * iconvdata/gen-8bit.sh: Likewise.
13726
13727 * locale/iso-639.def: Add ary entry.
13728
13729 [BZ #11258]
13730 * locale/C-translit.h.in: Add U20A1 transliteration.
13731
13732 [BZ #12178]
13733 * locale/iso-639.def: Add wae entry.
13734 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13735
13736 [BZ #12545]
13737 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13738 for n.
13739
13740 [BZ #12711]
13741 * locale/C-translit.h.in: Add entry for U20B9.
13742 Patch by pravin.d.s@gmail.com.
13743
13744 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13745
13746 [BZ #12713]
13747 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13748 ENAMETOOLONG use generic getcwd.
13749 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13750 in rtld. Use *stat64.
13751 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13752 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13753 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13754 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13755 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13756 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13757 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13758 __fstatat64 macros.
13759 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13760 * dirent/rewinddir.c: Add libc_hidden_def.
13761 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13762 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13763
13764 * include/dirent.h (__alloc_dir): Add flags parameter.
13765 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13766 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13767 __alloc_dir.
13768 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13769 from fdopendir if O_CLOEXEC is already set.
13770
13771 2011-03-15 Alan Modra <amodra@gmail.com>
13772
13773 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13774 l_tls_firstbyte_offset non-zero. Save padding offset in
13775 l_tls_firstbyte_offset for later use.
13776 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13777 freeing static tls block.
13778
13779 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13780
13781 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13782 where #ifdef was intended. The intent is to prevent ARG_MAX from
13783 being defined by the kernel headers.
13784
13785 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13786
13787 [BZ #12734]
13788 * resolv/resolv.h: Define RES_NOTLDQUERY.
13789 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13790 no-tld-query and set RES_NOTLDQUERY.
13791 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13792 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13793 modern BIND to search name as TLD unless forbidden.
13794
13795 2011-05-07 Petr Baudis <pasky@suse.cz>
13796 Ulrich Drepper <drepper@gmail.com>
13797
13798 [BZ #12393]
13799 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13800 (is_trusted_path): ...to here.
13801 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13802 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13803 using is_trusted_path_normalize() in setuid scripts.
13804
13805 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13806
13807 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13808 __BEGIN/__END_DECLS.
13809
13810 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13811
13812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13813 NSS_STATUS_NOTFOUND if no record was found.
13814
13815 2011-05-05 Andreas Schwab <schwab@redhat.com>
13816
13817 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13818 (headers-not-in-tirpc): Remove rpc/netdb.h
13819 * resolv/netdb.h: Revert last change.
13820
13821 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13822
13823 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13824 circular dependency between libgcc.a and libc.a.
13825
13826 2011-05-05 Andreas Schwab <schwab@redhat.com>
13827
13828 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13829 * nis/Makefile: Don't install rpcsvc/*.
13830 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13831 instead of <rpc/types.h>.
13832 (MAXHOSTNAMELEN): Define.
13833
13834 2011-05-03 Andreas Schwab <schwab@redhat.com>
13835
13836 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13837
13838 2011-04-28 Maciej Babinski <mbabinski@google.com>
13839
13840 [BZ #12714]
13841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13842 gethostbyname4_r when IPv6 results are possible.
13843
13844 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13845
13846 [BZ #12723]
13847 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13848 _PC_PIPE_BUF handling.
13849
13850 2011-04-30 Bruno Haible <bruno@clisp.org>
13851
13852 [BZ #12717]
13853 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13854 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13855 to 'int'.
13856 * inet/getnameinfo.c (getnameinfo): Likewise.
13857
13858 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13859
13860 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13861 to groups setting in database lookup.
13862 * nss/nsswitch.conf: Add initgroups entry.
13863
13864 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13865
13866 [BZ #12685]
13867 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13868 mode string.
13869 Patch by Eric Blake <eblake@redhat.com>.
13870
13871 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13872
13873 * sunrpc/Makefile (need-export-routines): Add svc_run.
13874 (routines): Remove svc_run.
13875 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13876 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13877 * sunrpc/svc_run.c (svc_run): Likewise.
13878 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13879
13880 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13881
13882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13883 problem in reallocation in last patch.
13884
13885 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13886
13887 * sunrpc/Makefile: Move inclusion of Rules.
13888
13889 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13890
13891 * nss/nss_files/files-initgroups.c: New file.
13892 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13893 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13894 _nss_files_initgroups_dyn.
13895
13896 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13897
13898 * elf/elf.h (R_ARM_IRELATIVE): Define.
13899
13900 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13901
13902 * po/ru.po: Update from translation team.
13903
13904 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13905
13906 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13907 dependencies.
13908
13909 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13910
13911 [BZ #12653]
13912 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13913 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13914 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13917
13918 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13919
13920 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13921 differing bytes.
13922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13925
13926 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13927
13928 [BZ #12420]
13929 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13930 storing it.
13931 * stdlib/bug-getcontext.c: New file.
13932 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13933
13934 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13935
13936 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13937 instructions into .machine "z9-109".
13938 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13939 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13940
13941 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13942
13943 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13944 between environment variables and auxiliary vector.
13945
13946 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13947
13948 * Makefile: Add rules to build linkobj/libc.so.
13949 * include/libc-symbols.h: Define libc_hidden_nolink.
13950 * include/rpc/auth.h: Mark functions which are to be hidden.
13951 * include/rpc/auth_des.h: Likewise.
13952 * include/rpc/auth_unix.h: Likewise.
13953 * include/rpc/clnt.h: Likewise.
13954 * include/rpc/des_crypt.h: Likewise.
13955 * include/rpc/key_prot.h: Likewise.
13956 * include/rpc/pmap_clnt.h: Likewise.
13957 * include/rpc/pmap_prot.h: Likewise.
13958 * include/rpc/pmap_rmt.h: Likewise.
13959 * include/rpc/rpc_msg.h: Likewise.
13960 * include/rpc/svc.h: Likewise.
13961 * include/rpc/svc_auth.h: Likewise.
13962 * include/rpc/xdr.h: Likewise.
13963 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13964 * nss/Makefile: Likewise.
13965 * sunrpc/Makefile: Don't install headers. Build library with normal
13966 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13967 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13968 for the compat linking library. Remove use of INTDEF/INTUSE.
13969 * sunrpc/auth_none.c: Likewise.
13970 * sunrpc/auth_unix.c: Likewise.
13971 * sunrpc/authdes_prot.c: Likewise.
13972 * sunrpc/authuxprot.c: Likewise.
13973 * sunrpc/clnt_gen.c: Likewise.
13974 * sunrpc/clnt_perr.c: Likewise.
13975 * sunrpc/clnt_raw.c: Likewise.
13976 * sunrpc/clnt_simp.c: Likewise.
13977 * sunrpc/clnt_tcp.c: Likewise.
13978 * sunrpc/clnt_udp.c: Likewise.
13979 * sunrpc/clnt_unix.c: Likewise.
13980 * sunrpc/des_crypt.c: Likewise.
13981 * sunrpc/des_soft.c: Likewise.
13982 * sunrpc/get_myaddr.c: Likewise.
13983 * sunrpc/key_call.c: Likewise.
13984 * sunrpc/key_prot.c: Likewise.
13985 * sunrpc/netname.c: Likewise.
13986 * sunrpc/pm_getmaps.c: Likewise.
13987 * sunrpc/pm_getport.c: Likewise.
13988 * sunrpc/pmap_clnt.c: Likewise.
13989 * sunrpc/pmap_prot.c: Likewise.
13990 * sunrpc/pmap_prot2.c: Likewise.
13991 * sunrpc/pmap_rmt.c: Likewise.
13992 * sunrpc/publickey.c: Likewise.
13993 * sunrpc/rpc_cmsg.c: Likewise.
13994 * sunrpc/rpc_common.c: Likewise.
13995 * sunrpc/rpc_dtable.c: Likewise.
13996 * sunrpc/rpc_prot.c: Likewise.
13997 * sunrpc/rpc_thread.c: Likewise.
13998 * sunrpc/rtime.c: Likewise.
13999 * sunrpc/svc.c: Likewise.
14000 * sunrpc/svc_auth.c: Likewise.
14001 * sunrpc/svc_authux.c: Likewise.
14002 * sunrpc/svc_raw.c: Likewise.
14003 * sunrpc/svc_run.c: Likewise.
14004 * sunrpc/svc_simple.c: Likewise.
14005 * sunrpc/svc_tcp.c: Likewise.
14006 * sunrpc/svc_udp.c: Likewise.
14007 * sunrpc/svc_unix.c: Likewise.
14008 * sunrpc/svcauth_des.c: Likewise.
14009 * sunrpc/xcrypt.c: Likewise.
14010 * sunrpc/xdr.c: Likewise.
14011 * sunrpc/xdr_array.c: Likewise.
14012 * sunrpc/xdr_float.c: Likewise.
14013 * sunrpc/xdr_intXX_t.c: Likewise.
14014 * sunrpc/xdr_mem.c: Likewise.
14015 * sunrpc/xdr_rec.c: Likewise.
14016 * sunrpc/xdr_ref.c: Likewise.
14017 * sunrpc/xdr_sizeof.c: Likewise.
14018 * sunrpc/xdr_stdio.c: Likewise.
14019
14020 2011-04-10 Ulrich Drepper <drepper@gmail.com>
14021
14022 [BZ #12650]
14023 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14024 * sysdeps/ia64/dl-tls.h: Likewise.
14025 * sysdeps/powerpc/dl-tls.h: Likewise.
14026 * sysdeps/s390/dl-tls.h: Likewise.
14027 * sysdeps/sh/dl-tls.h: Likewise.
14028 * sysdeps/sparc/dl-tls.h: Likewise.
14029 * sysdeps/x86_64/dl-tls.h: Likewise.
14030 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14031
14032 2011-03-14 Andreas Schwab <schwab@redhat.com>
14033
14034 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14035 rpath element also skip the following colon.
14036 (expand_dynamic_string_token): Add is_path parameter and pass
14037 down to DL_DST_REQUIRED and _dl_dst_substitute.
14038 (decompose_rpath): Call expand_dynamic_string_token with
14039 non-zero is_path. Ignore empty rpaths.
14040 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14041 with zero is_path.
14042
14043 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14044
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14046 Make cancelable.
14047
14048 2011-04-09 Ulrich Drepper <drepper@gmail.com>
14049
14050 [BZ #12655]
14051 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14052 Patch by Filipe David Manana <fdmanana@apache.org>.
14053
14054 2011-04-07 Andreas Schwab <schwab@redhat.com>
14055
14056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14057 Maintain aligned stack.
14058 (CHECK_RSP): Remove unused macro.
14059
14060 2011-04-03 Ulrich Drepper <drepper@gmail.com>
14061
14062 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14064
14065 2011-04-02 Ulrich Drepper <drepper@gmail.com>
14066
14067 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14068
14069 * include/features.h: Mention __USE_XOPEN2K8 in comment.
14070
14071 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14072
14073 [BZ #12518]
14074 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14075 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14076 * sysdeps/x86_64/memmove.c: New file.
14077 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14078 (memcpy): Renamed to ...
14079 (__new_memcpy): This.
14080 (memcpy): Provide GLIBC_2_14 memcpy.
14081 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14082 (memcpy): Provide GLIBC_2_2_5 memcpy.
14083
14084 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14085
14086 [BZ #12631]
14087 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14088
14089 2011-03-30 Andreas Schwab <schwab@redhat.com>
14090
14091 * misc/syncfs.c: New file.
14092 * misc/Makefile (routines): Add syncfs.
14093 * posix/unistd.h: Declare syncfs.
14094 * sysdeps/unix/syscalls.list: Add syncfs.
14095
14096 2011-04-01 Andreas Schwab <schwab@redhat.com>
14097
14098 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14099 open_by_handle_at.
14100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14105 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14107
14108 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14109
14110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14117
14118 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14119 sync_file_range.c with -fexceptions.
14120 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14121 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14122 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14123 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14124 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14125 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
14127 sync_file_range as cancellation point
14128 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14129 now a wrapper around __call_sync_file_range with cancellation handling.
14130 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14132 function name to __call_sync_file_range.
14133 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14134 Add call_sync_file_range.
14135
14136 2011-04-01 Andreas Schwab <schwab@redhat.com>
14137
14138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14139 bits/timex.h.
14140
14141 2011-04-01 Ulrich Drepper <drepper@gmail.com>
14142
14143 * iconv/iconv.h: Fix typo in comment.
14144 * io/fcntl.h: Likewise.
14145 * libio/stdio.h: Likewise.
14146 * posix/spawn.h: Likewise.
14147 * posix/unistd.h: Likewise.
14148 * stdlib/stdlib.h: Likewise.
14149 * time/time.h: Likewise.
14150 * wcsmbs/wchar.h: Likewise.
14151
14152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14153 open_by_handle): Add.
14154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14155 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14156 Augment a few comments.
14157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14162 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14163 open_by_handle.
14164
14165 * io/fcntl.h (AT_EMPTY_PATH): Define.
14166
14167 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14168
14169 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14170 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14171 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14172 to...
14173 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14174 * Versions.def: Add GLIBC_2.14.
14175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14176 Export.
14177
14178 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14179
14180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14181 round counter.
14182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14183
14184 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14185
14186 [BZ #12597]
14187 * string/test-strncmp.c (do_page_test): New function.
14188 (check2): Likewise.
14189 (test_main): Call check2.
14190 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14191
14192 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14193
14194 [BZ #12587]
14195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14196 Handle cache information in CPU leaf 4.
14197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14198
14199 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14200
14201 [BZ #12583]
14202 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14203 character representation.
14204 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14205
14206 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14207
14208 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14209 END(__isnan) to END(__isnanf) to match function entry point/label
14210 EALIGN(__isnanf,...).
14211
14212 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14213
14214 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14215
14216 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14217
14218 [BZ #12510]
14219 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14220 copy from the symbol referenced in the relocation to initialize the
14221 used variable.
14222 Patch by Piotr Bury <pbury@goahead.com>.
14223 * elf/Makefile: Add rules to build and tst-unique3.
14224 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14225 * elf/tst-unique3.cc: New file.
14226 * elf/tst-unique3.h: New file.
14227 * elf/tst-unique3lib.cc: New file.
14228 * elf/tst-unique3lib2.cc: New file.
14229
14230 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14231
14232 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14233
14234 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14235 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14236 to _start.
14237
14238 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14239
14240 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14241 to-be-loaded object along a path to loader is ld.so.
14242
14243 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14244 Ulrich Drepper <drepper@gmail.com>
14245
14246 * sysdeps/x86_64/memset.S: After aligning destination, code
14247 branches to different locations depending on the value of
14248 misalignment, when multiarch is enabled. Fix this.
14249
14250 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14251
14252 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14253 Set _x86_64_preferred_memory_instruction for AMD processsors.
14254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14255 Set bit_Prefer_SSE_for_memop for AMD processors.
14256
14257 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14258
14259 * libio/fmemopen.c (fmemopen): Optimize a bit.
14260
14261 2011-03-03 Andreas Schwab <schwab@redhat.com>
14262
14263 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14264
14265 2011-03-03 Roland McGrath <roland@redhat.com>
14266
14267 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14268
14269 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14270
14271 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14272 __bzero_ultra1 instead of __memset_ultra1.
14273
14274 2011-02-23 Andreas Schwab <schwab@redhat.com>
14275 Ulrich Drepper <drepper@gmail.com>
14276
14277 [BZ #12509]
14278 * include/link.h (struct link_map): Add l_orig_initfini.
14279 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14280 returning unsuccessfully.
14281 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14282 close of a file loaded at startup, restore the original l_initfini
14283 list.
14284 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14285 list, store the pointer.
14286 * elf/Makefile ($(objpfx)noload-mem): New rule.
14287 (noload-ENV): Define.
14288 (tests): Add $(objpfx)noload-mem.
14289 * elf/noload.c: Include <memcheck.h>.
14290 (main): Call mtrace. Close all opened handles.
14291
14292 2011-02-17 Andreas Schwab <schwab@redhat.com>
14293
14294 [BZ #12454]
14295 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14296 dependencies are missing.
14297
14298 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14299
14300 Fix __if_freereq crash: Unlike the generic version which uses free,
14301 Hurd needs munmap.
14302 * sysdeps/mach/hurd/ifreq.h: New file.
14303
14304 2011-01-27 Petr Baudis <pasky@suse.cz>
14305 Ulrich Drepper <drepper@gmail.com>
14306
14307 [BZ 12445]#
14308 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14309 to extend_alloca().
14310 * stdio-common/bug23.c: New file.
14311 * stdio-common/Makefile (tests): Add bug23.
14312
14313 2010-09-28 Andreas Schwab <schwab@redhat.com>
14314 Ulrich Drepper <drepper@gmail.com>
14315
14316 [BZ #12489]
14317 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14318 before performing relro protection. At old place add assertion
14319 to make sure nothing changed.
14320
14321 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14322 Glauber de Oliveira Costa <glommer@gmail.com>
14323
14324 * elf/elf.h: Add new ARM TLS relocs.
14325
14326 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14327
14328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14329 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14330 cast from r3.
14331 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14332 'tests' variable.
14333 * sysdeps/wordsize-64/tst-writev.c: New file.
14334
14335 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14336
14337 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14338 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14339 insns in _dl_start to prevent a TOC reference before relocs are
14340 resolved.
14341
14342 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14343
14344 [BZ #12469]
14345 * Makeconfig: Remove RANLIB definition.
14346 * Makerules: Don't use RANLIB.
14347 * aclocal.m4: Remove ranlib test.
14348 * configure.in: No need to check for ranlib.
14349 * elf/rtld-Rules: Don't use RANLIB.
14350
14351 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14352
14353 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14354 protection macro.
14355 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14356 inclusion protection macro.
14357
14358 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14359 SIGRTMIN and SIGRTMAX and print information in that case only when
14360 SIGRTMIN is defined.
14361
14362 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14363
14364 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14365 arginfo fn returning -1.
14366
14367 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14368 and thousands string is zero terminated.
14369
14370 2011-02-03 Andreas Schwab <schwab@redhat.com>
14371
14372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14373 sysdeps/unix/sysv/linux/bits/socket.h.
14374
14375 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14376
14377 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14378 (__CPU_COUNT): Remove old macros.
14379 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14380 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14381 (__CPU_ALLOC, __CPU_FREE): Add macros.
14382 (__sched_cpualloc, __sched_cpufree): Add declarations.
14383
14384 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14385
14386 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14387 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14388 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14389 (readdhstai): Return value of addhstaiX call.
14390 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14391 (addgrbyX): Return value returned by cache_addgr.
14392 (readdgrbyname): Return value returned by addgrbyX.
14393 (readdgrbygid): Likewise.
14394 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14395 (addpwbyX): Return value returned by cache_addpw.
14396 (readdpwbyname): Return value returned by addhstbyX.
14397 (readdpwbyuid): Likewise.
14398 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14399 (addservbyX): Return value returned by cache_addserv.
14400 (readdservbyname): Return value returned by addservbyX:
14401 (readdservbyport): Likewise.
14402 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14403 (addhstbyX): Return value returned by cache_addhst.
14404 (readdhstbyname): Return value returned by addhstbyX.
14405 (readdhstbyaddr): Likewise.
14406 (readdhstbynamev6): Likewise.
14407 (readdhstbyaddrv6): Likewise.
14408 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14409 (readdinitgroups): Return value returned by addinitgroupsX.
14410 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14411 (prune_cache): Keep track of timeout value of re-added entries.
14412 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14413 * nscd/nscd.h: Adjust prototypes of readd* functions.
14414
14415 2011-02-04 Roland McGrath <roland@redhat.com>
14416
14417 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14418 (nis_stats): Likewise.
14419 * nis/nis_modify.c (nis_modify): Likewise.
14420 * nis/nis_remove.c (nis_remove): Likewise.
14421 * nis/nis_add.c (nis_add): Likewise.
14422
14423 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14424
14425 * posix/fnmatch_loop.c: Add some consts.
14426
14427 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14428
14429 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14430
14431 [BZ #12460]
14432 * config.make.in (config-cflags-novzeroupper): Define.
14433 * configure.in: Substitute libc_cv_cc_novzeroupper.
14434 * elf/Makefile (AVX-CFLAGS): Define.
14435 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14436 (CFLAGS-tst-auditmod4a.c): Likewise.
14437 (CFLAGS-tst-auditmod4b.c): Likewise.
14438 (CFLAGS-tst-auditmod6b.c): Likewise.
14439 (CFLAGS-tst-auditmod6c.c): Likewise.
14440 (CFLAGS-tst-auditmod7b.c): Likewise.
14441 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14442
14443 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14444
14445 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14446 function to the callback.
14447 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14448
14449 2011-02-02 Andreas Schwab <schwab@redhat.com>
14450
14451 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14452 of errno.
14453
14454 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14455
14456 [BZ #11724]
14457 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14458 of constructors.
14459 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14460 of destructors.
14461 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14462
14463 [BZ #11724]
14464 * elf/Makefile: Add rules to build and run new test.
14465 * elf/tst-initorder.c: New file.
14466 * elf/tst-initorder.exp: New file.
14467 * elf/tst-initordera1.c: New file.
14468 * elf/tst-initordera2.c: New file.
14469 * elf/tst-initordera3.c: New file.
14470 * elf/tst-initordera4.c: New file.
14471 * elf/tst-initorderb1.c: New file.
14472 * elf/tst-initorderb2.c: New file.
14473 * elf/tst-order-a1.c: New file.
14474 * elf/tst-order-a2.c: New file.
14475 * elf/tst-order-a3.c: New file.
14476 * elf/tst-order-a4.c: New file.
14477 * elf/tst-order-b1.c: New file.
14478 * elf/tst-order-b2.c: New file.
14479 * elf/tst-order-main.c: New file.
14480 New test case by George Gensure <werkt0@gmail.com>.
14481
14482 2010-10-01 Andreas Schwab <schwab@redhat.com>
14483
14484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14485 decoding ACE if AI_CANONIDN.
14486
14487 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14488
14489 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14490
14491 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14492
14493 * version.h (RELEASE): Bump for 2.13 release.
14494 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14495
14496 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14497
14498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14499 MADV_NOHUGEPAGE.
14500 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14503 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14506
14507 * posix/getconf.c: Update copyright year.
14508 * catgets/gencat.c: Likewise.
14509 * csu/version.c: Likewise.
14510 * debug/catchsegv.sh: Likewise.
14511 * debug/xtrace.sh: Likewise.
14512 * elf/ldconfig.c: Likewise.
14513 * elf/ldd.bash.in: Likewise.
14514 * elf/sprof.c (print_version): Likewise.
14515 * iconv/iconv_prog.c: Likewise.
14516 * iconv/iconvconfig.c: Likewise.
14517 * locale/programs/locale.c: Likewise.
14518 * locale/programs/localedef.c: Likewise.
14519 * malloc/memusage.sh: Likewise.
14520 * malloc/mtrace.pl: Likewise.
14521 * nscd/nscd.c (print_version): Likewise.
14522 * nss/getent.c: Likewise.
14523
14524 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14525 PF_CAIF, and PF_ALG.
14526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14527
14528 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14529
14530 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14531 (modules-names): Use them.
14532 (ifunc-test-modules, ifunc-pie-tests): Define.
14533 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14534 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14535 (test-extras): Likewise.
14536 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14537 $(compile-command.c).
14538 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14539 (all-built-dso): Define.
14540 (check-textrel.out, check-execstack.out): Depend on it.
14541
14542 * configure.in: Don't override --enable-multi-arch.
14543
14544 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14545
14546 [BZ #6812]
14547 * nscd/hstcache.c (tryagain): Define.
14548 (cache_addhst): Return tryagain not notfound for temporary errors.
14549 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14550 failed.
14551
14552 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14553
14554 [BZ #10563]
14555 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14556 to make the syscall.
14557 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14558
14559 [BZ #12378]
14560 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14561 and fall back to matching as normal character if the string ends before
14562 the matching ']' is found. This is what POSIX requires.
14563 * posix/testfnm.c: Adjust test result.
14564 * posix/globtest.sh: Adjust test result. Add new test.
14565 * posix/tst-fnmatch.input: Likewise.
14566 * posix/tst-fnmatch2.c: Add new test.
14567
14568 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14569
14570 * elf/Makefile (check-execstack): Revert last change. Depend on
14571 check-execstack.h.
14572 (check-execstack.h): New target.
14573 (generated): Add check-execstack.h.
14574 * elf/check-execstack.c: Include "check-execstack.h".
14575 (main): Revert last change.
14576 (handle_file): Return zero if GNU_STACK is absent and
14577 DEFAULT_STACK_PERMS doesn't include PF_X.
14578
14579 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14580
14581 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14582 in child fails because the descriptor is already closed.
14583 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14584 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14586
14587 [BZ #12397]
14588 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14589 syscall.
14590
14591 [BZ #10484]
14592 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14593 temporary buffer used to handle multi lookups locally.
14594 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14595
14596 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14597
14598 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14599 loader is ld.so.
14600
14601 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14602
14603 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14604 alignment for SSE2.
14605
14606 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14607
14608 [BZ #12394]
14609 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14610 characters. When rounding increased number of integer digits recompute
14611 number of groups.
14612 * stdio-common/tst-grouping.c: New file.
14613 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14614
14615 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14616
14617 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14618 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14619
14620 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14621 void.
14622 * bits/select.h: Likewise.
14623
14624 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14625
14626 * po/ja.po: Update from translation team.
14627
14628 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14629
14630 [BZ #11155]
14631 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14632 implementation just like for lxstat, fxstatat, et al.
14633
14634 2010-12-27 Jim Meyering <meyering@redhat.com>
14635
14636 [BZ #12348]
14637 * posix/regexec.c (build_trtable): Return failure indication upon
14638 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14639
14640 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14641
14642 [BZ #12201]
14643 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14644 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14647
14648 [BZ #12207]
14649 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14650
14651 [BZ #12204]
14652 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14653 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14654
14655 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14656
14657 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14658 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14659 script has SORT_BY_INIT_PRIORITY.
14660 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14661 NO_CTORS_DTORS_SECTIONS is defined.
14662 * elf/soinit.c: Likewise.
14663 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14664 NO_CTORS_DTORS_SECTIONS is defined.
14665 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14666 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14667 * sysdeps/sh/init-first.c: Likewise.
14668 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14669
14670 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14671
14672 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14673 always use the slow path.
14674
14675 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14676
14677 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14678 similar rule which adds the sysdep directories to the header search in
14679 order to pick up the correct platform stackinfo.h.
14680 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14681 perform test if it is, otherwise return successfully without testing.
14682 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14683 DEFAULT_STACK_PERMS define in stackinfo.h.
14684 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14685 defined in stackinfo.h.
14686 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14687 DEFAULT_STACK_PERMS defined in stackinfo.h.
14688 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14689 * sysdeps/ia64/stackinfo.h: Likewise.
14690 * sysdeps/s390/stackinfo.h: Likewise.
14691 * sysdeps/sh/stackinfo.h: Likewise.
14692 * sysdeps/sparc/stackinfo.h: Likewise.
14693 * sysdeps/x86_64/stackinfo.h: Likewise.
14694 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14695 PF_X for powerpc64. Retain PF_X for powerpc32.
14696
14697 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14698
14699 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14700 accurately.
14701 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14702 GETDENTS_64BIT_ALIGNED.
14703
14704 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14705
14706 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14707
14708 2010-12-10 Andreas Schwab <schwab@redhat.com>
14709
14710 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14711 _GNU_SOURCE.
14712
14713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14714 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14715 Remove __restrict.
14716 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14717 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14718
14719 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14720
14721 [BZ #11655]
14722 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14723 are initialized.
14724
14725 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14726
14727 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14728
14729 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14730
14731 * po/it.po: Update from translation team.
14732
14733 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14734
14735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14736 unused codes.
14737
14738 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14739
14740 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14741
14742 2010-11-24 Andreas Schwab <schwab@redhat.com>
14743
14744 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14745 specially.
14746 (gaih_getanswer_slice): Likewise.
14747
14748 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14749
14750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14751
14752 2010-05-31 Petr Baudis <pasky@suse.cz>
14753
14754 [BZ #11149]
14755 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14756 silently even in the chroot mode.
14757
14758 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14759
14760 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14761 last patch a bit. Pretty printing
14762
14763 2010-05-31 Petr Baudis <pasky@suse.cz>
14764
14765 [BZ #10085]
14766 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14767 initialization of skip_initgroups_dyn.
14768
14769 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14770
14771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14773
14774 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14775
14776 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14777
14778 2010-11-11 Andreas Schwab <schwab@redhat.com>
14779
14780 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14781 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14782 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14783 ($(objpfx)tst-fnmatch-mem): New rule.
14784 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14785 * posix/tst-fnmatch.c (main): Call mtrace.
14786
14787 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14788
14789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14790 Support Intel processor model 6 and model 0x2c.
14791
14792 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14793
14794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14795 signed comparison.
14796
14797 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14798
14799 [BZ #12205]
14800 * string/test-strncasecmp.c (check_result): New function.
14801 (do_one_test): Use it.
14802 (check1): New function.
14803 (test_main): Use it.
14804 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14805 Support strcasecmp and strncasecmp.
14806
14807 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14808
14809 [BZ #12194]
14810 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14812
14813 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14814
14815 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14816 IFUNC support.
14817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14818 memset-x86-64.
14819 * sysdeps/x86_64/multiarch/bzero.S: New file.
14820 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14821 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14822 * sysdeps/x86_64/multiarch/memset.S: New file.
14823 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14825 Set bit_Prefer_SSE_for_memop for Intel processors.
14826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14827 Define.
14828 (index_Prefer_SSE_for_memop): Define.
14829 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14830
14831 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14832
14833 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14834 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14835
14836 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14837
14838 [BZ #12191]
14839 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14840 (__x86_64_raw_data_cache_size_half): Likewise.
14841 (__x86_64_raw_shared_cache_size): Likewise.
14842 (__x86_64_raw_shared_cache_size_half): Likewise.
14843
14844 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14845 (__x86_64_raw_data_cache_size_half): Likewise.
14846 (__x86_64_raw_shared_cache_size): Likewise.
14847 (__x86_64_raw_shared_cache_size_half): Likewise.
14848 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14849 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14850 and __x86_64_raw_shared_cache_size_half. Round
14851 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14852 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14853 to multiple of 256 bytes.
14854
14855 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14856
14857 [BZ #12167]
14858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14859 of inacessible symlinks. Verify result of symlink before returning it.
14860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14861 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14862
14863 2010-10-28 Erich Ritz <erichritz@gmail.com>
14864
14865 * math/math.h (isinf): Fix typo in comment.
14866
14867 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14868
14869 * po/da.po: Update from translation team.
14870
14871 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14872
14873 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14874 is added to the list.
14875
14876 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14877 Ulrich Drepper <drepper@gmail.com>
14878
14879 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14880 the global list here. Move code to...
14881 (_dl_add_to_namespace_list): ...here. New function.
14882 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14883 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14884 * elf/dl-load.c (lose): Don't remove the element from the list.
14885 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14886 (_dl_map_object): Likewise.
14887
14888 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14889
14890 [BZ #12159]
14891 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14892 into all bytes of SSE register.
14893 Patch by Richard Li <richardpku@gmail.com>.
14894
14895 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14896
14897 [BZ #12140]
14898 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14899 perturbing.
14900
14901 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14902
14903 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14904 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14905 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14906 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14908 submachine.
14909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14910
14911 2010-10-22 Andreas Schwab <schwab@redhat.com>
14912
14913 * include/dlfcn.h (__RTLD_SECURE): Define.
14914 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14915 mode & __RTLD_SECURE instead.
14916 (open_path): Rename preloaded parameter to secure.
14917 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14918 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14919 * elf/dl-deps.c (openaux): Likewise.
14920 * elf/rtld.c (struct map_args): Remove is_preloaded.
14921 (map_doit): Don't use it.
14922 (dl_main): Likewise.
14923 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14924 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14925
14926 2010-09-09 Andreas Schwab <schwab@redhat.com>
14927
14928 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14929 (sysd-rules-targets): Remove duplicates.
14930 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14931 rtld-%.$o dependency.
14932
14933 2010-10-18 Andreas Schwab <schwab@redhat.com>
14934
14935 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14936 _dl_map_object do it.
14937
14938 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14939
14940 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14941 fast fma builtins, define the macros in the C99 standard.
14942 (FP_FAST_FMAF): Likewise.
14943 (FP_FAST_FMAL): Likewise.
14944 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14945
14946 * bits/mathdef.h: Update copyright year.
14947 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14948
14949 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14950
14951 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14952 builtins, define the macros in the C99 standard.
14953 (FP_FAST_FMAF): Likewise.
14954 (FP_FAST_FMAL): Likewise.
14955 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14956 multiply/add.
14957 (FP_FAST_FMAF): Likewise.
14958
14959 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14960
14961 [BZ #3268]
14962 * math/libm-test.inc (fma_test): Some new testcases.
14963 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14964 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14965 y and infinite z. Do multiplication by C already in long double.
14966 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14968 y and infinite z. Do bitwise or of inexact bit into u.d.
14969 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14970 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14971 * sysdeps/i386/fpu/s_fma.S: Removed.
14972 * sysdeps/i386/fpu/s_fmal.S: Removed.
14973
14974 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14975
14976 [BZ #3268]
14977 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14979 computation is not scheduled after fetestexcept. Fix value
14980 of minimum denormal long double.
14981
14982 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14983
14984 [BZ #3268]
14985 * math/libm-test.inc (fma_test): Add some more tests.
14986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14987 correctly.
14988
14989 2010-10-15 Andreas Schwab <schwab@redhat.com>
14990
14991 * scripts/data/localplt-s390-linux-gnu.data: New file.
14992 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14993
14994 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14995
14996 [BZ #3268]
14997 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14998 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14999 instead of dbl-64.
15000 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
15001 inlines.
15002 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
15003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15004 if one of x and y is very large and the other is subnormal.
15005 * sysdeps/s390/fpu/s_fmaf.c: New file.
15006 * sysdeps/s390/fpu/s_fma.c: New file.
15007 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15008 * sysdeps/powerpc/fpu/s_fma.S: New file.
15009 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15010 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15011 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15012
15013 2010-10-12 Jakub Jelinek <jakub@redhat.com>
15014
15015 [BZ #3268]
15016 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15017 fma tests.
15018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15019 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15020 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15021 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15022 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15023 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15024 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15025
15026 2010-10-12 Ulrich Drepper <drepper@redhat.com>
15027
15028 [BZ #12078]
15029 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15030 * posix/bug-regex31.input: Add test case.
15031
15032 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15033
15034 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15035 * posix/bug-regex31.input: New file.
15036
15037 [BZ #12078]
15038 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15039 (parse_sub_exp): Fix last change, use postorder.
15040
15041 * posix/bug-regex31.c: New file.
15042 * posix/Makefile: Add rules to build and run bug-regex31.
15043
15044 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15045
15046 [BZ #12078]
15047 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15048
15049 [BZ #12108]
15050 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15051 to have entries in sys_siglist.
15052
15053 [BZ #12093]
15054 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15055 be NULL.
15056
15057 2010-10-07 Jakub Jelinek <jakub@redhat.com>
15058
15059 [BZ #3268]
15060 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15061 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15062 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15063 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15064 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15065 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15066 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15067 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15068 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15069 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15070 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15071 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15072 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15073 * math/ftestexcept.c (fetestexcept): Likewise.
15074 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15075 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15076 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15077 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15078 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15079 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15081
15082 2010-10-11 Ulrich Drepper <drepper@gmail.com>
15083
15084 [BZ #12107]
15085 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15086 newline.
15087
15088 2010-10-06 Ulrich Drepper <drepper@gmail.com>
15089
15090 * string/bug-strstr1.c: New file.
15091 * string/Makefile: Add rules to build and run bug-strstr1.
15092
15093 2010-10-05 Eric Blake <eblake@redhat.com>
15094
15095 [BZ #12092]
15096 * string/str-two-way.h (two_way_long_needle): Always clear memory
15097 when skipping input due to the shift table.
15098
15099 2010-10-03 Ulrich Drepper <drepper@gmail.com>
15100
15101 [BZ #12005]
15102 * malloc/mcheck.c: Handle large requests.
15103
15104 [BZ #12077]
15105 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15106 for strncmp and strncasecmp.
15107 * string/stratcliff.c: Add tests for strcmp and strncmp.
15108 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15109
15110 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15111
15112 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15113 __set_fpscr.
15114
15115 2010-09-30 Andreas Jaeger <aj@suse.de>
15116
15117 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15118 (CGROUP_SUPER_MAGIC): Define.
15119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15120 Handle btrfs and cgroup file systems.
15121 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15122 Likewise.
15123
15124 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
15125
15126 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15127 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15128
15129 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15130
15131 [BZ #12067]
15132 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15133 trying to locate the ELF header.
15134
15135 2010-09-27 Andreas Schwab <schwab@redhat.com>
15136
15137 [BZ #11611]
15138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15139 Mask out sign-bit copies when constructing f_fsid.
15140
15141 2010-09-24 Petr Baudis <pasky@suse.cz>
15142
15143 * debug/stack_chk_fail_local.c: Add missing licence exception.
15144 * debug/warning-nop.c: Likewise.
15145
15146 2010-09-15 Joseph Myers <joseph@codesourcery.com>
15147
15148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15149 implementing getdents64 using getdents syscall, set d_type if
15150 __ASSUME_GETDENTS32_D_TYPE.
15151
15152 2010-09-16 Andreas Schwab <schwab@redhat.com>
15153
15154 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15155 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15156
15157 2010-09-21 Ulrich Drepper <drepper@redhat.com>
15158
15159 [BZ #12037]
15160 * posix/unistd.h: Undo change of feature selection for ftruncate from
15161 2010-01-11.
15162
15163 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15164
15165 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15166 detection.
15167
15168 2010-09-20 Andreas Schwab <schwab@redhat.com>
15169
15170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15171 fanotify_mark.
15172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15173
15174 2010-09-14 Andreas Schwab <schwab@redhat.com>
15175
15176 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15177 variables after CHECK_SP call.
15178 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15179
15180 2010-09-13 Andreas Schwab <schwab@redhat.com>
15181 Ulrich Drepper <drepper@redhat.com>
15182
15183 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15184 re-relocationg ld.so.
15185 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15186 _dl_init_paths call.
15187 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15188 here anymore.
15189
15190 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15191
15192 * resolv/res_init.c (__res_vinit): Count the default server we added.
15193
15194 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15195 Ulrich Drepper <drepper@redhat.com>
15196
15197 [BZ #11968]
15198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15199 (____longjmp_chk): Use %ebx for saving value across system call.
15200 Add unwind info.
15201
15202 2010-09-06 Andreas Schwab <schwab@redhat.com>
15203
15204 * manual/Makefile: Don't mix pattern rules with normal rules.
15205
15206 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15209 operation.
15210 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15211 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15212 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15213 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15215 Likewise.
15216
15217 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15218
15219 [BZ #11979]
15220 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15221 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15222
15223 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15224
15225 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15226 * sysdeps/x86_64/addmul_1.S: Likewise.
15227 * sysdeps/x86_64/lshift.S: Likewise.
15228 * sysdeps/x86_64/mul_1.S: Likewise.
15229 * sysdeps/x86_64/rshift.S: Likewise.
15230 * sysdeps/x86_64/sub_n.S: Likewise.
15231 * sysdeps/x86_64/submul_1.S: Likewise.
15232
15233 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15234
15235 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15236 Define __sched_param instead of SCHED_* and sched_param when
15237 <bits/sched.h> is included with __need_schedparam defined.
15238 * bits/sched.h [__need_schedparam]
15239 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15240 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15241 (__defined_schedparam): Define to 1.
15242 (__sched_param): New structure, identical to sched_param.
15243 (__need_schedparam): Undefine.
15244
15245 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15246
15247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15248 (epoll_create1): Declare.
15249
15250 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15251
15252 2010-08-31 Andreas Schwab <schwab@redhat.com>
15253
15254 [BZ #7066]
15255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15256 shifting retval into place.
15257
15258 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15259
15260 * nis/rpcsvc/nis.h: Update copyright notice.
15261 * nis/rpcsvc/nis.x: Likewise.
15262 * nis/rpcsvc/nis_callback.h: Likewise.
15263 * nis/rpcsvc/nis_callback.x: Likewise.
15264 * nis/rpcsvc/nis_object.x: Likewise.
15265 * nis/rpcsvc/nis_tags.h: Likewise.
15266 * nis/rpcsvc/yp.h: Likewise.
15267 * nis/rpcsvc/yp.x: Likewise.
15268 * nis/rpcsvc/ypupd.h: Likewise.
15269 * nis/yp_xdr.c: Likewise.
15270 * nis/ypupdate_xdr.c: Likewise.
15271
15272 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15273 mainly the body of pmap_getport. Add parameters to specify timeouts.
15274 (pmap_getport): Use __libc_rpc_getport.
15275 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15276 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15277 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15278
15279 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15280
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15282 fanotify_mark.
15283
15284 2010-08-27 Roland McGrath <roland@redhat.com>
15285
15286 * sysdeps/i386/i686/multiarch/Makefile
15287 (CFLAGS-varshift.c): New variable.
15288
15289 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15290
15291 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15292 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15293
15294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15295
15296 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15297
15298 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15299
15300 * sysdeps/x86_64/strlen.S: Unroll the loop.
15301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15302 strlen-sse2 strlen-sse2-bsf.
15303 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15304 __strlen_no_bsf if bit_Slow_BSF is set.
15305 (__strlen_sse42): Removed.
15306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15307 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15308
15309 2010-08-25 Roland McGrath <roland@redhat.com>
15310
15311 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15312 * sysdeps/x86_64/multiarch/varshift.c: New file.
15313 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15314 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15315 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15317
15318 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15319
15320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15321 strlen-sse2 strlen-sse2-bsf.
15322 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15323 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15324 (__strlen_sse2): Removed.
15325 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15328 bit_Slow_BSF for Atom.
15329 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15330 (index_Slow_BSF): Define.
15331 (HAS_SLOW_BSF): Define.
15332
15333 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15334
15335 [BZ #10851]
15336 * resolv/res_init.c (__res_vinit): When no server address at all
15337 is given default to loopback.
15338
15339 2010-08-24 Roland McGrath <roland@redhat.com>
15340
15341 * configure.in: Remove config-name.h generation.
15342 * configure: Regenerated.
15343 * config-name.in: File removed.
15344 * scripts/config-uname.sh: New file.
15345 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15346 ($(objdir)config-name.h): New target.
15347
15348 * sunrpc/rpc_parse.h: Avoid nested comment.
15349
15350 2010-08-24 Richard Henderson <rth@redhat.com>
15351 Ulrich Drepper <drepper@redhat.com>
15352 H.J. Lu <hongjiu.lu@intel.com>
15353
15354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15356 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15357 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15358 _mm_alignr_epi8 with _mm_loadu_si128.
15359 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15360 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15361 (__m128i_shift_right): Removed.
15362 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15363 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15364 * sysdeps/x86_64/multiarch/varshift.h: New file.
15365 * sysdeps/x86_64/multiarch/varshift.S: New file.
15366
15367 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15368
15369 * configure.in: Move assembler checks to before sysdep dir checking.
15370
15371 2010-08-20 Petr Baudis <pasky@suse.cz>
15372
15373 * LICENSES: Sync the sunrpc license.
15374
15375 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15376
15377 * sunrpc/auth_des.c: Update copyright notice once again.
15378 * sunrpc/auth_none.c: Likewise.
15379 * sunrpc/auth_unix.c: Likewise.
15380 * sunrpc/authdes_prot.c: Likewise.
15381 * sunrpc/authuxprot.c: Likewise.
15382 * sunrpc/bindrsvprt.c: Likewise.
15383 * sunrpc/clnt_gen.c: Likewise.
15384 * sunrpc/clnt_perr.c: Likewise.
15385 * sunrpc/clnt_raw.c: Likewise.
15386 * sunrpc/clnt_simp.c: Likewise.
15387 * sunrpc/clnt_tcp.c: Likewise.
15388 * sunrpc/clnt_udp.c: Likewise.
15389 * sunrpc/clnt_unix.c: Likewise.
15390 * sunrpc/des_crypt.c: Likewise.
15391 * sunrpc/des_soft.c: Likewise.
15392 * sunrpc/get_myaddr.c: Likewise.
15393 * sunrpc/getrpcport.c: Likewise.
15394 * sunrpc/key_call.c: Likewise.
15395 * sunrpc/key_prot.c: Likewise.
15396 * sunrpc/openchild.c: Likewise.
15397 * sunrpc/pm_getmaps.c: Likewise.
15398 * sunrpc/pm_getport.c: Likewise.
15399 * sunrpc/pmap_clnt.c: Likewise.
15400 * sunrpc/pmap_prot.c: Likewise.
15401 * sunrpc/pmap_prot2.c: Likewise.
15402 * sunrpc/pmap_rmt.c: Likewise.
15403 * sunrpc/rpc/auth.h: Likewise.
15404 * sunrpc/rpc/auth_unix.h: Likewise.
15405 * sunrpc/rpc/clnt.h: Likewise.
15406 * sunrpc/rpc/des_crypt.h: Likewise.
15407 * sunrpc/rpc/key_prot.h: Likewise.
15408 * sunrpc/rpc/netdb.h: Likewise.
15409 * sunrpc/rpc/pmap_clnt.h: Likewise.
15410 * sunrpc/rpc/pmap_prot.h: Likewise.
15411 * sunrpc/rpc/pmap_rmt.h: Likewise.
15412 * sunrpc/rpc/rpc.h: Likewise.
15413 * sunrpc/rpc/rpc_des.h: Likewise.
15414 * sunrpc/rpc/rpc_msg.h: Likewise.
15415 * sunrpc/rpc/svc.h: Likewise.
15416 * sunrpc/rpc/svc_auth.h: Likewise.
15417 * sunrpc/rpc/types.h: Likewise.
15418 * sunrpc/rpc/xdr.h: Likewise.
15419 * sunrpc/rpc_clntout.c: Likewise.
15420 * sunrpc/rpc_cmsg.c: Likewise.
15421 * sunrpc/rpc_common.c: Likewise.
15422 * sunrpc/rpc_cout.c: Likewise.
15423 * sunrpc/rpc_dtable.c: Likewise.
15424 * sunrpc/rpc_hout.c: Likewise.
15425 * sunrpc/rpc_main.c: Likewise.
15426 * sunrpc/rpc_parse.c: Likewise.
15427 * sunrpc/rpc_parse.h: Likewise.
15428 * sunrpc/rpc_prot.c: Likewise.
15429 * sunrpc/rpc_sample.c: Likewise.
15430 * sunrpc/rpc_scan.c: Likewise.
15431 * sunrpc/rpc_scan.h: Likewise.
15432 * sunrpc/rpc_svcout.c: Likewise.
15433 * sunrpc/rpc_tblout.c: Likewise.
15434 * sunrpc/rpc_util.c: Likewise.
15435 * sunrpc/rpc_util.h: Likewise.
15436 * sunrpc/rpcinfo.c: Likewise.
15437 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15438 * sunrpc/rpcsvc/key_prot.x: Likewise.
15439 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15440 * sunrpc/rpcsvc/mount.x: Likewise.
15441 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15442 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15443 * sunrpc/rpcsvc/rex.x: Likewise.
15444 * sunrpc/rpcsvc/rstat.x: Likewise.
15445 * sunrpc/rpcsvc/rusers.x: Likewise.
15446 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15447 * sunrpc/rpcsvc/spray.x: Likewise.
15448 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15449 * sunrpc/rtime.c: Likewise.
15450 * sunrpc/svc.c: Likewise.
15451 * sunrpc/svc_auth.c: Likewise.
15452 * sunrpc/svc_authux.c: Likewise.
15453 * sunrpc/svc_raw.c: Likewise.
15454 * sunrpc/svc_run.c: Likewise.
15455 * sunrpc/svc_simple.c: Likewise.
15456 * sunrpc/svc_tcp.c: Likewise.
15457 * sunrpc/svc_udp.c: Likewise.
15458 * sunrpc/svc_unix.c: Likewise.
15459 * sunrpc/svcauth_des.c: Likewise.
15460 * sunrpc/xcrypt.c: Likewise.
15461 * sunrpc/xdr.c: Likewise.
15462 * sunrpc/xdr_array.c: Likewise.
15463 * sunrpc/xdr_float.c: Likewise.
15464 * sunrpc/xdr_mem.c: Likewise.
15465 * sunrpc/xdr_rec.c: Likewise.
15466 * sunrpc/xdr_ref.c: Likewise.
15467 * sunrpc/xdr_sizeof.c: Likewise.
15468 * sunrpc/xdr_stdio.c: Likewise.
15469
15470 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15471 handling.
15472
15473 2010-08-19 Andreas Schwab <schwab@redhat.com>
15474
15475 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15476
15477 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15478
15479 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15480 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15481 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15482 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15483 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15484 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15485 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15486 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15487 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15489 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15490 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15491 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15492 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15493
15494 2010-07-26 Anton Blanchard <anton@samba.org>
15495
15496 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15497 * malloc/arena.c (heap_trim): Likewise.
15498
15499 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15500
15501 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15502 here. Not...
15503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15504 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15505
15506 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15507
15508 * sysdeps/i386/elf/Makefile: New file.
15509
15510 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15511
15512 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15513 from fanotify_init.
15514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15516
15517 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15518
15519 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15520 of strncasecmp_l.
15521 * sysdeps/multiarch/strcmp.S: Likewise.
15522
15523 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15524
15525 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15526 strncase_l-nonascii.
15527 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15528 Add strncase_l-ssse3.
15529 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15530 * sysdeps/x86_64/strcmp.S: Likewise.
15531 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15532 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15533 * sysdeps/x86_64/strncase.S: New file.
15534 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15535 * sysdeps/x86_64/strncase_l.S: New file.
15536 * string/Makefile (strop-tests): Add strncasecmp.
15537 * string/test-strncasecmp.c: New file.
15538
15539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15540 warning.
15541
15542 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15544
15545 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15546
15547 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15548
15549 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15550
15551 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15554
15555 2010-05-01 Alan Modra <amodra@gmail.com>
15556
15557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15558 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15559 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15560 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15561 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15562 tidying. Don't tail-call __sigjmp_save for static lib.
15563 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15564 save location.
15565 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15566 (CALL_MCOUNT): Add eh info, and nop after bl.
15567 (TAIL_CALL_SYSCALL_ERROR): New macro.
15568 (PSEUDO_RET): Use it.
15569 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15570 Correct save location of integer regs and cr.
15571 (_dl_profile_resolve): Correct cr save location. Delete nops
15572 after bl when SHARED. Reduce cfi size a little by better
15573 placement of cfi directives.
15574 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15575 make a stack frame. Instead use parm save area as a temp.
15576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15577 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15579 Don't make a stack frame for parent, use parm save area.
15580 Increase child stack frame to 112 bytes. Don't save unused reg,
15581 and adjust reg usage. Set up cfi on error recovery and
15582 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15584 (__makecontext): Add dummy nop after jump to exit.
15585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15586 Use correct parm save area and cr save, reduce stack frame.
15587 Correct cfi for possible PSEUDO_RET frame setup.
15588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15589 Branch to local label emitted by PSEUDO_RET rather than
15590 __syscall_error.
15591
15592 2010-08-12 Andreas Schwab <schwab@redhat.com>
15593
15594 [BZ #11904]
15595 * locale/programs/locale.c (print_assignment): New function.
15596 (show_locale_vars): Use it.
15597
15598 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15599
15600 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15601 field.
15602 (struct statfs64): Likewise.
15603 (_STATFS_F_FLAGS): Define.
15604 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15606 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15607 (ST_VALID): Define locally.
15608 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15609 __statvfs_getflags, use the provided value.
15610 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15611 __ASSUME_STATFS_F_FLAGS.
15612
15613 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15614
15615 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15616 Add sys/fanotify.h.
15617 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15618 fanotify_mask for GLIBC_2.13.
15619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15620 fanotify_init and fanotify_mark.
15621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15622 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15623
15624 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15625 Add prlimit.
15626 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15627 prlimit64 for GLIBC_2.13.
15628 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15629 prlimit64.
15630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15631 syscall.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15634 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15637 add prlimit alias.
15638 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15639
15640 [BZ #11903]
15641 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15642 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15643
15644 * nss/Makefile: Add rules to build and run tst-nss-test1.
15645 * shlib-versions: Add entry for libnss_test1.
15646 * nss/nss_test1.c: New file.
15647 * nss/tst-nss-test1.c: New file.
15648
15649 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15650 (__nss_configure_lookup): Set appropriate entry in
15651 __nss_configure_lookup to true.
15652 * nss/nsswitch.h: Define enum with indeces of databases in
15653 databases and __nss_database_custom arrays. Declare
15654 __nss_database_custom.
15655 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15656 to avoid using nscd when custom rules are installed.
15657 * nss/getXXbyYY_r.c: Likewise.
15658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15659
15660 * nss/nss_files/files-parse.c: Whitespace fixes.
15661
15662 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15663
15664 [BZ #11883]
15665 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15666 * posix/fnmatch_loop.c: Likewise.
15667
15668 2010-07-17 Andi Kleen <ak@linux.intel.com>
15669
15670 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15671 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15672 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15673 * Versions.def [GLIBC_2.13]: Add.
15674
15675 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15676
15677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15678 Also fail if tpwd after pwuid call is NULL.
15679
15680 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15681
15682 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15683 when converting to ms.
15684
15685 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15686
15687 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15688 EOPNOTSUPP errors with ENOTTY.
15689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15690 EOPNOTSUPP errors with ENOTTY.
15691
15692 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15693
15694 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15695 Add strcasecmp_l-ssse3.
15696 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15697 strcasecmp.
15698 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15699 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15700 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15701
15702 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15703
15704 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15705
15706 * string/Makefile (strop-tests): Add strcasecmp.
15707 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15708 strcasecmp_l-nonascii.
15709 (gen-as-const-headers): Add locale-defines.sym.
15710 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15711 * sysdeps/x86_64/strcasecmp.S: New file.
15712 * sysdeps/x86_64/strcasecmp_l.S: New file.
15713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15714 * sysdeps/x86_64/locale-defines.sym: New file.
15715 * string/test-strcasecmp.c: New file.
15716
15717 * string/test-strcasestr.c: Test both ends of the range of characters.
15718 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15719
15720 2010-07-29 Roland McGrath <roland@redhat.com>
15721
15722 [BZ #11856]
15723 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15724
15725 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15726
15727 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15728 for ld.so.
15729
15730 2010-07-27 Andreas Schwab <schwab@redhat.com>
15731
15732 * manual/memory.texi (Malloc Tunable Parameters): Document
15733 M_PERTURB.
15734
15735 2010-07-26 Roland McGrath <roland@redhat.com>
15736
15737 [BZ #11840]
15738 * configure.in (-fgnu89-inline check): Set and substitute
15739 gnu89_inline, not libc_cv_gnu89_inline.
15740 * configure: Regenerated.
15741 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15742
15743 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15744
15745 * string/test-strnlen.c: New file.
15746 * string/Makefile (strop-tests): Add strnlen.
15747 * string/tester.c (test_strnlen): Add a few more test cases.
15748 * string/tst-strlen.c: Better error reporting.
15749
15750 * sysdeps/x86_64/strnlen.S: New file.
15751
15752 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15753
15754 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15755 lower-latency instructions.
15756
15757 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15758
15759 * string/test-strcasestr.c: New file.
15760 * string/test-strstr.c: New file.
15761 * string/Makefile (strop-tests): Add strstr and strcasestr.
15762 * string/str-two-way.h: Don't undefine MAX.
15763 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15764
15765 2010-07-21 Andreas Schwab <schwab@redhat.com>
15766
15767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15768 strcasestr-nonascii.
15769 (CFLAGS-strcasestr-nonascii.c): Define.
15770 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15771 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15772 Remove unused attribute.
15773
15774 2010-07-20 Roland McGrath <roland@redhat.com>
15775
15776 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15777 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15778 ld.so.cache was broken. With it, there is no way to disable dsocaps
15779 like LD_HWCAP_MASK can disable hwcaps.
15780
15781 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15782
15783 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15784
15785 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15786
15787 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15788 call in strcasestr.
15789 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15790 __strcasestr_sse42_nonascii.
15791 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15792 strcasestr-nonascii.c.
15793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15794
15795 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15796
15797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15800 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15801
15802 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15803
15804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15805 fcntl.
15806
15807 2010-07-06 Andreas Schwab <schwab@redhat.com>
15808
15809 [BZ #11577]
15810 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15811 dl_signal_cerror.
15812
15813 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15814
15815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15816 _PC_PIPE_BUF using F_GETPIPE_SZ.
15817
15818 2010-07-05 Roland McGrath <roland@redhat.com>
15819
15820 * manual/arith.texi (Rounding Functions): Fix rint description
15821 implicit in round description.
15822
15823 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15824
15825 * elf/Makefile: Fix linking for a few tests to make recent linker
15826 happy.
15827
15828 2010-06-30 Andreas Schwab <schwab@redhat.com>
15829
15830 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15831 $(common-objpfx)libc_nonshared.a.
15832
15833 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15834
15835 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15836 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15837 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15838 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15839 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15841 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15842 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15857 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15858 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15859 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15860 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15861 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15862 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15863 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15864 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15865 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15866 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15867 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15868 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15883
15884 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15885
15886 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15887 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15888 * string/memmove.c (memmove): Renamed to ...
15889 (MEMMOVE): ...this. Default to memmove.
15890 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15891 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15892 (END_CHK): Define.
15893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15894 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15895 mempcpy-ssse3-back memmove-ssse3-back.
15896 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15899 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15900 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15901 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15902 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15903 * sysdeps/x86_64/multiarch/memmove.c: New file.
15904 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15905 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15906 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15907 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15908 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15910 Define.
15911 (index_Fast_Copy_Backward): Define.
15912 (HAS_ARCH_FEATURE): Define.
15913 (HAS_FAST_REP_STRING): Define.
15914 (HAS_FAST_COPY_BACKWARD): Define.
15915
15916 2010-06-21 Andreas Schwab <schwab@redhat.com>
15917
15918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15919 Restore proper fallback handling.
15920
15921 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15922
15923 [BZ #11701]
15924 * posix/group_member.c (__group_member): Correct checking loop.
15925
15926 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15927 OOM in getpwuid_r correctly. Return error number when the caller
15928 should return, otherwise -1.
15929 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15930 call returning > 0 value.
15931 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15932
15933 2010-06-07 Andreas Schwab <schwab@redhat.com>
15934
15935 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15936 libc_nonshared.a from targets in modules-names.
15937
15938 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15939
15940 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15941 requires it.
15942
15943 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15944
15945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15946 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15949
15950 2010-06-02 Andreas Schwab <schwab@redhat.com>
15951
15952 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15953
15954 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15955
15956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15957 and F_GETPIPE_SZ.
15958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15964
15965 2010-06-14 Roland McGrath <roland@redhat.com>
15966
15967 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15968
15969 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15970
15971 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15972 __REDIRECT followed by __THROW.
15973 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15974 * posix/getopt.h (getopt): Likewise.
15975
15976 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15977
15978 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15979 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15980 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15981 in AT_FLAGS.
15982 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15983 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15984
15985 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15986
15987 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15988
15989 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15990
15991 [BZ #11640]
15992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15993 Properly check family and model.
15994
15995 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15996
15997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15998
15999 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
16000
16001 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
16002
16003 2010-05-21 Ulrich Drepper <drepper@redhat.com>
16004
16005 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16006 symbol reference.
16007
16008 2010-05-19 Andreas Schwab <schwab@redhat.com>
16009
16010 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16011 symbol reference.
16012
16013 2010-05-21 Andreas Schwab <schwab@redhat.com>
16014
16015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16016 and internal_recvmmsg.
16017 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16018 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16019 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16020 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16021
16022 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16023 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16024 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16025
16026 2010-05-20 Andreas Schwab <schwab@redhat.com>
16027
16028 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16029
16030 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
16031
16032 POWER7 optimizations.
16033 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16034 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16035
16036 2010-05-19 Ulrich Drepper <drepper@redhat.com>
16037
16038 * version.h: Update for 2.13 development version.
16039
16040 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
16041
16042 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16043 exceptions. Return 0.
16044
16045 2010-05-07 Roland McGrath <roland@redhat.com>
16046
16047 * elf/ldconfig.c (main): Add a const.
16048
16049 2010-05-06 Ulrich Drepper <drepper@redhat.com>
16050
16051 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16052 (args_options): Add no-idn option.
16053 (ahosts_keys_int): Add idn_flags to ai_flags.
16054 (parse_option): Handle 'i' option to clear idn_flags.
16055
16056 * malloc/malloc.c (_int_free): Possible race in the most recently
16057 added check. Only act on the data if no current modification
16058 happened.
16059
16060 See ChangeLog.17 for earlier changes.
This page took 0.822116 seconds and 6 git commands to generate.