]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use the same bits/endian.h for i386/x86_64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
13764867
L
12012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
f726f0bb
L
4 * sysdeps/i386/bits/endian.h: Removed.
5 * sysdeps/x86_64/bits/endian.h: Renamed to ...
6 * sysdeps/x86/bits/endian.h: This.
7
13764867
L
8 * sysdeps/i386/bits/byteswap.h: Removed.
9 * sysdeps/i386/bits/byteswap-16.h: Likewise.
10 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11 * sysdeps/x86/bits/byteswap.h: This.
12 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
13 * sysdeps/x86/bits/byteswap-16.h: This.
14 * sysdeps/i386/Implies: Add x86.
15 * sysdeps/x86_64/Implies: Likewise.
16
ae251b0b
DM
172012-05-30 David S. Miller <davem@davemloft.net>
18
19 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22 (FP_TRAPPING_EXCEPTIONS): Define.
23 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24 (FP_TRAPPING_EXCEPTIONS): Define.
25 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26 subnormals only when inexact has been signalled or underflow
27 exceptions are enabled.
28 (_FP_PACK_CANONICAL): Likewise.
29
d5c90867
L
302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
31
32 [BZ #14183]
33 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
34 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
35
63f1549e
RH
362012-05-30 Richard Henderson <rth@twiddle.net>
37
8d8f2279
RH
38 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39 with #ifndef NOT_IN_libc.
40
63f1549e
RH
41 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42 marked to avoid plt entry.
43
0ab0291b
L
442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
45
46 [BZ #14112]
47 * Makeconfig (default-abi): New macro.
48 (abi-includes): Likewise.
49 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
50 $(abi-$(default-abi)-lib-soname) for soname if defined.
51 ($(common-objpfx)gnu/lib-names.stmp): Generate from
52 abi-variants.
53 * Makefile (installed-stubs): Likewise.
54 * include/stubs-biarch.h: Removed.
55 * scripts/lib-names.awk: Only handle one library at a time.
56 * scripts/soversions.awk: Remove WORDSIZE support.
57 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
58 entries.
59 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
60 Removed.
61 (syscall-list-default-condition): Likewise.
62 (syscall-list-default-condition): Likewise.
63 (syscall-list-includes): Likewise.
64 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65 syscall-list-* with abi-*. Handle undefined abi-variants.
66 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67 * sysdeps/unix/sysv/linux/i386/Implies: New file.
68 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
69 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
71 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
72 Removed.
73 (syscall-list-32-options): Likewise.
74 (syscall-list-32-condition): Likewise.
75 (syscall-list-64-options): Likewise.
76 (syscall-list-64-condition): Likewise.
77 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
78 macro.
79 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80 Renamed to ...
81 (abi-*): This.
82 (abi-64-ld-soname): New macro.
83 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
84 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
85 Renamed to ...
86 (abi-*): This.
87 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
88 * sysdeps/x86_64/x32/shlib-versions: Likewise.
89
4da0431d
JM
902012-05-30 Joseph Myers <joseph@codesourcery.com>
91
3a85279c
JM
92 * sysdeps/unix/sysv/linux/kernel-features.h
93 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
94 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
95 include <kernel-features.h>.
96 [!__NR_ftruncate64]: Remove conditional code.
97 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
98 [__NR_ftruncate64]: Make code unconditional.
99 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
100 * sysdeps/unix/sysv/linux/truncate64.c: Do not
101 include <kernel-features.h>.
102 [!__NR_ftruncate64]: Remove conditional code.
103 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
104 [__NR_ftruncate64]: Make code unconditional.
105 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
107 include <kernel-features.h>.
108 [!__NR_ftruncate64]: Remove conditional code.
109 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
110 [__NR_ftruncate64]: Make code unconditional.
111 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
113 include <kernel-features.h>.
114 [!__NR_ftruncate64]: Remove conditional code.
115 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
116 [__NR_ftruncate64]: Make code unconditional.
117 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
118
4da0431d
JM
119 * configure.in (libc_cv_fpie): Weaken to a compile test using
120 LIBC_TRY_CC_OPTION.
121 * configure: Regenerated.
122
11ef492c
AK
1232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
124
125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
129 Refreshed.
130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
136 Refreshed.
137
d66ef399
DM
1382012-05-27 David S. Miller <davem@davemloft.net>
139
140 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
141 (___Q_zero): New.
142 (__Q_simulate_exceptions): Return void. Change to simulate
143 exceptions by writing into the %fsr.
144 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
145 (__Qp_handle_exceptions): Likewise.
146 (numbers): Delete.
147 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
148 __Qp_handle_exceptions.
149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
150 __Qp_handle_exceptions.
151 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
152 as unused and give dummy FP_RND_NEAREST initializer.
153 (FP_INHIBIT_RESULTS): Define.
154 (___Q_simulate_exceptions): Update declaration.
155 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
156 formatting.
157 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
158 as unused and give dummy FP_RND_NEAREST initializer.
159 (__Qp_handle_exceptions): Update declaration.
160 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
161 formatting.
162
04fb54b5
TS
1632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
164
165 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
166 the temporary FPU control word.
167 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
168 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
169 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
171 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
172 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
173 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
174 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
175 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
176 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
177 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
178
3f99608f
KK
1792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
180
181 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
182 fields.
183
65a4de4e
CLT
1842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
185
186 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
187 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
188 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
189 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
190 Likewise.
191 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
192 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
193 Likewise.
194
15749d40
UD
1952012-05-27 Ulrich Drepper <drepper@gmail.com>
196
197 * po/h.po: Update from translation team.
198
25dbcb27
AS
1992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
200
3d3f8e55
AS
201 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
202
25dbcb27
AS
203 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
204 handling of denormals.
205 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
206 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
207 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
208 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
209 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
210 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
211 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
212 Likewise.
213
7ad47a80 2142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
215
216 [BZ #14152]
217 * math/libm-test.inc (fma_test): Don't always expect underflow
218 exception.
219
9c6ea9fa
SP
2202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
221
222 [BZ #12416]
223 * elf/tst-execstack.c: Include stackinfo.h.
224 (do_test): Adjust test case to ensure that pthread_getattr_np
225 behaviour remains the same after marking stack executable.
226
a8239222
JM
2272012-05-25 Joseph Myers <joseph@codesourcery.com>
228
229 * sysdeps/unix/sysv/linux/kernel-features.h
230 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
231 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
232 kernel-features.h.
233 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
234 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
235 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
236 kernel-features.h.
237 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
238 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
239
918b5606
L
2402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
241
242 * configure.in: Define the default includes to being none.
243 * configure: Regenerated.
244
3a097cc7
RM
2452012-05-25 Roland McGrath <roland@hack.frob.com>
246
8422c9a5
RM
247 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
248 * sysdeps/x86_64/setjmp.S: Likewise.
249 * sysdeps/i386/bsd-setjmp.S: Likewise.
250 * sysdeps/i386/bsd-_setjmp.S: Likewise.
251 * sysdeps/i386/setjmp.S: Likewise.
252 * sysdeps/i386/__longjmp.S: Likewise.
253 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
254 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
255
3a097cc7
RM
256 * include/stap-probe.h: New file.
257 * configure.in: Handle --enable-systemtap.
258 * configure: Regenerated.
259 * config.h.in (USE_STAP_PROBE): New #undef.
260 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
261 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
262 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
263
21708942
JM
2642012-05-25 Joseph Myers <joseph@codesourcery.com>
265
266 [BZ #13717]
267 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
268 to 2.4.0 where earlier.
269 * sysdeps/unix/sysv/linux/configure: Regenerated.
270 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
271 <kernel-features.h>.
272 [__ASSUME_32BITUIDS]: Make code unconditional.
273 [!__ASSUME_32BITUIDS]: Remove conditional code.
274 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
275 <kernel-features.h>.
276 [__ASSUME_32BITUIDS]: Make code unconditional.
277 [!__ASSUME_32BITUIDS]: Remove conditional code.
278 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
279 [__ASSUME_32BITUIDS]: Make code unconditional.
280 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
281 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
282 <kernel-features.h>.
283 [__ASSUME_32BITUIDS]: Make code unconditional.
284 [!__ASSUME_32BITUIDS]: Remove conditional code.
285 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
286 <kernel-features.h>.
287 [__ASSUME_32BITUIDS]: Make code unconditional.
288 [!__ASSUME_32BITUIDS]: Remove conditional code.
289 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
290 <kernel-features.h>.
291 [__ASSUME_32BITUIDS]: Make code unconditional.
292 [!__ASSUME_32BITUIDS]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
294 <kernel-features.h>.
295 [__ASSUME_32BITUIDS]: Make code unconditional.
296 [!__ASSUME_32BITUIDS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
298 <kernel-features.h>.
299 [__ASSUME_32BITUIDS]: Make code unconditional.
300 [!__ASSUME_32BITUIDS]: Remove conditional code.
301 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
302 <kernel-features.h>.
303 [__ASSUME_32BITUIDS]: Make code unconditional.
304 [!__ASSUME_32BITUIDS]: Remove conditional code.
305 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
306 <kernel-features.h>.
307 [__ASSUME_32BITUIDS]: Make code unconditional.
308 [!__ASSUME_32BITUIDS]: Remove conditional code.
309 * sysdeps/unix/sysv/linux/i386/lchown.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/msgctl.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/semctl.c: Do not include
318 <kernel-features.h>.
319 [__ASSUME_32BITUIDS]: Make code unconditional.
320 [!__ASSUME_32BITUIDS]: Remove conditional code.
321 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
322 <kernel-features.h>.
323 [__NR_setresgid] (__setresgid): Do not declare.
324 [__ASSUME_32BITUIDS]: Make code unconditional.
325 [!__ASSUME_32BITUIDS]: Remove conditional code.
326 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
327 <kernel-features.h>.
328 [__NR_setresuid] (__setresuid): Do not declare.
329 [__ASSUME_32BITUIDS]: Make code unconditional.
330 [!__ASSUME_32BITUIDS]: Remove conditional code.
331 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
332 <kernel-features.h>.
333 [__ASSUME_32BITUIDS]: Make code unconditional.
334 [!__ASSUME_32BITUIDS]: Remove conditional code.
335 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
336 <kernel-features.h>.
337 [__ASSUME_32BITUIDS]: Make code unconditional.
338 [!__ASSUME_32BITUIDS]: Remove conditional code.
339 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
340 <kernel-features.h>.
341 [__ASSUME_32BITUIDS]: Make code unconditional.
342 [!__ASSUME_32BITUIDS]: Remove conditional code.
343 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
344 <kernel-features.h>.
345 [__ASSUME_32BITUIDS]: Make code unconditional.
346 [!__ASSUME_32BITUIDS]: Remove conditional code.
347 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
348 <kernel-features.h>.
349 [__ASSUME_32BITUIDS]: Make code unconditional.
350 [!__ASSUME_32BITUIDS]: Remove conditional code.
351 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
352 <kernel-features.h>.
353 [__ASSUME_32BITUIDS]: Make code unconditional.
354 [!__ASSUME_32BITUIDS]: Remove conditional code.
355 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
356 <kernel-features.h>.
357 [__ASSUME_32BITUIDS]: Make code unconditional.
358 [!__ASSUME_32BITUIDS]: Remove conditional code.
359 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
360 <kernel-features.h>.
361 [__ASSUME_32BITUIDS]: Make code unconditional.
362 [!__ASSUME_32BITUIDS]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
364 <kernel-features.h>.
365 [__ASSUME_32BITUIDS]: Make code unconditional.
366 [!__ASSUME_32BITUIDS]: Remove conditional code.
367 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
368 <kernel-features.h>.
369 [__ASSUME_32BITUIDS]: Make code unconditional.
370 [!__ASSUME_32BITUIDS]: Remove conditional code.
371 * sysdeps/unix/sysv/linux/kernel-features.h
372 (__ASSUME_SETRESUID_SYSCALL): Remove.
373 (__ASSUME_SETRESGID_SYSCALL): Likewise.
374 (__ASSUME_32BITUIDS): Likewise.
375 (__ASSUME_LDT_WORKS): Likewise.
376 (__ASSUME_O_DIRECTORY): Likewise.
377 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
378 architecture but not kernel version.
379 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
380 (__ASSUME_MMAP2_SYSCALL): Likewise.
381 (__ASSUME_STAT64_SYSCALL): Likewise.
382 (__ASSUME_IPC64): Likewise.
383 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
384 <kernel-features.h>.
385 [__ASSUME_32BITUIDS]: Make code unconditional.
386 [!__ASSUME_32BITUIDS]: Remove conditional code.
387 * sysdeps/unix/sysv/linux/opendir.c: Do not include
388 <kernel-features.h>.
389 [__ASSUME_O_DIRECTORY]: Make code unconditional.
390 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
391 132096]: Remove conditional code.
392 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
393 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
394 <kernel-features.h>.
395 [__ASSUME_32BITUIDS]: Make code unconditional.
396 [!__ASSUME_32BITUIDS]: Remove conditional code.
397 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
398 <kernel-features.h>.
399 [__ASSUME_32BITUIDS]: Make code unconditional.
400 [!__ASSUME_32BITUIDS]: Remove conditional code.
401 * sysdeps/unix/sysv/linux/setegid.c: Do not include
402 <kernel-features.h>.
403 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
404 unconditional.
405 (__setresgid): Do not declare.
406 [__ASSUME_32BITUIDS]: Make code unconditional.
407 [!__ASSUME_32BITUIDS]: Remove conditional code.
408 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
409 <kernel-features.h>.
410 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
411 unconditional.
412 (__setresuid): Do not declare.
413 [__ASSUME_32BITUIDS]: Make code unconditional.
414 [!__ASSUME_32BITUIDS]: Remove conditional code.
415 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
416 <kernel-features.h>.
417 [__ASSUME_32BITUIDS]: Make code unconditional.
418 [!__ASSUME_32BITUIDS]: Remove conditional code.
419 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
420 <kernel-features.h>.
421 [__ASSUME_32BITUIDS]: Make code unconditional.
422 [!__ASSUME_32BITUIDS]: Remove conditional code.
423
a386f1cc
RH
4242012-05-25 Richard Henderson <rth@twiddle.net>
425
426 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
427 dl_hwcap to ifunc resolver.
428 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
429 elf_ifunc_invoke.
430 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
431 dl_hwcap to ifunc resolver.
432 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
433
b6550497
JM
4342012-05-24 Joseph Myers <joseph@codesourcery.com>
435
436 [BZ #14153]
437 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
438 for |x| <= 2**-26, not 2**-57.
439 * math/libm-test.inc (acos_test): Do not allow spurious underflow
440 exception.
441
b0bc23a1
JL
4422012-05-24 Jeff Law <law@redhat.com>
443
444 * stdio-common/Makefile (tests): Add bug25.
445 * stdio-common/bug25.c: New test.
446
347c92e9
L
4472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
448
449 [BZ #13576]
450 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
451 multiple of MALLOC_ALIGNMENT in size.
452 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
453
6bcc8b3f
JM
4542012-05-24 Joseph Myers <joseph@codesourcery.com>
455
456 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
457 Require >= 256.
458 (FILENAME_MAX): Use macro-int-constant.
459 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
460 (_IOFBF): Use macro-int-constant.
461 (_IOLBF): Likewise.
462 (_IONBF): Likewise.
463 (SEEK_CUR): Likewise.
464 (SEEK_END): Likewise.
465 (SEEK_SET): Likewise.
466 (TMP_MAX): Likewise.
467 (EOF): Use macro-int-constant. Require < 0.
468 (NULL): Use macro-constant. Require == 0.
469 (stdin): Require type to be FILE *.
470 (stdout): Likewise.
471 (stderr): Likewise.
472 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
473 macro-int-constant.
474 (EXIT_SUCCESS): Likewise.
475 (NULL): Use macro-constant. Require == 0.
476 (RAND_MAX): Use macro-int-constant.
477 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
478 [C99-based standards] (strtof): Require function.
479 [C99-based standards] (strtold): Likewise.
480 [C99-based standards] (strtoll): Likewise.
481 [C99-based standards] (strtoull): Likewise.
482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
483 [ISO || ISO99 || ISO11] (limits.h): Likewise.
484 [ISO || ISO99 || ISO11] (math.h): Likewise.
485 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
486 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
487 [ISO || ISO99 || ISO11] (*_t): Do not allow.
488
d18ea0c5
AS
4892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
490
491 [BZ #14132]
56d25bb8
AS
492 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
493 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
494 * intl/dgettext.c (DCGETTEXT): Likewise.
495 * intl/gettext.c (DCGETTEXT): Likewise.
496 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
497 * posix/regex_internal.h (gettext): Likewise.
498 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
499 Remove declaration.
500 * include/argz.h (__argz_count_internal)
501 (__argz_stringify_internal): Remove declaration.
502 (__argz_count, __argz_stringify): Declare hidden proto.
503 * intl/dcgettext.c: Remove use of INTDEF.
504 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
505 * string/argz-stringify.c: Likewise.
506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
508 Declare hidden proto.
d18ea0c5
AS
509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
511 Declare hidden proto.
512 * include/stdio.h (__asprintf_internal): Don't declare.
513 (__asprintf): Don't define as macro. Declare hidden proto.
514 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
515 (__fsetlocking): Declare hidden proto.
516 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
517 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
518 hidden proto.
519 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
520 (_IO_setlinebuf): Remove use of INTUSE.
521 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
522 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
523 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
524 Remove declaration.
525 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
526 (_IO_do_flush): Remove use of INTUSE.
527 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
528 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
529 (_IO_adjust_column, _IO_least_wmarker)
530 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
531 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
532 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
533 (_IO_default_doallocate, _IO_wdefault_doallocate)
534 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
535 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
536 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
537 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
538 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
539 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
540 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
541 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
542 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
543 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
544 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
545 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
546 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
547 proto.
548 (_IO_flush_all_internal, _IO_adjust_column_internal)
549 (_IO_default_uflow_internal, _IO_default_finish_internal)
550 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
551 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
552 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
553 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
554 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
555 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
556 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
557 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
558 (_IO_file_close_internal, _IO_file_close_it_internal)
559 (_IO_file_underflow_internal, _IO_file_overflow_internal)
560 (_IO_file_init_internal, _IO_file_attach_internal)
561 (_IO_file_fopen_internal, _IO_file_read_internal)
562 (_IO_file_sync_internal, _IO_file_seek_internal)
563 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
564 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
565 (_IO_str_underflow_internal, _IO_str_overflow_internal)
566 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
567 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
568 (_IO_list_all_internal, _IO_link_in_internal)
569 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
570 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
571 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
572 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
573 (_IO_do_write_internal, _IO_padn_internal)
574 (_IO_getline_info_internal, _IO_getline_internal)
575 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
576 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
577 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
578 (_IO_vfscanf_internal, _IO_vfprintf_internal)
579 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
580 (_IO_init_internal, _IO_un_link_internal): Don't declare.
581 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
582 with libc_hidden_ver, remove use of INTUSE.
583 * libio/genops.c: Likewise.
584 * libio/freopen.c: Likewise.
585 * libio/freopen64.c: Likewise.
586 * libio/iofclose.c: Likewise.
587 * libio/iofdopen.c: Likewise.
588 * libio/iofflush.c: Likewise.
589 * libio/iofflush_u.c: Likewise.
590 * libio/iofgets.c: Likewise.
591 * libio/iofgets_u.c: Likewise.
592 * libio/iofopen.c: Likewise.
593 * libio/iofopncook.c: Likewise.
594 * libio/iofread.c: Likewise.
595 * libio/iofread_u.c: Likewise.
596 * libio/ioftell.c: Likewise.
597 * libio/iofwrite.c: Likewise.
598 * libio/iogetline.c: Likewise.
599 * libio/iogets.c: Likewise.
600 * libio/iogetwline.c: Likewise.
601 * libio/iopadn.c: Likewise.
602 * libio/iopopen.c: Likewise.
603 * libio/ioseekoff.c: Likewise.
604 * libio/ioseekpos.c: Likewise.
605 * libio/iosetbuffer.c: Likewise.
606 * libio/iosetvbuf.c: Likewise.
607 * libio/ioungetc.c: Likewise.
608 * libio/ioungetwc.c: Likewise.
609 * libio/iovdprintf.c: Likewise.
610 * libio/iovsprintf.c: Likewise.
611 * libio/iovsscanf.c: Likewise.
612 * libio/memstream.c: Likewise.
613 * libio/obprintf.c: Likewise.
614 * libio/oldfileops.c: Likewise.
615 * libio/oldiofclose.c: Likewise.
616 * libio/oldiofdopen.c: Likewise.
617 * libio/oldiofopen.c: Likewise.
618 * libio/oldiopopen.c: Likewise.
619 * libio/oldstdfiles.c: Likewise.
620 * libio/putc.c: Likewise.
621 * libio/setbuf.c: Likewise.
622 * libio/setlinebuf.c: Likewise.
623 * libio/stdfiles.c: Likewise.
624 * libio/strops.c: Likewise.
625 * libio/vasprintf.c: Likewise.
626 * libio/vscanf.c: Likewise.
627 * libio/vsnprintf.c: Likewise.
628 * libio/vswprintf.c: Likewise.
629 * libio/wfiledoalloc.c: Likewise.
630 * libio/wfileops.c: Likewise.
631 * libio/wgenops.c: Likewise.
632 * libio/wmemstream.c: Likewise.
633 * libio/wstrops.c: Likewise.
634 * libio/__fpurge.c: Likewise.
635 * libio/__fsetlocking.c: Likewise.
636 * assert/assert.c: Likewise.
637 * debug/fgets_chk.c: Likewise.
638 * debug/fgets_u_chk.c: Likewise.
639 * debug/fread_chk.c: Likewise.
640 * debug/fread_u_chk.c: Likewise.
641 * debug/gets_chk.c: Likewise.
642 * debug/obprintf_chk.c: Likewise.
643 * debug/vasprintf_chk.c: Likewise.
644 * debug/vdprintf_chk.c: Likewise.
645 * debug/vsnprintf_chk.c: Likewise.
646 * debug/vsprintf_chk.c: Likewise.
647 * malloc/mtrace.c: Likewise.
648 * misc/error.c: Likewise.
649 * misc/syslog.c: Likewise.
650 * stdio-common/asprintf.c: Likewise.
651 * stdio-common/fxprintf.c: Likewise.
652 * stdio-common/getw.c: Likewise.
653 * stdio-common/isoc99_fscanf.c: Likewise.
654 * stdio-common/isoc99_scanf.c: Likewise.
655 * stdio-common/isoc99_vfscanf.c: Likewise.
656 * stdio-common/isoc99_vscanf.c: Likewise.
657 * stdio-common/isoc99_vsscanf.c: Likewise.
658 * stdio-common/printf-prs.c: Likewise.
659 * stdio-common/printf_fp.c: Likewise.
660 * stdio-common/printf_fphex.c: Likewise.
661 * stdio-common/printf_size.c: Likewise.
662 * stdio-common/putw.c: Likewise.
663 * stdio-common/scanf.c: Likewise.
664 * stdio-common/sprintf.c: Likewise.
665 * stdio-common/tmpfile.c: Likewise.
666 * stdio-common/vfprintf.c: Likewise.
667 * stdio-common/vfscanf.c: Likewise.
668 * stdlib/strfmon_l.c: Likewise.
669 * sunrpc/openchild.c: Likewise.
670 * sunrpc/xdr_stdio.c: Likewise.
671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
672 * sysdeps/mach/hurd/tmpfile.c: Likewise.
673
d6c33fda
RM
6742012-05-24 Roland McGrath <roland@hack.frob.com>
675
c1487492
RM
676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
677
678 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
679 in the third column, to generate for the shared library an IFUNC
680 that uses _dl_vdso_vsym.
681 * Makerules (COMPILE.c, compile-stdin.c): New variables.
682 * Makeconfig (object-suffixes-noshared): New variable.
683
684 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
685 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
686 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
687 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
688
d6c33fda
RM
689 [BZ #14132]
690 * include/sys/time.h (__gettimeofday): Remove macro.
691 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
692 * time/gettimeofday.c (__gettimeofday): Remove #undef.
693 Remove INTDEF.
694 (__gettimeofday): Add libc_hidden_def.
695 (gettimeofday): Add libc_hidden_weak.
696 * sysdeps/mach/gettimeofday.c: Likewise.
697 * sysdeps/posix/gettimeofday.c: Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
699 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
701 (__gettimeofday_internal): Remove strong_alias.
702 (__gettimeofday): Add libc_hidden_def.
703 (gettimeofday): Add libc_hidden_weak.
704 * sysdeps/unix/syscalls.list (gettimeofday):
705 Remove __gettimeofday_internal alias.
706
b5a2bbe6
L
7072012-05-24 Daniel Jacobowitz <drow@false.org>
708 H.J. Lu <hongjiu.lu@intel.com>
709
710 [BZ #12495]
711 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
712 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
713 (largebin_index_32_big): New.
714 (largebin_index): Use it for 16-byte alignment.
715 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
716 correction with front_misalign.
717
cfba4fda
L
7182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
719
7f907421
L
720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
722 Likewise.
723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
724 Likewise.
725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
726 Likewise.
727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
728 Likewise.
729 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
730 Likewise.
731 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
732 Likewise.
733 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
734 Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
736 Likewise.
737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
738 Likewise.
739 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
740 Likewise.
741 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
742 Likewise.
743 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
744 Likewise.
745
cfba4fda
L
746 * scripts/data/c++-types-x32-linux-gnu.data: New file.
747 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
748
80bad0cc
JM
7492012-05-24 Joseph Myers <joseph@codesourcery.com>
750
7a25eb06
JM
751 [BZ #10846]
752 [BZ #14036]
753 * math/libm-test.inc (exp_test): Add test from bug 14036.
754 (pow_test): Add test from bug 10846.
755
795405f9
JM
756 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
757 and other flags.
758 (special_function): Do not include flags in test name.
759 (parse_args): Likewise.
760 * sysdeps/i386/fpu/libm-test-ulps: Update.
761 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
762 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
763 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
765
80bad0cc
JM
766 * math/gen-libm-test.pl (%beautify): Add entries for underflow
767 exceptions.
768 * math/libm-test.inc ("Philosophy"): Update comment about
769 exception testing.
770 (UNDERFLOW_EXCEPTION): New macro.
771 (UNDERFLOW_EXCEPTION_OK): Likewise.
772 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
773 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
774 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
775 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
776 (INVALID_EXCEPTION_OK): Update value.
777 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
778 (OVERFLOW_EXCEPTION_OK): Likewise.
779 (IGNORE_ZERO_INF_SIGN): Likewise.
780 (test_exceptions): Handle underflow exceptions.
781 (acos_test): Update for underflow exception expectations.
782 (cexp_test): Likewise.
783 (clog_test): Likewise.
784 (clog10_test): Likewise.
785 (csqrt_test): Likewise.
786 (ctan_test): Likewise.
787 (ctanh_test): Likewise.
788 (exp_test): Likewise.
789 (exp10_test): Likewise.
790 (exp2_test): Likewise.
791 (expm1_test): Likewise.
792 (fma_test): Likewise.
793 (j0_test): Likewise.
794 (jn_test): Likewise.
795 (nexttoward_test): Likewise.
796 (pow_test): Likewise.
797 (scalbn_test): Likewise.
798 (scalbln_test): Likewise.
799 (tan_test): Likewise.
800 (y1_test): Likewise.
801 * sysdeps/i386/fpu/libm-test-ulps: Update.
802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
803
9e0e3d0b
DM
8042012-05-23 David S. Miller <davem@davemloft.net>
805
806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
807 (__libc_sigaction): Remove unused local variables.
808
ccd0a08f
L
8092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
810
811 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
812
62bdf9a6
PE
8132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
814
f8591f80
PE
815 mktime: avoid signed integer overflow
816 * time/mktime.c (__mktime_internal): Do not mishandle the case
817 where diff == INT_MIN.
818
94c7d826
PE
819 mktime: simplify computation of average
820 * time/mktime.c (ranged_convert): Use new time_t_avg function
821 instead of rolling our own (probably-slower) code.
822
ce73d683
PE
823 mktime: do not assume signed right shift propagates sign bit
824 * time/mktime.c (isdst_differ): New static function.
825 (__mktime_internal): No need to normalize tm_isdst now.
826 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
827 tm_isdst values.
828
72a22e59
PE
829 mktime: merge another wrapv change from gnulib
830 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
831 from some compilers.
832
68605433
PE
833 mktime: remove incorrect attempt at unusual arithmetics
834 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
835 The code didn't really work on such machines anyway.
836 (TYPE_MINIMUM): Assume two's complement.
837 (twos_complement_arithmetic): Verify that long_int and time_t
838 are two's complement (or unsigned, in the latter case).
839
03cf7fe3
PE
840 mktime: check signed shifts on long_int and time_t, too
841 * time/mktime.c (SHR): Check that shifts work as desired
842 on the types long_int and time_t too, as SHR is used on
843 such types.
844
f04dfbc2
PE
845 mktime: do not assume 'long' is wide enough
846 * time/mktime.c (verify): Move decl up.
847 (long_int): New type.
848 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
849 to remove assumption in the code that 'long' is wide enough to
850 store year values. This assumption is not true on x32 and on
851 some non-glibc platforms.
852
62bdf9a6
PE
853 mktime: merge wrapv change from gnulib
854 * time/mktime.c (WRAPV): New macro.
855 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
856 (guess_time_tm, __mktime_internal): Do not assume that signed
857 integer overflow wraps around; modern compilers generate code
858 where this assumption is no longer valid.
859
5e292e4f
L
8602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
861
862 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
863 Replace "jmp L(pseudo_end)" with "ret".
864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
865 Likewise.
866
8caf8c87
AJ
8672012-05-23 Andreas Jaeger <aj@suse.de>
868
869 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
870 * sysdeps/unix/sysv/linux/poll.c: Remove file.
871
1a09dc56
AJ
8722012-05-23 Andreas Jaeger <aj@suse.de>
873 Maximilian Attems <max@stro.at>
874
875 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
876 New macros.
877
1c87aba0
L
8782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
879
880 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
881 code so that pseudo_end is just ret and the stack pointer is
882 correct also for static library in error case.
883
40e45bd5
JM
8842012-05-23 Joseph Myers <joseph@codesourcery.com>
885
c2670533
JM
886 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
887 move to syscalls.list.
888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
892
40e45bd5
JM
893 * manual/install.texi (Running make install): Do not mention Linux
894 kernel version for which pt_chown is not needed.
895 (Linux): Do not mention problems with nscd with 2.0 kernels.
896 * INSTALL: Regenerated.
897
be08eda5
AJ
8982012-05-23 Andreas Jaeger <aj@suse.de>
899
900 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
901 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
902 macro.
903 * sysdeps/unix/sysv/linux/s390/bits/mman.h
904 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
905 * sysdeps/unix/sysv/linux/sh/bits/mman.h
906 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
907 * sysdeps/unix/sysv/linux/i386/bits/mman.h
908 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
910 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
911 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
912 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
913 * sysdeps/unix/sysv/linux/bits/in.h
914 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
915
a6a056bb
RM
9162012-05-22 Roland McGrath <roland@hack.frob.com>
917
918 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
919 (PREPARE_VERSION): Just use assert instead, it will be elided
920 under [NDEBUG] anyway.
921
c9009328
L
9222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
923
924 * sysdeps/unix/sysv/linux/Makefile: Include
925 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 926 (sysdep_routines): Remove sysctl.
c9009328
L
927 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
928 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
929 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
930 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
931 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
932
73338355
AJ
9332012-05-22 Andreas Jaeger <aj@suse.de>
934
935 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
936 that pseudo_end is just ret and the stack pointer is correct also
937 for static library in error case.
938
d44638b0
PP
9392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
940
941 [BZ #14122]
942 * nss/nsswitch.c (defconfig_entries): New variable.
943 (__nss_database_lookup): Don't leak defconfig entries.
944 (nss_parse_service_list): Don't leak on error paths.
945 (free_database_entries): New function.
946 (free_defconfig): New function.
947 (free_mem): Move common code to free_database_entries.
948
31a39bd8
L
9492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
950
da0331a8
L
951 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
952 Add arch_prctl.
953 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
954
31a39bd8
L
955 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
956 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
958 New macro.
959 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
960 (INTERNAL_SYSCALL_TYPES): Likewise.
961 (LOAD_ARGS_TYPES_[1-6]): Likewise.
962 (LOAD_REGS_TYPES_[1-6]): Likewise.
963 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
964 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
965
45470df3
AZ
9662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
967
968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
969 copysignl for GLIBC_2_0.
970 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
971 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
972 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
973 logbl for GLIBC_2_0.
974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
975 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
976
98a61bcb
L
9772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
978
a4f6e481
L
979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
980 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
981
f63d5db6
L
982 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
983 Use "neg %eax".
984
98a61bcb
L
985 * time/mktime.c: Update copyright years.
986
95770f14
PE
9872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
988
6226efbd
PE
989 mktime: merge comment-quoting-style change from gnulib
990 * time/mktime.c: Quote 'like this' in comments.
991 The GNU coding standards suggest that we no longer quote `like this',
992 as "`" and "'" are typically rendered asymmetrically nowadays.
993 The typical gnulib style is to quote 'like this' when quoting
994 code, and "like this" when quoting English.
995
b99e4f78
PE
996 * time/mktime.c (compile-command): Add "-I.".
997
643e01e6
PE
998 mktime: merge mktime-internal.h change from gnulib
999 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1000
2554247d
PE
1001 mktime: merge time_r change from gnulib
1002 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1003
826dd0ab
PE
1004 mktime: merge DEBUG change from gnulib
1005 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1006 case system <time.h> has a #define.
1007
bd83aabe
PE
1008 mktime: merge <sys/types.h> change from gnulib
1009 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1010 since <time.t> is now guaranteed to define time_t.
1011
95770f14
PE
1012 mktime: merge HAVE_CONFIG_H change from gnulib
1013 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1014
5e1a27a9
L
10152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1016
0e44a77e
L
1017 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1018 Use "neg %eax".
1019
5e1a27a9
L
1020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1021 __rlim_t cast.
1022 (struct rusage): Use anonymous union to pad each field to
1023 __syscall_slong_t.
1024
46259bec
DM
10252012-05-21 David S. Miller <davem@davemloft.net>
1026
1027 * Makefules (o-iterator): Remove .s cases.
1028 (compile-command.s): Delete.
1029 (COMPILE.s): Delete.
1030 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1031
59f0c22e
JM
10322012-05-21 Joseph Myers <joseph@codesourcery.com>
1033
1034 * configure.in (libc_cv_predef_stack_protector): Only consider
1035 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1036 * configure: Regenerated.
1037
20c07380
L
10382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1039
bbb3154b
L
1040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1041 New macro. Use R*LP on int and pointer.
1042 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1043 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1044 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1045 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1046
20c07380
L
1047 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1048 [__WORDSIZE_TIME64_COMPAT32] instead of
1049 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1050 (struct utmp): Likewise.
1051 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1052 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1053 Renamed to ...
1054 (__WORDSIZE_TIME64_COMPAT32): This.
1055 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1056 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1057 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1058 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1059 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1060 (__WORDSIZE_TIME64_COMPAT32): New macro.
1061
d8d1017e
AJ
10622012-05-21 Andreas Jaeger <aj@suse.de>
1063
1064 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1065 only if [SHARED]. Add prototype for __wcschr_ia32.
1066
6c7fb145
RM
10672012-05-21 Roland McGrath <roland@hack.frob.com>
1068
1069 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1070 of %rbp unmolested in the jmp_buf while mangling the low bits.
1071 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1072 unmolested high bits of %rbp while demangling the low bits.
1073 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1074
66274218
AJ
10752012-05-21 Andreas Jaeger <aj@suse.de>
1076
07c58f8f
AJ
1077 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1078 * sunrpc/svc_simple.c: Use it for registerrpc.
1079 * sunrpc/xcrypt.c: Use it for passwd2des.
1080
66274218
AJ
1081 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1082
61f65140
L
10832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1086 Don't define if [__SYSCALL_WORDSIZE != 32].
1087 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1088 New macro.
1089
5fefb436
AJ
10902012-05-21 Bruno Haible <bruno@clisp.org>
1091 Andreas Jaeger <aj@suse.de>
1092
1093 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1094 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1095 inptr and inend for must_buffer_ch.
1096 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1097 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1098 * stdio-common/Makefile (tests): Remove bug15.
1099 (bug15-ENV): Remove macro.
1100 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1101 anymore.
1102
d8e272ab
AJ
11032012-05-19 Andreas Jaeger <aj@suse.de>
1104 Roland McGrath <roland@hack.frob.com>
1105
1106 * manual/contrib.texi: Completely rewritten. It contains now an
1107 alphabetical list of contributors and their contributions.
1108
4a56a162
RH
11092012-05-21 Richard Henderson <rth@twiddle.net>
1110
1111 * misc/getauxval.c (__getauxval): Use unsigned long int.
1112 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1113 (getauxval): Use unsigned long int.
1114
d024d23c
L
11152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1116
1117 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1118
cbc00a03
RM
11192012-05-21 Roland McGrath <roland@hack.frob.com>
1120
1121 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1122 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1123 __alignof__ (long double).
1124
478143fa
AZ
11252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1126
1127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1128
c7683a6d
RH
11292012-05-20 Richard Henderson <rth@twiddle.net>
1130
1131 * misc/getauxval.c: New file.
1132 * misc/sys/auxv.h: New file.
1133 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1134 (routines): Add getauxval.
1135 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1136 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1137 * elf/dl-sysdep.c (_dl_auxv): Remove.
1138 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1139 * elf/dl-support.c (_dl_auxv): New variable.
1140 (_dl_aux_init): Initialize it.
1141 * manual/startup.texi (Auxiliary Vector): New node.
1142 * sysdeps/generic/bits/hwcap.h: New file.
1143 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1144 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1145 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1146 * sysdeps/sparc/sysdep.h: ... here. Include it.
1147 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1148 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1150 Update.
c7683a6d
RH
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1154 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1159
a6f1845d
AZ
11602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1163
cbcbe830
DM
11642012-05-19 David S. Miller <davem@davemloft.net>
1165
1166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1167
e0b16cc2
JM
11682012-05-19 Joseph Myers <joseph@codesourcery.com>
1169
1170 [BZ #14123]
1171 * math/s_ccosh.c: Include <float.h>
1172 (__ccosh): Avoid internal overflow calculating sinh and cosh
1173 values before multiplying by sin and cos values.
1174 * math/s_ccoshf.c: Likewise.
1175 * math/s_ccoshl.c: Likewise.
1176 * math/s_csin.c: Likewise.
1177 * math/s_csinf.c: Likewise.
1178 * math/s_csinl.c: Likewise.
1179 * math/s_csinh.c: Likewise.
1180 * math/s_csinhf.c: Likewise.
1181 * math/s_csinhl.c: Likewise.
1182 * math/libm-test.inc (ccos_test): Add more tests.
1183 (ccosh_test): Likewise.
1184 (csin_test): Likewise.
1185 (csinh_test): Likewise.
1186 * sysdeps/i386/fpu/libm-test-ulps: Update.
1187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1188
6ad13e08
L
11892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1190
f66f0ce8
L
1191 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1192 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1193
6ad13e08
L
1194 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1195
b1d072a7
JM
11962012-05-19 Joseph Myers <joseph@codesourcery.com>
1197
1198 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1199 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1200 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1201 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1202 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1203 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1204 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1205 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1206 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1207 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1208 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1209 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1210 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1211 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1212 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1213 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1214 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1215 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1216 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1217 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1218 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1219 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1220 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1221 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1222 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1223 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1224 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1225 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1226 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1227 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1228 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1229
9eae47cb
AJ
12302012-05-18 Andreas Jaeger <aj@suse.de>
1231
1232 * csu/.gitignore: Delete.
1233
bb07f69f
L
12342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1237 (timex): Use __syscall_slong_t.
1238
e6bdb741
AJ
12392012-05-18 Andreas Jaeger <aj@suse.de>
1240 Carlos O'Donell <carlos_odonell@mentor.com>
1241
1242 * manual/install.texi (Configuring and compiling): Update
1243 description about files modified in the source directory.
d6c33fda 1244 * INSTALL: Regenerated.
e6bdb741 1245
1b74487e
L
12462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1249 value. Use "or" to set return value to -1.
1250 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1251 negate return value.
1252
a88b64b9
TMQMF
12532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1254
1255 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1256 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1257 failure if the compiler has Graphite support disabled.
1258 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1259 Likewise.
1260 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1261 CFLAGS-memmove.c): Likewise.
1262 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1263 Likewise.
1264
3707636e
L
12652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1266
610b8622
L
1267 * sysdeps/x86_64/x32/_itoa.h: New file.
1268
7cd195df
L
1269 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1270 getdents system call only if kernel and user dirents have the
1271 same d_ino and d_off.
1272
94b07d20
L
1273 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1274 LLONG_MAX != LONG_MAX.
1275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1276 (_fitoa_word): Likewise.
1277
18298070
L
1278 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1279 years.
1280 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1281 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1282 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1283
553c7ea4
L
1284 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1285 include <bits/wordsize.h>. Check __x86_64__ instead of
1286 __WORDSIZE.
1287 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1288 if __x86_64__ is defined. Use anonymous union on fpstate.
1289
3707636e
L
1290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1291 anonymous union.
1292
b53ef01a
AS
12932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1294
37fb1dc0
AS
1295 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1296 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1297 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1298 Refer to _rtld_local_ro instead of _rtld_global_ro.
1299 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1300 Likewise.
1301 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1302 Likewise.
1303 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1304 Likewise.
1305 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1306 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1307 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1308
b53ef01a
AS
1309 * sysdeps/powerpc/powerpc32/dl-machine.c
1310 (__elf_machine_runtime_setup) [PROF]: Don't reference
1311 _dl_prof_resolve.
1312
7a185db2
AJ
13132012-05-18 Andreas Jaeger <aj@suse.de>
1314
1315 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1316 function only available for GCCs before 3.4 since GCC 3.4
1317 introduced a builtin.
1318 (lrint): Likewise.
1319 (llrintf): Likewise.
1320 (llrint): Likewise.
1321 (fmaxf): Likewise.
1322 (fmax): Likewise.
1323 (fminf): Likewise.
1324 (fmin): Likewise.
1325 (rint): Likewise.
1326 (rintf): Likewise.
1327 (nearbyint): Likewise.
1328 (nearbyintf): Likewise.
1329 (ceil): Likewise.
1330 (ceilf): Likewise.
1331 (floor): Likewise.
1332 (floorf): Likewise.
1333
3e5aef87
L
13342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1335
428bd707
L
1336 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1337 on both fields and cast pointer to __syscall_ulong_t.
1338
3e5aef87
L
1339 * bits/types.h (__fsword_t): New type.
1340 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1341 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1342 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1343 (__FSWORD_T_TYPE): Likewise.
1344 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1345 (__FSWORD_T_TYPE): Likewise.
1346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1347 (__FSWORD_T_TYPE): Likewise.
1348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1349 (__FSWORD_T_TYPE): Likewise.
1350 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1351 __SWORD_TYPE with __fsword_t.
1352 (statfs64): Likewise.
1353
1ba7c3dc
DM
13542012-05-17 David S. Miller <davem@davemloft.net>
1355
1356 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1357
59910343
AJ
13582012-05-17 Andreas Jaeger <aj@suse.de>
1359
1360 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1361 warning.
1362
2e4c1e9e
L
13632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1364
1365 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1366
de7f5ce7
AJ
13672012-05-17 Andreas Jaeger <aj@suse.de>
1368
1369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1370 when it is used.
1371
286abc3d
CM
13722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1373
1374 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1375
477cc68e
L
13762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1377
1378 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1379 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1380
1a0994f5
CD
13812012-05-17 Andreas Jaeger <aj@suse.de>
1382 Carlos O'Donell <carlos_odonell@mentor.com>
1383
1384 [BZ #14059]
1385 * sysdeps/x86_64/multiarch/init-arch.h
1386 (bit_YMM_Usable): Rename to...
1387 (bit_AVX_Usable): ... this.
1388 (bit_FMA4_Usable): New macro.
1389 (bit_XMM_state): New macro.
1390 (bit_YMM_state): New macro.
1391 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1392 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1393 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1394 (CPUID_OSXSAVE): New macro.
1395 (CPUID_AVX): New macro.
1396 (CPUID_FMA4): New macro.
1397 (index_YMM_Usable): Rename to...
1398 (index_AVX_Usable): ... this.
1399 (HAS_AVX): Use HAS_ARCH_FEATURE.
1400 (HAS_FMA4): Likewise.
1401 (HAS_YMM_USABLE): Remove.
1402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1403 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1404 are present.
1405 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1406 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1407 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1408 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1409 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1410
0af797de
CM
14112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1412
1413 * math/libm-test.c: Support platforms without multiple rounding modes.
1414 * math/bug-nextafter.c: Support platforms without FP exceptions.
1415 * math/bug-nexttoward.c: Likewise.
1416 * math/test-fenv.c: Likewise.
1417 * math/test-misc.c: Likewise.
1418 * stdlib/bug-getcontext.c: Likewise.
1419
e39745ff
AJ
14202012-05-17 Andreas Jaeger <aj@suse.de>
1421
1422 * manual/examples/search.c (critter_cmp): Change signature to
1423 avoid warnings.
1424 * manual/string.texi (Collation Functions): Likewise.
1425
48970aba
L
14262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1427
1428 * bits/types.h: Fold copyright years.
1429 * bits/typesizes.h: Likewise.
1430 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1431 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1432 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1433 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1434 * time/time.h: Likewise.
1435
bedee953
PP
14362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1437
1438 [BZ #208]
1439 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1440 in instead of returning them. Return void.
1441 (__libc_mallinfo): Accumulate over all arenas.
1442 (__malloc_stats): Adjust for change in int_mallinfo interface.
1443
61653dfb
RM
14442012-05-16 Roland McGrath <roland@hack.frob.com>
1445
30b99d79
RM
1446 [BZ #10375]
1447 * configure.in (NM): Add AC_CHECK_TOOL for it.
1448 (libc_extra_cflags): New substituted variable.
1449 Check for -fstack-protector being used implicitly.
1450 * configure: Regenerated.
1451 * config.make.in (config-extra-cflags): New variable,
1452 gets @libc_extra_cflags@.
1453 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1454
61653dfb
RM
1455 [BZ #10375]
1456 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1457 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1458 * configure: Regenerated.
1459 * config.make.in (CPPUNDEFS): New substituted variable.
1460 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1461 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1462 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1463
661768bb
L
14642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1465
1466 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1467 (mq_attr): Use __syscall_slong_t.
1468
d4261567
L
14692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1470
1471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1472 Check __x86_64__ instead of __WORDSIZE.
1473 (_STAT_VER_LINUX): Likewise.
1474 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1475 __syscall_ulong_t and __syscall_slong_t.
1476 (stat64): Likewise.
1477
cf3ff365
L
14782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1479
1480 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1481
76cf3e4d
L
14822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1485
a637753a
L
14862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1487
1488 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1489 __syscall_ulong_t.
1490
d5e05119
L
1491 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1492 include <bits/wordsize.h>. Check __x86_64__ instead of
1493 __WORDSIZE.
1494 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1495 defined.
1496 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1497
f62ee380
L
1498 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1499 include <bits/wordsize.h>. Check __x86_64__ instead of
1500 __WORDSIZE.
1501 (user_regs_struct): Use "__extension__ unsigned long long"
1502 instead of "unsigned long" if __x86_64__ is defined.
1503 (user): Likewise. Pad after pointer field if __ILP32__ is
1504 defined.
1505
4e124ced
JM
15062012-05-16 Joseph Myers <joseph@codesourcery.com>
1507
6a3951a0
JM
1508 * configure.in (makeinfo): Require version 4.5 or later. Allow
1509 versions 5 to 9.
1510 * configure: Regenerated.
1511 * manual/install.texi (texinfo): Increase version requirement to
1512 4.5 or later.
1513 * INSTALL: Regenerated.
1514
4e124ced
JM
1515 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1516
953ca31a
L
15172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1520
617aca05
L
1521 * sysdeps/x86_64/x32/ffs.c: New file.
1522
5762f7ae
L
1523 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1524 __syscall_ulong_t.
1525 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1526 defined. Use __syscall_ulong_t.
1527 (shminfo): Use __syscall_ulong_t.
1528 (shm_info): Likewise.
1529
a26b6856
L
1530 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1531 __syscall_ulong_t.
1532
cb2b9ef7
L
1533 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1534 <bits/wordsize.h>.
1535 (msgqnum_t): Use __syscall_ulong_t.
1536 (msglen_t): Likewise.
1537 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1538 __syscall_ulong_t.
1539
34683bb0
L
1540 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1541 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1542
84a68786
L
1543 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1544
48baa5f1
L
1545 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1546 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1547
180be88b
L
1548 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1549 __syscall_slong_t.
1550
5e90c8ad
L
1551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1552 include <bits/wordsize.h>. Check __x86_64__ instead of
1553 __WORDSIZE.
1554
23dfb58b
L
1555 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1556 "unsigned long long int" if __x86_64__ is defined.
1557 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1558
ce5d54b0
L
1559 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1560 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1561 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1562
13dc9eac
L
1563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1564 <stdint.h>.
1565 (GET_PC): Cast to uintptr_t first.
1566 (GET_FRAME): Likewise.
1567 (GET_STACK): Likewise.
1568
a7895d15
L
1569 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1570 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1571 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1572 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1573 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1574 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1575 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1576 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1577 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1578 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1579 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1580 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1582 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1583 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1584 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1585 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1586 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1587 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1589 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1591 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1593 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1595 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1596 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1598
656416c9
AS
15992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1600
5bd66283
AS
1601 * Makerules (+depfiles): Also collect depfiles from .oS in
1602 $(extra-objs).
1603 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1604 .oS, $(libnldbl-routines)).
1605
656416c9
AS
1606 * Makerules (native-compile-mkdep-flags): Define.
1607 * sunrpc/Makefile (extra-objs): Add $(addprefix
1608 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1609 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1610 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1611 calling $(make-target-directory).
1612
a46f2169
L
16132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1614
1615 * bits/types.h (__snseconds_t): Removed.
1616 * time/time.h (struct timespec): Replace __snseconds_t with
1617 __syscall_slong_t.
1618 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1619 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1620 Likewise.
1621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1622 (__SNSECONDS_T_TYPE): Likewise.
1623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1624 (__SNSECONDS_T_TYPE): Likewise.
1625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1626 (__SNSECONDS_T_TYPE): Likewise.
1627
6af6528b
L
16282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * sysdeps/mach/hurd/bits/typesizes.h
1631 (__SYSCALL_SLONG_TYPE): New macro.
1632 (__SYSCALL_ULONG_TYPE): Likewise.
1633
de986b56
L
16342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1635
1636 * bits/types.h (__syscall_slong_t): New type.
1637 (__syscall_ulong_t): Likewise.
1638
1639 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1640 (__SYSCALL_ULONG_TYPE): Likewise.
1641 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1642 (__SYSCALL_SLONG_TYPE): Likewise.
1643 (__SYSCALL_ULONG_TYPE): Likewise.
1644 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1645 (__SYSCALL_SLONG_TYPE): Likewise.
1646 (__SYSCALL_ULONG_TYPE): Likewise.
1647 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1648 (__SYSCALL_SLONG_TYPE): Likewise.
1649 (__SYSCALL_ULONG_TYPE): Likewise.
1650
85736dc7
L
16512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1652
1653 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1654 Add sigaltstack-offsets.sym.
1655 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1656 <sigaltstack-offsets.h>.
1657 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1658 longjmp_msg pointer.
1659 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1660 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1661 signal stack.
1662 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1663
cc03b296
JM
16642012-05-15 Joseph Myers <joseph@codesourcery.com>
1665
a9538892
JM
1666 * elf/stackguard-macros.h: Remove file.
1667 * sysdeps/generic/stackguard-macros.h: New file.
1668 * sysdeps/i386/stackguard-macros.h: Likewise.
1669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1675 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1676 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1677 <elf/stackguard-macros.h>.
1678
cc03b296
JM
1679 [BZ #14109]
1680 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1681 __aligned__ in attribute.
1682 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1683 (gregset_t): Likewise.
1684
93171016
L
16852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1686
1687 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1688 * sysdeps/x86_64/64/Implies-after: Here. New file.
1689 * sysdeps/x86_64/x32/Implies-after: New file.
1690
d86813a0
L
16912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1692
1693 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1694 and access return value for _dl_profile_fixup. Use R10_LP to
1695 load frame size.
1696
2953ec75
L
16972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1698
1699 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1700
3b550e9e
L
17012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1702
1703 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1704 * sysdeps/x86_64/x32/sysdep.h: New file.
1705
eda41706
L
17062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1707
1708 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1709 * sysdeps/x86_64/setjmp.S: Likewise.
1710
9ea01d93
AZ
17112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1712
1713 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1715 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1716 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1717 remove unused global constant.
1718
02a91938
CM
17192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1720
1721 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1722 include of <not-cancel.h>.
1723
6540185f
RM
17242012-05-15 Roland McGrath <roland@hack.frob.com>
1725
1726 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1727
509072a0
AJ
17282012-05-15 Jeff Law <law@redhat.com>
1729 Andreas Jaeger <aj@suse.de>
1730
1731 [BZ #13594]
1732 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1733 out from...
1734 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1735 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1736 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1737 code changing __hst_map_handle.map.
1738
ba75122d
RM
17392012-05-15 Roland McGrath <roland@hack.frob.com>
1740
1741 * configure.in (sysnames): Look for Implies-before and Implies-after
1742 files.
1743 * configure: Regenerated.
1744
890d8bd8
L
17452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1746
1747 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1748 8-byte data alignment with LP_SIZE alignment.
1749
f6ee6623
L
17502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1751
1752 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1753 into R10_LP.
1754
ea2626f6
L
17552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1756
1757 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1758
085f715e
L
17592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1760
1761 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1762 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1763 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1764 Likewise.
1765 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1766
be8498fc
L
17672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1768
1769 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1770 (stackinfo_sub_sp): Likewise.
1771
70bc83b9
L
17722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1773
1774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1775 RAX_LP.
1776
9bc0b730
L
17772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1778
1779 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1780 into R*_LP.
1781
6d2850e7
L
17822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1783
1784 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1785 sizes into R*_LP.
1786
3cb84561
L
17872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1788
1789 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1790
54e2ed81
L
17912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1792
1793 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1794 into R11_LP and load __x86_64_shared_cache_size_half into
1795 R8_LP.
1796
8a17f349
L
17972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1798
1799 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1800 R8_LP.
1801
777b1eea
AZ
18022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1805 logb for POWER7.
1806 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1807 logbf for POWER7.
1808 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1809 logbl for POWER7.
1810 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1811 powerpc32/power7/fpu/s_logb.c via #include.
1812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1813 powerpc32/power7/fpu/s_logbf.c via #include.
1814 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1815 powerpc32/power7/fpu/s_logbl.c via #include.
1816
d20d4ac2
JM
18172012-05-15 Joseph Myers <joseph@codesourcery.com>
1818
1819 * README.libm: Remove file.
1820
6cdef1ab
L
18212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1822
1823 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1824 count for x32. Use R*_LP and omit operand-size suffix.
1825
0b254d8f
L
18262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1829 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1830 * sysdeps/x86_64/x32/shlib-versions: New file.
1831
ceb809dc
RM
18322012-05-14 Roland McGrath <roland@hack.frob.com>
1833
1834 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1835 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1836 Use _dl_fatal_printf instead.
1837
37f1abd4
JM
18382012-05-14 Joseph Myers <joseph@codesourcery.com>
1839
1840 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1841 set if not set by the user. Do not allow for being unset.
1842 * sysdeps/unix/sysv/linux/configure: Regenerated.
1843
11de3a33
L
18442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1845
1846 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1847 the `q' suffix from lea and replace .quad with ASM_ADDR.
1848
e02f153a
L
18492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1850
1851 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1852 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1853 instead of $17.
1854 (PTR_DEMANGLE): Likewise.
1855
520ae0fd
L
18562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1859 (LP_OP): Likewise.
1860 (ASM_ADDR): Likewise.
1861 (RAX_LP): Likewise.
1862 (RBP_LP): Likewise.
1863 (RBX_LP): Likewise.
1864 (RCX_LP): Likewise.
1865 (RDI_LP): Likewise.
1866 (RSI_LP): Likewise.
1867 (RSP_LP): Likewise.
1868 (R8_LP): Likewise.
1869 (R9_LP): Likewise.
1870 (R10_LP): Likewise.
1871 (R10_LP): Likewise.
1872 (R11_LP): Likewise.
1873 (R12_LP): Likewise.
1874 (R13_LP): Likewise.
1875 (R14_LP): Likewise.
1876 (R15_LP): Likewise.
1877
b985be81
L
18782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1879
1880 * sysdeps/x86_64/x32/dl-machine.h: New file.
1881
6a4888ff
AJ
18822012-05-14 Andreas Jaeger <aj@suse.de>
1883
1884 * manual/Makefile (subdir): Remove export of subdir.
1885 (all): Remove target.
1886 (.PHONY): Remove all from list.
1887 (mkinstalldirs): Remove.
1888 (.PHONY): Remove installdirs from list.
1889 ($(inst_infodir)/libc.info): Use make-target-directory.
1890 (installdirs): Remove.
1891 (subdir_%): Remove.
1892 (glibc-targets): Remove.
1893 (lib): Remove.
1894 (stubs): Remove.
1895 ($(objpfx)stubs ../po/manual.pot): Remove.
1896 ($(objpfx)stamp%): Remove.
1897 (make-target-directory): Remove.
1898 (subdir_install): Remove.
1899 (routines): Remove.
1900 (aux): Remove.
1901 (sources): Remove.
1902 (objects): Remove.
1903 (headers): Remove.
1904
1905 [BZ #13750]
1906 * manual/.gitignore: Remove, it's not needed anymore.
1907 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1908 all files in it.
1909 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1910 directory.
1911 (texis): Renamed to $(objpfx)texis.
1912 (texis-path): New, contains path to generated files.
1913 (chapters.%): Use texis-path for complete path, add extra argument
1914 libc-texinfo.sh.
1915 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1916 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1917 (summary,texi, stamp-summary): Use complete path of
1918 files. Generate files in build dir.
1919 (dir-add.texi): Build in build dir.
1920 (libm-err.texi,stamp-libm-err): Likewise.
1921 (version.texi, stamp-version): Likewise.
1922 (.%c.texi): Likewise.
1923 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1924 (mostlyclean): Remove target.
1925 (realclean): Remove target.
1926 (generated): Add new variable with contents from mostlyclean and
1927 realclean, remove entries duplicated in common-mostlyclean, add
1928 stamp-libm-err and stamp-version.
1929 (generated-dirs): Add libc directory.
1930 ($(inst_infodir)/libc.info): Install files from build dir.
1931
1932 * manual/install.texi (Configuring and compiling): Adjust since
1933 the info files are not part of the tar ball anymore.
1934
7ac77294
AJ
19352012-05-14 Andreas Jaeger <aj@suse.de>
1936
1937 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1938 variable.
1939
ffb7875d
JM
19402012-05-14 Joseph Myers <joseph@codesourcery.com>
1941
1942 [BZ #13717]
1943 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1944 to 2.2.0 where earlier.
1945 * sysdeps/unix/sysv/linux/configure: Regenerated.
1946 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1947 Remove conditional code.
1948 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1949 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1950 Remove conditional code.
1951 [!__NR_lchown]: Likewise.
1952 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1953 [__NR_lchown]: Likewise.
1954 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1955 comment referencing __ASSUME_LCHOWN_SYSCALL.
1956 * sysdeps/unix/sysv/linux/i386/sigaction.c
1957 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1958 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1959 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1960 Remove conditional code.
1961 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1962 (__protocol_available): Remove #if 0 code.
1963 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1964 conditional code.
1965 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1966 * sysdeps/unix/sysv/linux/kernel-features.h
1967 (__ASSUME_GETCWD_SYSCALL): Don't define.
1968 (__ASSUME_REALTIME_SIGNALS): Likewise.
1969 (__ASSUME_PREAD_SYSCALL): Likewise.
1970 (__ASSUME_PWRITE_SYSCALL): Likewise.
1971 (__ASSUME_POLL_SYSCALL): Likewise.
1972 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1973 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1974 non-SPARC.
1975 (__ASSUME_SIOCGIFNAME): Don't define.
1976 (__ASSUME_MSG_NOSIGNAL): Likewise.
1977 (__ASSUME_SENDFILE): Define unconditionally.
1978 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1979 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1980 conditional code.
1981 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1982 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1984 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1985 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1987 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2012 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2013 Remove conditional code.
2014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2015 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2016 Remove conditional code.
2017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2018 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2019 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2020 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2021 Remove conditional code.
2022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2023 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2024 Remove conditional code.
2025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2026 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2027 Remove conditional code.
2028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2029 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2030 Remove conditional code.
2031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2032 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2033 Remove conditional code.
2034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2035 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2036 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2038 * sysdeps/unix/sysv/linux/sigaction.c
2039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2041 * sysdeps/unix/sysv/linux/sigpending.c
2042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2044 * sysdeps/unix/sysv/linux/sigprocmask.c
2045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2047 * sysdeps/unix/sysv/linux/sigsuspend.c
2048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2051 (__libc_missing_rt_sigs): Remove.
2052 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2053 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2054 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2055 Remove conditional code.
2056 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2057 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2058 return 1.
2059 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2060 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2061 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2062 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2063
1bfb7291
AJ
20642012-05-14 Andreas Jaeger <aj@suse.de>
2065
caae5a81
AJ
2066 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2067 it's not used in glibc.
2068 (__coshm1): Likewise.
2069 (__acosh1p): Likewise.
2070 (__sgn): Likewise.
2071
1bfb7291
AJ
2072 * manual/string.texi (Copying and Concatenation): Add missing
2073 variable in concat example.
2074 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2075
c044d724
L
20762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2077
144c5467 2078 [BZ #14103]
c044d724
L
2079 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2080 __builtin_clzl with __builtin_clzll.
2081
2523c62b
L
20822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2083
2084 [BZ #14104]
2085 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2086 libc_freeres_ptr.
2087
d7bb4c42
LD
20882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2089
2090 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2091 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2092 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2093 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2094
9dc4e1fb
MF
20952012-05-14 Mike Frysinger <vapier@gentoo.org>
2096
2097 * NEWS: Update ia64 info.
2098
c7df0112
AS
20992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2100
2101 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2102 used as bcopy.
2103
dc70356c
TS
21042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2105
2106 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2107 * sysdeps/unix/syscalls.list (dup3): Likewise.
2108 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2109 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2110
9fb1a21f
L
21112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2114 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2115
4822a2a5
L
21162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2117
2118 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2119 thread pointer.
2120 (TLS_IE): Use mov/add instead of movq/addq to load thread
2121 pointer.
2122 (TLS_GD_PREFIX): New.
2123 (TLS_GD): Use it.
2124
842b81d6
DM
21252012-05-11 David S. Miller <davem@davemloft.net>
2126
2127 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2128 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2129 (_FPU_SETCW): Likewise.
2130
1cf463cd
L
21312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2132
2133 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2134 is 32-byte aligned.
2135
60cc4a18
AS
21362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2137
2138 [BZ #11837]
2139 * iconvdata/gb18030.c: Update tables.
2140 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2141 characters specially.
2142 (BODY for TO_LOOP): Add encoding of missing ranges.
2143
febb44a4
TS
21442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2145
2146 [BZ #13673]
2147 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2148 * sysdeps/mach/hurd/dup3.c: Likewise.
2149 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2150 * sysdeps/powerpc/memmove.c:: Likewise.
2151
0a10fb9e
L
21522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2153
2154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2155 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2156
df8a552f
L
21572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2158
2159 * elf/elf.h (R_X86_64_RELATIVE64): New.
2160 (R_X86_64_NUM): Updated.
2161 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2162 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2163 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2164 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2165 tst-quad1pie tst-quad2pie
2166 (modules-names): Add tst-quadmod1 tst-quadmod2.
2167 ($(objpfx)tst-quad1): New dependency.
2168 ($(objpfx)tst-quad2): Likewise.
2169 ($(objpfx)tst-quad1pie): Likewise.
2170 ($(objpfx)tst-quad2pie): Likewise.
2171 * sysdeps/x86_64/tst-quad1.c: New file.
2172 * sysdeps/x86_64/tst-quad1pie.c: New file.
2173 * sysdeps/x86_64/tst-quad2.c: Likewise.
2174 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2175 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2176 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2177 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2178 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2179
f34d6f84
ST
21802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2181
f42d41d1
ST
2182 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2183 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2184 * streams/stropts.h (t_scalar_t): Define type.
2185
3c3571fc
ST
2186 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2187 (_PATH_PRESERVE): Set to "/var/lib".
2188 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2189
61f06bd3
ST
2190 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2191 instead of int.
2192
918d4d71
ST
2193 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2194 if __dir_mkfile succeeded.
2195
f34d6f84
ST
2196 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2197 checking for _hurd_dtablesize. Unlock it right after having
2198 finished _hurd_dtable allocation.
2199
10589b4a
TS
22002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2201
674cdbc7
TS
2202 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2203 * sysdeps/mach/hurd/configure: Regenerated.
2204 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2205 special-casing to...
2206 * sysdeps/gnu/configure.in: ... this new file.
2207 * sysdeps/unix/sysv/linux/configure: Regenerated.
2208 * sysdeps/gnu/configure: New generated file.
2209
8e41b99f
TS
2210 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2211 for Linux: use nsec instead of usec, as well as:
2212 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2213 members of type struct timespec.
2214 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2215 New macros.
2216 (struct stat64): Likewise.
2217 (_STATBUF_ST_NSEC): New macro.
2218 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2219
10589b4a
TS
2220 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2221 __strtoul_internal rather than strtoul.
2222
63643c85
PT
22232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2224
2225 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2226 and reject them.
2227
3faebe6a
ST
22282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2229
2230 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2231 which preserves existing values.
2232 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2233
c6474b07
PT
22342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2235
2236 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2237 TIMEOUT values. Return EINVAL for NFDS values either negative or
2238 greater than FD_SETSIZE.
2239
1043890b
ST
22402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2241
2242 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2243 allocated, call __vm_protect to finish enabling the existing space, and
2244 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2245 allocate the remainder.
2246
37ed8b9b
PT
22472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2248
2249 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2250 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2251
db653660
ST
22522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2253
37ed8b9b
PT
2254 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2255 sysdeps/mach/hurd/readlink.c.
b29d4053 2256
db653660
ST
2257 * posix/tst-sysconf.c (posix_options): Only use
2258 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2259 _POSIX_SYNCHRONIZED_IO when they are defined
2260 * sysdeps/mach/hurd/bits/posix_opt.h:
2261 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2262 (_XOPEN_REALTIME): Undefine macro.
2263 (_XOPEN_REALTIME_THREADS): Undefine macro.
2264 (_XOPEN_SHM): Undefine macro.
2265 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2266 macro to -1.
2267 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2268 macro to -1.
2269 (_POSIX_ASYNC_IO): Undefine macro.
2270 (_POSIX_PRIORITIZED_IO): Undefine macro.
2271 (_POSIX_SPIN_LOCKS): Define macro to -1.
2272
ee16e894
ST
2273 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2274 SA_NODEFER, SA_RESETHAND.
2275 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2276 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2277 F_DUPFD_CLOEXEC.
2278
6103ae3b
TS
22792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2280
2281 * elf/Makefile (pldd-modules): Define unconditionally.
2282
80b4e5f3
TS
22832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2284
2285 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2286
edadcbd6
ST
22872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2288
2289 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2290 Return ENOENT when name is empty.
2291 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2292
80694780
TS
22932012-05-10 Thomas Schwinge <thomas@schwinge.name>
2294
1792c087
TS
2295 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2296
80694780
TS
2297 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2298
6b645f0d
ST
22992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2300
80694780
TS
2301 Fix mlock in all cases except non-readable pages.
2302 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2303 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2304
6b645f0d
ST
2305 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2306 (__mkdir): When path is `/', just fail with EEXIST.
2307 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2308
e468f8a3
TS
23092012-05-10 Thomas Schwinge <thomas@schwinge.name>
2310
2311 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2312 <sys/uio.h> (for writev).
2313 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2314 and <sys/param.h> (for MIN).
2315
a4186cff
PT
23162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2317
2318 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2319 REQUESTED_TIME. Properly set the remaining time and return EINTR
2320 if interrupted.
2321
510bbf14
TS
23222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2323
2324 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2325 Depend on against $(link-rpcuserlibs).
2326
5d5722e8
ST
23272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2328
a4186cff
PT
2329 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2330 (__libc_stack_end): Do not use attribute_relro.
2331 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2332 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2333 to libthread-provided value.
a4186cff
PT
2334 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2335 attribute_relro.
5d5722e8 2336
37233df9
TS
23372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2338
be971a2b
TS
2339 [BZ #3748]
2340 * bits/libc-lock.h (__libc_once_get): New macro.
2341 * sysdeps/mach/bits/libc-lock.h: Likewise.
2342 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2343 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2344 instead of using implementation details.
2345
37233df9
TS
2346 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2347 * libio/freopen.c: Likewise.
2348 * libio/freopen64.c: Likewise.
2349 * misc/syslog.c: Likewise.
2350 * nscd/connections.c: Likewise.
2351 * nscd/netgroupcache.c: Likewise.
2352 * sysdeps/posix/getcwd.c: Likewise.
2353
38de94a5
RM
23542012-05-10 Roland McGrath <roland@hack.frob.com>
2355
2356 * math/w_ilogbf.c: Add #include <limits.h>.
2357
67530489
ST
23582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2359
a4186cff 2360 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2361 path instead of returning without unlocking.
2362
67530489
ST
2363 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2364 immediate-write ioctls.
2365 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2366
5aa3a74a
TS
23672012-05-10 Thomas Schwinge <thomas@schwinge.name>
2368
18bad2ae
TS
2369 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2370 __builtin_frame_address instead of making assumptions about the
2371 location of the return address relative to DATA. Force early load of
2372 the return address.
2373 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2374 __builtin_frame_address.
2375
5aa3a74a
TS
2376 dup3 for GNU Hurd.
2377 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2378 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2379 implement dup3 and do some further code clean-ups.
2380 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2381 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2382
ecd0de9a
ST
23832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2384
cd9fa985
ST
2385 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2386
a4186cff
PT
2387 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2388 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2389 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2390 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2391 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2392 d->port.lock.
802ca5a5 2393
a4186cff
PT
2394 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2395 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2396 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2397
bcf55240
TS
23982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2399
6960eb42
TS
2400 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2401 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2402 definitions.
2403
eb43375f
TS
2404 accept4 for GNU Hurd.
2405 * include/sys/socket.h (__libc_accept4): New prototype.
2406 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2407 to implement __libc_accept4.
2408 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2409 __libc_accept4.
2410 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2411
bcf55240
TS
2412 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2413 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2414 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2415 signal-defines.sym.
2416
6178c55b
ST
24172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2418
a4186cff 2419 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2420
6f080c2f
TS
24212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2422
2423 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2424 assertion on O_CLOEXEC flag.
2425 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2426 * hurd/intern-fd.c: Likewise.
2427 * hurd/port2fd.c: Likewise.
2428
bcfe3a54
ST
24292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2430
2431 [BZ #3906]
2432 * bits/in.h (IPV6_PKTINFO): Define new macro.
2433 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2434
89c9aa49
AZ
24352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2436
2437 [BZ #13954]
2438 [BZ #13955]
2439 [BZ #13956]
2440 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2441 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2442 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2443 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2444 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2445 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2446 * math/libm-test.inc (logb_test) : Additional logb tests.
2447
021db4be
AJ
24482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2449 Andreas Jaeger <aj@suse.de>
2450
2451 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2452 * configure: Regenerated.
2453 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2454 * config.make.in (link-obsolete-rpc): New substituted variable.
2455 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2456 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2457 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2458 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2459 so that libc.a contains the symbols.
2460 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2461 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2462 * sunrpc/auth_none.c: Likewise.
2463 * sunrpc/auth_unix.c: Likewise.
2464 * sunrpc/authdes_prot.c: Likewise.
2465 * sunrpc/authuxprot.c: Likewise.
2466 * sunrpc/clnt_gen.c: Likewise.
2467 * sunrpc/clnt_perr.c: Likewise.
2468 * sunrpc/clnt_raw.c: Likewise.
2469 * sunrpc/clnt_simp.c: Likewise.
2470 * sunrpc/clnt_tcp.c: Likewise.
2471 * sunrpc/clnt_udp.c: Likewise.
2472 * sunrpc/clnt_unix.c: Likewise.
2473 * sunrpc/des_crypt.c: Likewise.
2474 * sunrpc/des_soft.c: Likewise.
2475 * sunrpc/get_myaddr.c: Likewise.
2476 * sunrpc/key_call.c: Likewise.
2477 * sunrpc/key_prot.c: Likewise.
2478 * sunrpc/netname.c: Likewise.
2479 * sunrpc/pm_getmaps.c: Likewise.
2480 * sunrpc/pm_getport.c: Likewise.
2481 * sunrpc/pmap_clnt.c: Likewise.
2482 * sunrpc/pmap_prot.c: Likewise.
2483 * sunrpc/pmap_prot2.c: Likewise.
2484 * sunrpc/pmap_rmt.c: Likewise.
2485 * sunrpc/publickey.c: Likewise.
2486 * sunrpc/rpc_cmsg.c: Likewise.
2487 * sunrpc/rpc_common.c: Likewise.
2488 * sunrpc/rpc_dtable.c: Likewise.
2489 * sunrpc/rpc_prot.c: Likewise.
2490 * sunrpc/rpc_thread.c: Likewise.
2491 * sunrpc/rtime.c: Likewise.
2492 * sunrpc/svc.c: Likewise.
2493 * sunrpc/svc_auth.c: Likewise.
2494 * sunrpc/svc_raw.c: Likewise.
2495 * sunrpc/svc_run.c: Likewise.
2496 * sunrpc/svc_tcp.c: Likewise.
2497 * sunrpc/svc_udp.c: Likewise.
2498 * sunrpc/svc_unix.c: Likewise.
2499 * sunrpc/svcauth_des.c: Likewise.
2500 * sunrpc/xcrypt.c: Likewise.
2501 * sunrpc/xdr.c: Likewise.
2502 * sunrpc/xdr_array.c: Likewise.
2503 * sunrpc/xdr_float.c: Likewise.
2504 * sunrpc/xdr_intXX_t.c: Likewise.
2505 * sunrpc/xdr_mem.c: Likewise.
2506 * sunrpc/xdr_rec.c: Likewise.
2507 * sunrpc/xdr_ref.c: Likewise.
2508 * sunrpc/xdr_sizeof.c: Likewise.
2509 * sunrpc/xdr_stdio.c: Likewise.
2510
b5c086a2
RM
25112012-05-10 Roland McGrath <roland@hack.frob.com>
2512
2513 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2514 change. Update copyright years.
2515
6d74dd09
JM
25162012-05-10 Joseph Myers <joseph@codesourcery.com>
2517
2518 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2519
28e72501
MK
25202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2521 Joseph Myers <joseph@codesourcery.com>
2522 Paul Pluzhnikov <ppluzhnikov@google.com>
2523
2524 [BZ #14012]
2525 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2526 requiring rpcgen.
2527 [cross-compiling] (extra-libs): Likewise.
2528 [cross-compiling] (extra-libs-others): Likewise.
2529 [cross-compiling] (librpcsvc-routines): Likewise.
2530 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2531 [cross-compiling] (omit-deps): Likewise.
2532 (sunrpc-CPPFLAGS): New variable.
2533 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2534 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2535 (cross-rpcgen-objs): New variable.
2536 (extra-objs): Append $(cross-rpcgen-objs).
2537 ($(cross-rpcgen-objs)): New rule.
2538 ($(objpfx)cross-rpcgen): Likewise.
2539 (rpcgen-cmd): Define to use $(built-program-file). Expand
2540 comment.
2541 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2542 ($(objpfx)x%.stmp): Likewise.
2543 * sunrpc/proto.h [IS_IN_build] (_): Define.
2544 [IS_IN_build] (_libc_intl_domainname): Likewise.
2545
c8c59454
L
25462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2547
2548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2549 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2550 and R_X86_64_TPOFF64.
2551
6f27cd16
JM
25522012-05-10 Joseph Myers <joseph@codesourcery.com>
2553
2554 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2555 sysdeps/unix/sysv/syscalls.list.
2556 (stime): Likewise.
2557 (utime): Likewise.
2558 * sysdeps/unix/sysv/syscalls.list: Remove file.
2559
02467e1c
PE
25602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2561
2562 [BZ #3440]
2563 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2564 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2565 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2566 (__LC_IDENTIFICATION): Make these macros useful in #if
2567 expressions, as required by C99.
2568
da392631
AS
25692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2570
2571 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2572 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2573 after this.
2574
8115f29b
L
25752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2576
2577 * stdlib/longlong.h: Updated from GCC.
2578
bdd74070
AJ
25792012-05-09 Andreas Jaeger <aj@suse.de>
2580
edfe0dbe
AJ
2581 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2582 default is first entry.
2583 (run_mode): Set type.
2584 (main): Remove informal message about syslog.
2585 (options): Fix typo.
2586
bcfe3a54
ST
2587 [BZ #14053]
2588 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2589 to asm.
bcfe3a54
ST
2590 (lrint): Likewise.
2591 (llrintf): Likewise.
2592 (llrint): Likewise.
2593 (rint): Likewise.
2594 (rintf): Likewise.
2595 (nearbyint): Likewise.
2596 (nearbyintf): Likewise.
bdd74070 2597
91d8d69e
AJ
25982012-05-09 Andreas Jaeger <aj@suse.de>
2599 Pedro Alves <palves@redhat.com>
2600
2601 * nscd/nscd.c (run_mode): Use enum.
2602 (main): Cleanup coding style issue.
2603
bb90b80b
AJ
26042012-05-09 Alexandre Oliva <aoliva@redhat.com>
2605 Andreas Jaeger <aj@suse.de>
2606
bcfe3a54
ST
2607 * nscd/nscd.c (go_background): Replaced with...
2608 (run_mode): ... this.
bb90b80b 2609 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2610 (options): Add -F --foreground.
2611 (main): Implement it.
2612 (parse_opt): Parse it.
bb90b80b 2613
1a4b75a1
AJ
26142012-05-09 Andreas Jaeger <aj@suse.de>
2615
2616 [BZ #14083]
2617 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2618 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2619 -Wconversion warning.
2620 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2621 Likewise.
2622
b1cc2472
JM
26232012-05-09 Joseph Myers <joseph@codesourcery.com>
2624
2625 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2626 == 0.
2627 (LC_ALL): Use macro-int-constant.
2628 (LC_COLLATE): Likewise.
2629 (LC_CTYPE): Likewise.
2630 (LC_MESSAGES): Likewise.
2631 (LC_MONETARY): Likewise.
2632 (LC_NUMERIC): Likewise.
2633 (LC_TIME): Likewise.
2634 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2635 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2637 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2638 Specify type.
2639 [C99-based standards] (float_t): Expect type.
2640 [C99-based standards] (double_t): Expect type.
2641 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2642 type.
2643 [C99-based standards] (HUGE_VALL): Likewise.
2644 [C99-based standards] (INFINITY): Likewise.
2645 [C99-based standards] (NAN): Likewise.
2646 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2647 [C99-based standards] (FP_NAN): Likewise.
2648 [C99-based standards] (FP_NORMAL): Likewise.
2649 [C99-based standards] (FP_SUBNORMAL): Likewise.
2650 [C99-based standards] (FP_ZERO): Likewise.
2651 [C99-based standards] (FP_FAST_FMA): Use
2652 optional-macro-int-constant. Specify type. Require == 1.
2653 [C99-based standards] (FP_FAST_FMAF): Likewise.
2654 [C99-based standards] (FP_FAST_FMAL): Likewise.
2655 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2656 [C99-based standards] (FP_ILOGBNAN): Likewise.
2657 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2658 Specify type.
2659 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2660 [C99-based standards] (math_errhandling): Specify type.
2661 [ISO99 || ISO11] (signgam): Do not allow.
2662 [non-C99-based standards] (copysignf): Do not allow.
2663 [non-C99-based standards] (exp2f): Likewise.
2664 [non-C99-based standards] (log2f): Likewise.
2665 [non-C99-based standards] (modff): Allow.
2666 [non-C99-based standards] (erff): Do not allow.
2667 [non-C99-based standards] (erfcf): Likewise.
2668 [non-C99-based standards] (gammaf): Likewise.
2669 [non-C99-based standards] (hypotf): Likewise.
2670 [non-C99-based standards] (j0f): Likewise.
2671 [non-C99-based standards] (j1f): Likewise.
2672 [non-C99-based standards] (jnf): Likewise.
2673 [non-C99-based standards] (lgammaf): Likewise.
2674 [non-C99-based standards] (tgammaf): Likewise.
2675 [non-C99-based standards] (y0f): Likewise.
2676 [non-C99-based standards] (y1f): Likewise.
2677 [non-C99-based standards] (ynf): Likewise.
2678 [non-C99-based standards] (isnanf): Likewise.
2679 [non-C99-based standards] (acoshf): Likewise.
2680 [non-C99-based standards] (asinhf): Likewise.
2681 [non-C99-based standards] (atanhf): Likewise.
2682 [non-C99-based standards] (cbrtf): Likewise.
2683 [non-C99-based standards] (expm1f): Likewise.
2684 [non-C99-based standards] (ilogbf): Likewise.
2685 [non-C99-based standards] (log1pf): Likewise.
2686 [non-C99-based standards] (logbf): Likewise.
2687 [non-C99-based standards] (nextafterf): Likewise.
2688 [non-C99-based standards] (remainderf): Likewise.
2689 [non-C99-based standards] (rintf): Likewise.
2690 [non-C99-based standards] (scalbf): Likewise.
2691 [non-C99-based standards] (copysignl): Likewise.
2692 [non-C99-based standards] (exp2l): Likewise.
2693 [non-C99-based standards] (log2l): Likewise.
2694 [non-C99-based standards] (modfl): Allow.
2695 [non-C99-based standards] (erfl): Do not allow.
2696 [non-C99-based standards] (erfcl): Likewise.
2697 [non-C99-based standards] (gammal): Likewise.
2698 [non-C99-based standards] (hypotl): Likewise.
2699 [non-C99-based standards] (j0l): Likewise.
2700 [non-C99-based standards] (j1l): Likewise.
2701 [non-C99-based standards] (jnl): Likewise.
2702 [non-C99-based standards] (lgammal): Likewise.
2703 [non-C99-based standards] (tgammal): Likewise.
2704 [non-C99-based standards] (y0l): Likewise.
2705 [non-C99-based standards] (y1l): Likewise.
2706 [non-C99-based standards] (ynl): Likewise.
2707 [non-C99-based standards] (isnanl): Likewise.
2708 [non-C99-based standards] (acoshl): Likewise.
2709 [non-C99-based standards] (asinhl): Likewise.
2710 [non-C99-based standards] (atanhl): Likewise.
2711 [non-C99-based standards] (cbrtl): Likewise.
2712 [non-C99-based standards] (expm1l): Likewise.
2713 [non-C99-based standards] (ilogbl): Likewise.
2714 [non-C99-based standards] (log1pl): Likewise.
2715 [non-C99-based standards] (logbl): Likewise.
2716 [non-C99-based standards] (nextafterl): Likewise.
2717 [non-C99-based standards] (remainderl): Likewise.
2718 [non-C99-based standards] (rintl): Likewise.
2719 [non-C99-based standards] (scalbl): Likewise.
2720 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2721 [non-C99-based standards] (FP_*): Do not allow.
2722 [C99-based standards] (FP_*): Change to
2723 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2724 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2725 allow.
2726 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2727 (SIG_ERR): Likewise.
2728 [X/Open-based standards] (SIG_HOLD): Likewise.
2729 (SIG_IGN): Likewise.
2730 (SIGABRT): Use macro-int-constant. Specify type. Require
2731 positive value.
2732 (SIGFPE): Likewise.
2733 (SIGILL): Likewise.
2734 (SIGINT): Likewise.
2735 (SIGSEGV): Likewise.
2736 (SIGTER): Likewise.
2737 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2738 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2739 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2740 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2741 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2742 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2743 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2744 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2745 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2746 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2747 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2748 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2749 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2750 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2751 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2752 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2753 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2754 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2755 [X/Open-based standards] (SIGTRAP): Likewise.
2756 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2757 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2758 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2759 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2760 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2761 allow.
2762
b9f1922d
IW
27632012-05-08 Ian Wienand <ianw@vmware.com>
2764
2765 [BZ #14080]
2766 * time/tzset.c (__tzset_parse_tz): Update default rules for
2767 daylight time changes in the Energy Policy Act of 2005.
2768
1db86e88
AJ
27692012-05-09 Andreas Jaeger <aj@suse.de>
2770
2771 [BZ #13983]
2772 * elf/ldconfig.c (parse_conf): Change string to make clear that
2773 ldconfig only issued a warning if ld.so.conf does not exist.
2774
dee4a4e3
DM
27752012-05-08 David S. Miller <davem@davemloft.net>
2776
ee0db190
DM
2777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2778 movxtod instead of popping the value on the stack.
2779
dee4a4e3
DM
2780 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2781
6a43ec98
CD
27822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2783
2784 * config.h.in: Add HAVE_ARM_PCS_VFP.
2785
05c2c961
RMG
27862012-05-08 Roland Mc Grath <roland@hack.frob.com>
2787
bcfe3a54
ST
2788 [BZ #13979]
2789 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2790 checking but the checks are disabled for any reason.
05c2c961 2791
4b30f61a
L
27922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2793
2794 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2795 and ELF64_R_TYPE with ELFW(R_TYPE).
2796
eee2bc67
JM
27972012-05-08 Joseph Myers <joseph@codesourcery.com>
2798
7ea5391a
JM
2799 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2800 (ulimit): Likewise.
2801
eee2bc67
JM
2802 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2803 (settimeofday): Likewise.
2804
abb66a67
MF
28052012-05-08 Mike Frysinger <vapier@gentoo.org>
2806
2807 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2808 a struct th_u2 inside the union, and move tu_block/tu_code into
2809 a new th_u3 union of tu_block/tu_code inside of that. Move
2810 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2811 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2812 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2813 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2814 (th_stuff): Change to th_u1.tu_stuff.
2815 (th_data): Define.
2816 (th_msg): Change to th_u1.th_u2.tu_data.
2817
7f18b530
DM
28182012-05-07 David S. Miller <davem@davemloft.net>
2819
05760585
DM
2820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2821
7f18b530
DM
2822 [BZ #14074]
2823 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2824 (SETUP_PIC_REG): Use it.
2825 (SETUP_PIC_REG_LEAF): Use it.
2826
495fd99f
JM
28272012-05-07 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #13885]
2830 [BZ #13923]
2831 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2832 USE_AS_EXPM1L.
2833 (EXPL_FINITE): Likewise.
2834 (FLDLOG): Likewise.
2835 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2836 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2837 e_expl.S.
2838 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2839 USE_AS_EXPM1L.
2840 (EXPL_FINITE): Likewise.
2841 (FLDLOG): Likewise.
2842 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2843 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2844 e_expl.S.
2845 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2846 test of -max_value argument for long double.
2847 * sysdeps/i386/fpu/libm-test-ulps: Update.
2848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2849
6693d694
DM
28502012-05-06 David S. Miller <davem@davemloft.net>
2851
2852 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2853 quad soft-float symbols whose references which are compiler
2854 generated.
2855 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2856
6c23e11c
JM
28572012-05-06 Joseph Myers <joseph@codesourcery.com>
2858
d8b82cad
JM
2859 [BZ #13884]
2860 [BZ #13914]
2861 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2862 USE_AS_EXP10L.
2863 (EXPL_FINITE): Likewise.
2864 (FLDLOG): Likewise.
2865 (c0): Likewise.
2866 (c1): Likewise.
2867 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2868 Adjust comments for base varying.
2869 (__expl_finite): Change alias to EXPL_FINITE.
2870 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2871 e_expl.S.
2872 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2873 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2874 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2875 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2876 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2877 USE_AS_EXP10L.
2878 (EXPL_FINITE): Likewise.
2879 (FLDLOG): Likewise.
2880 (c0): Likewise.
2881 (c1): Likewise.
2882 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2883 Adjust comments for base varying.
2884 (__expl_finite): Change alias to EXPL_FINITE.
2885 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2886 tests for bugs.
2887 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2888
6c23e11c
JM
2889 [BZ #14064]
2890 * math/libm-test.inc (check_float_internal): Correct ulp
2891 calculation for subnormal expected results.
2892
29ba805c
AJ
28932012-05-06 Andreas Jaeger <aj@suse.de>
2894
2895 * Makeconfig (+math-flags): New, set to -frounding-math.
2896 (+cflags): Add +math-flags so that all of glibc gets compiled with
2897 it.
2898
2899 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2900
7b17aeda
JM
29012012-05-05 Joseph Myers <joseph@codesourcery.com>
2902
5779f134
JM
2903 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2904 Disable one test.
2905
41498f4d
JM
2906 [BZ #13787]
2907 [BZ #13922]
2908 [BZ #14036]
2909 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2910 (__ieee754_expl): Allow for and saturate large arguments.
2911 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2912 (u_threshold): Likewise.
2913 (__exp): Call __ieee754_exp before checking for overflow and
2914 underflow.
2915 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2916 (u_threshold): Likewise.
2917 (__expf): Call __ieee754_expf before checking for overflow and
2918 underflow.
2919 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2920 (u_threshold): Likewise.
2921 (__expl): Call __ieee754_expl before checking for overflow and
2922 underflow.
2923 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2924 (__ieee754_expl): Allow for and saturate large arguments.
2925 * math/libm-test.inc (exp_test): Add another test. Do not allow
2926 missing overflow exception on overflow.
2927 (expm1_test): Do not allow missing overflow exception on overflow.
2928
6698b8bf
JM
2929 * sysdeps/i386/fpu/e_expl.c: Move to ...
2930 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2931 rather than using inline asm.
2932 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2933 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2934 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2935
7b17aeda
JM
2936 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2937 (nice): Likewise.
2938 (poll): Likewise.
2939 (signal): Likewise.
2940 (time): Likewise.
2941 (times): Likewise.
2942
f7c85819
JM
29432012-05-04 Joseph Myers <joseph@codesourcery.com>
2944
2945 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2946 sysdeps/unix/common/syscalls.list.
2947 (fchmod): Likewise.
2948 (fchown): Likewise.
2949 (ftruncate): Likewise.
2950 (getrusage): Likewise.
2951 (gettimeofday): Likewise.
2952 (setpgid): Likewise.
2953 (setregid): Likewise.
2954 (setreuid): Likewise.
2955 (sigaction): Likewise.
2956 (truncate): Likewise.
2957 (vhangup): Likewise.
2958 * sysdeps/unix/common/syscalls.list: Remove file.
2959 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2960 * sysdeps/unix/sysv/linux/Implies: Likewise.
2961
336270d0
L
29622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2963
2964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2967 Moved to ...
2968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2969 Here.
2970 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2971 to ...
2972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2973 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2974 to ...
2975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2976 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2977 to ...
2978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2979 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2980 to ...
2981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2982 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2983 to ...
2984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2986 to ...
2987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2988 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2989 to ...
2990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2991 Here.
2992 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2993 to ...
2994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2995 Here.
2996 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2997 to ...
2998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2999 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3000 Moved to ...
3001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3002 Here.
3003 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3004 to ...
3005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3006
d128e450
JM
30072012-05-04 Joseph Myers <joseph@codesourcery.com>
3008
fa8ee516
JM
3009 * sysdeps/unix/common/bits/dirent.h: Remove file.
3010 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3011
d128e450
JM
3012 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3013 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3014 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3015 * sysdeps/unix/bsd/isatty.c: Likewise.
3016 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3017 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3018 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3019
ff8faaf0 30202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3021
62881be4 3022 [BZ #13563]
31dc8730
AZ
3023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3024 long double comparison inaccuracies.
3025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3027
6fef930c
AS
30282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3029
3030 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3031 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3032
8f203e6c
JM
30332012-05-04 Joseph Myers <joseph@codesourcery.com>
3034
3035 [BZ #14049]
3036 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3037 nonzero digits before rounding a hex value.
3038 * stdlib/tst-strtod.c (tests): Add another test.
3039
5197d9c2
AK
30402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3041
3042 * sysdeps/s390/fpu/libm-test-ulps: Update.
3043
f0c1dedf
AJ
30442012-05-03 Andreas Jaeger <aj@suse.de>
3045
3046 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3047 does not get optimized out.
3048 (malloc_opt_barrier): New.
3049
a65ef2ae 30502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3051 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3052
2b942cb7 3053 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3054 intermediate file deletion.
2b942cb7 3055 (generated): Add .symlist files.
a65ef2ae 3056
54b71e02
JM
30572012-05-03 Joseph Myers <joseph@codesourcery.com>
3058
3059 [BZ #13775]
3060 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3061 Redirect under this condition.
3062 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3063 [__USE_GNU] (__dprintf_chk): Not under this condition.
3064 [__USE_GNU] (__vdprintf_chk): Likewise.
3065 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3066 under this condition.
3067 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3068 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3069 [__USE_XOPEN2K8] (vdprintf): Likewise.
3070 [__USE_GNU] (__dprintf_chk): Not under this condition.
3071 [__USE_GNU] (__vdprintf_chk): Likewise.
3072 [__USE_GNU] (dprintf): Likewise.
3073 [__USE_GNU] (vdprintf): Likewise.
3074
d3dfcc41
RM
30752012-05-03 Roland McGrath <roland@hack.frob.com>
3076
3077 * elf/Makefile (common-generated): Set this instead of generated for
3078 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3079 $(all-built-dso)-derived lists.
3080
7ac30cc5
AJ
30812012-05-03 Andreas Jaeger <aj@suse.de>
3082
0c51e550
AJ
3083 * sysdeps/i386/fpu/libm-test-ulps: Update.
3084
7ac30cc5
AJ
3085 * FAQ: Removed.
3086 * FAQ.in: Likewise.
3087 * scripts/gen-FAQ.pl: Likewise.
3088 * manual/install.texi (Installation): Point to online location of
3089 FAQ.
3090 * Makefile (files-for-dist): Remove FAQ.
3091 (FAQ): Remove.
3092
d4c2917f
AM
30932012-05-02 Allan McRae <allan@archlinux.org>
3094
3095 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3096 (LDFLAGS-reldepmod5.so): Likewise.
3097 (LDFLAGS-reldep6mod1.so): Likewise.
3098 (LDFLAGS-reldep6mod4.so): Likewise.
3099 (LDFLAGS-reldep8mod3.so): Likewise.
3100 (LDFLAGS-unload4mod1.so): Likewise.
3101 (LDFLAGS-unload4mod2.so): Likewise.
3102 (LDFLAGS-tst-initorder): Likewise.
3103 (LDFLAGS-tst-initordera2.so): Likewise.
3104 (LDFLAGS-tst-initordera3.so): Likewise.
3105 (LDFLAGS-tst-initordera4.so): Likewise.
3106 (LDFLAGS-tst-initorderb2.so): Likewise.
3107 (LDFLAGS-noload): Likewise.
3108 (LDFLAGS-next): Likewise.
3109 (LDFLAGS-order2mod1.so): Likewise.
3110 (LDFLAGS-order2mod2.so): Likewise.
3111 (LDFLAGS-tst-initorder2): Likewise.
3112 (LDFLAGS-tst-initorder2a.so): Likewise.
3113 (LDFLAGS-tst-initorder2b.so): Likewise.
3114 (LDFLAGS-tst-initorder2c.so): Likewise.
3115 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3116
d77f993f
DM
31172012-05-02 David S. Miller <davem@davemloft.net>
3118
3119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3120
171a70b4
PP
31212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3122
3123 [BZ #14055]
3124 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3125
0be196ad
AJ
31262012-05-02 Andreas Jaeger <aj@suse.de>
3127
3128 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3129 since we manipulate rounding mode.
3130 (CPPFLAGS-test-idouble.c): Likewise.
3131 (CPPFLAGS-test-ifloat.c): Likewise.
3132 (CFLAGS-test-ldouble.c): Likewise.
3133 (CFLAGS-test-double.c): Likewise.
3134 (CFLAGS-test-float.c): Likewise.
3135 (CFLAGS-test-misc.c): Likewise.
3136 (CFLAGS-test-test-fenv.c): Likewise.
3137
4f9d04aa
AZ
31382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3139
2b942cb7
RM
3140 [BZ #2550]
3141 [BZ #2570]
3142 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3143 comparisons to determine direction to adjust input.
4f9d04aa 3144
82a79e7d
RM
31452012-05-01 Roland McGrath <roland@hack.frob.com>
3146
f5a01ca9
RM
3147 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3148 output to the target.
3149
90fe4186
RM
3150 * scripts/localplt.awk: New file.
3151 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3152 (check-localplt-CFLAGS): Variable removed.
3153 ($(all-built-dso:=.jmprel)): New static pattern rule.
3154 (generated): Add those targets.
3155 (localplt-built-dso): New variable.
3156 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3157
3158 * elf/check-localplt.c: File removed.
3159
82397ed6
RM
3160 * scripts/check-execstack.awk: New file.
3161 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3162 (check-execstack-CFLAGS): Variable removed.
3163 ($(objpfx)check-execstack.h): Target removed.
3164 ($(objpfx)execstack-default): New target.
3165 (generated): Add that instead of check-execstack.h.
3166 ($(all-built-dso:=.phdr)): New static pattern rule.
3167 (generated): Add those targets.
3168 * elf/check-execstack.c: File removed.
3169
82a79e7d
RM
3170 * scripts/check-textrel.awk: New file.
3171 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3172 (check-textrel-CFLAGS): Variable removed.
3173 (all-built-dso): Use := to define.o
3174 ($(all-built-dso:=.dyn)): New static pattern rule.
3175 (generated): Add those targets.
3176 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3177 * config.make.in (READELF): New substituted variable.
3178 * elf/check-textrel.c: File removed.
3179
62fde54f 31802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3181
615605c9
JM
3182 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3183 allow.
3184 * conform/data/ctype.h-data [C99-based standards] (isblank):
3185 Expect function.
3186 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3187 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3189 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3190 Specify type. Require positive value.
3191 (EILSEQ): Likewise.
3192 (ERANGE): Likewise.
3193 [ISO || POSIX] (EILSEQ): Do not expect.
3194 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3195 Specify type. Require positive value.
3196 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3197 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3198 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3199 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3200 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3201 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3202 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3203 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3204 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3205 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3206 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3207 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3208 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3209 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3210 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3211 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3212 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3213 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3214 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3215 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3216 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3217 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3218 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3219 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3220 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3221 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3222 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3223 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3224 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3225 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3226 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3227 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3228 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3229 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3230 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3231 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3261 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3266 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3267 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3270 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3271 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3272 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3273 Require >= 2.
3274 (FLT_ROUNDS): Expect as macro, not constant.
3275 (FLT_MANT_DIG): Use macro-int-constant.
3276 (DBL_MANT_DIG): Likewise.
3277 (LDBL_MANT_DIG): Likewise.
3278 (FLT_DIG): Likewise.
3279 (DBL_DIG): Likewise.
3280 (LDBL_DIG): Likewise.
3281 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3282 (DBL_MIN_EXP): Likewise.
3283 (LDBL_MIN_EXP): Likewise.
3284 (FLT_MAX_EXP): Use macro-int-constant.
3285 (DBL_MAX_EXP): Likewise.
3286 (LDBL_MAX_EXP): Likewise.
3287 (FLT_MAX_10_EXP): Likewise.
3288 (DBL_MAX_10_EXP): Likewise.
3289 (LDBL_MAX_10_EXP): Likewise.
3290 (FLT_MAX): Use macro-constant.
3291 (DBL_MAX): Likewise.
3292 (LDBL_MAX): Likewise.
3293 (FLT_EPSILON): Use macro-constant. Give upper bound.
3294 (DBL_EPSILON): Likewise.
3295 (LDBL_EPSILON): Likewise.
3296 (FLT_MIN): Likewise.
3297 (DBL_MIN): Likewise.
3298 (LDBL_MIN): Likewise.
3299 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3300 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3301 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3302 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3303 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3304 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3305 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3306 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3307 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3308 [ISO11] (FLT_TRUE_MIN): Likewise.
3309 [ISO11] (LDBL_TRUE_MIN): Likewise.
3310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3311 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3312 (SCHAR_MIN): Use macro-int-constant. Specify type.
3313 (SCHAR_MAX): Likewise.
3314 (UCHAR_MAX): Likewise.
3315 (CHAR_MIN): Likewise.
3316 (CHAR_MAX): Likewise.
3317 (MB_LEN_MAX): Use macro-int-constant.
3318 (SHRT_MIN): Use macro-int-constant. Specify type.
3319 (SHRT_MAX): Likewise.
3320 (USHRT_MAX): Likewise.
3321 (INT_MAX): Likewise.
3322 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3323 bound negative.
3324 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3325 bound with "U".
3326 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3327 bound with "L".
3328 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3329 bound negative. Suffix upper bound with "L".
3330 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3331 bound with "UL".
3332 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3333 Specify type.
3334 [C99-based standards] (LLONG_MAX): Likewise.
3335 [C99-based standards] (ULLONG_MAX): Likewise.
3336 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3337 == 0.
3338 [ISO11] (max_align_t): Require type.
3339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3340
c9140a62
JM
3341 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3342 from $CFLAGS, without defining away __attribute__ calls.
3343 (checknamespace): Use $CFLAGS_namespace.
3344
9af0bf29
JM
3345 * conform/conformtest.pl (@keywords): Only include C99 keywords
3346 for standards based on C99 or C11.
3347
343222a2
JM
3348 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3349 Disable tests.
3350 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3351 UNIX98]: Likewise.
3352
661f8cf0
JM
3353 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3354 usability of symbols in #if.
3355
ee74b9cb
JM
3356 * conform/conformtest.pl: If macro or constant types start
3357 "promoted:", expect the symbol to be of the following type
3358 promoted by the integer promotions.
62fde54f 3359
aafc49b3
JM
3360 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3361 in one place. Also handle "macro-constant".
3362
fefdf574
JM
3363 * conform/conformtest.pl: Only accept expected macro values with
3364 "==". Parse all "macro" lines in one place.
3365 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3366
f2d922fe
JM
3367 * conform/conformtest.pl: Handle braced types on "constant" lines
3368 instead of handling "typed-constant".
3369 * conform/data/signal.h-data: Use "constant" instead of
3370 "typed-constant".
3371
d22956c9
JM
3372 * conform/conformtest.pl: Handle "optional-" at start of lines in
3373 one place rather than duplicating several cases. Handle each
3374 format of "macro" line with initial "optional-".
3375
028e2e38
JM
3376 * conform/conformtest.pl: Only accept expected constant or
3377 optional-constant values with "==". Parse all "constant" lines in
3378 one place. Parse all "optional-constant" lines in one place.
3379 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3380 * conform/data/fmtmsg.h-data: Likewise.
3381 * conform/data/netinet/in.h-data: Likewise.
3382 * conform/data/tar.h-data: Likewise.
3383 * conform/data/limits.h-data: Use "==" form on "constant" and
3384 "optional-constant" lines.
3385
1b8f2850
JM
3386 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3387 Use -std=c99 for XOPEN2K.
3388 (@knownproblems): Remove.
3389 (newtoken): Don't check %isknown.
3390
a05a144b
JM
3391 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3392 Do not expect macro.
3393 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3394 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3395 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3396 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3399 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3400 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3405 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3406 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3408 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3409 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3410 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3423 [XPG3] (acosh): Likewise.
3424 [XPG3] (asinh): Likewise.
3425 [XPG3] (atanh): Likewise.
3426 [XPG3] (cbrt): Likewise.
3427 [XPG3] (expm1): Likewise.
3428 [XPG3] (ilogb): Likewise.
3429 [XPG3] (log1p): Likewise.
3430 [XPG3] (logb): Likewise.
3431 [XPG3] (nextafter): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3434 [XPG3] (remainder): Likewise.
3435 [XPG3] (rint): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3443 [UNIX98 || XOPEN2K] (scalb): Expect.
3444 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3445 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3459 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3460 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3461 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3462 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3463 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3464 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3465 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3466 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3469 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3470 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3478 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3479 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3480 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3581
73c5ebe3
JM
3582 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3583 _XOPEN_SOURCE_EXTENDED for XPG4.
3584
39c33b6c
JM
3585 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3586
62fde54f
JM
3587 * Makeconfig (localtime): Remove variable.
3588 (inst_localtime-file): Likewise.
3589
0741d64c
AS
35902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3591
3592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3593 Update.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3595 Update.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3597 Update.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3599 Update.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3601 Update.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3603 Update.
3604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3605 Update.
3606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3607 Update.
3608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3609 Update.
3610
7cb029ee
JM
36112012-05-01 Joseph Myers <joseph@codesourcery.com>
3612
3613 [BZ #2550]
3614 [BZ #2570]
3615 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3616 comparisons to determine direction to adjust input.
3617 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3618 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3619 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3620 Likewise.
3621 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3622 Likewise.
3623 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3624 Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3626 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3627 Likewise.
3628 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3629 Likewise.
3630 * math/libm-test.inc (nexttoward_test): Add more tests.
3631
412bd966
AS
36322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3633
3634 [BZ #14040]
3635 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3636 in version GLIBC_2.1, not GLIBC_2.0.
3637 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3638 Likewise.
3639
9568c0c2
JM
36402012-04-30 Joseph Myers <joseph@codesourcery.com>
3641
adfbc8ac
JM
3642 [BZ #13942]
3643 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3644 (1 - x) * (1 + x).
3645 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3646 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3647 * math/libm-test.inc (acos_test): Add more tests.
3648 (asin_test): Likewise.
3649 * sysdeps/i386/fpu/libm-test-ulps: Update.
3650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3651
5ba3cc69
JM
3652 [BZ #14034]
3653 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3654 of square root.
3655 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3656 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3657 * math/libm-test.inc (acos_test_tonearest): New function.
3658 (acos_test_towardzero): Likewise.
3659 (acos_test_downward): Likewise.
3660 (acos_test_upward): Likewise.
3661 (asin_test_tonearest): Likewise.
3662 (asin_test_towardzero): Likewise.
3663 (asin_test_downward): Likewise.
3664 (asin_test_upward): Likewise.
3665 (main): Call the new functions.
3666 * sysdeps/i386/fpu/libm-test-ulps: Update.
3667 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3668
9568c0c2
JM
3669 [BZ #13884]
3670 [BZ #13924]
3671 * math/e_exp10.c: Include <float.h>.
3672 (__ieee754_exp10): Handle underflow here rather than multiplying
3673 large negative argument by M_LN10.
3674 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3675 of __ieee754_expf.
3676 * math/e_exp10l.c: Include <float.h>.
3677 (__ieee754_exp10l): Handle underflow here rather than multiplying
3678 large negative argument by M_LN10l.
3679 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3680 spurious overflow exception on underflow.
3681
5ac3ea17
MP
36822012-04-29 Marek Polacek <polacek@redhat.com>
3683
3684 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3685 (__fortify_function): New macro.
3686 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3687 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3688 __extern_always_inline.
3689 * libio/bits/stdio2.h: Likewise.
3690 * libio/bits/stdio.h: Likewise.
3691 * string/string.h: Likewise.
3692 * string/bits/string3.h: Likewise.
3693 * include/stdio.h: Likewise.
3694 * stdlib/bits/stdlib.h: Likewise.
3695 * stdlib/stdlib.h: Likewise.
3696 * rt/bits/mqueue2.h: Likewise.
3697 * rt/mqueue.h: Likewise.
3698 * posix/bits/unistd.h: Likewise.
3699 * posix/unistd.h: Likewise.
3700 * io/bits/poll2.h: Likewise.
3701 * io/bits/fcntl2.h: Likewise.
3702 * io/fcntl.h: Likewise.
3703 * io/sys/poll.h: Likewise.
3704 * misc/bits/syslog.h: Likewise.
3705 * misc/bits/syslog-ldbl.h: Likewise.
3706 * misc/sys/syslog.h: Likewise.
3707 * socket/bits/socket2.h: Likewise.
3708 * socket/sys/socket.h: Likewise.
3709 * debug/tst-chk1.c: Likewise.
3710 * wcsmbs/bits/wchar2.h: Likewise.
3711 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3712 * wcsmbs/wchar.h: Likewise.
3713
ecf0ebfb
AJ
37142012-04-29 Andreas Jaeger <aj@suse.de>
3715
3716 * Makerules (tests): Remove enable-check-abi protection.
3717 (check-abi-warn): Remove.
3718 (check-abi-%): Remove check-abi-warn usage.
3719
3720 * configure.in: Remove check-abi configure option.
3721 * configure: Regenerated.
3722 * config.make.in (enable-check-abi): Remove.
3723
6d5c57fa
AS
37242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3725
24c5d07e 3726 [BZ #14033]
ded5180a
AS
3727 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3728 double functions to double *_finite functions.
3729
7e0d315d
AS
3730 [BZ #13941]
3731 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3732 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3733 LDBL_MIN_EXP.
3734 * stdio-common/Makefile (tests): Add tst-sprintf3.
3735 * stdio-common/tst-sprintf3.c: New file.
3736
6d5c57fa
AS
3737 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3738 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3739
0749ff8b
JM
37402012-04-28 Joseph Myers <joseph@codesourcery.com>
3741
3742 * conform/conformtest.pl: Remove duplicate typed-constant
3743 handling.
3744
8dbd5d7b
DM
37452012-04-28 David S. Miller <davem@davemloft.net>
3746
3747 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3748 (check-abi-%): Remove AWK script prerequisite and explicit
3749 abilist directory.
3750 (check-abi): Rewrite to just diff the symlist with the abilist.
3751 (config-tls, config-abi-config): Delete, no longer used.
3752 (update-abi-%): Remove AWK script and explicit abilist directory.
3753 (update-abi): Rewrite to simply compare and conditionally copy the
3754 symlist and the sysdep abilist file. Remove update-abi-config
3755 checks.
3756 * abilist/ld.abilist: Remove.
3757 * abilist/libBrokenLocale.abilist: Remove.
3758 * abilist/libanl.abilist: Remove.
3759 * abilist/libcrypt.abilist: Remove.
3760 * abilist/libdl.abilist: Remove.
3761 * abilist/librt.abilist: Remove.
3762 * abilist/libthread_db.abilist: Remove.
3763 * abilist/libutil.abilist: Remove.
3764 * scripts/extract-abilist.awk: Remove.
3765 * scripts/merge-abilist.awk: Remove.
3766 * sysdeps/generic/libcidn.abilist: New file.
3767 * sysdeps/generic/libnss_compat.abilist: New file.
3768 * sysdeps/generic/libnss_db.abilist: New file.
3769 * sysdeps/generic/libnss_dns.abilist: New file.
3770 * sysdeps/generic/libnss_files.abilist: New file.
3771 * sysdeps/generic/libnss_hesiod.abilist: New file.
3772 * sysdeps/generic/libnss_nis.abilist: New file.
3773 * sysdeps/generic/libnss_nisplus.abilist: New file.
3774 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3775 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3776 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3777 file.
3778 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3779 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3780 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3781 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3782 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3783 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3784 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3785 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3786 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3787 file.
3788 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3789 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3790 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3791 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3792 file.
3793 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3794 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3795 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3796 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3797 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3798 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3799 file.
3800 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3801 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3802 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3803 file.
3804 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3806 New file.
3807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3808 New file.
3809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3810 New file.
3811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3812 New file.
3813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3814 New file.
3815 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3816 New file.
3817 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3818 New file.
3819 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3820 New file.
3821 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3822 New file.
3823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3824 New file.
3825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3826 New file.
3827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3828 New file.
3829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3830 New file.
3831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3832 file.
3833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3834 New file.
3835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3836 New file.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3838 file.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3840 New file.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3842 New file.
3843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3844 file.
3845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3846 New file.
3847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3848 New file.
3849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3850 New file.
3851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3852 New file.
3853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3854 New file.
3855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3856 New file.
3857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3859 file.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3861 New file.
3862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3863 file.
3864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3865 file.
3866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3867 file.
3868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3869 file.
3870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3871 file.
3872 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3873 New file.
3874 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3875 file.
3876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3877 file.
3878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3879 New file.
3880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3881 file.
3882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3884 file.
3885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3886 New file.
3887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3888 file.
3889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3890 file.
3891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3892 file.
3893 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3894 file.
3895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3896 file.
3897 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3898 New file.
3899 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3900 file.
3901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3902 file.
3903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3904 New file.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3906 file.
3907 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3908 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3909 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3910 file.
3911 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3912 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3913 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3914 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3915 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3916 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3917 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3918 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3919 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3920 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3923 file.
3924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3925 New file.
3926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3927 file.
3928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3929 file.
3930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3931 file.
3932 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3933 file.
3934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3935 file.
3936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3937 New file.
3938 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3939 New file.
3940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3941 file.
3942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3943 New file.
3944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3945 file.
3946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3948 file.
3949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3950 New file.
3951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3952 file.
3953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3954 file.
3955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3956 file.
3957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3958 file.
3959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3960 file.
3961 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3962 New file.
3963 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3964 New file.
3965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3966 file.
3967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3968 New file.
3969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3970 file.
3971
41d73a1b
JM
39722012-04-28 Joseph Myers <joseph@codesourcery.com>
3973
3974 * conform/conformtest.pl: Fix typo in handling typed-constant from
3975 allow-header.
3976
28aeeda4
JM
39772012-04-27 Joseph Myers <joseph@codesourcery.com>
3978
adae8f5e
JM
3979 * README: Cut down references to pre-2.6 Linux kernels and
3980 Linuxthreads. Update lists of configurations in libc and ports
3981 and sort alphabetically. Say "or newer" with Linux kernel version
3982 requirements.
3983
28aeeda4
JM
3984 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3985
a462cb63
RA
39862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3987
3988 [BZ #887]
3989 * math/libm-test.inc (logb_test_downward): New test to expose
3990 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3991 rounding mode.
3992
6ad3493e
JM
39932012-04-27 Joseph Myers <joseph@codesourcery.com>
3994
3995 [BZ #14027]
3996 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3997 to be done.
3998 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3999 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4000
2ce4f015
JM
40012012-04-26 Joseph Myers <joseph@codesourcery.com>
4002
5aeb141a
JM
4003 * sysdeps/unix/i386/brk.S: Remove file.
4004 * sysdeps/unix/i386/dl-brk.S: Likewise.
4005 * sysdeps/unix/i386/pipe.S: Likewise.
4006 * sysdeps/unix/i386/sigreturn.S: Likewise.
4007 * sysdeps/unix/i386/syscall.S: Likewise.
4008 * sysdeps/unix/i386/vfork.S: Likewise.
4009 * sysdeps/unix/i386/wait.S: Likewise.
4010
7143acae
JM
4011 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4012 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4013
2ce4f015
JM
4014 * configure.in (arm*-none*): Do not allow without
4015 --enable-hacker-mode.
4016 (netbsd*): Remove case setting base_os.
4017 (386bsd*): Likewise.
4018 (freebsd*): Likewise.
4019 (bsdi*): Likewise.
4020 (osf*): Likewise.
4021 (sunos*): Likewise.
4022 (ultrix*): Likewise.
4023 (newsos*): Likewise.
4024 (dynix*): Likewise.
4025 (*bsd*): Likewise.
4026 (sysv*): Likewise.
4027 (isc*): Likewise.
4028 (esix*): Likewise.
4029 (sco*): Likewise.
4030 (minix*): Likewise.
4031 (irix4*): Likewise.
4032 (irix6*): Likewise.
4033 (solaris[2-9]*): Likewise.
4034 (none): Likewise.
4035 * configure: Regenerated.
4036
0ac229c8
AZ
40372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4038
4039 [BZ #11521]
4040 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4041 overflow or cancellation in calculating denominator.
4042 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4044 down expression to avoid unexpected rounding in newer GCCs.
4045 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4046
33f244f4
DM
40472012-04-26 David S. Miller <davem@davemloft.net>
4048
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4050 long-double compat symbols.
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4064
cfa1f3e8
DM
40652012-04-25 David S. Miller <davem@davemloft.net>
4066
4067 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4068 HWCAP_* values only after the memory barriers have been defined.
4069 (atomic_full_barrier): Define.
4070 (atomic_read_barrier): Define.
4071 (atomic_write_barrier): Define.
4072
6e236b92
SP
40732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4074
4075 * shlib-versions: Add libgcc_s version information.
4076 * sysdeps/generic/libgcc_s.h: Remove.
4077 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4078 libgcc_s.h.
4079 * sysdeps/gnu/unwind-resume.c: Likewise.
4080 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4081
aab39a09
DM
40822012-04-25 David S. Miller <davem@davemloft.net>
4083
4084 * sysdeps/unix/sparc/brk.S: Delete.
4085 * sysdeps/unix/sparc/dl-brk.S: Delete.
4086 * sysdeps/unix/sparc/pipe.S: Delete.
4087 * sysdeps/unix/sparc/sysdep.S: Delete.
4088 * sysdeps/unix/sparc/sysdep.h: Delete.
4089 * sysdeps/unix/sparc/vfork.S: Delete.
4090 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4091 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4092 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4093 ret_ERRVAL, r0, r1, MOVE): Define.
4094 (JUMPTARGET): Remove.
4095 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4096 sysdeps/unix/sparc/sysdep.h
4097 (ENTRY, END): Remove.
4098 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4099
a3cc4f48
JM
41002012-04-25 Joseph Myers <joseph@codesourcery.com>
4101
2ed8cda2
JM
4102 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4103 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4104 -DIS_IN_build.
4105
35d76d59
JM
4106 * timezone/README: Update upstream location and email address for
4107 tzcode and tzdata.
4108 * timezone/zdump.c: Update from tzcode 2012b.
4109 * timezone/zic.c: Likewise.
4110
a3cc4f48
JM
4111 * configure.in (libc_cv_as_needed): Remove test.
4112 * configure: Regenerated.
4113 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4114 conditional definition.
4115 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4116 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4117 * config.make.in (have-as-needed): Remove variable.
4118
ceab42c3
SP
41192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4120 Paul Pluzhnikov <ppluzhnikov@google.com>
4121
4122 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4123 strings correctly.
4124
3ce2865f
CLT
41252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4126
4127 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4128 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4129 * sysdeps/sh/strlen.S: Likewise.
4130
f37e0d68
JM
41312012-04-24 Joseph Myers <joseph@codesourcery.com>
4132
ae186e9a
JM
4133 * sysdeps/unix/fork.S: Remove file.
4134 * sysdeps/unix/i386/fork.S: Likewise.
4135 * sysdeps/unix/sparc/fork.S: Likewise.
4136
b96914af
JM
4137 * sysdeps/unix/system.c: Remove file.
4138 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4139
f37e0d68
JM
4140 * sysdeps/unix/getegid.S: Remove file.
4141 * sysdeps/unix/geteuid.S: Likewise.
4142
87ef29ca
RM
41432012-04-24 Roland McGrath <roland@hack.frob.com>
4144
83bcd236
RM
4145 * scripts/check-localplt.awk: New file.
4146 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4147 of diff.
4148 * scripts/data/localplt-generic.data: Add a comment.
4149
87ef29ca
RM
4150 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4151 NODE when __dir_mkfile failed.
4152 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4153 Reported by Ludovic Courtès <ludo@gnu.org>.
4154
e5a6e567
AJ
41552012-04-24 Andreas Jaeger <aj@suse.de>
4156
4157 * Makerules (common-clean): Also remove gen-as-const-headers
4158 files.
4159
c1820385
JM
41602012-04-24 Joseph Myers <joseph@codesourcery.com>
4161
4162 * Makerules (native-compile): Do not change working directory for
4163 build. Use $(OUTPUT_OPTION) in command.
4164 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4165
94e02fc4
AZ
41662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4167
4168 [BZ #13886]
4169 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4170 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4171 * math/libm-test.inc (floor_test): Add more tests.
4172 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4173
3a533ca3
JM
41742012-04-24 Joseph Myers <joseph@codesourcery.com>
4175
940ab4b3
JM
4176 * sysdeps/unix/getdents.c: Remove file.
4177 * sysdeps/unix/sysv/getdents.c: Likewise.
4178 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4179
90e037bd
JM
4180 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4181 sysdeps/unix/mman/syscalls.list.
4182 (mmap): Likewise.
4183 (mprotect): Likewise.
4184 (msync): Likewise.
4185 (munmap): Likewise.
4186 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4187 * sysdeps/unix/mman/syscalls.list: Remove.
4188 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4189
3a533ca3
JM
4190 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4191 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4192 * configure: Regenerated.
4193 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4194 $(libgcc_s_suffix).
4195 * config.make.in (libgcc_s_suffix): Remove variable.
4196
1ad743de
JM
41972012-04-23 Joseph Myers <joseph@codesourcery.com>
4198
4ad451e2
JM
4199 * sysdeps/unix/sysv/gethostname.c: Move to ...
4200 * sysdeps/posix/gethostname.c: ... here.
4201
5e37ce39
JM
4202 * sysdeps/unix/execve.S: Remove file.
4203
1ad743de
JM
4204 * sysdeps/unix/_exit.S: Remove file.
4205
4e681b5b
AJ
42062012-04-23 Andreas Jaeger <aj@suse.de>
4207
4208 [BZ #13739]
4209 * manual/Makefile: Remove make dist support, there's no
4210 need for a stand-alone documentation tar ball.
4211 (TEXI2DVI): Define always, it's not in Makeconfig.
4212 (dist): Removed.
4213 (tar-it): Removed.
4214 (edition): Removed.
4215 (glibc-doc-$(edition).tar): Removed
4216 (%.Z): Removed.
4217 (%.gz): Removed.
4218 (%.uu): Removed.
4219 (ETAGS): Remove, it's in Makeconfig.
4220 (move-if-change): Remove, it's in Makeconfig.
4221
c0baea34
PE
42222013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4223
4224 [BZ #13970]
4225 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4226 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4227 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4228 (strtod_l, strtof_l, strtold_l): Remove __wur.
4229 It is not necessarily an error to ignore strtol's return value.
4230 One can reliably look at the stored endptr to decide whether
4231 the number had valid syntax.
4232
7c0616fa
AJ
42332012-04-21 Andreas Jaeger <aj@suse.de>
4234
803cb6b7 4235 [BZ #13739]
7c0616fa
AJ
4236 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4237
b0fe253f
JM
42382012-04-21 Joseph Myers <joseph@codesourcery.com>
4239
4240 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4241 * sysdeps/unix/sysv/Versions: Remove file.
4242
8280f22d
MT
42432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4244
4245 [BZ #13927]
4246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4247
75ce411f 42482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4249
4250 [BZ #7064]
4251 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4252 version from __vm86.
4253
097d59fa
JM
42542012-04-20 Joseph Myers <joseph@codesourcery.com>
4255
a90f3bcb
JM
4256 * sysdeps/unix/common/lxstat.c: Remove file.
4257 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4258
edc7ea78
JM
4259 * sysdeps/unix/sysv/Makefile: Remove file.
4260
cb78c221
JM
4261 * sysdeps/unix/sysv/direct.h: Remove file.
4262
efa6a45f
JM
4263 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4264 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4265 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4266 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4267 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4268 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4269 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4270
9c9f2d0c
JM
4271 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4272
4541c83b
JM
4273 * sysdeps/unix/xmknod.c: Remove file.
4274 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4275
f5d153a0
JM
4276 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4277
aa746595
JM
4278 * sysdeps/unix/sysv/i386/time.S: Remove file.
4279
cce5905e
JM
4280 * sysdeps/unix/fxstat.c: Remove file.
4281 * sysdeps/unix/xstat.c: Likewise.
4282 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4283
37fa3841
JM
4284 * sysdeps/unix/sysv/sigaction.c: Remove file.
4285
ff1962a3
JM
4286 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4287 (sysdep_headers): Remove variable.
4288 [termio.h not in sysdep_headers] (generated): Likewise.
4289 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4290 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4291 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4292 * sysdeps/unix/sysv/tcflow.c: Likewise.
4293 * sysdeps/unix/sysv/tcflush.c: Likewise.
4294 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4295 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4296 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4297 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4298 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4299
e7740d31
JM
4300 * sysdeps/unix/siglist.c: Remove file.
4301
ee06f18b
JM
4302 * sysdeps/unix/getppid.S: Remove file.
4303
097d59fa
JM
4304 * sysdeps/unix/mkdir.c: Remove file.
4305 * sysdeps/unix/rmdir.c: Likewise.
4306
ff3d51ec
AS
43072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4308
4309 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4310 ERR_MAX value.
4311 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4312 errlist-compat value.
4313
50f81fd7
DM
43142012-04-18 David S. Miller <davem@davemloft.net>
4315
4316 * sysdeps/generic/memcopy.h (reg_char): Delete.
4317 * debug/strcat_chk.c: Use char, not reg_char.
4318 * debug/strcpy_chk.c: Likewise.
4319 * debug/strncat_chk.c: Likewise.
4320 * debug/strncpy_chk.c: Likewise.
4321 * string/memchr.c: Likewise.
4322 * string/memrchr.c: Likewise.
4323 * string/rawmemchr.c: Likewise.
4324 * string/strcat.c: Likewise.
4325 * string/strchr.c: Likewise.
4326 * string/strchrnul.c: Likewise.
4327 * string/strcmp.c: Likewise.
4328 * string/strcpy.c: Likewise.
4329 * string/strncat.c: Likewise.
4330 * string/strncmp.c: Likewise.
4331 * string/strncpy.c: Likewise.
4332
8ff41c46
WS
43332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4334
4335 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4336 __builtin_memcopy is called when src and dest ranges are known to not
4337 overlap.
4338
6b652f46
WS
43392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4340
4341 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4342 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4343 fwd_align_merge macro call.
4344 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4345 bwd_align_merge macro call.
4346 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4347
b282631e
WS
43482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4349
4350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4351 bwd_align_merge macros.
4352 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4353 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4354 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4355
95aa737c
DM
43562012-04-18 David S. Miller <davem@davemloft.net>
4357
4358 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4359
7a99a614
AJ
43602012-04-18 Andreas Jaeger <aj@suse.de>
4361
4362 [BZ# 6794]
4363 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4364 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4365 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4366
4367 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4368 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4369 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4370
4371 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4372 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4373 Adjust for changed ldbl-128 files.
4374
4375 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4376 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4377 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4378
e5270c23
DM
43792012-04-17 David S. Miller <davem@davemloft.net>
4380
4381 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4382
fb5e92c9
AS
43832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4384
4385 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4386 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4387 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4388 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4389 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4390 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4391
76da7265
AZ
43922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393
4394 [BZ #6794]
4395 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4396 * math/libm-test.inc: Add ilogb errno and exception tests.
4397 * math/w_ilogb.c: New file: ilogb wrapper.
4398 * math/w_ilogbf.c: New file: ilogbf wrapper.
4399 * math/w_ilogbl.c: New file: ilogbl wrapper.
4400 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4401 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4402 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4403 exception being thrown with 0.0 as argument.
4404 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4405 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4406 exception being thrown with 0.0 as argument.
4407 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4408 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4409 exception being thrown with 0.0 as argument.
4410 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4411 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4412 exception being thrown with 0.0 as argument.
4413 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4414 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4415 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4416 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4417 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4418 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4419 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4420 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4421 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4422
0396e69d
PB
44232012-04-17 Petr Baudis <pasky@ucw.cz>
4424
4425 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4426 with altivec.
4427
750b5926
MP
44282012-04-16 Marek Polacek <polacek@redhat.com>
4429
4430 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4431
751728a1
MP
44322012-04-16 Marek Polacek <polacek@redhat.com>
4433
4434 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4435 operands of fdivp instruction.
4436
34a27407
L
44372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4438
4439 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4440 * elf/tst-auditmod3b.c: Likewise.
4441 * elf/tst-auditmod4b.c: Likewise.
4442 * elf/tst-auditmod5b.c: Likewise.
4443 * elf/tst-auditmod6b.c: Likewise.
4444 * elf/tst-auditmod6c.c: Likewise.
4445 * elf/tst-auditmod7b.c: Likewise.
4446 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4447 * sysdeps/x86_64/preconfigure.in: Likewise.
4448 * sysdeps/x86_64/preconfigure: Regenerated.
4449
7e73e17d
L
44502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4451
4452 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4453 __ILP32__.
4454
c7a6ab72
AB
44552012-04-13 Antoine Balestrat <merkil33@gmail.com>
4456
4457 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4458 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4459
a9e8e0e0
CL
44602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4461
4462 [BZ #13973]
4463 * locale/iso-639.def: Fix gl language name. Spotted by
4464 Yaron Shahrabani.
4465
ec98af7d
RM
44662012-04-12 Roland McGrath <roland@hack.frob.com>
4467
4468 [BZ #2074]
4469 * libio/libio.h (__io_write_fn): Update comment.
4470
247c3ede
PB
44712012-04-12 Petr Baudis <pasky@ucw.cz>
4472
4473 [BZ #2074]
4474 * stdio.texi (Hook Functions): The user provided writer function
4475 is not allowed to return -1.
4476
55939d6d
DM
44772012-04-11 David S. Miller <davem@davemloft.net>
4478
4479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4480
90020f5a
MF
44812012-04-11 Mike Frysinger <vapier@gentoo.org>
4482
4483 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4484 Add a leading slash to rtkaio.
4485
288f9098
JM
44862012-04-11 Jim Meyering <meyering@redhat.com>
4487
90020f5a
MF
4488 [BZ #11959]
4489 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4490 It is not necessarily an error to ignore fwrite's return
4491 value. One can reliably use ferror to test for errors after
4492 the fact.
288f9098 4493
4be2b570
L
44942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4495
4496 * bits/types.h (__snseconds_t): New type.
4497 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4498
4499 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4500 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4501 (__SNSECONDS_T_TYPE): Likewise.
4502 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4503 (__SNSECONDS_T_TYPE): Likewise.
4504 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4505 (__SNSECONDS_T_TYPE): Likewise.
4506
288f9098 45072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4508
4509 [BZ #2636]
4510 * manual/time.texi (Processor Time): Return type of times is
4511 elapsed real time since an arbitrary point in the past.
4512 (CPU Time): Move CLK_TCK from here...
4513 (Processor Time): ...to here. Correct description.
4514 * manual/conf.texi (Constants for Sysconf): Correct description of
4515 _SC_CLK_TCK.
4516
d7dd4413
DM
45172012-04-10 David S. Miller <davem@davemloft.net>
4518
4519 [BZ #13967]
4520 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4521 where the is a gap between DT_REL(A) and DT_JMPREL.
4522
b46068fc
L
45232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4524
4525 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4526 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4527 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4528
73d65cc3
SP
45292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
4531 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4532 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4533 (dl_main): Handle --inhibit-cache.
4534 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4535 _dl_inhibit_cache.
4536 * elf/dl-load.c (_dl_map_object): Use it.
4537 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4538
bcc8d661
JM
45392012-04-09 Joseph Myers <joseph@codesourcery.com>
4540
8f9a2fae
JM
4541 [BZ #13872]
4542 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4543 (__ieee754_powl): Saturate large exponents rather than testing for
4544 overflow of y*log2(x).
4545 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4546 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4547 exceptions.
4548
bcc8d661
JM
4549 [BZ #11521]
4550 * math/s_ctan.c: Include <float.h>.
4551 (__ctan): Avoid internal overflow or cancellation in calculating
4552 denominator.
4553 * math/s_ctanf.c: Likewise.
4554 * math/s_ctanl.c: Likewise.
4555 * math/s_ctanh.c: Likewise.
4556 * math/s_ctanhf.c: Likewise.
4557 * math/s_ctanhl.c: Likewise.
4558 * math/libm-test.inc (ctan_test): Add more tests.
4559 (ctanh_test): Likewise.
4560 * sysdeps/i386/fpu/libm-test-ulps: Update.
4561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4562
823fbbb4
AJ
45632012-04-09 Andreas Jaeger <aj@suse.de>
4564
03879793
AJ
4565 [BZ #6894]
4566 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4567 is an optional BSD extension.
4568
823fbbb4
AJ
4569 [BZ #10254]
4570 * manual/stdio.texi (Opening Streams): Document additional fopen
4571 parameters.
4572
8de131cb
RM
45732012-04-09 Roland McGrath <roland@hack.frob.com>
4574
4575 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4576 %eax without telling the compiler.
4577
c0ed9d7d
CD
45782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4579
4580 [BZ # 13963]
4581 * manual/install.texi: Use sourceware.org.
4582
c483f6b4
JM
45832012-04-09 Joseph Myers <joseph@codesourcery.com>
4584
d7dd9453
JM
4585 [BZ #13873]
4586 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4587 (__ieee754_pow): Generate overflow and underflow using huge*huge
4588 and tiny*tiny rather than just returning constant infinity or zero
4589 for large exponents.
4590 * math/libm-test.inc (pow_test): Require overflow exceptions for
4591 applicable cases of large exponents.
4592
c483f6b4
JM
4593 [BZ #706]
4594 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4595 (__ieee754_pow): Use iterative multiplication algorithm only for
4596 integer exponents with absolute value below 1024. Check for odd
4597 integer exponents when using algorithm for real exponents.
4598 * math/libm-test.inc (pow_test): Add more tests.
4599 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4600
d2de7579
JM
46012012-04-08 Joseph Myers <joseph@codesourcery.com>
4602
4603 [BZ #13705]
4604 * math/libm-test.inc (exp_test): Do not allow overflow exception
4605 on underflow test.
4606
f77f1232
AJ
46072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4608
4609 [BZ #13705]
4610 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4611 instead of __kernel_standard_f.
4612
3884932b
MF
46132012-04-08 Mike Frysinger <vapier@gentoo.org>
4614
4615 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4616 * sysdeps/x86_64/memset_chk.S: Likewise.
4617
54472e9c
AJ
46182012-04-08 Andreas Jaeger <aj@suse.de>
4619
6ab0fbfc
AJ
4620 [BZ #10153]
4621 * manual/startup.texi (Environment Access): Describe return value
4622 for putenv and setenv.
4623
61efba8c
AJ
4624 [BZ #6895]
4625 * manual/filesys.texi (Directory Entries): Add description for
4626 DT_LNK.
4627
95c3f29a
AJ
4628 [BZ #6890]
4629 * manual/filesys.texi (Directory Entries): Clarify that it's file
4630 system not operating system in the description of DT_UNKNOWN.
4631
54472e9c
AJ
4632 [BZ #6578]
4633 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4634
624254b1
SC
46352012-04-08 Stephen Compall <s11@member.fsf.org>
4636
4637 [BZ #6649]
4638 * manual/llio.texi (Opening and Closing Files): Add cross
4639 reference to explain mode argument.
4640
1e4920e0
MF
46412012-04-07 Mike Frysinger <vapier@gentoo.org>
4642
4643 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4644 * sysdeps/x86_64/memset_chk.S: Likewise.
4645
5ed848f3
DM
46462012-04-07 David S. Miller <davem@davemloft.net>
4647
4648 * elf/elf.h (R_SPARC_WDISP10): Define.
4649 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4650 R_SPARC_SIZE32.
4651 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4652 R_SPARC_SIZE64 and R_SPARC_H34.
4653
96154cd8
CD
46542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4655
4656 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4657 conditions and remove no longer applicable assertion.
4658
9904dc47
L
46592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4660
4661 * bits/byteswap.h: Include <features.h>.
4662 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4663 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4664
f8887d0a
L
46652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4666
4667 * bits/byteswap.h (__bswap_16): Removed.
4668 Include <bits/byteswap-16.h> to get __bswap_16.
4669 * sysdeps/i386/bits/byteswap.h: Likewise.
4670 * sysdeps/s390/bits/byteswap.h: Likewise.
4671 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4672 * bits/byteswap-16.h: New file.
4673 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4674 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4675 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4676 * string/Makefile (headers): Add bits/byteswap-16.h.
4677
62470f60
PP
46782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4679
4680 [BZ #13895]
4681 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4682 extra indirection.
4683 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4684 * nss/tst-nss-static.c: New.
4685
4dad7bab
RM
46862012-04-06 Robert Millan <rmh@gnu.org>
4687
4688 [BZ #6486]
4689 * manual/llio.texi (File Position Primitive): lseek
4690 refers to WHENCE when it really means OFFSET.
4691
e9142a17
AJ
46922012-04-06 Andreas Jaeger <aj@suse.de>
4693
2c040eff
AJ
4694 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4695 strncmp declarations.
4696
e9142a17
AJ
4697 * abilist/libc.abilist: Add __poll and __ppoll.
4698
ff9f1c5f
DM
46992012-04-05 David S. Miller <davem@davemloft.net>
4700
dcd2ae90
DM
4701 * scripts/check-local-headers.sh: Accept a host triplet in the
4702 path matched by the exclude regexp.
4703
993eb054
DM
4704 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4705 definition.
4706 * sysdeps/powerpc/powerpc32/dl-machine.h
4707 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4708 * sysdeps/s390/s390-32/dl-machine.h
4709 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4710 * sysdeps/sparc/sparc32/dl-machine.h
4711 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4712 * sysdeps/sparc/sparc64/dl-machine.h
4713 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4714
ff9f1c5f
DM
4715 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4716 lazy binding.
48e2e132 4717 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4718 undefined symbol errors.
4719
48e2e132 4720 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4721 DT_NEEDED entries.
4722
e80d6f94
MM
47232012-04-05 Michael Matz <matz@suse.de>
4724
4725 [BZ #13592]
4726 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4727
349fa79f
AJ
47282012-04-05 Andreas Jaeger <aj@suse.de>
4729
4730 [BZ #13908]
4731 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4732 comment.
4733
f402708f
KK
47342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4735
4736 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4737 which ROUND is no valid rounding mode.
4738
2ecccfc9
KK
47392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4740
4741 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4742 read again.
4743 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4744
8a53f50f
KK
47452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4746
4747 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4748 an exception using FPU order intentionally.
4749
47502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4751
4752 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4753 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4754 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4755 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4756
d653abb7
SJ
47572012-04-05 Simon Josefsson <simon@josefsson.org>
4758
4759 [BZ #12340]
4760 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4761 EINVAL when BUFLEN is too smal.
4762
c3b1bf7d
TS
47632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4764
4765 [BZ #13553]
4766 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4767 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4768
b1aa60f3
AJ
47692012-04-03 Andreas Jaeger <aj@suse.de>
4770
c3b1bf7d 4771 [BZ #13938]
67f60a26
AJ
4772 * manual/setjmp.texi (System V contexts): Fix sentence.
4773
b1aa60f3
AJ
4774 [BZ #13926]
4775 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4776 New macro for this case.
4777 [!__GNUC__] (__bswap_64): New inline function for this case.
4778 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4779 * bits/byteswap.h: Likewise.
4780 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4781 ull, guard with __GLIBC_HAVE_LONG_LONG.
4782
4783 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4784 __GLIBC_HAVE_LONG_LONG.
4785
4786 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4787 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4788
39c59c35
TMQMF
47892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4790
4791 [BZ #13691]
4792 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4793 inptr and inend, rather than using last_ch.
4794
135ffda8
DM
47952012-04-02 David S. Miller <davem@davemloft.net>
4796
4797 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4798 * stdio-common/printf-parse.h (read_int): Change return type to
4799 'int', return -1 on INT_MAX overflow.
4800 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4801 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4802 overflows INT_MAX. Check for overflow of in-format-string precision
4803 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4804 SIZE_MAX not INT_MAX for integer overflow test.
4805 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4806 skip the construct in the format string but do not record anything.
4807 * stdio-common/bug22.c: Adjust to test both width/prevision
4808 INT_MAX overflow as well as total length INT_MAX overflow. Check
4809 explicitly for proper errno values.
4810
228c019e
TS
48112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4812
302cadd3
TS
4813 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4814 CHAR_MAX.
4815 * string/test-strcmp.c [! WIDE]: Likewise.
4816 * time/tst-mktime2.c: Likewise for INT_MAX.
4817 * string/test-string.h: #include <sys/param.h> for MIN.
4818
228c019e
TS
4819 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4820 * sysdeps/i386/init-first.c (init): Likewise.
4821 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4822 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4823 * sysdeps/sh/init-first.c (init): Likewise.
4824
cfa633f5
UD
48252012-04-01 Ulrich Drepper <drepper@gmail.com>
4826
4827 * po/ru.po: Update from translation team.
d1635ef8 4828 * po/vi.po: Likewise.
cfa633f5 4829
6cd0a5ea
SP
48302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4831
4832 * resolv/nss_dns/dns-host.c: Merge copyright years.
4833
4b43400f
LD
48342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4835
4836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4837 Optimize memcpy with prefetch if
4838 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4839 src, dst pointers have unequal 16 byte alignments.
4840
48c41d04
SP
48412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 [BZ #13928]
4844 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4845 from a CNAME entry and return the minimum ttl for the query.
4846 (gaih_getanswer_slice): Likewise.
4847
b8dc394d
JL
48482012-03-30 Jeff Law <law@redhat.com>
4849
4850 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4851 due to long keys.
4852 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4853 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4854
2f5a5ed0
JL
4855 * resolv/nss_dns/dns-host.c: Update copyright year.
4856
1d39e359
UD
48572012-03-30 Ulrich Drepper <drepper@gmail.com>
4858
c030f70c 4859 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4860 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4861
1d39e359
UD
4862 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4863 comments for sendmmsg.
4864
48652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4866
4867 [BZ #13691]
4868 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4869 with only 1 character between 0x0041 and 0x01b0.
4870 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4871 * wcsmbs/tst-mbsnrtowcs.c: New file.
4872
20fde227
DM
48732012-03-29 David S. Miller <davem@davemloft.net>
4874
4875 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4876 small copies by hand.
4877
984a4237
JL
48782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4879
4880 [BZ #13761]
4881 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4882 _nss_compat_initgroups_dyn): Fall back to malloc/free
4883 for large group memberships.
4884
18c9d62b
DM
48852012-03-28 David S. Miller <davem@davemloft.net>
4886
88d85d4f
DM
4887 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4888 that branches into memcpy.
4889 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4891 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4892 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4894 bits.
4895 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4896 implementation too.
4897 * sysdeps/sparc/mempcpy.S: New file.
4898
e5aa83e1
DM
4899 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4900 the IFUNC routine in the libc case.
4901 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4902
88570753
DM
4903 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4904 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4905 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4906 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4907 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4908 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4909 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4910 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4911
249d7567
DM
4912 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4913 loop to 256 bytes instead of 64 bytes and fix test signedness.
4914
18c9d62b
DM
4915 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4916 * sysdeps/sparc/sparc32/Makefile: rather than here...
4917 * sysdeps/sparc/sparc64/Makefile: and here.
4918
05f3d1f6
UD
49192012-03-28 Ulrich Drepper <drepper@gmail.com>
4920
4921 * malloc/mallocbug.c: Avoid warnings about unused variables.
4922
86ae07a8
JL
49232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4924
4925 [BZ #13760]
4926 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4927 in the right place. Discard and retry query if response is
4928 larger than input buffer size.
4929
41bf21a1
JM
49302012-03-28 Joseph Myers <joseph@codesourcery.com>
4931
d6270972
JM
4932 [BZ #369]
4933 [BZ #2678]
4934 [BZ #3866]
4935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4936 x for large integer exponent.
4937 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4938 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4939 sign of result as needed afterwards.
4940 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4941 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4942 result for underflowing pow the same as for overflow.
4943 (__kernel_standard_l): Handle powl overflow and underflow here
4944 rather than calling __kernel_standard.
4945 * math/libm-test.inc (pow_test): Add more tests.
4946
414fca03 4947 [BZ #3868]
41bf21a1
JM
4948 [BZ #13879]
4949 [BZ #13910]
4950 [BZ #13911]
4951 [BZ #13912]
4952 [BZ #13913]
4953 [BZ #13915]
4954 [BZ #13916]
4955 [BZ #13917]
4956 [BZ #13918]
4957 [BZ #13919]
4958 [BZ #13920]
4959 [BZ #13921]
4960 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4961 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4962 (__kernel_standard_l): New function.
4963 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4964 __kernel_standard.
4965 * math/w_acosl.c (__acosl): Likewise.
4966 * math/w_asinl.c (__asinl): Likewise.
4967 * math/w_atan2l.c (__atan2l): Likewise.
4968 * math/w_atanhl.c (__atanhl): Likewise.
4969 * math/w_coshl.c (__coshl): Likewise.
4970 * math/w_exp10l.c (__exp10l): Likewise.
4971 * math/w_exp2l.c (__exp2l): Likewise.
4972 * math/w_fmodl.c (__fmodl): Likewise.
4973 * math/w_hypotl.c (__hypotl): Likewise.
4974 * math/w_j0l.c (__j0l, __y0l): Likewise.
4975 * math/w_j1l.c (__j1l, __y1l): Likewise.
4976 * math/w_jnl.c (__jnl, __ynl): Likewise.
4977 * math/w_lgammal.c (__lgammal): Likewise.
4978 * math/w_log10l.c (__log10l): Likewise.
4979 * math/w_log2l.c (__log2l): Likewise.
4980 * math/w_logl.c (__logl): Likewise.
4981 * math/w_powl.c (__powl): Likewise.
4982 * math/w_remainderl.c (__remainderl): Likewise.
4983 * math/w_scalbl.c (sysv_scalbl): Likewise.
4984 * math/w_sinhl.c (__sinhl): Likewise.
4985 * math/w_sqrtl.c (__sqrtl): Likewise.
4986 * math/w_tgammal.c (__tgammal): Likewise.
4987 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4988 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4989 * math/libm-test.inc (acos_test): Add more tests.
4990 (acosh_test): Likewise.
4991 (asin_test): Likewise.
4992 (atanh_test): Likewise.
4993 (exp_test): Likewise.
4994 (exp10_test): Likewise.
4995 (exp2_test): Likewise.
4996 (expm1_test): Likewise.
4997 (lgamma_test): Likewise.
4998 (log_test): Likewise.
4999 (log10_test): Likewise.
5000 (log1p_test): Likewise.
5001 (log2_test): Likewise.
5002 (pow_test): Do not allow some spurious overflow exceptions.
5003 (sqrt_test): Add more tests.
5004 (tgamma_test): Likewise.
5005 (y0_test): Likewise.
5006 (y1_test): Likewise.
5007 (yn_test): Likewise.
5008
dd62fda6
AB
50092012-03-27 Anton Blanchard <anton@samba.org>
5010
5011 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5012 MAP_HUGETLB.
5013 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5014 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5015 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5016
1e3cdfda
AJ
50172012-03-27 David S. Miller <davem@davemloft.net>
5018
b855ab85
DM
5019 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5020
1e3cdfda
AJ
5021 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5022 have-as-vis3 check.
5023
50242012-03-27 Andreas Jaeger <aj@suse.de>
5025
5026 * sysdeps/x86_64/elf/configure.in: Moved to ...
5027 * sysdeps/x86_64/configure.in: ... here.
5028 * sysdeps/x86_64/elf/start.S: Moved to ...
5029 * sysdeps/x86_64/start.S: ... here.
5030 * sysdeps/x86_64/elf/configure: Delete.
5031
5032 * sysdeps/x86_64/configure.in: Merge contents from
5033 sysdeps/i386/configure.in (without i686 check).
5034
5035 * sysdeps/i386/elf/Versions: Merge into ...
5036 * sysdeps/i386/Versions: ... this.
5037 * sysdeps/i386/elf/Versions: Delete file.
5038 * sysdeps/i386/elf/start.S: Moved to ...
5039 * sysdeps/i386/start.S: ...here.
5040 * sysdeps/i386/elf/configure.in: Merge into...
5041 * sysdeps/i386/configure.in: ...here.
5042 * sysdeps/i386/elf/configure.in: Delete file.
5043 * sysdeps/i386/elf/configure: Delete file.
5044
5045 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5046 * debug/backtracesyms.c: ... here.
5047 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5048 * debug/backtracesymsfd.c: ... here.
5049 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5050 * sysdeps/generic/ifunc-sel.h: ... here.
5051
5052 * sysdeps/unix/i386/start.c: Delete file.
5053 * sysdeps/unix/sparc/start.c: Delete file.
5054 * sysdeps/unix/start.c: Delete file.
5055
5056 * sysdeps/sh/elf/configure.in: Moved to ...
5057 * sysdeps/sh/configure.in: ... here.
5058 * sysdeps/sh/elf/start.S: Moved to ...
5059 * sysdeps/sh/start.S: ... here.
5060 * sysdeps/sh/elf/configure: Delete file.
5061
5062 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5063 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5064 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5065 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5066 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5067 * sysdeps/powerpc/powerpc64/start.S: here.
5068 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5069 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5070 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5071 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5072 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5073
5074 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5075 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5076 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5077 * sysdeps/powerpc/powerpc32/start.S: ... here.
5078 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5079 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5080 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5081
5082 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5083 * sysdeps/powerpc/ifunc-sel.h: ... here.
5084 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5085 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5086
5087 * sysdeps/sparc/elf/configure.in: Moved to ...
5088 * sysdeps/sparc/configure.in: ... here.
5089 * sysdeps/sparc/elf/configure: Delete file.
5090 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5091 * sysdeps/sparc/sparc32/start.S: ... here.
5092 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5093 * sysdeps/sparc/sparc64/start.S: ... here.
5094 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5095 * sysdeps/sparc/sparc32/Makefile: ... this.
5096 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5097 * sysdeps/sparc/sparc64/Makefile: ... this.
5098
5099 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5100 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5101 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5102 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5103 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5104 * sysdeps/s390/s390-32/setjmp.S: ... here.
5105 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5106 * sysdeps/s390/s390-32/configure.in: ... here.
5107 * sysdeps/s390/s390-32/elf/configure: Delete file.
5108 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5109 * sysdeps/s390/s390-32/start.S: ... here.
5110
5111 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5112 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5113 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5114 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5115 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5116 * sysdeps/s390/s390-64/setjmp.S: ... here.
5117 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5118 * sysdeps/s390/s390-64/configure.in: ... here
5119 * sysdeps/s390/s390-64/elf/configure: Delete file.
5120 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5121 * sysdeps/s390/s390-64/start.S: ... here.
5122 * sysdeps/s390/s390-64/elf/configure: Delete.
5123
5124 * configure.in: Remove support for elf directories in sysdeps.
5125
5126 * configure: Regenerated.
5127 * sysdeps/i386/configure: Regenerated.
5128 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5129 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5130 * sysdeps/s390/s390-32/configure: Regenerated.
5131 * sysdeps/s390/s390-64/configure: Regenerated.
5132 * sysdeps/sh/configure: Regenerated.
5133 * sysdeps/sparc/configure: Regenerated.
5134 * sysdeps/x86_64/configure: Regenerated.
5135
a3f61311
AS
51362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5137
c876e002
AS
5138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5139
a3f61311
AS
5140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5141 denormal result into account.
5142
ac4c54f0
RM
51432012-03-25 Roland McGrath <roland@hack.frob.com>
5144
5145 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5146 Reported by Allan McRae <allan@archlinux.org>.
5147
6a9b9c02
JL
51482012-03-23 Jeff Law <law@redhat.com>
5149
5150 * nss/getnssent.c (__nss_getent): Fix typo.
5151
4c42a0c1
DM
51522012-03-23 David S. Miller <davem@davemloft.net>
5153
5154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5155
1532c7ac
L
51562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5157
5158 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5159 to pad to uint64_t for each field.
5160 (dl_tls_index): Replace unsigned long with uint64_t.
5161
3ff42526
PP
51622012-03-23 Daniel Jacobowitz <dmj@google.com>
5163 Paul Pluzhnikov <ppluzhnikov@google.com>
5164
5165 [BZ #6528]
5166 * grp/Makefile (otherlibs): Don't set it.
5167 * inet/Makefile (otherlibs): Likewise.
5168 * login/Makefile (otherlibs): Likewise.
5169 * nscd/Makefile (otherlibs): Likewise.
5170 * posix/Makefile (otherlibs): Likewise.
5171 * pwd/Makefile (otherlibs): Likewise.
5172 * rt/Makefile (otherlibs): Likewise.
5173 * sunrpc/Makefile (otherlibs): Likewise.
5174 * nss/Makefile (otherlibs): Likewise.
5175 Add libnss_files to routines and static-only-routines.
5176 ($(objpfx)getent): Remove rule.
5177 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5178 static-only-routines.
5179
7c69cd14
JM
51802012-03-22 Joseph Myers <joseph@codesourcery.com>
5181
5182 [BZ #13892]
5183 * math/s_cexp.c: Include <float.h>.
5184 (__cexp): Handle exp result overflowing not necessarily
5185 overflowing both real and imaginary parts of result.
5186 * math/s_cexpf.c: Likewise.
5187 * math/s_cexpl.c: Likewise.
5188 * math/libm-test.inc (cexp_test): Add more tests.
5189 * sysdeps/i386/fpu/libm-test-ulps: Update.
5190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5191
81b035fe
L
51922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5193
5194 * include/link.h (ELFW): New macro.
5195 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5196 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5197
1da7940c
L
51982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5199
5200 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5201 with uint64_t.
5202
b749dbb9
L
52032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5204
5205 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5206 declaration.
5207 (struct La_x32_retval): Likewise.
5208
2ff87f3f
L
52092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5210
5211 * sysdeps/x86_64/preconfigure.in: New file.
5212 * sysdeps/x86_64/preconfigure: New generated file.
5213
c0df8e69
JM
52142012-03-22 Joseph Myers <joseph@codesourcery.com>
5215
48e44791
JM
5216 [BZ #13824]
5217 * math/e_exp2l.c: Include <float.h>.
5218 (__ieee754_exp2l): Handle overflow and underflow cases
5219 separately. Only pass fractional part of argument to
5220 __ieee754_expl.
5221 * math/libm-test.inc (exp2_test): Add more tests.
5222
c0df8e69
JM
5223 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5224 negating x to take absolute value.
5225 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5226 Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5229 Likewise.
5230 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5231 computing low part if x was negated.
5232 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5233
c8e43ba7
L
52342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5235
5236 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5237 la_x32_gnu_pltexit.
5238 (pltexit): Cast int_retval to ptrdiff_t.
5239 * elf/tst-auditmod3b.c: Likewise.
5240 * elf/tst-auditmod4b.c: Likewise.
5241 * elf/tst-auditmod5b.c: Likewise.
5242 * elf/tst-auditmod6b.c: Likewise.
5243 * elf/tst-auditmod6c.c: Likewise.
5244 * elf/tst-auditmod7b.c: Likewise.
5245
5246 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5247 and x32_gnu_pltexit.
5248
5249 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5250 __ELF_NATIVE_CLASS.
5251 (La_x32_regs): New macro.
5252 (La_x32_retval): Likewise.
5253 (la_x32_gnu_pltenter): New function prototype.
5254 (la_x32_gnu_pltexit): Likewise.
5255
7998fa78
AS
52562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5257
dcb33988
AS
5258 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5259 exponent.
5260
233fc563
AS
5261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5262
7998fa78
AS
5263 * configure.in (libc_cv_cc_nofma): Check for option to disable
5264 generation of FMA instructions.
5265 * configure: Regenerate.
5266 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5267 * sysdeps/ieee754/dbl-64/Makefile: New file.
5268 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5269 Remove brandred-fma4.
5270 (CFLAGS-brandred-fma4.c): Remove.
5271 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5272 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5273 define.
5274 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5275 define.
5276
8e95c99a
L
52772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5278
5279 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5280 LLONG_MAX != LONG_MAX.
5281 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5282 (_fitoa_word): Likewise.
5283 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5284 LLONG_MAX != LONG_MAX.
5285 * stdio-common/_itowa.h: Include <_itoa.h>.
5286 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5287 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5288 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5289 only if not defined.
5290 (_ITOA_WORD_TYPE): Likewise.
5291 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5292 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5293
6f4db457
DM
52942012-03-21 David S. Miller <davem@davemloft.net>
5295
5296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5297
7785fe5a
L
52982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5299
5300 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5301 of x86_64 when setting libc_cv_slibdir, libdir and
5302 libc_cv_localedir.
5303 * sysdeps/unix/sysv/linux/configure: Regenerated.
5304
4535cd55
JM
53052012-03-21 Joseph Myers <joseph@codesourcery.com>
5306
5307 * manual/lang.texi (Old Varargs): Remove section.
5308 (How Variadic): Update menu.
5309 (va_start): Do not mention varargs.h.
5310
17228132
TS
53112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5312 Joseph Myers <joseph@codesourcery.com>
5313
5314 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5315 link test.
5316 * configure: Regenerated.
5317
8149f976
TS
53182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5319
05f3d1f6
UD
5320 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5321 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5322 conformtest.pl
8149f976 5323
1a4ac776
JM
53242012-03-21 Joseph Myers <joseph@codesourcery.com>
5325
be22ce65
JM
5326 * NOTES: Remove.
5327 * Makefile (files-for-dist): Remove NOTES.
5328 (NOTES): Remove rule.
5329 * README: Don't refer to NOTES.
5330 * manual/creature.texi: Don't include macros.texi.
5331 * manual/intro.texi (creature.texi): Remove comment referring to
5332 NOTES.
5333
40b601fb
JM
5334 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5335 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5336 * configure: Regenerated.
5337 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5338 LIBC_TRY_CC_OPTION.
5339 (libc_cv_as_i686): Likewise.
5340 (libc_cv_cc_avx): Likewise.
5341 (libc_cv_cc_sse2avx): Likewise.
5342 (libc_cv_cc_fma4): Likewise.
5343 (libc_cv_cc_novzeroupper): Likewise.
5344 * sysdeps/i386/configure: Regenerated.
5345
1a4ac776
JM
5346 [BZ #13883]
5347 * sysdeps/i386/fpu/s_cexp.S: Remove.
5348 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5349 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5350 * math/libm-test.inc (cexp_test): Add more tests.
5351 * sysdeps/i386/fpu/libm-test-ulps: Update.
5352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5353
a458e7fe
AM
53542012-03-21 Allan McRae <allan@archlinux.org>
5355
5356 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5357
0cb7efc5
JM
53582012-03-21 Joseph Myers <joseph@codesourcery.com>
5359
5360 [BZ #13871]
5361 * math/w_exp2.c: Do not include <float.h>.
5362 (o_threshold, u_threshold): Remove.
5363 (__exp2): Calculate result before checking finiteness and calling
5364 __kernel_standard.
5365 * math/w_exp2f.c: Likewise.
5366 * math/w_exp2l.c: Likewise.
5367 * math/libm-test.inc (exp2_test): Require overflow exception for
5368 1e6 input.
2460d3aa
JM
5369
5370 [BZ #3866]
5371 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5372 range of signed 64-bit integers before using fistpll. Remove
5373 checks for whether integers fit in mantissa bits.
5374 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5375 the range of signed 32-bit integers before using fistpl. Remove
5376 checks for whether integers fit in mantissa bits.
5377 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5378 (__ieee754_powl): Test for y outside the range of signed 64-bit
5379 integers before using fistpll. Reduce 64-bit values to 63-bit
5380 ones as needed.
5381 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5382 divide-by-zero is raised for zero to large negative powers.
5383 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5384 (__ieee754_powl): Test for y outside the range of signed 64-bit
5385 integers before using fistpll. Reduce 64-bit values to 63-bit
5386 ones as needed.
5387 * math/libm-test.inc (pow_test): Add more tests.
5388
eb96ffb0
L
53892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5390
5391 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5392 <stdio-common/_itoa.h>.
5393 * debug/segfault.c: Likewise.
5394 * elf/dl-cache.c: Likewise.
5395 * elf/dl-minimal.c: Likewise.
5396 * elf/dl-misc.c: Likewise.
5397 * elf/dl-sysdep.c: Likewise.
5398 * elf/dl-version.c: Likewise.
5399 * elf/rtld.c: Likewise.
5400 * hurd/hurdsock.c: Likewise.
5401 * hurd/lookup-retry.c: Likewise.
5402 * malloc/malloc.c: Likewise.
5403 * malloc/mtrace.c: Likewise.
5404 * nscd/nscd_getgr_r.c: Likewise.
5405 * nscd/nscd_getpw_r.c: Likewise.
5406 * nscd/nscd_getserv_r.c: Likewise.
5407 * posix/getopt_init.c: Likewise.
5408 * posix/wordexp.c: Likewise.
5409 * stdio-common/_itoa.c: Likewise.
5410 * stdio-common/printf_fphex.c: Likewise.
5411 * stdio-common/vfprintf.c: Likewise.
5412 * string/_strerror.c: Likewise.
5413 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5414 * sysdeps/i386/i686/hp-timing.h: Likewise.
5415 * sysdeps/mach/_strerror.c: Likewise.
5416 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5417 * sysdeps/mach/hurd/sethostid.c: Likewise.
5418 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5419 * sysdeps/mach/xpg-strerror.c: Likewise.
5420 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5422 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5423 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5424 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5425 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5426 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5427 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5428 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5429 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5430 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5431 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5432 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5433 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5434 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5435 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5436 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5437 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5438 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5439 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5440 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5441
5442 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5443
5444 * stdio-common/_itoa.h: Moved to ...
5445 * sysdeps/generic/_itoa.h: Here.
5446
5447 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5448
5449 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5450 instead of "_itoa.h" and "_itowa.h".
5451 * stdio-common/vfprintf.: Likewise.
5452
d1af992d
L
54532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5454
5455 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5456 <bits/wordsize.h>.
5457 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5458 (__signbit): Likwise.
5459 (llrintf): Likwise.
5460 (llrint): Likwise.
5461
114883e0
L
54622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5463
5464 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5465 __WORDSIZE != 64.
5466
c135cc1b
JM
54672012-03-20 Joseph Myers <joseph@codesourcery.com>
5468
5469 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5470 OVERFLOW_EXCEPTION_OK.
5471 * math/libm-test.inc ("Philosophy"): Update comment about
5472 exception testing.
5473 (OVERFLOW_EXCEPTION): Define.
5474 (OVERFLOW_EXCEPTION_OK): Likewise.
5475 (INVALID_EXCEPTION_OK): Renumber.
5476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5477 (IGNORE_ZERO_INF_SIGN): Likewise.
5478 (test_exceptions): Handle FE_OVERFLOW.
5479 (exp10_test): Expect overflow exceptions.
5480 (exp2_test): Likewise.
5481 (expm1_test): Likewise.
5482 (nextafter_test): Likewise.
5483 (pow_test): Likewise.
5484 (scalbn_test): Likewise.
5485 (scalbln_test): Likewise.
5486
95443d88
L
54872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5488
5489 * sysdeps/x86_64/bits/atomic.h
5490 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5491 64bit integer.
5492 (atomic_exchange_acq): Likewise.
5493 (__arch_exchange_and_add_body): Likewise.
5494 (__arch_add_body): Likewise.
5495 (atomic_add_negative): Likewise.
5496 (atomic_add_zero): Likewise.
5497
490df6c4
L
54982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5499
c2722551 5500 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5501 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5502
5e52b189
L
55032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5504
5505 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5506 Check __x86_64__ instead of __WORDSIZE.
5507
a9879d4c
L
55082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5509
5510 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5511
5df98260
DM
55122012-03-19 David S. Miller <davem@davemloft.net>
5513
e1497744
DM
5514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5515
5df98260
DM
5516 * sysdeps/sparc/fpu/fenv_private.h: New file.
5517 * sysdeps/sparc/fpu/math_private.h: Use it.
5518 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5519 Remove.
5520 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5521 (libc_feholdexcept_setroundl): Remove.
5522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5523 Remove.
5524 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5525 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5526
b4c35121
L
55272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5528
5529 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5530 int64_t instead of long int.
5531 (INSERT_WORDS64): Likwise.
5532
56965fd7
L
55332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5534
5535 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5536 _Unwind_GetCFA return to _Unwind_Ptr first.
5537
83d1aec8
JM
55382012-03-19 Joseph Myers <joseph@codesourcery.com>
5539
1897ad44
JM
5540 [BZ #13629]
5541 * math/s_clog.c: Include <float.h>.
5542 (__clog): Scale large or subnormal inputs.
5543 * math/s_clogf.c: Likewise.
5544 * math/s_clogl.c: Likewise.
5545 * math/s_clog10.c: Include <float.h>.
5546 (M_LOG10_2): Define.
5547 (__clog10): Scale large or subnormal inputs.
5548 * math/s_clog10f.c: Likewise.
5549 * math/s_clog10l.c: Likewise.
5550 * math/libm-test.inc (clog_test): Add more tests.
5551 (clog10_test): Likewise.
5552 * sysdeps/i386/fpu/libm-test-ulps: Update.
5553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5554
7726d6a9
JM
5555 [BZ #11451]
5556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5557 x and y.
5558 * math/libm-test.inc (atan2_test): Add another test.
5559
83d1aec8
JM
5560 * Makerules (common-objdir-compile): Remove.
5561 * sysdeps/unix/Makefile (config-generated): Do not add
5562 $(unix-generated) to variable.
5563 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5564 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5565 Remove rule.
5566 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5567 Likewise.
5568 [generic bits/local_lim.h] (before-compile): Do not append to
5569 variable.
5570 [generic bits/local_lim.h] (common-generated): Likewise.
5571 [generic sys/param.h] (before-compile): Do not append to variable.
5572 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5573 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5574 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5575 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5576 include.
5577 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5578 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5579 [generic sys/param.h] ($(addprefix
5580 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5581 [generic sys/param.h] (common-generated): Do not append to
5582 variable.
5583 [generic sys/param.h] (sysdep_headers): Likewise.
5584 [generic bits/errno.h] (before-compile): Do not append to
5585 variable.
5586 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5587 rule.
5588 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5589 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5590 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5591 [generic bits/errno.h] (common-generated): Do not append to
5592 variable.
5593 [generic bits/ioctls.h] (before-compile): Do not append to
5594 variable.
5595 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5596 rule.
5597 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5598 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5599 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5600 rule.
5601 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5602 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5603 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5604 [generic bits/ioctls.h] (common-generated): Do not append to
5605 variable.
5606 [generic sys/syscall.h] (syscall.h): Remove variable.
5607 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5608 rule.
5609 [generic sys/syscall.h] (before-compile): Do not append to
5610 variable.
5611 [generic sys/syscall.h] (common-generated): Likewise.
5612 * sysdeps/unix/errnos-tmpl.c: Remove file.
5613 * sysdeps/unix/errnos.awk: Likewise.
5614 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5615 * sysdeps/unix/ioctls.awk: Likewise.
5616 * sysdeps/unix/mk-local_lim.c: Likewise.
5617 * sysdeps/unix/snarf-ioctls: Likewise.
5618
4851a949
RH
56192012-03-19 Richard Henderson <rth@twiddle.net>
5620
bd37f2ee
RH
5621 * sysdeps/i386/fpu/fenv_private.h: New file.
5622 * sysdeps/i386/fpu/math_private.h: Use it.
5623 (math_opt_barrier, math_force_eval): Remove.
5624 (libc_feholdexcept_setround_53bit): Remove.
5625 (libc_feupdateenv_53bit): Remove.
5626 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5627 (math_opt_barrier, math_force_eval): Remove.
5628 (libc_feholdexcept): Remove.
5629 (libc_feholdexcept_setround): Remove.
5630 (libc_fetestexcept, libc_fesetenv): Remove.
5631 (libc_feupdateenv_test): Remove.
5632 (libc_feupdateenv, libc_feholdsetround): Remove.
5633 (libc_feresetround): Remove.
5634
d0adc922
RH
5635 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5636 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5637
0fe0f1f8
RH
5638 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5639 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5640 (libc_feupdateenv_testl): New.
5641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5642 (libc_feupdateenv_testf): New.
5643 (libc_feupdateenv): Use libc_feupdateenv_test.
5644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5645 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5646
eb92c487
RH
5647 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5648 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5649 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5650 (libc_feresetround_noex): New.
5651 (libc_feresetround_noexf): New.
5652 (libc_feresetround_noexl): New.
5653 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5654 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5655 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5656 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5657 SET_RESTORE_ROUND.
5658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5660 (__cos): Likewise.
5661 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5662 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5663 SET_RESTORE_ROUND_NOEX.
5664 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5665 SET_RESTORE_ROUND_NOEXF.
5666 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5667 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5668 (libc_feholdsetroundf): New.
5669 (libc_feresetround, libc_feresetroundf): New.
5670
7d2e8012
RH
5671 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5672 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5673 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5674
b4dabbb4
RH
5675 * sysdeps/generic/math_private.h: Include <fenv.h>.
5676 (default_libc_feholdexcept): New.
5677 (default_libc_feholdexcept_setround): New.
5678 (default_libc_fesetenv, default_libc_feupdateenv): New.
5679 (libc_feholdexcept): Only define if undefined.
5680 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5681 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5682 (libc_feholdexcept_setroundl): Likewise.
5683 (libc_feholdexcept_setround_53bit): Likewise.
5684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5685 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5686 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5687 (libc_feupdateenv_53bit): Likewise.
5688 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5689 (libc_feholdexcept): Convert from macro to inline function.
5690 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5691 (libc_fesetenv, libc_feupdateenv): Likewise.
5692
4851a949
RH
5693 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5694 not previously defined.
5695 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5696 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5697 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5698 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5699 * sysdeps/ieee754/flt-32/math_private.h: New file.
5700 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5701 math_private.h below SET_FLOAT_WORD.
5702 (__isnan, __isinf_ns, __finite): Remove.
5703 (__isnanf, __isinf_nsf, __finitef): Remove.
5704
e79d442e
AS
57052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5706
5707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5708
90b80344
DM
57092012-03-17 David S. Miller <davem@davemloft.net>
5710
5711 [BZ #6471]
5712 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5713 for 2.16.
5714
edc21804
DM
57152012-03-16 David S. Miller <davem@davemloft.net>
5716
77e927af
DM
5717 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5718 warnings.
5719
374976dd
DM
5720 [BZ #6471]
5721 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5722 properly.
5723 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5724 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5725 sysdep_routines when subdir is sysvipc.
5726 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5727 __getshmlba helper.
5728
edc21804
DM
5729 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5730
473c3ef3
L
57312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5732
5733 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5734 [__LP64__].
5735
eb0f39b6
L
57362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5739 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5740 (__lround): Renamed to ...
5741 (__llround): This. Replace long int with long long int.
5742 Define lround functions as aliases of llround functions.
5743 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5744
6b6cd74b
L
57452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5746
5747 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5748 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5749 adresses to uintptr_t. Replace "long int" and "unsigned long
5750 int" with "greg_t" on va_arg.
5751
f1a77b01
L
57522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5753
5754 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5755 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5756
5757 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5758 Move e_machine check before EI_CLASS check. Handle x32
5759 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5760 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5761 SKIP_EM_IA_64 and include
5762 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5763
5764 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5765 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5766 (add_system_dir): New macro.
5767
5768 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5769 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5770
11b90b9f
JM
57712012-03-16 Joseph Myers <joseph@codesourcery.com>
5772
c36e1d23
JM
5773 [BZ #2551]
5774 [BZ #2552]
5775 [BZ #2553]
5776 [BZ #2554]
5777 [BZ #2562]
5778 [BZ #2563]
5779 [BZ #2565]
5780 [BZ #2566]
5781 [BZ #2576]
5782 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5783 (y0): Likewise.
5784 * math/w_j0f.c (j0f): Likewise.
5785 (y0f): Likewise.
5786 * math/w_j0l.c (__j0l): Likewise.
5787 (__y0l): Likewise.
5788 * math/w_j1.c (j1): Likewise.
5789 (y1): Likewise.
5790 * math/w_j1f.c (j1f): Likewise.
5791 (y1f): Likewise.
5792 * math/w_j1l.c (__j1l): Likewise.
5793 (__y1l): Likewise.
5794 * math/w_jn.c (jn): Likewise.
5795 (yn): Likewise.
5796 * math/w_jnf.c (jnf): Likewise.
5797 (ynf): Likewise.
5798 * math/w_jnl.c (__jnl): Likewise.
5799 (__ynl): Likewise.
5800 * math/libm-test.inc (j0_test): Add more tests.
5801 (j1_test): Likewise.
5802 (jn_test): Likewise. Add trailing semicolon to existing test.
5803 (y0_test): Likewise.
5804 (y1_test): Likewise.
5805 * sysdeps/i386/fpu/libm-test-ulps: Update.
5806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5807
11b90b9f
JM
5808 [BZ #13851]
5809 [BZ #13854]
5810 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5811 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5812 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5813 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5814 (__tanl): Set errno for infinite argument.
5815 * sysdeps/i386/fpu/mptan.c: Remove.
5816 * sysdeps/i386/fpu/s_tan.S: Likewise.
5817 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5818 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5819 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5820 * math/libm-test.inc (tan_test): Add more tests and enable more
5821 tests for double and long double.
5822 * sysdeps/i386/fpu/libm-test-ulps: Update.
5823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5824
6a1bd2a1
JK
58252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5826
5827 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5828 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5829
10a803e0
RM
58302012-03-16 Roland McGrath <roland@hack.frob.com>
5831
5832 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5833 * configure.in: Use it for both main tree and add-ons.
5834 * configure: Regenerated.
5835
f196c7f7
L
58362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5837
5838 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5839
8848d99d
JM
58402012-03-16 Joseph Myers <joseph@codesourcery.com>
5841
96cbe7f4
JM
5842 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5843 in comment.
5844
8848d99d
JM
5845 [BZ #13851]
5846 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5847 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5848 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5849 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5850 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5851 infinite argument.
5852 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5853 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5854 != 0 for prec == 2.
5855 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5856 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5857 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5858 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5859 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5860 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5861 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5862 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5863 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5864 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5865 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5866 * math/libm-test.inc (cos_test): Add more tests and enable more
5867 tests for long double.
5868 (sin_test): Likewise.
5869 (sincos_test): Likewise.
5870 * sysdeps/i386/fpu/libm-test-ulps: Update.
5871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5872
dd7f4703
DM
58732012-03-16 David S. Miller <davem@davemloft.net>
5874
5875 * sysdeps/sparc/fpu/math_private.h: New file.
5876
006f1daa
DM
58772012-03-15 David S. Miller <davem@davemloft.net>
5878
c0c83bc8
DM
5879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5880 file.
e6a62e18 5881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5883 file.
e6a62e18
DM
5884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5886 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5887 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5889 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5890 sysdep routines.
5891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5892
88cb87d9
DM
5893 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5894 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5895
006f1daa 5896 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5898 sparc-ifunc.h
006f1daa 5899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5901 Likewise.
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5903 Likewise.
006f1daa
DM
5904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5908 Likewise.
006f1daa
DM
5909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5914 Likewise.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5916 Likewise.
006f1daa
DM
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5922 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5923 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5932 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5933 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5935 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5936 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5937 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5938 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5939 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5941
11e0098e
AS
59422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5943
5944 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5945 scaling.
5946 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5947
e85b09d0
AJ
59482012-03-15 Andreas Jaeger <aj@suse.de>
5949
5950 [BZ #13852]
5951 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5952 ieee754/flt-32 implementation for sin, cos and sincos.
5953 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5954 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5955 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5956 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5957 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5958 ieee754/flt-32 implementation for tan.
5959
5960 * math/libm-test.inc (cos_test): Enable some large input tests for
5961 float as well
5962 (sin_test): Likewise.
5963 (sincos_test): Likewise.
5964 (tan_test): Add tests for large input.
5965
5966 * sysdeps/i386/fpu/libm-test-ulps: Update.
5967
81c64153
AJ
59682012-03-15 Andreas Jaeger <aj@suse.de>
5969
5970 [BZ #13658]
5971 * math/libm-test.inc (cos_test): Add more test cases.
5972 (sin_test): Likewise.
5973 (sincos_test): Likewise.
5974
7bbfa5c6
AJ
59752012-03-15 Andreas Jaeger <aj@suse.de>
5976
5977 [BZ #13837]
5978 * math/libm-test.inc (cos_test): Add a test case for large input
5979 value.
5980 (sin_test): Likewise.
5981 (sincos_test): Likewise.
5982
59832012-03-15 Andreas Jaeger <aj@suse.de>,
5984 Joseph Myers <joseph@codesourcery.com>
5985
5986 [BZ #13658]
0671f479 5987 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5988 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5989 * sysdeps/i386/fpu/branred.c: Likewise.
5990 * sysdeps/i386/fpu/dosincos.c: Likewise.
5991 * sysdeps/i386/fpu/mpa.c: Likewise.
5992 * sysdeps/i386/fpu/s_cos.S: Likewise.
5993 * sysdeps/i386/fpu/s_sin.S: Likewise.
5994 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5995 * sysdeps/i386/fpu/sincos32.c: Likewise.
5996
5997 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5998 Define.
5999 (libc_feupdateenv_53bit): Define.
6000 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6001 Define.
6002 (libc_feupdateenv_53bit): Define.
6003
6004 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6005 53 bit (without extend i386 double precision).
6006
6007 * math/libm-test.inc (sincos_test): Add tests for large input.
6008 (sin): Likewise.
6009 (cos): Likewise.
6010
6011 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6012
9cad04ea
AS
60132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6014
6015 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6016
f7062b9a
DM
60172012-03-15 David S. Miller <davem@davemloft.net>
6018
6019 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6020 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6021 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6022 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6035 file.
f7062b9a 6036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6038 file.
f7062b9a 6039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6041 file.
f7062b9a 6042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6044 file.
f7062b9a
DM
6045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6047 fmin/fmax sysdep routines.
6048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6049
7bd951ff
DM
60502012-03-14 David S. Miller <davem@davemloft.net>
6051
559398ab
DM
6052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6053 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6054 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6057 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6058 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6074 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6077 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6078 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6080 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6081 routines.
6082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6083 file.
559398ab 6084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6086 file.
559398ab 6087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6089 file.
559398ab 6090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6092 file.
559398ab 6093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6095 file.
559398ab 6096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6098 file.
6099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6100 file.
6101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6102 file.
6103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6104 file.
6105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6106 New file.
6107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6108 file.
6109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6110 file.
559398ab 6111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6113 file.
559398ab 6114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6116 file.
559398ab 6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6119 file.
559398ab 6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6122 VIS3 routines.
559398ab
DM
6123
6124 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6125 New file.
6126
5a1c1e32
DM
6127 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6128
eae47a36
DM
6129 * sysdeps/sparc/configure.in: New file.
6130 * sysdeps/sparc/configure: Generate.
6131 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6132 * configure: Regenerate.
6133 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6134 * config.make.in (have-as-vis3): New.
6135 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6136 available use -Av9d instead of -Av9a.
6137 * sysdeps/sparc/sparc64/Makefile: Likewise.
6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6140 New file.
6141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6142 file.
6143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6144 New file.
6145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6146 file.
eae47a36
DM
6147 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6150 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6152
c0c83bc8
DM
6153 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6154 fzeros/fnegs to load 0x80000000 into a float register instead of
6155 using the stack.
7bd951ff
DM
6156 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6157
bd951ccb
JM
61582012-03-14 Joseph Myers <joseph@codesourcery.com>
6159
6160 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6161 bits/syscall.h.
6162 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6163 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6164 ($(inst_includedir)/bits/syscall.h): Remove rule.
6165 ($(objpfx)bits/syscall.d): Include instead of
6166 $(objpfx)syscall-list.d.
6167 (generated): Change syscall-list.h and syscall-list.d to
6168 bits/syscall.h and bits/syscall.d.
6169
bb4e6db2
RM
61702012-03-14 Roland McGrath <roland@hack.frob.com>
6171
6172 [BZ #13846]
6173 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6174
aa4a2ae1
JM
61752012-03-14 Joseph Myers <joseph@codesourcery.com>
6176
e456826d
JM
6177 [BZ #13841]
6178 * math/s_csqrt.c: Include <float.h>.
6179 (__csqrt): Scale large or subnormal inputs.
6180 * math/s_csqrtf.c: Likewise.
6181 * math/s_csqrtl.c: Likewise.
6182 * math/libm-test.inc (csqrt_test): Add more tests.
6183 * sysdeps/i386/fpu/libm-test-ulps: Update.
6184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6185
aa4a2ae1
JM
6186 [BZ #13840]
6187 * math/libm-test.inc (hypot_test): Add more tests.
6188
7c10fd35
DM
61892012-03-13 David S. Miller <davem@davemloft.net>
6190
6191 [BZ #13840]
6192 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6193 double-precision for the calculation instead of scaling.
6194
f453b98b
JM
61952012-03-13 Joseph Myers <joseph@codesourcery.com>
6196
6197 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6198 manipulate bits before adding and subtracting TWO52[sx].
6199 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6201 Likewise.
6202 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6203
09a3453f
DM
62042012-03-13 David S. Miller <davem@davemloft.net>
6205
8e59da90
DM
6206 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6207 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6208 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6209 rtld-global-offsets.h
6210 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6211
2a8ab7f2
DM
6212 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6213 large parameters.
6214
10f62770
DM
6215 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6216
5f0bdb18
DM
6217 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6218 'err' in the ifdef scope in which it is actually used.
6219
09a3453f
DM
6220 * nss/nss_db/db-init.c: Include string.h
6221
b4b2eb5e
DM
62222012-03-12 David S. Miller <davem@davemloft.net>
6223
98bb2f1c
DM
6224 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6225 masking out of the most significant byte of random value used.
6226 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6227 Fix coding style in previous change.
6228
b4b2eb5e
DM
6229 * sysdeps/unix/sysv/linux/kernel-features.h
6230 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6231 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6232 expression.
6233 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6234 later.
6235
6e226b09
DM
62362012-03-11 David S. Miller <davem@davemloft.net>
6237
a1bcbd40
DM
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6239 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6241 for 'resultvar' otherwise things get truncated on 64-bit.
6242
cb9d6174
DM
6243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6244 Fix masking out of the most significant byte of random value used.
6245
6e226b09
DM
6246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6247
058c132d
AS
62482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6249
6250 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6251
2d2cd515
DM
62522012-03-09 David S. Miller <davem@davemloft.net>
6253
6254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6255 variables with appropriate CPP guards.
6256 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6257 frame pointer, not the stack pointer. Correct layout comments. Fix test
6258 on resulting framesize and the management of the outregs buffer for pltexit.
6259 Preserve floating point return values across _dl_call_pltexit call.
6260 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6261 framesize and the management of the outregs buffer for pltexit.
6262 Preserve floating point return values across _dl_call_pltexit
6263 call.
6264 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6265 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6266 (print_exit): Fix format string for return register value.
6267
9a07f9d0
JM
62682012-03-10 Joseph Myers <joseph@codesourcery.com>
6269
6270 * sunrpc/Makefile (others): Add rpcgen.
6271 ($(objpfx)rpcgen): Remove special build rule and dependency on
6272 libc.
6273 * sunrpc/rpcgen.c: New file.
6274
547b5e30
PE
62752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6276
c524201a
PE
6277 [BZ #13673]
6278 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6279 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6280 * sysdeps/i386/crti.S: Likewise.
6281 * sysdeps/i386/crtn.S: Likewise.
6282 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6283 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6284 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6285 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6286 * sysdeps/sh/crti.S: Likewise.
6287 * sysdeps/sh/crtn.S: Likewise.
6288 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6289
7b6235f2
PE
6290 [BZ #13673]
6291 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6292 with URL.
6293 * locale/programs/locfile-kw.gperf: Likewise.
6294 * locale/programs/charmap-kw.h: Regenerated.
6295 * locale/programs/locfile-kw.h: Likewise.
6296
547b5e30
PE
6297 [BZ #13673]
6298 * intl/plural.y: Replace FSF snail mail address with URL.
6299 * intl/plural.c: Regenerated.
6300
5f0a5dae
RH
63012012-03-09 Richard Henderson <rth@twiddle.net>
6302
6303 * include/math_private.h: Remove file.
6304 * math/math_private.h: Move file ...
6305 * sysdeps/generic/math_private.h: ... here.
6306
b8c03620
RH
6307 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6308 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6309 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6310
4e234f5d 6311 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6312 and <math_private.h>.
6313 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6314 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6315 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6316 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6317 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6324 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6327 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6328 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6330 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6331 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6332 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6339 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6342 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6343 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6344 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6345 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6346 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6347 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6348 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6349 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6350 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6351 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6352 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6401 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6402 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6403 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6404 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6405 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6406 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6407 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6408 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6409 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6410 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6411 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6413 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6414 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6415 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6416 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6417 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6418 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6419 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6421 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6422 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6423 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6424 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6425 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6426 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6427 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6428 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6429 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6430 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6431 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6432 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6433 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6434 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6435 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6436 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6440 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6441 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6445 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6446 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6448 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6449 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6450 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6452 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6453 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6458 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6462 * sysdeps/ieee754/k_standard.c: Likewise.
6463 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6467 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6468 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6575 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6578 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6601 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6602 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6603 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6623 * sysdeps/ieee754/s_lib_version.c: Likewise.
6624 * sysdeps/ieee754/s_matherr.c: Likewise.
6625 * sysdeps/ieee754/s_signgam.c: Likewise.
6626 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6627 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6628 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6629 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6630 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6631 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6632 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6633 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6634 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6635 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6636 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6637 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6638 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6639 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6640 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6641 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6643 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6644 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6645 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6646 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6647
1991fa03
JM
66482012-03-09 Joseph Myers <joseph@codesourcery.com>
6649
6650 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6651 * sunrpc/rpc_main.c: Likewise.
6652 * sunrpc/rpc_svcout.c: Likewise.
6653
60d6f5a6
DM
66542012-03-09 David S. Miller <davem@davemloft.net>
6655
6656 * include/math_private.h: New file.
6657
4962050e
JM
66582012-03-09 Joseph Myers <joseph@codesourcery.com>
6659
02a6f887
JM
6660 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6661 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6662 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6663 from <bits/socket_type.h>.
6664 (enum __socket_type): Don't define here.
6665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6667 bits/socket_type.h.
6668
c6e013c1
JM
6669 [BZ #13566]
6670 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6671 checking __USE_GNU.
6672
4962050e
JM
6673 * Makerules ($(inst_includedir)/%.h): New rule.
6674 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6675 (install-others): Remove variable setting.
6676 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6677
38842f45
RH
66782012-03-08 Richard Henderson <rth@twiddle.net>
6679
67bb6da6
RH
6680 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6681 from macro to inline function; merge with the
6682 !__LIBC_INTERNAL_MATH_INLINES version.
6683 (__ieee754_sqrtf): Likewise.
6684
15194b4b
RH
6685 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6686 to inline function.
6687 (__rintf, __floor, __floorf): Likewise.
6688
64e21ede
RH
6689 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6690 macro to inline function.
6691 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6692
38842f45
RH
6693 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6694 not <math/math_private.h>.
6695
c64bf5fe
DM
66962012-03-08 David S. Miller <davem@davemloft.net>
6697
6698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6699 copyright year.
6700 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6701
82d86f28
TS
67022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6703
6704 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6705 normalization.
6706 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6707 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6708
aea5d727
UD
67092012-03-08 Ulrich Drepper <drepper@gmail.com>
6710
6711 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6712 be defined individually, they must be defined as a block. Define
6713 S for printing a string instead of hidint the different by using a
6714 macro for adding the 'l'.
6715 * stdio-common/tst-fphex-wide.c: Adjust.
6716
70bca0a3
MP
67172012-03-07 Marek Polacek <polacek@redhat.com>
6718
6719 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6720
65b81130
MP
67212012-03-08 Marek Polacek <polacek@redhat.com>
6722
6723 [BZ #13806]
6724 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6725 * stdio-common/tst-fphex.c: Define a few macros to make the
6726 test reusable. Use them.
6727 * stdio-common/tst-fphex-wide.c: New file.
6728
07037eeb
JM
67292012-03-08 Joseph Myers <joseph@codesourcery.com>
6730
a7a93d50
JM
6731 [BZ #6911]
6732 * manual/macros.texi (gnusystems): New macro.
6733 (nongnusystems): Likewise.
6734 (gnulinuxhurdsystems): Likewise.
6735 (gnuhurdsystems): Likewise..
6736 (gnulinuxsystems): Likewise.
6737 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6738 variants of the GNU system, not "GNU system".
6739 * manual/conf.texi: Likewise.
6740 * manual/errno.texi: Likewise. Update example of errno macro
6741 expansion.
6742 * manual/filesys.texi: Likewise.
6743 (getumask): Document as specific to GNU/Hurd.
6744 * manual/install.texi: Likewise. Reword some references to
6745 GNU/Linux.
6746 * manual/intro.texi: Likewise.
6747 * manual/io.texi: Likewise.
6748 (File Name Portability): Detail which constraints are inapplicable
6749 to all GNU systems and which are only inapplicable to GNU/Hurd.
6750 * manual/job.texi: Likewise.
6751 * manual/llio.texi: Likewise.
6752 (O_NOCTTY): Document as present on GNU/Linux.
6753 * manual/maint.texi: Likewise.
6754 * manual/memory.texi: Likewise.
6755 * manual/pattern.texi: Likewise.
6756 * manual/pipe.texi: Likewise.
6757 * manual/process.texi: Likewise.
6758 * manual/resource.texi: Likewise.
6759 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6760 child on GNU/Hurd.
6761 * manual/setjmp.texi: Likewise.
6762 * manual/signal.texi: Likewise.
6763 * manual/startup.texi: Likewise.
6764 * manual/stdio.texi: Likewise.
6765 * manual/terminal.texi: Likewise.
6766 (ONLCR): Document as POSIX.
6767 (OXTABS): Document availability on GNU/Linux as XTABS.
6768 (ONOEOT): Document availability separately from other bits.
6769 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6770 * manual/time.texi: Likewise.
6771 * manual/users.texi: Likewise.
6772 * INSTALL: Regenerated.
6773 * sysdeps/gnu/errlist.c: Regenerated.
6774
07037eeb
JM
6775 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6776 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6777 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6778 puts.
6779 * configure: Regenerated.
6780
d1d3431a
JM
67812012-03-07 Joseph Myers <joseph@codesourcery.com>
6782
af6a1e37
JM
6783 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6784 default includes instead of AC_HEADER_CHECK.
6785 * sysdeps/i386/configure: Regenerated.
6786
d1d3431a
JM
6787 [BZ #10716]
6788 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6789 * math/s_cacoshf.c (__cacoshf): Likewise.
6790 * math/s_cacoshl.c (__cacoshl): Likewise.
6791 * math/s_casinh.c (__casinh): Set signs of result from argument.
6792 * math/s_casinhf.c (__casinhf): Likewise.
6793 * math/s_casinhl.c (__casinhl): Likewise.
6794 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6795 (casinh_test): Add more tests.
6796 * sysdeps/i386/fpu/libm-test-ulps: Update.
6797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6798
482ff4da
UD
67992012-03-07 Ulrich Drepper <drepper@gmail.com>
6800
872fda05
UD
6801 * po/zh_TW.po: Update from translation team.
6802
a4300c7a
UD
6803 * login/Makefile (distribute): Remove variable.
6804 * catgets/Makefile: Likewise.
6805 * mach/Makefile: Likewise.
6806 * malloc/Makefile: Likewise.
6807 * misc/Makefile: Likewise.
6808 * iconv/Makefile: Likewise.
6809 * nscd/Makefile: Likewise.
6810 * hurd/Makefile: Likewise.
6811 * manual/Makefile: Likewise.
6812 * locale/Makefile: Likewise.
6813 * intl/Makefile: Likewise.
6814 * conform/Makefile: Likewise.
6815 * nss/Makefile: Likewise.
6816 * time/Makefile: Likewise.
6817 * soft-fp/Makefile: Likewise.
6818 * dirent/Makefile: Likewise.
6819 * gmon/Makefile: Likewise.
6820 * po/Makefile: Likewise.
6821 * rt/Makefile: Likewise.
6822 * socket/Makefile: Likewise.
6823 * math/Makefile: Likewise.
6824 * signal/Makefile: Likewise.
6825 * debug/Makefile: Likewise.
6826 * elf/Makefile: Likewise.
6827 * timezone/Makefile: Likewise.
6828 * stdlib/Makefile: Likewise.
6829 * iconvdata/Makefile: Likewise.
6830 * sunrpc/Makefile: Likewise.
6831 * io/Makefile: Likewise.
6832 * argp/Makefile: Likewise.
6833 * inet/Makefile: Likewise.
6834 * hesiod/Makefile: Likewise.
6835 * grp/Makefile: Likewise.
6836 * csu/Makefile: Likewise.
6837 * wctype/Makefile: Likewise.
6838 * crypt/Makefile: Likewise.
6839 * libio/Makefile: Likewise.
6840 * string/Makefile: Likewise.
6841 * nis/Makefile: Likewise.
6842 * resolv/Makefile: Likewise.
6843 * stdio-common/Makefile: Likewise.
6844 * wcsmbs/Makefile: Likewise.
6845 * dlfcn/Makefile: Likewise.
6846 * posix/Makefile: Likewise.
6847
3b7c4e74 6848 [BZ #6959]
482ff4da
UD
6849 * timezone/Makefile: Don't install timezone files, just the programs
6850 and scripts.
6851
f72ed77d
UD
68522012-03-06 Ulrich Drepper <drepper@gmail.com>
6853
a000466f
UD
6854 * nss/databases.def: Add missing gshadow entry.
6855
f72ed77d
UD
6856 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6857
a53b7a4e
MP
68582012-03-06 Marek Polacek <polacek@redhat.com>
6859
6860 [BZ #13726]
6861 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6862 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6863 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6864 * stdio-common/tst-long-dbl-fphex.c: New file.
6865
e9258400
DM
68662012-03-06 David S. Miller <davem@davemloft.net>
6867
6868 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6869 (set_obp_int): New function.
6870 (get_obp_int): New function.
6871 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6872 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6873 Avoid unused variable warnings on 'val' and use builtin_expect.
6874 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6875 __builtin_expect.
e9258400
DM
6876 (INLINE_CLONE_SYSCALL): Likewise.
6877
3bd2c723
DM
68782012-03-05 David S. Miller <davem@davemloft.net>
6879
6880 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6881
bbb78d03
AS
68822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6883
884c5db4
AS
6884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6885
bbb78d03
AS
6886 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6887 only for |x| >= 40.
6888 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6889
1c9f702a 68902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6891
6892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6893 Replace gettimeofday with __vdso_gettimeofday.
6894
7be16f82
RM
6895 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6896 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6897 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6898
6899 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6900 time with __vdso_time.
6901
ed58a00f
JM
69022012-03-05 Joseph Myers <joseph@codesourcery.com>
6903
6904 * manual/lang.texi (size_t): Note types to which size_t may be
6905 equivalent with the GNU C Library, but do not describe when
6906 differences between them are significant.
6907
30ee4ced
AJ
69082012-03-05 Andreas Jaeger <aj@suse.de>
6909
6910 * sysdeps/i386/fpu/libm-test-ulps: Update.
6911
b7cd39e8
JM
69122012-03-05 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #3976]
6915 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6916 (__ieee754_pow): Save and restore rounding mode and use
6917 round-to-nearest for main computations.
6918 * math/libm-test.inc (pow_test_tonearest): New function.
6919 (pow_test_towardzero): Likewise.
6920 (pow_test_downward): Likewise.
6921 (pow_test_upward): Likewise.
6922 (main): Call the new functions.
6923 * sysdeps/i386/fpu/libm-test-ulps: Update.
6924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6925
6926 [BZ #3976]
6927 * math/libm-test.inc (cosh_test_tonearest): New function.
6928 (cosh_test_towardzero): Likewise.
6929 (cosh_test_downward): Likewise.
6930 (cosh_test_upward): Likewise.
6931 (sinh_test_tonearest): Likewise.
6932 (sinh_test_towardzero): Likewise.
6933 (sinh_test_downward): Likewise.
6934 (sinh_test_upward): Likewise.
6935 (main): Call the new functions.
6936 * sysdeps/i386/fpu/libm-test-ulps: Update.
6937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6938
6c6a98c9
TV
69392012-03-05 Tom de Vries <tom@codesourcery.com>
6940
6941 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6942 default stack guard is set in last bytes.
6943 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6944
21bb2d2e 69452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6946
21bb2d2e 6947 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6948
21bb2d2e
AJ
6949 [BZ #13656]
6950 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6951 possibly allocate from heap instead of stack.
6952 * stdio-common/bug-vfprintf-nargs.c: New file.
6953 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6954
c6922934
AS
69552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6956
6957 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6958
bc957d53
MP
69592012-03-03 Marek Polacek <polacek@redhat.com>
6960
6961 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6962 * math/math_private.h: Likewise.
6963 * stdlib/tst-strtod.c: Likewise.
6964 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6965 * sysdeps/x86_64/bits/atomic.h: Likewise.
6966
6358490d
DM
69672012-03-02 David S. Miller <davem@davemloft.net>
6968
6969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6973 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6974 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6975 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6976 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6977
01ae168d
RM
69782012-03-02 Roland McGrath <roland@hack.frob.com>
6979
d9a17c07
RM
6980 [BZ #13792]
6981 * manual/examples/README: New file, says the example source files
6982 can be used under GPL>=2.
6983 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6984 line containing just "*/".
6985 * manual/examples/add.c: Add copyright header (GPL>=2).
6986 * manual/examples/argp-ex1.c: Likewise.
6987 * manual/examples/argp-ex2.c: Likewise.
6988 * manual/examples/argp-ex3.c: Likewise.
6989 * manual/examples/argp-ex4.c: Likewise.
6990 * manual/examples/atexit.c: Likewise.
6991 * manual/examples/db.c: Likewise.
6992 * manual/examples/dir.c: Likewise.
6993 * manual/examples/dir2.c: Likewise.
6994 * manual/examples/execinfo.c: Likewise.
6995 * manual/examples/filecli.c: Likewise.
6996 * manual/examples/filesrv.c: Likewise.
6997 * manual/examples/fmtmsgexpl.c: Likewise.
6998 * manual/examples/genpass.c: Likewise.
6999 * manual/examples/inetcli.c: Likewise.
7000 * manual/examples/inetsrv.c: Likewise.
7001 * manual/examples/isockad.c: Likewise.
7002 * manual/examples/longopt.c: Likewise.
7003 * manual/examples/memopen.c: Likewise.
7004 * manual/examples/memstrm.c: Likewise.
7005 * manual/examples/mkfsock.c: Likewise.
7006 * manual/examples/mkisock.c: Likewise.
7007 * manual/examples/mygetpass.c: Likewise.
7008 * manual/examples/pipe.c: Likewise.
7009 * manual/examples/popen.c: Likewise.
7010 * manual/examples/rprintf.c: Likewise.
7011 * manual/examples/search.c: Likewise.
7012 * manual/examples/select.c: Likewise.
7013 * manual/examples/setjmp.c: Likewise.
7014 * manual/examples/sigh1.c: Likewise.
7015 * manual/examples/sigusr.c: Likewise.
7016 * manual/examples/stpcpy.c: Likewise.
7017 * manual/examples/strdupa.c: Likewise.
7018 * manual/examples/strftim.c: Likewise.
7019 * manual/examples/strncat.c: Likewise.
7020 * manual/examples/subopt.c: Likewise.
7021 * manual/examples/swapcontext.c: Likewise.
7022 * manual/examples/termios.c: Likewise.
7023 * manual/examples/testopt.c: Likewise.
7024 * manual/examples/testpass.c: Likewise.
7025 * manual/examples/timeval_subtract.c: Likewise.
7026
01ae168d
RM
7027 [BZ #13792]
7028 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7029 function to ...
7030 * manual/timeval_subtract.c.texi: ... here, new file.
7031
49efa33d
DM
70322012-03-02 David S. Miller <davem@davemloft.net>
7033
7034 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7035
28afd92d
JM
70362012-03-02 Joseph Myers <joseph@codesourcery.com>
7037
804360ed
JM
7038 [BZ #3976]
7039 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7040 (__sin): Save and restore rounding mode and use round-to-nearest
7041 for all computations.
7042 (__cos): Save and restore rounding mode and use round-to-nearest
7043 for all computations.
7044 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7045 <fenv.h>.
7046 (tan): Save and restore rounding mode and use round-to-nearest for
7047 all computations.
7048 * math/libm-test.inc (cos_test_tonearest): New function.
7049 (cos_test_towardzero): Likewise.
7050 (cos_test_downward): Likewise.
7051 (cos_test_upward): Likewise.
7052 (sin_test_tonearest): Likewise.
7053 (sin_test_towardzero): Likewise.
7054 (sin_test_downward): Likewise.
7055 (sin_test_upward): Likewise.
7056 (tan_test_tonearest): Likewise.
7057 (tan_test_towardzero): Likewise.
7058 (tan_test_downward): Likewise.
7059 (tan_test_upward): Likewise.
7060 (main): Call the new functions.
7061 * sysdeps/i386/fpu/libm-test-ulps: Update.
7062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063
a6d06d7b
JM
7064 [BZ #10135]
7065 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7066 small n, then large n, before computing and testing k+n.
7067 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7069 Likewise.
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7071 Likewise.
7072 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7073 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7074 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7075 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7076 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7078 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7079 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7080 * math/libm-test.inc (scalbn_test): Add more tests.
7081 (scalbln_test): Likewise.
7082
07e12bb3
JM
7083 * manual/filesys.texi (mode_t): Describe constraints on size and
7084 signedness, not exact equivalence to a particular type.
7085 (ino_t): Likewise.
7086 (ino64_t): Likewise.
7087 (dev_t): Likewise.
7088 (nlink_t): Likewise.
7089 (blkcnt_t): Likewise.
7090 (blkcnt64_t): Likewise.
7091 * manual/llio.texi (off_t): Likewise.
7092
28afd92d
JM
7093 [BZ #3976]
7094 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7095 (__ieee754_exp): Save and restore rounding mode and use
7096 round-to-nearest for all computations.
7097 * math/libm-test.inc (exp_test_tonearest): New function.
7098 (exp_test_towardzero): Likewise.
7099 (exp_test_downward): Likewise.
7100 (exp_test_upward): Likewise.
7101 (main): Call the new functions.
7102 * sysdeps/i386/fpu/libm-test-ulps: Update.
7103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7104
b1eeb65d
CD
71052012-03-01 Chris Demetriou <cgd@google.com>
7106
7107 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7108 have predictable order.
7109
53362a4b
DM
71102012-03-01 David S. Miller <davem@davemloft.net>
7111
3c969083
DM
7112 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7113
759707de
DM
7114 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7115 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7116 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7117 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7118
dfdb8ff2
DM
7119 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7120 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7121 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7123 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7124 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7125 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7126 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7127 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7128
ead89f96
DM
7129 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7130
7f66bd07
DM
7131 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7132 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7133 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7134
53362a4b
DM
7135 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7136 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7137 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7138 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7139 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7140 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7141 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7142 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7143 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7144 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7145 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7146 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7147 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7148 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7149 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7150 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7151 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7152 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7153 * sysdeps/sparc/elf/configure: Regenerated.
7154
7b1902cb
JM
71552012-03-01 Joseph Myers <joseph@codesourcery.com>
7156
bec039bc
JM
7157 * configure.in (AS, LD): Require binutils 2.20 or later.
7158 * configure: Regenerated.
7159 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7160 as required minimum version.
7161 * INSTALL: Regenerated.
7162
7b1902cb
JM
7163 [BZ #2541]
7164 [BZ #4108]
7165 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7166 before squaring exponent.
7167 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7168 bottom long double and 27 bits of top long double before squaring
7169 exponent.
7170 * math/libm-test.inc (erfc_test): Add more tests.
7171 * sysdeps/i386/fpu/libm-test-ulps: Update.
7172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7174
f775c276
KT
71752012-03-01 Kai Tietz <ktietz@redhat.com>
7176
7177 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7178 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7179 containing bit-fields.
7180 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7181 * soft-fp/single.h (_FP_UNION_S): Likewise.
7182 * soft-fp/double.h (_FP_UNION_D): Likewise.
7183
5b8a4d4a
JM
71842012-02-29 Joseph Myers <joseph@codesourcery.com>
7185
0bab47b6
JM
7186 [BZ #13786]
7187 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7188 not include ../strcmp.S.
7189 [USE_AS_STRNCASECMP_L]: Likewise.
7190 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7191 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7192 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7193 (__strncasecmp_l_ia32): Define as alias to
7194 __strncasecmp_l_nonascii.
7195
0fcad3e2
JM
7196 [BZ #5794]
7197 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7198 * sysdeps/i386/fpu/libm-test-ulps: Update.
7199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200
5b8a4d4a
JM
7201 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7203
8fdceb2e
JL
72042012-02-29 Jeff Law <law@redhat.com>
7205
7206 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7207 out of bounds read.
7208
1f393a11
MP
72092012-02-29 Marek Polacek <polacek@redhat.com>
7210
7211 [BZ #13706]
7212 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7213 * elf/Makefile: Add rules to run tst-unused-dep.out.
7214
8847f037
DM
72152012-02-28 David S. Miller <davem@davemloft.net>
7216
7217 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7218 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7219 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7220 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7221 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7222 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7223
169d7f11
JM
72242012-02-29 Joseph Myers <joseph@codesourcery.com>
7225
7226 * math/libm-test.inc (llround_test): Move one test from
7227 lround_test. Use TEST_f_L in moved test.
7228 (lround_test): Move misplaced test to llround_test. Add testcase
7229 from bug 2561.
7230
39adf059
UD
72312012-02-28 Ulrich Drepper <drepper@gmail.com>
7232
7233 * sysdeps/x86_64/fpu/e_expf.S: New file.
7234 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7235
71b5d1c5
SB
72362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7237
7238 [BZ #13637]
7239 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7240 of remain_len that may cause incomplete multi-byte character and
7241 false match.
7242 * posix/bug-regex33.c: New file.
7243 * posix/Makefile (tests): Add bug-regex33.
7244
1f77f049
JM
72452012-02-28 Joseph Myers <joseph@codesourcery.com>
7246
7247 * manual/macros.texi: New file.
7248 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7249 * manual/libc.texinfo: Include macros.texi.
7250 * manual/creatute.texi: Likewise.
7251 * manual/install.texi: Likewise.
7252 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7253 @glibcadj{} in references to the GNU C Library.
7254 * manual/charset.texi: Likewise.
7255 * manual/conf.texi: Likewise.
7256 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7257 when not using those macros.
7258 * manual/creature.texi: Likewise.
7259 * manual/crypt.texi: Likewise.
7260 * manual/errno.texi: Likewise.
7261 * manual/filesys.texi: Likewise.
7262 * manual/header.texi: Likewise.
7263 * manual/install.texi: Likewise.
7264 * manual/intro.texi: Likewise.
7265 * manual/io.texi: Likewise.
7266 * manual/job.texi: Likewise.
7267 * manual/lang.texi: Likewise.
7268 * manual/libc.texiinfo: Likewise.
7269 * manual/llio.texi: Likewise.
7270 * manual/locale.texi: Likewise.
7271 * manual/maint.texi: Likewise.
7272 * manual/math.texi: Likewise.
7273 * manual/memory.texi: Likewise.
7274 * manual/message.texi: Likewise.
7275 * manual/nss.texi: Likewise.
7276 * manual/pattern.texi: Likewise.
7277 * manual/process.texi: Likewise.
7278 * manual/resource.texi: Likewise.
7279 * manual/search.texi: Likewise.
7280 * manual/setjmp.texi: Likewise.
7281 * manual/signal.texi: Likewise.
7282 * manual/socket.texi: Likewise.
7283 * manual/startup.texi: Likewise.
7284 * manual/stdio.texi: Likewise.
7285 * manual/string.texi: Likewise.
7286 * manual/sysinfo.texi: Likewise.
7287 * manual/syslog.texi: Likewise.
7288 * manual/terminal.texi: Likewise.
7289 * manual/time.texi: Likewise.
7290 * manual/users.texi: Likewise.
7291 * INSTALL: Regenerated.
7292 * NOTES: Regenerated.
d40c5d54 7293 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7294
450bf206
AS
72952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7296
7297 * include/dirent.h: Include <dirstream.h> before
7298 <dirent/dirent.h>.
7299
741a235b
DM
73002012-02-28 David S. Miller <davem@davemloft.net>
7301
7302 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7303 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7304 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7305 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7306
d6b5aa58
DM
73072012-02-27 David S. Miller <davem@davemloft.net>
7308
1aff59a3
DM
7309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7311 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7312 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7313
d6b5aa58
DM
7314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7315 frame pointer instead of stack pointer relative arg slot.
7316 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7317 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7318 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7319
433f48bf
CD
73202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7321
7322 [BZ #3992]
7323 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7324
d674b76d
DM
73252012-02-27 David S. Miller <davem@davemloft.net>
7326
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7331 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7332 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7333 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7334 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7335
0e7727f7
JM
73362012-02-27 Joseph Myers <joseph@codesourcery.com>
7337
7338 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7339 later. Allow versions 5-9.
43be4ca2 7340 * configure: Regenerated.
0e7727f7
JM
7341 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7342 required minimum version and 4.6 as recommended version. Do not
7343 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7344 * INSTALL: Regenerated.
0e7727f7 7345
a78bc654
DM
73462012-02-27 David S. Miller <davem@davemloft.net>
7347
428d5830
DM
7348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7352 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7353 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7354 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7355 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7356
a78bc654
DM
7357 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7358 manipulate bits before adding and subtracting TWO112[sx].
7359 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7360
4579f81c
RM
73612012-02-27 Roland McGrath <roland@hack.frob.com>
7362
36c8acb4
RM
7363 [BZ #13775]
7364 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7365 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7366 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7367 being in POSIX, because they are in 1003.1-2008.
7368
84ad622b
RM
7369 * rt/tst-aio.c: Include <fcntl.h>.
7370 * rt/tst-aio7.c: Likewise.
7371 * rt/tst-aio64.c: Likewise.
7372
4579f81c
RM
7373 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7374
abd923db
JM
73752012-02-27 Joseph Myers <joseph@codesourcery.com>
7376
7377 * manual/install.texi (--with-headers): Describe headers as
7378 interface headers, not private headers.
7379 (Specific advice for GNU/Linux systems): Describe use of headers
7380 from "make headers_install", not private headers from older
7381 kernels.
43be4ca2 7382 * INSTALL: Regenerated.
abd923db
JM
7383 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7384 Change to 2.6.19.
7385 * sysdeps/unix/sysv/linux/configure: Regenerated.
7386
6664049b
JM
7387 * manual/llio.texi (fclean): Remove documentation.
7388
bb8b6697
JM
7389 * manual/Makefile (libc-texi-generated): New variable. Include
7390 version.texi.
7391 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7392 $(libc-texi-generated), not duplicated list of files.
7393 (version.texi, stamp-version): New rules.
7394 (realclean): Remove $(libc-texi-generated), not individual files
7395 from that list. Do not remove dir-add.texinfo.
7396 * manual/libc.texinfo: Comment out uses of edition numbers and
7397 references to printed manual. Remove last-updated dates.
7398 (EDITION): Comment out.
7399 (ISBN): Likewise.
7400 (VERSION, UPDATED): Remove.
7401 (version.texi): Include.
7402
12e5c3b9
AS
74032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7404
7405 * sysdeps/posix/spawni.c: Include <signal.h>.
7406 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7407 * sysdeps/pthread/aio_fsync.c: Likewise.
7408
4efeffc1 74092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7410
ba63ba08
UD
7411 * conform/Makefile (tests): Run only when not cross-compiling and
7412 when fast-check is not defined.
7413
d94a4670
UD
7414 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7415 * conform/data/limits.h-data: Fixes for POSIX2008.
7416 * conform/run-conformtest.sh: Run all tests.
7417 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7418 headers.
7419 * include/bits/dlfcn.h: Likewise.
7420 * include/langinfo.h: Likewise.
7421 * include/monetary.h: Likewise.
7422 * include/sys/poll.h: Likewise.
7423
7424 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7425 for __USE_GNU.
7426 * posix/spawn.h: Define __need_sigset_t.
7427 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7428 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7429 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7430 to get sigevent_t only.
7431 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7432 only for __USE_GNU.
7433 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7434 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7435 process_vm_writev only for __USE_GNU.
7436 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7437
7438 * conform/Makefile: For now ignore errors from run-conformtest.
7439 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7440 POSIX to avoid namespace pollution. Don't prepend headers.
7441 * conform/data/aio.h-data: Fixes for POSIX testing.
7442 * conform/data/fcntl.h-data: Likewise.
7443 * conform/data/glob.h-data: Likewise.
7444 * conform/data/grp.h-data: Likewise.
7445 * conform/data/pthread.h-data: Likewise.
7446 * conform/data/pwd.h-data: Likewise.
7447 * conform/data/signal.h-data: Likewise.
7448 * conform/data/spawn.h-data: Likewise.
7449 * conform/data/stdio.h-data: Likewise.
7450 * conform/data/stdlib.h-data: Likewise.
7451 * conform/data/stropts.h-data: Likewise.
7452 * conform/data/sys/mman.h-data: Likewise.
7453 * conform/data/sys/stat.h-data: Likewise.
7454 * conform/data/sys/types.h-data: Likewise.
7455 * conform/data/sys/wait.h-data: Likewise.
7456 * conform/data/time.h-data: Likewise.
7457 * conform/data/unistd.h-data: Likewise.
7458 * conform/data/utime.h-data: Likewise.
7459
7460 * io/sys/stat.h: fchmod was always in POSIX.
7461 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7462 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7463 * rt/aio.h: Define __need_timespec before including <time.h>.
7464 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7465 struct. Add forward declaration of pthread_attr_t and use it in
7466 sigevent.
7467 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7469 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7470 always remove CLK_TCK definition.
7471
c20105c3
AS
74722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7473
7474 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7475
7a270350
UD
74762012-02-25 Ulrich Drepper <drepper@gmail.com>
7477
31341567
UD
7478 * conform/run-conformtest.sh: New file.
7479 * conform/Makefile: Run run-conformtest for tests.
7480 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7481 support.
7482
7483 * conform/data/uchar.h-data: New file.
7484 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7485 * conform/data/arpa/inet.h-data: Likewise.
7486 * conform/data/assert.h-data: Likewise.
7487 * conform/data/complex.h-data: Likewise.
7488 * conform/data/cpio.h-data: Likewise.
7489 * conform/data/ctype.h-data: Likewise.
7490 * conform/data/dirent.h-data: Likewise.
7491 * conform/data/dlfcn.h-data: Likewise.
7492 * conform/data/errno.h-data: Likewise.
7493 * conform/data/fcntl.h-data: Likewise.
7494 * conform/data/float.h-data: Likewise.
7495 * conform/data/fmtmsg.h-data: Likewise.
7496 * conform/data/fnmatch.h-data: Likewise.
7497 * conform/data/ftw.h-data: Likewise.
7498 * conform/data/glob.h-data: Likewise.
7499 * conform/data/grp.h-data: Likewise.
7500 * conform/data/iconv.h-data: Likewise.
7501 * conform/data/inttypes.h-data: Likewise.
7502 * conform/data/langinfo.h-data: Likewise.
7503 * conform/data/libgen.h-data: Likewise.
7504 * conform/data/limits.h-data: Likewise.
7505 * conform/data/locale.h-data: Likewise.
7506 * conform/data/math.h-data: Likewise.
7507 * conform/data/monetary.h-data: Likewise.
7508 * conform/data/mqueue.h-data: Likewise.
7509 * conform/data/ndbm.h-data: Likewise.
7510 * conform/data/net/if.h-data: Likewise.
7511 * conform/data/netdb.h-data: Likewise.
7512 * conform/data/netinet/in.h-data: Likewise.
7513 * conform/data/nl_types.h-data: Likewise.
7514 * conform/data/poll.h-data: Likewise.
7515 * conform/data/pthread.h-data: Likewise.
7516 * conform/data/pwd.h-data: Likewise.
7517 * conform/data/regex.h-data: Likewise.
7518 * conform/data/sched.h-data: Likewise.
7519 * conform/data/search.h-data: Likewise.
7520 * conform/data/semaphore.h-data: Likewise.
7521 * conform/data/setjmp.h-data: Likewise.
7522 * conform/data/signal.h-data: Likewise.
7523 * conform/data/spawn.h-data: Likewise.
7524 * conform/data/stdarg.h-data: Likewise.
7525 * conform/data/stdio.h-data: Likewise.
7526 * conform/data/stdlib.h-data: Likewise.
7527 * conform/data/string.h-data: Likewise.
7528 * conform/data/strings.h-data: Likewise.
7529 * conform/data/stropts.h-data: Likewise.
7530 * conform/data/sys/ipc.h-data: Likewise.
7531 * conform/data/sys/mman.h-data: Likewise.
7532 * conform/data/sys/msg.h-data: Likewise.
7533 * conform/data/sys/resource.h-data: Likewise.
7534 * conform/data/sys/select.h-data: Likewise.
7535 * conform/data/sys/sem.h-data: Likewise.
7536 * conform/data/sys/shm.h-data: Likewise.
7537 * conform/data/sys/socket.h-data: Likewise.
7538 * conform/data/sys/stat.h-data: Likewise.
7539 * conform/data/sys/statvfs.h-data: Likewise.
7540 * conform/data/sys/time.h-data: Likewise.
7541 * conform/data/sys/timeb.h-data: Likewise.
7542 * conform/data/sys/times.h-data: Likewise.
7543 * conform/data/sys/types.h-data: Likewise.
7544 * conform/data/sys/uio.h-data: Likewise.
7545 * conform/data/sys/un.h-data: Likewise.
7546 * conform/data/sys/utsname.h-data: Likewise.
7547 * conform/data/sys/wait.h-data: Likewise.
7548 * conform/data/syslog.h-data: Likewise.
7549 * conform/data/tar.h-data: Likewise.
7550 * conform/data/termios.h-data: Likewise.
7551 * conform/data/utime.h-data: Likewise.
7552 * conform/data/utmpx.h-data: Likewise.
7553 * conform/data/varargs.h-data: Likewise.
7554 * conform/data/wchar.h-data: Likewise.
7555 * conform/data/wctype.h-data: Likewise.
7556 * conform/data/wordexp.h-data: Likewise.
7557
7558 * include/stropts.h: New file.
7559 * include/uchar.h: New file.
7560 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7561 * include/assert.h: Likewise.
7562 * include/ctype.h: Likewise.
7563 * include/dirent.h: Likewise.
7564 * include/dlfcn.h: Likewise.
7565 * include/fcntl.h: Likewise.
7566 * include/fnmatch.h: Likewise.
7567 * include/glob.h: Likewise.
7568 * include/grp.h: Likewise.
7569 * include/libio.h: Likewise.
7570 * include/locale.h: Likewise.
7571 * include/math.h: Likewise.
7572 * include/net/if.h: Likewise.
7573 * include/netdb.h: Likewise.
7574 * include/netinet/in.h: Likewise.
7575 * include/pthread.h: Likewise.
7576 * include/pwd.h: Likewise.
7577 * include/regex.h: Likewise.
7578 * include/sched.h: Likewise.
7579 * include/search.h: Likewise.
7580 * include/setjmp.h: Likewise.
7581 * include/signal.h: Likewise.
7582 * include/stdio.h: Likewise.
7583 * include/stdlib.h: Likewise.
7584 * include/string.h: Likewise.
7585 * include/sys/cdefs.h: Likewise.
7586 * include/sys/mman.h: Likewise.
7587 * include/sys/msg.h: Likewise.
7588 * include/sys/resource.h: Likewise.
7589 * include/sys/select.h: Likewise.
7590 * include/sys/socket.h: Likewise.
7591 * include/sys/stat.h: Likewise.
7592 * include/sys/statvfs.h: Likewise.
7593 * include/sys/time.h: Likewise.
7594 * include/sys/times.h: Likewise.
7595 * include/sys/uio.h: Likewise.
7596 * include/sys/utsname.h: Likewise.
7597 * include/sys/wait.h: Likewise.
7598 * include/termios.h: Likewise.
7599 * include/time.h: Likewise.
7600 * include/ulimit.h: Likewise.
7601 * include/unistd.h: Likewise.
7602 * include/utime.h: Likewise.
7603 * include/wchar.h: Likewise.
7604 * include/wctype.h: Likewise.
7605 * include/wordexp.h: Likewise.
7606
7607 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7608
7a270350
UD
7609 * time/time.h: TIME_UTC must be a macro.
7610 Make timespec_get available for ISO C11 only as well.
7611
7724defc
UD
76122012-02-24 Ulrich Drepper <drepper@gmail.com>
7613
7614 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7615 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7616
6b1d1d46
JM
76172012-02-24 Joseph Myers <joseph@codesourcery.com>
7618
7619 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7620
0f8bbd69
JM
76212012-02-24 Joseph Myers <joseph@codesourcery.com>
7622
7623 * manual/texinfo.tex: Update to version 2012-01-19.16.
7624
66ab80bc
JM
76252012-02-24 Joseph Myers <joseph@codesourcery.com>
7626
7627 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7628
74981cc5
RM
76292012-02-24 Roland McGrath <roland@hack.frob.com>
7630
ee968201
RM
7631 [BZ #13738]
7632 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7633 * manual/fdl-1.3.texi: New file.
7634 * manual/fdl-1.1.texi: File removed.
7635
74981cc5
RM
7636 [BZ #13738]
7637 * manual/libc.texinfo (FDL_VERSION): New @set.
7638 Use it for mention of FDL in cover text.
7639 (Documentation License): Use it in @include file name.
7640
7bb764bc
JM
76412012-02-22 Joseph Myers <joseph@codesourcery.com>
7642 Roland McGrath <roland@hack.frob.com>
7643
7644 [BZ #5461]
7645 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7646 not LONG_LONG_MAX and LONG_LONG_MIN.
7647 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7648 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7649 name.
7650 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7651
6cbeae47
JM
76522012-02-22 Joseph Myers <joseph@codesourcery.com>
7653
7654 [BZ #2547]
7655 [BZ #11365]
7656 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7657 manipulate bits before adding and subtracting TWO23[sx].
7658 * math/libm-test.inc (nearbyint_test): Add more tests.
7659
fe45ce09
JM
76602012-02-22 Joseph Myers <joseph@codesourcery.com>
7661
7662 [BZ #2548]
7663 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7664 bits before adding and subtracting TWO23[sx].
7665 * math/libm-test.inc (rint_test): Add more tests.
7666 (rint_test_tonearest): Likewise.
7667 (rint_test_towardzero): Likewise.
7668 (rint_test_downward): Likewise.
7669 (rint_test_upward: Likewise.
7670
ff3b3d82
JM
76712012-02-22 Joseph Myers <joseph@codesourcery.com>
7672
7673 [BZ #10110]
7674 * include/stdc-predef.h: New file. Extracted from features.h.
7675 * include/features.h: Include stdc-predef.h.
7676 * Makefile (headers): Add stdc-predef.h.
7677 * CONFORMANCE (Compiler limitations): Update.
7678
ef0aab35
JM
76792012-02-22 Joseph Myers <joseph@codesourcery.com>
7680
7681 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7682
58639409
DM
76832012-02-21 David S. Miller <davem@davemloft.net>
7684
7685 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7686 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7687
c0e70b25
DM
76882012-02-20 David S. Miller <davem@davemloft.net>
7689
7690 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7691 using a normal save/restore sequence, rather than allocating a
7692 dummy stack frame just to store a frame pointer and restore.
7693 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7694
fb06851d
JM
76952012-02-21 Joseph Myers <joseph@codesourcery.com>
7696
7697 * manual/install.texi: Fix stray word in line-wrapped comment.
7698
7a8b71c3
DM
76992012-02-20 David S. Miller <davem@davemloft.net>
7700
d510c123
DM
7701 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7702 both binutils and gcc support GOTDATA.
7703
0722d7c2
DM
7704 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7705 "rd %pc" in the PIC register setup sequences.
7706
3d2b3019
DM
7707 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7708 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7709 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7710 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7711 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7712 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7714 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7716 (SYSCALL_ERROR_HANDLER): Likewise.
7717 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7720 (SYSCALL_ERROR_HANDLER): Likewise.
7721
c80098a9
DM
7722 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7723 (HAVE_GCC_GOTDATA): New.
7724 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7725 relocation support in both binutils and gcc.
7726 * sysdeps/sparc/elf/configure: Regenerate.
7727
3a2545a0
DM
7728 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7729 * sysdeps/sparc/sparc32/elf/configure: Delete.
7730 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7731 * sysdeps/sparc/sparc64/elf/configure: Delete.
7732 * sysdeps/sparc/elf/configure.in: New file.
7733 * sysdeps/sparc/elf/configure: Generate.
7734
7a8b71c3
DM
7735 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7736 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7737 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7738 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7739 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7740
f1e86fca
JM
77412012-02-21 Joseph Myers <joseph@codesourcery.com>
7742
7743 * manual/install.texi: Do not mention specific glibc version
7744 numbers.
7745 * manual/libc.texinfo (VERSION, UPDATED): Update.
7746 (@copying): Use @copyright{} and range of years.
7747
0e7dfaef
JM
77482012-02-21 Joseph Myers <joseph@codesourcery.com>
7749
7750 [BZ #13695]
7751 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7752 [crti.S not in sysdirs] (generated): Do not append.
7753 [crti.S not in sysdirs] (omit-deps): Likewise.
7754 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7755 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7756 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7757 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7758 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7759 Likewise.
7760 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7761 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7762 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7763 * csu/defs.awk: Remove file.
7764 * sysdeps/generic/initfini.c: Likewise.
7765 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7766 variable.
7767 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7768 Likewise.
7769
599af3ca
JM
77702012-02-20 Joseph Myers <joseph@codesourcery.com>
7771
7772 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7773 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7774 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7775 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7776 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7777 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7778 <bits/epoll.h>.
7779 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7780 (__EPOLL_PACKED): Define to empty if not defined by
7781 <bits/epoll.h>.
7782 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7783 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7784 bits/epoll.h.
7785
0e499750
JM
77862012-02-20 Joseph Myers <joseph@codesourcery.com>
7787
7788 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7789 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7790 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7791 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7792 <bits/timerfd.h>.
7793 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7795 bits/timerfd.h.
7796
5ad91f6e
JM
77972012-02-20 Joseph Myers <joseph@codesourcery.com>
7798
7799 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7800 in C locale.
7801 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7802 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7805
06b99b02
AJ
78062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7807
7808 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7809 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7810
7638c0fd
AS
78112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7812
7813 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7814 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7815 defined.
7816 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7817 Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7819 entry for 2.16.
7820
92221550
AJ
78212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7822
7823 * math/w_acos.c: Use non-signaling floating-point comparisons.
7824 * math/w_acosf.c: Likewise.
7825 * math/w_acosh.c: Likewise.
7826 * math/w_acoshf.c: Likewise.
7827 * math/w_acoshl.c: Likewise.
7828 * math/w_acosl.c: Likewise.
7829 * math/w_asin.c: Likewise.
7830 * math/w_asinf.c: Likewise.
7831 * math/w_asinl.c: Likewise.
7832 * math/w_atanh.c: Likewise.
7833 * math/w_atanhf.c: Likewise.
7834 * math/w_atanhl.c: Likewise.
7835 * math/w_exp2.c: Likewise.
7836 * math/w_exp2f.c: Likewise.
7837 * math/w_exp2l.c: Likewise.
7838 * math/w_j0.c: Likewise.
7839 * math/w_j0f.c: Likewise.
7840 * math/w_j0l.c: Likewise.
7841 * math/w_j1.c: Likewise.
7842 * math/w_j1f.c: Likewise.
7843 * math/w_j1l.c: Likewise.
7844 * math/w_jn.c: Likewise.
7845 * math/w_jnf.c: Likewise.
7846 * math/w_log.c: Likewise.
7847 * math/w_log10.c: Likewise.
7848 * math/w_log10f.c: Likewise.
7849 * math/w_log10l.c: Likewise.
7850 * math/w_log2.c: Likewise.
7851 * math/w_log2f.c: Likewise.
7852 * math/w_log2l.c: Likewise.
7853 * math/w_logf.c: Likewise.
7854 * math/w_logl.c: Likewise.
7855 * math/w_sqrt.c: Likewise.
7856 * math/w_sqrtf.c: Likewise.
7857 * math/w_sqrtl.c: Likewise.
7858 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7859 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7861 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7862 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7863
ebaf36eb
JM
78642012-02-19 Joseph Myers <joseph@codesourcery.com>
7865
7866 [BZ #9739]
7867 * manual/string.texi (strnlen): Use correct parameter name in
7868 equivalent expression.
7869
71c254a6
JM
78702012-02-19 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #11174]
7873 * manual/users.texi (seteuid): Consistently use neweuid for
7874 argument name.
7875
16d2c631
JM
78762012-02-19 Joseph Myers <joseph@codesourcery.com>
7877
7878 [BZ #13704]
7879 * manual/nss.texi (Services in the NSS configuration): Correct
7880 list of services in example configuration file.
7881
cd837b09
NB
78822012-02-19 Nick Bowler <nbowler@draconx.ca>
7883
7884 [BZ #11322]
7885 * manual/arith.texi: Remove statements about negative zero
7886 behaving identically to zero.
7887
02c4bbad
JM
78882012-02-18 Joseph Myers <joseph@codesourcery.com>
7889
7890 [BZ #5993]
7891 * manual/install.texi: Do not document upgrading from libc5.
7892
366842e7
JM
78932012-02-18 Joseph Myers <joseph@codesourcery.com>
7894
7895 [BZ #4596]
7896 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7897
dd54084d
DM
78982012-02-18 David S. Miller <davem@davemloft.net>
7899
7900 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7901 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7902 %o7 across the call.
7903 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7904 instead.
7905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7906 SETUP_PIC_REG_LEAF.
7907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7908 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7909 * sysdeps/sparc/crtn.S: Likewise.
7910
2bcc53a3
UD
79112012-02-17 Ulrich Drepper <drepper@gmail.com>
7912
7913 * aout/Makefile: Remove.
7914
09c093b5
RK
79152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7916
7917 [BZ #13058]
7918 * manual/examples/argp-ex1.c (main): Format definition in GNU
7919 style.
7920 * manual/examples/argp-ex2.c (main): Likewise.
7921 * manual/examples/argp-ex3.c (main): Likewise.
7922 * manual/examples/argp-ex4.c (main): Likewise.
7923 * manual/examples/longopt.c (main): Use new-style prototype
7924 definition.
7925 * manual/examples/strncat.c (main): Specify return type and use
7926 (void) for arguments.
7927 * manual/examples/subopt.c (main): Use char **argv argument.
7928
2ee633a2
JM
79292012-02-17 Joseph Myers <joseph@codesourcery.com>
7930
7931 [BZ #5077]
7932 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7933 rounding modes.
7934
0520adde
FB
79352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7936
7937 [BZ #6907]
7938 * manual/string.texi (strchr): Change when strchrnul is
7939 recommended.
7940
3f4081cd
DGM
79412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7942
7943 [BZ #174]
7944 * manual/locale.texi (setlocale): Document LOCPATH.
7945
d1b10e78
JM
79462012-02-17 Joseph Myers <joseph@codesourcery.com>
7947
7948 [BZ #10210]
7949 * manual/process.texi (execle): Move @dots{} before last argument.
7950
79c6869c
PB
79512012-02-17 Paul Bolle <pebolle@tiscali.nl>
7952
7953 [BZ #12047]
7954 * manual/charset.texi (Generic Charset Conversion): Fix typo
7955 (LC_TYPE -> LC_CTYPE).
7956
cc6e48bc
NB
79572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7958
7959 [BZ #5805]
7960 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7961 (scalbnf): Likewise.
7962 (scalbnl): Likewise.
7963 (scalbln): Likewise.
7964 (scalblnf): Likewise.
7965 (scalblnl): Likewise.
7966 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7967 (vwarnx): Likewise.
7968 (verr): Likewise.
7969 (verrx): Likewise.
7970 * manual/filesys.texi (telldir): Use braces around return type.
7971 * manual/llio.texi (mmap): Add space after comma.
7972 (mmap64): Likewise.
7973 * manual/math.texi (jn): Use @var{} on parameter names.
7974 (jnf): Likewise.
7975 (jnl): Likewise.
7976 (yn): Likewise.
7977 (ynf): Likewise.
7978 (ynl): Likewise.
7979 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7980 line.
7981 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7982 "...".
7983 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7984 (sched_get_priority_max): Likewise.
7985 * manual/signal.texi (sigvec): Add space after comma.
7986 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7987 names.
7988 (if_indextoname): Likewise.
7989 (if_freenameindex): Likewise.
7990 (sendto): Use ',' instead of '.' in prototype.
7991 * manual/startup.texi (syscall): Use @dots{} instead of literal
7992 "...".
7993 * manual/stdio.texi (__fpending): Separate initial words of
7994 paragraph from @deftypefun line.
7995 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7996 "...".
7997 (vsyslog): Use @var{} on parameter names.
7998 * manual/terminal.texi (stty): Use @var{} on parameter names.
7999 * manual/users.texi (getutmp): Use @var{} on parameter names.
8000 (getutmpx): Likewise.
8001
5b23062f
JM
80022012-02-17 Joseph Myers <joseph@codesourcery.com>
8003
8004 [BZ #6884]
8005 * manual/stdio.texi (fopen): Fix typos in description of
8006 ",ccs=STRING".
8007
8dee4833
AJ
80082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8009
8010 [BZ #4026]
8011 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8012 get clock_id definition.
8013
9078ce93
TS
80142012-02-17 Thomas Schwinge <thomas@schwinge.name>
8015
8016 [BZ #4822]
8017 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8018 (madvise): Cast every argument to void on its own.
8019
3835c55f
JM
80202012-02-17 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #9902]
8023 * manual/startup.texi (Exit Status): Fix typo.
8024
35c47e37
JM
80252012-02-17 Joseph Myers <joseph@codesourcery.com>
8026
8027 [BZ #10140]
8028 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8029 * manual/examples/argp-ex2.c: Likewise.
8030 * manual/examples/argp-ex3.c: Likewise.
8031
e3b69ca7
RH
80322012-02-16 Richard Henderson <rth@redhat.com>
8033
8034 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8035 * sysdeps/s390/s390-32/initfini.c: Remove.
8036 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8037 * sysdeps/s390/s390-64/initfini.c: Remove.
8038
df83af67
KK
80392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8040
8041 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8042 compiler output for sysdeps/generic/initfini.c.
8043 * sysdeps/sh/elf/initfini.c: Remove file.
8044
f63f3380
DM
80452012-02-16 David S. Miller <davem@davemloft.net>
8046
fb59b3a4
DM
8047 [BZ #11494]
8048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8049
f63f3380
DM
8050 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8051 * sysdeps/sparc/crti.S: New file.
8052 * sysdeps/sparc/crtn.S: New file.
8053 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8054 * sysdeps/sparc/sparc64/Makefile: Likewise.
8055
df6a4a4a
MF
80562012-02-15 Mike Frysinger <vapier@gentoo.org>
8057
6dd8f3dc 8058 [BZ #3335]
df6a4a4a
MF
8059 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8060
1cac7236
RM
80612012-02-15 Roland McGrath <roland@hack.frob.com>
8062
d2c736f8
RM
8063 [BZ #4822]
8064 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8065
1cac7236
RM
8066 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8067 (write, read, close): Likewise.
8068 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8069
8e475601
JM
80702012-02-15 Joseph Myers <joseph@codesourcery.com>
8071
8072 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8073 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8074 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8075 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8076 <bits/signalfd.h>.
8077 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8079 bits/signalfd.h.
8080
ed656b40
MP
80812012-02-14 Marek Polacek <polacek@redhat.com>
8082
8083 * sysdeps/x86_64/crti.S: New file.
8084 * sysdeps/x86_64/crtn.S: New file.
8085 * sysdeps/x86_64/elf/initfini.c: Remove file.
8086
2a979d3a
JM
80872012-02-13 Joseph Myers <joseph@codesourcery.com>
8088
8089 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8090 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8092 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8093 <bits/inotify.h>.
8094 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8096 bits/inotify.h.
8097
2a418ac3
JM
80982012-02-13 Joseph Myers <joseph@codesourcery.com>
8099
8100 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8101 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8102 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8103 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8104 <bits/eventfd.h>.
8105 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8106 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8107 bits/eventfd.h.
8108
fb779be7
TS
81092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8110
e19e83c5
RM
8111 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8112 __feraiseexcept instead of feraiseexcept.
7c35ffed 8113
fb779be7
TS
8114 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8115 nanosleep invocations.
8116 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8117 strings, and add error checking for a nanosleep invocations.
8118
59ba27a6
PE
81192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8120
8121 Replace FSF snail mail address with URLs, as per GNU coding standards.
8122 Most of the snail mail addresses were wrong anyway, and omitting
8123 them makes the source code easier to maintain. Almost all of the
8124 changes are to license notices and to locale LC_IDENTIFICATION
8125 addresses, except for this one:
8126 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8127 not its snail mail address.
8128
57b957eb
RH
81292012-02-09 Richard Henderson <rth@twiddle.net>
8130
af850b1c
RH
8131 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8132 of kernel-features.h.
8133
57b957eb
RH
8134 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8135
6b73181a
MP
81362012-02-08 Marek Polacek <polacek@redhat.com>
8137
8138 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8139 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8140 * sysdeps/gnu/_G_config.h: Likewise.
8141 * sysdeps/generic/_G_config.h: Likewise.
8142
26ecc33a
AS
81432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8144
6c6dbc63
AS
8145 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8146 tests.
8147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8148
e216c012
AS
8149 * sysdeps/powerpc/powerpc32/crti.S: New file.
8150 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8151 * sysdeps/powerpc/powerpc64/crti.S: New file.
8152 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8153
26ecc33a
AS
8154 * Makeconfig (have-initfini): Don't set.
8155 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8156 * configure.in (nopic_initfini): Don't substitute.
8157 * config.h.in (HAVE_INITFINI): Don't #undef.
8158 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8159 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8160
3add8e13
JM
81612012-02-08 Joseph Myers <joseph@codesourcery.com>
8162
8163 Support crti.S and crtn.S provided directly by architectures.
8164 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8165 [crti.S in sysdirs] (omit-deps): Likewise.
8166 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8167 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8168 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8169 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8170 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8171 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8172 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8173 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8174 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8175 compiler output for sysdeps/generic/initfini.c.
8176 * sysdeps/i386/elf/Makefile: Remove file.
8177 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8178
a22f12b4
MP
81792012-02-07 Marek Polacek <polacek@redhat.com>
8180
8181 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8182 * sysdeps/gnu/_G_config.h: Likewise.
8183 * sysdeps/mach/hurd/_G_config.h: Likewise.
8184
148cf100
MP
81852012-02-07 Marek Polacek <polacek@redhat.com>
8186
8187 * math/Makefile (tests): Add tst-CMPLX2.
8188 * math/tst-CMPLX2.c: New file.
8189
cfdc0dd7
AS
81902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8191
84ba42c4
AS
8192 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8193
cfdc0dd7
AS
8194 * math/libm-test.inc (jn_test): Add missing L suffix.
8195
622c86f4
MP
81962012-02-06 Marek Polacek <polacek@redhat.com>
8197
8198 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8199 * sysdeps/i386/fpu/e_powf.S: Likewise.
8200 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8201 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8202 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8203 * sysdeps/i386/fpu/e_pow.S: Likewise.
8204 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8205 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8206 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8207 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8208 * sysdeps/i386/fpu/e_log2.S: Likewise.
8209 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8210 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8211 * sysdeps/i386/fpu/e_powl.S: Likewise.
8212 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8213 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8214 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8215 * sysdeps/i386/fpu/e_logl.S: Likewise.
8216 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8217 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8218 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8219 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8221 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8222 * sysdeps/i386/fpu/e_log.S: Likewise.
8223 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8224 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8225 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8226 * sysdeps/i386/fpu/e_logf.S: Likewise.
8227 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8228 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8229 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8230 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8231 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8232 * sysdeps/i386/fpu/e_log10.S: Likewise.
8233 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8234 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8235 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8236 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8237 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8238 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8239 * sysdeps/i386/asm-syntax.h: Likewise.
8240 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8241 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8242 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8243 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8244 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8245 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8246 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8247 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8248 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8249 * sysdeps/powerpc/sysdep.h: Likewise.
8250 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8251 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8252
d4a54ac6
JM
82532012-02-06 Joseph Myers <joseph@codesourcery.com>
8254
8255 [BZ #411]
8256 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8257
314054ea
JM
82582012-02-06 Joseph Myers <joseph@codesourcery.com>
8259
8260 * sysdeps/i386/sysdep.h: Include <features.h>.
8261 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8262 version.
8263
d8e0ca50
JM
82642012-02-05 Joseph Myers <joseph@codesourcery.com>
8265
8266 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8267 Define.
8268 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8269 LOAD_PIC_REG_STR.
8270
b1da7dd9
JM
82712012-02-03 Joseph Myers <joseph@codesourcery.com>
8272
8273 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8274 (SETUP_PIC_REG): Use GET_PC_THUNK.
8275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8276 macro.
8277
9a1d9254
JM
82782012-02-03 Joseph Myers <joseph@codesourcery.com>
8279
8280 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8281 for non-PIC compilation.
8282 (SETUP_PIC_REG): Add .p2align directive.
8283 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8284 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8285 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8286 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8287 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8288 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8289 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8290 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8291 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8292 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8293 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8294 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8295 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8296 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8297 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8298 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8299 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8300 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8308 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8309 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8310 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8311 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8312 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8313 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8314 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8315 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8316 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8317 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8318 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8319 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8324
65dc3b75
JM
83252012-02-03 Joseph Myers <joseph@codesourcery.com>
8326
8327 * math/tst-CMPLX.c: Include <stdio.h>.
8328
d55bf177
JM
83292012-01-31 Joseph Myers <joseph@codesourcery.com>
8330
8331 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8332 float.
8333 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8334 * sysdeps/sparc/bits/mathdef.h: Likewise.
8335
69db4f8f
MP
83362012-01-31 Marek Polacek <polacek@redhat.com>
8337
8338 * libio/libio.h: Don't define _PARAMS.
8339 * locale/programs/config.h: Don't define PARAMS.
8340 * stdlib/strtol_l.c: Likewise.
8341 (__strtol_l): Remove PARAMS from the prototype.
8342
41b81892
UD
83432012-01-31 Ulrich Drepper <drepper@gmail.com>
8344
3b49edc0
UD
8345 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8346 names. Just use the correct names. Remove unnecessary wrapper
8347 functions.
8348 * malloc/arena.c: Likewise.
8349 * malloc/hooks.c: Likewise.
8350
41b81892
UD
8351 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8352 ARENA_TEST says not to. Simplify test for creation of a new arena.
8353 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8354
27a25b6e
UD
83552012-01-30 Ulrich Drepper <drepper@gmail.com>
8356
8357 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8358 into tail calls.
8359 (update_get_addr): New function.
8360 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8361 GET_ADDR_MODULE parameter.
8362
c8a89e7d
JM
83632012-01-30 Joseph Myers <joseph@codesourcery.com>
8364
8365 * crypt/cert.c: Remove __STDC__ conditionals.
8366 * crypt/crypt-entry.c: Likewise.
8367 * crypt/crypt_util.c: Likewise.
8368 * libio/filedoalloc.c: Likewise.
8369 * libio/fileops.c: Likewise.
8370 * libio/genops.c: Likewise.
8371 * libio/iofclose.c: Likewise.
8372 * libio/iofdopen.c: Likewise.
8373 * libio/iofopen.c: Likewise.
8374 * libio/iofopen64.c: Likewise.
8375 * libio/iogetdelim.c: Likewise.
8376 * libio/iopopen.c: Likewise.
8377 * libio/obprintf.c: Likewise.
8378 * libio/oldfileops.c: Likewise.
8379 * libio/oldiofclose.c: Likewise.
8380 * libio/oldiofdopen.c: Likewise.
8381 * libio/oldiofopen.c: Likewise.
8382 * libio/oldiopopen.c: Likewise.
8383 * libio/wfiledoalloc.c: Likewise.
8384 * libio/wgenops.c: Likewise.
8385 * locale/programs/xmalloc.c: Likewise.
8386 * misc/syslog.c: Likewise.
8387 * stdio-common/xbug.c: Likewise.
8388 * string/memchr.c: Likewise.
8389 * string/memcmp.c: Likewise.
8390 * string/memrchr.c: Likewise.
8391 * string/rawmemchr.c: Likewise.
8392 * sysdeps/posix/getcwd.c: Likewise.
8393 * time/strftime_l.c: Likewise.
8394
3b100462
JM
83952012-01-30 Joseph Myers <joseph@codesourcery.com>
8396
8397 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8398 * config.make.in (config-cflags-sse2avx): Define.
8399 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8400 Fix typo.
8401
607998af
CM
84022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8403
8404 * scripts/config.guess: Update from upstream config git repository.
8405 * scripts/config.sub: Likewise.
8406
3601428f
CM
84072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8408
3ac8b282
CM
8409 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8410 (EM_NUM): Update.
8411 (R_TILEPRO_*, R_TILEGX_*): New macros.
8412
e034841e
CM
8413 * scripts/firstversions.awk: Fix bug in version range handling.
8414
540d7568
CM
8415 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8416
3601428f
CM
8417 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8418
463de862
CM
8419 * include/sys/epoll.h: New file.
8420 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8421 libc_hidden_def.
8422
73139a76
UD
84232012-01-28 Ulrich Drepper <drepper@gmail.com>
8424
96bc5b45
UD
8425 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8426 Avoid unnecessary __WORDSIZE == 64 test.
8427 (fmaxf): Use VEX format if possible.
8428 (fmax): Likewise.
8429 (fminf): Likewise.
8430 (fmin): Likewise.
8431
56f6f6a2
UD
8432 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8433 * math/math_private.h: Remove libc_fegetround* and
8434 libc_fesetround*.
8435 * sysdeps/i386/configure.in: Check for -msse2avx.
8436 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8437 also if SSE2AVX is defined.
8438 Remove libc_fegetround* and libc_fesetround*.
8439 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8440 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8442 of HAS_YMM_USABLE.
8443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8445 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8446 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8447 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8448
73139a76
UD
8449 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8450
d73f93a4
AZ
84512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8452
8453 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8454 size is not set.
8455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8456
6ee65ed6
UD
84572012-01-27 Ulrich Drepper <drepper@gmail.com>
8458
8459 [BZ #13618]
8460 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8461 relocation.
8462 * Makeconfig (libm): Define.
8463 * elf/Makefile: Add rules to build and run tst-relsort1.
8464 * elf/tst-relsort1.c: New file.
8465 * elf/tst-relsort1mod1.c: New file.
8466 * elf/tst-relsort1mod2.c: New file.
8467
8db21882
JM
84682012-01-27 Joseph Myers <joseph@codesourcery.com>
8469
8470 * math/s_ldexp.c: Remove __STDC__ conditionals.
8471 * math/s_ldexpf.c: Likewise.
8472 * math/s_ldexpl.c: Likewise.
8473 * math/s_nextafter.c: Likewise.
8474 * math/s_nexttowardf.c: Likewise.
8475 * math/s_significand.c: Likewise.
8476 * math/s_significandf.c: Likewise.
8477 * math/s_significandl.c: Likewise.
8478 * math/w_jnl.c: Likewise.
8479 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8480 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8481 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8482 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8483 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8488 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8489 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8490 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8491 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8493 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8494 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8498 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8499 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8500 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8501 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8502 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8503 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8504 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8505 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8506 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8507 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8508 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8509 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8510 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8511 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8512 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8514 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8515 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8516 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8517 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8518 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8519 * sysdeps/ieee754/k_standard.c: Likewise.
8520 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8521 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8522 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8523 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8524 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8526 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8527 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8528 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8529 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8530 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8531 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8532 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8533 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8534 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8535 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8536 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8537 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8538 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8539 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8540 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8541 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8542 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8543 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8544 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8545 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8546 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8547 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8548 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8549 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8550 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8551 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8552 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8553 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8554 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8581 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8586 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8587 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8594 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8595 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8599 * sysdeps/ieee754/s_matherr.c: Likewise.
8600 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8601 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8602 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8603 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8604
965a54a4
JM
86052012-01-26 Joseph Myers <joseph@codesourcery.com>
8606
8607 * crypt/md5.h: Remove __STDC__ conditionals.
8608 * libio/libioP.h: Likewise.
8609 * locale/programs/config.h: Likewise.
8610 * sysdeps/generic/sysdep.h: Likewise.
8611 * sysdeps/i386/asm-syntax.h: Likewise.
8612 * sysdeps/s390/asm-syntax.h: Likewise.
8613 * sysdeps/unix/sysdep.h: Likewise.
8614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8616
7071ad79
JM
86172012-01-26 Joseph Myers <joseph@codesourcery.com>
8618
8619 * libio/libio.h: Remove __STDC__ conditionals.
8620 * malloc/obstack.h: Likewise.
8621 * math/complex.h: Likewise.
8622 * math/math.h: Likewise.
8623 * sysdeps/generic/_G_config.h: Likewise.
8624 * sysdeps/gnu/_G_config.h: Likewise.
8625 * sysdeps/mach/hurd/_G_config.h: Likewise.
8626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8627 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8628 * sysdeps/sparc/bits/mathdef.h: Likewise.
8629
afc5ed09
UD
86302012-01-26 Ulrich Drepper <drepper@gmail.com>
8631
8632 [BZ #13583]
8633 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8634 Clean up HAS_* macros.
afc5ed09 8635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8636 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8637 possible.
8638 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8639 HAS_AVX.
8640 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8641 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8642 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8643 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8644 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8645
bdb6de1d
JM
86462012-01-25 Joseph Myers <joseph@codesourcery.com>
8647
8648 * elf/tst-unique3.cc (gets): Remove declaration.
8649 * elf/tst-unique3lib.cc (gets): Likewise.
8650 * elf/tst-unique3lib2.cc (gets): Likewise.
8651 * elf/tst-unique4.cc (gets): Likewise.
8652
b15549e6
UD
86532012-01-24 Ulrich Drepper <drepper@gmail.com>
8654
8655 * include/stdio.h: Add C++ protection. Add gets declarations and
8656 definitions.
8657 * debug/tst-chk1.c: Don't declare gets here.
8658 * stdio-common/tst-gets.c: Likewise.
8659
a037381f
JM
86602012-01-24 Joseph Myers <joseph@codesourcery.com>
8661
8662 * posix/glob: Remove directory.
8663
f1d4aa75
JM
86642012-01-24 Joseph Myers <joseph@codesourcery.com>
8665
8666 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8667
81c0c964
PT
86682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8669
8670 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8671 of the non-standard EPFNOSUPPORT.
8672
0ea698ae
ST
86732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8674
8675 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8676 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8677 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8678
d220b117
UD
86792012-01-21 Ulrich Drepper <drepper@gmail.com>
8680
8681 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8682
3e1aa84e
UD
86832012-01-20 Ulrich Drepper <drepper@gmail.com>
8684
8685 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8686 transient errors.
8687 * nscd/grpcache.c (cache_addgr): Likewise.
8688 * nscd/hstcache.c (cache_addhst): Likewise.
8689 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8690 * nscd/pwdcache.c (cache_addpw): Likewise.
8691 * nscd/servicescache.c (cache_addserv): Likewise.
8692
400aa020
UD
86932012-01-16 Ulrich Drepper <drepper@gmail.com>
8694
d77e7869
UD
8695 * malloc/malloc.c: Various cleanups.
8696 * malloc/hooks.c: Likewise.
8697
400aa020
UD
8698 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8699 * stdlib/bug-fmtmsg1.c: New file.
8700
8701 * stdlib/fmtmsg.c (init): Add missing unlock.
8702 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8703
e0a309cf
MP
87042012-01-12 Marek Polacek <polacek@redhat.com>
8705
8706 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8707 and _GNU_SOURCE.
8708
929d11c7
WS
87092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8710
8711 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8712 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8713 macro to ensure uniqueness of label name.
8714 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8715 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8716
41d0e869
UD
87172012-01-11 Ulrich Drepper <drepper@gmail.com>
8718
0cc5ed3b
UD
8719 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8720
41d0e869
UD
8721 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8722 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8725
a47a831a
UD
87262012-01-10 Ulrich Drepper <drepper@gmail.com>
8727
daa891c0
UD
8728 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8729
8730 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8731 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8732 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8733
e58ef0f2
UD
8734 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8735
a47a831a 8736 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8737 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8738 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8739 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8740
8741 * math/bits/math-finite.h: Add ldexp support.
8742
a0bfc9c7
MP
87432012-01-10 Marek Polacek <polacek@redhat.com>
8744
8745 * locale/programs/localedef.h (show_archive_content): Add noreturn
8746 attribute.
8747
d6e97a1d
UD
87482012-01-09 Ulrich Drepper <drepper@gmail.com>
8749
8750 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8751
d5835c26
UD
87522012-01-08 Ulrich Drepper <drepper@gmail.com>
8753
e5f484c6
UD
8754 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8755
d5835c26
UD
8756 * io/Makefile (headers): Add bits/poll2.h.
8757
d1f741e9
WS
87582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8759
8760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8761 typo #include statement.
8762
ec09c1c4
UD
87632012-01-08 Ulrich Drepper <drepper@gmail.com>
8764
8765 * include/sys/cdefs.h: Define __attribute_alloc_size.
8766 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8767 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8768 * elf/pldd.c: Likewise.
8769 * iconv/iconv_charmap.c: Likewise.
8770 * iconv/iconvconfig.c: Likewise.
8771 * iconv/strtab.c: Likewise.
8772 * locale/programs/locale.c: Likewise.
8773 * locale/programs/localedef.h: Likewise.
8774 * locale/programs/simple-hash.c: Likewise.
8775 * nscd/nscd.h: Likewise.
8776 * nss/makedb.c: Likewise.
8777 * sysdeps/generic/ldconfig.h: Likewise.
8778 * locale/programs/localedef.c: Remove xmalloc prototype.
8779 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8780
20b38e03
PP
87812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8782
8783 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8784 appropriate.
8785
a0da5fe1
UD
87862012-01-08 Ulrich Drepper <drepper@gmail.com>
8787
1d5a644a 8788 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8789 * math/tst-CMPLX.c: New file.
1d5a644a 8790
8784a6db
UD
8791 * math/complex.h (CMPLXL): Fix typo.
8792
d9a216c0
UD
8793 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8794 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8795 GLIBC_2.16.
8796 * debug/tst-chk1.c: Add poll and ppoll tests.
8797 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8798 * include/sys/poll.h: Add hidden proto for ppoll.
8799 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8800 * sysdeps/mach/hurd/ppoll.c: Likewise.
8801 * io/ppoll.c: Likewise.
8802 * debug/poll_chk.c: New file.
8803 * debug/ppoll_chk.c: New file.
8804 * include/bits/poll2.h: New file.
8805 * io/bits/poll2.h: New file.
8806
ac097f5c
UD
8807 [BZ #1350]
8808 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8809
2119dcfa
UD
8810 * configure.in: static is always set to yes. Remove.
8811 * config.make.in: Don't set build-static.
8812 * Makeconfig: Remove use of build-static.
8813 * dlfcn/Makefile: Likewise.
8814 * elf/Makefile: Likewise.
8815 * math/Makefile: Likewise.
8816 * misc/Makefile: Likewise.
8817 * nptl/Makefile: Likewise.
8818 * sysdeps/mach/hurd/Makefile: Likewise.
8819
121766a9
UD
8820 * configure.in: PWD_P is not used anymore.
8821 * config.make.in: Remove PWD_P entry.
8822
51a1d39c 8823 * configure.in: Remove last remnants of RANLIB.
8720d066 8824 No need to check for signed size_t anymore.
215f4bdc
UD
8825 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8826 and IA-64.
3857022a 8827 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8828 * aclocal.m4: Likewise.
8829
d3ed7225
UD
8830 * wcsmbs/mbrtoc16.c: Implement using towc function.
8831 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8832 * wcsmbs/wcsmbsload.c: Likewise.
8833 * iconv/gconv_simple.c: Likewise.
8834 * iconv/gconv_int.h: Likewise.
8835 * iconv/gconv_builtin.h: Likewise.
8836 * iconv/iconv_prog.c: Remove CHAR16 handling.
8837
8838 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8839
8840 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8841
a0da5fe1
UD
8842 * configure.in: Remove --with-elf and --enable-bounded options.
8843 Dont set base_machine for ia64. More non-ELF conditions removed.
8844 Remove testing and setting of leading underscore information.
8845 * config.make.in (build-bounded): Set to no.
8846 * config.h.in: Remove NO_UNDERSCORES entry.
8847 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8848 them.
8849 * csu/start.c: Remove !NO_UNDERSCORE code.
8850 * locale/localeinfo.h: Likewise.
8851 * sysdeps/generic/machine-gmon.h: Likewise.
8852 * sysdeps/generic/sysdep.h: Likewise.
8853 * sysdeps/i386/sysdep.h: Likewise.
8854 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8855 * sysdeps/mach/sysdep.h: Likewise.
8856 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8858 * sysdeps/sh/sysdep.h: Likewise.
8859 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8860 * sysdeps/unix/i386/sysdep.S: Likewise.
8861 * sysdeps/unix/sparc/start.c: Likewise.
8862 * sysdeps/unix/sparc/sysdep.S: Likewise.
8863 * sysdeps/unix/sparc/sysdep.h: Likewise.
8864 * sysdeps/unix/start.c: Likewise.
8865 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8866 * sysdeps/x86_64/sysdep.h: Likewise.
8867
df78418a
UD
88682012-01-07 Ulrich Drepper <drepper@gmail.com>
8869
a784e502
UD
8870 [BZ #13553]
8871 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8872 for non-gcc.
8873 * argp/argp-fmtstream.h: Use const instead __const.
8874 * argp/argp.h: Likewise.
8875 * assert/assert.h: Likewise.
8876 * bits/fenv.h: Likewise.
8877 * bits/sched.h: Likewise.
8878 * bits/sigset.h: Likewise.
8879 * bits/sigthread.h: Likewise.
8880 * catgets/nl_types.h: Likewise.
8881 * conform/data/pthread.h-data: Likewise.
8882 * crypt/crypt-private.h: Likewise.
8883 * crypt/crypt.h: Likewise.
8884 * crypt/crypt_util.c: Likewise.
8885 * ctype/ctype.h: Likewise.
8886 * debug/execinfo.h: Likewise.
8887 * debug/mbsnrtowcs_chk.c: Likewise.
8888 * debug/mbsrtowcs_chk.c: Likewise.
8889 * debug/wcsnrtombs_chk.c: Likewise.
8890 * debug/wcsrtombs_chk.c: Likewise.
8891 * debug/wcstombs_chk.c: Likewise.
8892 * dirent/dirent.h: Likewise.
8893 * dlfcn/dlfcn.h: Likewise.
8894 * elf/neededtest4.c: Likewise.
8895 * grp/grp.h: Likewise.
8896 * gshadow/gshadow.h: Likewise.
8897 * iconv/gconv.h: Likewise.
8898 * iconv/gconv_int.h: Likewise.
8899 * iconv/gconv_simple.c: Likewise.
8900 * iconv/iconv.h: Likewise.
8901 * iconv/loop.c: Likewise.
8902 * iconv/skeleton.c: Likewise.
8903 * include/aio.h: Likewise.
8904 * include/aliases.h: Likewise.
8905 * include/argz.h: Likewise.
8906 * include/arpa/inet.h: Likewise.
8907 * include/assert.h: Likewise.
8908 * include/dirent.h: Likewise.
8909 * include/dlfcn.h: Likewise.
8910 * include/execinfo.h: Likewise.
8911 * include/fcntl.h: Likewise.
8912 * include/fenv.h: Likewise.
8913 * include/glob.h: Likewise.
8914 * include/grp.h: Likewise.
8915 * include/libintl.h: Likewise.
8916 * include/mntent.h: Likewise.
8917 * include/netdb.h: Likewise.
8918 * include/pwd.h: Likewise.
8919 * include/rpc/netdb.h: Likewise.
8920 * include/sched.h: Likewise.
8921 * include/search.h: Likewise.
8922 * include/shadow.h: Likewise.
8923 * include/signal.h: Likewise.
8924 * include/stdio.h: Likewise.
8925 * include/stdlib.h: Likewise.
8926 * include/string.h: Likewise.
8927 * include/sys/socket.h: Likewise.
8928 * include/sys/stat.h: Likewise.
8929 * include/sys/statfs.h: Likewise.
8930 * include/sys/statvfs.h: Likewise.
8931 * include/sys/syslog.h: Likewise.
8932 * include/sys/time.h: Likewise.
8933 * include/sys/uio.h: Likewise.
8934 * include/time.h: Likewise.
8935 * include/unistd.h: Likewise.
8936 * include/utmp.h: Likewise.
8937 * include/wchar.h: Likewise.
8938 * include/wctype.h: Likewise.
8939 * inet/aliases.h: Likewise.
8940 * inet/arpa/inet.h: Likewise.
8941 * inet/netinet/ether.h: Likewise.
8942 * inet/netinet/in.h: Likewise.
8943 * intl/libintl.h: Likewise.
8944 * io/bits/fcntl2.h: Likewise.
8945 * io/fcntl.h: Likewise.
8946 * io/ftw.h: Likewise.
8947 * io/sys/poll.h: Likewise.
8948 * io/sys/stat.h: Likewise.
8949 * io/sys/statfs.h: Likewise.
8950 * io/sys/statvfs.h: Likewise.
8951 * io/utime.h: Likewise.
8952 * libio/bits/stdio.h: Likewise.
8953 * libio/bits/stdio2.h: Likewise.
8954 * libio/libio.h: Likewise.
8955 * libio/libioP.h: Likewise.
8956 * libio/stdio.h: Likewise.
8957 * locale/lc-ctype.c: Likewise.
8958 * locale/locale.h: Likewise.
8959 * login/utmp.h: Likewise.
8960 * malloc/arena.c: Likewise.
8961 * malloc/malloc.c: Likewise.
8962 * malloc/malloc.h: Likewise.
8963 * malloc/mcheck.c: Likewise.
8964 * malloc/mtrace.c: Likewise.
8965 * math/bits/mathcalls.h: Likewise.
8966 * math/fenv.h: Likewise.
8967 * math/math_private.h: Likewise.
8968 * misc/bits/error.h: Likewise.
8969 * misc/bits/syslog.h: Likewise.
8970 * misc/err.h: Likewise.
8971 * misc/error.h: Likewise.
8972 * misc/fstab.h: Likewise.
8973 * misc/mntent.h: Likewise.
8974 * misc/regexp.h: Likewise.
8975 * misc/search.h: Likewise.
8976 * misc/sgtty.h: Likewise.
8977 * misc/sys/mman.h: Likewise.
8978 * misc/sys/syslog.h: Likewise.
8979 * misc/sys/uio.h: Likewise.
8980 * misc/sys/xattr.h: Likewise.
8981 * misc/ttyent.h: Likewise.
8982 * nis/rpcsvc/ypclnt.h: Likewise.
8983 * nss/nss.h: Likewise.
8984 * posix/bits/unistd.h: Likewise.
8985 * posix/fnmatch.h: Likewise.
8986 * posix/glob.h: Likewise.
8987 * posix/sched.h: Likewise.
8988 * posix/spawn.h: Likewise.
8989 * posix/sys/wait.h: Likewise.
8990 * posix/unistd.h: Likewise.
8991 * posix/wordexp.h: Likewise.
8992 * pwd/pwd.h: Likewise.
8993 * resolv/netdb.h: Likewise.
8994 * resource/sys/resource.h: Likewise.
8995 * rt/aio.h: Likewise.
8996 * rt/bits/mqueue2.h: Likewise.
8997 * rt/mqueue.h: Likewise.
8998 * shadow/shadow.h: Likewise.
8999 * signal/signal.h: Likewise.
9000 * socket/send.c: Likewise.
9001 * socket/sendto.c: Likewise.
9002 * socket/sys/socket.h: Likewise.
9003 * stdio-common/printf.h: Likewise.
9004 * stdlib/bits/stdlib.h: Likewise.
9005 * stdlib/fmtmsg.h: Likewise.
9006 * stdlib/monetary.h: Likewise.
9007 * stdlib/stdlib.h: Likewise.
9008 * stdlib/ucontext.h: Likewise.
9009 * streams/stropts.h: Likewise.
9010 * string/argz.h: Likewise.
9011 * string/bits/string2.h: Likewise.
9012 * string/string.h: Likewise.
9013 * string/strings.h: Likewise.
9014 * sunrpc/rpc/auth.h: Likewise.
9015 * sunrpc/rpc/auth_des.h: Likewise.
9016 * sunrpc/rpc/clnt.h: Likewise.
9017 * sunrpc/rpc/netdb.h: Likewise.
9018 * sunrpc/rpc/pmap_clnt.h: Likewise.
9019 * sunrpc/rpc/xdr.h: Likewise.
9020 * sysdeps/generic/inttypes.h: Likewise.
9021 * sysdeps/generic/net/if.h: Likewise.
9022 * sysdeps/generic/sys/swap.h: Likewise.
9023 * sysdeps/gnu/net/if.h: Likewise.
9024 * sysdeps/gnu/utmpx.h: Likewise.
9025 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9026 * sysdeps/i386/i486/bits/string.h: Likewise.
9027 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9028 * sysdeps/s390/bits/string.h: Likewise.
9029 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9030 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9031 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9032 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9033 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9034 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9035 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9036 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9037 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9038 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9039 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9040 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9041 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9042 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9043 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9044 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9045 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9047 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9051 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9052 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9053 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9054 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9055 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9056 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9057 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9058 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9059 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9060 * sysvipc/sys/ipc.h: Likewise.
9061 * sysvipc/sys/msg.h: Likewise.
9062 * sysvipc/sys/sem.h: Likewise.
9063 * sysvipc/sys/shm.h: Likewise.
9064 * termios/termios.h: Likewise.
9065 * time/sys/time.h: Likewise.
9066 * time/time.h: Likewise.
9067 * wcsmbs/bits/wchar2.h: Likewise.
9068 * wcsmbs/uchar.h: Likewise.
9069 * wcsmbs/wchar.h: Likewise.
9070 * wctype/wctype.h: Likewise.
9071
0269750c
UD
9072 [BZ #13551]
9073 * Makeconfig: Remove all but ELF support including AIX support.
9074 * Makerules: Likewise.
9075 * config.h.in: Likewise.
9076 * config.make.in: Likewise.
9077 * configure: Likewise.
9078 * configure.in: Likewise.
9079 * csu/Makefile: Likewise.
9080 * csu/version.c: Likewise.
9081 * debug/Makefile: Likewise.
9082 * dlfcn/Makefile: Likewise.
9083 * elf/Makefile: Likewise.
9084 * extra-lib.mk: Likewise.
9085 * iconv/Makefile: Likewise.
9086 * include/libc-symbols.h: Likewise.
9087 * include/shlib-compat.h: Likewise.
9088 * resolv/Makefile: Likewise.
9089 * resolv/res_libc.c: Likewise.
9090 * rt/Makefile: Likewise.
9091 * sysdeps/i386/asm-syntax.h: Likewise.
9092 * sysdeps/i386/sysdep.h: Likewise.
9093 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9094 * sysdeps/mach/sysdep.h: Likewise.
9095 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9096 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9097 * sysdeps/s390/asm-syntax.h: Likewise.
9098 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9099 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9100 * sysdeps/sh/sysdep.h: Likewise.
9101 * sysdeps/unix/sparc/sysdep.h: Likewise.
9102 * sysdeps/wordsize-32/divdi3.c: Likewise.
9103 * sysdeps/x86_64/sysdep.h: Likewise.
9104
00bbd29b
UD
9105 * argp/Versions: Remove _argp_unlock_xxx.
9106
9107 [BZ #13559]
9108 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9109 * abilist/libBrokenLocale.abilist: Likewise.
9110 * abilist/libanl.abilist: Likewise.
9111 * abilist/libc.abilist: Likewise.
9112 * abilist/libcrypt.abilist: Likewise.
9113 * abilist/libdl.abilist: Likewise.
9114 * abilist/libm.abilist: Likewise.
9115 * abilist/libnsl.abilist: Likewise.
9116 * abilist/libpthread.abilist: Likewise.
9117 * abilist/libresolv.abilist: Likewise.
9118 * abilist/librt.abilist: Likewise.
9119 * abilist/libthread_db.abilist: Likewise.
9120 * abilist/libutil.abilist: Likewise.
9121 * abilist/libnss_db.abilist: New file.
9122
9123 * scripts/abilist.awk: Add support for indirect functions.
9124
a2693a0e
UD
9125 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9126
3f05895f
UD
9127 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9128
ecb6fb48
UD
9129 * shlib-versions: Remove entries for ports architectures.
9130
664f8cb9
UD
9131 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9132 files in ports.
9133 * elf/stackguard-macros.h: Remove support for IA-64.
9134 * elf/tst-auditmod1.c: Likewise.
9135 * sysdeps/generic/ldsodefs.h: Likewise.
9136
7ae81d88
UD
9137 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9138 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9139 configure files.
9140
bdeba135
UD
9141 [BZ #13552]
9142 * configure.in: Remove --enable-omitfp support.
9143 * FAQ.in: Adjust.
9144 * config.make.in: Likewise.
9145 * Makeconfig: Likewise.
9146 * manual/install.texi: Likewise.
9147
d75a0a62
UD
9148 In case anyone cares, the IA-64 architecture could move to ports.
9149 * sysdeps/ia64/*: Removed.
9150 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9151 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9152
dcc9756b
UD
9153 [BZ #13555]
9154 * configure.in: Remove entries for unsupported architectures.
9155
d3761ebc 9156 [BZ #13533]
9954432e
UD
9157 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9158 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9159 routines.
9160 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9161 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9162 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9163 fall back to using wcrtomb.
9164 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9165 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9166 renaming.
9167 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9168 * wcsmbs/tst-c16c32-1.c: New file.
9169
9170 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9171 local variable.
9172
c3a87236
UD
9173 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9174
28926a1b
UD
9175 * elf/tst-unique3.cc: Add explicit declaration of gets.
9176 * elf/tst-unique3lib.cc: Likewise.
9177 * elf/tst-unique3lib2.cc: Likewise.
9178 * elf/tst-unique4.cc: Likewise.
9179
df78418a
UD
9180 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9181
8ecd6b2a
JM
91822012-01-06 Joseph Myers <joseph@codesourcery.com>
9183
9184 [BZ #13566]
9185 * assert/assert.h (static_assert): Don't define for C++.
9186 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9187 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9188
9f115170
UD
91892012-01-03 Ulrich Drepper <drepper@gmail.com>
9190
5e0d0300
UD
9191 * iconv/loop.c (single loop): Fix assertion in storing of
9192 remaining bytes.
9193
9f115170
UD
9194 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9195
81fb02b0
UD
91962012-01-01 Ulrich Drepper <drepper@gmail.com>
9197
9198 * posix/getconf.c: Update copyright year.
9199 * nss/getent.c: Likewise.
a316c1f6 9200 * nss/makedb.c: Likewise.
81fb02b0
UD
9201 * iconv/iconvconfig.c: Likewise.
9202 * iconv/iconv_prog.c: Likewise.
9203 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9204 * elf/pldd.c: Likewise.
9205 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9206 * catgets/gencat.c: Likewise.
9207 * csu/version.c: Likewise.
9208 * elf/ldd.bash.in: Likewise.
9209 * elf/sprof.c (print_version): Likewise.
9210 * locale/programs/locale.c: Likewise.
9211 * locale/programs/localedef.c: Likewise.
a316c1f6 9212 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9213 * nscd/nscd.c (print_version): Likewise.
9214 * debug/xtrace.sh: Likewise.
9215 * malloc/memusage.sh: Likewise.
9216 * malloc/mtrace.pl: Likewise.
9217 * debug/catchsegv.sh: Likewise.
9218
2ba92745
JJ
92192011-12-30 Jakub Jelinek <jakub@redhat.com>
9220
9221 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9222 pure attribute.
9223
dadebdae
UD
92242011-12-24 Ulrich Drepper <drepper@gmail.com>
9225
d3761ebc 9226 [BZ #13533]
db6af3eb
UD
9227 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9228 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9229 transformations.
9230 * iconv/gconv_int.h: Likewise.
9231 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9232 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9233 from libc for GLIBC_2.16.
9234 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9235 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9236 * wcsmbs/uchar.h: Really define mbstate_t.
9237 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9238 * wcsmbs/c16rtomb.c: New file.
9239 * wcsmbs/mbrtoc16.c: New file.
9240 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9241 for C/POSIX locale.
9242 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9243 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9244
dadebdae
UD
9245 * wcsmbs/wchar.h: Add missing __restrict.
9246
67371b56
UD
92472011-12-23 Ulrich Drepper <drepper@gmail.com>
9248
74033a25
UD
9249 [BZ #13532]
9250 * time/Makefile (routines): Add timespec_get.
9251 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9252 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9253 timespec for ISO C11.
9254 * time/timespec_get.c: New file.
9255 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9256 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9257
380d7e87
UD
9258 [BZ #13531]
9259 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9260 * stdlib/stdlib.h: Declare aligned_alloc.
9261 * Versions.def: Add GLIBC_2.16 for libc.
9262 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9263
4e9e7a35
UD
9264 [BZ 13527]
9265 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9266 ISO C11.
9267
380d7e87 9268 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9269 code.
9270
03a71829
UD
9271 [BZ #13528]
9272 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9273
839e283e
UD
9274 [BZ #13529]
9275 * assert/assert.h (static_assert): Define.
9276
ce5294e2 9277 * version.h: Update for 2.16 development version.
90fa7312 9278
8d44e150 9279 [BZ #13526]
d7809905
UD
9280 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9281 _ISOC11_SOURCE.
9282
c0da14cd
UD
9283 * version.h (RELEASE): Bump for 2.15 release.
9284 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9285
530a3249
MP
9286 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9287 Patch by Marek Polacek <mpolacek@redhat.com>.
9288
67371b56
UD
9289 * bits/byteswap.h: Protect long long constants with __extension__.
9290 * sysdeps/i386/bits/byteswap.h: Likewise.
9291 * sysdeps/ia64/bits/byteswap.h: Likewise.
9292 * sysdeps/s390/bits/byteswap.h: Likewise.
9293 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9294
15db4de1
LD
92952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9296
9297 [BZ #13540]
bbe315ea
LD
9298 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9299 destination buffer.
15db4de1
LD
9300 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9301
2b2596b1
MP
93022011-12-23 Marek Polacek <polacek@redhat.com>
9303
9304 * elf/dl-addr.c (determine_info): Add inline keyword.
9305 * elf/tst-auditmod4b.c (check_avx): Likewise.
9306 * elf/tst-auditmod6b.c (check_avx): Likewise.
9307 * elf/tst-auditmod6c.c (check_avx): Likewise.
9308 * elf/tst-auditmod7b.c (check_avx): Likewise.
9309
70c6c246
UD
93102011-12-23 Ulrich Drepper <drepper@gmail.com>
9311
9312 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9313 !__SSE_MATH__.
9314
c044cf14
LD
93152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9316
15db4de1 9317 [BZ #13540]
c044cf14
LD
9318 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9319 processing for last bytes.
9320
6b13d9d9
BH
93212011-08-06 Bruno Haible <bruno@clisp.org>
9322
d455f537
BH
9323 [BZ #13061]
9324 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9325 U+0385, not to U+1FEE.
9326
6b13d9d9
BH
9327 [BZ #13062]
9328 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9329 entry for U+00A5 U+0301.
9330
db910efd
UD
93312011-12-22 Ulrich Drepper <drepper@gmail.com>
9332
27deeafc
UD
9333 [BZ #13166]
9334 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9335 buffer for the output is too small.
9336
aed9d171
UD
9337 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9338 optimization.
9339
db910efd
UD
9340 [BZ #13185]
9341 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9342 SSE flags if possible.
9343
2bd779ae
LD
93442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9345
e7f9dac3 9346 [BZ #13540]
2bd779ae
LD
9347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9348 processing for last bytes.
9349
154bfc16
JM
93502011-12-22 Joseph Myers <joseph@codesourcery.com>
9351
9352 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9353 (syscall-list-default-options, syscall-list-default-condition)
9354 (syscall-list-includes): Define.
9355 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9356 list of ABIs and options and #if conditions for each ABI. Do not
9357 handle common syscalls between ABIs specially.
9358 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9359 Remove.
9360 (syscall-list-variants, syscall-list-32bit-options)
9361 (syscall-list-32bit-condition, syscall-list-64bit-options)
9362 (syscall-list-64bit-condition): Define.
9363 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9364 (syscall-list-variants, syscall-list-32bit-options)
9365 (syscall-list-32bit-condition, syscall-list-64bit-options)
9366 (syscall-list-64bit-condition): Define.
9367 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9368 Remove.
9369 (syscall-list-variants, syscall-list-32bit-options)
9370 (syscall-list-32bit-condition, syscall-list-64bit-options)
9371 (syscall-list-64bit-condition): Define.
9372 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9373 Remove.
9374 (syscall-list-variants, syscall-list-32bit-options)
9375 (syscall-list-32bit-condition, syscall-list-64bit-options)
9376 (syscall-list-64bit-condition): Define.
9377
21eaf3a5
UD
93782011-12-22 Ulrich Drepper <drepper@gmail.com>
9379
16c6f992
UD
9380 * locale/iso-639.def: Add brx entry.
9381
41043168
UD
9382 [BZ #13328]
9383 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9384 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9385
21eaf3a5
UD
9386 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9387 __feraiseexcept_renamed.
9388
e3a851a2
UD
93892011-12-21 Ulrich Drepper <drepper@gmail.com>
9390
4920765e
UD
9391 [BZ #13538]
9392 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9393 EPOLLET with unsigned values.
9394 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9395 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9396
e3a851a2
UD
9397 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9398 to large cancellation.
9399 * math/s_cacoshf.c: Likewise.
9400 * math/s_cacoshl.c: Likewise.
9401
b27e24b8
RK
94022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9403
9404 [BZ #13305]
aebefeee 9405 [BZ #12786]
b27e24b8
RK
9406 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9407 * math/s_cacoshf.c: Likewise.
9408 * math/s_cacoshl.c: Likewise.
9409
ee190f67
UD
94102011-12-21 Ulrich Drepper <drepper@gmail.com>
9411
9412 [BZ #13439]
9413 * iconv/gconv.h: Define __GCONV_SWAP.
9414 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9415 * iconvdata/utf-16.c: Likewise.
9416 * iconvdata/utf-32.c: Likewise.
9417
707f25df
AS
94182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9419
9420 [BZ #13524]
9421 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9422 numerator after shifting it by one limb.
9423
d2daaa1e
RÁE
94242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9425
9426 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9427 under [__USE_EXTERN_INLINES].
9428
a4647e72
UD
94292011-12-17 Ulrich Drepper <drepper@gmail.com>
9430
9431 [BZ #13446]
9432 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9433
f0b264f1
AZ
94342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9435
9436 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9437 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9438 optimized code.
9439 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9440 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9441 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9442 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9443 for strncasecmp/strncasecmp_l compilation.
9444 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9445 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9446
8ef4f244
MP
94472011-12-08 Marek Polacek <mpolacek@redhat.com>
9448
9449 [BZ #13484]
9450 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9451 of __asm__.
9452
97ac2654
UD
94532011-12-17 Ulrich Drepper <drepper@gmail.com>
9454
9455 [BZ #13506]
9456 * time/tzfile.c (__tzfile_read): Check values from file header.
9457
91d2a845
WS
94582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9459
9460 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9461 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9462 * powerpc/powerpc32/dl-start.S: Likewise.
9463 * powerpc/powerpc32/elf/start.S: Likewise.
9464 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9465 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9466 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9467 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9468 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9469 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9470 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9471 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9472 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9473 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9474 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9475 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9476 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9477 * powerpc/powerpc32/memset.S: Likewise.
9478 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9479 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9480 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9481 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9482 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9483 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9484 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9485 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9486 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9487 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9488 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9489 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9490 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9491
a1267ba1
AZ
94922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9493
9494 * math/libm-test.inc: Added more nearbyint tests.
9495 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9496 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9497 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9498 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9499
ad8ac1bd
RL
95002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9501
9502 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9503 FD_CLOEXEC.
9504
1d3e4b61
UD
95052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9506
9507 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9508 Add wcscpy-ssse3 wcscpy-c.
9509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9510 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9511 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9512 * sysdeps/x86_64/wcschr.S: New file.
9513 * sysdeps/x86_64/wcsrchr.S: New file.
9514 * string/test-strcmp.c: Remove checking of wcscmp function for
9515 wrong alignments.
9516 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9517 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9518 wcsrchr-sse2 wcsrchr-c.
9519 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9520 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9521 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9522 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9523 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9524 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9525 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9526 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9528 * wcsmbc/wcschr.c (WCSCHR): New macro.
9529
5b330a2d
UD
95302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9531
9532 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9533 * wcsmbs/test-wcsrchr.c: New file.
9534 * string/test-strrchr.c: Add wcsrchr support.
9535 (WIDE): New macro.
9536 * wcsmbs/test-wcscpy.c: New file.
9537 * string/test-strcpy.c: Add wcscpy support.
9538 (WIDE): New macro.
26428b7c 9539
f039c043
UD
95402011-12-10 Ulrich Drepper <drepper@gmail.com>
9541
9542 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9543 the inner loop.
9544
850fb039
AS
95452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9546
9547 [BZ #13472]
9548 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9549
4efbd5cb
UD
95502011-12-04 Ulrich Drepper <drepper@gmail.com>
9551
52ff5dd0 9552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9553 Minor optimizations.
52ff5dd0 9554
4efbd5cb
UD
9555 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9556 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9557 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9558
8a426e12
UD
95592011-12-03 Ulrich Drepper <drepper@gmail.com>
9560
aff2453d
UD
9561 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9562 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9563 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9564 for gcc to avoid warnings.
9565 * inet/Makefile (tests): Add tst-checks.
9566 * inet/tst-checks.c: New file.
9567
9568 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9569 warning.
9570
9571 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9572 __wmemcmp_sse2.
9573
9574 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9575 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9576
8a426e12
UD
9577 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9578
9bea3473
UD
95792011-12-02 Ulrich Drepper <drepper@gmail.com>
9580
3a965496
UD
9581 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9582 problem.
9583
9bea3473
UD
9584 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9585
f101631b
UD
95862011-11-29 Joseph Myers <joseph@codesourcery.com>
9587
9588 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9589 conditional on GCC version.
9590 (__arch_compare_and_exchange_val_8_acq)
9591 (__arch_compare_and_exchange_val_16_acq)
9592 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9593 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9594 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9595
a98275aa
UD
95962011-12-02 Joseph Myers <joseph@codesourcery.com>
9597
9598 * sysdeps/sh/backtrace.c: New file.
9599
d4cc29a2
AS
96002011-12-02 Andreas Schwab <schwab@redhat.com>
9601
9602 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9603 parenthesis.
9604
6257af2d
AS
96052011-12-01 Andreas Schwab <schwab@redhat.com>
9606
9607 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9608 falling back to utime.
9609
b5f44c1a
AS
96102011-11-30 Andreas Schwab <schwab@redhat.com>
9611
9612 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9613 expectations for float.
9614
f3a6cc0a
AS
96152011-11-29 Andreas Schwab <schwab@redhat.com>
9616
9617 * locale/weight.h (findidx): Add parameter len.
9618 * locale/weightwc.h (findidx): Likewise.
9619 * posix/fnmatch_loop.c (FCT): Adjust caller.
9620 * posix/regcomp.c (build_equiv_class): Likewise.
9621 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9622 * posix/regexec.c (check_node_accept_bytes): Likewise.
9623 * string/strcoll_l.c (STRCOLL): Likewise.
9624 * string/strxfrm_l.c (STRXFRM): Likewise.
9625
9d65ea3a
UD
96262011-11-17 Ulrich Drepper <drepper@gmail.com>
9627
9628 * Makefile.in: Remove CVSOPT handling.
9629 * configure.in: Remove use of AC_REVISION.
9630 * iconvdata/Makefile (distribute): No need to filter out CVS.
9631 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9632 handling.
9633
5583a086
AS
96342011-11-16 Andreas Schwab <schwab@redhat.com>
9635
9636 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9637 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9638 [USE_AS_STRNCASECMP_L]: Likewise.
9639 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9640 NO_TLS_DIRECT_SEG_REFS.
9641 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9642 Fix argument offsets for non-PIC.
9643 [USE_AS_STRNCASECMP_L]: Likewise.
9644 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9645 NO_TLS_DIRECT_SEG_REFS.
9646
d62a8200
UD
96472011-11-15 Ulrich Drepper <drepper@gmail.com>
9648
9d65ea3a 9649 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9650 O_CLOEXEC.
9651 * locale/loadlocale.c (_nl_load_locale): Likewise.
9652
09f93bd3
AS
96532011-11-15 Andreas Schwab <schwab@redhat.com>
9654
446514f9
AS
9655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9656 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9657 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9658 (SYSCALL_GETTIME): Set errno on error.
9659
09f93bd3
AS
9660 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9661 count references to noai6ai_cached.
9662
312be3f9
UD
96632011-11-15 Ulrich Drepper <drepper@gmail.com>
9664
9665 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9666
9667 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9668 FD_CLOEXEC for /proc/self/maps.
9669
9670 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9671 FD_CLOEXEC for /proc/meminfo.
9672
9673 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9674 gai.conf.
9675
9676 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9677 FD_CLOEXEC for given file.
9678
9679 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9680
9681 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9682 FD_CLOEXEC for /etc/hosts.
9683 (_gethtent): Likewise.
9684
9685 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9686
9687 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9688 cancellation and set FD_CLOEXEC for /etc/netgroup.
9689
9690 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9691 reading /etc/publickey.
9692
9693 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9694 allow cancellation when reading /etc/group.
9695
9696 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9697 cancellation.
9698 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9699
9700 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9701 when using data file.
9702
9703 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9704
9705 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9706 (write_nis_obj): Use "c" and "e" in fopen.
9707
9708 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9709
9710 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9711
9712 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9713
9714 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9715
9716 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9717 locale.alias.
9718
9719 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9720
9721 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9722
9723 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9724
9725 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9726 file parsing and set FD_CLOEXEC.
9727
82af0fa8
UD
97282011-11-14 Ulrich Drepper <drepper@gmail.com>
9729
9730 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9731
a5fb313c
AS
97322011-11-14 Andreas Schwab <schwab@redhat.com>
9733
9734 * malloc/arena.c (arena_get2): Don't call reused_arena when
9735 _int_new_arena failed.
9736
6abf3465
UD
97372011-11-14 Ulrich Drepper <drepper@gmail.com>
9738
9739 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9740 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9741 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9742 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9743 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9744 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9745 to compile strcasecmp and strncasecmp.
9746 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9747 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9748
9749 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9750
76e3966e
UD
97512011-11-13 Ulrich Drepper <drepper@gmail.com>
9752
9753 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9754 locale-defines.sym to gen-as-const-headers.
9755 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9756 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9758 to compile strcasecmp and strncasecmp.
9759 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9760 strcasecmp_l and strncasecmp_l.
9761 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9762 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9763 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9764 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9765 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9766 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9767 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9768 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9769 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9770 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9771 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9772
ab26144e
UD
97732011-11-12 Ulrich Drepper <drepper@gmail.com>
9774
7edb22ef
UD
9775 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9776 result of SYSDEP_GETTIME_CPU to retval.
9777 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9778 parameter list to macro. Remove trailing semicolon. Adjust users.
9779
9694fc44
UD
9780 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9781 variable.
9782
8ad89ef8
UD
9783 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9784 mantissa words.
9785 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9786
0c822ef9
UD
9787 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9788 from unused variable.
9789
874e0564
UD
9790 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9791 DWARF definitions.
9792 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9793 for assembling.
9794
3a2edc79
UD
9795 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9796 over namespaces.
9797
f3c2577f
UD
9798 * sunrpc/rpc_prot.c (rejected): Fix case value.
9799
294ce126
UD
9800 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9801 unsigned long long int to avoid warnings in shift.
9802
5e2b63c6
UD
9803 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9804 of use of trans.
9805 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9806 variable tmp.
9807
e7f4b08e
UD
9808 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9809 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9810 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9811
ab26144e
UD
9812 * nis/nis_table.c (nis_list): Use variable of correct type for
9813 result of __follow_path call.
9814
8a6d5255
AZ
98152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9816
9817 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9818 of math functions ceil, trunc, floor, round, and sqrt, when
9819 avaliable on the platform.
9820 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9821 name clash.
9822 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9823 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9824 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9825
aaddc98c
MP
98262011-10-30 Marek Polacek <mpolacek@redhat.com>
9827
9828 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9829 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9830
95b7042b
RM
98312011-11-11 Roland McGrath <roland@hack.frob.com>
9832
9833 * include/unistd.h: Fix __readlink return type.
9834 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9835
57769839
UD
98362011-11-11 Ulrich Drepper <drepper@gmail.com>
9837
9838 * stdlib/ucontext.h: Undo last change for makecontext.
9839
edc5984d
AS
98402011-11-11 Andreas Schwab <schwab@redhat.com>
9841
98591e58
AS
9842 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9843
edc5984d
AS
9844 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9845 * setjmp/setjmp.h: Mark functions as non-leaf.
9846 * setjmp/bits/setjmp2.h: Likewise.
9847 * stdlib/ucontext.h: Likewise.
9848
77cdc054
AS
98492011-11-10 Andreas Schwab <schwab@redhat.com>
9850
9851 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9852 (reused_arena): Don't check arena limit.
9853 (arena_get2): Atomically check arena limit.
9854
fe72eebd
UD
98552011-11-08 Ulrich Drepper <drepper@gmail.com>
9856
5f078c32
UD
9857 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9858 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9859
fe72eebd
UD
9860 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9861 instructions.
9862
ae1bc2fa
AS
98632011-11-07 Andreas Schwab <schwab@redhat.com>
9864
7583a88d
AS
9865 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9866 handler when locking.
9867
ae1bc2fa
AS
9868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9869 Fix size of allocated buffer.
9870
10fb0bfa
AS
98712011-11-04 Andreas Schwab <schwab@redhat.com>
9872
998832a4
AS
9873 [BZ #10103]
9874 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9875 declarations for long double functions.
9876 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9877
10fb0bfa
AS
9878 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9879
3d7ba52b
AS
98802011-11-03 Andreas Schwab <schwab@redhat.com>
9881
a9ae54a1
AS
9882 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9883 installed.
9884
3d7ba52b
AS
9885 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9886 is disabled.
9887
bc8db248
ST
98882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9889
9890 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9891
45b96dd6
AS
98922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9893
647776f6
AS
9894 * include/alloca.h (stackinfo_alloca_round): Define.
9895 (extend_alloca): Use it.
9896 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9897 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9898 here.
9899
d91a8b93
AS
9900 * scripts/check-local-headers.sh: Ignore libaudit.h.
9901
45b96dd6
AS
9902 * nscd/Makefile (extra-objs): Make recursively expanded.
9903
432d41ce
UD
99042011-11-01 Ulrich Drepper <drepper@gmail.com>
9905
34372fc6
UD
9906 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9907 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9908
fadb59f8
UD
9909 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9910 * posix/tst-rfc3484-2.c: Likewise.
9911 * posix/tst-rfc3484-3.c: Likewise.
9912
78239589
UD
9913 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9914 process_vm_writev.
9915 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9916 process_vm_writev.
9917 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9918 process_vm_writev from libc using GLIBC_2.15 version.
9919
432d41ce
UD
9920 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9921
02f9c6cf
PP
99222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9923
9924 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9925 stack usage.
9926
3a2c0242
UD
99272011-10-31 Ulrich Drepper <drepper@gmail.com>
9928
f4ec4833
UD
9929 [BZ #13367]
9930 * nss/getent.c (initgroups_keys): Show error message in case no group
9931 names are given.
9932
3a2c0242
UD
9933 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9934 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9935 __bump_nl_timestamp.
9936 * nscd/connections (nscd_init): When host database is served open
9937 netlink socket and request notification about configuration changes.
9938 (main_loop_poll): Track netlink file descriptor and bump timestamp
9939 in case data becomes available.
9940 (main_loop_epoll): Likewise.
9941 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9942 (database_pers_head): Add extra_data fileds.
9943 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9944 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9945 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9946 Adjust caller.
9947 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9948 in6ai data, call __free_in6ai.
9949 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9950 Add -DHAVE_NETLINK.
9951 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9952 interface information. Reuse previous data if netlink timestamp
9953 is not changed.
9954 (__bump_nl_timestamp): New function.
9955 (__free_in6ai): New function.
9956
636064eb
UD
99572011-10-30 Ulrich Drepper <drepper@gmail.com>
9958
9959 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9960 close_not_cancel_no_status here.
9961 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9962
9beb2334
UD
99632011-10-29 Ulrich Drepper <drepper@gmail.com>
9964
6ef76f3b
UD
9965 [BZ #13276]
9966 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9967 return value.
9968
0ffc4f3e 9969 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9970 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9971 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9972
cb95113e
UD
99732011-07-03 Andreas Jaeger <aj@suse.de>
9974
9975 [BZ #10709]
9976 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9977 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9978 * math/libm-test.inc (sin_test): Add test case.
9979
a1b560ff
UD
99802011-10-29 Ulrich Drepper <drepper@gmail.com>
9981
c9aaface
UD
9982 [BZ #13337]
9983 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9984 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9985
d272e7f1
UD
9986 * elf/chroot_canon.c (chroot_canon): Cleanups.
9987
1bc33071
UD
9988 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9989
1760874d
TJ
9990 [BZ #13335]
9991 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9992 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9993
51d91b18
UD
9994 * string/test-strchr.c: Make usable for strchrnul testing.
9995 * string/test-strchrnul.c: New file.
9996 * string/Makefile (strop-tests): Add strchrnul.
9997
a1b560ff 9998 * po/it.po: Update from translation team.
b611fb81 9999 * po/es.po: Likewise.
a1b560ff 10000
a5b81e1f
UD
100012011-10-28 Ulrich Drepper <drepper@gmail.com>
10002
fd52bc6d
UD
10003 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10004 the three constants needed as parameters. Drop the others.
10005 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10006 __m128i_strloadu_tolower.
52e4b9eb
UD
10007 Create and initialize variable zero and use it in all the places
10008 where _mm_setzero_si128 was used.
fd52bc6d 10009
a5b81e1f
UD
10010 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10011 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10012 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10013 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10014 anymore.
10015 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10016 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10017 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10018 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10019 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10020 __mpranred, __mptan.
10021 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10022 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10023 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10024 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10025 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10026 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10027 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10028 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10029 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10030
b4343346
AS
100312011-10-28 Andreas Schwab <schwab@redhat.com>
10032
0c92d8a8
AS
10033 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10034 redefine if SHARED.
10035 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10036
b4343346
AS
10037 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10038 wide char related routines to wcsmbs subdir.
10039
3871f58f
AS
100402011-10-27 Andreas Schwab <schwab@redhat.com>
10041
10042 [BZ #13344]
10043 * misc/sys/cdefs.h (__THROWNL): Define.
10044 * posix/unistd.h: Use __THREADNL instead of __THREAD
10045 for memory synchronization functions.
10046
94d44d9f
RM
100472011-10-26 Roland McGrath <roland@hack.frob.com>
10048
21b64b15 10049 [BZ #13349]
94d44d9f
RM
10050 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10051 doesn't exist.
10052 * manual/stdio.texi (Obstack Streams): Node removed.
10053
f6ce9294
AS
100542011-10-26 Andreas Schwab <schwab@redhat.com>
10055
80479147
AS
10056 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10057 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10058 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10059
f6ce9294
AS
10060 * math/math_private.h (math_force_eval): Allow non-addressable
10061 arguments.
10062 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10063
618280a1
UD
100642011-10-25 Ulrich Drepper <drepper@gmail.com>
10065
e0016b11
UD
10066 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10067 file is not needed.
10068
10069 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10072 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10073 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10074 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10075 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10076 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10077 Add AVX variants.
10078 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10079 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10080 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10081 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10082 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10083 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10084 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10085 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10086 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10087 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10088 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10089 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10090 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10091 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10092 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10093 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10094 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10095 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10096 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10097
10098 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10099 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10100
618280a1
UD
10101 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10102 place. Use VEX encoding when compiling for AVX.
10103
37822576
AS
101042011-10-25 Andreas Schwab <schwab@redhat.com>
10105
1f1e1947
AS
10106 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10107 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10108
37822576
AS
10109 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10110
31ea014d
UD
101112011-10-25 Ulrich Drepper <drepper@gmail.com>
10112
d7826aa1 10113 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10114 useless if() expression.
d7826aa1
UD
10115 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10116 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10117 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10118 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10120 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10121 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10124 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10126 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10127 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10128 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10129 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10130 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10131 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10133 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10134
31ea014d
UD
10135 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10136
16437fec
AS
101372011-10-25 Andreas Schwab <schwab@redhat.com>
10138
10139 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10140 condition.
10141 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10142
31d3cc00
UD
101432011-10-25 Ulrich Drepper <drepper@gmail.com>
10144
10145 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10146 .text section. Avoid duplicate constants.
10147 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10157 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10159 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10162 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10163 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10164 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10165 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10167 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10168 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10169 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10170 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10171 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10172 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10173 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10174 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10175 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10176 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10177 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10178 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10179 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10180 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10181 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10182 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10183 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10185 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10186 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10187 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10188 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10189 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10190 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10191 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10192
58985aa9
UD
101932011-10-24 Ulrich Drepper <drepper@gmail.com>
10194
202c9deb
UD
10195 * sysdeps/x86_64/dla.h: Move to ...
10196 * sysdeps/x86_64/fpu/dla.h: ...here.
10197 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10198 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10199
af968f62
UD
10200 * config.make.in: Add have-mfma4 entry.
10201 * configure.in: Substitute libc_cv_cc_fma4.
10202 * math/Makefile (dbl-only-routines): Add sincostab.
10203 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10204 Use __sincostab not sincos.
10205 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10206 name is a macro.
10207 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10208 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10209 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10210 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10211 using __copysign.
10212 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10213 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10214 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10215 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10216 and __inv.
10217 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10218 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10219 __copysign.
10220 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10221 define aliases when function name is a macro.
10222 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10223 sysdeps/ieee754/dbl-64/sincos.tbl.
10224 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10225 fma4-enabled routines.
10226 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10227 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10228 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10229 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10230 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10231 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10233 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10234 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10235 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10236 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10237 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10238 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10239 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10240 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10241 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10242 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10243 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10244 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10246 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10247 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10249 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10251 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10253 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10254 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10255 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10256
58985aa9
UD
10257 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10258 rename.
10259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10264 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10267
a201fbcf
AS
102682011-10-24 Andreas Schwab <schwab@redhat.com>
10269
10270 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10271
fc2ee42a
LD
102722011-10-23 Ulrich Drepper <drepper@gmail.com>
10273
bb3129bd
UD
10274 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10275
0275fff8
UD
10276 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10277 prediction.
10278 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10279
2fa2ae85
UD
10280 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10281 Remove unused variable magic_bits.
10282 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10283
fc2ee42a
LD
10284 * string/strnlen.c: Define and use STRNLEN macro.
10285 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10286 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10288 * wcsmbs/wcslen.c: Define and use WCSLEN.
10289 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10290 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10291 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10292 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10293 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10294 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10295 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10296
ce7dd29f
LD
102972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10298
10299 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10300 strnlen-sse2-no-bsf.
10301 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10303 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10304 Add strnlen support.
10305 (USE_AS_STRNLEN): New macro.
10306 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10307 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10308 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10309 * sysdeps/x86_64/wcslen.S: New file.
10310
979c70a3
MZ
103112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10312
10313 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10314 XMM-moves are used for copying on small sizes.
10315
2d09f82f
LD
103162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10317
10318 * wcsmbs/Makefile (strop-tests): Add wcschr.
10319 * wcsmbs/test-wcschr.c: New file.
10320 * string/test-strchr.c: Update.
10321 Add wcschr support.
10322 (WIDE): New macro.
10323
619fccca
LD
103242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10325
2d09f82f 10326 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10327 * wcsmbs/test-wcslen.c: New file.
10328 * string/test-strlen.c: Update.
10329 Add wcslen support.
10330 (WIDE): New macro.
10331
09f699ea
UD
103322011-10-23 Ulrich Drepper <drepper@gmail.com>
10333
10334 * po/it.po: Update from translation team.
10335
95584d3b
LD
103362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10337
10338 * sysdeps/x86_64/wcscmp.S: Update.
10339 Fix wrong comparison semantics.
10340 wcscmp shall use signed comparison not unsigned.
10341 Don't use substraction to avoid overflow bug.
10342 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10343 * wcsmbc/wcscmp.c: Likewise.
10344 * string/test-strcmp.c: Likewise.
10345 Add new tests to check cases with negative values.
10346
c8b3296b
UD
103472011-10-23 Ulrich Drepper <drepper@gmail.com>
10348
10349 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10350 * sysdeps/x86_64/dla.h: ...here. New file.
10351 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10352 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10353 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10354 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10355 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10356 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10357 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10358 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10360
246ad57a
AS
103612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10362
10363 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10364 __ynl_finite aliases.
10365
a1a87169
UD
103662011-10-22 Ulrich Drepper <drepper@gmail.com>
10367
0d355eb7
UD
10368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10369
a1a87169
UD
10370 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10371 define DLA_FMA.
10372 [DLA_FMA] (EMULV): Use DLA_FMA.
10373 [DLA_FMA] (MUL12): Use EMULV.
10374 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10375 that are not needed.
10376 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10381 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10382 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10383
ee2aafe0
AS
103842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10385
10386 * math/s_nan.c: Undef __nan.
10387 * math/s_nanf.c: Undef __nanf.
10388 * math/s_nanl.c: Undef __nanl.
10389 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10390 "math_private.h".
10391
bc62c2fb
UD
103922011-10-22 Ulrich Drepper <drepper@gmail.com>
10393
77425c63
UD
10394 * math/s_catan.c: Add branch predictions.
10395 * math/s_catanf.c: Likewise.
10396 * math/s_catanh.c: Likewise.
10397 * math/s_catanhf.c: Likewise.
10398 * math/s_catanhl.c: Likewise.
10399 * math/s_catanl.c: Likewise.
10400 * math/s_cexp.c: Likewise.
10401 * math/s_cexpf.c: Likewise.
10402 * math/s_cexpl.c: Likewise.
10403 * math/s_clog.c: Likewise.
10404 * math/s_clog10.c: Likewise.
10405 * math/s_clog10f.c: Likewise.
10406 * math/s_clog10l.c: Likewise.
10407 * math/s_clogf.c: Likewise.
10408 * math/s_clogl.c: Likewise.
10409 * math/s_csqrt.c: Likewise.
10410 * math/s_csqrtf.c: Likewise.
10411 * math/s_csqrtl.c: Likewise.
10412 * math/s_ctanf.c: Likewise.
10413 * math/s_ctanh.c: Likewise.
10414 * math/s_ctanhf.c: Likewise.
10415 * math/s_ctanhl.c: Likewise.
10416 * math/s_ctanl.c: Likewise.
10417
bc62c2fb
UD
10418 * math/math_private.h: Define __nan, __nanf, __nanl.
10419 * math/s_cacosh.c: Include <math_private.h>.
10420 * math/s_cacoshl.c: Likewise.
10421 * math/s_casinh.c: Likewise.
10422 * math/s_casinhf.c: Likewise.
10423 * math/s_casinhl.c: Likewise.
10424 * math/s_ccos.c: Rely entire on ccosh.
10425 * math/s_ccosf.c: Rely entire on ccoshf.
10426 * math/s_ccosl.c: Rely entirely on ccoshl.
10427 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10428 Remove tests for FE_INVALID.
10429 * math/s_ccoshf.c: Likewise.
10430 * math/s_ccoshl.c: Likewise.
10431 * math/s_csin.c: Likewise.
10432 * math/s_csinf.c: Likewise.
10433 * math/s_csinh.c Likewise.
10434 * math/s_csinhf.c: Likewise.
10435 * math/s_csinhl.c: Likewise.
10436 * math/s_csinl.c: Likewise.
10437 * math/s_ctan.c: Likewise.
10438 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10439 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10440 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10441
8ec250a4
UD
104422011-10-21 Ulrich Drepper <drepper@gmail.com>
10443
c196fed8
UD
10444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10445 compilation problems.
10446
8ec250a4
UD
10447 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10448 __builtin_expect.
10449
8d4f46c6
UD
104502011-10-20 Ulrich Drepper <drepper@gmail.com>
10451
ed72b654
UD
10452 * sysdeps/i386/configure.in: Test for -mfma4 option.
10453 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10454 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10455 COMMON_CPUID_INDEX_80000001.
10456 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10457 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10458 use it if FMA3 is not supported.
10459 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10460
8d4f46c6
UD
10461 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10462 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10463
d45c60c2
AS
104642011-10-20 Andreas Schwab <schwab@redhat.com>
10465
10466 [BZ #12892]
10467 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10468 it would create a cycle with a link time dependency.
10469
d9a4d2ab
UD
104702011-10-19 Ulrich Drepper <drepper@gmail.com>
10471
855d1560
UD
10472 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10473 instruction.
10474 * string/Makefile (strop-tests): Add rawmemchr.
10475 * string/test-rawmemchr.c: New file.
10476
d9a4d2ab
UD
10477 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10478 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10479 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10480 when compiling str{,n}casecmp and when AVX is available. Hook up
10481 new optimized code in initializers.
10482
8f3b1ffe
AS
104832011-10-19 Andreas Schwab <schwab@redhat.com>
10484
10485 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10486 __feraiseexcept instead of feraiseexcept.
10487
d38f1dba
UD
104882011-10-18 Ulrich Drepper <drepper@gmail.com>
10489
d9a8d0ab
UD
10490 * math/math_private.h: Define defaults for libc_fetestexcept and
10491 libc_feupdateenv.
10492 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10493 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10495 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10496 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10497 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10498 libc_fetestexcept and libc_feupdateenv.
10499
4855e3dd
UD
10500 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10501 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10502 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10503 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10504 libc_feholdexcept_setround.
10505
581d30e3
UD
10506 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10507 Add s_nearbyint-c and s_nearbyintf-c.
10508 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10509 nearbyintf inlines.
10510 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10511 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10512 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10513 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10514
d38f1dba
UD
10515 * math/math_private.h: Define defaults for libc_fegetround,
10516 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10517 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10518 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10519 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10520 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10521 standard functions.
10522 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10523 Remove comments and hacks for old compiler versions.
10524 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10525 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10526 libc_feholdexceptl.
10527
caa6c9d8
AS
105282011-10-18 Andreas Schwab <schwab@redhat.com>
10529
10530 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10531 (__feraiseexcept_renamed): Add __NTH.
10532 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10533 namespace violations.
10534
97c066e6
UD
105352011-10-17 Ulrich Drepper <drepper@gmail.com>
10536
99ce7b04
UD
10537 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10538
1004d182
UD
10539 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10540
228a984d
UD
10541 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10542 recently added interfaces.
10543 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10544
c8553a6a
UD
10545 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10546 about macro parameter expansion.
10547
ed22dcf6
UD
10548 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10549 __NO_MATH_INLINES is defined. Cleanups.
10550
10551 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10552 and __floorf is target has SSE4.1.
10553 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10554 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10555 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10556 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10557
b171c137
UD
10558 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10559 name.
10560 (floorf): Likewise.
10561
97c066e6
UD
10562 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10563
629f62ef
AS
105642011-10-17 Andreas Schwab <schwab@redhat.com>
10565
49a43d80
AS
10566 * misc/sys/cdefs.h: Fix last change.
10567
629f62ef
AS
10568 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10569 database lookup.
10570
e453f6cd
UD
105712011-10-16 Ulrich Drepper <drepper@gmail.com>
10572
aa78043a
UD
10573 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10574
ad0f5cad
UD
10575 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10576 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10578 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10580 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10581 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10582 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10583 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10584 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10585 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10586 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10587 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10588 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10589 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10590 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10591 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10592 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10593 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10594 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10595 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10596 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10597
10598 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10599 ceil, ceilf, floor, floorf.
10600
10601 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10602 Perform IRELATIVE relocations last.
10603
e453f6cd
UD
10604 * elf/do-rel.h: Add another parameter nrelative, replacing the
10605 local variable with the same name. Change name of the function
10606 to end in Rel or Rela (uppercase).
10607 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10608 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10609 elf_dynamic_do_##reloc function.
10610
fd5bdc09
UD
106112011-10-15 Ulrich Drepper <drepper@gmail.com>
10612
79b195b5
UD
10613 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10614 is sufficient, at least on modern CPUs.
10615
d4a28569
UD
10616 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10617
b61099b5
UD
10618 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10619 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10620
bcf01e6d
UD
10621 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10622 __expl_finite.
10623 * math/bits/math-finite.h: Add entries for exp.
10624 * math/e_expl.c: Add __*_finite alias.
10625 * sysdeps/i386/fpu/e_exp.S: Likewise.
10626 * sysdeps/i386/fpu/e_expf.S: Likewise.
10627 * sysdeps/i386/fpu/e_expl.c: Likewise.
10628 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10629 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10630 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10631 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10632 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10633 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10634 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10635
ba1a0d59
UD
10636 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10637 is sufficient, at least on modern CPUs.
10638
fd5bdc09
UD
10639 * ctype/ctype-info.c (__ctype_init): Define.
10640 * include/ctype.h (__ctype_init): Declare.
10641 (__ctype_b_loc): The variable is always initialized.
10642 (__ctype_toupper_loc): Likewise.
10643 (__ctype_tolower_loc): Likewise.
10644 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10645 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10646
7872cfb0
AS
106472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10648
b468825a
AS
10649 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10650
7872cfb0
AS
10651 * configure.in: Also look in $cxxmachine/include for C++ system
10652 headers.
10653
be13f7bf
LD
106542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10655
10656 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10657 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10658 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10659 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10660 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10661 (USE_AS_WMEMCMP): New macro.
10662 Fixing indents.
10663 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10664 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10665 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10666 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10667 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10668 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10669 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10670 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10671 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10672 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10673 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10674 (USE_AS_WMEMCMP): New macro.
10675 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10676 * sysdeps/string/test-memcmp.c: Update.
10677 Fix simple_wmemcmp.
10678 Add new tests.
10679 * wcsmbs/wmemcmp.c: Update.
10680 (WMEMCMP): New macro.
10681 Fix overflow bug.
10682
556a2007
AJ
106832011-10-12 Andreas Jaeger <aj@suse.de>
10684
10685 [BZ #13268]
10686 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10687
538faaa7
UD
106882011-10-15 Ulrich Drepper <drepper@gmail.com>
10689
ab6737ff
UD
10690 * libio/iofwide.c (do_length): Avoid warning.
10691
538faaa7
UD
10692 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10693
396a21b1
UD
106942011-10-14 Ulrich Drepper <drepper@gmail.com>
10695
cdf2901f
UD
10696 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10697
38ad40ce
UD
10698 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10699 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10700 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10701 * sysdeps/i386/i686/fpu/e_log.S: New file.
10702 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10703 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10704
396a21b1
UD
10705 * ctype/ctype.h: Add support for inlined isXXX functions when
10706 compiling C++ code.
10707
6b1f68c9
AS
107082011-10-14 Andreas Schwab <schwab@redhat.com>
10709
349290c0
AS
10710 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10711
6b1f68c9
AS
10712 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10713
f2282d42
RM
107142011-10-13 Roland McGrath <roland@hack.frob.com>
10715
10716 [BZ #13291]
10717 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10718
5298ffa8
AS
107192011-10-13 Andreas Schwab <schwab@redhat.com>
10720
714fad23
AS
10721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10722 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10723 feraiseexcept.
10724
81dcc7fb
AS
10725 * sysdeps/x86_64/memrchr.S: Check for zero size.
10726
5298ffa8
AS
10727 * string/stratcliff.c: Add memrchr tests.
10728
951fbcec
LD
107292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10730
10731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10732 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10733 rawmemchr-sse2 rawmemchr-sse2-bsf.
10734 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10735 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10736 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10737 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10738 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10739 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10740 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10741 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10742 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10743 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10744 * string/memrchr.c (MEMRCHR): New macro.
10745
0ac5ae23
UD
107462011-10-12 Ulrich Drepper <drepper@gmail.com>
10747
10748 Add integration with gcc's -ffinite-math-only and optimize wrapper
10749 functions in libm.
10750 * Versions.def: Define GLIBC_2.15 version for libm.
10751 * math/Makefile (headers): Add bits/math-finite.h.
10752 * math/bits/math-finite.h: New file.
10753 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10754 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10755 * math/e_acoshl.c: Add __*_finite alias.
10756 * math/e_acosl.c: Likewise.
10757 * math/e_asinl.c: Likewise.
10758 * math/e_atan2l.c: Likewise.
10759 * math/e_atanhl.c: Likewise.
10760 * math/e_coshl.c: Likewise.
10761 * math/e_exp10.c: Likewise.
10762 * math/e_exp10f.c: Likewise.
10763 * math/e_exp10l.c: Likewise.
10764 * math/e_exp2l.c: Likewise.
10765 * math/e_fmodl.c: Likewise.
10766 * math/e_gammal_r.c: Likewise.
10767 * math/e_hypotl.c: Likewise.
10768 * math/e_j0l.c: Likewise.
10769 * math/e_j1l.c: Likewise.
10770 * math/e_jnl.c: Likewise.
10771 * math/e_lgammal_r.c: Likewise.
10772 * math/e_log10l.c: Likewise.
10773 * math/e_log2l.c: Likewise.
10774 * math/e_logl.c: Likewise.
10775 * math/e_powl.c: Likewise.
10776 * math/e_sinhl.c: Likewise.
10777 * math/e_sqrtl.c: Likewise.
10778 * math/e_scalb.c: Completely rewritten and optimized.
10779 * math/e_scalbf.c: Likewise.
10780 * math/e_scalbl.c: Likewise.
10781 * math/w_acos.c: Likewise.
10782 * math/w_acosf.c: Likewise.
10783 * math/w_acosl.c: Likewise.
10784 * math/w_acosh.c: Likewise.
10785 * math/w_acoshf.c: Likewise.
10786 * math/w_acoshl.c: Likewise.
10787 * math/w_asin.c: Likewise.
10788 * math/w_asinf.c: Likewise.
10789 * math/w_asinl.c: Likewise.
10790 * math/w_atan2.c: Likewise.
10791 * math/w_atan2f.c: Likewise.
10792 * math/w_atan2l.c: Likewise.
10793 * math/w_atanh.c: Likewise.
10794 * math/w_atanhf.c: Likewise.
10795 * math/w_atanhl.c: Likewise.
10796 * math/w_exp10.c: Likewise.
10797 * math/w_exp10f.c: Likewise.
10798 * math/w_exp10l.c: Likewise.
10799 * math/w_fmod.c: Likewise.
10800 * math/w_fmodf.c: Likewise.
10801 * math/w_fmodl.c: Likewise.
10802 * math/w_j0.c: Likewise.
10803 * math/w_j0f.c: Likewise.
10804 * math/w_j0l.c: Likewise.
10805 * math/w_j1.c: Likewise.
10806 * math/w_j1f.c: Likewise.
10807 * math/w_j1l.c: Likewise.
10808 * math/w_jn.c: Likewise.
10809 * math/w_jnf.c: Likewise.
10810 * math/w_log.c: Likewise.
10811 * math/w_logf.c: Likewise.
10812 * math/w_logl.c: Likewise.
10813 * math/w_log10.c: Likewise.
10814 * math/w_log10f.c: Likewise.
10815 * math/w_log10l.c: Likewise.
10816 * math/w_log2.c: Likewise.
10817 * math/w_log2f.c: Likewise.
10818 * math/w_log2l.c: Likewise.
10819 * math/w_pow.c: Likewise.
10820 * math/w_powf.c: Likewise.
10821 * math/w_powl.c: Likewise.
10822 * math/w_remainder.c: Likewise.
10823 * math/w_remainderf.c: Likewise.
10824 * math/w_remainderl.c: Likewise.
10825 * math/w_scalb.c: Likewise.
10826 * math/w_scalbf.c: Likewise.
10827 * math/w_scalbl.c: Likewise.
10828 * math/w_sqrt.c: Likewise.
10829 * math/w_sqrtf.c: Likewise.
10830 * math/w_sqrtl.c: Likewise.
10831 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10832 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10833 used.
10834 * math/math_private.h: Declare __kernel_standard_f.
10835 * math/w_cosh.c: Remove cruft and optimize a bit.
10836 * math/w_coshf.c: Likewise.
10837 * math/w_coshl.c: Likewise.
10838 * math/w_exp2.c: Likewise.
10839 * math/w_exp2f.c: Likewise.
10840 * math/w_exp2l.c: Likewise.
10841 * math/w_hypot.c: Likewise.
10842 * math/w_hypotf.c: Likewise.
10843 * math/w_hypotl.c: Likewise.
10844 * math/w_lgamma.c: Likewise.
10845 * math/w_lgamma_r.c: Likewise.
10846 * math/w_lgammaf.c: Likewise.
10847 * math/w_lgammaf_r.c: Likewise.
10848 * math/w_lgammal.c: Likewise.
10849 * math/w_lgammal_r.c: Likewise.
10850 * math/w_sinh.c: Likewise.
10851 * math/w_sinhf.c: Likewise.
10852 * math/w_sinhl.c: Likewise.
10853 * math/w_tgamma.c: Likewise.
10854 * math/w_tgammaf.c: Likewise.
10855 * math/w_tgammal.c: Likewise.
10856 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10858 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10859 Minor optimizations. Pretty printing. Remove cruft.
10860 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10861 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10862 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10863 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10864 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10865 * sysdeps/i386/fpu/e_asin.S: Likewise.
10866 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10867 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10868 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10869 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10870 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10871 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10872 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10873 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10874 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10875 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10876 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10877 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10878 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10879 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10880 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10881 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10882 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10883 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10884 * sysdeps/i386/fpu/e_log.S: Likewise.
10885 * sysdeps/i386/fpu/e_log10.S: Likewise.
10886 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10887 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10888 * sysdeps/i386/fpu/e_log2.S: Likewise.
10889 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10890 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10891 * sysdeps/i386/fpu/e_logf.S: Likewise.
10892 * sysdeps/i386/fpu/e_logl.S: Likewise.
10893 * sysdeps/i386/fpu/e_pow.S: Likewise.
10894 * sysdeps/i386/fpu/e_powf.S: Likewise.
10895 * sysdeps/i386/fpu/e_powl.S: Likewise.
10896 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10897 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10898 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10899 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10900 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10901 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10902 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10903 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10904 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10905 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10908 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10909 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10910 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10911 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10912 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10913 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10914 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10915 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10916 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10918 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10919 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10920 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10921 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10922 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10924 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10925 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10926 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10927 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10928 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10929 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10930 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10931 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10932 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10933 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10934 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10935 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10936 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10937 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10938 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10939 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10940 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10941 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10942 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10943 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10944 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10945 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10946 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10947 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10948 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10949 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10950 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10951 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10952 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10953 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10954 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10955 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10956 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10957 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10958 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10959 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10960 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10961 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10962 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10963 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10964 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10965 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10966 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10967 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10968 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10969 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10970 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10971 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10972 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10973 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10974 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10975 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10976 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10977 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10978 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10979 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10980 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10981 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10982 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10985 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10986 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10988 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10990 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10991 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10992 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10993 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10995 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10996 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10997 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10998 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10999 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11000 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11001 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11002 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11003 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11004 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11005 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11006 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11007 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11008 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11009 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11010 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11011 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11012 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11013 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11014 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11015 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11016 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11017 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11018 (__isnanf): Likewise.
11019 (__isinf_ns): Likewise.
11020 (__isinf_nsf): Likewise.
11021 (__finite): Likewise.
11022 (__finitef): Likewise.
11023 (__ieee754_sqrt): Define as macro.
11024 (__ieee754_sqrtf): Define as macro.
11025 (__ieee754_sqrtl): Define as macro.
11026 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11027 inlined copy.
11028 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11029 __FINITE_MATH_ONLY__ consistent.
11030 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11031
12cc2fcd
AS
110322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11033
a843a204
AS
11034 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11035 of rawmemchr.
11036
12cc2fcd
AS
11037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11038
c853acd5
UD
110392011-10-09 Ulrich Drepper <drepper@gmail.com>
11040
11041 * po/ja.po: Update from translation team.
11042
c658d255
RM
110432011-10-08 Roland McGrath <roland@hack.frob.com>
11044
110946e4
RM
11045 * locale/programs/locarchive.c (prepare_address_space): New function.
11046 (create_archive, enlarge_archive, open_archive): Use it.
11047
50604220
RM
11048 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11049 inside [SHARED], where it is used.
11050
c658d255
RM
11051 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11052
11053 * nss/getent.c (netgroup_keys): Remove unused variable.
11054 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11055
6a621eb7
UD
110562011-10-08 Ulrich Drepper <drepper@gmail.com>
11057
7edb55ce
UD
11058 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11059 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11061 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11062 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11063 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11064 * math/Makefile (libm-calls): Add s_isinf_ns.
11065 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11066 * math/multc3.c: Likewise.
11067 * math/s_casin.c: Likewise.
11068 * math/s_casinf.c: Likewise.
11069 * math/s_casinl.c: Likewise.
11070 * math/s_ccos.c: Likewise.
11071 * math/s_ccosf.c: Likewise.
11072 * math/s_ccosl.c: Likewise.
11073 * math/s_ctan.c: Likewise.
11074 * math/s_ctanf.c: Likewise.
11075 * math/s_ctanh.c: Likewise.
11076 * math/s_ctanhf.c: Likewise.
11077 * math/s_ctanhl.c: Likewise.
11078 * math/s_ctanl.c: Likewise.
11079 * math/w_fmod.c: Likewise.
11080 * math/w_fmodf.c: Likewise.
11081 * math/w_fmodl.c: Likewise.
11082 * math/w_remainder.c: Likewise.
11083 * math/w_remainderf.c: Likewise.
11084 * math/w_remainderl.c: Likewise.
11085 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11086 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11087 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11089 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11090 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11091 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11092 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11093
187da0ae
UD
11094 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11095 of the number.
11096 * stdio-common/printf_fphex.c: Likewise.
11097 * stdio-common/printf_size.c: Likewise.
11098
9277c064
UD
11099 * math/e_exp10.c: Include math_private.h using <...> not "...".
11100 * math/e_exp10f.c: Likewise.
11101 * math/e_exp10l.c: Likewise.
11102 * math/e_exp2l.c: Likewise.
11103 * math/e_j0l.c: Likewise.
11104 * math/e_j1l.c: Likewise.
11105 * math/e_jnl.c: Likewise.
11106 * math/e_lgammal_r.c: Likewise.
11107 * math/e_rem_pio2l.c: Likewise.
11108 * math/e_scalb.c: Likewise.
11109 * math/e_scalbf.c: Likewise.
11110 * math/e_scalbl.c: Likewise.
11111 * math/k_cosl.c: Likewise.
11112 * math/k_sinl.c: Likewise.
11113 * math/k_tanl.c: Likewise.
11114 * math/s_cacoshf.c: Likewise.
11115 * math/s_catan.c: Likewise.
11116 * math/s_catanf.c: Likewise.
11117 * math/s_catanh.c: Likewise.
11118 * math/s_catanhf.c: Likewise.
11119 * math/s_catanhl.c: Likewise.
11120 * math/s_catanl.c: Likewise.
11121 * math/s_ccosh.c: Likewise.
11122 * math/s_ccoshf.c: Likewise.
11123 * math/s_ccoshl.c: Likewise.
11124 * math/s_cexp.c: Likewise.
11125 * math/s_cexpf.c: Likewise.
11126 * math/s_cexpl.c: Likewise.
11127 * math/s_clog.c: Likewise.
11128 * math/s_clog10.c: Likewise.
11129 * math/s_clog10f.c: Likewise.
11130 * math/s_clog10l.c: Likewise.
11131 * math/s_clogf.c: Likewise.
11132 * math/s_clogl.c: Likewise.
11133 * math/s_csin.c: Likewise.
11134 * math/s_csinf.c: Likewise.
11135 * math/s_csinh.c: Likewise.
11136 * math/s_csinhf.c: Likewise.
11137 * math/s_csinhl.c: Likewise.
11138 * math/s_csinl.c: Likewise.
11139 * math/s_csqrt.c: Likewise.
11140 * math/s_csqrtf.c: Likewise.
11141 * math/s_csqrtl.c: Likewise.
11142 * math/s_ctan.c: Likewise.
11143 * math/s_ctanf.c: Likewise.
11144 * math/s_ctanh.c: Likewise.
11145 * math/s_ctanhf.c: Likewise.
11146 * math/s_ctanhl.c: Likewise.
11147 * math/s_ctanl.c: Likewise.
11148 * math/s_ldexp.c: Likewise.
11149 * math/s_ldexpf.c: Likewise.
11150 * math/s_ldexpl.c: Likewise.
11151 * math/s_significand.c: Likewise.
11152 * math/s_significandf.c: Likewise.
11153 * math/s_significandl.c: Likewise.
11154 * math/w_acos.c: Likewise.
11155 * math/w_acosf.c: Likewise.
11156 * math/w_acosh.c: Likewise.
11157 * math/w_acoshf.c: Likewise.
11158 * math/w_acoshl.c: Likewise.
11159 * math/w_acosl.c: Likewise.
11160 * math/w_asin.c: Likewise.
11161 * math/w_asinf.c: Likewise.
11162 * math/w_asinl.c: Likewise.
11163 * math/w_atan2.c: Likewise.
11164 * math/w_atan2f.c: Likewise.
11165 * math/w_atan2l.c: Likewise.
11166 * math/w_atanh.c: Likewise.
11167 * math/w_atanhf.c: Likewise.
11168 * math/w_atanhl.c: Likewise.
11169 * math/w_cosh.c: Likewise.
11170 * math/w_coshf.c: Likewise.
11171 * math/w_coshl.c: Likewise.
11172 * math/w_dremf.c: Likewise.
11173 * math/w_exp10.c: Likewise.
11174 * math/w_exp10f.c: Likewise.
11175 * math/w_exp10l.c: Likewise.
11176 * math/w_exp2.c: Likewise.
11177 * math/w_exp2f.c: Likewise.
11178 * math/w_fmod.c: Likewise.
11179 * math/w_fmodf.c: Likewise.
11180 * math/w_fmodl.c: Likewise.
11181 * math/w_hypot.c: Likewise.
11182 * math/w_hypotf.c: Likewise.
11183 * math/w_hypotl.c: Likewise.
11184 * math/w_j0.c: Likewise.
11185 * math/w_j0f.c: Likewise.
11186 * math/w_j0l.c: Likewise.
11187 * math/w_j1.c: Likewise.
11188 * math/w_j1f.c: Likewise.
11189 * math/w_j1l.c: Likewise.
11190 * math/w_jn.c: Likewise.
11191 * math/w_jnf.c: Likewise.
11192 * math/w_jnl.c: Likewise.
11193 * math/w_lgamma.c: Likewise.
11194 * math/w_lgamma_r.c: Likewise.
11195 * math/w_lgammaf.c: Likewise.
11196 * math/w_lgammaf_r.c: Likewise.
11197 * math/w_lgammal.c: Likewise.
11198 * math/w_lgammal_r.c: Likewise.
11199 * math/w_log.c: Likewise.
11200 * math/w_log10.c: Likewise.
11201 * math/w_log10f.c: Likewise.
11202 * math/w_log10l.c: Likewise.
11203 * math/w_log2.c: Likewise.
11204 * math/w_log2f.c: Likewise.
11205 * math/w_log2l.c: Likewise.
11206 * math/w_logf.c: Likewise.
11207 * math/w_logl.c: Likewise.
11208 * math/w_pow.c: Likewise.
11209 * math/w_powf.c: Likewise.
11210 * math/w_powl.c: Likewise.
11211 * math/w_remainder.c: Likewise.
11212 * math/w_remainderf.c: Likewise.
11213 * math/w_remainderl.c: Likewise.
11214 * math/w_scalb.c: Likewise.
11215 * math/w_scalbf.c: Likewise.
11216 * math/w_scalbl.c: Likewise.
11217 * math/w_sinh.c: Likewise.
11218 * math/w_sinhf.c: Likewise.
11219 * math/w_sinhl.c: Likewise.
11220 * math/w_sqrt.c: Likewise.
11221 * math/w_sqrtf.c: Likewise.
11222 * math/w_sqrtl.c: Likewise.
11223 * math/w_tgamma.c: Likewise.
11224 * math/w_tgammaf.c: Likewise.
11225 * math/w_tgammal.c: Likewise.
11226
6a621eb7
UD
11227 * po/ja.po: Update from translation team.
11228
bf582445
AJ
112292011-09-29 Andreas Jaeger <aj@suse.de>
11230
f9efbf3a
AJ
11231 [BZ #13179]
11232 * sunrpc/netname.c (netname2host): Fix logic.
11233
bf582445
AJ
11234 [BZ #6779]
11235 [BZ #6783]
11236 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11237 correctly.
11238 * math/w_remainder.c (__remainder): Likewise.
11239 * math/w_remainderf.c (__remainderf): Likewise.
11240 * math/libm-test.inc (remainder_test): Add test cases.
11241
48693bea
AK
112422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11243
11244 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11245 sdiv_qrnnd.
11246
42622229
LD
112472011-10-07 Ulrich Drepper <drepper@gmail.com>
11248
11249 * string/test-memcmp.c: Avoid unncessary #defines.
11250 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11251
093ecf92
LD
112522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11253
11254 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11255 Use new sse2 version for core i3 - i7 as it's faster
11256 than sse42 version.
11257 (bit_Prefer_PMINUB_for_stringop): New.
11258 * sysdeps/x86_64/rawmemchr.S: Update.
11259 Replace with faster SSE2 version.
11260 * sysdeps/x86_64/memrchr.S: New file.
11261 * sysdeps/x86_64/memchr.S: Update.
11262 Replace with faster SSE2 version.
11263
fde56e5c
MP
112642011-09-12 Marek Polacek <mpolacek@redhat.com>
11265
11266 * elf/dl-load.c (lose): Add cast to avoid warning.
11267
21fd49a9
UD
112682011-10-07 Ulrich Drepper <drepper@gmail.com>
11269
5a06e643
UD
11270 * po/ca.po: Update from translation team.
11271
684ae515
UD
11272 * inet/getnetgrent_r.c: Hook up nscd.
11273 * nscd/Makefile (routines): Add nscd_netgroup.
11274 (nscd-modules): Add netgroupcache.
11275 (CFLAGS-netgroupcache.c): Define.
11276 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11277 (cache_search): Add const to second parameter.
11278 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11279 INNETGR.
11280 (dbs): Add netgrdb entry.
11281 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11282 (verify_persistent_db): Handle netgrdb.
11283 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11284 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11285 GETFDNETGR.
11286 (netgroup_response_header): Define.
11287 (innetgroup_response_header): Define.
11288 (datahead): Add netgroup_response_header and innetgroup_response_header
11289 elements.
11290 * nscd/nscd.conf: Add entries for netgroup cache.
11291 * nscd/nscd.h (dbtype): Add netgrdb.
11292 (_PATH_NSCD_NETGROUP_DB): Define.
11293 (netgroup_iov_disabled): Declare.
11294 (xmalloc, xcalloc, xrealloc): Move declarations here.
11295 (cache_search): Adjust prototype.
11296 Add netgroup-related prototypes.
11297 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11298 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11299 (__nscd_innetgr): Declare.
11300 * nscd/selinux.c (perms): Use access_vector_t as element type and
11301 add netgroup-related initializers.
11302 * nscd/netgroupcache.c: New file.
11303 * nscd/nscd_netgroup.c: New file.
11304 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11305 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11306 For four parameters use innetgr.
11307 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11308 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11309 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11310 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11311
21fd49a9
UD
11312 * nscd/connections.c (register_traced_file): Don't register file
11313 for disabled databases.
11314
054c0457
UD
113152011-10-06 Ulrich Drepper <drepper@gmail.com>
11316
32b63198
UD
11317 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11318
054c0457
UD
11319 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11320 from tree and freeing node.
11321
64031225
JO
113222011-09-25 Jiri Olsa <jolsa@redhat.com>
11323
11324 * nss/nsswitch.c (__nss_database_lookup): Handle
11325 nss_parse_service_list out of memory case.
11326
0490345c
JO
113272011-09-15 Jiri Olsa <jolsa@redhat.com>
11328
11329 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11330 out of memory case.
11331
3a62d00d
AS
113322011-10-04 Andreas Schwab <schwab@redhat.com>
11333
11334 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11335 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11336 pass it down.
11337 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11338 elf_machine_rela, elf_machine_lazy_rel.
11339 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11340 (ELF_DYNAMIC_DO_REL): Likewise.
11341 (ELF_DYNAMIC_DO_RELA): Likewise.
11342 (ELF_DYNAMIC_RELOCATE): Likewise.
11343 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11344 to ELF_DYNAMIC_DO_REL.
11345 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11346 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11347 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11348 elf_machine_rela.
11349 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11350 skip_ifunc, don't call ifunc function if non-zero.
11351 (elf_machine_rela): Likewise.
11352 (elf_machine_lazy_rel): Likewise.
11353 (elf_machine_lazy_rela): Likewise.
11354 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11355 (elf_machine_lazy_rel): Likewise.
11356 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11357 Likewise.
11358 (elf_machine_lazy_rel): Likewise.
11359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11360 Likewise.
11361 (elf_machine_lazy_rel): Likewise.
11362 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11363 (elf_machine_lazy_rel): Likewise.
11364 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11365 (elf_machine_lazy_rel): Likewise.
11366 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11367 (elf_machine_lazy_rel): Likewise.
11368 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11369 (elf_machine_lazy_rel): Likewise.
11370 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11371 (elf_machine_lazy_rel): Likewise.
11372 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11373 (elf_machine_lazy_rel): Likewise.
11374
68577918
UD
113752011-09-28 Ulrich Drepper <drepper@gmail.com>
11376
11377 * nss/nss_files/files-init.c (_nss_files_init): Use static
11378 initialization for all the *_traced_file variables.
11379
68822d74
AS
113802011-09-28 Andreas Schwab <schwab@redhat.com>
11381
11382 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11383
2056100b
RM
113842011-09-27 Roland McGrath <roland@hack.frob.com>
11385
11386 [BZ #13226]
11387 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11388
32c76b63
AS
113892011-09-27 Andreas Schwab <schwab@redhat.com>
11390
11391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11392 Reread the line before reparsing it.
11393
bf972c9d
AS
113942011-09-26 Andreas Schwab <schwab@redhat.com>
11395
11396 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11397
e057a1b5
JM
113982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11399 Maxim Kuvyrkov <maxim@codesourcery.com>
11400 Joseph Myers <joseph@codesourcery.com>
11401
11402 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11403 if needed for __stack_chk_guard.
11404
bc7e1c36
RM
114052011-09-19 Roland McGrath <roland@hack.frob.com>
11406
ecb1482f
RM
11407 * sysdeps/posix/spawni.c (script_execute): Always define it.
11408 It will be optimized away if unused.
11409 (maybe_script_execute): New function.
11410 (__spawni): Call it.
11411
bc7e1c36
RM
11412 * Makerules: Don't include tls.make.
11413 (config-tls): Always set to thread.
11414 * tls.make.c: File removed.
11415
1c3b002b
MF
114162011-09-19 Mike Frysinger <vapier@gentoo.org>
11417
11418 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11419 * config.make.in (CPPFLAGS-config): New substituted variable.
11420
2840865d
UD
114212011-09-15 Ulrich Drepper <drepper@gmail.com>
11422
88738eb6
UD
11423 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11424
cbf645a6 11425 [BZ #13192]
2840865d
UD
11426 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11427 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11428
b402e91a
RM
114292011-09-15 Roland McGrath <roland@hack.frob.com>
11430
11431 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11432 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11433 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11434 (CALL_FAIL): Likewise.
11435 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11436 (CALL_FAIL): Macro removed.
11437 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11438
4c1a1f71
UD
114392011-09-15 Ulrich Drepper <drepper@gmail.com>
11440
11441 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11442 for __FINITE_MATH_ONLY__ == 1.
11443
edc121be
AS
114442011-09-15 Andreas Schwab <schwab@redhat.com>
11445
11446 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11447 __ieee754_sqrt instead of sqrt.
11448 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11449 __ieee754_sqrtf instead of sqrtf.
11450 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11451 __floorf instead of floorf.
11452 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11453 __floorf, __truncf instead of floorf, truncf.
11454
cd205654
UD
114552011-09-14 Ulrich Drepper <drepper@gmail.com>
11456
ee4d0315
UD
11457 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11458
cd205654
UD
11459 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11460 __extern_always_inline.
11461 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11462 32-bit.
11463
48b67d71
AS
114642011-09-14 Andreas Schwab <schwab@redhat.com>
11465
11466 * elf/rtld.c (dl_main): Also relocate in dependency order when
11467 doing symbol dependency testing.
11468
1ae12c75
AS
114692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11470
11471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11472 Always define `refsym'.
11473
995a80df
AS
114742011-09-13 Andreas Schwab <schwab@redhat.com>
11475
e529793b
AS
11476 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11477 (__FD_ELT): Renamed from __FDELT.
11478 * misc/bits/select2.h (__FD_ELT): Likewise.
11479 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11480 __FD_MASK instead of __FDELT, __FDMASK.
11481 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11482 Likewise.
11483 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11484 Likewise.
11485
52d4fef8
AS
11486 * elf/Makefile (gen-ldd): Fix pattern.
11487
995a80df
AS
11488 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11489 (init_tls): Likewise.
11490
8682f8b0
UD
114912011-09-12 Ulrich Drepper <drepper@gmail.com>
11492
11493 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11494
de82006d
AS
114952011-09-12 Andreas Schwab <schwab@redhat.com>
11496
a7c8e6a1
AS
11497 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11498 `struct cmsghdr *' instead of `void *'.
11499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11500 Likewise.
11501
0f31fe77
AS
115022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11503
11504 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11505 if non-absolute.
11506 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11507 ldd_rewrite_script.
0f31fe77 11508
32b4c839
UD
115092011-09-11 Ulrich Drepper <drepper@gmail.com>
11510
83cd1420
UD
11511 * configure.in: Remove --with-tls option.
11512 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11513 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11514 out in case it is missing.
11515 * sysdeps/ia64/elf/configure.in: Likewise.
11516 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11517 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11518 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11519 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11520 * sysdeps/sh/elf/configure.in: Likewise.
11521 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11522 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11523 * sysdeps/x86_64/elf/configure.in: Likewise.
11524 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11525 * sysdeps/mach/hurd/tls.h: Likewise.
11526
633f745d
UD
11527 [BZ #13067]
11528 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11529
f318beb8
UD
11530 [BZ #13090]
11531 * configure.in: Fix use of AC_INIT.
11532
32b4c839
UD
11533 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11534
3ce1f295
UD
115352011-09-10 Ulrich Drepper <drepper@gmail.com>
11536
bb016596
UD
11537 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11538 __set_errno.
8e58439c
UD
11539 * malloc/hooks.c: Likewise.
11540
aebae053 11541 [BZ #11929]
02d46fc4
UD
11542 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11543 variables statically.
11544 (narenas): Initialize.
11545 (list_lock): Initialize.
bb016596
UD
11546 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11547 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11548 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11549 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11550 Add initializers to main_arena and mp_.
11551 (malloc_state): Remove pagesize member. Change all users to use
11552 GLRO(dl_pagesize).
11553
11554 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11555 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11556 is always initialized.
11557
22a89187
UD
11558 * malloc/malloc.c: Removed unused configurations and dead code.
11559 * malloc/arena.c: Likewise.
11560 * malloc/hooks.c: Likewise.
02d46fc4 11561 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11562
d063d164
UD
11563 * include/tls.h: Removed. USE___THREAD must always be defined.
11564 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11565 * elf/dl-libc.c: Likewise.
11566 * elf/dl-tsd.c: Likewise.
11567 * include/errno.h: Likewise.
11568 * include/netdb.h: Likewise.
11569 * include/resolv.h: Likewise.
11570 * inet/herrno-loc.c: Likewise.
11571 * inet/herrno.c: Likewise.
11572 * malloc/arena.c: Likewise.
11573 * malloc/hooks.c: Likewise.
11574 * malloc/malloc.c: Likewise.
11575 * resolv/res-state.c: Likewise.
11576 * resolv/res_libc.c: Likewise.
11577 * sysdeps/i386/dl-machine.h: Likewise.
11578 * sysdeps/ia64/dl-machine.h: Likewise.
11579 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11580 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11581 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11582 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11583 * sysdeps/sh/dl-machine.h: Likewise.
11584 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11585 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11586 * sysdeps/unix/i386/sysdep.S: Likewise.
11587 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11588 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11589 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11590 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11591 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11592 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11593 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11595 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11596 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11597 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11598 * sysdeps/x86_64/dl-machine.h: Likewise.
11599 * tls.make.c: Likewise.
11600
3ce1f295
UD
11601 * configure.in: Remove --with-__thread option. Make tests for
11602 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11603 tls_model attribute fail if no support is available. Remove
11604 USE_IN_LIBIO.
11605 * Makeconfig: Adjust for dropped configure option. All features are
11606 now mandatory.
11607 * Makerules: Likewise.
11608 * Versions.def: Likewise.
11609 * argp/argp-fmtstream.c: Likewise.
11610 * argp/argp-fmtstream.h: Likewise.
11611 * argp/argp-help.c: Likewise.
11612 * assert/assert.c: Likewise.
11613 * config.h.in: Likewise.
11614 * config.make.in: Likewise.
11615 * configure: Likewise.
11616 * configure.in: Likewise.
11617 * csu/Versions: Likewise.
11618 * csu/init.c: Likewise.
11619 * elf/tst-audit2.c: Likewise.
11620 * elf/tst-tls10.c: Likewise.
11621 * elf/tst-tls10.h: Likewise.
11622 * elf/tst-tls11.c: Likewise.
11623 * elf/tst-tls12.c: Likewise.
11624 * elf/tst-tls14.c: Likewise.
11625 * elf/tst-tlsmod11.c: Likewise.
11626 * elf/tst-tlsmod12.c: Likewise.
11627 * elf/tst-tlsmod13.c: Likewise.
11628 * elf/tst-tlsmod13a.c: Likewise.
11629 * elf/tst-tlsmod14a.c: Likewise.
11630 * elf/tst-tlsmod15b.c: Likewise.
11631 * elf/tst-tlsmod16a.c: Likewise.
11632 * elf/tst-tlsmod16b.c: Likewise.
11633 * elf/tst-tlsmod7.c: Likewise.
11634 * elf/tst-tlsmod8.c: Likewise.
11635 * elf/tst-tlsmod9.c: Likewise.
11636 * gmon/gmon.c: Likewise.
11637 * grp/fgetgrent_r.c: Likewise.
11638 * grp/putgrent.c: Likewise.
11639 * hurd/fopenport.c: Likewise.
11640 * include/libc-symbols.h: Likewise.
11641 * include/tls.h: Likewise.
11642 * intl/gettextP.h: Likewise.
11643 * intl/loadinfo.h: Likewise.
11644 * locale/global-locale.c: Likewise.
11645 * locale/localeinfo.h: Likewise.
11646 * mach/devstream.c: Likewise.
11647 * malloc/arena.c: Likewise.
11648 * malloc/set-freeres.c: Likewise.
11649 * misc/err.c: Likewise.
11650 * misc/getttyent.c: Likewise.
11651 * misc/mntent_r.c: Likewise.
11652 * posix/getopt.c: Likewise.
11653 * posix/wordexp.c: Likewise.
11654 * pwd/fgetpwent_r.c: Likewise.
11655 * resolv/Versions: Likewise.
11656 * resolv/res_hconf.c: Likewise.
11657 * shadow/fgetspent_r.c: Likewise.
11658 * shadow/putspent.c: Likewise.
11659 * stdio-common/printf_fphex.c: Likewise.
11660 * stdio-common/tmpfile.c: Likewise.
11661 * stdlib/abort.c: Likewise.
11662 * stdlib/fmtmsg.c: Likewise.
11663 * sunrpc/auth_unix.c: Likewise.
11664 * sunrpc/clnt_perr.c: Likewise.
11665 * sunrpc/clnt_tcp.c: Likewise.
11666 * sunrpc/clnt_udp.c: Likewise.
11667 * sunrpc/clnt_unix.c: Likewise.
11668 * sunrpc/openchild.c: Likewise.
11669 * sunrpc/svc_simple.c: Likewise.
11670 * sunrpc/svc_tcp.c: Likewise.
11671 * sunrpc/svc_udp.c: Likewise.
11672 * sunrpc/svc_unix.c: Likewise.
11673 * sunrpc/xdr.c: Likewise.
11674 * sunrpc/xdr_array.c: Likewise.
11675 * sunrpc/xdr_rec.c: Likewise.
11676 * sunrpc/xdr_ref.c: Likewise.
11677 * sunrpc/xdr_stdio.c: Likewise.
11678
1248c1c4
PB
116792011-09-09 Ulrich Drepper <drepper@gmail.com>
11680
11681 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11682
116832011-07-03 Andreas Jaeger <aj@suse.de>
11684
11685 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11686 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11687 regenerate with gen-libm-tests.pl.
11688
116892010-05-12 Petr Baudis <pasky@suse.cz>
11690
11691 [BZ #11589]
11692 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11693 around j0() zero points by switching to j1().
11694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11695 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11697 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11698
f22e1074
UD
116992011-09-09 Ulrich Drepper <drepper@gmail.com>
11700
f19009c1
UD
11701 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11702 instead of 0.
11703 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11704 instead of 0. .
11705 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11706 Patch in part by Pavel Roskin <proski@gnu.org>.
11707
3f8cc204
UD
11708 [BZ #13138]
11709 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11710 realloc.
11711 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11712 Free memory block if necessary.
11713
f22e1074
UD
11714 [BZ #12847]
11715 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11716 be NULL. Don't lock in this case.
11717
0a2349f9
RM
117182011-09-09 Roland McGrath <roland@hack.frob.com>
11719
11720 * elf/elf.h (ELFOSABI_GNU): New macro.
11721 (ELFOSABI_LINUX): Define to that.
11722
f3cdd467
DZ
117232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11724
11725 * string/strncat.c (strncat): Undef the symbol in case it has been
11726 defined in bits/string.h.
11727
74718d13
UD
117282011-09-09 Ulrich Drepper <drepper@gmail.com>
11729
633e9e0f
UD
11730 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11731
0a2349f9 11732 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11733 link map.
11734
f9924780
AJ
117352011-08-17 Andreas Jaeger <aj@suse.de>
11736
11737 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11738
7f5517aa
PP
117392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11740 Ian Lance Taylor <iant@google.com>
11741
11742 * math/libm-test.inc (lround_test): New testcase.
11743 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11744
762011fe
UD
117452011-09-08 Ulrich Drepper <drepper@gmail.com>
11746
92963737
UD
11747 * Makefile: Remove support for automatic cvs check-ins.
11748 * Makerules: Likewise.
11749 * config.make.in: Likewise.
11750 * configure.in: Likewise.
11751 * intl/Makefile: Likewise.
11752 * locale/Makefile: Likewise.
11753 * po/Makefile: Likewise.
11754 * posix/Makefile: Likewise.
11755 * sysdeps/gnu/Makefile: Likewise.
11756 * sysdeps/mach/hurd/Makefile: Likewise.
11757 * sysdeps/sparc/sparc32/Makefile: Likewise.
11758
b0727fd8
JS
11759 [BZ #13118]
11760 * posix/Makefile (bug-regex32-ENV): Define.
11761 Patch by John Stanley <jpsinthemix@verizon.net>.
11762
a0f33f99
UD
11763 * misc/Makefile (headers): Add bits/select2.h.
11764 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11765 * misc/bits/select2.h: New file.
11766 * include/bits/select2.h: New file.
11767 * debug/Makefile (routines): Add fdelt_chk.
11768 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11769 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11770 FD_ISSET.
11771 * debug/fdelt_chk.c: New file.
11772
762011fe
UD
11773 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11774 * wcsmbs/test-wmemcmp.c: Likewise.
11775 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11776 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11777
117782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11779
11780 * string/Makefile (strop-tests): Add memcmp.
11781 * string/test-wmemcmp.c: New file.
11782 * string/test-memcmp.c: Add wmemcmp support.
11783
7f513ec8
RM
117842011-09-08 Roland McGrath <roland@hack.frob.com>
11785
0442afb4
RM
11786 [BZ #13153]
11787 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11788 2011-07-19 change.
11789
7f513ec8
RM
11790 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11791 garbage value in a __mach_port_mod_refs call in the cases of the
11792 task-self and thread-self ports.
11793
a12b2239
ST
117942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11795
11796 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11797
610f9ab4
AS
117982011-09-08 Andreas Schwab <schwab@redhat.com>
11799
7f513ec8 11800 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11801
48882a1a
LD
118022011-09-07 Ulrich Drepper <drepper@gmail.com>
11803
b49865be
UD
11804 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11805
fdc86bc9
UD
11806 * elf/dl-libc.c (dlerror_run): Pass back error code from
11807 dl_catch_error.
11808
c966526a
UD
11809 [BZ #13123]
11810 * elf/dl-load.c (lose): Free l_origin if it is valid.
11811
48882a1a
LD
11812 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11813 names.
11814 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11815 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11816 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11817 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11818 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11819 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11820
77a2a8b4
AZ
118212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11822
11823 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11824 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11825 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11826 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11827 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11828 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11829 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11830 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11831 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11832 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11833
24f579d8
AM
118342011-08-15 Alan Modra <amodra@gmail.com>
11835
11836 [BZ #13092]
11837 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11838 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11839 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11840 ppc_mcount to static-only-routines.
11841 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11842 __mcount_internal.
11843 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11844 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11845
3d4837df
UD
118462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11847
11848 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11849 for finite and infinity parameters.
11850
22700377
WS
118512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11852
11853 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11854 and add nop instructions for throughput optimization.
11855 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11856
5025581e
WS
118572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11858
11859 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11860 aligned copy for power7 with vector-scalar instructions.
11861 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11862
08a300c9
L
118632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11864
11865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11866 AVX check.
11867
59178ef9
AS
118682011-09-07 Andreas Schwab <schwab@redhat.com>
11869
11870 [BZ #13144]
11871 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11872 last change.
11873
e38ba7ab
UD
118742011-09-07 Ulrich Drepper <drepper@gmail.com>
11875
11876 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11877 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11878 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11879 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11880 clock_gettime.
11881
d53a73ac
UD
118822011-09-06 Ulrich Drepper <drepper@gmail.com>
11883
fc8bffcc
UD
11884 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11885 Forgot to demangle the pointer.
11886
ceaa0c5d
UD
11887 * sysdeps/i386/sysdep.h: Define atom_text_section.
11888 * sysdeps/x86_64/sysdep.h: Likewise.
11889 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11890 section with atom_text_section.
11891 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11892 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11893 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11895 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11896
a77d3c17
UD
11897 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11899 already be defined. Change to take two parameters and don't assign
11900 result to variable. Adjust all users.
11901 Define INTERNAL_GETTIME if not already defined.
11902 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11903 call.
11904 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11905 HAVE_CLOCK_GETTIME_VSYSCALL.
11906 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11907
d53a73ac
UD
11908 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11909 gettimeofday vsyscall, just use time.
11910
a8f84144
AS
119112011-09-06 Andreas Schwab <schwab@redhat.com>
11912
11913 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11914 <errno.h>.
11915
ef606249
UD
119162011-09-06 Ulrich Drepper <drepper@gmail.com>
11917
11918 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11919 syscall on x86-64.
11920 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11921 syscall.
11922 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11923 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11924 syscall if possible.
11925
6585cb60
UD
119262011-09-05 Ulrich Drepper <drepper@gmail.com>
11927
11928 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11929 e_ident. Don't pass to find_mapsXX.
11930 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11931
a5f524e4
LD
119322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11933
11934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11935 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11936 * sysdeps/x86_64/multiarch/strchr.S: Update.
11937 Check bit_slow_BSF bit.
11938 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11939 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11940 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11941
554881ef
UD
119422011-09-05 Ulrich Drepper <drepper@gmail.com>
11943
d96de963
UD
11944 [BZ #13134]
11945 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11946 before glibc 2.15.
11947 (tryshell): Define.
11948 (__spawni): Change last parameter to be flag. Test
11949 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11950 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11951 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11952 * posix/spawni.c: Likewise.
11953 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11954 * posix/spawnp.c: Likewise. Change normal version to use
11955 SPAWN_XFLAGS_USE_PATH.
11956 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11957 SPAWN_XFLAGS_TRY_SHELL.
11958
d48e5868
UD
11959 [BZ #13150]
11960 * posix/glob.h: Remove gcc 1.x support.
11961
554881ef
UD
11962 [BZ #13068]
11963 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11964
693fb948
LD
119652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11966
11967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11968 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11969 strrchr-sse2-bsf
11970 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11971 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11972 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11973 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11974 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11975 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11976
1b48c537
UD
119772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11978
49d42c37
UD
11979 * sysdeps/x86_64/wcscmp.S: New file.
11980
1b48c537
UD
11981 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11982 wcscmp-c wcscmp-sse2
11983 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11984 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11986 * wcsmbs/wcscmp.c: Allow renaming.
11987
15c95c5d
DM
119882011-09-05 David S. Miller <davem@davemloft.net>
11989
11990 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11991 stack slot, rather than the struct return pointer slot.
11992 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11993 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11995 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11996
2f0ad8f3
UD
119972011-09-05 Ulrich Drepper <drepper@gmail.com>
11998
d88ae418
UD
11999 * po/ja.po: Update from translation team.
12000
2f0ad8f3
UD
12001 [BZ #13144]
12002 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12003 kernel in 64-bit binaries.
12004
5f4318d1
DM
120052011-09-01 David S. Miller <davem@davemloft.net>
12006
12007 * elf/elf.h (HWCAP_SPARC_*): Move to..
12008 * sysdeps/sparc/sysdep.h: this new file and add new values.
12009 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12010 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12011 _DL_HWCAP_COUNT to 24.
12012 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12013 entries.
12014 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12015 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12016 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12018 instead of magic constants.
12019 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12020
3ba57516
DM
120212011-08-31 David S. Miller <davem@davemloft.net>
12022
12023 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12024 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12025 Reimplement to do errno handling inline.
12026 (SYSCALL_ERROR_HANDLER): New macro.
12027 (__SYSCALL_STRING): Do not do errno handling in asm.
12028 (__CLONE_SYSCALL_STRING): Delete.
12029 (__INTERNAL_SYSCALL_STRING): Delete.
12030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12031 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12032 (PSEUDO): Reimplement to do errno handling inline.
12033 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12034 (SYSCALL_ERROR_HANDLER): New macro.
12035 (__SYSCALL_STRING): Do not do errno handling in asm.
12036 (__CLONE_SYSCALL_STRING): Delete.
12037 (__INTERNAL_SYSCALL_STRING): Delete.
12038 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12039 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12040 i386.
12041 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12042 (inline_syscall*): Add 'err' argument.
12043 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12044 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12045 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12046 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12047
12048 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12049 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12050
2bc17433
AS
120512011-08-30 Andreas Schwab <schwab@redhat.com>
12052
12053 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12054
fbeb5f4d
JO
120552011-08-29 Jiri Olsa <jolsa@redhat.com>
12056
12057 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12058 directive.
12059
ad69cc26
DM
120602011-08-24 David S. Miller <davem@davemloft.net>
12061
12062 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12063
39dd69df
AS
120642011-08-24 Andreas Schwab <schwab@redhat.com>
12065
12066 * elf/Makefile: Add rules to build and run unload8 test.
12067 * elf/unload8.c: New file.
12068 * elf/unload8mod1.c: New file.
12069 * elf/unload8mod1x.c: New file.
12070 * elf/unload8mod2.c: New file.
12071 * elf/unload8mod3.c: New file.
12072
12073 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12074 it wasn't used.
12075
2c0b250a
DM
120762011-08-23 David S. Miller <davem@davemloft.net>
12077
12078 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12079 subtract stack bias.
12080 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12081 %sp not %fp in calculations.
12082 (_JMPBUF_UNWINDS_ADJ): Likewise.
12083
22044b48
DM
12084 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12085 (aio_suspend): Call it to force an exception region around the
12086 AIO_MISC_WAIT() invocation.
12087
2cae4995
AS
120882011-08-23 Andreas Schwab <schwab@redhat.com>
12089
12090 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12091 backslash.
12092
873a772e
AJ
120932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12094
12095 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12096 protection macro.
12097 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12098 and <dl-machine.h>.
12099 (Elf64_FuncDesc): Remove.
12100
25ad0df1
DM
121012011-08-22 David S. Miller <davem@davemloft.net>
12102
12103 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12104 sigaltstack check, add missing cfi directives.
12105 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12106 missing cfi directives, and sigaltstack handling.
12107
e888bcbe
AS
121082011-08-16 Andreas Schwab <schwab@redhat.com>
12109
12110 [BZ #11724]
12111 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12112 object is seen twice.
12113 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12114
12115 * elf/Makefile (distribute): Add tst-initorder2.c.
12116 (tests): Add tst-initorder2.
12117 (modules-names): Add tst-initorder2a tst-initorder2b
12118 tst-initorder2c tst-initorder2d. Add rules to build them.
12119 ($(objpfx)tst-initorder2.out): New rule.
12120 * elf/tst-initorder2.c: New file.
12121 * elf/tst-initorder2.exp: New file.
12122
87162f46
AS
121232011-08-22 Andreas Schwab <schwab@redhat.com>
12124
70538b7f
AS
12125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12126
f55ffe58
AS
12127 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12128 dependencies back to end of function.
12129
87162f46
AS
12130 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12131 $(elfobjdir)/ld.so.
12132
91b392a4
UD
121332011-08-21 Ulrich Drepper <drepper@gmail.com>
12134
12135 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12136 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12137 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12138 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12139 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12140 of __vdso_gettimeofday.
12141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12142 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12143 attribute_hidden.
12144 (_libc_vdso_platform_setup): Remove initialization of
12145 __vdso_gettimeofday and __vdso_time.
12146
5c43483f
UD
121472011-08-20 Ulrich Drepper <drepper@gmail.com>
12148
775a77e7
UD
12149 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12150 and fgetc_unlocked.
12151 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12152 getc_unlocked.
89f447ed 12153
49c74ba9
UD
12154 * elf/dl-open.c (add_to_global): Report additions to the global scope
12155 for LD_DEBUG=scopes.
12156 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12157 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12158
5c43483f
UD
12159 [BZ #13114]
12160 * stdio-common/Makefile (tests): Add bug24.
12161 * stdio-common/bug24.c: New file.
12162
a101b025
AJ
121632011-08-19 Andreas Jaeger <aj@suse.de>
12164
12165 [BZ #13114]
12166 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12167 non-existant file when using close-on-exec mode.
12168
c88f1766
UD
121692011-08-20 Ulrich Drepper <drepper@gmail.com>
12170
0276a718
UD
12171 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12172 the very first instruction.
12173
c88f1766
UD
12174 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12175 the CFI state in the end.
12176 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12177 inclusion of dl-trampoline.h.
12178 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12179
51ccffa0
AS
121802011-08-19 Andreas Schwab <schwab@redhat.com>
12181
94d7165f
AS
12182 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12183 expectations for long double.
12184
51ccffa0
AS
12185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12186 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12187
fd708658 121882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12189
12190 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12191 artificual limit depends upon the system page size.
12192
44f0a71e
UD
121932011-08-17 Ulrich Drepper <drepper@gmail.com>
12194
12195 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12196 * resolv/Makefile: Define CFLAGS-libresolv.
12197
8de79a24
AS
121982011-08-17 Andreas Schwab <schwab@redhat.com>
12199
12200 * nss/makedb.c (compute_tables): Make variables used in nested
12201 function static.
12202
27724598
UD
122032011-08-17 Ulrich Drepper <drepper@gmail.com>
12204
c5305d88
UD
12205 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12206 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12207 if buffer was too small.
12208
27724598
UD
12209 * elf/pldd.c (main): Attach to all threads in the process.
12210 Rewrite /proc handling to use *at functions.
12211
076fe015
UD
122122011-08-16 Ulrich Drepper <drepper@gmail.com>
12213
174baab3
UD
12214 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12215 specifies first scope to show.
12216 (dl_open_worker): Update callers. Move printing scope of new
12217 object to before the relocation.
44f0a71e 12218 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12219 * sysdeps/generic/ldsodefs.h: Update declaration.
12220
076fe015
UD
12221 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12222 string for the scope number.
12223
a60df2c3
UD
122242011-08-14 Ulrich Drepper <drepper@gmail.com>
12225
12226 * nscd/servicescache.c (cache_addserv): Make sure written is always
12227 initialized.
12228
5e4287d1
RM
122292011-08-14 Roland McGrath <roland@hack.frob.com>
12230
85ae0589
RM
12231 * sysdeps/i386/i486/bits/atomic.h
12232 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12233 statement expression, so as to suppress "set but not used" warning.
12234 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12235
69f63097
RM
12236 * string/strncat.c (STRNCAT): Use prototype definition.
12237
675456ef
RM
12238 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12239 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12240 -Iprograms here.
12241 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12242 (localedef-modules): Add localedef.
12243 (locale-modules): Add locale.
12244
5e4287d1
RM
12245 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12246 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12247 to avoid a warning.
12248
9c96ff23
DM
122492011-08-14 David S. Miller <davem@davemloft.net>
12250
12251 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12252 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12253
f9ddf089
UD
122542011-08-13 Ulrich Drepper <drepper@gmail.com>
12255
44f0a71e 12256 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12257 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12258 * elf/rtld.c (dl_main): Set l_name of vDSO.
12259 Call _dl_show_scope when DL_DEBUG_SCOPES.
12260 (process_dl_debug): Recognize scopes flag and also set it for all.
12261 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12262 Declare _dl_show_scope.
12263
1dc27704
UD
12264 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12265 (do_dlopen): Pass caller_dlopen to dl_open.
12266 (__libc_dlopen_mode): Initialize caller_dlopen.
12267
f9ddf089
UD
12268 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12269 of libc. Make tolower call locale-independent. Optimize a bit by
12270 using isdigit instead of isalnum.
12271 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12272
9ac533d3
UD
122732011-08-12 Ulrich Drepper <drepper@gmail.com>
12274
12275 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12276 was a dependency or dynamically loaded.
12277
89edf2e9
UD
122782011-08-11 Ulrich Drepper <drepper@gmail.com>
12279
8e999d29
UD
12280 * intl/l10nflist.c: Allow architecture-specific pop function.
12281 * sysdeps/x86_64/l10nflist.c: New file.
12282
89edf2e9
UD
12283 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12284 classification.
12285
14d96785
AS
122862011-08-10 Andreas Schwab <schwab@redhat.com>
12287
12288 * include/dirent.h: Add libc_hidden_proto for scandirat and
12289 scandirat64. Don't declare __scandirat64.
12290 * dirent/scandirat.c: Add libc_hidden_def.
12291 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12292 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12293
6761ac04
DM
122942011-08-10 David S. Miller <davem@davemloft.net>
12295
12296 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12297 enum.
12298 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12299 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12300 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12301
c55fbd1e
UD
123022011-08-09 Ulrich Drepper <drepper@gmail.com>
12303
12304 * Versions.def [libc]: Add GLIBC_2.15.
12305 * dirent/Makefile (routines): Add scandirat and scandirat64.
12306 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12307 GLIBC_2.15.
12308 * dirent/dirent.h: Declare scandirat and scandirat64.
12309 * dirent/scandirat.c: New file.
12310 * dirent/scandirat64.c: New file.
12311 * sysdeps/wordsize-64/scandirat.c: New file.
12312 * sysdeps/wordsize-64/scandirat64.c: New file.
12313 * dirent/opendir.c: Define opendirat.
12314 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12315 using scandirat.
12316 * dirent/scandir64.c: Adjust for scandir.c change.
12317 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12318 __scandirat64, and __scandir_cancel_handler.
12319 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12320 additional parameter and use openat instead of open (outside of ld.so).
12321 Add new __opendir as wrapper around __opendirat.
12322 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12323 here without requiring old scandirat implementation.
12324
879165f2
UD
123252011-08-08 Ulrich Drepper <drepper@gmail.com>
12326
12327 * dirent/scandir.c (cancel_handler): Renamed to
12328 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12329 defined. Adjust users.
12330 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12332
cb7e923b
UD
123332011-08-04 Ulrich Drepper <drepper@gmail.com>
12334
16292edd
UD
12335 * string/test-string.h (IMPL): Use __STRING to expand name and then
12336 stringify it.
12337
cb7e923b
UD
12338 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12339 of cleanups.
12340
cff82933
LD
123412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12342
12343 * string/Makefile: Update.
12344 (strop-tests): Append strncat.
12345 * string/test-wcscmp.c: New file.
12346 New comprehensive test for wcscmp.
12347 * string/test-strcmp.c: Update.
12348 (WIDE): New define.
12349
9be9bfcc
AS
123502011-07-22 Andreas Schwab <schwab@redhat.com>
12351
12352 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12353 line.
12354
2e96f1c7
AS
123552011-07-26 Andreas Schwab <schwab@redhat.com>
12356
12357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12358 encoding to ACE if AI_IDN.
12359
85188888
JJ
123602011-08-01 Jakub Jelinek <jakub@redhat.com>
12361
12362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12363 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12364
5fa16e9b
LD
123652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12366
12367 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12368 Fix overflow bug in strncat.
12369 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12370
12371 * string/test-strncat.c: Update.
12372 Add new tests for checking overflow bugs.
12373
123742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12375
12376 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12377 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12378 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12379 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12380 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12381 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12382 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12383 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12384 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12385
12386 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12387 (USE_AS_STRCAT): Define.
12388 Add strcat and strncat support.
12389 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12390
8c1a459f
AS
123912011-07-25 Andreas Schwab <schwab@redhat.com>
12392
12393 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12394 __n bigger than INT_MAX+1.
12395 (__strncmp_g): Likewise.
12396
bba33c28
UD
123972011-07-23 Ulrich Drepper <drepper@gmail.com>
12398
798be72d
UD
12399 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12400 * libio/stido.h: Likewise.
12401
8accd4dc
UD
12402 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12403 (AF_NFC): Define.
12404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12405 (AF_NFC): Define.
12406
cbff0d96
UD
12407 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12408 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12410 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12411 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12412
9191c04a
UD
12413 [BZ #13021]
12414 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12415 installed.
12416
bba33c28
UD
12417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12418 typo.
12419 (_dl_x86_64_save_sse): Likewise.
12420
90f139dd
UD
124212011-07-22 Ulrich Drepper <drepper@gmail.com>
12422
1aae088a
UD
12423 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12424 OSXSAVE.
12425 (_dl_x86_64_save_sse): Likewise.
12426
8e2045f5
UD
12427 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12428
90f139dd
UD
12429 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12430
1d002f25
AS
124312011-07-21 Andreas Schwab <schwab@redhat.com>
12432
12433 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12434 change.
12435 (_dl_x86_64_save_sse): Use correct AVX check.
12436
21137f89
UD
124372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12438
12439 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12440 bug in strncpy/strncat.
12441 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12442
a65c0b7a
UD
124432011-07-21 Ulrich Drepper <drepper@gmail.com>
12444
12445 * string/tester.c (test_strcat): Add tests for different alignments
12446 of source and destination.
12447 (test_strncat): Likewise.
12448
6986b98a
UD
124492011-07-20 Ulrich Drepper <drepper@gmail.com>
12450
90bb2039
UD
12451 [BZ #12852]
12452 * posix/glob.c (glob): Check passed in values before using them in
12453 expressions to avoid some overflows.
12454 (glob_in_dir): Likewise.
12455
5644ef54
UD
12456 [BZ #13007]
12457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12458 check for AVX enablement so that we don't crash with old kernels and
12459 new hardware.
12460 * elf/tst-audit4.c: Add same checks here.
12461 * elf/tst-audit6.c: Likewise.
12462
12463 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12464
bfc9dc9b
AS
124652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12466
12467 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12468
702e64bb
UD
124692011-07-20 Ulrich Drepper <drepper@gmail.com>
12470
12471 * po/cs.po: Update from translation team.
12472 * po/bg.po: Likewise.
12473
295e904f
MP
124742011-07-12 Marek Polacek <mpolacek@redhat.com>
12475
12476 * misc/sys/cdefs.h: Add support for const attribute.
12477 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12478 to gnu_dev_{major,minor,makedev} functions.
12479
3ff94596
MP
124802011-07-20 Marek Polacek <mpolacek@redhat.com>
12481
12482 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12483
28b59fca
AS
124842011-07-20 Andreas Schwab <schwab@redhat.com>
12485
12486 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12487 strlen results.
12488
19df733e
AK
124892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12490
12491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12492 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12493 register in order to avoid conflicts with the soft frame pointer
12494 being held in r11 when necessary.
12495 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12496 (INTERNAL_VSYSCALL_NCS): Likewise.
12497
c8835729
MP
124982011-07-14 Marek Polacek <mpolacek@redhat.com>
12499
12500 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12501 * elf/dl-fini.c (_dl_fini): Adjust caller.
12502 * elf/dl-close.c (_dl_close_worker): Likewise.
12503 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12504
b902330c
MP
125052011-07-15 Marek Polacek <mpolacek@redhat.com>
12506
8991e135
MP
12507 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12508 "aux_cache->nlibs < 0".
12509
b902330c
MP
12510 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12511 in the reload-count case.
12512
99710781
LD
125132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12514
12515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12516 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12517 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12518 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12519 * sysdeps/x86_64/multiarch/strcat.S: New file.
12520 * sysdeps/x86_64/multiarch/strncat.S: New file.
12521 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12522 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12523 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12524 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12525 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12526 (USE_AS_STRCAT): Define.
12527 Add strcat and strncat support.
12528 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12529 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12530 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12531 * string/strncat.c: Update.
12532 (USE_AS_STRNCAT): Define.
12533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12534 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12535 and i7.
12536 * sysdeps/x86_64/multiarch/init-arch.h
12537 (bit_Prefer_PMINUB_for_stringop): New.
12538 (index_Prefer_PMINUB_for_stringop): Likewise.
12539 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12540 bit_Prefer_PMINUB_for_stringop.
12541
7dc6bd90
UD
125422011-07-19 Ulrich Drepper <drepper@gmail.com>
12543
12544 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12545 buffer64.
12546 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12547 of casting of buffer.
12548 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12549 buffer32 and buffer64.
12550 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12551 writes instead of casting of buffer.
12552 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12553 buffer32.
12554 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12555 casting of buffer.
12556
e0e72284
AS
125572011-07-19 Andreas Schwab <schwab@redhat.com>
12558
12559 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12560
feb1eb0b
UD
125612011-07-19 Ulrich Drepper <drepper@gmail.com>
12562
12563 * nscd/nscd.c (termination_handler): Don't do anything for a database
12564 if it has not yet been initialized.
12565
298711ff
UD
125662011-07-18 Ulrich Drepper <drepper@gmail.com>
12567
12568 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12569
125702011-07-15 Marek Polacek <mpolacek@redhat.com>
12571
12572 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12573
f9d68389
UD
125742011-07-18 Ulrich Drepper <drepper@gmail.com>
12575
12576 * po/nl.po: Update from translation team.
12577 * po/sv.po: Likewise.
12578
db290cf5
RM
125792011-07-16 Roland McGrath <roland@hack.frob.com>
12580
12581 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12582 now disallowed by GCC.
5c550700 12583
fd5e21c7
RM
12584 * configure.in (use-default-link): Default to yes if a test -shared
12585 link meets our qualifications.
12586 * configure: Regenerated.
12587
5c550700
RM
12588 * config.make.in (output-format): New variable.
12589 * configure.in: Check for ld --print-output-format support.
12590 * configure: Regenerated.
12591 * Makerules ($(common-objpfx)format.lds)
12592 [$(output-format) != unknown]: Just use $(output-format),
12593 instead of the linker-script munging.
12594
9fa2c032
RM
125952011-07-14 Roland McGrath <roland@hack.frob.com>
12596
a6928d51
RM
12597 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12598 of $(common-objpfx)shlib.lds.
12599 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12600
661607b3
RM
12601 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12602 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12603
9fa2c032
RM
12604 * configure.in (-z relro check): Adjust test code to add a large
12605 writable data section after it.
12606 * configure: Regenerated.
12607
defe9061
RM
126082011-07-11 Roland McGrath <roland@hack.frob.com>
12609
12610 * configure.in (-z relro check): Fix test code to make the variable
12611 truly const.
12612 * configure: Regenerated.
12613
319b9ad4
UD
126142011-07-11 Ulrich Drepper <drepper@gmail.com>
12615
12616 * nscd/nscd.h (struct traced_file): Define.
12617 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12618 elements. Add traced_files.
12619 (inotify_fd): Declare.
12620 (register_traced_file): Declare.
12621 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12622 (inotify_fd): Export.
12623 (resolv_conf_descr): Remove.
12624 (nscd_init): Move inotify descriptor creation to main.
12625 Don't register files for notification here.
12626 (register_traced_file): New function.
12627 (invalidate_cache): Don't use reset_res to determine whether to call
12628 res_init, go through the list of registered files.
12629 (main_loop_poll): The inotify descriptors are now stored in the
12630 structures for the traced files.
12631 (main_loop_epoll): Likewise
12632 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12633 to __nss_disable_nscd.
12634 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12635 for a database anymore. Check the records for all the registered
12636 files instead.
12637 * nss/Makefile (libnss_files-routines): Add files-init.
12638 (libnss_db-routines): Add db-init.
12639 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12640 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12641 * nss/nss_db/db-init.c: New file.
12642 * nss/nss_files/files-init.c: New file.
12643 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12644 __nss_lookup_function.
12645 (__nss_lookup_function): Call nss_load_library.
12646 (nss_load_all_libraries): New function.
12647 (__nss_disable_nscd): Take parameter with callback function for files
12648 to register. Set is_nscd. Load all the DSOs for the NSS modules
12649 used for the cached services.
12650 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12651 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12652 options for features to all the files in nscd.
12653
12654 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12655
23bee3e8
RM
126562011-07-10 Roland McGrath <roland@hack.frob.com>
12657
12658 * csu/elf-init.c (__libc_csu_init): Comment typo.
12659
46a5b7f0
UD
126602011-07-09 Ulrich Drepper <drepper@gmail.com>
12661
12662 * po/pl.po: Update from translation team.
12663 * po/ja.po: Likewise.
12664 * po/ru.po: Likewise.
12665 * po/ko.po: Likewise.
12666 * po/fr.po: Likewise.
12667
d30cf5bb
RM
126682011-07-09 Roland McGrath <roland@hack.frob.com>
12669
113ddea4
RM
12670 * configure.in (.ctors/.dtors header and trailer check):
12671 Use an empirical test on a built program.
12672 * configure: Regenerated.
12673
574920b4
RM
12674 * configure.in (-z relro check): Use an empirical test on a built DSO.
12675 Detect, but do not require, on ia64.
12676 * configure: Regenerated.
12677
d30cf5bb
RM
12678 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12679 Update tests that use readelf to use $READELF instead.
12680 * configure: Regenerated.
12681
8538fdb3
UD
126822011-07-08 Ulrich Drepper <drepper@gmail.com>
12683
12684 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12685 if the result is not used.
12686
04d08991
AJ
126872011-07-05 Andreas Jaeger <aj@suse.de>
12688
12689 [BZ#9696]
12690 * stdlib/tst-strtod.c: Add testcase.
12691
de283087
AD
126922011-07-07 Ulrich Drepper <drepper@gmail.com>
12693
4e5f31c8 12694 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12695 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12696 The latter has a higher limit. Take additional parameter to pass to
12697 the new function.
12698 (__pathconf): Pass file to __statfs_link_max.
12699 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12700 __statfs_link_max.
12701 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12702 __statfs_link_max.
12703
de283087
AD
12704 [BZ #12868]
12705 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12706 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12707 Handle Lustre.
12708 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12709 (__statfs_filesize_max): Likewise.
12710 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12711
c75fa153
AJ
127122011-07-05 Andreas Jaeger <aj@suse.de>
12713
12714 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12715
1a544854
UD
127162011-07-06 Marek Polacek <mpolacek@redhat.com>
12717
12718 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12719 `status' variable.
12720 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12721 Likewise.
12722
6f0eec67
UD
127232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12724
12725 * Makefile (strop-tests): Add strncat.
12726 * string/test-strncat.c: New file.
12727
aae30307
UD
127282011-06-30 Marek Polacek <mpolacek@redhat.com>
12729
12730 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12731
c0cfb5eb
UD
127322011-06-21 Andreas Jaeger <aj@suse.de>
12733
12734 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12735 Copy rule from iconvdata/Makefile.
12736
01636b21
UD
127372011-07-06 Ulrich Drepper <drepper@gmail.com>
12738
12739 [BZ #12922]
12740 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12741 but no long options are defined, just return 'W'.
12742
9895c8bc
UD
127432011-06-22 Marek Polacek <mpolacek@redhat.com>
12744
12745 [BZ #9696]
12746 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12747
5d4cf042
UD
127482011-07-06 Ulrich Drepper <drepper@gmail.com>
12749
12750 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12751 netgroups to read.
960e5535 12752 (innetgr): Likewise.
5d4cf042 12753
751eb97e
RM
127542011-07-05 Roland McGrath <roland@hack.frob.com>
12755
12756 * config.make.in (install_root): Default to $(DESTDIR).
12757
f15f1e45
UD
127582011-07-05 Ulrich Drepper <drepper@gmail.com>
12759
12760 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12761
4e34ac6a
RM
127622011-07-02 Roland McGrath <roland@hack.frob.com>
12763
5e9b6af4
RM
12764 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12765
84f9ea0f
RM
12766 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12767 containing directory rather than embedding absolute directory names.
12768
ea5ee9f7
RM
12769 * scripts/check-local-headers.sh: Rewritten using awk.
12770 Match by word, not by line. Print error messages for matches.
12771 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12772
1b74661a
RM
12773 * Makerules [shlib-lds-flags empty]:
12774 ($(common-objpfx)libc_pic.opts): New target.
12775 ($(common-objpfx)libc_pic.os.clean): New target.
12776 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12777
12778 * config.make.in (OBJCOPY): New variable.
12779 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12780 * configure: Regenerated.
12781
f781ef40
RM
12782 * config.make.in (use-default-link): New variable.
12783 * configure.in (use_default_link): Grok --with-default-link to set it.
12784 * configure: Regenerated.
12785 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12786 (shlib-lds, shlib-lds-flags): Define to empty.
12787
2d4fa81e
RM
12788 * Makerules (shlib-lds): New variable.
12789 (shlib-lds-flags): New variable.
12790 (build-shlib, build-moduile, build-module-asneeded): Use it.
12791 ($(common-objpfx)libc.so): Use $(shlib-lds).
12792 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12793 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12794
31fffa6b
RM
12795 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12796 DT_FLAGS/DT_FLAGS_1 with zero flags.
12797
4e34ac6a
RM
12798 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12799 linker script munging.
12800
fcfc776b
UD
128012011-07-02 Ulrich Drepper <drepper@gmail.com>
12802
12803 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12804 as 128-bit value.
12805 * crypt/sha512.c (sha512_process_block): Perform total addition using
12806 128-bit if possible.
12807 (__sha512_finish_ctx): Likewise.
12808 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12809 as 64-bit value.
12810 * crypt/sha256.c (SWAP64): Define.
12811 (sha256_process_block): Perform total addition using 64-bit if
12812 possible.
12813 (__sha256_finish_ctx): Likewise.
12814
99231d9a
UD
128152011-07-01 Ulrich Drepper <drepper@gmail.com>
12816
12817 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12818 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12819 * nscd/hstcache.c (cache_addhst): Likewise.
12820 * nscd/grpcache.c (cache_addgr): Likewise.
12821 * nscd/aicache.c (addhstaiX): Likewise
12822 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12823
445b4a53
TK
128242011-07-01 Thorsten Kukuk <kukuk@suse.de>
12825
12826 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12828 * nscd/hstcache.c (cache_addhst): Likewise.
12829 * nscd/grpcache.c (cache_addgr): Likewise.
12830 * nscd/aicache.c (addhstaiX): Likewise
12831
6d4d8e8e
AS
128322011-07-01 Andreas Schwab <schwab@redhat.com>
12833
12834 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12835 domain only when needed.
12836
89f654c5
AS
128372011-06-30 Andreas Schwab <schwab@redhat.com>
12838
12839 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12840 is always restored.
12841
cf3b23ff
UD
128422011-06-29 Ulrich Drepper <drepper@gmail.com>
12843
12844 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12845 are re-adding the entry.
12846 * nscd/servicescache.c (cache_addserv): Likewise.
12847
751626f9
AJ
128482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12849
12850 * sysdeps/generic/dl-irel.h: fix protection against multiple
12851 inclusions.
12852 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12853
9113ea1f
UD
128542011-06-28 Ulrich Drepper <drepper@gmail.com>
12855
5c0b8d90
UD
12856 [BZ #12935]
12857 * malloc/memusage.sh: Fix quoting in message.
12858 * debug/xtrace.sh: Likewise.
12859
9113ea1f
UD
12860 * configure.in: Remove support for --experimental-malloc option, make
12861 it the default.
12862 * config.make.in: Likewise.
12863 * malloc/Makefile: Likewise.
12864
a4172181
AS
128652011-06-27 Andreas Schwab <schwab@redhat.com>
12866
12867 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12868 two-byte characters.
12869
78a7eee7
RM
128702011-06-27 Roland McGrath <roland@hack.frob.com>
12871
62bede13
RM
12872 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12873 AC_CACHE_CHECK invocation.
12874 * configure: Regenerated.
12875
78a7eee7
RM
12876 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12877
5ce33a62
UD
128782011-06-27 Ulrich Drepper <drepper@gmail.com>
12879
034807a9
UD
12880 [BZ #12350]
12881 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12882 bit from old_res_options.
12883
4902da17
UD
12884 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12885
5ce33a62
UD
12886 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12887 value type for setfct.
12888
c2344f56
L
128892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12892 __gettimeofday instead of gettimeofday.
12893
68468076
UD
128942011-06-26 Ulrich Drepper <drepper@gmail.com>
12895
12896 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12897
acb0d739
L
128982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12901
12902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12903 info.
12904
8912479f
L
129052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12906
12907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12908 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12909 strcpy-sse2-unaligned strncpy-sse2-unaligned
12910 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12911 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12912 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12913 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12914 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12915 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12916 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12917 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12918 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12919 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12920 (STRCPY): Support SSE2 and SSSE3 versions.
12921
d5495a11
UD
129222011-06-24 Ulrich Drepper <drepper@gmail.com>
12923
12924 [BZ #12874]
12925 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12926 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12927 kernels which artificially limit size of requests.
12928
0b1cbaae
L
129292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12930
12931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12932 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12933 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12934 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12935 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12936 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12937 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12938 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12940 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12941 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12942 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12943 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12944 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12945 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12946 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12947 Enable unaligned load optimization for Intel Core i3, i5 and i7
12948 processors.
12949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12950 Define.
12951 (index_Fast_Unaligned_Load): Define.
12952 (HAS_FAST_UNALIGNED_LOAD): Define.
12953
07f494a0
MP
129542011-06-23 Marek Polacek <mpolacek@redhat.com>
12955
12956 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12957
fa3fc0fe
UD
129582011-06-22 Ulrich Drepper <drepper@gmail.com>
12959
12960 [BZ #12907]
12961 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12962 until it is clear that the information is realy needed.
12963 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12964
e12df166
AS
129652011-06-22 Andreas Schwab <schwab@redhat.com>
12966
12967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12968
852eb34d
UD
129692011-06-22 Ulrich Drepper <drepper@gmail.com>
12970
84e2a551
UD
12971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12972 /sys/devices/system/cpu/online if it is usable.
12973
852eb34d
UD
12974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12975 reading the information from the /proc filesystem to once a second.
12976
6e502e19
UD
129772011-06-21 Andreas Jaeger <aj@suse.de>
12978
12979 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12980 NULL after inclusion of kernel headers.
12981
75d39ff2
UD
129822011-06-21 Ulrich Drepper <drepper@gmail.com>
12983
51f9aa6a
UD
12984 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12985 calls to internal_setent.
12986
c0244a9d
UD
12987 [BZ #12885]
12988 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12989 addresses using gethostbyname4_r ignore IPv4 addresses.
12990
c5e3c2ae
UD
12991 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12992 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12993
75d39ff2
UD
12994 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12995
42675c6f
DM
129962011-06-20 David S. Miller <davem@davemloft.net>
12997
12998 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12999 inclusions.
13000 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13001
13002 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13003 (elf_irel): Use it.
13004 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13005 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13006 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13007 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13008 * sysdeps/x86_64/dl-irel.h: Likewise.
13009
13010 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13011 * elf/dl-sym.c: Likewise.
13012
57912a71
UD
130132011-06-15 Ulrich Drepper <drepper@gmail.com>
13014
13015 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13016 need to dereference resplen2.
13017
ee22793d
AS
130182011-06-14 Andreas Schwab <schwab@redhat.com>
13019
13020 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13021
a9e836b0
UD
130222011-06-15 Ulrich Drepper <drepper@gmail.com>
13023
77fb9117
UD
13024 * Makeconfig: Define vardbdir and inst_vardbdir.
13025 * nss/Makefile: Add rules to install db-Makefile.
13026
40c1b22c
UD
13027 * nss/nss_db/db-XXX.c: Cleanup.
13028
9f2da732
UD
13029 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13030 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13031 GLIBC_PRIVATE.
13032 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13033 * nss/makedb.c: Implement -g option to specify that value strings
13034 are generated and should not be added to table iterated over for
13035 get*ent calls.
13036 * nss/nss_db/db-initgroups.c: New file.
13037
82e9a1f7
UD
13038 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13039 interface.
13040
c41af17e
UD
13041 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13042 (internal_getgrouplist): Adjust to name change.
13043 Update use_initgroups_entry if this is not the first call.
13044 * nss/databases.def: Add initgroups entry.
13045
a9e836b0
UD
13046 * nss/makedb.c (compute_tables): Check result of multiple hash table
13047 sizes to minimize maximum chain length.
13048
2666d441
UD
130492011-06-14 Ulrich Drepper <drepper@gmail.com>
13050
13051 * Versions.def: Add entry for libnss_db.
13052 * shlib-versions: Likewise.
13053 * nss/Makefile: Add rules to build libnss_db.
13054 * nss/Versions: Add libnss_db information. Organize libnss_files
13055 entries better.
13056 * nss/db-Makefile: Add gshadow support. Change rules for the new
13057 makedb progra. Some minor improvements to generate smaller files.
13058 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13059 here from...
13060 * nss/makedb.c: ...here.
13061 Improve database format to be smaller and require less memory at
13062 runtime.
13063 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13064 db anymore.
13065 * nss/nss_db/db-netgrp.c: Likewise.
13066 * nss/nss_db/db-open.c: Likewise.
13067 * nss/nss_files/flies-XXX.x: Adjust comments.
13068 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13069 * nss/nss_files/files-grp.c: Likewise.
13070 * nss/nss_files/files-hosts.c: Likewise.
13071 * nss/nss_files/files-network.c: Likewise.
13072 * nss/nss_files/files-proto.c: Likewise.
13073 * nss/nss_files/files-pwd.c: Likewise.
13074 * nss/nss_files/files-rpc.c: Likewise.
13075 * nss/nss_files/files-service.c: Likewise.
13076 * nss/nss_files/files-sgrp.c: Likewise.
13077 * nss/nss_files/files-spwd.c: Likewise.
13078 * nss/nss_db/db-alias.c: Removed.
13079 * nss/nss_db/dummy-db.h: Removed.
13080
9ee76b5a
UD
130812011-06-02 Ulrich Drepper <drepper@gmail.com>
13082
13083 * nss/makedb.c: Rewritten to not use database library.
13084 * nss/Makefile: Update to build new makedb program.
13085
c71ca1f8
AJ
130862011-06-14 Andreas Jaeger <aj@suse.de>
13087
13088 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13089 memset declaration.
13090
3154bfb8
UD
130912011-06-10 Andreas Schwab <schwab@redhat.com>
13092
13093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13094 tmpbuf.
13095
b350afab
RM
130962011-06-10 Roland McGrath <roland@hack.frob.com>
13097
decd4e50
RM
13098 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13099 * elf/Makefile ($(objpfx)ld.so): Likewise.
13100
5615eaf2
RM
13101 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13102 Don't list ld.so twice in dependencies.
13103
13104 * posix/bug-regex31.c: Include <stdlib.h>.
13105
13106 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13107
13108 * nis/nss_compat/compat-spwd.c
13109 (getspent_next_nss_netgr): Remove unused variable.
13110 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13111
13112 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13113 nonmembers" output to use the right array.
13114
13115 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13116
13117 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13118
13119 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13120 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13121 * catgets/gencat.c (read_input_file): Likewise.
13122 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13123
13124 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13125 variable definition inside #if's controlling its use.
13126
13127 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13128
13129 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13130
13131 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13132
13133 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13134 unreachable code.
13135
13136 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13137
b68e08db
RM
13138 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13139 * configure: Regenerated.
13140
b350afab
RM
13141 * Makerules: Revert last change.
13142 * elf/Makefile: Likewise.
13143
28368601
RM
131442011-06-09 Roland McGrath <roland@hack.frob.com>
13145
13146 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13147 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13148 (reloc-link): Likewise.
13149
11988f8f
UD
131502011-06-09 Ulrich Drepper <drepper@gmail.com>
13151
13152 * elf/Makefile: Add rules to build pldd.
13153 * elf/pldd.c: New file.
13154 * elf/pldd-xx.c: New file.
13155
e80fab37
UD
131562011-06-07 Ulrich Drepper <drepper@gmail.com>
13157
13158 * version.h: Update for 2.15 development version.
13159
9b849836
DM
131602011-06-07 David S. Miller <davem@davemloft.net>
13161
13162 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13163 ifuncs.
13164 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13165 elf_machine_lazy_rel): Likewise.
13166 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13167 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13168 elf_machine_lazy_rel): Likewise.
13169 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13170 dl_hwcap via passed in argument.
13171 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13172 Likewise.
13173
5a31b283
AK
131742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13175
13176 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13177
069e52f8
RM
131782011-06-06 Roland McGrath <roland@hack.frob.com>
13179
13180 [BZ #12849]
13181 * manual/fdl-1.1.texi: New file, verbatim from:
13182 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13183 * manual/lgpl-2.1.texi: New file, verbatim from:
13184 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13185 * manual/Makefile (licenses): New variable, list those new file names.
13186 (texis): Use it.
13187 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13188
13189 * manual/fdl.texi: File removed.
13190 * manual/lesser.texi: File removed.
13191 * manual/libc.texinfo (Copying, Documentation License):
13192 Use new @include file names, put @appendix directive before @include.
13193
f16846a5
JJ
131942011-06-04 Jakub Jelinek <jakub@redhat.com>
13195
13196 [BZ #12841]
13197 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13198 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13199 (mq_open): Add __NTH.
13200
3d29045b
L
132012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13202
13203 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13204 Assume Intel Core i3/i5/i7 processor if AVX is available.
13205
8c297311
UD
132062011-05-31 Ulrich Drepper <drepper@gmail.com>
13207
13208 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13209 typo.
13210
c8fc0c91
UD
132112011-05-31 Andreas Schwab <schwab@redhat.com>
13212
13213 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13214 memory. Use alloca_account. Fix memory leak when retrying.
13215
5b27a807
UD
132162011-05-31 Ulrich Drepper <drepper@gmail.com>
13217
356f8bc6
UD
13218 * version.h (RELEASE): Bump for 2.14 release.
13219 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13220
5b27a807
UD
13221 * config.make.in (RANLIB): Remove entry.
13222
01f16ab0
UD
132232011-05-30 Ulrich Drepper <drepper@gmail.com>
13224
41fce8bd
UD
13225 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13226 (libc.pot): Work around missing support for .ksh extension in xgettext.
13227
4769ae77
UD
13228 [BZ #12684]
13229 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13230 if both request failed.
13231 (send_dg): In case of server errors clear resplen or *resplen2.
13232
6b1e7d19
UD
13233 [BZ #12454]
13234 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13235 when there are multiple maps.
13236 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13237 (_dl_fini): Remove test here.
13238
01f16ab0
UD
13239 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13240
b1ebd700
UD
132412011-05-29 Ulrich Drepper <drepper@gmail.com>
13242
7ae22829
UD
13243 [BZ #12350]
13244 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13245 bit from old_res_options.
13246 (gaih_inet): Likewise.
13247
553149f6 13248 [BZ #11099]
18a84741 13249 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13250 as signed.
13251
652ffab1
UD
13252 * resolv/res_init.c (res_setoptions): Make the code more compact.
13253
16985fd0
UD
13254 [BZ #11558]
13255 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13256 set RES_USEVC.
13257
0464f746
UD
13258 [BZ #11634]
13259 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13260
7d17596c
UD
13261 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13262
cf6bbbd7
UD
13263 [BZ #11781]
13264 * malloc/malloc.h: Declare malloc hook variables as volatile.
13265
13f1ab36
UD
13266 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13267 in last patch.
13268
b1ebd700
UD
13269 [BZ #11799]
13270 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13271 raise in the comment.
80e2212d
UD
13272 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13274 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13275
ce67228d
UD
132762011-05-28 Ulrich Drepper <drepper@gmail.com>
13277
8887a920
UD
13278 [BZ #12811]
13279 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13280 grow the buffers more if it already has to be sufficient.
13281 (build_wcs_upper_buffer): Likewise.
13282 * posix/regexec.c (check_matching): Likewise.
13283 (clean_state_log_if_needed): Likewise.
13284 (extend_buffers): Don't enlarge buffers beyond size of the input
13285 buffer.
13286 Patches mostly by Emil Wojak <emil@wojak.eu>.
13287 * posix/bug-regex32.c: New file.
13288 * posix/Makefile (tests): Add bug-regex32.
13289
4f031072
UD
13290 * locale/findlocale.c (_nl_find_locale): Return right away if
13291 _nl_explode_name failed.
13292 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13293
d0478f0c
UD
13294 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13295
de81b246
UD
13296 * debug/xtrace.sh: Unify messages.
13297 * malloc/memusage.sh: Likewise.
13298
c738465a
UD
13299 [BZ #12813]
13300 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13301 time symbol from vDSO. Substitute with vsyscall if not available.
13302 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13303 __vdso_time.
13304
f1f929d7
UD
13305 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13306 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13307 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13308 Add sendmmsg and internal_sendmmsg.
13309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13310 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13311 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13312
ce67228d
UD
13313 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13314 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13315 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13316
e57420c6
UD
133172011-05-27 Ulrich Drepper <drepper@gmail.com>
13318
a8509ca5
UD
13319 [BZ #12813]
13320 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13321 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13322 available.
13323 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13324 __vdso_getcpu.
13325
e57420c6
UD
13326 [BZ #12814]
13327 * iconvdata/Makefile (tests): Add bug-iconv9.
13328 * iconvdata/bug-iconv9.c: New file.
13329
4d07db15
AS
133302011-05-27 Andreas Schwab <schwab@redhat.com>
13331
13332 [BZ #12814]
13333 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13334
ea486f69
JJ
133352011-05-25 Jakub Jelinek <jakub@redhat.com>
13336
13337 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13338 (struct user_regs_struct): Change intcs field back to cs.
13339
6f038433
UD
133402011-05-25 Ulrich Drepper <drepper@gmail.com>
13341
13342 * po/ja.po: Update from translation team.
13343
67f86a25
UD
133442011-05-23 Ulrich Drepper <drepper@gmail.com>
13345
13346 [BZ #12795]
13347 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13348 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13349
def7fbd6
AS
133502011-05-20 Andreas Schwab <schwab@redhat.com>
13351
13352 * stdlib/longlong.h: Update from GCC.
13353
f50ef8f1
AS
133542011-05-23 Andreas Schwab <schwab@redhat.com>
13355
13356 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13357 parameter name.
13358 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13359 Add parameter name.
13360 (__sysconf): Pass it down.
13361
de7ce8f1
UD
133622011-05-22 Ulrich Drepper <drepper@gmail.com>
13363
f2962a71
UD
13364 [BZ #12671]
13365 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13366 some situations.
13367 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13368 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13369 add in in __libc_use_alloca calls. Adjust callers.
13370 (glob): Use malloc in some situations.
13371
de7ce8f1
UD
13372 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13373 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13374 pltexit.
13375
aec84f53
UD
133762011-05-21 Ulrich Drepper <drepper@gmail.com>
13377
05bb4a68
UD
13378 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13379 and CLOCK_BOOTTIME_ALARM.
13380
7ea72f99
UD
13381 [BZ #12782]
13382 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13383 is returned.
13384
7e4afad5
UD
13385 * string/_strerror.c (__strerror_r): Print negative errors as signed
13386 numbers.
13387
8e211fec
UD
13388 [BZ #12777]
13389 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13390 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13391 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13392
f7d82dc9
UD
13393 * configure.in: Fix typo in redirection and correct removal of test
13394 files in two cases.
13395
cc9e536d
UD
13396 [BZ #12788]
13397 * locale/setlocale.c (new_composite_name): Fix test to check for
13398 identical name of all categories.
13399
aec84f53
UD
13400 [BZ #12792]
13401 * libio/filedoalloc.c (local_isatty): New function.
13402 (_IO_file_doallocate): Use local_isatty.
13403 * stdio-common/perror.c (perror): In case a new stream is used
13404 forward the stream error.
13405 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13406 error flag.
13407
78e64fdc
RT
134082011-05-20 Ulrich Drepper <drepper@gmail.com>
13409
34a9094f
UD
13410 [BZ #11869]
13411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13412 alloca.
13413 * include/alloca.h (extend_alloca_account): Define.
13414
78e64fdc
RT
13415 [BZ #11857]
13416 * posix/regex.h: Fix comments with documentation of user-accessible
13417 fields after compilation and describe correct free'ing of pattern
13418 after re_compile_pattern.
13419 Patch by Reuben Thomas <rrt@sc3d.org>.
13420
457bddfc
RA
134212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13422
13423 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13424 and -mno-altivec to prevent the compiler from using Altivec and/or
13425 VSX instructions when the corresponding registers are not available.
13426
a4527b51
AS
134272011-05-19 Andreas Schwab <schwab@redhat.com>
13428
13429 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13430
ed690b2f
UD
134312011-05-19 Ulrich Drepper <drepper@gmail.com>
13432
13433 * libio/freopen.c (freopen): Use __dup2, not dup2.
13434 * libio/freopen64.c (freopen64): Likewise.
13435
8db73634
L
134362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13437
13438 [BZ #12775]
13439 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13440 * math/Makefile (tests): Add test-powl.
13441 (CFLAGS-test-powl.c): Define.
13442 * math/test-powl.c: New file.
13443
0a197a9d
L
134442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13447
ee30c380
UD
134482011-05-17 Ulrich Drepper <drepper@gmail.com>
13449
13450 [BZ #11837]
13451 * iconvdata/gb18030.c: Update to GB18020-2005.
13452
6ce75379
UD
134532011-05-16 Ulrich Drepper <drepper@gmail.com>
13454
a4b89fd8
AR
13455 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13456 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13457 Patch by Aharon Robbins <arnold@skeeve.com>.
13458
ea389b12
UD
13459 [BZ #11892]
13460 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13461 on the stack.
13462
68a3f91f
UD
13463 [BZ #11895]
13464 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13465 through underflows.
13466
15cc7dd1
UD
13467 [BZ #12766]
13468 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13469 point to strings before performing equality test for error_one_per_line
13470 mode.
13471
f3799213
UD
13472 [BZ #11697]
13473 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13474
d79a9c94
UD
13475 [BZ #11820]
13476 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13477 (struct user_fpregs_struct): Avoid __uint*_t types.
13478
56e5eb46
UD
13479 [BZ #6420]
13480 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13481 symbol info. Use it instead of calling _dl_addr locally.
13482 (lock_and_info): New function.
13483 (tr_freehook): Call lock_and_info and pass symbol info as additional
13484 parameter to tr_where.
13485 (tr_mallochook): Likewise.
13486 (tr_reallochook): Likewise.
13487 (tr_memalignhook): Likewise.
13488
6ce75379
UD
13489 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13490 used and couldn't be at all thread-safe.
13491
f8a3b5bf
UD
134922011-05-15 Ulrich Drepper <drepper@gmail.com>
13493
94b7cc37
UD
13494 * libio/freopen.c (freopen): Don't close old file descriptor
13495 before the new one is opened. Instead dup the new file descriptor
13496 to the old one after the new stream is created.
13497 * libio/freopen64.c (freopen64): Likewise.
13498 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13499 * libio/fileops.c (_IO_new_file_close_it): Handle new
13500 _IO_FLAGS2_NOCLOSE flag.
13501 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13502 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13503 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13504 _IO_FLAGS2_NOCLOSE flag.
13505 * include/unistd.h: Add hidden_proto for dup3.
13506 Define __have_dup3.
13507 * io/dup3.c: Define hidden symbol.
13508 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13509
bd25564e
UD
13510 [BZ #7101]
13511 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13512 when an incomplete long option is used.
13513 * posix/tst-getopt_long1.c: New file.
13514 * posix/Makefile (tests): Add tst-getopt_long1.
13515
c84cfef4
UD
13516 [BZ #10138]
13517 * scripts/config.guess: Update from autoconf-2.68.
13518 * scripts/config.sub: Likewise.
13519
3b85df27
UD
13520 [BZ #10157]
13521 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13522 tests into ...
13523 (has_cpuclock): ...this. New function.
13524 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13525 macro here based on has_cpuclock code.
13526
15a856b1
UD
13527 [BZ #10149]
13528 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13529 First byte (not low byte) is now always NUL.
13530 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13531
05f399e6
UD
13532 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13533 Use non-cancelable interfaces.
13534
10a52685 13535 [BZ #9809]
94ecc67d
UD
13536 * locale/iso-639.def: Add entry for Sorani.
13537
f8a3b5bf
UD
13538 [BZ #11901]
13539 * include/stdlib.h: Move include protection to the right place.
13540 Define abort_msg_s. Declare __abort_msg with it.
13541 * stdlib/abort.c (__abort_msg): Adjust type.
13542 * assert/assert.c (__assert_fail_base): New function. Majority
13543 of code from __assert_fail. Allocate memory for __abort_msg with
13544 mmap.
13545 (__assert_fail): Now call __assert_fail_base.
13546 * assert/assert-perr.c: Remove bulk of implementation. Use
13547 __assert_fail_base.
13548 * include/assert.hL Declare __assert_fail_base.
13549 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13550 mmap.
13551 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13552
1af4e298
UD
135532011-05-14 Ulrich Drepper <drepper@gmail.com>
13554
f8a3b5bf 13555 [BZ #11952]
d26dfc60
MG
13556 [BZ #12453]
13557 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13558 until all modules are registered in the DTV.
13559 * elf/Makefile: Add rules to build and run tst-tls19.
13560 * elf/tst-tls19.c: New file.
13561 * elf/tst-tls19mod1.c: New file.
13562 * elf/tst-tls19mod2.c: New file.
13563 * elf/tst-tls19mod3.c: New file.
13564 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13565
2fc54d6f
UD
13566 [BZ #12083]
13567 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13568 correctly.
13569
98d76b46
UD
13570 [BZ #12601]
13571 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13572 two-byte sequence errors.
13573 * iconvdata/Makefile (tests): Add bug-iconv8.
13574 * iconvdata/bug-iconv8.c: New file.
13575
da3c19ef
UD
13576 [BZ #12626]
13577 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13578 buf2 definition.
13579
ca408c15
UD
13580 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13581
d6f67f7d
UD
13582 [BZ #12432]
13583 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13584 (dummy_getcfa): New function.
13585 (init): Get _Unwind_GetCFA address, use dummy if not found.
13586 (backtrace_helper): In recursion check, also check whether CFA changes.
13587 (__backtrace): Completely initialize arg.
13588
1af4e298 13589 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13590 storing incomplete byte sequence in state object. Avoid testing for
13591 guaranteed too small input if we know there is enough data available.
1af4e298 13592
da62f81b
AS
135932011-05-11 Andreas Schwab <schwab@redhat.com>
13594
13595 * Makeconfig (+link-pie): Indent.
13596 * Rules (binaries-pie): Define if $(have-fpie) and
13597 $(build-shared).
13598 (binaries-shared): Also filter out $(binaries-pie).
13599 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13600 * nscd/Makefile (others-pie): Add nscd.
13601 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13602 ($(objpfx)nscd): Remove command override.
13603 * login/Makefile (others-pie): Add pt_chown.
13604 ($(objpfx)pt_chown): Remove command override.
13605 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13606 remove command overrides.
13607
fcabc0f8
UD
136082011-05-13 Ulrich Drepper <drepper@gmail.com>
13609
20030ae6
UD
13610 * libio/tst_putwc.c: Fix error messages.
13611
fcabc0f8
UD
13612 [BZ #12724]
13613 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13614 currently writing and seek to current position when not.
13615 * libio/Makefile (tests): Add bug-fclose1.
13616 * libio/bug-fclose1.c: New file.
13617
320a5dc0
PB
136182011-05-12 Ulrich Drepper <drepper@gmail.com>
13619
13620 [BZ #12511]
13621 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13622 don't set DF_1_NODELETE here.
13623 (do_lookup_x): When entering new entry test for copy relocation
13624 and if necessary set DF_1_NODELETE flag.
13625 * elf/tst-unique4.cc: New file.
13626 * elf/tst-unique4.h: New file.
13627 * elf/tst-unique4lib.cc: New file.
13628 * elf/Makefile: Add rules to build and run tst-unique4.
13629 Patch by Piotr Bury <pbury@goahead.com>.
13630
22836f52
UD
136312011-05-11 Ulrich Drepper <drepper@gmail.com>
13632
f574184a
UD
13633 [BZ #12052]
13634 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13635
e1fb097f
UD
13636 [BZ #12625]
13637 * misc/mntent_r.c (addmntent): Flush the stream after the output
13638
22836f52
UD
13639 [BZ #12393]
13640 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13641 (is_trusted_path_normalize): Skip initial colon. Append slash
13642 to empty buffer. Duplicate is_trusted_path code but allow
13643 constructed patch to be prefix.
13644 (is_dst): Allow $ORIGIN followed by /.
13645 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13646 Correct testing of result of is_trusted_path_normalize
13647 (decompose_rpath): Fix warning.
13648
7b3b0b2a
UD
136492011-05-10 Ulrich Drepper <drepper@gmail.com>
13650
13651 [BZ #11257]
13652 * grp/initgroups.c (internal_getgrouplist): When we found the service
13653 list through the initgroups entry in nsswitch.conf do not always
13654 continue on a successful lookup. Don't always use the
eac80ce2 13655 __nss_group_database value if it is set.
7b3b0b2a
UD
13656 * nss/nsswitch.conf (initgroups): Change action for successful db
13657 lookup to continue for compatibility.
13658
2a81eaa5
UD
136592011-05-09 Ulrich Drepper <drepper@gmail.com>
13660
be97a69e
UD
13661 [BZ #11532]
13662 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13663 and CP774 modules.
13664 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13665 and CP774 modules.
13666 * iconvdata/tst-tables.sh: Likewise.
13667 * iconvdata/cp770.c: New file.
13668 * iconvdata/cp771.c: New file.
13669 * iconvdata/cp772.c: New file.
13670 * iconvdata/cp773.c: New file.
13671 * iconvdata/cp774.c: New file.
13672 * iconvdata/testdata/CP770: New file.
13673 * iconvdata/testdata/CP770..UTF8: New file.
13674 * iconvdata/testdata/CP771: New file.
13675 * iconvdata/testdata/CP771..UTF8: New file.
13676 * iconvdata/testdata/CP772: New file.
13677 * iconvdata/testdata/CP772..UTF8: New file.
13678 * iconvdata/testdata/CP773: New file.
13679 * iconvdata/testdata/CP773..UTF8: New file.
13680 * iconvdata/testdata/CP774: New file.
13681 * iconvdata/testdata/CP774..UTF8: New file.
13682
13683 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13684 END CHARMAP line.
13685 * iconvdata/gen-8bit-gap.sh: Likewise.
13686 * iconvdata/gen-8bit.sh: Likewise.
13687
c1e9e399
UD
13688 * locale/iso-639.def: Add ary entry.
13689
24c55fb3 13690 [BZ #11258]
96b4b1b0
UD
13691 * locale/C-translit.h.in: Add U20A1 transliteration.
13692
bdc2f971
KB
13693 [BZ #12178]
13694 * locale/iso-639.def: Add wae entry.
13695 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13696
2952b117
UD
13697 [BZ #12545]
13698 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13699 for n.
13700
2a81eaa5
UD
13701 [BZ #12711]
13702 * locale/C-translit.h.in: Add entry for U20B9.
13703 Patch by pravin.d.s@gmail.com.
13704
28377d1b
UD
137052011-05-08 Ulrich Drepper <drepper@gmail.com>
13706
7fb90fb8
UD
13707 [BZ #12713]
13708 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13709 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13710 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13711 in rtld. Use *stat64.
7fb90fb8 13712 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13713 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13714 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13715 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13716 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13717 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13718 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13719 __fstatat64 macros.
7fb90fb8
UD
13720 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13721 * dirent/rewinddir.c: Add libc_hidden_def.
13722 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13723 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13724
28377d1b
UD
13725 * include/dirent.h (__alloc_dir): Add flags parameter.
13726 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13727 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13728 __alloc_dir.
13729 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13730 from fdopendir if O_CLOEXEC is already set.
13731
66bdbaa4
AM
137322011-03-15 Alan Modra <amodra@gmail.com>
13733
13734 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13735 l_tls_firstbyte_offset non-zero. Save padding offset in
13736 l_tls_firstbyte_offset for later use.
13737 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13738 freeing static tls block.
13739
95721191
JN
137402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13741
13742 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13743 where #ifdef was intended. The intent is to prevent ARG_MAX from
13744 being defined by the kernel headers.
13745
f87dfb1f
UD
137462011-05-07 Ulrich Drepper <drepper@gmail.com>
13747
13748 [BZ #12734]
13749 * resolv/resolv.h: Define RES_NOTLDQUERY.
13750 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13751 no-tld-query and set RES_NOTLDQUERY.
13752 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13753 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13754 modern BIND to search name as TLD unless forbidden.
13755
47c3cd7a
UD
137562011-05-07 Petr Baudis <pasky@suse.cz>
13757 Ulrich Drepper <drepper@gmail.com>
13758
13759 [BZ #12393]
13760 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13761 (is_trusted_path): ...to here.
c1e9ea35 13762 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13763 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13764 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13765
8a35c912
PP
137662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13767
13768 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13769 __BEGIN/__END_DECLS.
13770
acd41f47
UD
137712011-05-06 Ulrich Drepper <drepper@gmail.com>
13772
13773 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13774 NSS_STATUS_NOTFOUND if no record was found.
13775
597df647
AS
137762011-05-05 Andreas Schwab <schwab@redhat.com>
13777
13778 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13779 (headers-not-in-tirpc): Remove rpc/netdb.h
13780 * resolv/netdb.h: Revert last change.
13781
b9af1301
PP
137822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13783
13784 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13785 circular dependency between libgcc.a and libc.a.
13786
4e34d5f5
AS
137872011-05-05 Andreas Schwab <schwab@redhat.com>
13788
13789 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13790 * nis/Makefile: Don't install rpcsvc/*.
13791 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13792 instead of <rpc/types.h>.
13793 (MAXHOSTNAMELEN): Define.
13794
00ee369c
AS
137952011-05-03 Andreas Schwab <schwab@redhat.com>
13796
13797 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13798
0b592a30
MB
137992011-04-28 Maciej Babinski <mbabinski@google.com>
13800
13801 [BZ #12714]
13802 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13803 gethostbyname4_r when IPv6 results are possible.
13804
6e04cbbe
UD
138052011-05-02 Ulrich Drepper <drepper@gmail.com>
13806
13807 [BZ #12723]
13808 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13809 _PC_PIPE_BUF handling.
13810
e4ecafe0
BH
138112011-04-30 Bruno Haible <bruno@clisp.org>
13812
13813 [BZ #12717]
13814 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13815 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13816 to 'int'.
13817 * inet/getnameinfo.c (getnameinfo): Likewise.
13818
125ee683
UD
138192011-04-29 Ulrich Drepper <drepper@gmail.com>
13820
13821 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13822 to groups setting in database lookup.
13823 * nss/nsswitch.conf: Add initgroups entry.
13824
b722481a
EB
138252011-04-22 Ulrich Drepper <drepper@gmail.com>
13826
13827 [BZ #12685]
13828 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13829 mode string.
13830 Patch by Eric Blake <eblake@redhat.com>.
13831
4df46dbd
L
138322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13833
13834 * sunrpc/Makefile (need-export-routines): Add svc_run.
13835 (routines): Remove svc_run.
13836 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13837 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13838 * sunrpc/svc_run.c (svc_run): Likewise.
13839 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13840
e84142d2
UD
138412011-04-21 Ulrich Drepper <drepper@gmail.com>
13842
13843 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13844 problem in reallocation in last patch.
13845
877175d8
UD
138462011-04-20 Ulrich Drepper <drepper@gmail.com>
13847
13848 * sunrpc/Makefile: Move inclusion of Rules.
13849
ab8eed78
UD
138502011-04-19 Ulrich Drepper <drepper@gmail.com>
13851
13852 * nss/nss_files/files-initgroups.c: New file.
13853 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13854 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13855 _nss_files_initgroups_dyn.
13856
e3d8f584
RS
138572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13858
13859 * elf/elf.h (R_ARM_IRELATIVE): Define.
13860
af190f45
UD
138612011-04-19 Ulrich Drepper <drepper@gmail.com>
13862
13863 * po/ru.po: Update from translation team.
13864
53cf59ef
UD
138652011-04-17 Ulrich Drepper <drepper@gmail.com>
13866
13867 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13868 dependencies.
13869
4c559bcd
MF
138702011-02-06 Mike Frysinger <vapier@gentoo.org>
13871
13872 [BZ #12653]
13873 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13874 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13875 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13876 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13877 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13878
4420675c
AS
138792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13880
13881 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13882 differing bytes.
13883 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13884 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13885 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13886
75ea32ab
UD
138872011-04-17 Ulrich Drepper <drepper@gmail.com>
13888
13889 [BZ #12420]
13890 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13891 storing it.
13892 * stdlib/bug-getcontext.c: New file.
13893 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13894
27390476
AK
138952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13896
13897 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13898 instructions into .machine "z9-109".
13899 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13900 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13901
10442705
AK
139022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13903
13904 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13905 between environment variables and auxiliary vector.
13906
7b57bfe5
UD
139072011-04-16 Ulrich Drepper <drepper@gmail.com>
13908
13909 * Makefile: Add rules to build linkobj/libc.so.
13910 * include/libc-symbols.h: Define libc_hidden_nolink.
13911 * include/rpc/auth.h: Mark functions which are to be hidden.
13912 * include/rpc/auth_des.h: Likewise.
13913 * include/rpc/auth_unix.h: Likewise.
13914 * include/rpc/clnt.h: Likewise.
13915 * include/rpc/des_crypt.h: Likewise.
13916 * include/rpc/key_prot.h: Likewise.
13917 * include/rpc/pmap_clnt.h: Likewise.
13918 * include/rpc/pmap_prot.h: Likewise.
13919 * include/rpc/pmap_rmt.h: Likewise.
13920 * include/rpc/rpc_msg.h: Likewise.
13921 * include/rpc/svc.h: Likewise.
13922 * include/rpc/svc_auth.h: Likewise.
13923 * include/rpc/xdr.h: Likewise.
13924 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13925 * nss/Makefile: Likewise.
13926 * sunrpc/Makefile: Don't install headers. Build library with normal
13927 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13928 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13929 for the compat linking library. Remove use of INTDEF/INTUSE.
13930 * sunrpc/auth_none.c: Likewise.
13931 * sunrpc/auth_unix.c: Likewise.
13932 * sunrpc/authdes_prot.c: Likewise.
13933 * sunrpc/authuxprot.c: Likewise.
13934 * sunrpc/clnt_gen.c: Likewise.
13935 * sunrpc/clnt_perr.c: Likewise.
13936 * sunrpc/clnt_raw.c: Likewise.
13937 * sunrpc/clnt_simp.c: Likewise.
13938 * sunrpc/clnt_tcp.c: Likewise.
13939 * sunrpc/clnt_udp.c: Likewise.
13940 * sunrpc/clnt_unix.c: Likewise.
13941 * sunrpc/des_crypt.c: Likewise.
13942 * sunrpc/des_soft.c: Likewise.
13943 * sunrpc/get_myaddr.c: Likewise.
13944 * sunrpc/key_call.c: Likewise.
13945 * sunrpc/key_prot.c: Likewise.
13946 * sunrpc/netname.c: Likewise.
13947 * sunrpc/pm_getmaps.c: Likewise.
13948 * sunrpc/pm_getport.c: Likewise.
13949 * sunrpc/pmap_clnt.c: Likewise.
13950 * sunrpc/pmap_prot.c: Likewise.
13951 * sunrpc/pmap_prot2.c: Likewise.
13952 * sunrpc/pmap_rmt.c: Likewise.
13953 * sunrpc/publickey.c: Likewise.
13954 * sunrpc/rpc_cmsg.c: Likewise.
13955 * sunrpc/rpc_common.c: Likewise.
13956 * sunrpc/rpc_dtable.c: Likewise.
13957 * sunrpc/rpc_prot.c: Likewise.
13958 * sunrpc/rpc_thread.c: Likewise.
13959 * sunrpc/rtime.c: Likewise.
13960 * sunrpc/svc.c: Likewise.
13961 * sunrpc/svc_auth.c: Likewise.
13962 * sunrpc/svc_authux.c: Likewise.
13963 * sunrpc/svc_raw.c: Likewise.
13964 * sunrpc/svc_run.c: Likewise.
13965 * sunrpc/svc_simple.c: Likewise.
13966 * sunrpc/svc_tcp.c: Likewise.
13967 * sunrpc/svc_udp.c: Likewise.
13968 * sunrpc/svc_unix.c: Likewise.
13969 * sunrpc/svcauth_des.c: Likewise.
13970 * sunrpc/xcrypt.c: Likewise.
13971 * sunrpc/xdr.c: Likewise.
13972 * sunrpc/xdr_array.c: Likewise.
13973 * sunrpc/xdr_float.c: Likewise.
13974 * sunrpc/xdr_intXX_t.c: Likewise.
13975 * sunrpc/xdr_mem.c: Likewise.
13976 * sunrpc/xdr_rec.c: Likewise.
13977 * sunrpc/xdr_ref.c: Likewise.
13978 * sunrpc/xdr_sizeof.c: Likewise.
13979 * sunrpc/xdr_stdio.c: Likewise.
13980
e6c61494
UD
139812011-04-10 Ulrich Drepper <drepper@gmail.com>
13982
13983 [BZ #12650]
13984 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13985 * sysdeps/ia64/dl-tls.h: Likewise.
13986 * sysdeps/powerpc/dl-tls.h: Likewise.
13987 * sysdeps/s390/dl-tls.h: Likewise.
13988 * sysdeps/sh/dl-tls.h: Likewise.
13989 * sysdeps/sparc/dl-tls.h: Likewise.
13990 * sysdeps/x86_64/dl-tls.h: Likewise.
13991 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13992
34fe483e
AS
139932011-03-14 Andreas Schwab <schwab@redhat.com>
13994
13995 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13996 rpath element also skip the following colon.
13997 (expand_dynamic_string_token): Add is_path parameter and pass
13998 down to DL_DST_REQUIRED and _dl_dst_substitute.
13999 (decompose_rpath): Call expand_dynamic_string_token with
14000 non-zero is_path. Ignore empty rpaths.
14001 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14002 with zero is_path.
14003
f12a32e6
AS
140042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14005
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14007 Make cancelable.
14008
38a7d692
UD
140092011-04-09 Ulrich Drepper <drepper@gmail.com>
14010
14011 [BZ #12655]
14012 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14013 Patch by Filipe David Manana <fdmanana@apache.org>.
14014
e451d22b
AS
140152011-04-07 Andreas Schwab <schwab@redhat.com>
14016
14017 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14018 Maintain aligned stack.
14019 (CHECK_RSP): Remove unused macro.
14020
dedc7c7b
UD
140212011-04-03 Ulrich Drepper <drepper@gmail.com>
14022
14023 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14024 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14025
94521213
UD
140262011-04-02 Ulrich Drepper <drepper@gmail.com>
14027
14028 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14029
8cb700c0 14030 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14031
0354e355
L
140322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14033
14034 [BZ #12518]
14035 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14036 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14037 * sysdeps/x86_64/memmove.c: New file.
14038 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14039 (memcpy): Renamed to ...
14040 (__new_memcpy): This.
14041 (memcpy): Provide GLIBC_2_14 memcpy.
14042 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14043 (memcpy): Provide GLIBC_2_2_5 memcpy.
14044
8593482f
UD
140452011-04-01 Ulrich Drepper <drepper@gmail.com>
14046
14047 [BZ #12631]
14048 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14049
81a5726b
AS
140502011-03-30 Andreas Schwab <schwab@redhat.com>
14051
14052 * misc/syncfs.c: New file.
14053 * misc/Makefile (routines): Add syncfs.
14054 * posix/unistd.h: Declare syncfs.
14055 * sysdeps/unix/syscalls.list: Add syncfs.
14056
00e5419f
AS
140572011-04-01 Andreas Schwab <schwab@redhat.com>
14058
14059 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14060 open_by_handle_at.
14061 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14062 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14064 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14066 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14067 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14068
748876bf
UD
140692011-04-01 Ulrich Drepper <drepper@gmail.com>
14070
658e451d
UD
14071 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14072 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14073 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14074 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14075 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14076 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14078
748876bf
UD
14079 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14080 sync_file_range.c with -fexceptions.
14081 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14082 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14083 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14084 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14085 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14086 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14088 sync_file_range as cancellation point
14089 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14090 now a wrapper around __call_sync_file_range with cancellation handling.
14091 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14092 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14093 function name to __call_sync_file_range.
14094 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14095 Add call_sync_file_range.
748876bf 14096
6e63d5e1
AS
140972011-04-01 Andreas Schwab <schwab@redhat.com>
14098
14099 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14100 bits/timex.h.
6e63d5e1 14101
46998f74
UD
141022011-04-01 Ulrich Drepper <drepper@gmail.com>
14103
4c1423ed
UD
14104 * iconv/iconv.h: Fix typo in comment.
14105 * io/fcntl.h: Likewise.
14106 * libio/stdio.h: Likewise.
14107 * posix/spawn.h: Likewise.
14108 * posix/unistd.h: Likewise.
14109 * stdlib/stdlib.h: Likewise.
14110 * time/time.h: Likewise.
14111 * wcsmbs/wchar.h: Likewise.
14112
158648c0
UD
14113 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14114 open_by_handle): Add.
14115 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14116 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14117 Augment a few comments.
14118 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14119 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14121 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14122 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14123 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14124 open_by_handle.
14125
46998f74
UD
14126 * io/fcntl.h (AT_EMPTY_PATH): Define.
14127
83fe108b
UD
141282011-03-30 Ulrich Drepper <drepper@gmail.com>
14129
14130 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14131 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14132 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14133 to...
14134 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14135 * Versions.def: Add GLIBC_2.14.
14136 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14137 Export.
83fe108b 14138
bb242059
UD
141392011-03-22 Ulrich Drepper <drepper@gmail.com>
14140
14141 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14142 round counter.
14143 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14144
c97a1282
L
141452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14146
14147 [BZ #12597]
14148 * string/test-strncmp.c (do_page_test): New function.
14149 (check2): Likewise.
14150 (test_main): Call check2.
14151 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14152
2a115601
UD
141532011-03-20 Ulrich Drepper <drepper@gmail.com>
14154
14155 [BZ #12587]
14156 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14157 Handle cache information in CPU leaf 4.
14158 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14159
8126d904
UD
141602011-03-18 Ulrich Drepper <drepper@gmail.com>
14161
042c49c6 14162 [BZ #12583]
8126d904
UD
14163 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14164 character representation.
14165 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14166
ccfe366e
RA
141672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14168
14169 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14170 END(__isnan) to END(__isnanf) to match function entry point/label
14171 EALIGN(__isnanf,...).
14172
c6e13027
JJ
141732011-03-10 Jakub Jelinek <jakub@redhat.com>
14174
14175 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14176
33f85a3f
UD
141772011-03-10 Ulrich Drepper <drepper@gmail.com>
14178
028478fa
UD
14179 [BZ #12510]
14180 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14181 copy from the symbol referenced in the relocation to initialize the
14182 used variable.
14183 Patch by Piotr Bury <pbury@goahead.com>.
14184 * elf/Makefile: Add rules to build and tst-unique3.
14185 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14186 * elf/tst-unique3.cc: New file.
14187 * elf/tst-unique3.h: New file.
14188 * elf/tst-unique3lib.cc: New file.
14189 * elf/tst-unique3lib2.cc: New file.
14190
33f85a3f
UD
14191 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14192
03592fc7
MF
141932011-03-10 Mike Frysinger <vapier@gentoo.org>
14194
14195 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14196 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14197 to _start.
03592fc7 14198
6a5ee102
UD
141992011-03-06 Ulrich Drepper <drepper@gmail.com>
14200
14201 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14202 to-be-loaded object along a path to loader is ld.so.
14203
7e4ba49c
HJ
142042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14205 Ulrich Drepper <drepper@gmail.com>
14206
14207 * sysdeps/x86_64/memset.S: After aligning destination, code
14208 branches to different locations depending on the value of
14209 misalignment, when multiarch is enabled. Fix this.
14210
142112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14212
14213 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14214 Set _x86_64_preferred_memory_instruction for AMD processsors.
14215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14216 Set bit_Prefer_SSE_for_memop for AMD processors.
14217
13a804de
UD
142182011-03-04 Ulrich Drepper <drepper@gmail.com>
14219
14220 * libio/fmemopen.c (fmemopen): Optimize a bit.
14221
9d25c392
AS
142222011-03-03 Andreas Schwab <schwab@redhat.com>
14223
14224 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14225
a5543c6a
RM
142262011-03-03 Roland McGrath <roland@redhat.com>
14227
14228 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14229
012d35f7
DM
142302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14231
7e4ba49c 14232 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14233 __bzero_ultra1 instead of __memset_ultra1.
14234
4bff6e01
AS
142352011-02-23 Andreas Schwab <schwab@redhat.com>
14236 Ulrich Drepper <drepper@gmail.com>
14237
14238 [BZ #12509]
14239 * include/link.h (struct link_map): Add l_orig_initfini.
14240 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14241 returning unsuccessfully.
14242 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14243 close of a file loaded at startup, restore the original l_initfini
14244 list.
14245 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14246 list, store the pointer.
14247 * elf/Makefile ($(objpfx)noload-mem): New rule.
14248 (noload-ENV): Define.
14249 (tests): Add $(objpfx)noload-mem.
14250 * elf/noload.c: Include <memcheck.h>.
14251 (main): Call mtrace. Close all opened handles.
14252
f2092faf
AS
142532011-02-17 Andreas Schwab <schwab@redhat.com>
14254
14255 [BZ #12454]
14256 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14257 dependencies are missing.
14258
6c8a2e88
ST
142592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14260
f2092faf 14261 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14262 Hurd needs munmap.
14263 * sysdeps/mach/hurd/ifreq.h: New file.
14264
84a42118
PB
142652011-01-27 Petr Baudis <pasky@suse.cz>
14266 Ulrich Drepper <drepper@gmail.com>
14267
071f805e 14268 [BZ 12445]#
84a42118
PB
14269 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14270 to extend_alloca().
14271 * stdio-common/bug23.c: New file.
14272 * stdio-common/Makefile (tests): Add bug23.
14273
e23fe25b
AS
142742010-09-28 Andreas Schwab <schwab@redhat.com>
14275 Ulrich Drepper <drepper@gmail.com>
14276
14277 [BZ #12489]
14278 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14279 before performing relro protection. At old place add assertion
14280 to make sure nothing changed.
14281
d3f02e10
NS
142822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14283 Glauber de Oliveira Costa <glommer@gmail.com>
14284
14285 * elf/elf.h: Add new ARM TLS relocs.
14286
d55fd7a5
RA
142872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14288
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14290 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14291 cast from r3.
14292 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14293 'tests' variable.
14294 * sysdeps/wordsize-64/tst-writev.c: New file.
14295
2206397e
RA
142962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14297
14298 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14299 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14300 insns in _dl_start to prevent a TOC reference before relocs are
14301 resolved.
14302
e9433893
UD
143032011-02-15 Ulrich Drepper <drepper@gmail.com>
14304
14305 [BZ #12469]
14306 * Makeconfig: Remove RANLIB definition.
14307 * Makerules: Don't use RANLIB.
14308 * aclocal.m4: Remove ranlib test.
14309 * configure.in: No need to check for ranlib.
14310 * elf/rtld-Rules: Don't use RANLIB.
14311
f75286c6
ST
143122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14313
8e31c82d
ST
14314 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14315 protection macro.
14316 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14317 inclusion protection macro.
14318
f75286c6
ST
14319 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14320 SIGRTMIN and SIGRTMAX and print information in that case only when
14321 SIGRTMIN is defined.
14322
c1d0e639
JJ
143232011-02-11 Jakub Jelinek <jakub@redhat.com>
14324
14325 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14326 arginfo fn returning -1.
14327
14328 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14329 and thousands string is zero terminated.
14330
edf9294e
AS
143312011-02-03 Andreas Schwab <schwab@redhat.com>
14332
14333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14334 sysdeps/unix/sysv/linux/bits/socket.h.
14335
2b7e92df
ST
143362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14337
edf9294e
AS
14338 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14339 (__CPU_COUNT): Remove old macros.
14340 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14341 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14342 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14343 (__sched_cpualloc, __sched_cpufree): Add declarations.
14344
a4c7ea7b
UD
143452011-02-05 Ulrich Drepper <drepper@gmail.com>
14346
14347 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14348 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14349 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14350 (readdhstai): Return value of addhstaiX call.
14351 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14352 (addgrbyX): Return value returned by cache_addgr.
14353 (readdgrbyname): Return value returned by addgrbyX.
14354 (readdgrbygid): Likewise.
14355 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14356 (addpwbyX): Return value returned by cache_addpw.
14357 (readdpwbyname): Return value returned by addhstbyX.
14358 (readdpwbyuid): Likewise.
14359 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14360 (addservbyX): Return value returned by cache_addserv.
14361 (readdservbyname): Return value returned by addservbyX:
14362 (readdservbyport): Likewise.
14363 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14364 (addhstbyX): Return value returned by cache_addhst.
14365 (readdhstbyname): Return value returned by addhstbyX.
14366 (readdhstbyaddr): Likewise.
14367 (readdhstbynamev6): Likewise.
14368 (readdhstbyaddrv6): Likewise.
14369 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14370 (readdinitgroups): Return value returned by addinitgroupsX.
14371 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14372 (prune_cache): Keep track of timeout value of re-added entries.
14373 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14374 * nscd/nscd.h: Adjust prototypes of readd* functions.
14375
a0bf67cc
RM
143762011-02-04 Roland McGrath <roland@redhat.com>
14377
14378 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14379 (nis_stats): Likewise.
14380 * nis/nis_modify.c (nis_modify): Likewise.
14381 * nis/nis_remove.c (nis_remove): Likewise.
14382 * nis/nis_add.c (nis_add): Likewise.
14383
14384 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14385
14386 * posix/fnmatch_loop.c: Add some consts.
14387
14388 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14389
435b95eb
L
143902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14391
14392 [BZ #12460]
14393 * config.make.in (config-cflags-novzeroupper): Define.
14394 * configure.in: Substitute libc_cv_cc_novzeroupper.
14395 * elf/Makefile (AVX-CFLAGS): Define.
14396 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14397 (CFLAGS-tst-auditmod4a.c): Likewise.
14398 (CFLAGS-tst-auditmod4b.c): Likewise.
14399 (CFLAGS-tst-auditmod6b.c): Likewise.
14400 (CFLAGS-tst-auditmod6c.c): Likewise.
14401 (CFLAGS-tst-auditmod7b.c): Likewise.
14402 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14403
8517b15e
UD
144042011-02-02 Ulrich Drepper <drepper@gmail.com>
14405
14406 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14407 function to the callback.
14408 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14409
10a656fe
AS
144102011-02-02 Andreas Schwab <schwab@redhat.com>
14411
14412 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14413 of errno.
14414
968dad0a
UD
144152011-01-19 Ulrich Drepper <drepper@gmail.com>
14416
9f94d2ea 14417 [BZ #11724]
968dad0a
UD
14418 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14419 of constructors.
14420 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14421 of destructors.
14422 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14423
14424 [BZ #11724]
14425 * elf/Makefile: Add rules to build and run new test.
14426 * elf/tst-initorder.c: New file.
14427 * elf/tst-initorder.exp: New file.
14428 * elf/tst-initordera1.c: New file.
14429 * elf/tst-initordera2.c: New file.
14430 * elf/tst-initordera3.c: New file.
14431 * elf/tst-initordera4.c: New file.
14432 * elf/tst-initorderb1.c: New file.
14433 * elf/tst-initorderb2.c: New file.
14434 * elf/tst-order-a1.c: New file.
14435 * elf/tst-order-a2.c: New file.
14436 * elf/tst-order-a3.c: New file.
14437 * elf/tst-order-a4.c: New file.
14438 * elf/tst-order-b1.c: New file.
14439 * elf/tst-order-b2.c: New file.
14440 * elf/tst-order-main.c: New file.
14441 New test case by George Gensure <werkt0@gmail.com>.
14442
86e92359
UD
144432010-10-01 Andreas Schwab <schwab@redhat.com>
14444
14445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14446 decoding ACE if AI_CANONIDN.
14447
5d5732b0
UD
144482011-01-18 Ulrich Drepper <drepper@gmail.com>
14449
14450 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14451
a77e8cbc
UD
144522011-01-17 Ulrich Drepper <drepper@gmail.com>
14453
6392473f
UD
14454 * version.h (RELEASE): Bump for 2.13 release.
14455 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14456
620a0529
UD
14457 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14458
18ba70a5
UD
14459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14460 MADV_NOHUGEPAGE.
32465c3e
UD
14461 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14462 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14463 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14464 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14465 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14466 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14467
c0dafcf1
UD
14468 * posix/getconf.c: Update copyright year.
14469 * catgets/gencat.c: Likewise.
14470 * csu/version.c: Likewise.
14471 * debug/catchsegv.sh: Likewise.
14472 * debug/xtrace.sh: Likewise.
14473 * elf/ldconfig.c: Likewise.
14474 * elf/ldd.bash.in: Likewise.
14475 * elf/sprof.c (print_version): Likewise.
14476 * iconv/iconv_prog.c: Likewise.
14477 * iconv/iconvconfig.c: Likewise.
14478 * locale/programs/locale.c: Likewise.
14479 * locale/programs/localedef.c: Likewise.
14480 * malloc/memusage.sh: Likewise.
14481 * malloc/mtrace.pl: Likewise.
14482 * nscd/nscd.c (print_version): Likewise.
14483 * nss/getent.c: Likewise.
14484
a77e8cbc
UD
14485 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14486 PF_CAIF, and PF_ALG.
14487 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14488
77e8bddf
AS
144892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14490
1f20b93a
AS
14491 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14492 (modules-names): Use them.
14493 (ifunc-test-modules, ifunc-pie-tests): Define.
14494 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14495 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14496 (test-extras): Likewise.
14497 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14498 $(compile-command.c).
14499 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14500 (all-built-dso): Define.
14501 (check-textrel.out, check-execstack.out): Depend on it.
14502
77e8bddf
AS
14503 * configure.in: Don't override --enable-multi-arch.
14504
bc425b33
UD
145052011-01-15 Ulrich Drepper <drepper@gmail.com>
14506
14507 [BZ #6812]
14508 * nscd/hstcache.c (tryagain): Define.
14509 (cache_addhst): Return tryagain not notfound for temporary errors.
14510 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14511 failed.
14512
794c3ad3
UD
145132011-01-14 Ulrich Drepper <drepper@gmail.com>
14514
70181fdd
UD
14515 [BZ #10563]
14516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14517 to make the syscall.
14518 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14519
794c3ad3
UD
14520 [BZ #12378]
14521 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14522 and fall back to matching as normal character if the string ends before
14523 the matching ']' is found. This is what POSIX requires.
14524 * posix/testfnm.c: Adjust test result.
14525 * posix/globtest.sh: Adjust test result. Add new test.
14526 * posix/tst-fnmatch.input: Likewise.
14527 * posix/tst-fnmatch2.c: Add new test.
14528
68dc9497
AS
145292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14530
14531 * elf/Makefile (check-execstack): Revert last change. Depend on
14532 check-execstack.h.
14533 (check-execstack.h): New target.
14534 (generated): Add check-execstack.h.
14535 * elf/check-execstack.c: Include "check-execstack.h".
14536 (main): Revert last change.
14537 (handle_file): Return zero if GNU_STACK is absent and
14538 DEFAULT_STACK_PERMS doesn't include PF_X.
14539
451f001b
UD
145402011-01-13 Ulrich Drepper <drepper@gmail.com>
14541
cfa28e56
UD
14542 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14543 in child fails because the descriptor is already closed.
8cf8ce17
UD
14544 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14545 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14546 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14547
1086d70d
UD
14548 [BZ #12397]
14549 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14550 syscall.
14551
451f001b
UD
14552 [BZ #10484]
14553 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14554 temporary buffer used to handle multi lookups locally.
a85b5cb4 14555 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14556
08769175
UD
145572011-01-12 Ulrich Drepper <drepper@gmail.com>
14558
14559 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14560 loader is ld.so.
14561
5e49c52e
UD
145622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14563
14564 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14565 alignment for SSE2.
14566
60522a5f
UD
145672011-01-12 Ulrich Drepper <drepper@gmail.com>
14568
14569 [BZ #12394]
14570 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14571 characters. When rounding increased number of integer digits recompute
14572 number of groups.
14573 * stdio-common/tst-grouping.c: New file.
14574 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14575
f257bbd7
UD
145762011-01-09 Ulrich Drepper <drepper@gmail.com>
14577
14578 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14579 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14580
14581 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14582 void.
14583 * bits/select.h: Likewise.
14584
fa9c15cb
UD
145852011-01-08 Ulrich Drepper <drepper@gmail.com>
14586
14587 * po/ja.po: Update from translation team.
14588
16c2895f
DM
145892011-01-04 David S. Miller <davem@sunset.davemloft.net>
14590
14591 [BZ #11155]
14592 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14593 implementation just like for lxstat, fxstatat, et al.
14594
2543fef2
JM
145952010-12-27 Jim Meyering <meyering@redhat.com>
14596
14597 [BZ #12348]
14598 * posix/regexec.c (build_trtable): Return failure indication upon
14599 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14600
98727dbe
UD
146012010-12-25 Ulrich Drepper <drepper@gmail.com>
14602
5bd6dc5c
UD
14603 [BZ #12201]
14604 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14605 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14606 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14607 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14608
97983464
UD
14609 [BZ #12207]
14610 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14611
98727dbe
UD
14612 [BZ #12204]
14613 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14614 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14615
4a531bb0
L
146162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14617
14618 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14619 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14620 script has SORT_BY_INIT_PRIORITY.
14621 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14622 NO_CTORS_DTORS_SECTIONS is defined.
14623 * elf/soinit.c: Likewise.
14624 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14625 NO_CTORS_DTORS_SECTIONS is defined.
14626 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14627 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14628 * sysdeps/sh/init-first.c: Likewise.
14629 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14630
07eb4b71
UD
146312010-12-24 Ulrich Drepper <drepper@gmail.com>
14632
14633 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14634 always use the slow path.
14635
30950a5f
RA
146362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14637
14638 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14639 similar rule which adds the sysdep directories to the header search in
14640 order to pick up the correct platform stackinfo.h.
14641 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14642 perform test if it is, otherwise return successfully without testing.
14643 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14644 DEFAULT_STACK_PERMS define in stackinfo.h.
14645 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14646 defined in stackinfo.h.
14647 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14648 DEFAULT_STACK_PERMS defined in stackinfo.h.
14649 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14650 * sysdeps/ia64/stackinfo.h: Likewise.
14651 * sysdeps/s390/stackinfo.h: Likewise.
14652 * sysdeps/sh/stackinfo.h: Likewise.
14653 * sysdeps/sparc/stackinfo.h: Likewise.
14654 * sysdeps/x86_64/stackinfo.h: Likewise.
14655 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14656 PF_X for powerpc64. Retain PF_X for powerpc32.
14657
db753e2c
UD
146582010-12-19 Ulrich Drepper <drepper@gmail.com>
14659
14b697f7
UD
14660 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14661 accurately.
db753e2c
UD
14662 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14663 GETDENTS_64BIT_ALIGNED.
14664
28300719
UD
146652010-12-14 Ulrich Drepper <dreper@gmail.com>
14666
14b697f7 14667 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14668
4f197237
AS
146692010-12-10 Andreas Schwab <schwab@redhat.com>
14670
dbb0472f
AS
14671 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14672 _GNU_SOURCE.
14673
4f197237
AS
14674 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14675 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14676 Remove __restrict.
14677 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14678 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14679
fb88ac72
UD
146802010-12-09 Ulrich Drepper <drepper@gmail.com>
14681
14682 [BZ #11655]
14683 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14684 are initialized.
14685
42acbb92
JJ
146862010-12-09 Jakub Jelinek <jakub@redhat.com>
14687
14688 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14689
c038d98d
UD
146902010-12-03 Ulrich Drepper <drepper@gmail.com>
14691
14692 * po/it.po: Update from translation team.
14693
3a4a2499
L
146942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14695
14696 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14697 unused codes.
14698
1e24cf6e
UD
146992010-11-30 Ulrich Drepper <drepper@gmail.com>
14700
14701 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14702
a7690819
AS
147032010-11-24 Andreas Schwab <schwab@redhat.com>
14704
14705 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14706 specially.
14707 (gaih_getanswer_slice): Likewise.
14708
3bf8d1b1
JJ
147092010-10-20 Jakub Jelinek <jakub@redhat.com>
14710
14711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14712
6db52fbb
PB
147132010-05-31 Petr Baudis <pasky@suse.cz>
14714
14715 [BZ #11149]
14716 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14717 silently even in the chroot mode.
14718
eaca7569
UD
147192010-11-22 Ulrich Drepper <drepper@gmail.com>
14720
14721 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14722 last patch a bit. Pretty printing
14723
3056dcdb
UD
147242010-05-31 Petr Baudis <pasky@suse.cz>
14725
14726 [BZ #10085]
14727 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14728 initialization of skip_initgroups_dyn.
14729
cf7c9078
UD
147302010-11-19 Ulrich Drepper <drepper@gmail.com>
14731
14732 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14733 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14734
a1fb5e3e
UD
147352010-11-16 Ulrich Drepper <drepper@gmail.com>
14736
14737 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14738
3540d66b
AS
147392010-11-11 Andreas Schwab <schwab@redhat.com>
14740
14741 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14742 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14743 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14744 ($(objpfx)tst-fnmatch-mem): New rule.
14745 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14746 * posix/tst-fnmatch.c (main): Call mtrace.
14747
13b69574
L
147482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14749
14750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14751 Support Intel processor model 6 and model 0x2c.
14752
da93d214
LM
147532010-11-10 Luis Machado <luisgpm@br.ibm.com>
14754
14755 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14756 signed comparison.
14757
8ca52c6e
L
147582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14759
14760 [BZ #12205]
14761 * string/test-strncasecmp.c (check_result): New function.
14762 (do_one_test): Use it.
14763 (check1): New function.
14764 (test_main): Use it.
14765 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14766 Support strcasecmp and strncasecmp.
14767
69da074d
UD
147682010-11-08 Ulrich Drepper <drepper@gmail.com>
14769
14770 [BZ #12194]
14771 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14772 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14773
ff02d528
L
147742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14775
14776 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14777 IFUNC support.
14778 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14779 memset-x86-64.
14780 * sysdeps/x86_64/multiarch/bzero.S: New file.
14781 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14782 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14783 * sysdeps/x86_64/multiarch/memset.S: New file.
14784 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14786 Set bit_Prefer_SSE_for_memop for Intel processors.
14787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14788 Define.
14789 (index_Prefer_SSE_for_memop): Define.
14790 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14791
344d0b54
LM
147922010-11-04 Luis Machado <luisgpm@br.ibm.com>
14793
14794 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14795 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14796
c0dde15b
UD
147972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14798
14799 [BZ #12191]
14800 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14801 (__x86_64_raw_data_cache_size_half): Likewise.
14802 (__x86_64_raw_shared_cache_size): Likewise.
14803 (__x86_64_raw_shared_cache_size_half): Likewise.
14804
14805 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14806 (__x86_64_raw_data_cache_size_half): Likewise.
14807 (__x86_64_raw_shared_cache_size): Likewise.
14808 (__x86_64_raw_shared_cache_size_half): Likewise.
14809 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14810 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14811 and __x86_64_raw_shared_cache_size_half. Round
14812 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14813 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14814 to multiple of 256 bytes.
14815
0e516e0e
MS
148162010-11-03 Ulrich Drepper <drepper@gmail.com>
14817
14818 [BZ #12167]
14819 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14820 of inacessible symlinks. Verify result of symlink before returning it.
14821 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14822 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14823
0e012e87
ER
148242010-10-28 Erich Ritz <erichritz@gmail.com>
14825
14826 * math/math.h (isinf): Fix typo in comment.
14827
de0ff7bc
UD
148282010-11-01 Ulrich Drepper <drepper@gmail.com>
14829
14830 * po/da.po: Update from translation team.
14831
fa41c84d
UD
148322010-10-26 Ulrich Drepper <drepper@gmail.com>
14833
14834 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14835 is added to the list.
14836
f0967738
AK
148372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14838 Ulrich Drepper <drepper@gmail.com>
14839
14840 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14841 the global list here. Move code to...
14842 (_dl_add_to_namespace_list): ...here. New function.
14843 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14844 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14845 * elf/dl-load.c (lose): Don't remove the element from the list.
14846 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14847 (_dl_map_object): Likewise.
14848
148492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14850
14851 [BZ #12159]
14852 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14853 into all bytes of SSE register.
14854 Patch by Richard Li <richardpku@gmail.com>.
14855
f0967738 148562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14857
14858 [BZ #12140]
14859 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14860 perturbing.
14861
d0b9e94f
MB
148622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14863
14864 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14865 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14866 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14867 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14869 submachine.
14870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14871
8e9f92e9
AS
148722010-10-22 Andreas Schwab <schwab@redhat.com>
14873
14874 * include/dlfcn.h (__RTLD_SECURE): Define.
14875 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14876 mode & __RTLD_SECURE instead.
14877 (open_path): Rename preloaded parameter to secure.
14878 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14879 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14880 * elf/dl-deps.c (openaux): Likewise.
14881 * elf/rtld.c (struct map_args): Remove is_preloaded.
14882 (map_doit): Don't use it.
14883 (dl_main): Likewise.
14884 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14885 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14886
bc96fbda
AS
148872010-09-09 Andreas Schwab <schwab@redhat.com>
14888
14889 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14890 (sysd-rules-targets): Remove duplicates.
14891 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14892 rtld-%.$o dependency.
14893
22cd1c9b
AS
148942010-10-18 Andreas Schwab <schwab@redhat.com>
14895
14896 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14897 _dl_map_object do it.
14898
18edac48
UD
148992010-10-19 Ulrich Drepper <drepper@gmail.com>
14900
14901 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14902 fast fma builtins, define the macros in the C99 standard.
14903 (FP_FAST_FMAF): Likewise.
14904 (FP_FAST_FMAL): Likewise.
14905 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14906
14907 * bits/mathdef.h: Update copyright year.
14908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14909
d2050124
MM
149102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14911
14912 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14913 builtins, define the macros in the C99 standard.
14914 (FP_FAST_FMAF): Likewise.
14915 (FP_FAST_FMAL): Likewise.
14916 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14917 multiply/add.
14918 (FP_FAST_FMAF): Likewise.
14919
475facd1
JJ
149202010-10-15 Jakub Jelinek <jakub@redhat.com>
14921
14922 [BZ #3268]
14923 * math/libm-test.inc (fma_test): Some new testcases.
14924 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14925 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14926 y and infinite z. Do multiplication by C already in long double.
14927 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14929 y and infinite z. Do bitwise or of inexact bit into u.d.
14930 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14931 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14932 * sysdeps/i386/fpu/s_fma.S: Removed.
14933 * sysdeps/i386/fpu/s_fmal.S: Removed.
14934
7c08a05c
JJ
149352010-10-16 Jakub Jelinek <jakub@redhat.com>
14936
14937 [BZ #3268]
14938 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14939 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14940 computation is not scheduled after fetestexcept. Fix value
14941 of minimum denormal long double.
14942
f3f7372d
JJ
149432010-10-14 Jakub Jelinek <jakub@redhat.com>
14944
14945 [BZ #3268]
14946 * math/libm-test.inc (fma_test): Add some more tests.
14947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14948 correctly.
14949
14d43591
AS
149502010-10-15 Andreas Schwab <schwab@redhat.com>
14951
14952 * scripts/data/localplt-s390-linux-gnu.data: New file.
14953 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14954
5e908464
JJ
149552010-10-13 Jakub Jelinek <jakub@redhat.com>
14956
14957 [BZ #3268]
14958 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14959 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14960 instead of dbl-64.
14961 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14962 inlines.
14963 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14964 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14965 if one of x and y is very large and the other is subnormal.
14966 * sysdeps/s390/fpu/s_fmaf.c: New file.
14967 * sysdeps/s390/fpu/s_fma.c: New file.
14968 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14969 * sysdeps/powerpc/fpu/s_fma.S: New file.
14970 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14971 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14972 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14973
149742010-10-12 Jakub Jelinek <jakub@redhat.com>
14975
14976 [BZ #3268]
14977 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14978 fma tests.
14979 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14980 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14981 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14982 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14983 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14984 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14986
b833d51f
UD
149872010-10-12 Ulrich Drepper <drepper@redhat.com>
14988
14989 [BZ #12078]
14990 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14991 * posix/bug-regex31.input: Add test case.
14992
1751705d
UD
149932010-10-11 Ulrich Drepper <drepper@gmail.com>
14994
e9b9cbf5
UD
14995 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14996 * posix/bug-regex31.input: New file.
14997
14998 [BZ #12078]
14999 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15000 (parse_sub_exp): Fix last change, use postorder.
15001
ef06edbe
UD
15002 * posix/bug-regex31.c: New file.
15003 * posix/Makefile: Add rules to build and run bug-regex31.
15004
a129c80d
UD
15005 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15006
15007 [BZ #12078]
15008 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15009
b76b818e
UD
15010 [BZ #12108]
15011 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15012 to have entries in sys_siglist.
15013
1751705d
UD
15014 [BZ #12093]
15015 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15016 be NULL.
15017
9ff8d36f
JJ
150182010-10-07 Jakub Jelinek <jakub@redhat.com>
15019
15020 [BZ #3268]
15021 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15022 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15023 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15024 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15026 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15027 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15028 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15029 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15030 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15031 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15032 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15033 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15034 * math/ftestexcept.c (fetestexcept): Likewise.
15035 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15036 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15037 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15038 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15039 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15040 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15041 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15042
af325969
UD
150432010-10-11 Ulrich Drepper <drepper@gmail.com>
15044
c579b202 15045 [BZ #12107]
af325969
UD
15046 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15047 newline.
15048
67a67b95
UD
150492010-10-06 Ulrich Drepper <drepper@gmail.com>
15050
15051 * string/bug-strstr1.c: New file.
15052 * string/Makefile: Add rules to build and run bug-strstr1.
15053
5fb308bc
EB
150542010-10-05 Eric Blake <eblake@redhat.com>
15055
15056 [BZ #12092]
15057 * string/str-two-way.h (two_way_long_needle): Always clear memory
15058 when skipping input due to the shift table.
15059
45db99c7
UD
150602010-10-03 Ulrich Drepper <drepper@gmail.com>
15061
3b111893
UD
15062 [BZ #12005]
15063 * malloc/mcheck.c: Handle large requests.
15064
45db99c7
UD
15065 [BZ #12077]
15066 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15067 for strncmp and strncasecmp.
15068 * string/stratcliff.c: Add tests for strcmp and strncmp.
15069 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15070
cf7a1eb8
NI
150712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15072
15073 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15074 __set_fpscr.
15075
6484ba5e
AJ
150762010-09-30 Andreas Jaeger <aj@suse.de>
15077
15078 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15079 (CGROUP_SUPER_MAGIC): Define.
15080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15081 Handle btrfs and cgroup file systems.
15082 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15083 Likewise.
15084
91c42559
LM
150852010-09-27 Luis Machado <luisgpm@br.ibm.com>
15086
15087 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15088 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15089
87a97932
AK
150902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15091
15092 [BZ #12067]
15093 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15094 trying to locate the ELF header.
15095
c21cc9bc
AS
150962010-09-27 Andreas Schwab <schwab@redhat.com>
15097
15098 [BZ #11611]
15099 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15100 Mask out sign-bit copies when constructing f_fsid.
15101
315970f6
PB
151022010-09-24 Petr Baudis <pasky@suse.cz>
15103
15104 * debug/stack_chk_fail_local.c: Add missing licence exception.
15105 * debug/warning-nop.c: Likewise.
15106
1ac7a2c7
JM
151072010-09-15 Joseph Myers <joseph@codesourcery.com>
15108
15109 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15110 implementing getdents64 using getdents syscall, set d_type if
15111 __ASSUME_GETDENTS32_D_TYPE.
15112
56801c50
AS
151132010-09-16 Andreas Schwab <schwab@redhat.com>
15114
15115 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15116 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15117
dda51327
UD
151182010-09-21 Ulrich Drepper <drepper@redhat.com>
15119
15120 [BZ #12037]
15121 * posix/unistd.h: Undo change of feature selection for ftruncate from
15122 2010-01-11.
15123
8ffcee4a
UD
151242010-09-20 Ulrich Drepper <drepper@redhat.com>
15125
a545ecd9 15126 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15127 detection.
15128
e24f0a8b
AS
151292010-09-20 Andreas Schwab <schwab@redhat.com>
15130
15131 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15132 fanotify_mark.
15133 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15134
7291c56f
AS
151352010-09-14 Andreas Schwab <schwab@redhat.com>
15136
15137 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15138 variables after CHECK_SP call.
15139 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15140
bc5fb037
AS
151412010-09-13 Andreas Schwab <schwab@redhat.com>
15142 Ulrich Drepper <drepper@redhat.com>
15143
15144 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15145 re-relocationg ld.so.
15146 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15147 _dl_init_paths call.
15148 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15149 here anymore.
15150
e66e7419
UD
151512010-09-14 Ulrich Drepper <drepper@redhat.com>
15152
15153 * resolv/res_init.c (__res_vinit): Count the default server we added.
15154
c044aa75
CLT
151552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15156 Ulrich Drepper <drepper@redhat.com>
15157
15158 [BZ #11968]
15159 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15160 (____longjmp_chk): Use %ebx for saving value across system call.
15161 Add unwind info.
15162
32cf4069
AS
151632010-09-06 Andreas Schwab <schwab@redhat.com>
15164
15165 * manual/Makefile: Don't mix pattern rules with normal rules.
15166
817328ee
AS
151672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15168
15169 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15170 operation.
15171 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15172 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15173 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15174 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15175 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15176 Likewise.
15177
29fddf61
UD
151782010-09-04 Ulrich Drepper <drepper@redhat.com>
15179
15180 [BZ #11979]
15181 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15182 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15183
0959ffc9
UD
151842010-09-02 Ulrich Drepper <drepper@redhat.com>
15185
15186 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15187 * sysdeps/x86_64/addmul_1.S: Likewise.
15188 * sysdeps/x86_64/lshift.S: Likewise.
15189 * sysdeps/x86_64/mul_1.S: Likewise.
15190 * sysdeps/x86_64/rshift.S: Likewise.
15191 * sysdeps/x86_64/sub_n.S: Likewise.
15192 * sysdeps/x86_64/submul_1.S: Likewise.
15193
ece29840
ST
151942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15195
0959ffc9
UD
15196 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15197 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15198 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15199 * bits/sched.h [__need_schedparam]
ece29840 15200 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15201 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15202 (__defined_schedparam): Define to 1.
ece29840
ST
15203 (__sched_param): New structure, identical to sched_param.
15204 (__need_schedparam): Undefine.
15205
e53a31fe
MF
152062010-08-31 Mike Frysinger <vapier@gentoo.org>
15207
fdc0c10d
MF
15208 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15209 (epoll_create1): Declare.
15210
e53a31fe
MF
15211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15212
a726d796
AS
152132010-08-31 Andreas Schwab <schwab@redhat.com>
15214
15215 [BZ #7066]
15216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15217 shifting retval into place.
15218
2f3e3dc7
UD
152192010-09-01 Ulrich Drepper <drepper@redhat.com>
15220
f2933da9
UD
15221 * nis/rpcsvc/nis.h: Update copyright notice.
15222 * nis/rpcsvc/nis.x: Likewise.
15223 * nis/rpcsvc/nis_callback.h: Likewise.
15224 * nis/rpcsvc/nis_callback.x: Likewise.
15225 * nis/rpcsvc/nis_object.x: Likewise.
15226 * nis/rpcsvc/nis_tags.h: Likewise.
15227 * nis/rpcsvc/yp.h: Likewise.
15228 * nis/rpcsvc/yp.x: Likewise.
15229 * nis/rpcsvc/ypupd.h: Likewise.
15230 * nis/yp_xdr.c: Likewise.
15231 * nis/ypupdate_xdr.c: Likewise.
15232
2f3e3dc7
UD
15233 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15234 mainly the body of pmap_getport. Add parameters to specify timeouts.
15235 (pmap_getport): Use __libc_rpc_getport.
15236 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15237 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15238 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15239
f3dcc2f9
AS
152402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15241
15242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15243 fanotify_mark.
15244
6d34eb5b
RM
152452010-08-27 Roland McGrath <roland@redhat.com>
15246
15247 * sysdeps/i386/i686/multiarch/Makefile
15248 (CFLAGS-varshift.c): New variable.
15249
9ea3de11
UD
152502010-08-27 Ulrich Drepper <drepper@redhat.com>
15251
c96d23fc
UD
15252 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15253 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15254
9ea3de11
UD
15255 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15256
15257 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15258
623aac7f
L
152592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15260
15261 * sysdeps/x86_64/strlen.S: Unroll the loop.
15262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15263 strlen-sse2 strlen-sse2-bsf.
15264 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15265 __strlen_no_bsf if bit_Slow_BSF is set.
15266 (__strlen_sse42): Removed.
15267 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15268 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15269
8b2b7715
RM
152702010-08-25 Roland McGrath <roland@redhat.com>
15271
15272 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15273 * sysdeps/x86_64/multiarch/varshift.c: New file.
15274 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15275 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15276 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15277 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15278
e73015f2
L
152792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15280
15281 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15282 strlen-sse2 strlen-sse2-bsf.
15283 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15284 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15285 (__strlen_sse2): Removed.
15286 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15287 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15288 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15289 bit_Slow_BSF for Atom.
15290 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15291 (index_Slow_BSF): Define.
15292 (HAS_SLOW_BSF): Define.
15293
df24a73e
UD
152942010-08-25 Ulrich Drepper <drepper@redhat.com>
15295
15296 [BZ #10851]
15297 * resolv/res_init.c (__res_vinit): When no server address at all
15298 is given default to loopback.
15299
f2ac4868
RM
153002010-08-24 Roland McGrath <roland@redhat.com>
15301
09055553
RM
15302 * configure.in: Remove config-name.h generation.
15303 * configure: Regenerated.
15304 * config-name.in: File removed.
15305 * scripts/config-uname.sh: New file.
15306 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15307 ($(objdir)config-name.h): New target.
15308
f2ac4868
RM
15309 * sunrpc/rpc_parse.h: Avoid nested comment.
15310
73f27d5e
RH
153112010-08-24 Richard Henderson <rth@redhat.com>
15312 Ulrich Drepper <drepper@redhat.com>
15313 H.J. Lu <hongjiu.lu@intel.com>
15314
15315 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15316 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15317 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15318 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15319 _mm_alignr_epi8 with _mm_loadu_si128.
15320 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15321 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15322 (__m128i_shift_right): Removed.
15323 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15324 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15325 * sysdeps/x86_64/multiarch/varshift.h: New file.
15326 * sysdeps/x86_64/multiarch/varshift.S: New file.
15327
84b9230c
MF
153282010-08-21 Mike Frysinger <vapier@gentoo.org>
15329
15330 * configure.in: Move assembler checks to before sysdep dir checking.
15331
9bbd0ddc
PB
153322010-08-20 Petr Baudis <pasky@suse.cz>
15333
15334 * LICENSES: Sync the sunrpc license.
15335
9da4bb31
UD
153362010-08-19 Ulrich Drepper <drepper@redhat.com>
15337
a7ab6ec8
UD
15338 * sunrpc/auth_des.c: Update copyright notice once again.
15339 * sunrpc/auth_none.c: Likewise.
15340 * sunrpc/auth_unix.c: Likewise.
15341 * sunrpc/authdes_prot.c: Likewise.
15342 * sunrpc/authuxprot.c: Likewise.
15343 * sunrpc/bindrsvprt.c: Likewise.
15344 * sunrpc/clnt_gen.c: Likewise.
15345 * sunrpc/clnt_perr.c: Likewise.
15346 * sunrpc/clnt_raw.c: Likewise.
15347 * sunrpc/clnt_simp.c: Likewise.
15348 * sunrpc/clnt_tcp.c: Likewise.
15349 * sunrpc/clnt_udp.c: Likewise.
15350 * sunrpc/clnt_unix.c: Likewise.
15351 * sunrpc/des_crypt.c: Likewise.
15352 * sunrpc/des_soft.c: Likewise.
15353 * sunrpc/get_myaddr.c: Likewise.
15354 * sunrpc/getrpcport.c: Likewise.
15355 * sunrpc/key_call.c: Likewise.
15356 * sunrpc/key_prot.c: Likewise.
15357 * sunrpc/openchild.c: Likewise.
15358 * sunrpc/pm_getmaps.c: Likewise.
15359 * sunrpc/pm_getport.c: Likewise.
15360 * sunrpc/pmap_clnt.c: Likewise.
15361 * sunrpc/pmap_prot.c: Likewise.
15362 * sunrpc/pmap_prot2.c: Likewise.
15363 * sunrpc/pmap_rmt.c: Likewise.
15364 * sunrpc/rpc/auth.h: Likewise.
15365 * sunrpc/rpc/auth_unix.h: Likewise.
15366 * sunrpc/rpc/clnt.h: Likewise.
15367 * sunrpc/rpc/des_crypt.h: Likewise.
15368 * sunrpc/rpc/key_prot.h: Likewise.
15369 * sunrpc/rpc/netdb.h: Likewise.
15370 * sunrpc/rpc/pmap_clnt.h: Likewise.
15371 * sunrpc/rpc/pmap_prot.h: Likewise.
15372 * sunrpc/rpc/pmap_rmt.h: Likewise.
15373 * sunrpc/rpc/rpc.h: Likewise.
15374 * sunrpc/rpc/rpc_des.h: Likewise.
15375 * sunrpc/rpc/rpc_msg.h: Likewise.
15376 * sunrpc/rpc/svc.h: Likewise.
15377 * sunrpc/rpc/svc_auth.h: Likewise.
15378 * sunrpc/rpc/types.h: Likewise.
15379 * sunrpc/rpc/xdr.h: Likewise.
15380 * sunrpc/rpc_clntout.c: Likewise.
15381 * sunrpc/rpc_cmsg.c: Likewise.
15382 * sunrpc/rpc_common.c: Likewise.
15383 * sunrpc/rpc_cout.c: Likewise.
15384 * sunrpc/rpc_dtable.c: Likewise.
15385 * sunrpc/rpc_hout.c: Likewise.
15386 * sunrpc/rpc_main.c: Likewise.
15387 * sunrpc/rpc_parse.c: Likewise.
15388 * sunrpc/rpc_parse.h: Likewise.
15389 * sunrpc/rpc_prot.c: Likewise.
15390 * sunrpc/rpc_sample.c: Likewise.
15391 * sunrpc/rpc_scan.c: Likewise.
15392 * sunrpc/rpc_scan.h: Likewise.
15393 * sunrpc/rpc_svcout.c: Likewise.
15394 * sunrpc/rpc_tblout.c: Likewise.
15395 * sunrpc/rpc_util.c: Likewise.
15396 * sunrpc/rpc_util.h: Likewise.
15397 * sunrpc/rpcinfo.c: Likewise.
15398 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15399 * sunrpc/rpcsvc/key_prot.x: Likewise.
15400 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15401 * sunrpc/rpcsvc/mount.x: Likewise.
15402 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15403 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15404 * sunrpc/rpcsvc/rex.x: Likewise.
15405 * sunrpc/rpcsvc/rstat.x: Likewise.
15406 * sunrpc/rpcsvc/rusers.x: Likewise.
15407 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15408 * sunrpc/rpcsvc/spray.x: Likewise.
15409 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15410 * sunrpc/rtime.c: Likewise.
15411 * sunrpc/svc.c: Likewise.
15412 * sunrpc/svc_auth.c: Likewise.
15413 * sunrpc/svc_authux.c: Likewise.
15414 * sunrpc/svc_raw.c: Likewise.
15415 * sunrpc/svc_run.c: Likewise.
15416 * sunrpc/svc_simple.c: Likewise.
15417 * sunrpc/svc_tcp.c: Likewise.
15418 * sunrpc/svc_udp.c: Likewise.
15419 * sunrpc/svc_unix.c: Likewise.
15420 * sunrpc/svcauth_des.c: Likewise.
15421 * sunrpc/xcrypt.c: Likewise.
15422 * sunrpc/xdr.c: Likewise.
15423 * sunrpc/xdr_array.c: Likewise.
15424 * sunrpc/xdr_float.c: Likewise.
15425 * sunrpc/xdr_mem.c: Likewise.
15426 * sunrpc/xdr_rec.c: Likewise.
15427 * sunrpc/xdr_ref.c: Likewise.
15428 * sunrpc/xdr_sizeof.c: Likewise.
15429 * sunrpc/xdr_stdio.c: Likewise.
15430
9da4bb31
UD
15431 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15432 handling.
15433
bdaa77bc
AS
154342010-08-19 Andreas Schwab <schwab@redhat.com>
15435
15436 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15437
fe2f79db
LM
154382010-08-19 Luis Machado <luisgpm@br.ibm.com>
15439
15440 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15441 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15442 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15443 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15444 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15445 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15446 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15447 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15449 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15450 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15451 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15452 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15453 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15454
b9b42ee0
AB
154552010-07-26 Anton Blanchard <anton@samba.org>
15456
15457 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15458 * malloc/arena.c (heap_trim): Likewise.
15459
1c06ba31
UD
154602010-08-16 Ulrich Drepper <drepper@redhat.com>
15461
15462 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15463 here. Not...
15464 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15465 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15466
f8392f40
L
154672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15468
15469 * sysdeps/i386/elf/Makefile: New file.
15470
3162f12e
AS
154712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15472
15473 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15474 from fanotify_init.
15475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15476 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15477
28c90b2c
UD
154782010-08-15 Ulrich Drepper <drepper@redhat.com>
15479
15480 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15481 of strncasecmp_l.
1feccb6c 15482 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15483
ca6bb004
UD
154842010-08-14 Ulrich Drepper <drepper@redhat.com>
15485
e9f82e0d
UD
15486 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15487 strncase_l-nonascii.
15488 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15489 Add strncase_l-ssse3.
15490 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15491 * sysdeps/x86_64/strcmp.S: Likewise.
15492 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15493 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15494 * sysdeps/x86_64/strncase.S: New file.
15495 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15496 * sysdeps/x86_64/strncase_l.S: New file.
15497 * string/Makefile (strop-tests): Add strncasecmp.
15498 * string/test-strncasecmp.c: New file.
15499
15500 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15501 warning.
15502
ca6bb004
UD
15503 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15504 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15505
052fa7b3
AS
155062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15507
15508 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15509
962dba78
UD
155102010-08-12 Ulrich Drepper <drepper@redhat.com>
15511
15512 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15513 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15514 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15515
bebff237
AM
155162010-05-01 Alan Modra <amodra@gmail.com>
15517
15518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15519 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15520 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15521 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15522 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15523 tidying. Don't tail-call __sigjmp_save for static lib.
15524 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15525 save location.
15526 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15527 (CALL_MCOUNT): Add eh info, and nop after bl.
15528 (TAIL_CALL_SYSCALL_ERROR): New macro.
15529 (PSEUDO_RET): Use it.
15530 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15531 Correct save location of integer regs and cr.
15532 (_dl_profile_resolve): Correct cr save location. Delete nops
15533 after bl when SHARED. Reduce cfi size a little by better
15534 placement of cfi directives.
15535 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15536 make a stack frame. Instead use parm save area as a temp.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15538 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15540 Don't make a stack frame for parent, use parm save area.
15541 Increase child stack frame to 112 bytes. Don't save unused reg,
15542 and adjust reg usage. Set up cfi on error recovery and
15543 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15545 (__makecontext): Add dummy nop after jump to exit.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15547 Use correct parm save area and cr save, reduce stack frame.
15548 Correct cfi for possible PSEUDO_RET frame setup.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15550 Branch to local label emitted by PSEUDO_RET rather than
15551 __syscall_error.
15552
02637374
AS
155532010-08-12 Andreas Schwab <schwab@redhat.com>
15554
15555 [BZ #11904]
15556 * locale/programs/locale.c (print_assignment): New function.
15557 (show_locale_vars): Use it.
15558
c3e2f19b
UD
155592010-08-11 Ulrich Drepper <drepper@redhat.com>
15560
3cdaa6ad
UD
15561 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15562 field.
15563 (struct statfs64): Likewise.
15564 (_STATFS_F_FLAGS): Define.
15565 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15566 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15567 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15568 (ST_VALID): Define locally.
15569 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15570 __statvfs_getflags, use the provided value.
15571 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15572 __ASSUME_STATFS_F_FLAGS.
15573
754f7da3
UD
15574 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15575
10b3bedc
UD
15576 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15577 Add sys/fanotify.h.
15578 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15579 fanotify_mask for GLIBC_2.13.
15580 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15581 fanotify_init and fanotify_mark.
15582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15583 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15584
c08fb0d7
UD
15585 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15586 Add prlimit.
15587 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15588 prlimit64 for GLIBC_2.13.
15589 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15590 prlimit64.
15591 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15592 syscall.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15594 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15595 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15598 add prlimit alias.
15599 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15600
15bac72b
UD
15601 [BZ #11903]
15602 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15603 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15604
c3e2f19b
UD
15605 * nss/Makefile: Add rules to build and run tst-nss-test1.
15606 * shlib-versions: Add entry for libnss_test1.
15607 * nss/nss_test1.c: New file.
15608 * nss/tst-nss-test1.c: New file.
15609
15610 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15611 (__nss_configure_lookup): Set appropriate entry in
15612 __nss_configure_lookup to true.
15613 * nss/nsswitch.h: Define enum with indeces of databases in
15614 databases and __nss_database_custom arrays. Declare
15615 __nss_database_custom.
15616 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15617 to avoid using nscd when custom rules are installed.
15618 * nss/getXXbyYY_r.c: Likewise.
15619 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15620
15621 * nss/nss_files/files-parse.c: Whitespace fixes.
15622
f15ce4d8
UD
156232010-08-09 Ulrich Drepper <drepper@redhat.com>
15624
15625 [BZ #11883]
15626 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15627 * posix/fnmatch_loop.c: Likewise.
15628
d22e4cc9
AK
156292010-07-17 Andi Kleen <ak@linux.intel.com>
15630
15631 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15632 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15633 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15634 * Versions.def [GLIBC_2.13]: Add.
15635
805bc17d
UD
156362010-08-06 Ulrich Drepper <drepper@redhat.com>
15637
15638 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15639 Also fail if tpwd after pwuid call is NULL.
15640
5a42321d
ST
156412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15642
15643 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15644 when converting to ms.
15645
fd3ebeda
ST
156462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15647
15648 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15649 EOPNOTSUPP errors with ENOTTY.
15650 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15651 EOPNOTSUPP errors with ENOTTY.
15652
73507d3a
UD
156532010-07-31 Ulrich Drepper <drepper@redhat.com>
15654
15655 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15656 Add strcasecmp_l-ssse3.
15657 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15658 strcasecmp.
15659 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15660 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15661 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15662
fe36dd02
UD
156632010-07-30 Ulrich Drepper <drepper@redhat.com>
15664
66f6765a
UD
15665 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15666
42e08a54
UD
15667 * string/Makefile (strop-tests): Add strcasecmp.
15668 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15669 strcasecmp_l-nonascii.
15670 (gen-as-const-headers): Add locale-defines.sym.
15671 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15672 * sysdeps/x86_64/strcasecmp.S: New file.
15673 * sysdeps/x86_64/strcasecmp_l.S: New file.
15674 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15675 * sysdeps/x86_64/locale-defines.sym: New file.
15676 * string/test-strcasecmp.c: New file.
15677
fe36dd02
UD
15678 * string/test-strcasestr.c: Test both ends of the range of characters.
15679 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15680
48cbc0d6
RM
156812010-07-29 Roland McGrath <roland@redhat.com>
15682
76e6d6bc 15683 [BZ #11856]
48cbc0d6
RM
15684 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15685
880113d9
UD
156862010-07-27 Ulrich Drepper <drepper@redhat.com>
15687
15688 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15689 for ld.so.
15690
deb9cabb
AS
156912010-07-27 Andreas Schwab <schwab@redhat.com>
15692
15693 * manual/memory.texi (Malloc Tunable Parameters): Document
15694 M_PERTURB.
15695
1c7570ff
RM
156962010-07-26 Roland McGrath <roland@redhat.com>
15697
15698 [BZ #11840]
15699 * configure.in (-fgnu89-inline check): Set and substitute
15700 gnu89_inline, not libc_cv_gnu89_inline.
15701 * configure: Regenerated.
15702 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15703
24fb0f88
UD
157042010-07-26 Ulrich Drepper <drepper@redhat.com>
15705
15706 * string/test-strnlen.c: New file.
15707 * string/Makefile (strop-tests): Add strnlen.
15708 * string/tester.c (test_strnlen): Add a few more test cases.
15709 * string/tst-strlen.c: Better error reporting.
15710
15711 * sysdeps/x86_64/strnlen.S: New file.
15712
8e96b93a
UD
157132010-07-24 Ulrich Drepper <drepper@redhat.com>
15714
15715 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15716 lower-latency instructions.
15717
dbc676d4
UD
157182010-07-23 Ulrich Drepper <drepper@redhat.com>
15719
15720 * string/test-strcasestr.c: New file.
15721 * string/test-strstr.c: New file.
15722 * string/Makefile (strop-tests): Add strstr and strcasestr.
15723 * string/str-two-way.h: Don't undefine MAX.
15724 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15725
f6a31e0e
AS
157262010-07-21 Andreas Schwab <schwab@redhat.com>
15727
15728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15729 strcasestr-nonascii.
15730 (CFLAGS-strcasestr-nonascii.c): Define.
15731 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15732 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15733 Remove unused attribute.
15734
5dbc3b6c
RM
157352010-07-20 Roland McGrath <roland@redhat.com>
15736
15737 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15738 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15739 ld.so.cache was broken. With it, there is no way to disable dsocaps
15740 like LD_HWCAP_MASK can disable hwcaps.
15741
23d101d8
EPM
157422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15743
15744 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15745
cc9f2e47
UD
157462010-07-16 Ulrich Drepper <drepper@redhat.com>
15747
15748 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15749 call in strcasestr.
15750 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15751 __strcasestr_sse42_nonascii.
15752 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15753 strcasestr-nonascii.c.
15754 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15755
77c1b069
LM
157562010-06-15 Luis Machado <luisgpm@br.ibm.com>
15757
15758 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15759 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15760 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15761 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15762
440566c3
UD
157632010-07-09 Ulrich Drepper <drepper@redhat.com>
15764
15765 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15766 fcntl.
15767
5be9d05d
AS
157682010-07-06 Andreas Schwab <schwab@redhat.com>
15769
c30b7ee2 15770 [BZ #11577]
5be9d05d
AS
15771 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15772 dl_signal_cerror.
15773
8a492a67
UD
157742010-07-06 Ulrich Drepper <drepper@redhat.com>
15775
15776 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15777 _PC_PIPE_BUF using F_GETPIPE_SZ.
15778
713df3d5
RM
157792010-07-05 Roland McGrath <roland@redhat.com>
15780
15781 * manual/arith.texi (Rounding Functions): Fix rint description
15782 implicit in round description.
15783
702e8f14
UD
157842010-07-02 Ulrich Drepper <drepper@redhat.com>
15785
15786 * elf/Makefile: Fix linking for a few tests to make recent linker
15787 happy.
15788
52ed8be9
AS
157892010-06-30 Andreas Schwab <schwab@redhat.com>
15790
15791 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15792 $(common-objpfx)libc_nonshared.a.
15793
f47c9a11
LM
157942010-06-21 Luis Machado <luisgpm@br.ibm.com>
15795
15796 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15797 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15798 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15799 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15800 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15801 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15802 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15803 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15818 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15819 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15820 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15821 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15822 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15823 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15824 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15825 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15826 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15827 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15828 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15829 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15844
6fb8cbcb
L
158452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15846
15847 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15848 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15849 * string/memmove.c (memmove): Renamed to ...
15850 (MEMMOVE): ...this. Default to memmove.
15851 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15852 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15853 (END_CHK): Define.
15854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15855 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15856 mempcpy-ssse3-back memmove-ssse3-back.
15857 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15860 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15861 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15862 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15863 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15864 * sysdeps/x86_64/multiarch/memmove.c: New file.
15865 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15866 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15867 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15868 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15869 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15870 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15871 Define.
15872 (index_Fast_Copy_Backward): Define.
15873 (HAS_ARCH_FEATURE): Define.
15874 (HAS_FAST_REP_STRING): Define.
15875 (HAS_FAST_COPY_BACKWARD): Define.
15876
4e733bac 158772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15878
15879 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15880 Restore proper fallback handling.
15881
63c4ed22
UD
158822010-06-19 Ulrich Drepper <drepper@redhat.com>
15883
ac2b484c
UD
15884 [BZ #11701]
15885 * posix/group_member.c (__group_member): Correct checking loop.
15886
63c4ed22
UD
15887 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15888 OOM in getpwuid_r correctly. Return error number when the caller
15889 should return, otherwise -1.
15890 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15891 call returning > 0 value.
15892 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15893
765ade4b
AS
158942010-06-07 Andreas Schwab <schwab@redhat.com>
15895
15896 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15897 libc_nonshared.a from targets in modules-names.
15898
80da2e09
KS
158992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15900
15901 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15902 requires it.
15903
158db122
LM
159042010-06-10 Luis Machado <luisgpm@br.ibm.com>
15905
15906 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15907 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15908 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15909 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15910
caa78cf8
AS
159112010-06-02 Andreas Schwab <schwab@redhat.com>
15912
15913 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15914
b2ef2c01
UD
159152010-06-14 Ulrich Drepper <drepper@redhat.com>
15916
15917 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15918 and F_GETPIPE_SZ.
15919 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15920 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15921 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15922 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15923 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15924 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15925
fbd643b6
RM
159262010-06-14 Roland McGrath <roland@redhat.com>
15927
15928 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15929
f32f2869
JJ
159302010-06-07 Jakub Jelinek <jakub@redhat.com>
15931
15932 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15933 __REDIRECT followed by __THROW.
15934 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15935 * posix/getopt.h (getopt): Likewise.
15936
2a50c078
EPM
159372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15938
15939 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15940 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15941 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15942 in AT_FLAGS.
15943 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15944 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15945
eb5ad2eb
LM
159462010-05-28 Luis Machado <luisgpm@br.ibm.com>
15947
15948 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15949
3c88fe1e
L
159502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15951
15952 [BZ #11640]
15953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15954 Properly check family and model.
15955
d2f73151
TY
159562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15957
15958 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15959
ebd2e13d
LM
159602010-05-24 Luis Machado <luisgpm@br.ibm.com>
15961
15962 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15963
b32b8b45
UD
159642010-05-21 Ulrich Drepper <drepper@redhat.com>
15965
15966 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15967 symbol reference.
15968
9acbe24d
AS
159692010-05-19 Andreas Schwab <schwab@redhat.com>
15970
15971 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15972 symbol reference.
15973
f0ccf6ea
AS
159742010-05-21 Andreas Schwab <schwab@redhat.com>
15975
3d04ff3a
AS
15976 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15977 and internal_recvmmsg.
15978 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15979 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15981 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15982
f0ccf6ea
AS
15983 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15984 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15985 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15986
5b08ac57
AS
159872010-05-20 Andreas Schwab <schwab@redhat.com>
15988
15989 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15990
4828935d
LM
159912010-05-17 Luis Machado <luisgpm@br.ibm.com>
15992
15993 POWER7 optimizations.
15994 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15995 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15996
373d545e
UD
159972010-05-19 Ulrich Drepper <drepper@redhat.com>
15998
15999 * version.h: Update for 2.13 development version.
16000
21a2b1ae
AS
160012010-05-12 Andrew Stubbs <ams@codesourcery.com>
16002
16003 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16004 exceptions. Return 0.
16005
3f7dcb2b
RM
160062010-05-07 Roland McGrath <roland@redhat.com>
16007
16008 * elf/ldconfig.c (main): Add a const.
16009
5f24d53a 160102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16011
a160f8d8
UD
16012 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16013 (args_options): Add no-idn option.
16014 (ahosts_keys_int): Add idn_flags to ai_flags.
16015 (parse_option): Handle 'i' option to clear idn_flags.
16016
5f24d53a
UD
16017 * malloc/malloc.c (_int_free): Possible race in the most recently
16018 added check. Only act on the data if no current modification
16019 happened.
265bb1ce
UD
16020
16021See ChangeLog.17 for earlier changes.