]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use x86_64 bits/setjmp.h for i386/x86_64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7dc00e0d
L
12012-05-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 [BZ #14117]
d48d0446
L
4 * sysdeps/i386/bits/setjmp.h: Removed.
5 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
6 * sysdeps/x86/bits/setjmp.h: This.
7
7dc00e0d
L
8 * sysdeps/i386/bits/mathdef.h: Removed.
9 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
10 * sysdeps/x86/bits/mathdef.h: This.
11
03277f8f
AS
122012-05-30 Andreas Schwab <schwab@linux-m68k.org>
13
14 [BZ #14132]
15 * include/sys/socket.h (__connect_internal)
16 (__libc_sa_len_internal): Remove declaration.
17 (__connect, __libc_sa_len): Declare hidden_proto.
18 (SA_LEN): Remove use of INTUSE.
19 * socket/connect.c: Add libc_hidden_def.
20 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
21 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
22 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
23 alias.
24 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27 of adding _internal alias.
28
13764867
L
292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
30
31 [BZ #14117]
6bd97696
L
32 * sysdeps/i386/bits/link.h: Removed.
33 * sysdeps/i386/bits/linkmap.h: Likewise.
34 * sysdeps/x86_64/bits/link.h: Renamed to ...
35 * sysdeps/x86/bits/link.h: This.
36 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37 * sysdeps/x86/bits/linkmap.h: This.
38
f726f0bb
L
39 * sysdeps/i386/bits/endian.h: Removed.
40 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41 * sysdeps/x86/bits/endian.h: This.
42
13764867
L
43 * sysdeps/i386/bits/byteswap.h: Removed.
44 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46 * sysdeps/x86/bits/byteswap.h: This.
47 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
48 * sysdeps/x86/bits/byteswap-16.h: This.
49 * sysdeps/i386/Implies: Add x86.
50 * sysdeps/x86_64/Implies: Likewise.
51
ae251b0b
DM
522012-05-30 David S. Miller <davem@davemloft.net>
53
54 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
55 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
56 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57 (FP_TRAPPING_EXCEPTIONS): Define.
58 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59 (FP_TRAPPING_EXCEPTIONS): Define.
60 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
61 subnormals only when inexact has been signalled or underflow
62 exceptions are enabled.
63 (_FP_PACK_CANONICAL): Likewise.
64
d5c90867
L
652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
66
67 [BZ #14183]
68 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
69 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70
63f1549e
RH
712012-05-30 Richard Henderson <rth@twiddle.net>
72
8d8f2279
RH
73 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74 with #ifndef NOT_IN_libc.
75
63f1549e
RH
76 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
77 marked to avoid plt entry.
78
0ab0291b
L
792012-05-30 H.J. Lu <hongjiu.lu@intel.com>
80
81 [BZ #14112]
82 * Makeconfig (default-abi): New macro.
83 (abi-includes): Likewise.
84 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
85 $(abi-$(default-abi)-lib-soname) for soname if defined.
86 ($(common-objpfx)gnu/lib-names.stmp): Generate from
87 abi-variants.
88 * Makefile (installed-stubs): Likewise.
89 * include/stubs-biarch.h: Removed.
90 * scripts/lib-names.awk: Only handle one library at a time.
91 * scripts/soversions.awk: Remove WORDSIZE support.
92 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
93 entries.
94 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
95 Removed.
96 (syscall-list-default-condition): Likewise.
97 (syscall-list-default-condition): Likewise.
98 (syscall-list-includes): Likewise.
99 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
100 syscall-list-* with abi-*. Handle undefined abi-variants.
101 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
102 * sysdeps/unix/sysv/linux/i386/Implies: New file.
103 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
104 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
105 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
106 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
107 Removed.
108 (syscall-list-32-options): Likewise.
109 (syscall-list-32-condition): Likewise.
110 (syscall-list-64-options): Likewise.
111 (syscall-list-64-condition): Likewise.
112 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
113 macro.
114 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
115 Renamed to ...
116 (abi-*): This.
117 (abi-64-ld-soname): New macro.
118 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
119 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
120 Renamed to ...
121 (abi-*): This.
122 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
123 * sysdeps/x86_64/x32/shlib-versions: Likewise.
124
4da0431d
JM
1252012-05-30 Joseph Myers <joseph@codesourcery.com>
126
3a85279c
JM
127 * sysdeps/unix/sysv/linux/kernel-features.h
128 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
129 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
130 include <kernel-features.h>.
131 [!__NR_ftruncate64]: Remove conditional code.
132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
133 [__NR_ftruncate64]: Make code unconditional.
134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
135 * sysdeps/unix/sysv/linux/truncate64.c: Do not
136 include <kernel-features.h>.
137 [!__NR_ftruncate64]: Remove conditional code.
138 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
139 [__NR_ftruncate64]: Make code unconditional.
140 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
142 include <kernel-features.h>.
143 [!__NR_ftruncate64]: Remove conditional code.
144 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
145 [__NR_ftruncate64]: Make code unconditional.
146 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
148 include <kernel-features.h>.
149 [!__NR_ftruncate64]: Remove conditional code.
150 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
151 [__NR_ftruncate64]: Make code unconditional.
152 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
153
4da0431d
JM
154 * configure.in (libc_cv_fpie): Weaken to a compile test using
155 LIBC_TRY_CC_OPTION.
156 * configure: Regenerated.
157
11ef492c
AK
1582012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
159
160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
164 Refreshed.
165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
171 Refreshed.
172
d66ef399
DM
1732012-05-27 David S. Miller <davem@davemloft.net>
174
175 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
176 (___Q_zero): New.
177 (__Q_simulate_exceptions): Return void. Change to simulate
178 exceptions by writing into the %fsr.
179 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
180 (__Qp_handle_exceptions): Likewise.
181 (numbers): Delete.
182 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
183 __Qp_handle_exceptions.
184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
185 __Qp_handle_exceptions.
186 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
187 as unused and give dummy FP_RND_NEAREST initializer.
188 (FP_INHIBIT_RESULTS): Define.
189 (___Q_simulate_exceptions): Update declaration.
190 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
191 formatting.
192 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
193 as unused and give dummy FP_RND_NEAREST initializer.
194 (__Qp_handle_exceptions): Update declaration.
195 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
196 formatting.
197
04fb54b5
TS
1982012-05-27 Thomas Schwinge <thomas@codesourcery.com>
199
200 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
201 the temporary FPU control word.
202 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
203 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
204 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
205 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
206 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
207 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
208 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
209 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
210 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
211 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
212 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
213
3f99608f
KK
2142012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
215
216 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
217 fields.
218
65a4de4e
CLT
2192012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
220
221 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
222 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
223 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
224 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
225 Likewise.
226 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
227 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
228 Likewise.
229
15749d40
UD
2302012-05-27 Ulrich Drepper <drepper@gmail.com>
231
232 * po/h.po: Update from translation team.
233
25dbcb27
AS
2342012-05-26 Andreas Schwab <schwab@linux-m68k.org>
235
3d3f8e55
AS
236 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
237
25dbcb27
AS
238 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
239 handling of denormals.
240 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
241 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
242 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
245 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
246 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
247 Likewise.
248
7ad47a80 2492012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
250
251 [BZ #14152]
252 * math/libm-test.inc (fma_test): Don't always expect underflow
253 exception.
254
9c6ea9fa
SP
2552012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
256
257 [BZ #12416]
258 * elf/tst-execstack.c: Include stackinfo.h.
259 (do_test): Adjust test case to ensure that pthread_getattr_np
260 behaviour remains the same after marking stack executable.
261
a8239222
JM
2622012-05-25 Joseph Myers <joseph@codesourcery.com>
263
264 * sysdeps/unix/sysv/linux/kernel-features.h
265 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
266 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
267 kernel-features.h.
268 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
269 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
270 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
271 kernel-features.h.
272 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
273 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
274
918b5606
L
2752012-05-25 H.J. Lu <hongjiu.lu@intel.com>
276
277 * configure.in: Define the default includes to being none.
278 * configure: Regenerated.
279
3a097cc7
RM
2802012-05-25 Roland McGrath <roland@hack.frob.com>
281
8422c9a5
RM
282 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
283 * sysdeps/x86_64/setjmp.S: Likewise.
284 * sysdeps/i386/bsd-setjmp.S: Likewise.
285 * sysdeps/i386/bsd-_setjmp.S: Likewise.
286 * sysdeps/i386/setjmp.S: Likewise.
287 * sysdeps/i386/__longjmp.S: Likewise.
288 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
289 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
290
3a097cc7
RM
291 * include/stap-probe.h: New file.
292 * configure.in: Handle --enable-systemtap.
293 * configure: Regenerated.
294 * config.h.in (USE_STAP_PROBE): New #undef.
295 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
296 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
297 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
298
21708942
JM
2992012-05-25 Joseph Myers <joseph@codesourcery.com>
300
301 [BZ #13717]
302 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
303 to 2.4.0 where earlier.
304 * sysdeps/unix/sysv/linux/configure: Regenerated.
305 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
314 [__ASSUME_32BITUIDS]: Make code unconditional.
315 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
316 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
317 <kernel-features.h>.
318 [__ASSUME_32BITUIDS]: Make code unconditional.
319 [!__ASSUME_32BITUIDS]: Remove conditional code.
320 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
321 <kernel-features.h>.
322 [__ASSUME_32BITUIDS]: Make code unconditional.
323 [!__ASSUME_32BITUIDS]: Remove conditional code.
324 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
325 <kernel-features.h>.
326 [__ASSUME_32BITUIDS]: Make code unconditional.
327 [!__ASSUME_32BITUIDS]: Remove conditional code.
328 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
329 <kernel-features.h>.
330 [__ASSUME_32BITUIDS]: Make code unconditional.
331 [!__ASSUME_32BITUIDS]: Remove conditional code.
332 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
333 <kernel-features.h>.
334 [__ASSUME_32BITUIDS]: Make code unconditional.
335 [!__ASSUME_32BITUIDS]: Remove conditional code.
336 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
337 <kernel-features.h>.
338 [__ASSUME_32BITUIDS]: Make code unconditional.
339 [!__ASSUME_32BITUIDS]: Remove conditional code.
340 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
341 <kernel-features.h>.
342 [__ASSUME_32BITUIDS]: Make code unconditional.
343 [!__ASSUME_32BITUIDS]: Remove conditional code.
344 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
345 <kernel-features.h>.
346 [__ASSUME_32BITUIDS]: Make code unconditional.
347 [!__ASSUME_32BITUIDS]: Remove conditional code.
348 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
349 <kernel-features.h>.
350 [__ASSUME_32BITUIDS]: Make code unconditional.
351 [!__ASSUME_32BITUIDS]: Remove conditional code.
352 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
353 <kernel-features.h>.
354 [__ASSUME_32BITUIDS]: Make code unconditional.
355 [!__ASSUME_32BITUIDS]: Remove conditional code.
356 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
357 <kernel-features.h>.
358 [__NR_setresgid] (__setresgid): Do not declare.
359 [__ASSUME_32BITUIDS]: Make code unconditional.
360 [!__ASSUME_32BITUIDS]: Remove conditional code.
361 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
362 <kernel-features.h>.
363 [__NR_setresuid] (__setresuid): Do not declare.
364 [__ASSUME_32BITUIDS]: Make code unconditional.
365 [!__ASSUME_32BITUIDS]: Remove conditional code.
366 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
367 <kernel-features.h>.
368 [__ASSUME_32BITUIDS]: Make code unconditional.
369 [!__ASSUME_32BITUIDS]: Remove conditional code.
370 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
371 <kernel-features.h>.
372 [__ASSUME_32BITUIDS]: Make code unconditional.
373 [!__ASSUME_32BITUIDS]: Remove conditional code.
374 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
375 <kernel-features.h>.
376 [__ASSUME_32BITUIDS]: Make code unconditional.
377 [!__ASSUME_32BITUIDS]: Remove conditional code.
378 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
379 <kernel-features.h>.
380 [__ASSUME_32BITUIDS]: Make code unconditional.
381 [!__ASSUME_32BITUIDS]: Remove conditional code.
382 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
383 <kernel-features.h>.
384 [__ASSUME_32BITUIDS]: Make code unconditional.
385 [!__ASSUME_32BITUIDS]: Remove conditional code.
386 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
387 <kernel-features.h>.
388 [__ASSUME_32BITUIDS]: Make code unconditional.
389 [!__ASSUME_32BITUIDS]: Remove conditional code.
390 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
391 <kernel-features.h>.
392 [__ASSUME_32BITUIDS]: Make code unconditional.
393 [!__ASSUME_32BITUIDS]: Remove conditional code.
394 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
395 <kernel-features.h>.
396 [__ASSUME_32BITUIDS]: Make code unconditional.
397 [!__ASSUME_32BITUIDS]: Remove conditional code.
398 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
399 <kernel-features.h>.
400 [__ASSUME_32BITUIDS]: Make code unconditional.
401 [!__ASSUME_32BITUIDS]: Remove conditional code.
402 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
403 <kernel-features.h>.
404 [__ASSUME_32BITUIDS]: Make code unconditional.
405 [!__ASSUME_32BITUIDS]: Remove conditional code.
406 * sysdeps/unix/sysv/linux/kernel-features.h
407 (__ASSUME_SETRESUID_SYSCALL): Remove.
408 (__ASSUME_SETRESGID_SYSCALL): Likewise.
409 (__ASSUME_32BITUIDS): Likewise.
410 (__ASSUME_LDT_WORKS): Likewise.
411 (__ASSUME_O_DIRECTORY): Likewise.
412 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
413 architecture but not kernel version.
414 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
415 (__ASSUME_MMAP2_SYSCALL): Likewise.
416 (__ASSUME_STAT64_SYSCALL): Likewise.
417 (__ASSUME_IPC64): Likewise.
418 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
419 <kernel-features.h>.
420 [__ASSUME_32BITUIDS]: Make code unconditional.
421 [!__ASSUME_32BITUIDS]: Remove conditional code.
422 * sysdeps/unix/sysv/linux/opendir.c: Do not include
423 <kernel-features.h>.
424 [__ASSUME_O_DIRECTORY]: Make code unconditional.
425 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
426 132096]: Remove conditional code.
427 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
428 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
429 <kernel-features.h>.
430 [__ASSUME_32BITUIDS]: Make code unconditional.
431 [!__ASSUME_32BITUIDS]: Remove conditional code.
432 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
433 <kernel-features.h>.
434 [__ASSUME_32BITUIDS]: Make code unconditional.
435 [!__ASSUME_32BITUIDS]: Remove conditional code.
436 * sysdeps/unix/sysv/linux/setegid.c: Do not include
437 <kernel-features.h>.
438 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
439 unconditional.
440 (__setresgid): Do not declare.
441 [__ASSUME_32BITUIDS]: Make code unconditional.
442 [!__ASSUME_32BITUIDS]: Remove conditional code.
443 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
444 <kernel-features.h>.
445 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
446 unconditional.
447 (__setresuid): Do not declare.
448 [__ASSUME_32BITUIDS]: Make code unconditional.
449 [!__ASSUME_32BITUIDS]: Remove conditional code.
450 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
451 <kernel-features.h>.
452 [__ASSUME_32BITUIDS]: Make code unconditional.
453 [!__ASSUME_32BITUIDS]: Remove conditional code.
454 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
455 <kernel-features.h>.
456 [__ASSUME_32BITUIDS]: Make code unconditional.
457 [!__ASSUME_32BITUIDS]: Remove conditional code.
458
a386f1cc
RH
4592012-05-25 Richard Henderson <rth@twiddle.net>
460
461 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
462 dl_hwcap to ifunc resolver.
463 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
464 elf_ifunc_invoke.
465 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
466 dl_hwcap to ifunc resolver.
467 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
468
b6550497
JM
4692012-05-24 Joseph Myers <joseph@codesourcery.com>
470
471 [BZ #14153]
472 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
473 for |x| <= 2**-26, not 2**-57.
474 * math/libm-test.inc (acos_test): Do not allow spurious underflow
475 exception.
476
b0bc23a1
JL
4772012-05-24 Jeff Law <law@redhat.com>
478
479 * stdio-common/Makefile (tests): Add bug25.
480 * stdio-common/bug25.c: New test.
481
347c92e9
L
4822012-05-24 H.J. Lu <hongjiu.lu@intel.com>
483
484 [BZ #13576]
485 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
486 multiple of MALLOC_ALIGNMENT in size.
487 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
488
6bcc8b3f
JM
4892012-05-24 Joseph Myers <joseph@codesourcery.com>
490
491 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
492 Require >= 256.
493 (FILENAME_MAX): Use macro-int-constant.
494 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
495 (_IOFBF): Use macro-int-constant.
496 (_IOLBF): Likewise.
497 (_IONBF): Likewise.
498 (SEEK_CUR): Likewise.
499 (SEEK_END): Likewise.
500 (SEEK_SET): Likewise.
501 (TMP_MAX): Likewise.
502 (EOF): Use macro-int-constant. Require < 0.
503 (NULL): Use macro-constant. Require == 0.
504 (stdin): Require type to be FILE *.
505 (stdout): Likewise.
506 (stderr): Likewise.
507 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
508 macro-int-constant.
509 (EXIT_SUCCESS): Likewise.
510 (NULL): Use macro-constant. Require == 0.
511 (RAND_MAX): Use macro-int-constant.
512 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
513 [C99-based standards] (strtof): Require function.
514 [C99-based standards] (strtold): Likewise.
515 [C99-based standards] (strtoll): Likewise.
516 [C99-based standards] (strtoull): Likewise.
517 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
518 [ISO || ISO99 || ISO11] (limits.h): Likewise.
519 [ISO || ISO99 || ISO11] (math.h): Likewise.
520 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
521 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
522 [ISO || ISO99 || ISO11] (*_t): Do not allow.
523
d18ea0c5
AS
5242012-05-24 Andreas Schwab <schwab@linux-m68k.org>
525
526 [BZ #14132]
56d25bb8
AS
527 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
528 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
529 * intl/dgettext.c (DCGETTEXT): Likewise.
530 * intl/gettext.c (DCGETTEXT): Likewise.
531 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
532 * posix/regex_internal.h (gettext): Likewise.
533 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
534 Remove declaration.
535 * include/argz.h (__argz_count_internal)
536 (__argz_stringify_internal): Remove declaration.
537 (__argz_count, __argz_stringify): Declare hidden proto.
538 * intl/dcgettext.c: Remove use of INTDEF.
539 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
540 * string/argz-stringify.c: Likewise.
541 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
542 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
543 Declare hidden proto.
d18ea0c5
AS
544 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
545 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
546 Declare hidden proto.
547 * include/stdio.h (__asprintf_internal): Don't declare.
548 (__asprintf): Don't define as macro. Declare hidden proto.
549 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
550 (__fsetlocking): Declare hidden proto.
551 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
552 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
553 hidden proto.
554 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
555 (_IO_setlinebuf): Remove use of INTUSE.
556 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
557 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
558 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
559 Remove declaration.
560 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
561 (_IO_do_flush): Remove use of INTUSE.
562 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
563 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
564 (_IO_adjust_column, _IO_least_wmarker)
565 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
566 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
567 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
568 (_IO_default_doallocate, _IO_wdefault_doallocate)
569 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
570 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
571 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
572 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
573 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
574 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
575 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
576 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
577 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
578 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
579 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
580 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
581 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
582 proto.
583 (_IO_flush_all_internal, _IO_adjust_column_internal)
584 (_IO_default_uflow_internal, _IO_default_finish_internal)
585 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
586 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
587 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
588 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
589 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
590 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
591 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
592 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
593 (_IO_file_close_internal, _IO_file_close_it_internal)
594 (_IO_file_underflow_internal, _IO_file_overflow_internal)
595 (_IO_file_init_internal, _IO_file_attach_internal)
596 (_IO_file_fopen_internal, _IO_file_read_internal)
597 (_IO_file_sync_internal, _IO_file_seek_internal)
598 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
599 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
600 (_IO_str_underflow_internal, _IO_str_overflow_internal)
601 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
602 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
603 (_IO_list_all_internal, _IO_link_in_internal)
604 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
605 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
606 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
607 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
608 (_IO_do_write_internal, _IO_padn_internal)
609 (_IO_getline_info_internal, _IO_getline_internal)
610 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
611 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
612 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
613 (_IO_vfscanf_internal, _IO_vfprintf_internal)
614 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
615 (_IO_init_internal, _IO_un_link_internal): Don't declare.
616 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
617 with libc_hidden_ver, remove use of INTUSE.
618 * libio/genops.c: Likewise.
619 * libio/freopen.c: Likewise.
620 * libio/freopen64.c: Likewise.
621 * libio/iofclose.c: Likewise.
622 * libio/iofdopen.c: Likewise.
623 * libio/iofflush.c: Likewise.
624 * libio/iofflush_u.c: Likewise.
625 * libio/iofgets.c: Likewise.
626 * libio/iofgets_u.c: Likewise.
627 * libio/iofopen.c: Likewise.
628 * libio/iofopncook.c: Likewise.
629 * libio/iofread.c: Likewise.
630 * libio/iofread_u.c: Likewise.
631 * libio/ioftell.c: Likewise.
632 * libio/iofwrite.c: Likewise.
633 * libio/iogetline.c: Likewise.
634 * libio/iogets.c: Likewise.
635 * libio/iogetwline.c: Likewise.
636 * libio/iopadn.c: Likewise.
637 * libio/iopopen.c: Likewise.
638 * libio/ioseekoff.c: Likewise.
639 * libio/ioseekpos.c: Likewise.
640 * libio/iosetbuffer.c: Likewise.
641 * libio/iosetvbuf.c: Likewise.
642 * libio/ioungetc.c: Likewise.
643 * libio/ioungetwc.c: Likewise.
644 * libio/iovdprintf.c: Likewise.
645 * libio/iovsprintf.c: Likewise.
646 * libio/iovsscanf.c: Likewise.
647 * libio/memstream.c: Likewise.
648 * libio/obprintf.c: Likewise.
649 * libio/oldfileops.c: Likewise.
650 * libio/oldiofclose.c: Likewise.
651 * libio/oldiofdopen.c: Likewise.
652 * libio/oldiofopen.c: Likewise.
653 * libio/oldiopopen.c: Likewise.
654 * libio/oldstdfiles.c: Likewise.
655 * libio/putc.c: Likewise.
656 * libio/setbuf.c: Likewise.
657 * libio/setlinebuf.c: Likewise.
658 * libio/stdfiles.c: Likewise.
659 * libio/strops.c: Likewise.
660 * libio/vasprintf.c: Likewise.
661 * libio/vscanf.c: Likewise.
662 * libio/vsnprintf.c: Likewise.
663 * libio/vswprintf.c: Likewise.
664 * libio/wfiledoalloc.c: Likewise.
665 * libio/wfileops.c: Likewise.
666 * libio/wgenops.c: Likewise.
667 * libio/wmemstream.c: Likewise.
668 * libio/wstrops.c: Likewise.
669 * libio/__fpurge.c: Likewise.
670 * libio/__fsetlocking.c: Likewise.
671 * assert/assert.c: Likewise.
672 * debug/fgets_chk.c: Likewise.
673 * debug/fgets_u_chk.c: Likewise.
674 * debug/fread_chk.c: Likewise.
675 * debug/fread_u_chk.c: Likewise.
676 * debug/gets_chk.c: Likewise.
677 * debug/obprintf_chk.c: Likewise.
678 * debug/vasprintf_chk.c: Likewise.
679 * debug/vdprintf_chk.c: Likewise.
680 * debug/vsnprintf_chk.c: Likewise.
681 * debug/vsprintf_chk.c: Likewise.
682 * malloc/mtrace.c: Likewise.
683 * misc/error.c: Likewise.
684 * misc/syslog.c: Likewise.
685 * stdio-common/asprintf.c: Likewise.
686 * stdio-common/fxprintf.c: Likewise.
687 * stdio-common/getw.c: Likewise.
688 * stdio-common/isoc99_fscanf.c: Likewise.
689 * stdio-common/isoc99_scanf.c: Likewise.
690 * stdio-common/isoc99_vfscanf.c: Likewise.
691 * stdio-common/isoc99_vscanf.c: Likewise.
692 * stdio-common/isoc99_vsscanf.c: Likewise.
693 * stdio-common/printf-prs.c: Likewise.
694 * stdio-common/printf_fp.c: Likewise.
695 * stdio-common/printf_fphex.c: Likewise.
696 * stdio-common/printf_size.c: Likewise.
697 * stdio-common/putw.c: Likewise.
698 * stdio-common/scanf.c: Likewise.
699 * stdio-common/sprintf.c: Likewise.
700 * stdio-common/tmpfile.c: Likewise.
701 * stdio-common/vfprintf.c: Likewise.
702 * stdio-common/vfscanf.c: Likewise.
703 * stdlib/strfmon_l.c: Likewise.
704 * sunrpc/openchild.c: Likewise.
705 * sunrpc/xdr_stdio.c: Likewise.
706 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
707 * sysdeps/mach/hurd/tmpfile.c: Likewise.
708
d6c33fda
RM
7092012-05-24 Roland McGrath <roland@hack.frob.com>
710
c1487492
RM
711 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
712
713 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
714 in the third column, to generate for the shared library an IFUNC
715 that uses _dl_vdso_vsym.
716 * Makerules (COMPILE.c, compile-stdin.c): New variables.
717 * Makeconfig (object-suffixes-noshared): New variable.
718
719 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
720 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
721 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
722 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
723
d6c33fda
RM
724 [BZ #14132]
725 * include/sys/time.h (__gettimeofday): Remove macro.
726 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
727 * time/gettimeofday.c (__gettimeofday): Remove #undef.
728 Remove INTDEF.
729 (__gettimeofday): Add libc_hidden_def.
730 (gettimeofday): Add libc_hidden_weak.
731 * sysdeps/mach/gettimeofday.c: Likewise.
732 * sysdeps/posix/gettimeofday.c: Likewise.
733 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
734 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
736 (__gettimeofday_internal): Remove strong_alias.
737 (__gettimeofday): Add libc_hidden_def.
738 (gettimeofday): Add libc_hidden_weak.
739 * sysdeps/unix/syscalls.list (gettimeofday):
740 Remove __gettimeofday_internal alias.
741
b5a2bbe6
L
7422012-05-24 Daniel Jacobowitz <drow@false.org>
743 H.J. Lu <hongjiu.lu@intel.com>
744
745 [BZ #12495]
746 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
747 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
748 (largebin_index_32_big): New.
749 (largebin_index): Use it for 16-byte alignment.
750 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
751 correction with front_misalign.
752
cfba4fda
L
7532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
754
7f907421
L
755 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
757 Likewise.
758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
759 Likewise.
760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
761 Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
763 Likewise.
764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
765 Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
767 Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
769 Likewise.
770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
771 Likewise.
772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
773 Likewise.
774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
775 Likewise.
776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
777 Likewise.
778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
779 Likewise.
780
cfba4fda
L
781 * scripts/data/c++-types-x32-linux-gnu.data: New file.
782 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
783
80bad0cc
JM
7842012-05-24 Joseph Myers <joseph@codesourcery.com>
785
7a25eb06
JM
786 [BZ #10846]
787 [BZ #14036]
788 * math/libm-test.inc (exp_test): Add test from bug 14036.
789 (pow_test): Add test from bug 10846.
790
795405f9
JM
791 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
792 and other flags.
793 (special_function): Do not include flags in test name.
794 (parse_args): Likewise.
795 * sysdeps/i386/fpu/libm-test-ulps: Update.
796 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
797 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
798 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
800
80bad0cc
JM
801 * math/gen-libm-test.pl (%beautify): Add entries for underflow
802 exceptions.
803 * math/libm-test.inc ("Philosophy"): Update comment about
804 exception testing.
805 (UNDERFLOW_EXCEPTION): New macro.
806 (UNDERFLOW_EXCEPTION_OK): Likewise.
807 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
808 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
809 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
810 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
811 (INVALID_EXCEPTION_OK): Update value.
812 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
813 (OVERFLOW_EXCEPTION_OK): Likewise.
814 (IGNORE_ZERO_INF_SIGN): Likewise.
815 (test_exceptions): Handle underflow exceptions.
816 (acos_test): Update for underflow exception expectations.
817 (cexp_test): Likewise.
818 (clog_test): Likewise.
819 (clog10_test): Likewise.
820 (csqrt_test): Likewise.
821 (ctan_test): Likewise.
822 (ctanh_test): Likewise.
823 (exp_test): Likewise.
824 (exp10_test): Likewise.
825 (exp2_test): Likewise.
826 (expm1_test): Likewise.
827 (fma_test): Likewise.
828 (j0_test): Likewise.
829 (jn_test): Likewise.
830 (nexttoward_test): Likewise.
831 (pow_test): Likewise.
832 (scalbn_test): Likewise.
833 (scalbln_test): Likewise.
834 (tan_test): Likewise.
835 (y1_test): Likewise.
836 * sysdeps/i386/fpu/libm-test-ulps: Update.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
838
9e0e3d0b
DM
8392012-05-23 David S. Miller <davem@davemloft.net>
840
841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
842 (__libc_sigaction): Remove unused local variables.
843
ccd0a08f
L
8442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
845
846 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
847
62bdf9a6
PE
8482012-05-23 Paul Eggert <eggert@cs.ucla.edu>
849
f8591f80
PE
850 mktime: avoid signed integer overflow
851 * time/mktime.c (__mktime_internal): Do not mishandle the case
852 where diff == INT_MIN.
853
94c7d826
PE
854 mktime: simplify computation of average
855 * time/mktime.c (ranged_convert): Use new time_t_avg function
856 instead of rolling our own (probably-slower) code.
857
ce73d683
PE
858 mktime: do not assume signed right shift propagates sign bit
859 * time/mktime.c (isdst_differ): New static function.
860 (__mktime_internal): No need to normalize tm_isdst now.
861 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
862 tm_isdst values.
863
72a22e59
PE
864 mktime: merge another wrapv change from gnulib
865 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
866 from some compilers.
867
68605433
PE
868 mktime: remove incorrect attempt at unusual arithmetics
869 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
870 The code didn't really work on such machines anyway.
871 (TYPE_MINIMUM): Assume two's complement.
872 (twos_complement_arithmetic): Verify that long_int and time_t
873 are two's complement (or unsigned, in the latter case).
874
03cf7fe3
PE
875 mktime: check signed shifts on long_int and time_t, too
876 * time/mktime.c (SHR): Check that shifts work as desired
877 on the types long_int and time_t too, as SHR is used on
878 such types.
879
f04dfbc2
PE
880 mktime: do not assume 'long' is wide enough
881 * time/mktime.c (verify): Move decl up.
882 (long_int): New type.
883 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
884 to remove assumption in the code that 'long' is wide enough to
885 store year values. This assumption is not true on x32 and on
886 some non-glibc platforms.
887
62bdf9a6
PE
888 mktime: merge wrapv change from gnulib
889 * time/mktime.c (WRAPV): New macro.
890 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
891 (guess_time_tm, __mktime_internal): Do not assume that signed
892 integer overflow wraps around; modern compilers generate code
893 where this assumption is no longer valid.
894
5e292e4f
L
8952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
896
897 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
898 Replace "jmp L(pseudo_end)" with "ret".
899 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
900 Likewise.
901
8caf8c87
AJ
9022012-05-23 Andreas Jaeger <aj@suse.de>
903
904 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
905 * sysdeps/unix/sysv/linux/poll.c: Remove file.
906
1a09dc56
AJ
9072012-05-23 Andreas Jaeger <aj@suse.de>
908 Maximilian Attems <max@stro.at>
909
910 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
911 New macros.
912
1c87aba0
L
9132012-05-23 H.J. Lu <hongjiu.lu@intel.com>
914
915 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
916 code so that pseudo_end is just ret and the stack pointer is
917 correct also for static library in error case.
918
40e45bd5
JM
9192012-05-23 Joseph Myers <joseph@codesourcery.com>
920
c2670533
JM
921 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
922 move to syscalls.list.
923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
927
40e45bd5
JM
928 * manual/install.texi (Running make install): Do not mention Linux
929 kernel version for which pt_chown is not needed.
930 (Linux): Do not mention problems with nscd with 2.0 kernels.
931 * INSTALL: Regenerated.
932
be08eda5
AJ
9332012-05-23 Andreas Jaeger <aj@suse.de>
934
935 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
936 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
937 macro.
938 * sysdeps/unix/sysv/linux/s390/bits/mman.h
939 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
940 * sysdeps/unix/sysv/linux/sh/bits/mman.h
941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
942 * sysdeps/unix/sysv/linux/i386/bits/mman.h
943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
944 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
946 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
948 * sysdeps/unix/sysv/linux/bits/in.h
949 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
950
a6a056bb
RM
9512012-05-22 Roland McGrath <roland@hack.frob.com>
952
953 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
954 (PREPARE_VERSION): Just use assert instead, it will be elided
955 under [NDEBUG] anyway.
956
c9009328
L
9572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
958
959 * sysdeps/unix/sysv/linux/Makefile: Include
960 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 961 (sysdep_routines): Remove sysctl.
c9009328
L
962 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
963 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
964 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
965 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
966 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
967
73338355
AJ
9682012-05-22 Andreas Jaeger <aj@suse.de>
969
970 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
971 that pseudo_end is just ret and the stack pointer is correct also
972 for static library in error case.
973
d44638b0
PP
9742012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
975
976 [BZ #14122]
977 * nss/nsswitch.c (defconfig_entries): New variable.
978 (__nss_database_lookup): Don't leak defconfig entries.
979 (nss_parse_service_list): Don't leak on error paths.
980 (free_database_entries): New function.
981 (free_defconfig): New function.
982 (free_mem): Move common code to free_database_entries.
983
31a39bd8
L
9842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
985
da0331a8
L
986 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
987 Add arch_prctl.
988 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
989
31a39bd8
L
990 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
991 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
993 New macro.
994 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
995 (INTERNAL_SYSCALL_TYPES): Likewise.
996 (LOAD_ARGS_TYPES_[1-6]): Likewise.
997 (LOAD_REGS_TYPES_[1-6]): Likewise.
998 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
999 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
1000
45470df3
AZ
10012012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1002
1003 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
1004 copysignl for GLIBC_2_0.
1005 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
1006 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
1007 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
1008 logbl for GLIBC_2_0.
1009 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1010 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1011
98a61bcb
L
10122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1013
a4f6e481
L
1014 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
1015 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1016
f63d5db6
L
1017 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
1018 Use "neg %eax".
1019
98a61bcb
L
1020 * time/mktime.c: Update copyright years.
1021
95770f14
PE
10222012-05-22 Paul Eggert <eggert@cs.ucla.edu>
1023
6226efbd
PE
1024 mktime: merge comment-quoting-style change from gnulib
1025 * time/mktime.c: Quote 'like this' in comments.
1026 The GNU coding standards suggest that we no longer quote `like this',
1027 as "`" and "'" are typically rendered asymmetrically nowadays.
1028 The typical gnulib style is to quote 'like this' when quoting
1029 code, and "like this" when quoting English.
1030
b99e4f78
PE
1031 * time/mktime.c (compile-command): Add "-I.".
1032
643e01e6
PE
1033 mktime: merge mktime-internal.h change from gnulib
1034 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
1035
2554247d
PE
1036 mktime: merge time_r change from gnulib
1037 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
1038
826dd0ab
PE
1039 mktime: merge DEBUG change from gnulib
1040 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
1041 case system <time.h> has a #define.
1042
bd83aabe
PE
1043 mktime: merge <sys/types.h> change from gnulib
1044 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
1045 since <time.t> is now guaranteed to define time_t.
1046
95770f14
PE
1047 mktime: merge HAVE_CONFIG_H change from gnulib
1048 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
1049
5e1a27a9
L
10502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
1051
0e44a77e
L
1052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1053 Use "neg %eax".
1054
5e1a27a9
L
1055 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
1056 __rlim_t cast.
1057 (struct rusage): Use anonymous union to pad each field to
1058 __syscall_slong_t.
1059
46259bec
DM
10602012-05-21 David S. Miller <davem@davemloft.net>
1061
1062 * Makefules (o-iterator): Remove .s cases.
1063 (compile-command.s): Delete.
1064 (COMPILE.s): Delete.
1065 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
1066
59f0c22e
JM
10672012-05-21 Joseph Myers <joseph@codesourcery.com>
1068
1069 * configure.in (libc_cv_predef_stack_protector): Only consider
1070 "foobar" and "__stack_chk_fail" lines in libc_undefs.
1071 * configure: Regenerated.
1072
20c07380
L
10732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1074
bbb3154b
L
1075 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
1076 New macro. Use R*LP on int and pointer.
1077 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
1078 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
1079 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
1080 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
1081
20c07380
L
1082 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
1083 [__WORDSIZE_TIME64_COMPAT32] instead of
1084 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
1085 (struct utmp): Likewise.
1086 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
1087 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
1088 Renamed to ...
1089 (__WORDSIZE_TIME64_COMPAT32): This.
1090 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1091 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1092 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1093 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1094 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
1095 (__WORDSIZE_TIME64_COMPAT32): New macro.
1096
d8d1017e
AJ
10972012-05-21 Andreas Jaeger <aj@suse.de>
1098
1099 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
1100 only if [SHARED]. Add prototype for __wcschr_ia32.
1101
6c7fb145
RM
11022012-05-21 Roland McGrath <roland@hack.frob.com>
1103
1104 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
1105 of %rbp unmolested in the jmp_buf while mangling the low bits.
1106 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
1107 unmolested high bits of %rbp while demangling the low bits.
1108 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1109
66274218
AJ
11102012-05-21 Andreas Jaeger <aj@suse.de>
1111
07c58f8f
AJ
1112 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
1113 * sunrpc/svc_simple.c: Use it for registerrpc.
1114 * sunrpc/xcrypt.c: Use it for passwd2des.
1115
66274218
AJ
1116 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
1117
61f65140
L
11182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
1121 Don't define if [__SYSCALL_WORDSIZE != 32].
1122 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
1123 New macro.
1124
5fefb436
AJ
11252012-05-21 Bruno Haible <bruno@clisp.org>
1126 Andreas Jaeger <aj@suse.de>
1127
1128 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
1129 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
1130 inptr and inend for must_buffer_ch.
1131 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
1132 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
1133 * stdio-common/Makefile (tests): Remove bug15.
1134 (bug15-ENV): Remove macro.
1135 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
1136 anymore.
1137
d8e272ab
AJ
11382012-05-19 Andreas Jaeger <aj@suse.de>
1139 Roland McGrath <roland@hack.frob.com>
1140
1141 * manual/contrib.texi: Completely rewritten. It contains now an
1142 alphabetical list of contributors and their contributions.
1143
4a56a162
RH
11442012-05-21 Richard Henderson <rth@twiddle.net>
1145
1146 * misc/getauxval.c (__getauxval): Use unsigned long int.
1147 * misc/sys/auxv.h: Include <sys/cdefs.h>.
1148 (getauxval): Use unsigned long int.
1149
d024d23c
L
11502012-05-21 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
1153
cbc00a03
RM
11542012-05-21 Roland McGrath <roland@hack.frob.com>
1155
1156 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1157 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1158 __alignof__ (long double).
1159
478143fa
AZ
11602012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161
1162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1163
c7683a6d
RH
11642012-05-20 Richard Henderson <rth@twiddle.net>
1165
1166 * misc/getauxval.c: New file.
1167 * misc/sys/auxv.h: New file.
1168 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1169 (routines): Add getauxval.
1170 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1171 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1172 * elf/dl-sysdep.c (_dl_auxv): Remove.
1173 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1174 * elf/dl-support.c (_dl_auxv): New variable.
1175 (_dl_aux_init): Initialize it.
1176 * manual/startup.texi (Auxiliary Vector): New node.
1177 * sysdeps/generic/bits/hwcap.h: New file.
1178 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1179 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1180 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1181 * sysdeps/sparc/sysdep.h: ... here. Include it.
1182 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1183 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
1184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1185 Update.
c7683a6d
RH
1186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1187 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1189 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1192 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1194
a6f1845d
AZ
11952012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1196
1197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1198
cbcbe830
DM
11992012-05-19 David S. Miller <davem@davemloft.net>
1200
1201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1202
e0b16cc2
JM
12032012-05-19 Joseph Myers <joseph@codesourcery.com>
1204
1205 [BZ #14123]
1206 * math/s_ccosh.c: Include <float.h>
1207 (__ccosh): Avoid internal overflow calculating sinh and cosh
1208 values before multiplying by sin and cos values.
1209 * math/s_ccoshf.c: Likewise.
1210 * math/s_ccoshl.c: Likewise.
1211 * math/s_csin.c: Likewise.
1212 * math/s_csinf.c: Likewise.
1213 * math/s_csinl.c: Likewise.
1214 * math/s_csinh.c: Likewise.
1215 * math/s_csinhf.c: Likewise.
1216 * math/s_csinhl.c: Likewise.
1217 * math/libm-test.inc (ccos_test): Add more tests.
1218 (ccosh_test): Likewise.
1219 (csin_test): Likewise.
1220 (csinh_test): Likewise.
1221 * sysdeps/i386/fpu/libm-test-ulps: Update.
1222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1223
6ad13e08
L
12242012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1225
f66f0ce8
L
1226 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1227 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1228
6ad13e08
L
1229 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1230
b1d072a7
JM
12312012-05-19 Joseph Myers <joseph@codesourcery.com>
1232
1233 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1234 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1235 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1236 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1237 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1238 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1239 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1240 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1241 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1242 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1243 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1244 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1245 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1246 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1247 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1248 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1249 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1250 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1251 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1252 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1253 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1254 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1255 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1256 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1257 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1258 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1259 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1260 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1261 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1262 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1263 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1264
9eae47cb
AJ
12652012-05-18 Andreas Jaeger <aj@suse.de>
1266
1267 * csu/.gitignore: Delete.
1268
bb07f69f
L
12692012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1272 (timex): Use __syscall_slong_t.
1273
e6bdb741
AJ
12742012-05-18 Andreas Jaeger <aj@suse.de>
1275 Carlos O'Donell <carlos_odonell@mentor.com>
1276
1277 * manual/install.texi (Configuring and compiling): Update
1278 description about files modified in the source directory.
d6c33fda 1279 * INSTALL: Regenerated.
e6bdb741 1280
1b74487e
L
12812012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1282
1283 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1284 value. Use "or" to set return value to -1.
1285 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1286 negate return value.
1287
a88b64b9
TMQMF
12882012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1289
1290 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1291 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1292 failure if the compiler has Graphite support disabled.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1294 Likewise.
1295 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1296 CFLAGS-memmove.c): Likewise.
1297 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1298 Likewise.
1299
3707636e
L
13002012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1301
610b8622
L
1302 * sysdeps/x86_64/x32/_itoa.h: New file.
1303
7cd195df
L
1304 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1305 getdents system call only if kernel and user dirents have the
1306 same d_ino and d_off.
1307
94b07d20
L
1308 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1309 LLONG_MAX != LONG_MAX.
1310 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1311 (_fitoa_word): Likewise.
1312
18298070
L
1313 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1314 years.
1315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1316 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1317 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1318
553c7ea4
L
1319 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1320 include <bits/wordsize.h>. Check __x86_64__ instead of
1321 __WORDSIZE.
1322 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1323 if __x86_64__ is defined. Use anonymous union on fpstate.
1324
3707636e
L
1325 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1326 anonymous union.
1327
b53ef01a
AS
13282012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1329
37fb1dc0
AS
1330 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1331 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1332 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1333 Refer to _rtld_local_ro instead of _rtld_global_ro.
1334 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1335 Likewise.
1336 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1337 Likewise.
1338 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1339 Likewise.
1340 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1341 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1342 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1343
b53ef01a
AS
1344 * sysdeps/powerpc/powerpc32/dl-machine.c
1345 (__elf_machine_runtime_setup) [PROF]: Don't reference
1346 _dl_prof_resolve.
1347
7a185db2
AJ
13482012-05-18 Andreas Jaeger <aj@suse.de>
1349
1350 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1351 function only available for GCCs before 3.4 since GCC 3.4
1352 introduced a builtin.
1353 (lrint): Likewise.
1354 (llrintf): Likewise.
1355 (llrint): Likewise.
1356 (fmaxf): Likewise.
1357 (fmax): Likewise.
1358 (fminf): Likewise.
1359 (fmin): Likewise.
1360 (rint): Likewise.
1361 (rintf): Likewise.
1362 (nearbyint): Likewise.
1363 (nearbyintf): Likewise.
1364 (ceil): Likewise.
1365 (ceilf): Likewise.
1366 (floor): Likewise.
1367 (floorf): Likewise.
1368
3e5aef87
L
13692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1370
428bd707
L
1371 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1372 on both fields and cast pointer to __syscall_ulong_t.
1373
3e5aef87
L
1374 * bits/types.h (__fsword_t): New type.
1375 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1376 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1378 (__FSWORD_T_TYPE): Likewise.
1379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1380 (__FSWORD_T_TYPE): Likewise.
1381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1382 (__FSWORD_T_TYPE): Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1384 (__FSWORD_T_TYPE): Likewise.
1385 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1386 __SWORD_TYPE with __fsword_t.
1387 (statfs64): Likewise.
1388
1ba7c3dc
DM
13892012-05-17 David S. Miller <davem@davemloft.net>
1390
1391 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1392
59910343
AJ
13932012-05-17 Andreas Jaeger <aj@suse.de>
1394
1395 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1396 warning.
1397
2e4c1e9e
L
13982012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1399
1400 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1401
de7f5ce7
AJ
14022012-05-17 Andreas Jaeger <aj@suse.de>
1403
1404 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1405 when it is used.
1406
286abc3d
CM
14072012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1408
1409 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1410
477cc68e
L
14112012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1412
1413 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1414 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1415
1a0994f5
CD
14162012-05-17 Andreas Jaeger <aj@suse.de>
1417 Carlos O'Donell <carlos_odonell@mentor.com>
1418
1419 [BZ #14059]
1420 * sysdeps/x86_64/multiarch/init-arch.h
1421 (bit_YMM_Usable): Rename to...
1422 (bit_AVX_Usable): ... this.
1423 (bit_FMA4_Usable): New macro.
1424 (bit_XMM_state): New macro.
1425 (bit_YMM_state): New macro.
1426 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1427 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1428 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1429 (CPUID_OSXSAVE): New macro.
1430 (CPUID_AVX): New macro.
1431 (CPUID_FMA4): New macro.
1432 (index_YMM_Usable): Rename to...
1433 (index_AVX_Usable): ... this.
1434 (HAS_AVX): Use HAS_ARCH_FEATURE.
1435 (HAS_FMA4): Likewise.
1436 (HAS_YMM_USABLE): Remove.
1437 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1438 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1439 are present.
1440 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1441 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1442 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1443 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1444 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1445
0af797de
CM
14462012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1447
1448 * math/libm-test.c: Support platforms without multiple rounding modes.
1449 * math/bug-nextafter.c: Support platforms without FP exceptions.
1450 * math/bug-nexttoward.c: Likewise.
1451 * math/test-fenv.c: Likewise.
1452 * math/test-misc.c: Likewise.
1453 * stdlib/bug-getcontext.c: Likewise.
1454
e39745ff
AJ
14552012-05-17 Andreas Jaeger <aj@suse.de>
1456
1457 * manual/examples/search.c (critter_cmp): Change signature to
1458 avoid warnings.
1459 * manual/string.texi (Collation Functions): Likewise.
1460
48970aba
L
14612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 * bits/types.h: Fold copyright years.
1464 * bits/typesizes.h: Likewise.
1465 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1466 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1467 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1469 * time/time.h: Likewise.
1470
bedee953
PP
14712012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1472
1473 [BZ #208]
1474 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1475 in instead of returning them. Return void.
1476 (__libc_mallinfo): Accumulate over all arenas.
1477 (__malloc_stats): Adjust for change in int_mallinfo interface.
1478
61653dfb
RM
14792012-05-16 Roland McGrath <roland@hack.frob.com>
1480
30b99d79
RM
1481 [BZ #10375]
1482 * configure.in (NM): Add AC_CHECK_TOOL for it.
1483 (libc_extra_cflags): New substituted variable.
1484 Check for -fstack-protector being used implicitly.
1485 * configure: Regenerated.
1486 * config.make.in (config-extra-cflags): New variable,
1487 gets @libc_extra_cflags@.
1488 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1489
61653dfb
RM
1490 [BZ #10375]
1491 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1492 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1493 * configure: Regenerated.
1494 * config.make.in (CPPUNDEFS): New substituted variable.
1495 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1496 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1497 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1498
661768bb
L
14992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1500
1501 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1502 (mq_attr): Use __syscall_slong_t.
1503
d4261567
L
15042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1505
1506 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1507 Check __x86_64__ instead of __WORDSIZE.
1508 (_STAT_VER_LINUX): Likewise.
1509 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1510 __syscall_ulong_t and __syscall_slong_t.
1511 (stat64): Likewise.
1512
cf3ff365
L
15132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1514
1515 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1516
76cf3e4d
L
15172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1518
1519 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1520
a637753a
L
15212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1522
1523 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1524 __syscall_ulong_t.
1525
d5e05119
L
1526 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1527 include <bits/wordsize.h>. Check __x86_64__ instead of
1528 __WORDSIZE.
1529 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1530 defined.
1531 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1532
f62ee380
L
1533 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1534 include <bits/wordsize.h>. Check __x86_64__ instead of
1535 __WORDSIZE.
1536 (user_regs_struct): Use "__extension__ unsigned long long"
1537 instead of "unsigned long" if __x86_64__ is defined.
1538 (user): Likewise. Pad after pointer field if __ILP32__ is
1539 defined.
1540
4e124ced
JM
15412012-05-16 Joseph Myers <joseph@codesourcery.com>
1542
6a3951a0
JM
1543 * configure.in (makeinfo): Require version 4.5 or later. Allow
1544 versions 5 to 9.
1545 * configure: Regenerated.
1546 * manual/install.texi (texinfo): Increase version requirement to
1547 4.5 or later.
1548 * INSTALL: Regenerated.
1549
4e124ced
JM
1550 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1551
953ca31a
L
15522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1555
617aca05
L
1556 * sysdeps/x86_64/x32/ffs.c: New file.
1557
5762f7ae
L
1558 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1559 __syscall_ulong_t.
1560 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1561 defined. Use __syscall_ulong_t.
1562 (shminfo): Use __syscall_ulong_t.
1563 (shm_info): Likewise.
1564
a26b6856
L
1565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1566 __syscall_ulong_t.
1567
cb2b9ef7
L
1568 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1569 <bits/wordsize.h>.
1570 (msgqnum_t): Use __syscall_ulong_t.
1571 (msglen_t): Likewise.
1572 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1573 __syscall_ulong_t.
1574
34683bb0
L
1575 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1576 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1577
84a68786
L
1578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1579
48baa5f1
L
1580 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1581 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1582
180be88b
L
1583 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1584 __syscall_slong_t.
1585
5e90c8ad
L
1586 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1587 include <bits/wordsize.h>. Check __x86_64__ instead of
1588 __WORDSIZE.
1589
23dfb58b
L
1590 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1591 "unsigned long long int" if __x86_64__ is defined.
1592 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1593
ce5d54b0
L
1594 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1595 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1596 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1597
13dc9eac
L
1598 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1599 <stdint.h>.
1600 (GET_PC): Cast to uintptr_t first.
1601 (GET_FRAME): Likewise.
1602 (GET_STACK): Likewise.
1603
a7895d15
L
1604 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1605 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1606 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1607 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1608 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1609 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1610 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1611 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1612 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1613 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1615 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1616 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1617 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1618 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1619 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1620 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1621 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1622 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1623 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1624 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1625 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1626 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1627 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1628 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1629 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1631 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1632 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1633
656416c9
AS
16342012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1635
5bd66283
AS
1636 * Makerules (+depfiles): Also collect depfiles from .oS in
1637 $(extra-objs).
1638 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1639 .oS, $(libnldbl-routines)).
1640
656416c9
AS
1641 * Makerules (native-compile-mkdep-flags): Define.
1642 * sunrpc/Makefile (extra-objs): Add $(addprefix
1643 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1644 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1645 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1646 calling $(make-target-directory).
1647
a46f2169
L
16482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1649
1650 * bits/types.h (__snseconds_t): Removed.
1651 * time/time.h (struct timespec): Replace __snseconds_t with
1652 __syscall_slong_t.
1653 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1654 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1655 Likewise.
1656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1657 (__SNSECONDS_T_TYPE): Likewise.
1658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1659 (__SNSECONDS_T_TYPE): Likewise.
1660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1661 (__SNSECONDS_T_TYPE): Likewise.
1662
6af6528b
L
16632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1664
1665 * sysdeps/mach/hurd/bits/typesizes.h
1666 (__SYSCALL_SLONG_TYPE): New macro.
1667 (__SYSCALL_ULONG_TYPE): Likewise.
1668
de986b56
L
16692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * bits/types.h (__syscall_slong_t): New type.
1672 (__syscall_ulong_t): Likewise.
1673
1674 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1675 (__SYSCALL_ULONG_TYPE): Likewise.
1676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1677 (__SYSCALL_SLONG_TYPE): Likewise.
1678 (__SYSCALL_ULONG_TYPE): Likewise.
1679 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1680 (__SYSCALL_SLONG_TYPE): Likewise.
1681 (__SYSCALL_ULONG_TYPE): Likewise.
1682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1683 (__SYSCALL_SLONG_TYPE): Likewise.
1684 (__SYSCALL_ULONG_TYPE): Likewise.
1685
85736dc7
L
16862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1687
1688 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1689 Add sigaltstack-offsets.sym.
1690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1691 <sigaltstack-offsets.h>.
1692 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1693 longjmp_msg pointer.
1694 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1695 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1696 signal stack.
1697 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1698
cc03b296
JM
16992012-05-15 Joseph Myers <joseph@codesourcery.com>
1700
a9538892
JM
1701 * elf/stackguard-macros.h: Remove file.
1702 * sysdeps/generic/stackguard-macros.h: New file.
1703 * sysdeps/i386/stackguard-macros.h: Likewise.
1704 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1705 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1706 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1707 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1708 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1709 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1710 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1711 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1712 <elf/stackguard-macros.h>.
1713
cc03b296
JM
1714 [BZ #14109]
1715 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1716 __aligned__ in attribute.
1717 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1718 (gregset_t): Likewise.
1719
93171016
L
17202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1721
1722 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1723 * sysdeps/x86_64/64/Implies-after: Here. New file.
1724 * sysdeps/x86_64/x32/Implies-after: New file.
1725
d86813a0
L
17262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1727
1728 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1729 and access return value for _dl_profile_fixup. Use R10_LP to
1730 load frame size.
1731
2953ec75
L
17322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1733
1734 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1735
3b550e9e
L
17362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1737
1738 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1739 * sysdeps/x86_64/x32/sysdep.h: New file.
1740
eda41706
L
17412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1742
1743 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1744 * sysdeps/x86_64/setjmp.S: Likewise.
1745
9ea01d93
AZ
17462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1747
1748 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1749 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1750 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1751 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1752 remove unused global constant.
1753
02a91938
CM
17542012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1755
1756 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1757 include of <not-cancel.h>.
1758
6540185f
RM
17592012-05-15 Roland McGrath <roland@hack.frob.com>
1760
1761 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1762
509072a0
AJ
17632012-05-15 Jeff Law <law@redhat.com>
1764 Andreas Jaeger <aj@suse.de>
1765
1766 [BZ #13594]
1767 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1768 out from...
1769 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1770 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1771 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1772 code changing __hst_map_handle.map.
1773
ba75122d
RM
17742012-05-15 Roland McGrath <roland@hack.frob.com>
1775
1776 * configure.in (sysnames): Look for Implies-before and Implies-after
1777 files.
1778 * configure: Regenerated.
1779
890d8bd8
L
17802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1781
1782 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1783 8-byte data alignment with LP_SIZE alignment.
1784
f6ee6623
L
17852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1788 into R10_LP.
1789
ea2626f6
L
17902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1791
1792 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1793
085f715e
L
17942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1797 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1798 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1799 Likewise.
1800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1801
be8498fc
L
18022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1803
1804 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1805 (stackinfo_sub_sp): Likewise.
1806
70bc83b9
L
18072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1808
1809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1810 RAX_LP.
1811
9bc0b730
L
18122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1813
1814 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1815 into R*_LP.
1816
6d2850e7
L
18172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1818
1819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1820 sizes into R*_LP.
1821
3cb84561
L
18222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1823
1824 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1825
54e2ed81
L
18262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1827
1828 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1829 into R11_LP and load __x86_64_shared_cache_size_half into
1830 R8_LP.
1831
8a17f349
L
18322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1833
1834 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1835 R8_LP.
1836
777b1eea
AZ
18372012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1838
1839 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1840 logb for POWER7.
1841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1842 logbf for POWER7.
1843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1844 logbl for POWER7.
1845 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1846 powerpc32/power7/fpu/s_logb.c via #include.
1847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1848 powerpc32/power7/fpu/s_logbf.c via #include.
1849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1850 powerpc32/power7/fpu/s_logbl.c via #include.
1851
d20d4ac2
JM
18522012-05-15 Joseph Myers <joseph@codesourcery.com>
1853
1854 * README.libm: Remove file.
1855
6cdef1ab
L
18562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1857
1858 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1859 count for x32. Use R*_LP and omit operand-size suffix.
1860
0b254d8f
L
18612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1862
1863 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1864 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1865 * sysdeps/x86_64/x32/shlib-versions: New file.
1866
ceb809dc
RM
18672012-05-14 Roland McGrath <roland@hack.frob.com>
1868
1869 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1870 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1871 Use _dl_fatal_printf instead.
1872
37f1abd4
JM
18732012-05-14 Joseph Myers <joseph@codesourcery.com>
1874
1875 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1876 set if not set by the user. Do not allow for being unset.
1877 * sysdeps/unix/sysv/linux/configure: Regenerated.
1878
11de3a33
L
18792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1880
1881 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1882 the `q' suffix from lea and replace .quad with ASM_ADDR.
1883
e02f153a
L
18842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1885
1886 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1887 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1888 instead of $17.
1889 (PTR_DEMANGLE): Likewise.
1890
520ae0fd
L
18912012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1892
1893 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1894 (LP_OP): Likewise.
1895 (ASM_ADDR): Likewise.
1896 (RAX_LP): Likewise.
1897 (RBP_LP): Likewise.
1898 (RBX_LP): Likewise.
1899 (RCX_LP): Likewise.
1900 (RDI_LP): Likewise.
1901 (RSI_LP): Likewise.
1902 (RSP_LP): Likewise.
1903 (R8_LP): Likewise.
1904 (R9_LP): Likewise.
1905 (R10_LP): Likewise.
1906 (R10_LP): Likewise.
1907 (R11_LP): Likewise.
1908 (R12_LP): Likewise.
1909 (R13_LP): Likewise.
1910 (R14_LP): Likewise.
1911 (R15_LP): Likewise.
1912
b985be81
L
19132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1914
1915 * sysdeps/x86_64/x32/dl-machine.h: New file.
1916
6a4888ff
AJ
19172012-05-14 Andreas Jaeger <aj@suse.de>
1918
1919 * manual/Makefile (subdir): Remove export of subdir.
1920 (all): Remove target.
1921 (.PHONY): Remove all from list.
1922 (mkinstalldirs): Remove.
1923 (.PHONY): Remove installdirs from list.
1924 ($(inst_infodir)/libc.info): Use make-target-directory.
1925 (installdirs): Remove.
1926 (subdir_%): Remove.
1927 (glibc-targets): Remove.
1928 (lib): Remove.
1929 (stubs): Remove.
1930 ($(objpfx)stubs ../po/manual.pot): Remove.
1931 ($(objpfx)stamp%): Remove.
1932 (make-target-directory): Remove.
1933 (subdir_install): Remove.
1934 (routines): Remove.
1935 (aux): Remove.
1936 (sources): Remove.
1937 (objects): Remove.
1938 (headers): Remove.
1939
1940 [BZ #13750]
1941 * manual/.gitignore: Remove, it's not needed anymore.
1942 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1943 all files in it.
1944 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1945 directory.
1946 (texis): Renamed to $(objpfx)texis.
1947 (texis-path): New, contains path to generated files.
1948 (chapters.%): Use texis-path for complete path, add extra argument
1949 libc-texinfo.sh.
1950 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1951 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1952 (summary,texi, stamp-summary): Use complete path of
1953 files. Generate files in build dir.
1954 (dir-add.texi): Build in build dir.
1955 (libm-err.texi,stamp-libm-err): Likewise.
1956 (version.texi, stamp-version): Likewise.
1957 (.%c.texi): Likewise.
1958 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1959 (mostlyclean): Remove target.
1960 (realclean): Remove target.
1961 (generated): Add new variable with contents from mostlyclean and
1962 realclean, remove entries duplicated in common-mostlyclean, add
1963 stamp-libm-err and stamp-version.
1964 (generated-dirs): Add libc directory.
1965 ($(inst_infodir)/libc.info): Install files from build dir.
1966
1967 * manual/install.texi (Configuring and compiling): Adjust since
1968 the info files are not part of the tar ball anymore.
1969
7ac77294
AJ
19702012-05-14 Andreas Jaeger <aj@suse.de>
1971
1972 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1973 variable.
1974
ffb7875d
JM
19752012-05-14 Joseph Myers <joseph@codesourcery.com>
1976
1977 [BZ #13717]
1978 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1979 to 2.2.0 where earlier.
1980 * sysdeps/unix/sysv/linux/configure: Regenerated.
1981 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1982 Remove conditional code.
1983 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1984 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1985 Remove conditional code.
1986 [!__NR_lchown]: Likewise.
1987 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1988 [__NR_lchown]: Likewise.
1989 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1990 comment referencing __ASSUME_LCHOWN_SYSCALL.
1991 * sysdeps/unix/sysv/linux/i386/sigaction.c
1992 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1993 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1994 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1995 Remove conditional code.
1996 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1997 (__protocol_available): Remove #if 0 code.
1998 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1999 conditional code.
2000 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
2001 * sysdeps/unix/sysv/linux/kernel-features.h
2002 (__ASSUME_GETCWD_SYSCALL): Don't define.
2003 (__ASSUME_REALTIME_SIGNALS): Likewise.
2004 (__ASSUME_PREAD_SYSCALL): Likewise.
2005 (__ASSUME_PWRITE_SYSCALL): Likewise.
2006 (__ASSUME_POLL_SYSCALL): Likewise.
2007 (__ASSUME_LCHOWN_SYSCALL): Likewise.
2008 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
2009 non-SPARC.
2010 (__ASSUME_SIOCGIFNAME): Don't define.
2011 (__ASSUME_MSG_NOSIGNAL): Likewise.
2012 (__ASSUME_SENDFILE): Define unconditionally.
2013 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
2014 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
2015 conditional code.
2016 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
2017 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
2018 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2019 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2020 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
2021 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
2022 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
2023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
2024 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2027 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
2030 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
2036 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2037 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2039 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
2040 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
2042 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2045 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2046 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2047 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
2048 Remove conditional code.
2049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2050 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2051 Remove conditional code.
2052 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2053 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
2054 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2056 Remove conditional code.
2057 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2058 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
2059 Remove conditional code.
2060 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2061 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
2062 Remove conditional code.
2063 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2064 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
2065 Remove conditional code.
2066 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
2067 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
2068 Remove conditional code.
2069 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2070 * sysdeps/unix/sysv/linux/sh/pwrite64.c
2071 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
2072 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
2073 * sysdeps/unix/sysv/linux/sigaction.c
2074 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2075 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2076 * sysdeps/unix/sysv/linux/sigpending.c
2077 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2078 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2079 * sysdeps/unix/sysv/linux/sigprocmask.c
2080 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2081 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2082 * sysdeps/unix/sysv/linux/sigsuspend.c
2083 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
2084 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2086 (__libc_missing_rt_sigs): Remove.
2087 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
2088 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
2089 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
2090 Remove conditional code.
2091 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
2092 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
2093 return 1.
2094 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
2095 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
2096 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
2097 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
2098
1bfb7291
AJ
20992012-05-14 Andreas Jaeger <aj@suse.de>
2100
caae5a81
AJ
2101 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
2102 it's not used in glibc.
2103 (__coshm1): Likewise.
2104 (__acosh1p): Likewise.
2105 (__sgn): Likewise.
2106
1bfb7291
AJ
2107 * manual/string.texi (Copying and Concatenation): Add missing
2108 variable in concat example.
2109 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
2110
c044d724
L
21112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2112
144c5467 2113 [BZ #14103]
c044d724
L
2114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
2115 __builtin_clzl with __builtin_clzll.
2116
2523c62b
L
21172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2118
2119 [BZ #14104]
2120 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
2121 libc_freeres_ptr.
2122
d7bb4c42
LD
21232012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2124
2125 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
2126 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
2127 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
2128 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
2129
9dc4e1fb
MF
21302012-05-14 Mike Frysinger <vapier@gentoo.org>
2131
2132 * NEWS: Update ia64 info.
2133
c7df0112
AS
21342012-05-12 Andreas Schwab <schwab@linux-m68k.org>
2135
2136 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
2137 used as bcopy.
2138
dc70356c
TS
21392012-05-12 Thomas Schwinge <thomas@codesourcery.com>
2140
2141 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
2142 * sysdeps/unix/syscalls.list (dup3): Likewise.
2143 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
2144 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
2145
9fb1a21f
L
21462012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2147
2148 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
2149 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
2150
4822a2a5
L
21512012-05-11 H.J. Lu <hongjiu.lu@intel.com>
2152
2153 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
2154 thread pointer.
2155 (TLS_IE): Use mov/add instead of movq/addq to load thread
2156 pointer.
2157 (TLS_GD_PREFIX): New.
2158 (TLS_GD): Use it.
2159
842b81d6
DM
21602012-05-11 David S. Miller <davem@davemloft.net>
2161
2162 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2163 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2164 (_FPU_SETCW): Likewise.
2165
1cf463cd
L
21662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2167
2168 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2169 is 32-byte aligned.
2170
60cc4a18
AS
21712012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2172
2173 [BZ #11837]
2174 * iconvdata/gb18030.c: Update tables.
2175 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2176 characters specially.
2177 (BODY for TO_LOOP): Add encoding of missing ranges.
2178
febb44a4
TS
21792012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2180
2181 [BZ #13673]
2182 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2183 * sysdeps/mach/hurd/dup3.c: Likewise.
2184 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2185 * sysdeps/powerpc/memmove.c:: Likewise.
2186
0a10fb9e
L
21872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2188
2189 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2190 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2191
df8a552f
L
21922012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2193
2194 * elf/elf.h (R_X86_64_RELATIVE64): New.
2195 (R_X86_64_NUM): Updated.
2196 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2197 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2198 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2199 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2200 tst-quad1pie tst-quad2pie
2201 (modules-names): Add tst-quadmod1 tst-quadmod2.
2202 ($(objpfx)tst-quad1): New dependency.
2203 ($(objpfx)tst-quad2): Likewise.
2204 ($(objpfx)tst-quad1pie): Likewise.
2205 ($(objpfx)tst-quad2pie): Likewise.
2206 * sysdeps/x86_64/tst-quad1.c: New file.
2207 * sysdeps/x86_64/tst-quad1pie.c: New file.
2208 * sysdeps/x86_64/tst-quad2.c: Likewise.
2209 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2210 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2211 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2212 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2213 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2214
f34d6f84
ST
22152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2216
f42d41d1
ST
2217 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2218 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2219 * streams/stropts.h (t_scalar_t): Define type.
2220
3c3571fc
ST
2221 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2222 (_PATH_PRESERVE): Set to "/var/lib".
2223 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2224
61f06bd3
ST
2225 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2226 instead of int.
2227
918d4d71
ST
2228 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2229 if __dir_mkfile succeeded.
2230
f34d6f84
ST
2231 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2232 checking for _hurd_dtablesize. Unlock it right after having
2233 finished _hurd_dtable allocation.
2234
10589b4a
TS
22352012-05-10 Thomas Schwinge <thomas@schwinge.name>
2236
674cdbc7
TS
2237 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2238 * sysdeps/mach/hurd/configure: Regenerated.
2239 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2240 special-casing to...
2241 * sysdeps/gnu/configure.in: ... this new file.
2242 * sysdeps/unix/sysv/linux/configure: Regenerated.
2243 * sysdeps/gnu/configure: New generated file.
2244
8e41b99f
TS
2245 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2246 for Linux: use nsec instead of usec, as well as:
2247 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2248 members of type struct timespec.
2249 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2250 New macros.
2251 (struct stat64): Likewise.
2252 (_STATBUF_ST_NSEC): New macro.
2253 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2254
10589b4a
TS
2255 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2256 __strtoul_internal rather than strtoul.
2257
63643c85
PT
22582012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2259
2260 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2261 and reject them.
2262
3faebe6a
ST
22632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2264
2265 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2266 which preserves existing values.
2267 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2268
c6474b07
PT
22692012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2270
2271 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2272 TIMEOUT values. Return EINVAL for NFDS values either negative or
2273 greater than FD_SETSIZE.
2274
1043890b
ST
22752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2276
2277 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2278 allocated, call __vm_protect to finish enabling the existing space, and
2279 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2280 allocate the remainder.
2281
37ed8b9b
PT
22822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2283
2284 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2285 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2286
db653660
ST
22872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2288
37ed8b9b
PT
2289 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2290 sysdeps/mach/hurd/readlink.c.
b29d4053 2291
db653660
ST
2292 * posix/tst-sysconf.c (posix_options): Only use
2293 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2294 _POSIX_SYNCHRONIZED_IO when they are defined
2295 * sysdeps/mach/hurd/bits/posix_opt.h:
2296 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2297 (_XOPEN_REALTIME): Undefine macro.
2298 (_XOPEN_REALTIME_THREADS): Undefine macro.
2299 (_XOPEN_SHM): Undefine macro.
2300 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2301 macro to -1.
2302 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2303 macro to -1.
2304 (_POSIX_ASYNC_IO): Undefine macro.
2305 (_POSIX_PRIORITIZED_IO): Undefine macro.
2306 (_POSIX_SPIN_LOCKS): Define macro to -1.
2307
ee16e894
ST
2308 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2309 SA_NODEFER, SA_RESETHAND.
2310 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2311 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2312 F_DUPFD_CLOEXEC.
2313
6103ae3b
TS
23142012-05-10 Thomas Schwinge <thomas@schwinge.name>
2315
2316 * elf/Makefile (pldd-modules): Define unconditionally.
2317
80b4e5f3
TS
23182012-05-10 Thomas Schwinge <thomas@schwinge.name>
2319
2320 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2321
edadcbd6
ST
23222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2323
2324 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2325 Return ENOENT when name is empty.
2326 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2327
80694780
TS
23282012-05-10 Thomas Schwinge <thomas@schwinge.name>
2329
1792c087
TS
2330 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2331
80694780
TS
2332 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2333
6b645f0d
ST
23342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2335
80694780
TS
2336 Fix mlock in all cases except non-readable pages.
2337 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2338 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2339
6b645f0d
ST
2340 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2341 (__mkdir): When path is `/', just fail with EEXIST.
2342 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2343
e468f8a3
TS
23442012-05-10 Thomas Schwinge <thomas@schwinge.name>
2345
2346 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2347 <sys/uio.h> (for writev).
2348 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2349 and <sys/param.h> (for MIN).
2350
a4186cff
PT
23512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2352
2353 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2354 REQUESTED_TIME. Properly set the remaining time and return EINTR
2355 if interrupted.
2356
510bbf14
TS
23572012-05-10 Thomas Schwinge <thomas@schwinge.name>
2358
2359 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2360 Depend on against $(link-rpcuserlibs).
2361
5d5722e8
ST
23622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2363
a4186cff
PT
2364 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2365 (__libc_stack_end): Do not use attribute_relro.
2366 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2367 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2368 to libthread-provided value.
a4186cff
PT
2369 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2370 attribute_relro.
5d5722e8 2371
37233df9
TS
23722012-05-10 Thomas Schwinge <thomas@schwinge.name>
2373
be971a2b
TS
2374 [BZ #3748]
2375 * bits/libc-lock.h (__libc_once_get): New macro.
2376 * sysdeps/mach/bits/libc-lock.h: Likewise.
2377 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2378 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2379 instead of using implementation details.
2380
37233df9
TS
2381 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2382 * libio/freopen.c: Likewise.
2383 * libio/freopen64.c: Likewise.
2384 * misc/syslog.c: Likewise.
2385 * nscd/connections.c: Likewise.
2386 * nscd/netgroupcache.c: Likewise.
2387 * sysdeps/posix/getcwd.c: Likewise.
2388
38de94a5
RM
23892012-05-10 Roland McGrath <roland@hack.frob.com>
2390
2391 * math/w_ilogbf.c: Add #include <limits.h>.
2392
67530489
ST
23932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2394
a4186cff 2395 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2396 path instead of returning without unlocking.
2397
67530489
ST
2398 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2399 immediate-write ioctls.
2400 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2401
5aa3a74a
TS
24022012-05-10 Thomas Schwinge <thomas@schwinge.name>
2403
18bad2ae
TS
2404 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2405 __builtin_frame_address instead of making assumptions about the
2406 location of the return address relative to DATA. Force early load of
2407 the return address.
2408 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2409 __builtin_frame_address.
2410
5aa3a74a
TS
2411 dup3 for GNU Hurd.
2412 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2413 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2414 implement dup3 and do some further code clean-ups.
2415 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2416 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2417
ecd0de9a
ST
24182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2419
cd9fa985
ST
2420 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2421
a4186cff
PT
2422 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2423 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2424 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2425 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2426 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2427 d->port.lock.
802ca5a5 2428
a4186cff
PT
2429 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2430 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2431 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2432
bcf55240
TS
24332012-05-10 Thomas Schwinge <thomas@schwinge.name>
2434
6960eb42
TS
2435 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2436 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2437 definitions.
2438
eb43375f
TS
2439 accept4 for GNU Hurd.
2440 * include/sys/socket.h (__libc_accept4): New prototype.
2441 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2442 to implement __libc_accept4.
2443 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2444 __libc_accept4.
2445 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2446
bcf55240
TS
2447 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2448 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2449 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2450 signal-defines.sym.
2451
6178c55b
ST
24522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2453
a4186cff 2454 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2455
6f080c2f
TS
24562012-05-10 Thomas Schwinge <thomas@schwinge.name>
2457
2458 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2459 assertion on O_CLOEXEC flag.
2460 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2461 * hurd/intern-fd.c: Likewise.
2462 * hurd/port2fd.c: Likewise.
2463
bcfe3a54
ST
24642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2465
2466 [BZ #3906]
2467 * bits/in.h (IPV6_PKTINFO): Define new macro.
2468 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2469
89c9aa49
AZ
24702012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471
2472 [BZ #13954]
2473 [BZ #13955]
2474 [BZ #13956]
2475 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2476 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2477 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2478 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2480 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2481 * math/libm-test.inc (logb_test) : Additional logb tests.
2482
021db4be
AJ
24832012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2484 Andreas Jaeger <aj@suse.de>
2485
2486 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2487 * configure: Regenerated.
2488 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2489 * config.make.in (link-obsolete-rpc): New substituted variable.
2490 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2491 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2492 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2493 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2494 so that libc.a contains the symbols.
2495 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2496 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2497 * sunrpc/auth_none.c: Likewise.
2498 * sunrpc/auth_unix.c: Likewise.
2499 * sunrpc/authdes_prot.c: Likewise.
2500 * sunrpc/authuxprot.c: Likewise.
2501 * sunrpc/clnt_gen.c: Likewise.
2502 * sunrpc/clnt_perr.c: Likewise.
2503 * sunrpc/clnt_raw.c: Likewise.
2504 * sunrpc/clnt_simp.c: Likewise.
2505 * sunrpc/clnt_tcp.c: Likewise.
2506 * sunrpc/clnt_udp.c: Likewise.
2507 * sunrpc/clnt_unix.c: Likewise.
2508 * sunrpc/des_crypt.c: Likewise.
2509 * sunrpc/des_soft.c: Likewise.
2510 * sunrpc/get_myaddr.c: Likewise.
2511 * sunrpc/key_call.c: Likewise.
2512 * sunrpc/key_prot.c: Likewise.
2513 * sunrpc/netname.c: Likewise.
2514 * sunrpc/pm_getmaps.c: Likewise.
2515 * sunrpc/pm_getport.c: Likewise.
2516 * sunrpc/pmap_clnt.c: Likewise.
2517 * sunrpc/pmap_prot.c: Likewise.
2518 * sunrpc/pmap_prot2.c: Likewise.
2519 * sunrpc/pmap_rmt.c: Likewise.
2520 * sunrpc/publickey.c: Likewise.
2521 * sunrpc/rpc_cmsg.c: Likewise.
2522 * sunrpc/rpc_common.c: Likewise.
2523 * sunrpc/rpc_dtable.c: Likewise.
2524 * sunrpc/rpc_prot.c: Likewise.
2525 * sunrpc/rpc_thread.c: Likewise.
2526 * sunrpc/rtime.c: Likewise.
2527 * sunrpc/svc.c: Likewise.
2528 * sunrpc/svc_auth.c: Likewise.
2529 * sunrpc/svc_raw.c: Likewise.
2530 * sunrpc/svc_run.c: Likewise.
2531 * sunrpc/svc_tcp.c: Likewise.
2532 * sunrpc/svc_udp.c: Likewise.
2533 * sunrpc/svc_unix.c: Likewise.
2534 * sunrpc/svcauth_des.c: Likewise.
2535 * sunrpc/xcrypt.c: Likewise.
2536 * sunrpc/xdr.c: Likewise.
2537 * sunrpc/xdr_array.c: Likewise.
2538 * sunrpc/xdr_float.c: Likewise.
2539 * sunrpc/xdr_intXX_t.c: Likewise.
2540 * sunrpc/xdr_mem.c: Likewise.
2541 * sunrpc/xdr_rec.c: Likewise.
2542 * sunrpc/xdr_ref.c: Likewise.
2543 * sunrpc/xdr_sizeof.c: Likewise.
2544 * sunrpc/xdr_stdio.c: Likewise.
2545
b5c086a2
RM
25462012-05-10 Roland McGrath <roland@hack.frob.com>
2547
2548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2549 change. Update copyright years.
2550
6d74dd09
JM
25512012-05-10 Joseph Myers <joseph@codesourcery.com>
2552
2553 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2554
28e72501
MK
25552012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2556 Joseph Myers <joseph@codesourcery.com>
2557 Paul Pluzhnikov <ppluzhnikov@google.com>
2558
2559 [BZ #14012]
2560 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2561 requiring rpcgen.
2562 [cross-compiling] (extra-libs): Likewise.
2563 [cross-compiling] (extra-libs-others): Likewise.
2564 [cross-compiling] (librpcsvc-routines): Likewise.
2565 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2566 [cross-compiling] (omit-deps): Likewise.
2567 (sunrpc-CPPFLAGS): New variable.
2568 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2569 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2570 (cross-rpcgen-objs): New variable.
2571 (extra-objs): Append $(cross-rpcgen-objs).
2572 ($(cross-rpcgen-objs)): New rule.
2573 ($(objpfx)cross-rpcgen): Likewise.
2574 (rpcgen-cmd): Define to use $(built-program-file). Expand
2575 comment.
2576 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2577 ($(objpfx)x%.stmp): Likewise.
2578 * sunrpc/proto.h [IS_IN_build] (_): Define.
2579 [IS_IN_build] (_libc_intl_domainname): Likewise.
2580
c8c59454
L
25812012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2584 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2585 and R_X86_64_TPOFF64.
2586
6f27cd16
JM
25872012-05-10 Joseph Myers <joseph@codesourcery.com>
2588
2589 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2590 sysdeps/unix/sysv/syscalls.list.
2591 (stime): Likewise.
2592 (utime): Likewise.
2593 * sysdeps/unix/sysv/syscalls.list: Remove file.
2594
02467e1c
PE
25952012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2596
2597 [BZ #3440]
2598 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2599 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2600 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2601 (__LC_IDENTIFICATION): Make these macros useful in #if
2602 expressions, as required by C99.
2603
da392631
AS
26042012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2605
2606 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2607 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2608 after this.
2609
8115f29b
L
26102012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * stdlib/longlong.h: Updated from GCC.
2613
bdd74070
AJ
26142012-05-09 Andreas Jaeger <aj@suse.de>
2615
edfe0dbe
AJ
2616 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2617 default is first entry.
2618 (run_mode): Set type.
2619 (main): Remove informal message about syslog.
2620 (options): Fix typo.
2621
bcfe3a54
ST
2622 [BZ #14053]
2623 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2624 to asm.
bcfe3a54
ST
2625 (lrint): Likewise.
2626 (llrintf): Likewise.
2627 (llrint): Likewise.
2628 (rint): Likewise.
2629 (rintf): Likewise.
2630 (nearbyint): Likewise.
2631 (nearbyintf): Likewise.
bdd74070 2632
91d8d69e
AJ
26332012-05-09 Andreas Jaeger <aj@suse.de>
2634 Pedro Alves <palves@redhat.com>
2635
2636 * nscd/nscd.c (run_mode): Use enum.
2637 (main): Cleanup coding style issue.
2638
bb90b80b
AJ
26392012-05-09 Alexandre Oliva <aoliva@redhat.com>
2640 Andreas Jaeger <aj@suse.de>
2641
bcfe3a54
ST
2642 * nscd/nscd.c (go_background): Replaced with...
2643 (run_mode): ... this.
bb90b80b 2644 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2645 (options): Add -F --foreground.
2646 (main): Implement it.
2647 (parse_opt): Parse it.
bb90b80b 2648
1a4b75a1
AJ
26492012-05-09 Andreas Jaeger <aj@suse.de>
2650
2651 [BZ #14083]
2652 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2653 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2654 -Wconversion warning.
2655 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2656 Likewise.
2657
b1cc2472
JM
26582012-05-09 Joseph Myers <joseph@codesourcery.com>
2659
2660 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2661 == 0.
2662 (LC_ALL): Use macro-int-constant.
2663 (LC_COLLATE): Likewise.
2664 (LC_CTYPE): Likewise.
2665 (LC_MESSAGES): Likewise.
2666 (LC_MONETARY): Likewise.
2667 (LC_NUMERIC): Likewise.
2668 (LC_TIME): Likewise.
2669 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2670 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2672 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2673 Specify type.
2674 [C99-based standards] (float_t): Expect type.
2675 [C99-based standards] (double_t): Expect type.
2676 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2677 type.
2678 [C99-based standards] (HUGE_VALL): Likewise.
2679 [C99-based standards] (INFINITY): Likewise.
2680 [C99-based standards] (NAN): Likewise.
2681 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2682 [C99-based standards] (FP_NAN): Likewise.
2683 [C99-based standards] (FP_NORMAL): Likewise.
2684 [C99-based standards] (FP_SUBNORMAL): Likewise.
2685 [C99-based standards] (FP_ZERO): Likewise.
2686 [C99-based standards] (FP_FAST_FMA): Use
2687 optional-macro-int-constant. Specify type. Require == 1.
2688 [C99-based standards] (FP_FAST_FMAF): Likewise.
2689 [C99-based standards] (FP_FAST_FMAL): Likewise.
2690 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2691 [C99-based standards] (FP_ILOGBNAN): Likewise.
2692 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2693 Specify type.
2694 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2695 [C99-based standards] (math_errhandling): Specify type.
2696 [ISO99 || ISO11] (signgam): Do not allow.
2697 [non-C99-based standards] (copysignf): Do not allow.
2698 [non-C99-based standards] (exp2f): Likewise.
2699 [non-C99-based standards] (log2f): Likewise.
2700 [non-C99-based standards] (modff): Allow.
2701 [non-C99-based standards] (erff): Do not allow.
2702 [non-C99-based standards] (erfcf): Likewise.
2703 [non-C99-based standards] (gammaf): Likewise.
2704 [non-C99-based standards] (hypotf): Likewise.
2705 [non-C99-based standards] (j0f): Likewise.
2706 [non-C99-based standards] (j1f): Likewise.
2707 [non-C99-based standards] (jnf): Likewise.
2708 [non-C99-based standards] (lgammaf): Likewise.
2709 [non-C99-based standards] (tgammaf): Likewise.
2710 [non-C99-based standards] (y0f): Likewise.
2711 [non-C99-based standards] (y1f): Likewise.
2712 [non-C99-based standards] (ynf): Likewise.
2713 [non-C99-based standards] (isnanf): Likewise.
2714 [non-C99-based standards] (acoshf): Likewise.
2715 [non-C99-based standards] (asinhf): Likewise.
2716 [non-C99-based standards] (atanhf): Likewise.
2717 [non-C99-based standards] (cbrtf): Likewise.
2718 [non-C99-based standards] (expm1f): Likewise.
2719 [non-C99-based standards] (ilogbf): Likewise.
2720 [non-C99-based standards] (log1pf): Likewise.
2721 [non-C99-based standards] (logbf): Likewise.
2722 [non-C99-based standards] (nextafterf): Likewise.
2723 [non-C99-based standards] (remainderf): Likewise.
2724 [non-C99-based standards] (rintf): Likewise.
2725 [non-C99-based standards] (scalbf): Likewise.
2726 [non-C99-based standards] (copysignl): Likewise.
2727 [non-C99-based standards] (exp2l): Likewise.
2728 [non-C99-based standards] (log2l): Likewise.
2729 [non-C99-based standards] (modfl): Allow.
2730 [non-C99-based standards] (erfl): Do not allow.
2731 [non-C99-based standards] (erfcl): Likewise.
2732 [non-C99-based standards] (gammal): Likewise.
2733 [non-C99-based standards] (hypotl): Likewise.
2734 [non-C99-based standards] (j0l): Likewise.
2735 [non-C99-based standards] (j1l): Likewise.
2736 [non-C99-based standards] (jnl): Likewise.
2737 [non-C99-based standards] (lgammal): Likewise.
2738 [non-C99-based standards] (tgammal): Likewise.
2739 [non-C99-based standards] (y0l): Likewise.
2740 [non-C99-based standards] (y1l): Likewise.
2741 [non-C99-based standards] (ynl): Likewise.
2742 [non-C99-based standards] (isnanl): Likewise.
2743 [non-C99-based standards] (acoshl): Likewise.
2744 [non-C99-based standards] (asinhl): Likewise.
2745 [non-C99-based standards] (atanhl): Likewise.
2746 [non-C99-based standards] (cbrtl): Likewise.
2747 [non-C99-based standards] (expm1l): Likewise.
2748 [non-C99-based standards] (ilogbl): Likewise.
2749 [non-C99-based standards] (log1pl): Likewise.
2750 [non-C99-based standards] (logbl): Likewise.
2751 [non-C99-based standards] (nextafterl): Likewise.
2752 [non-C99-based standards] (remainderl): Likewise.
2753 [non-C99-based standards] (rintl): Likewise.
2754 [non-C99-based standards] (scalbl): Likewise.
2755 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2756 [non-C99-based standards] (FP_*): Do not allow.
2757 [C99-based standards] (FP_*): Change to
2758 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2759 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2760 allow.
2761 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2762 (SIG_ERR): Likewise.
2763 [X/Open-based standards] (SIG_HOLD): Likewise.
2764 (SIG_IGN): Likewise.
2765 (SIGABRT): Use macro-int-constant. Specify type. Require
2766 positive value.
2767 (SIGFPE): Likewise.
2768 (SIGILL): Likewise.
2769 (SIGINT): Likewise.
2770 (SIGSEGV): Likewise.
2771 (SIGTER): Likewise.
2772 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2773 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2774 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2775 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2776 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2777 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2778 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2779 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2780 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2781 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2782 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2783 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2784 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2785 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2786 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2787 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2788 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2789 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2790 [X/Open-based standards] (SIGTRAP): Likewise.
2791 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2792 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2793 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2794 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2795 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2796 allow.
2797
b9f1922d
IW
27982012-05-08 Ian Wienand <ianw@vmware.com>
2799
2800 [BZ #14080]
2801 * time/tzset.c (__tzset_parse_tz): Update default rules for
2802 daylight time changes in the Energy Policy Act of 2005.
2803
1db86e88
AJ
28042012-05-09 Andreas Jaeger <aj@suse.de>
2805
2806 [BZ #13983]
2807 * elf/ldconfig.c (parse_conf): Change string to make clear that
2808 ldconfig only issued a warning if ld.so.conf does not exist.
2809
dee4a4e3
DM
28102012-05-08 David S. Miller <davem@davemloft.net>
2811
ee0db190
DM
2812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2813 movxtod instead of popping the value on the stack.
2814
dee4a4e3
DM
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2816
6a43ec98
CD
28172012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2818
2819 * config.h.in: Add HAVE_ARM_PCS_VFP.
2820
05c2c961
RMG
28212012-05-08 Roland Mc Grath <roland@hack.frob.com>
2822
bcfe3a54
ST
2823 [BZ #13979]
2824 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2825 checking but the checks are disabled for any reason.
05c2c961 2826
4b30f61a
L
28272012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2830 and ELF64_R_TYPE with ELFW(R_TYPE).
2831
eee2bc67
JM
28322012-05-08 Joseph Myers <joseph@codesourcery.com>
2833
7ea5391a
JM
2834 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2835 (ulimit): Likewise.
2836
eee2bc67
JM
2837 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2838 (settimeofday): Likewise.
2839
abb66a67
MF
28402012-05-08 Mike Frysinger <vapier@gentoo.org>
2841
2842 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2843 a struct th_u2 inside the union, and move tu_block/tu_code into
2844 a new th_u3 union of tu_block/tu_code inside of that. Move
2845 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2846 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2847 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2848 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2849 (th_stuff): Change to th_u1.tu_stuff.
2850 (th_data): Define.
2851 (th_msg): Change to th_u1.th_u2.tu_data.
2852
7f18b530
DM
28532012-05-07 David S. Miller <davem@davemloft.net>
2854
05760585
DM
2855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2856
7f18b530
DM
2857 [BZ #14074]
2858 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2859 (SETUP_PIC_REG): Use it.
2860 (SETUP_PIC_REG_LEAF): Use it.
2861
495fd99f
JM
28622012-05-07 Joseph Myers <joseph@codesourcery.com>
2863
2864 [BZ #13885]
2865 [BZ #13923]
2866 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2867 USE_AS_EXPM1L.
2868 (EXPL_FINITE): Likewise.
2869 (FLDLOG): Likewise.
2870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2871 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2872 e_expl.S.
2873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2874 USE_AS_EXPM1L.
2875 (EXPL_FINITE): Likewise.
2876 (FLDLOG): Likewise.
2877 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2878 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2879 e_expl.S.
2880 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2881 test of -max_value argument for long double.
2882 * sysdeps/i386/fpu/libm-test-ulps: Update.
2883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884
6693d694
DM
28852012-05-06 David S. Miller <davem@davemloft.net>
2886
2887 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2888 quad soft-float symbols whose references which are compiler
2889 generated.
2890 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2891
6c23e11c
JM
28922012-05-06 Joseph Myers <joseph@codesourcery.com>
2893
d8b82cad
JM
2894 [BZ #13884]
2895 [BZ #13914]
2896 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2897 USE_AS_EXP10L.
2898 (EXPL_FINITE): Likewise.
2899 (FLDLOG): Likewise.
2900 (c0): Likewise.
2901 (c1): Likewise.
2902 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2903 Adjust comments for base varying.
2904 (__expl_finite): Change alias to EXPL_FINITE.
2905 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2906 e_expl.S.
2907 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2908 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2909 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2910 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2911 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2912 USE_AS_EXP10L.
2913 (EXPL_FINITE): Likewise.
2914 (FLDLOG): Likewise.
2915 (c0): Likewise.
2916 (c1): Likewise.
2917 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2918 Adjust comments for base varying.
2919 (__expl_finite): Change alias to EXPL_FINITE.
2920 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2921 tests for bugs.
2922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2923
6c23e11c
JM
2924 [BZ #14064]
2925 * math/libm-test.inc (check_float_internal): Correct ulp
2926 calculation for subnormal expected results.
2927
29ba805c
AJ
29282012-05-06 Andreas Jaeger <aj@suse.de>
2929
2930 * Makeconfig (+math-flags): New, set to -frounding-math.
2931 (+cflags): Add +math-flags so that all of glibc gets compiled with
2932 it.
2933
2934 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2935
7b17aeda
JM
29362012-05-05 Joseph Myers <joseph@codesourcery.com>
2937
5779f134
JM
2938 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2939 Disable one test.
2940
41498f4d
JM
2941 [BZ #13787]
2942 [BZ #13922]
2943 [BZ #14036]
2944 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2945 (__ieee754_expl): Allow for and saturate large arguments.
2946 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2947 (u_threshold): Likewise.
2948 (__exp): Call __ieee754_exp before checking for overflow and
2949 underflow.
2950 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2951 (u_threshold): Likewise.
2952 (__expf): Call __ieee754_expf before checking for overflow and
2953 underflow.
2954 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2955 (u_threshold): Likewise.
2956 (__expl): Call __ieee754_expl before checking for overflow and
2957 underflow.
2958 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2959 (__ieee754_expl): Allow for and saturate large arguments.
2960 * math/libm-test.inc (exp_test): Add another test. Do not allow
2961 missing overflow exception on overflow.
2962 (expm1_test): Do not allow missing overflow exception on overflow.
2963
6698b8bf
JM
2964 * sysdeps/i386/fpu/e_expl.c: Move to ...
2965 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2966 rather than using inline asm.
2967 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2968 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2969 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2970
7b17aeda
JM
2971 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2972 (nice): Likewise.
2973 (poll): Likewise.
2974 (signal): Likewise.
2975 (time): Likewise.
2976 (times): Likewise.
2977
f7c85819
JM
29782012-05-04 Joseph Myers <joseph@codesourcery.com>
2979
2980 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2981 sysdeps/unix/common/syscalls.list.
2982 (fchmod): Likewise.
2983 (fchown): Likewise.
2984 (ftruncate): Likewise.
2985 (getrusage): Likewise.
2986 (gettimeofday): Likewise.
2987 (setpgid): Likewise.
2988 (setregid): Likewise.
2989 (setreuid): Likewise.
2990 (sigaction): Likewise.
2991 (truncate): Likewise.
2992 (vhangup): Likewise.
2993 * sysdeps/unix/common/syscalls.list: Remove file.
2994 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2995 * sysdeps/unix/sysv/linux/Implies: Likewise.
2996
336270d0
L
29972012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2998
2999 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
3000 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
3001 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
3002 Moved to ...
3003 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3004 Here.
3005 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
3006 to ...
3007 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
3008 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
3009 to ...
3010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
3011 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
3012 to ...
3013 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
3014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
3015 to ...
3016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
3017 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
3018 to ...
3019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
3020 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
3021 to ...
3022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
3023 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
3024 to ...
3025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3026 Here.
3027 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
3028 to ...
3029 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
3030 Here.
3031 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
3032 to ...
3033 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
3034 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
3035 Moved to ...
3036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
3037 Here.
3038 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
3039 to ...
3040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
3041
d128e450
JM
30422012-05-04 Joseph Myers <joseph@codesourcery.com>
3043
fa8ee516
JM
3044 * sysdeps/unix/common/bits/dirent.h: Remove file.
3045 * sysdeps/unix/common/bits/fcntl.h: Likewise.
3046
d128e450
JM
3047 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
3048 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
3049 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
3050 * sysdeps/unix/bsd/isatty.c: Likewise.
3051 * sysdeps/unix/bsd/tcdrain.c: Likewise.
3052 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
3053 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
3054
ff8faaf0 30552012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 3056
62881be4 3057 [BZ #13563]
31dc8730
AZ
3058 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
3059 long double comparison inaccuracies.
3060 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3062
6fef930c
AS
30632012-05-04 Andreas Schwab <schwab@linux-m68k.org>
3064
3065 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
3066 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
3067
8f203e6c
JM
30682012-05-04 Joseph Myers <joseph@codesourcery.com>
3069
3070 [BZ #14049]
3071 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
3072 nonzero digits before rounding a hex value.
3073 * stdlib/tst-strtod.c (tests): Add another test.
3074
5197d9c2
AK
30752012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3076
3077 * sysdeps/s390/fpu/libm-test-ulps: Update.
3078
f0c1dedf
AJ
30792012-05-03 Andreas Jaeger <aj@suse.de>
3080
3081 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
3082 does not get optimized out.
3083 (malloc_opt_barrier): New.
3084
a65ef2ae 30852012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 3086 Roland McGrath <roland@hack.frob.com>
a65ef2ae 3087
2b942cb7 3088 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 3089 intermediate file deletion.
2b942cb7 3090 (generated): Add .symlist files.
a65ef2ae 3091
54b71e02
JM
30922012-05-03 Joseph Myers <joseph@codesourcery.com>
3093
3094 [BZ #13775]
3095 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
3096 Redirect under this condition.
3097 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3098 [__USE_GNU] (__dprintf_chk): Not under this condition.
3099 [__USE_GNU] (__vdprintf_chk): Likewise.
3100 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
3101 under this condition.
3102 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
3103 [__USE_XOPEN2K8] (dprintf): Define under this condition.
3104 [__USE_XOPEN2K8] (vdprintf): Likewise.
3105 [__USE_GNU] (__dprintf_chk): Not under this condition.
3106 [__USE_GNU] (__vdprintf_chk): Likewise.
3107 [__USE_GNU] (dprintf): Likewise.
3108 [__USE_GNU] (vdprintf): Likewise.
3109
d3dfcc41
RM
31102012-05-03 Roland McGrath <roland@hack.frob.com>
3111
3112 * elf/Makefile (common-generated): Set this instead of generated for
3113 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
3114 $(all-built-dso)-derived lists.
3115
7ac30cc5
AJ
31162012-05-03 Andreas Jaeger <aj@suse.de>
3117
0c51e550
AJ
3118 * sysdeps/i386/fpu/libm-test-ulps: Update.
3119
7ac30cc5
AJ
3120 * FAQ: Removed.
3121 * FAQ.in: Likewise.
3122 * scripts/gen-FAQ.pl: Likewise.
3123 * manual/install.texi (Installation): Point to online location of
3124 FAQ.
3125 * Makefile (files-for-dist): Remove FAQ.
3126 (FAQ): Remove.
3127
d4c2917f
AM
31282012-05-02 Allan McRae <allan@archlinux.org>
3129
3130 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
3131 (LDFLAGS-reldepmod5.so): Likewise.
3132 (LDFLAGS-reldep6mod1.so): Likewise.
3133 (LDFLAGS-reldep6mod4.so): Likewise.
3134 (LDFLAGS-reldep8mod3.so): Likewise.
3135 (LDFLAGS-unload4mod1.so): Likewise.
3136 (LDFLAGS-unload4mod2.so): Likewise.
3137 (LDFLAGS-tst-initorder): Likewise.
3138 (LDFLAGS-tst-initordera2.so): Likewise.
3139 (LDFLAGS-tst-initordera3.so): Likewise.
3140 (LDFLAGS-tst-initordera4.so): Likewise.
3141 (LDFLAGS-tst-initorderb2.so): Likewise.
3142 (LDFLAGS-noload): Likewise.
3143 (LDFLAGS-next): Likewise.
3144 (LDFLAGS-order2mod1.so): Likewise.
3145 (LDFLAGS-order2mod2.so): Likewise.
3146 (LDFLAGS-tst-initorder2): Likewise.
3147 (LDFLAGS-tst-initorder2a.so): Likewise.
3148 (LDFLAGS-tst-initorder2b.so): Likewise.
3149 (LDFLAGS-tst-initorder2c.so): Likewise.
3150 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
3151
d77f993f
DM
31522012-05-02 David S. Miller <davem@davemloft.net>
3153
3154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3155
171a70b4
PP
31562012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3157
3158 [BZ #14055]
3159 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3160
0be196ad
AJ
31612012-05-02 Andreas Jaeger <aj@suse.de>
3162
3163 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3164 since we manipulate rounding mode.
3165 (CPPFLAGS-test-idouble.c): Likewise.
3166 (CPPFLAGS-test-ifloat.c): Likewise.
3167 (CFLAGS-test-ldouble.c): Likewise.
3168 (CFLAGS-test-double.c): Likewise.
3169 (CFLAGS-test-float.c): Likewise.
3170 (CFLAGS-test-misc.c): Likewise.
3171 (CFLAGS-test-test-fenv.c): Likewise.
3172
4f9d04aa
AZ
31732012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3174
2b942cb7
RM
3175 [BZ #2550]
3176 [BZ #2570]
3177 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3178 comparisons to determine direction to adjust input.
4f9d04aa 3179
82a79e7d
RM
31802012-05-01 Roland McGrath <roland@hack.frob.com>
3181
f5a01ca9
RM
3182 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3183 output to the target.
3184
90fe4186
RM
3185 * scripts/localplt.awk: New file.
3186 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3187 (check-localplt-CFLAGS): Variable removed.
3188 ($(all-built-dso:=.jmprel)): New static pattern rule.
3189 (generated): Add those targets.
3190 (localplt-built-dso): New variable.
3191 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3192
3193 * elf/check-localplt.c: File removed.
3194
82397ed6
RM
3195 * scripts/check-execstack.awk: New file.
3196 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3197 (check-execstack-CFLAGS): Variable removed.
3198 ($(objpfx)check-execstack.h): Target removed.
3199 ($(objpfx)execstack-default): New target.
3200 (generated): Add that instead of check-execstack.h.
3201 ($(all-built-dso:=.phdr)): New static pattern rule.
3202 (generated): Add those targets.
3203 * elf/check-execstack.c: File removed.
3204
82a79e7d
RM
3205 * scripts/check-textrel.awk: New file.
3206 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3207 (check-textrel-CFLAGS): Variable removed.
3208 (all-built-dso): Use := to define.o
3209 ($(all-built-dso:=.dyn)): New static pattern rule.
3210 (generated): Add those targets.
3211 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3212 * config.make.in (READELF): New substituted variable.
3213 * elf/check-textrel.c: File removed.
3214
62fde54f 32152012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3216
615605c9
JM
3217 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3218 allow.
3219 * conform/data/ctype.h-data [C99-based standards] (isblank):
3220 Expect function.
3221 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3222 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3224 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3225 Specify type. Require positive value.
3226 (EILSEQ): Likewise.
3227 (ERANGE): Likewise.
3228 [ISO || POSIX] (EILSEQ): Do not expect.
3229 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3230 Specify type. Require positive value.
3231 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3232 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3233 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3234 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3235 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3236 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3237 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3238 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3239 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3240 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3241 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3242 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3243 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3244 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3245 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3246 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3247 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3248 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3249 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3250 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3251 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3252 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3253 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3254 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3255 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3256 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3257 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3258 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3259 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3260 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3261 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3262 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3263 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3264 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3265 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3266 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3267 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3268 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3269 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3270 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3271 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3272 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3273 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3274 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3275 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3276 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3277 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3278 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3279 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3280 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3281 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3282 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3283 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3284 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3285 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3286 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3287 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3288 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3289 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3290 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3291 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3292 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3293 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3294 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3295 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3296 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3297 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3298 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3299 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3300 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3301 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3302 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3303 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3304 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3305 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3306 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3307 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3308 Require >= 2.
3309 (FLT_ROUNDS): Expect as macro, not constant.
3310 (FLT_MANT_DIG): Use macro-int-constant.
3311 (DBL_MANT_DIG): Likewise.
3312 (LDBL_MANT_DIG): Likewise.
3313 (FLT_DIG): Likewise.
3314 (DBL_DIG): Likewise.
3315 (LDBL_DIG): Likewise.
3316 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3317 (DBL_MIN_EXP): Likewise.
3318 (LDBL_MIN_EXP): Likewise.
3319 (FLT_MAX_EXP): Use macro-int-constant.
3320 (DBL_MAX_EXP): Likewise.
3321 (LDBL_MAX_EXP): Likewise.
3322 (FLT_MAX_10_EXP): Likewise.
3323 (DBL_MAX_10_EXP): Likewise.
3324 (LDBL_MAX_10_EXP): Likewise.
3325 (FLT_MAX): Use macro-constant.
3326 (DBL_MAX): Likewise.
3327 (LDBL_MAX): Likewise.
3328 (FLT_EPSILON): Use macro-constant. Give upper bound.
3329 (DBL_EPSILON): Likewise.
3330 (LDBL_EPSILON): Likewise.
3331 (FLT_MIN): Likewise.
3332 (DBL_MIN): Likewise.
3333 (LDBL_MIN): Likewise.
3334 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3335 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3336 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3337 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3338 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3339 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3340 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3341 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3342 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3343 [ISO11] (FLT_TRUE_MIN): Likewise.
3344 [ISO11] (LDBL_TRUE_MIN): Likewise.
3345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3346 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3347 (SCHAR_MIN): Use macro-int-constant. Specify type.
3348 (SCHAR_MAX): Likewise.
3349 (UCHAR_MAX): Likewise.
3350 (CHAR_MIN): Likewise.
3351 (CHAR_MAX): Likewise.
3352 (MB_LEN_MAX): Use macro-int-constant.
3353 (SHRT_MIN): Use macro-int-constant. Specify type.
3354 (SHRT_MAX): Likewise.
3355 (USHRT_MAX): Likewise.
3356 (INT_MAX): Likewise.
3357 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3358 bound negative.
3359 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3360 bound with "U".
3361 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3362 bound with "L".
3363 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3364 bound negative. Suffix upper bound with "L".
3365 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3366 bound with "UL".
3367 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3368 Specify type.
3369 [C99-based standards] (LLONG_MAX): Likewise.
3370 [C99-based standards] (ULLONG_MAX): Likewise.
3371 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3372 == 0.
3373 [ISO11] (max_align_t): Require type.
3374 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3375
c9140a62
JM
3376 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3377 from $CFLAGS, without defining away __attribute__ calls.
3378 (checknamespace): Use $CFLAGS_namespace.
3379
9af0bf29
JM
3380 * conform/conformtest.pl (@keywords): Only include C99 keywords
3381 for standards based on C99 or C11.
3382
343222a2
JM
3383 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3384 Disable tests.
3385 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3386 UNIX98]: Likewise.
3387
661f8cf0
JM
3388 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3389 usability of symbols in #if.
3390
ee74b9cb
JM
3391 * conform/conformtest.pl: If macro or constant types start
3392 "promoted:", expect the symbol to be of the following type
3393 promoted by the integer promotions.
62fde54f 3394
aafc49b3
JM
3395 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3396 in one place. Also handle "macro-constant".
3397
fefdf574
JM
3398 * conform/conformtest.pl: Only accept expected macro values with
3399 "==". Parse all "macro" lines in one place.
3400 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3401
f2d922fe
JM
3402 * conform/conformtest.pl: Handle braced types on "constant" lines
3403 instead of handling "typed-constant".
3404 * conform/data/signal.h-data: Use "constant" instead of
3405 "typed-constant".
3406
d22956c9
JM
3407 * conform/conformtest.pl: Handle "optional-" at start of lines in
3408 one place rather than duplicating several cases. Handle each
3409 format of "macro" line with initial "optional-".
3410
028e2e38
JM
3411 * conform/conformtest.pl: Only accept expected constant or
3412 optional-constant values with "==". Parse all "constant" lines in
3413 one place. Parse all "optional-constant" lines in one place.
3414 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3415 * conform/data/fmtmsg.h-data: Likewise.
3416 * conform/data/netinet/in.h-data: Likewise.
3417 * conform/data/tar.h-data: Likewise.
3418 * conform/data/limits.h-data: Use "==" form on "constant" and
3419 "optional-constant" lines.
3420
1b8f2850
JM
3421 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3422 Use -std=c99 for XOPEN2K.
3423 (@knownproblems): Remove.
3424 (newtoken): Don't check %isknown.
3425
a05a144b
JM
3426 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3427 Do not expect macro.
3428 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3440 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3441 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3458 [XPG3] (acosh): Likewise.
3459 [XPG3] (asinh): Likewise.
3460 [XPG3] (atanh): Likewise.
3461 [XPG3] (cbrt): Likewise.
3462 [XPG3] (expm1): Likewise.
3463 [XPG3] (ilogb): Likewise.
3464 [XPG3] (log1p): Likewise.
3465 [XPG3] (logb): Likewise.
3466 [XPG3] (nextafter): Likewise.
3467 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3468 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3469 [XPG3] (remainder): Likewise.
3470 [XPG3] (rint): Likewise.
3471 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3472 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3473 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3474 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3475 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3476 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3477 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3478 [UNIX98 || XOPEN2K] (scalb): Expect.
3479 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3480 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3481 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3482 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3483 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3484 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3485 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3486 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3487 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3488 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3489 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3490 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3491 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3492 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3493 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3494 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3495 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3496 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3497 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3498 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3499 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3500 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3501 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3502 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3503 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3504 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3505 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3506 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3507 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3508 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3509 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3510 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3511 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3512 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3513 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3514 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3515 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3516 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3517 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3518 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3519 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3520 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3521 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3522 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3523 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3524 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3525 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3526 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3527 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3528 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3529 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3530 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3531 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3532 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3533 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3534 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3535 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3536 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3537 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3538 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3539 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3540 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3541 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3542 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3543 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3544 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3545 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3546 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3547 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3548 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3549 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3550 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3551 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3552 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3553 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3554 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3555 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3556 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3557 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3558 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3559 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3560 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3561 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3562 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3563 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3564 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3565 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3566 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3567 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3568 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3569 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3570 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3571 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3572 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3573 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3574 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3575 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3576 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3577 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3578 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3579 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3580 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3581 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3582 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3583 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3584 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3585 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3586 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3587 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3588 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3589 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3590 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3591 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3592 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3593 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3594 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3595 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3596 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3597 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3598 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3599 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3600 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3601 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3602 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3603 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3604 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3605 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3606 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3607 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3608 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3609 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3610 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3611 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3612 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3613 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3614 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3615 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3616
73c5ebe3
JM
3617 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3618 _XOPEN_SOURCE_EXTENDED for XPG4.
3619
39c33b6c
JM
3620 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3621
62fde54f
JM
3622 * Makeconfig (localtime): Remove variable.
3623 (inst_localtime-file): Likewise.
3624
0741d64c
AS
36252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3626
3627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3628 Update.
3629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3630 Update.
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3632 Update.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3634 Update.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3636 Update.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3638 Update.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3640 Update.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3642 Update.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3644 Update.
3645
7cb029ee
JM
36462012-05-01 Joseph Myers <joseph@codesourcery.com>
3647
3648 [BZ #2550]
3649 [BZ #2570]
3650 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3651 comparisons to determine direction to adjust input.
3652 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3653 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3655 Likewise.
3656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3657 Likewise.
3658 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3659 Likewise.
3660 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3661 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3662 Likewise.
3663 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3664 Likewise.
3665 * math/libm-test.inc (nexttoward_test): Add more tests.
3666
412bd966
AS
36672012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3668
3669 [BZ #14040]
3670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3671 in version GLIBC_2.1, not GLIBC_2.0.
3672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3673 Likewise.
3674
9568c0c2
JM
36752012-04-30 Joseph Myers <joseph@codesourcery.com>
3676
adfbc8ac
JM
3677 [BZ #13942]
3678 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3679 (1 - x) * (1 + x).
3680 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3681 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3682 * math/libm-test.inc (acos_test): Add more tests.
3683 (asin_test): Likewise.
3684 * sysdeps/i386/fpu/libm-test-ulps: Update.
3685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3686
5ba3cc69
JM
3687 [BZ #14034]
3688 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3689 of square root.
3690 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3691 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3692 * math/libm-test.inc (acos_test_tonearest): New function.
3693 (acos_test_towardzero): Likewise.
3694 (acos_test_downward): Likewise.
3695 (acos_test_upward): Likewise.
3696 (asin_test_tonearest): Likewise.
3697 (asin_test_towardzero): Likewise.
3698 (asin_test_downward): Likewise.
3699 (asin_test_upward): Likewise.
3700 (main): Call the new functions.
3701 * sysdeps/i386/fpu/libm-test-ulps: Update.
3702 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3703
9568c0c2
JM
3704 [BZ #13884]
3705 [BZ #13924]
3706 * math/e_exp10.c: Include <float.h>.
3707 (__ieee754_exp10): Handle underflow here rather than multiplying
3708 large negative argument by M_LN10.
3709 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3710 of __ieee754_expf.
3711 * math/e_exp10l.c: Include <float.h>.
3712 (__ieee754_exp10l): Handle underflow here rather than multiplying
3713 large negative argument by M_LN10l.
3714 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3715 spurious overflow exception on underflow.
3716
5ac3ea17
MP
37172012-04-29 Marek Polacek <polacek@redhat.com>
3718
3719 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3720 (__fortify_function): New macro.
3721 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3722 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3723 __extern_always_inline.
3724 * libio/bits/stdio2.h: Likewise.
3725 * libio/bits/stdio.h: Likewise.
3726 * string/string.h: Likewise.
3727 * string/bits/string3.h: Likewise.
3728 * include/stdio.h: Likewise.
3729 * stdlib/bits/stdlib.h: Likewise.
3730 * stdlib/stdlib.h: Likewise.
3731 * rt/bits/mqueue2.h: Likewise.
3732 * rt/mqueue.h: Likewise.
3733 * posix/bits/unistd.h: Likewise.
3734 * posix/unistd.h: Likewise.
3735 * io/bits/poll2.h: Likewise.
3736 * io/bits/fcntl2.h: Likewise.
3737 * io/fcntl.h: Likewise.
3738 * io/sys/poll.h: Likewise.
3739 * misc/bits/syslog.h: Likewise.
3740 * misc/bits/syslog-ldbl.h: Likewise.
3741 * misc/sys/syslog.h: Likewise.
3742 * socket/bits/socket2.h: Likewise.
3743 * socket/sys/socket.h: Likewise.
3744 * debug/tst-chk1.c: Likewise.
3745 * wcsmbs/bits/wchar2.h: Likewise.
3746 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3747 * wcsmbs/wchar.h: Likewise.
3748
ecf0ebfb
AJ
37492012-04-29 Andreas Jaeger <aj@suse.de>
3750
3751 * Makerules (tests): Remove enable-check-abi protection.
3752 (check-abi-warn): Remove.
3753 (check-abi-%): Remove check-abi-warn usage.
3754
3755 * configure.in: Remove check-abi configure option.
3756 * configure: Regenerated.
3757 * config.make.in (enable-check-abi): Remove.
3758
6d5c57fa
AS
37592012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3760
24c5d07e 3761 [BZ #14033]
ded5180a
AS
3762 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3763 double functions to double *_finite functions.
3764
7e0d315d
AS
3765 [BZ #13941]
3766 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3767 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3768 LDBL_MIN_EXP.
3769 * stdio-common/Makefile (tests): Add tst-sprintf3.
3770 * stdio-common/tst-sprintf3.c: New file.
3771
6d5c57fa
AS
3772 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3773 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3774
0749ff8b
JM
37752012-04-28 Joseph Myers <joseph@codesourcery.com>
3776
3777 * conform/conformtest.pl: Remove duplicate typed-constant
3778 handling.
3779
8dbd5d7b
DM
37802012-04-28 David S. Miller <davem@davemloft.net>
3781
3782 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3783 (check-abi-%): Remove AWK script prerequisite and explicit
3784 abilist directory.
3785 (check-abi): Rewrite to just diff the symlist with the abilist.
3786 (config-tls, config-abi-config): Delete, no longer used.
3787 (update-abi-%): Remove AWK script and explicit abilist directory.
3788 (update-abi): Rewrite to simply compare and conditionally copy the
3789 symlist and the sysdep abilist file. Remove update-abi-config
3790 checks.
3791 * abilist/ld.abilist: Remove.
3792 * abilist/libBrokenLocale.abilist: Remove.
3793 * abilist/libanl.abilist: Remove.
3794 * abilist/libcrypt.abilist: Remove.
3795 * abilist/libdl.abilist: Remove.
3796 * abilist/librt.abilist: Remove.
3797 * abilist/libthread_db.abilist: Remove.
3798 * abilist/libutil.abilist: Remove.
3799 * scripts/extract-abilist.awk: Remove.
3800 * scripts/merge-abilist.awk: Remove.
3801 * sysdeps/generic/libcidn.abilist: New file.
3802 * sysdeps/generic/libnss_compat.abilist: New file.
3803 * sysdeps/generic/libnss_db.abilist: New file.
3804 * sysdeps/generic/libnss_dns.abilist: New file.
3805 * sysdeps/generic/libnss_files.abilist: New file.
3806 * sysdeps/generic/libnss_hesiod.abilist: New file.
3807 * sysdeps/generic/libnss_nis.abilist: New file.
3808 * sysdeps/generic/libnss_nisplus.abilist: New file.
3809 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3810 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3811 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3812 file.
3813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3814 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3815 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3816 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3817 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3818 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3819 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3820 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3821 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3822 file.
3823 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3824 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3825 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3826 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3827 file.
3828 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3829 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3830 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3831 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3832 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3833 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3834 file.
3835 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3836 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3837 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3838 file.
3839 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3840 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3841 New file.
3842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3843 New file.
3844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3845 New file.
3846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3847 New file.
3848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3849 New file.
3850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3851 New file.
3852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3853 New file.
3854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3855 New file.
3856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3857 New file.
3858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3859 New file.
3860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3861 New file.
3862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3863 New file.
3864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3865 New file.
3866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3867 file.
3868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3869 New file.
3870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3871 New file.
3872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3873 file.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3875 New file.
3876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3877 New file.
3878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3879 file.
3880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3881 New file.
3882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3883 New file.
3884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3885 New file.
3886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3887 New file.
3888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3889 New file.
3890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3891 New file.
3892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3894 file.
3895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3896 New file.
3897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3898 file.
3899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3900 file.
3901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3902 file.
3903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3904 file.
3905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3906 file.
3907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3908 New file.
3909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3910 file.
3911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3912 file.
3913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3914 New file.
3915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3916 file.
3917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3919 file.
3920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3921 New file.
3922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3923 file.
3924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3925 file.
3926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3927 file.
3928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3929 file.
3930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3931 file.
3932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3933 New file.
3934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3935 file.
3936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3937 file.
3938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3939 New file.
3940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3941 file.
3942 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3943 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3944 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3945 file.
3946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3947 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3948 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3949 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3950 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3951 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3952 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3953 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3954 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3955 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3957 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3958 file.
3959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3960 New file.
3961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3962 file.
3963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3964 file.
3965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3966 file.
3967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3968 file.
3969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3970 file.
3971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3972 New file.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3974 New file.
3975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3976 file.
3977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3978 New file.
3979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3980 file.
3981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3982 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3983 file.
3984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3985 New file.
3986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3987 file.
3988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3989 file.
3990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3991 file.
3992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3993 file.
3994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3995 file.
3996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3997 New file.
3998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3999 New file.
4000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
4001 file.
4002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
4003 New file.
4004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
4005 file.
4006
41d73a1b
JM
40072012-04-28 Joseph Myers <joseph@codesourcery.com>
4008
4009 * conform/conformtest.pl: Fix typo in handling typed-constant from
4010 allow-header.
4011
28aeeda4
JM
40122012-04-27 Joseph Myers <joseph@codesourcery.com>
4013
adae8f5e
JM
4014 * README: Cut down references to pre-2.6 Linux kernels and
4015 Linuxthreads. Update lists of configurations in libc and ports
4016 and sort alphabetically. Say "or newer" with Linux kernel version
4017 requirements.
4018
28aeeda4
JM
4019 * config.h.in [IS_IN_build]: Allow compiling without optimization.
4020
a462cb63
RA
40212012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4022
4023 [BZ #887]
4024 * math/libm-test.inc (logb_test_downward): New test to expose
4025 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
4026 rounding mode.
4027
6ad3493e
JM
40282012-04-27 Joseph Myers <joseph@codesourcery.com>
4029
4030 [BZ #14027]
4031 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
4032 to be done.
4033 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
4034 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
4035
2ce4f015
JM
40362012-04-26 Joseph Myers <joseph@codesourcery.com>
4037
5aeb141a
JM
4038 * sysdeps/unix/i386/brk.S: Remove file.
4039 * sysdeps/unix/i386/dl-brk.S: Likewise.
4040 * sysdeps/unix/i386/pipe.S: Likewise.
4041 * sysdeps/unix/i386/sigreturn.S: Likewise.
4042 * sysdeps/unix/i386/syscall.S: Likewise.
4043 * sysdeps/unix/i386/vfork.S: Likewise.
4044 * sysdeps/unix/i386/wait.S: Likewise.
4045
7143acae
JM
4046 * sysdeps/unix/common/tcsendbrk.c: Move to ...
4047 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
4048
2ce4f015
JM
4049 * configure.in (arm*-none*): Do not allow without
4050 --enable-hacker-mode.
4051 (netbsd*): Remove case setting base_os.
4052 (386bsd*): Likewise.
4053 (freebsd*): Likewise.
4054 (bsdi*): Likewise.
4055 (osf*): Likewise.
4056 (sunos*): Likewise.
4057 (ultrix*): Likewise.
4058 (newsos*): Likewise.
4059 (dynix*): Likewise.
4060 (*bsd*): Likewise.
4061 (sysv*): Likewise.
4062 (isc*): Likewise.
4063 (esix*): Likewise.
4064 (sco*): Likewise.
4065 (minix*): Likewise.
4066 (irix4*): Likewise.
4067 (irix6*): Likewise.
4068 (solaris[2-9]*): Likewise.
4069 (none): Likewise.
4070 * configure: Regenerated.
4071
0ac229c8
AZ
40722012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4073
4074 [BZ #11521]
4075 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
4076 overflow or cancellation in calculating denominator.
4077 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
4079 down expression to avoid unexpected rounding in newer GCCs.
4080 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
4081
33f244f4
DM
40822012-04-26 David S. Miller <davem@davemloft.net>
4083
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
4085 long-double compat symbols.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
4097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4099
cfa1f3e8
DM
41002012-04-25 David S. Miller <davem@davemloft.net>
4101
4102 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
4103 HWCAP_* values only after the memory barriers have been defined.
4104 (atomic_full_barrier): Define.
4105 (atomic_read_barrier): Define.
4106 (atomic_write_barrier): Define.
4107
6e236b92
SP
41082012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4109
4110 * shlib-versions: Add libgcc_s version information.
4111 * sysdeps/generic/libgcc_s.h: Remove.
4112 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
4113 libgcc_s.h.
4114 * sysdeps/gnu/unwind-resume.c: Likewise.
4115 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
4116
aab39a09
DM
41172012-04-25 David S. Miller <davem@davemloft.net>
4118
4119 * sysdeps/unix/sparc/brk.S: Delete.
4120 * sysdeps/unix/sparc/dl-brk.S: Delete.
4121 * sysdeps/unix/sparc/pipe.S: Delete.
4122 * sysdeps/unix/sparc/sysdep.S: Delete.
4123 * sysdeps/unix/sparc/sysdep.h: Delete.
4124 * sysdeps/unix/sparc/vfork.S: Delete.
4125 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
4126 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
4127 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
4128 ret_ERRVAL, r0, r1, MOVE): Define.
4129 (JUMPTARGET): Remove.
4130 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
4131 sysdeps/unix/sparc/sysdep.h
4132 (ENTRY, END): Remove.
4133 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4134
a3cc4f48
JM
41352012-04-25 Joseph Myers <joseph@codesourcery.com>
4136
2ed8cda2
JM
4137 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
4138 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
4139 -DIS_IN_build.
4140
35d76d59
JM
4141 * timezone/README: Update upstream location and email address for
4142 tzcode and tzdata.
4143 * timezone/zdump.c: Update from tzcode 2012b.
4144 * timezone/zic.c: Likewise.
4145
a3cc4f48
JM
4146 * configure.in (libc_cv_as_needed): Remove test.
4147 * configure: Regenerated.
4148 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
4149 conditional definition.
4150 [$(have-as-needed) != yes] (no-as-needed): Likewise.
4151 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
4152 * config.make.in (have-as-needed): Remove variable.
4153
ceab42c3
SP
41542012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4155 Paul Pluzhnikov <ppluzhnikov@google.com>
4156
4157 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4158 strings correctly.
4159
3ce2865f
CLT
41602012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4161
4162 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4163 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4164 * sysdeps/sh/strlen.S: Likewise.
4165
f37e0d68
JM
41662012-04-24 Joseph Myers <joseph@codesourcery.com>
4167
ae186e9a
JM
4168 * sysdeps/unix/fork.S: Remove file.
4169 * sysdeps/unix/i386/fork.S: Likewise.
4170 * sysdeps/unix/sparc/fork.S: Likewise.
4171
b96914af
JM
4172 * sysdeps/unix/system.c: Remove file.
4173 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4174
f37e0d68
JM
4175 * sysdeps/unix/getegid.S: Remove file.
4176 * sysdeps/unix/geteuid.S: Likewise.
4177
87ef29ca
RM
41782012-04-24 Roland McGrath <roland@hack.frob.com>
4179
83bcd236
RM
4180 * scripts/check-localplt.awk: New file.
4181 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4182 of diff.
4183 * scripts/data/localplt-generic.data: Add a comment.
4184
87ef29ca
RM
4185 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4186 NODE when __dir_mkfile failed.
4187 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4188 Reported by Ludovic Courtès <ludo@gnu.org>.
4189
e5a6e567
AJ
41902012-04-24 Andreas Jaeger <aj@suse.de>
4191
4192 * Makerules (common-clean): Also remove gen-as-const-headers
4193 files.
4194
c1820385
JM
41952012-04-24 Joseph Myers <joseph@codesourcery.com>
4196
4197 * Makerules (native-compile): Do not change working directory for
4198 build. Use $(OUTPUT_OPTION) in command.
4199 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4200
94e02fc4
AZ
42012012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202
4203 [BZ #13886]
4204 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4205 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4206 * math/libm-test.inc (floor_test): Add more tests.
4207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4208
3a533ca3
JM
42092012-04-24 Joseph Myers <joseph@codesourcery.com>
4210
940ab4b3
JM
4211 * sysdeps/unix/getdents.c: Remove file.
4212 * sysdeps/unix/sysv/getdents.c: Likewise.
4213 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4214
90e037bd
JM
4215 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4216 sysdeps/unix/mman/syscalls.list.
4217 (mmap): Likewise.
4218 (mprotect): Likewise.
4219 (msync): Likewise.
4220 (munmap): Likewise.
4221 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4222 * sysdeps/unix/mman/syscalls.list: Remove.
4223 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4224
3a533ca3
JM
4225 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4226 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4227 * configure: Regenerated.
4228 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4229 $(libgcc_s_suffix).
4230 * config.make.in (libgcc_s_suffix): Remove variable.
4231
1ad743de
JM
42322012-04-23 Joseph Myers <joseph@codesourcery.com>
4233
4ad451e2
JM
4234 * sysdeps/unix/sysv/gethostname.c: Move to ...
4235 * sysdeps/posix/gethostname.c: ... here.
4236
5e37ce39
JM
4237 * sysdeps/unix/execve.S: Remove file.
4238
1ad743de
JM
4239 * sysdeps/unix/_exit.S: Remove file.
4240
4e681b5b
AJ
42412012-04-23 Andreas Jaeger <aj@suse.de>
4242
4243 [BZ #13739]
4244 * manual/Makefile: Remove make dist support, there's no
4245 need for a stand-alone documentation tar ball.
4246 (TEXI2DVI): Define always, it's not in Makeconfig.
4247 (dist): Removed.
4248 (tar-it): Removed.
4249 (edition): Removed.
4250 (glibc-doc-$(edition).tar): Removed
4251 (%.Z): Removed.
4252 (%.gz): Removed.
4253 (%.uu): Removed.
4254 (ETAGS): Remove, it's in Makeconfig.
4255 (move-if-change): Remove, it's in Makeconfig.
4256
c0baea34
PE
42572013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4258
4259 [BZ #13970]
4260 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4261 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4262 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4263 (strtod_l, strtof_l, strtold_l): Remove __wur.
4264 It is not necessarily an error to ignore strtol's return value.
4265 One can reliably look at the stored endptr to decide whether
4266 the number had valid syntax.
4267
7c0616fa
AJ
42682012-04-21 Andreas Jaeger <aj@suse.de>
4269
803cb6b7 4270 [BZ #13739]
7c0616fa
AJ
4271 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4272
b0fe253f
JM
42732012-04-21 Joseph Myers <joseph@codesourcery.com>
4274
4275 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4276 * sysdeps/unix/sysv/Versions: Remove file.
4277
8280f22d
MT
42782012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4279
4280 [BZ #13927]
4281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4282
75ce411f 42832012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4284
4285 [BZ #7064]
4286 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4287 version from __vm86.
4288
097d59fa
JM
42892012-04-20 Joseph Myers <joseph@codesourcery.com>
4290
a90f3bcb
JM
4291 * sysdeps/unix/common/lxstat.c: Remove file.
4292 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4293
edc7ea78
JM
4294 * sysdeps/unix/sysv/Makefile: Remove file.
4295
cb78c221
JM
4296 * sysdeps/unix/sysv/direct.h: Remove file.
4297
efa6a45f
JM
4298 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4299 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4300 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4301 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4302 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4303 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4304 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4305
9c9f2d0c
JM
4306 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4307
4541c83b
JM
4308 * sysdeps/unix/xmknod.c: Remove file.
4309 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4310
f5d153a0
JM
4311 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4312
aa746595
JM
4313 * sysdeps/unix/sysv/i386/time.S: Remove file.
4314
cce5905e
JM
4315 * sysdeps/unix/fxstat.c: Remove file.
4316 * sysdeps/unix/xstat.c: Likewise.
4317 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4318
37fa3841
JM
4319 * sysdeps/unix/sysv/sigaction.c: Remove file.
4320
ff1962a3
JM
4321 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4322 (sysdep_headers): Remove variable.
4323 [termio.h not in sysdep_headers] (generated): Likewise.
4324 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4325 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4326 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4327 * sysdeps/unix/sysv/tcflow.c: Likewise.
4328 * sysdeps/unix/sysv/tcflush.c: Likewise.
4329 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4330 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4331 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4332 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4333 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4334
e7740d31
JM
4335 * sysdeps/unix/siglist.c: Remove file.
4336
ee06f18b
JM
4337 * sysdeps/unix/getppid.S: Remove file.
4338
097d59fa
JM
4339 * sysdeps/unix/mkdir.c: Remove file.
4340 * sysdeps/unix/rmdir.c: Likewise.
4341
ff3d51ec
AS
43422012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4343
4344 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4345 ERR_MAX value.
4346 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4347 errlist-compat value.
4348
50f81fd7
DM
43492012-04-18 David S. Miller <davem@davemloft.net>
4350
4351 * sysdeps/generic/memcopy.h (reg_char): Delete.
4352 * debug/strcat_chk.c: Use char, not reg_char.
4353 * debug/strcpy_chk.c: Likewise.
4354 * debug/strncat_chk.c: Likewise.
4355 * debug/strncpy_chk.c: Likewise.
4356 * string/memchr.c: Likewise.
4357 * string/memrchr.c: Likewise.
4358 * string/rawmemchr.c: Likewise.
4359 * string/strcat.c: Likewise.
4360 * string/strchr.c: Likewise.
4361 * string/strchrnul.c: Likewise.
4362 * string/strcmp.c: Likewise.
4363 * string/strcpy.c: Likewise.
4364 * string/strncat.c: Likewise.
4365 * string/strncmp.c: Likewise.
4366 * string/strncpy.c: Likewise.
4367
8ff41c46
WS
43682012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4369
4370 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4371 __builtin_memcopy is called when src and dest ranges are known to not
4372 overlap.
4373
6b652f46
WS
43742012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4375
4376 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4377 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4378 fwd_align_merge macro call.
4379 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4380 bwd_align_merge macro call.
4381 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4382
b282631e
WS
43832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4384
4385 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4386 bwd_align_merge macros.
4387 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4388 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4389 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4390
95aa737c
DM
43912012-04-18 David S. Miller <davem@davemloft.net>
4392
4393 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4394
7a99a614
AJ
43952012-04-18 Andreas Jaeger <aj@suse.de>
4396
4397 [BZ# 6794]
4398 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4399 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4400 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4401
4402 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4403 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4404 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4405
4406 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4407 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4408 Adjust for changed ldbl-128 files.
4409
4410 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4411 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4412 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4413
e5270c23
DM
44142012-04-17 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4417
fb5e92c9
AS
44182012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4419
4420 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4421 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4422 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4423 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4424 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4425 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4426
76da7265
AZ
44272012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4428
4429 [BZ #6794]
4430 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4431 * math/libm-test.inc: Add ilogb errno and exception tests.
4432 * math/w_ilogb.c: New file: ilogb wrapper.
4433 * math/w_ilogbf.c: New file: ilogbf wrapper.
4434 * math/w_ilogbl.c: New file: ilogbl wrapper.
4435 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4436 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4437 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4438 exception being thrown with 0.0 as argument.
4439 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4440 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4441 exception being thrown with 0.0 as argument.
4442 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4443 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4444 exception being thrown with 0.0 as argument.
4445 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4446 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4447 exception being thrown with 0.0 as argument.
4448 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4449 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4450 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4451 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4452 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4453 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4454 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4455 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4456 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4457
0396e69d
PB
44582012-04-17 Petr Baudis <pasky@ucw.cz>
4459
4460 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4461 with altivec.
4462
750b5926
MP
44632012-04-16 Marek Polacek <polacek@redhat.com>
4464
4465 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4466
751728a1
MP
44672012-04-16 Marek Polacek <polacek@redhat.com>
4468
4469 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4470 operands of fdivp instruction.
4471
34a27407
L
44722012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4473
4474 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4475 * elf/tst-auditmod3b.c: Likewise.
4476 * elf/tst-auditmod4b.c: Likewise.
4477 * elf/tst-auditmod5b.c: Likewise.
4478 * elf/tst-auditmod6b.c: Likewise.
4479 * elf/tst-auditmod6c.c: Likewise.
4480 * elf/tst-auditmod7b.c: Likewise.
4481 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4482 * sysdeps/x86_64/preconfigure.in: Likewise.
4483 * sysdeps/x86_64/preconfigure: Regenerated.
4484
7e73e17d
L
44852012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4486
4487 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4488 __ILP32__.
4489
c7a6ab72
AB
44902012-04-13 Antoine Balestrat <merkil33@gmail.com>
4491
4492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4493 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4494
a9e8e0e0
CL
44952012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4496
4497 [BZ #13973]
4498 * locale/iso-639.def: Fix gl language name. Spotted by
4499 Yaron Shahrabani.
4500
ec98af7d
RM
45012012-04-12 Roland McGrath <roland@hack.frob.com>
4502
4503 [BZ #2074]
4504 * libio/libio.h (__io_write_fn): Update comment.
4505
247c3ede
PB
45062012-04-12 Petr Baudis <pasky@ucw.cz>
4507
4508 [BZ #2074]
4509 * stdio.texi (Hook Functions): The user provided writer function
4510 is not allowed to return -1.
4511
55939d6d
DM
45122012-04-11 David S. Miller <davem@davemloft.net>
4513
4514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4515
90020f5a
MF
45162012-04-11 Mike Frysinger <vapier@gentoo.org>
4517
4518 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4519 Add a leading slash to rtkaio.
4520
288f9098
JM
45212012-04-11 Jim Meyering <meyering@redhat.com>
4522
90020f5a
MF
4523 [BZ #11959]
4524 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4525 It is not necessarily an error to ignore fwrite's return
4526 value. One can reliably use ferror to test for errors after
4527 the fact.
288f9098 4528
4be2b570
L
45292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4530
4531 * bits/types.h (__snseconds_t): New type.
4532 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4533
4534 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4536 (__SNSECONDS_T_TYPE): Likewise.
4537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4538 (__SNSECONDS_T_TYPE): Likewise.
4539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4540 (__SNSECONDS_T_TYPE): Likewise.
4541
288f9098 45422012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4543
4544 [BZ #2636]
4545 * manual/time.texi (Processor Time): Return type of times is
4546 elapsed real time since an arbitrary point in the past.
4547 (CPU Time): Move CLK_TCK from here...
4548 (Processor Time): ...to here. Correct description.
4549 * manual/conf.texi (Constants for Sysconf): Correct description of
4550 _SC_CLK_TCK.
4551
d7dd4413
DM
45522012-04-10 David S. Miller <davem@davemloft.net>
4553
4554 [BZ #13967]
4555 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4556 where the is a gap between DT_REL(A) and DT_JMPREL.
4557
b46068fc
L
45582012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4559
4560 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4561 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4562 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4563
73d65cc3
SP
45642012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
4566 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4567 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4568 (dl_main): Handle --inhibit-cache.
4569 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4570 _dl_inhibit_cache.
4571 * elf/dl-load.c (_dl_map_object): Use it.
4572 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4573
bcc8d661
JM
45742012-04-09 Joseph Myers <joseph@codesourcery.com>
4575
8f9a2fae
JM
4576 [BZ #13872]
4577 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4578 (__ieee754_powl): Saturate large exponents rather than testing for
4579 overflow of y*log2(x).
4580 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4581 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4582 exceptions.
4583
bcc8d661
JM
4584 [BZ #11521]
4585 * math/s_ctan.c: Include <float.h>.
4586 (__ctan): Avoid internal overflow or cancellation in calculating
4587 denominator.
4588 * math/s_ctanf.c: Likewise.
4589 * math/s_ctanl.c: Likewise.
4590 * math/s_ctanh.c: Likewise.
4591 * math/s_ctanhf.c: Likewise.
4592 * math/s_ctanhl.c: Likewise.
4593 * math/libm-test.inc (ctan_test): Add more tests.
4594 (ctanh_test): Likewise.
4595 * sysdeps/i386/fpu/libm-test-ulps: Update.
4596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4597
823fbbb4
AJ
45982012-04-09 Andreas Jaeger <aj@suse.de>
4599
03879793
AJ
4600 [BZ #6894]
4601 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4602 is an optional BSD extension.
4603
823fbbb4
AJ
4604 [BZ #10254]
4605 * manual/stdio.texi (Opening Streams): Document additional fopen
4606 parameters.
4607
8de131cb
RM
46082012-04-09 Roland McGrath <roland@hack.frob.com>
4609
4610 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4611 %eax without telling the compiler.
4612
c0ed9d7d
CD
46132012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4614
4615 [BZ # 13963]
4616 * manual/install.texi: Use sourceware.org.
4617
c483f6b4
JM
46182012-04-09 Joseph Myers <joseph@codesourcery.com>
4619
d7dd9453
JM
4620 [BZ #13873]
4621 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4622 (__ieee754_pow): Generate overflow and underflow using huge*huge
4623 and tiny*tiny rather than just returning constant infinity or zero
4624 for large exponents.
4625 * math/libm-test.inc (pow_test): Require overflow exceptions for
4626 applicable cases of large exponents.
4627
c483f6b4
JM
4628 [BZ #706]
4629 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4630 (__ieee754_pow): Use iterative multiplication algorithm only for
4631 integer exponents with absolute value below 1024. Check for odd
4632 integer exponents when using algorithm for real exponents.
4633 * math/libm-test.inc (pow_test): Add more tests.
4634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4635
d2de7579
JM
46362012-04-08 Joseph Myers <joseph@codesourcery.com>
4637
4638 [BZ #13705]
4639 * math/libm-test.inc (exp_test): Do not allow overflow exception
4640 on underflow test.
4641
f77f1232
AJ
46422012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4643
4644 [BZ #13705]
4645 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4646 instead of __kernel_standard_f.
4647
3884932b
MF
46482012-04-08 Mike Frysinger <vapier@gentoo.org>
4649
4650 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4651 * sysdeps/x86_64/memset_chk.S: Likewise.
4652
54472e9c
AJ
46532012-04-08 Andreas Jaeger <aj@suse.de>
4654
6ab0fbfc
AJ
4655 [BZ #10153]
4656 * manual/startup.texi (Environment Access): Describe return value
4657 for putenv and setenv.
4658
61efba8c
AJ
4659 [BZ #6895]
4660 * manual/filesys.texi (Directory Entries): Add description for
4661 DT_LNK.
4662
95c3f29a
AJ
4663 [BZ #6890]
4664 * manual/filesys.texi (Directory Entries): Clarify that it's file
4665 system not operating system in the description of DT_UNKNOWN.
4666
54472e9c
AJ
4667 [BZ #6578]
4668 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4669
624254b1
SC
46702012-04-08 Stephen Compall <s11@member.fsf.org>
4671
4672 [BZ #6649]
4673 * manual/llio.texi (Opening and Closing Files): Add cross
4674 reference to explain mode argument.
4675
1e4920e0
MF
46762012-04-07 Mike Frysinger <vapier@gentoo.org>
4677
4678 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4679 * sysdeps/x86_64/memset_chk.S: Likewise.
4680
5ed848f3
DM
46812012-04-07 David S. Miller <davem@davemloft.net>
4682
4683 * elf/elf.h (R_SPARC_WDISP10): Define.
4684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4685 R_SPARC_SIZE32.
4686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4687 R_SPARC_SIZE64 and R_SPARC_H34.
4688
96154cd8
CD
46892012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4690
4691 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4692 conditions and remove no longer applicable assertion.
4693
9904dc47
L
46942012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4695
4696 * bits/byteswap.h: Include <features.h>.
4697 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4698 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4699
f8887d0a
L
47002012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4701
4702 * bits/byteswap.h (__bswap_16): Removed.
4703 Include <bits/byteswap-16.h> to get __bswap_16.
4704 * sysdeps/i386/bits/byteswap.h: Likewise.
4705 * sysdeps/s390/bits/byteswap.h: Likewise.
4706 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4707 * bits/byteswap-16.h: New file.
4708 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4709 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4710 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4711 * string/Makefile (headers): Add bits/byteswap-16.h.
4712
62470f60
PP
47132012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4714
4715 [BZ #13895]
4716 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4717 extra indirection.
4718 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4719 * nss/tst-nss-static.c: New.
4720
4dad7bab
RM
47212012-04-06 Robert Millan <rmh@gnu.org>
4722
4723 [BZ #6486]
4724 * manual/llio.texi (File Position Primitive): lseek
4725 refers to WHENCE when it really means OFFSET.
4726
e9142a17
AJ
47272012-04-06 Andreas Jaeger <aj@suse.de>
4728
2c040eff
AJ
4729 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4730 strncmp declarations.
4731
e9142a17
AJ
4732 * abilist/libc.abilist: Add __poll and __ppoll.
4733
ff9f1c5f
DM
47342012-04-05 David S. Miller <davem@davemloft.net>
4735
dcd2ae90
DM
4736 * scripts/check-local-headers.sh: Accept a host triplet in the
4737 path matched by the exclude regexp.
4738
993eb054
DM
4739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4740 definition.
4741 * sysdeps/powerpc/powerpc32/dl-machine.h
4742 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4743 * sysdeps/s390/s390-32/dl-machine.h
4744 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4745 * sysdeps/sparc/sparc32/dl-machine.h
4746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4747 * sysdeps/sparc/sparc64/dl-machine.h
4748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4749
ff9f1c5f
DM
4750 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4751 lazy binding.
48e2e132 4752 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4753 undefined symbol errors.
4754
48e2e132 4755 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4756 DT_NEEDED entries.
4757
e80d6f94
MM
47582012-04-05 Michael Matz <matz@suse.de>
4759
4760 [BZ #13592]
4761 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4762
349fa79f
AJ
47632012-04-05 Andreas Jaeger <aj@suse.de>
4764
4765 [BZ #13908]
4766 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4767 comment.
4768
f402708f
KK
47692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4770
4771 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4772 which ROUND is no valid rounding mode.
4773
2ecccfc9
KK
47742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4775
4776 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4777 read again.
4778 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4779
8a53f50f
KK
47802012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4781
4782 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4783 an exception using FPU order intentionally.
4784
47852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4786
4787 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4788 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4789 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4790 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4791
d653abb7
SJ
47922012-04-05 Simon Josefsson <simon@josefsson.org>
4793
4794 [BZ #12340]
4795 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4796 EINVAL when BUFLEN is too smal.
4797
c3b1bf7d
TS
47982012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4799
4800 [BZ #13553]
4801 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4802 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4803
b1aa60f3
AJ
48042012-04-03 Andreas Jaeger <aj@suse.de>
4805
c3b1bf7d 4806 [BZ #13938]
67f60a26
AJ
4807 * manual/setjmp.texi (System V contexts): Fix sentence.
4808
b1aa60f3
AJ
4809 [BZ #13926]
4810 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4811 New macro for this case.
4812 [!__GNUC__] (__bswap_64): New inline function for this case.
4813 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4814 * bits/byteswap.h: Likewise.
4815 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4816 ull, guard with __GLIBC_HAVE_LONG_LONG.
4817
4818 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4819 __GLIBC_HAVE_LONG_LONG.
4820
4821 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4822 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4823
39c59c35
TMQMF
48242012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4825
4826 [BZ #13691]
4827 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4828 inptr and inend, rather than using last_ch.
4829
135ffda8
DM
48302012-04-02 David S. Miller <davem@davemloft.net>
4831
4832 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4833 * stdio-common/printf-parse.h (read_int): Change return type to
4834 'int', return -1 on INT_MAX overflow.
4835 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4836 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4837 overflows INT_MAX. Check for overflow of in-format-string precision
4838 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4839 SIZE_MAX not INT_MAX for integer overflow test.
4840 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4841 skip the construct in the format string but do not record anything.
4842 * stdio-common/bug22.c: Adjust to test both width/prevision
4843 INT_MAX overflow as well as total length INT_MAX overflow. Check
4844 explicitly for proper errno values.
4845
228c019e
TS
48462012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4847
302cadd3
TS
4848 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4849 CHAR_MAX.
4850 * string/test-strcmp.c [! WIDE]: Likewise.
4851 * time/tst-mktime2.c: Likewise for INT_MAX.
4852 * string/test-string.h: #include <sys/param.h> for MIN.
4853
228c019e
TS
4854 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4855 * sysdeps/i386/init-first.c (init): Likewise.
4856 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4857 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4858 * sysdeps/sh/init-first.c (init): Likewise.
4859
cfa633f5
UD
48602012-04-01 Ulrich Drepper <drepper@gmail.com>
4861
4862 * po/ru.po: Update from translation team.
d1635ef8 4863 * po/vi.po: Likewise.
cfa633f5 4864
6cd0a5ea
SP
48652012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4866
4867 * resolv/nss_dns/dns-host.c: Merge copyright years.
4868
4b43400f
LD
48692012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4870
4871 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4872 Optimize memcpy with prefetch if
4873 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4874 src, dst pointers have unequal 16 byte alignments.
4875
48c41d04
SP
48762012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4877
4878 [BZ #13928]
4879 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4880 from a CNAME entry and return the minimum ttl for the query.
4881 (gaih_getanswer_slice): Likewise.
4882
b8dc394d
JL
48832012-03-30 Jeff Law <law@redhat.com>
4884
4885 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4886 due to long keys.
4887 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4888 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4889
2f5a5ed0
JL
4890 * resolv/nss_dns/dns-host.c: Update copyright year.
4891
1d39e359
UD
48922012-03-30 Ulrich Drepper <drepper@gmail.com>
4893
c030f70c 4894 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4895 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4896
1d39e359
UD
4897 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4898 comments for sendmmsg.
4899
49002012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4901
4902 [BZ #13691]
4903 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4904 with only 1 character between 0x0041 and 0x01b0.
4905 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4906 * wcsmbs/tst-mbsnrtowcs.c: New file.
4907
20fde227
DM
49082012-03-29 David S. Miller <davem@davemloft.net>
4909
4910 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4911 small copies by hand.
4912
984a4237
JL
49132012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4914
4915 [BZ #13761]
4916 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4917 _nss_compat_initgroups_dyn): Fall back to malloc/free
4918 for large group memberships.
4919
18c9d62b
DM
49202012-03-28 David S. Miller <davem@davemloft.net>
4921
88d85d4f
DM
4922 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4923 that branches into memcpy.
4924 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4926 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4927 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4929 bits.
4930 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4931 implementation too.
4932 * sysdeps/sparc/mempcpy.S: New file.
4933
e5aa83e1
DM
4934 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4935 the IFUNC routine in the libc case.
4936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4937
88570753
DM
4938 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4939 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4940 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4941 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4942 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4943 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4944 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4945 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4946
249d7567
DM
4947 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4948 loop to 256 bytes instead of 64 bytes and fix test signedness.
4949
18c9d62b
DM
4950 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4951 * sysdeps/sparc/sparc32/Makefile: rather than here...
4952 * sysdeps/sparc/sparc64/Makefile: and here.
4953
05f3d1f6
UD
49542012-03-28 Ulrich Drepper <drepper@gmail.com>
4955
4956 * malloc/mallocbug.c: Avoid warnings about unused variables.
4957
86ae07a8
JL
49582012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4959
4960 [BZ #13760]
4961 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4962 in the right place. Discard and retry query if response is
4963 larger than input buffer size.
4964
41bf21a1
JM
49652012-03-28 Joseph Myers <joseph@codesourcery.com>
4966
d6270972
JM
4967 [BZ #369]
4968 [BZ #2678]
4969 [BZ #3866]
4970 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4971 x for large integer exponent.
4972 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4973 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4974 sign of result as needed afterwards.
4975 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4976 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4977 result for underflowing pow the same as for overflow.
4978 (__kernel_standard_l): Handle powl overflow and underflow here
4979 rather than calling __kernel_standard.
4980 * math/libm-test.inc (pow_test): Add more tests.
4981
414fca03 4982 [BZ #3868]
41bf21a1
JM
4983 [BZ #13879]
4984 [BZ #13910]
4985 [BZ #13911]
4986 [BZ #13912]
4987 [BZ #13913]
4988 [BZ #13915]
4989 [BZ #13916]
4990 [BZ #13917]
4991 [BZ #13918]
4992 [BZ #13919]
4993 [BZ #13920]
4994 [BZ #13921]
4995 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4996 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4997 (__kernel_standard_l): New function.
4998 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4999 __kernel_standard.
5000 * math/w_acosl.c (__acosl): Likewise.
5001 * math/w_asinl.c (__asinl): Likewise.
5002 * math/w_atan2l.c (__atan2l): Likewise.
5003 * math/w_atanhl.c (__atanhl): Likewise.
5004 * math/w_coshl.c (__coshl): Likewise.
5005 * math/w_exp10l.c (__exp10l): Likewise.
5006 * math/w_exp2l.c (__exp2l): Likewise.
5007 * math/w_fmodl.c (__fmodl): Likewise.
5008 * math/w_hypotl.c (__hypotl): Likewise.
5009 * math/w_j0l.c (__j0l, __y0l): Likewise.
5010 * math/w_j1l.c (__j1l, __y1l): Likewise.
5011 * math/w_jnl.c (__jnl, __ynl): Likewise.
5012 * math/w_lgammal.c (__lgammal): Likewise.
5013 * math/w_log10l.c (__log10l): Likewise.
5014 * math/w_log2l.c (__log2l): Likewise.
5015 * math/w_logl.c (__logl): Likewise.
5016 * math/w_powl.c (__powl): Likewise.
5017 * math/w_remainderl.c (__remainderl): Likewise.
5018 * math/w_scalbl.c (sysv_scalbl): Likewise.
5019 * math/w_sinhl.c (__sinhl): Likewise.
5020 * math/w_sqrtl.c (__sqrtl): Likewise.
5021 * math/w_tgammal.c (__tgammal): Likewise.
5022 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
5023 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
5024 * math/libm-test.inc (acos_test): Add more tests.
5025 (acosh_test): Likewise.
5026 (asin_test): Likewise.
5027 (atanh_test): Likewise.
5028 (exp_test): Likewise.
5029 (exp10_test): Likewise.
5030 (exp2_test): Likewise.
5031 (expm1_test): Likewise.
5032 (lgamma_test): Likewise.
5033 (log_test): Likewise.
5034 (log10_test): Likewise.
5035 (log1p_test): Likewise.
5036 (log2_test): Likewise.
5037 (pow_test): Do not allow some spurious overflow exceptions.
5038 (sqrt_test): Add more tests.
5039 (tgamma_test): Likewise.
5040 (y0_test): Likewise.
5041 (y1_test): Likewise.
5042 (yn_test): Likewise.
5043
dd62fda6
AB
50442012-03-27 Anton Blanchard <anton@samba.org>
5045
5046 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
5047 MAP_HUGETLB.
5048 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5049 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
5050 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5051
1e3cdfda
AJ
50522012-03-27 David S. Miller <davem@davemloft.net>
5053
b855ab85
DM
5054 * conform/Makefile: Run run-conformtest.sh using $(BASH).
5055
1e3cdfda
AJ
5056 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
5057 have-as-vis3 check.
5058
50592012-03-27 Andreas Jaeger <aj@suse.de>
5060
5061 * sysdeps/x86_64/elf/configure.in: Moved to ...
5062 * sysdeps/x86_64/configure.in: ... here.
5063 * sysdeps/x86_64/elf/start.S: Moved to ...
5064 * sysdeps/x86_64/start.S: ... here.
5065 * sysdeps/x86_64/elf/configure: Delete.
5066
5067 * sysdeps/x86_64/configure.in: Merge contents from
5068 sysdeps/i386/configure.in (without i686 check).
5069
5070 * sysdeps/i386/elf/Versions: Merge into ...
5071 * sysdeps/i386/Versions: ... this.
5072 * sysdeps/i386/elf/Versions: Delete file.
5073 * sysdeps/i386/elf/start.S: Moved to ...
5074 * sysdeps/i386/start.S: ...here.
5075 * sysdeps/i386/elf/configure.in: Merge into...
5076 * sysdeps/i386/configure.in: ...here.
5077 * sysdeps/i386/elf/configure.in: Delete file.
5078 * sysdeps/i386/elf/configure: Delete file.
5079
5080 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
5081 * debug/backtracesyms.c: ... here.
5082 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
5083 * debug/backtracesymsfd.c: ... here.
5084 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
5085 * sysdeps/generic/ifunc-sel.h: ... here.
5086
5087 * sysdeps/unix/i386/start.c: Delete file.
5088 * sysdeps/unix/sparc/start.c: Delete file.
5089 * sysdeps/unix/start.c: Delete file.
5090
5091 * sysdeps/sh/elf/configure.in: Moved to ...
5092 * sysdeps/sh/configure.in: ... here.
5093 * sysdeps/sh/elf/start.S: Moved to ...
5094 * sysdeps/sh/start.S: ... here.
5095 * sysdeps/sh/elf/configure: Delete file.
5096
5097 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
5098 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
5099 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
5100 * sysdeps/powerpc/powerpc64/entry.h: ... here.
5101 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
5102 * sysdeps/powerpc/powerpc64/start.S: here.
5103 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
5104 * sysdeps/powerpc/powerpc64/Makefile: ... this.
5105 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
5106 * sysdeps/powerpc/powerpc64/configure.in: ... this.
5107 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
5108
5109 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
5110 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
5111 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
5112 * sysdeps/powerpc/powerpc32/start.S: ... here.
5113 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
5114 * sysdeps/powerpc/powerpc32/configure.in: ... this.
5115 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
5116
5117 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
5118 * sysdeps/powerpc/ifunc-sel.h: ... here.
5119 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
5120 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
5121
5122 * sysdeps/sparc/elf/configure.in: Moved to ...
5123 * sysdeps/sparc/configure.in: ... here.
5124 * sysdeps/sparc/elf/configure: Delete file.
5125 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
5126 * sysdeps/sparc/sparc32/start.S: ... here.
5127 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
5128 * sysdeps/sparc/sparc64/start.S: ... here.
5129 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
5130 * sysdeps/sparc/sparc32/Makefile: ... this.
5131 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
5132 * sysdeps/sparc/sparc64/Makefile: ... this.
5133
5134 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
5135 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
5136 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
5137 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
5138 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
5139 * sysdeps/s390/s390-32/setjmp.S: ... here.
5140 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
5141 * sysdeps/s390/s390-32/configure.in: ... here.
5142 * sysdeps/s390/s390-32/elf/configure: Delete file.
5143 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
5144 * sysdeps/s390/s390-32/start.S: ... here.
5145
5146 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
5147 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
5148 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
5149 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
5150 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
5151 * sysdeps/s390/s390-64/setjmp.S: ... here.
5152 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
5153 * sysdeps/s390/s390-64/configure.in: ... here
5154 * sysdeps/s390/s390-64/elf/configure: Delete file.
5155 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
5156 * sysdeps/s390/s390-64/start.S: ... here.
5157 * sysdeps/s390/s390-64/elf/configure: Delete.
5158
5159 * configure.in: Remove support for elf directories in sysdeps.
5160
5161 * configure: Regenerated.
5162 * sysdeps/i386/configure: Regenerated.
5163 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5164 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5165 * sysdeps/s390/s390-32/configure: Regenerated.
5166 * sysdeps/s390/s390-64/configure: Regenerated.
5167 * sysdeps/sh/configure: Regenerated.
5168 * sysdeps/sparc/configure: Regenerated.
5169 * sysdeps/x86_64/configure: Regenerated.
5170
a3f61311
AS
51712012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5172
c876e002
AS
5173 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5174
a3f61311
AS
5175 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5176 denormal result into account.
5177
ac4c54f0
RM
51782012-03-25 Roland McGrath <roland@hack.frob.com>
5179
5180 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5181 Reported by Allan McRae <allan@archlinux.org>.
5182
6a9b9c02
JL
51832012-03-23 Jeff Law <law@redhat.com>
5184
5185 * nss/getnssent.c (__nss_getent): Fix typo.
5186
4c42a0c1
DM
51872012-03-23 David S. Miller <davem@davemloft.net>
5188
5189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5190
1532c7ac
L
51912012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5192
5193 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5194 to pad to uint64_t for each field.
5195 (dl_tls_index): Replace unsigned long with uint64_t.
5196
3ff42526
PP
51972012-03-23 Daniel Jacobowitz <dmj@google.com>
5198 Paul Pluzhnikov <ppluzhnikov@google.com>
5199
5200 [BZ #6528]
5201 * grp/Makefile (otherlibs): Don't set it.
5202 * inet/Makefile (otherlibs): Likewise.
5203 * login/Makefile (otherlibs): Likewise.
5204 * nscd/Makefile (otherlibs): Likewise.
5205 * posix/Makefile (otherlibs): Likewise.
5206 * pwd/Makefile (otherlibs): Likewise.
5207 * rt/Makefile (otherlibs): Likewise.
5208 * sunrpc/Makefile (otherlibs): Likewise.
5209 * nss/Makefile (otherlibs): Likewise.
5210 Add libnss_files to routines and static-only-routines.
5211 ($(objpfx)getent): Remove rule.
5212 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5213 static-only-routines.
5214
7c69cd14
JM
52152012-03-22 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #13892]
5218 * math/s_cexp.c: Include <float.h>.
5219 (__cexp): Handle exp result overflowing not necessarily
5220 overflowing both real and imaginary parts of result.
5221 * math/s_cexpf.c: Likewise.
5222 * math/s_cexpl.c: Likewise.
5223 * math/libm-test.inc (cexp_test): Add more tests.
5224 * sysdeps/i386/fpu/libm-test-ulps: Update.
5225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5226
81b035fe
L
52272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 * include/link.h (ELFW): New macro.
5230 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5231 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5232
1da7940c
L
52332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5234
5235 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5236 with uint64_t.
5237
b749dbb9
L
52382012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5239
5240 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5241 declaration.
5242 (struct La_x32_retval): Likewise.
5243
2ff87f3f
L
52442012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5245
5246 * sysdeps/x86_64/preconfigure.in: New file.
5247 * sysdeps/x86_64/preconfigure: New generated file.
5248
c0df8e69
JM
52492012-03-22 Joseph Myers <joseph@codesourcery.com>
5250
48e44791
JM
5251 [BZ #13824]
5252 * math/e_exp2l.c: Include <float.h>.
5253 (__ieee754_exp2l): Handle overflow and underflow cases
5254 separately. Only pass fractional part of argument to
5255 __ieee754_expl.
5256 * math/libm-test.inc (exp2_test): Add more tests.
5257
c0df8e69
JM
5258 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5259 negating x to take absolute value.
5260 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5261 Likewise.
5262 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5263 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5264 Likewise.
5265 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5266 computing low part if x was negated.
5267 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5268
c8e43ba7
L
52692012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5270
5271 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5272 la_x32_gnu_pltexit.
5273 (pltexit): Cast int_retval to ptrdiff_t.
5274 * elf/tst-auditmod3b.c: Likewise.
5275 * elf/tst-auditmod4b.c: Likewise.
5276 * elf/tst-auditmod5b.c: Likewise.
5277 * elf/tst-auditmod6b.c: Likewise.
5278 * elf/tst-auditmod6c.c: Likewise.
5279 * elf/tst-auditmod7b.c: Likewise.
5280
5281 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5282 and x32_gnu_pltexit.
5283
5284 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5285 __ELF_NATIVE_CLASS.
5286 (La_x32_regs): New macro.
5287 (La_x32_retval): Likewise.
5288 (la_x32_gnu_pltenter): New function prototype.
5289 (la_x32_gnu_pltexit): Likewise.
5290
7998fa78
AS
52912012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5292
dcb33988
AS
5293 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5294 exponent.
5295
233fc563
AS
5296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5297
7998fa78
AS
5298 * configure.in (libc_cv_cc_nofma): Check for option to disable
5299 generation of FMA instructions.
5300 * configure: Regenerate.
5301 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5302 * sysdeps/ieee754/dbl-64/Makefile: New file.
5303 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5304 Remove brandred-fma4.
5305 (CFLAGS-brandred-fma4.c): Remove.
5306 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5307 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5308 define.
5309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5310 define.
5311
8e95c99a
L
53122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5313
5314 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5315 LLONG_MAX != LONG_MAX.
5316 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5317 (_fitoa_word): Likewise.
5318 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5319 LLONG_MAX != LONG_MAX.
5320 * stdio-common/_itowa.h: Include <_itoa.h>.
5321 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5322 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5323 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5324 only if not defined.
5325 (_ITOA_WORD_TYPE): Likewise.
5326 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5327 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5328
6f4db457
DM
53292012-03-21 David S. Miller <davem@davemloft.net>
5330
5331 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5332
7785fe5a
L
53332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5336 of x86_64 when setting libc_cv_slibdir, libdir and
5337 libc_cv_localedir.
5338 * sysdeps/unix/sysv/linux/configure: Regenerated.
5339
4535cd55
JM
53402012-03-21 Joseph Myers <joseph@codesourcery.com>
5341
5342 * manual/lang.texi (Old Varargs): Remove section.
5343 (How Variadic): Update menu.
5344 (va_start): Do not mention varargs.h.
5345
17228132
TS
53462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5347 Joseph Myers <joseph@codesourcery.com>
5348
5349 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5350 link test.
5351 * configure: Regenerated.
5352
8149f976
TS
53532012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5354
05f3d1f6
UD
5355 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5356 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5357 conformtest.pl
8149f976 5358
1a4ac776
JM
53592012-03-21 Joseph Myers <joseph@codesourcery.com>
5360
be22ce65
JM
5361 * NOTES: Remove.
5362 * Makefile (files-for-dist): Remove NOTES.
5363 (NOTES): Remove rule.
5364 * README: Don't refer to NOTES.
5365 * manual/creature.texi: Don't include macros.texi.
5366 * manual/intro.texi (creature.texi): Remove comment referring to
5367 NOTES.
5368
40b601fb
JM
5369 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5370 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5371 * configure: Regenerated.
5372 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5373 LIBC_TRY_CC_OPTION.
5374 (libc_cv_as_i686): Likewise.
5375 (libc_cv_cc_avx): Likewise.
5376 (libc_cv_cc_sse2avx): Likewise.
5377 (libc_cv_cc_fma4): Likewise.
5378 (libc_cv_cc_novzeroupper): Likewise.
5379 * sysdeps/i386/configure: Regenerated.
5380
1a4ac776
JM
5381 [BZ #13883]
5382 * sysdeps/i386/fpu/s_cexp.S: Remove.
5383 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5384 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5385 * math/libm-test.inc (cexp_test): Add more tests.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5388
a458e7fe
AM
53892012-03-21 Allan McRae <allan@archlinux.org>
5390
5391 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5392
0cb7efc5
JM
53932012-03-21 Joseph Myers <joseph@codesourcery.com>
5394
5395 [BZ #13871]
5396 * math/w_exp2.c: Do not include <float.h>.
5397 (o_threshold, u_threshold): Remove.
5398 (__exp2): Calculate result before checking finiteness and calling
5399 __kernel_standard.
5400 * math/w_exp2f.c: Likewise.
5401 * math/w_exp2l.c: Likewise.
5402 * math/libm-test.inc (exp2_test): Require overflow exception for
5403 1e6 input.
2460d3aa
JM
5404
5405 [BZ #3866]
5406 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5407 range of signed 64-bit integers before using fistpll. Remove
5408 checks for whether integers fit in mantissa bits.
5409 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5410 the range of signed 32-bit integers before using fistpl. Remove
5411 checks for whether integers fit in mantissa bits.
5412 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5413 (__ieee754_powl): Test for y outside the range of signed 64-bit
5414 integers before using fistpll. Reduce 64-bit values to 63-bit
5415 ones as needed.
5416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5417 divide-by-zero is raised for zero to large negative powers.
5418 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5419 (__ieee754_powl): Test for y outside the range of signed 64-bit
5420 integers before using fistpll. Reduce 64-bit values to 63-bit
5421 ones as needed.
5422 * math/libm-test.inc (pow_test): Add more tests.
5423
eb96ffb0
L
54242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5425
5426 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5427 <stdio-common/_itoa.h>.
5428 * debug/segfault.c: Likewise.
5429 * elf/dl-cache.c: Likewise.
5430 * elf/dl-minimal.c: Likewise.
5431 * elf/dl-misc.c: Likewise.
5432 * elf/dl-sysdep.c: Likewise.
5433 * elf/dl-version.c: Likewise.
5434 * elf/rtld.c: Likewise.
5435 * hurd/hurdsock.c: Likewise.
5436 * hurd/lookup-retry.c: Likewise.
5437 * malloc/malloc.c: Likewise.
5438 * malloc/mtrace.c: Likewise.
5439 * nscd/nscd_getgr_r.c: Likewise.
5440 * nscd/nscd_getpw_r.c: Likewise.
5441 * nscd/nscd_getserv_r.c: Likewise.
5442 * posix/getopt_init.c: Likewise.
5443 * posix/wordexp.c: Likewise.
5444 * stdio-common/_itoa.c: Likewise.
5445 * stdio-common/printf_fphex.c: Likewise.
5446 * stdio-common/vfprintf.c: Likewise.
5447 * string/_strerror.c: Likewise.
5448 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5449 * sysdeps/i386/i686/hp-timing.h: Likewise.
5450 * sysdeps/mach/_strerror.c: Likewise.
5451 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5452 * sysdeps/mach/hurd/sethostid.c: Likewise.
5453 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5454 * sysdeps/mach/xpg-strerror.c: Likewise.
5455 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5456 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5457 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5458 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5459 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5460 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5461 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5462 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5463 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5464 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5465 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5466 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5467 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5468 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5469 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5470 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5471 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5472 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5473 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5474 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5476
5477 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5478
5479 * stdio-common/_itoa.h: Moved to ...
5480 * sysdeps/generic/_itoa.h: Here.
5481
5482 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5483
5484 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5485 instead of "_itoa.h" and "_itowa.h".
5486 * stdio-common/vfprintf.: Likewise.
5487
d1af992d
L
54882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5489
5490 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5491 <bits/wordsize.h>.
5492 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5493 (__signbit): Likwise.
5494 (llrintf): Likwise.
5495 (llrint): Likwise.
5496
114883e0
L
54972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5498
5499 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5500 __WORDSIZE != 64.
5501
c135cc1b
JM
55022012-03-20 Joseph Myers <joseph@codesourcery.com>
5503
5504 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5505 OVERFLOW_EXCEPTION_OK.
5506 * math/libm-test.inc ("Philosophy"): Update comment about
5507 exception testing.
5508 (OVERFLOW_EXCEPTION): Define.
5509 (OVERFLOW_EXCEPTION_OK): Likewise.
5510 (INVALID_EXCEPTION_OK): Renumber.
5511 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5512 (IGNORE_ZERO_INF_SIGN): Likewise.
5513 (test_exceptions): Handle FE_OVERFLOW.
5514 (exp10_test): Expect overflow exceptions.
5515 (exp2_test): Likewise.
5516 (expm1_test): Likewise.
5517 (nextafter_test): Likewise.
5518 (pow_test): Likewise.
5519 (scalbn_test): Likewise.
5520 (scalbln_test): Likewise.
5521
95443d88
L
55222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5523
5524 * sysdeps/x86_64/bits/atomic.h
5525 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5526 64bit integer.
5527 (atomic_exchange_acq): Likewise.
5528 (__arch_exchange_and_add_body): Likewise.
5529 (__arch_add_body): Likewise.
5530 (atomic_add_negative): Likewise.
5531 (atomic_add_zero): Likewise.
5532
490df6c4
L
55332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5534
c2722551 5535 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5536 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5537
5e52b189
L
55382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5539
5540 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5541 Check __x86_64__ instead of __WORDSIZE.
5542
a9879d4c
L
55432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5544
5545 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5546
5df98260
DM
55472012-03-19 David S. Miller <davem@davemloft.net>
5548
e1497744
DM
5549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5550
5df98260
DM
5551 * sysdeps/sparc/fpu/fenv_private.h: New file.
5552 * sysdeps/sparc/fpu/math_private.h: Use it.
5553 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5554 Remove.
5555 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5556 (libc_feholdexcept_setroundl): Remove.
5557 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5558 Remove.
5559 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5560 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5561
b4c35121
L
55622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5563
5564 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5565 int64_t instead of long int.
5566 (INSERT_WORDS64): Likwise.
5567
56965fd7
L
55682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5569
5570 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5571 _Unwind_GetCFA return to _Unwind_Ptr first.
5572
83d1aec8
JM
55732012-03-19 Joseph Myers <joseph@codesourcery.com>
5574
1897ad44
JM
5575 [BZ #13629]
5576 * math/s_clog.c: Include <float.h>.
5577 (__clog): Scale large or subnormal inputs.
5578 * math/s_clogf.c: Likewise.
5579 * math/s_clogl.c: Likewise.
5580 * math/s_clog10.c: Include <float.h>.
5581 (M_LOG10_2): Define.
5582 (__clog10): Scale large or subnormal inputs.
5583 * math/s_clog10f.c: Likewise.
5584 * math/s_clog10l.c: Likewise.
5585 * math/libm-test.inc (clog_test): Add more tests.
5586 (clog10_test): Likewise.
5587 * sysdeps/i386/fpu/libm-test-ulps: Update.
5588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5589
7726d6a9
JM
5590 [BZ #11451]
5591 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5592 x and y.
5593 * math/libm-test.inc (atan2_test): Add another test.
5594
83d1aec8
JM
5595 * Makerules (common-objdir-compile): Remove.
5596 * sysdeps/unix/Makefile (config-generated): Do not add
5597 $(unix-generated) to variable.
5598 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5599 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5600 Remove rule.
5601 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5602 Likewise.
5603 [generic bits/local_lim.h] (before-compile): Do not append to
5604 variable.
5605 [generic bits/local_lim.h] (common-generated): Likewise.
5606 [generic sys/param.h] (before-compile): Do not append to variable.
5607 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5608 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5609 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5610 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5611 include.
5612 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5613 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5614 [generic sys/param.h] ($(addprefix
5615 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5616 [generic sys/param.h] (common-generated): Do not append to
5617 variable.
5618 [generic sys/param.h] (sysdep_headers): Likewise.
5619 [generic bits/errno.h] (before-compile): Do not append to
5620 variable.
5621 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5622 rule.
5623 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5624 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5625 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5626 [generic bits/errno.h] (common-generated): Do not append to
5627 variable.
5628 [generic bits/ioctls.h] (before-compile): Do not append to
5629 variable.
5630 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5631 rule.
5632 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5633 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5634 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5635 rule.
5636 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5637 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5638 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5639 [generic bits/ioctls.h] (common-generated): Do not append to
5640 variable.
5641 [generic sys/syscall.h] (syscall.h): Remove variable.
5642 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5643 rule.
5644 [generic sys/syscall.h] (before-compile): Do not append to
5645 variable.
5646 [generic sys/syscall.h] (common-generated): Likewise.
5647 * sysdeps/unix/errnos-tmpl.c: Remove file.
5648 * sysdeps/unix/errnos.awk: Likewise.
5649 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5650 * sysdeps/unix/ioctls.awk: Likewise.
5651 * sysdeps/unix/mk-local_lim.c: Likewise.
5652 * sysdeps/unix/snarf-ioctls: Likewise.
5653
4851a949
RH
56542012-03-19 Richard Henderson <rth@twiddle.net>
5655
bd37f2ee
RH
5656 * sysdeps/i386/fpu/fenv_private.h: New file.
5657 * sysdeps/i386/fpu/math_private.h: Use it.
5658 (math_opt_barrier, math_force_eval): Remove.
5659 (libc_feholdexcept_setround_53bit): Remove.
5660 (libc_feupdateenv_53bit): Remove.
5661 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5662 (math_opt_barrier, math_force_eval): Remove.
5663 (libc_feholdexcept): Remove.
5664 (libc_feholdexcept_setround): Remove.
5665 (libc_fetestexcept, libc_fesetenv): Remove.
5666 (libc_feupdateenv_test): Remove.
5667 (libc_feupdateenv, libc_feholdsetround): Remove.
5668 (libc_feresetround): Remove.
5669
d0adc922
RH
5670 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5671 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5672
0fe0f1f8
RH
5673 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5674 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5675 (libc_feupdateenv_testl): New.
5676 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5677 (libc_feupdateenv_testf): New.
5678 (libc_feupdateenv): Use libc_feupdateenv_test.
5679 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5680 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5681
eb92c487
RH
5682 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5683 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5684 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5685 (libc_feresetround_noex): New.
5686 (libc_feresetround_noexf): New.
5687 (libc_feresetround_noexl): New.
5688 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5689 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5690 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5691 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5692 SET_RESTORE_ROUND.
5693 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5695 (__cos): Likewise.
5696 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5697 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5698 SET_RESTORE_ROUND_NOEX.
5699 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5700 SET_RESTORE_ROUND_NOEXF.
5701 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5702 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5703 (libc_feholdsetroundf): New.
5704 (libc_feresetround, libc_feresetroundf): New.
5705
7d2e8012
RH
5706 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5707 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5708 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5709
b4dabbb4
RH
5710 * sysdeps/generic/math_private.h: Include <fenv.h>.
5711 (default_libc_feholdexcept): New.
5712 (default_libc_feholdexcept_setround): New.
5713 (default_libc_fesetenv, default_libc_feupdateenv): New.
5714 (libc_feholdexcept): Only define if undefined.
5715 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5716 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5717 (libc_feholdexcept_setroundl): Likewise.
5718 (libc_feholdexcept_setround_53bit): Likewise.
5719 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5720 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5721 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5722 (libc_feupdateenv_53bit): Likewise.
5723 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5724 (libc_feholdexcept): Convert from macro to inline function.
5725 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5726 (libc_fesetenv, libc_feupdateenv): Likewise.
5727
4851a949
RH
5728 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5729 not previously defined.
5730 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5731 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5732 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5733 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5734 * sysdeps/ieee754/flt-32/math_private.h: New file.
5735 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5736 math_private.h below SET_FLOAT_WORD.
5737 (__isnan, __isinf_ns, __finite): Remove.
5738 (__isnanf, __isinf_nsf, __finitef): Remove.
5739
e79d442e
AS
57402012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5741
5742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5743
90b80344
DM
57442012-03-17 David S. Miller <davem@davemloft.net>
5745
5746 [BZ #6471]
5747 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5748 for 2.16.
5749
edc21804
DM
57502012-03-16 David S. Miller <davem@davemloft.net>
5751
77e927af
DM
5752 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5753 warnings.
5754
374976dd
DM
5755 [BZ #6471]
5756 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5757 properly.
5758 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5759 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5760 sysdep_routines when subdir is sysvipc.
5761 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5762 __getshmlba helper.
5763
edc21804
DM
5764 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5765
473c3ef3
L
57662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5767
5768 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5769 [__LP64__].
5770
eb0f39b6
L
57712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5772
5773 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5774 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5775 (__lround): Renamed to ...
5776 (__llround): This. Replace long int with long long int.
5777 Define lround functions as aliases of llround functions.
5778 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5779
6b6cd74b
L
57802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5781
5782 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5783 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5784 adresses to uintptr_t. Replace "long int" and "unsigned long
5785 int" with "greg_t" on va_arg.
5786
f1a77b01
L
57872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5788
5789 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5790 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5791
5792 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5793 Move e_machine check before EI_CLASS check. Handle x32
5794 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5795 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5796 SKIP_EM_IA_64 and include
5797 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5798
5799 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5800 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5801 (add_system_dir): New macro.
5802
5803 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5804 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5805
11b90b9f
JM
58062012-03-16 Joseph Myers <joseph@codesourcery.com>
5807
c36e1d23
JM
5808 [BZ #2551]
5809 [BZ #2552]
5810 [BZ #2553]
5811 [BZ #2554]
5812 [BZ #2562]
5813 [BZ #2563]
5814 [BZ #2565]
5815 [BZ #2566]
5816 [BZ #2576]
5817 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5818 (y0): Likewise.
5819 * math/w_j0f.c (j0f): Likewise.
5820 (y0f): Likewise.
5821 * math/w_j0l.c (__j0l): Likewise.
5822 (__y0l): Likewise.
5823 * math/w_j1.c (j1): Likewise.
5824 (y1): Likewise.
5825 * math/w_j1f.c (j1f): Likewise.
5826 (y1f): Likewise.
5827 * math/w_j1l.c (__j1l): Likewise.
5828 (__y1l): Likewise.
5829 * math/w_jn.c (jn): Likewise.
5830 (yn): Likewise.
5831 * math/w_jnf.c (jnf): Likewise.
5832 (ynf): Likewise.
5833 * math/w_jnl.c (__jnl): Likewise.
5834 (__ynl): Likewise.
5835 * math/libm-test.inc (j0_test): Add more tests.
5836 (j1_test): Likewise.
5837 (jn_test): Likewise. Add trailing semicolon to existing test.
5838 (y0_test): Likewise.
5839 (y1_test): Likewise.
5840 * sysdeps/i386/fpu/libm-test-ulps: Update.
5841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5842
11b90b9f
JM
5843 [BZ #13851]
5844 [BZ #13854]
5845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5846 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5847 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5848 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5849 (__tanl): Set errno for infinite argument.
5850 * sysdeps/i386/fpu/mptan.c: Remove.
5851 * sysdeps/i386/fpu/s_tan.S: Likewise.
5852 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5853 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5854 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5855 * math/libm-test.inc (tan_test): Add more tests and enable more
5856 tests for double and long double.
5857 * sysdeps/i386/fpu/libm-test-ulps: Update.
5858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5859
6a1bd2a1
JK
58602012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5861
5862 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5863 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5864
10a803e0
RM
58652012-03-16 Roland McGrath <roland@hack.frob.com>
5866
5867 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5868 * configure.in: Use it for both main tree and add-ons.
5869 * configure: Regenerated.
5870
f196c7f7
L
58712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5872
5873 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5874
8848d99d
JM
58752012-03-16 Joseph Myers <joseph@codesourcery.com>
5876
96cbe7f4
JM
5877 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5878 in comment.
5879
8848d99d
JM
5880 [BZ #13851]
5881 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5882 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5883 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5884 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5885 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5886 infinite argument.
5887 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5888 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5889 != 0 for prec == 2.
5890 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5891 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5892 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5893 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5894 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5895 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5896 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5897 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5898 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5899 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5900 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5901 * math/libm-test.inc (cos_test): Add more tests and enable more
5902 tests for long double.
5903 (sin_test): Likewise.
5904 (sincos_test): Likewise.
5905 * sysdeps/i386/fpu/libm-test-ulps: Update.
5906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5907
dd7f4703
DM
59082012-03-16 David S. Miller <davem@davemloft.net>
5909
5910 * sysdeps/sparc/fpu/math_private.h: New file.
5911
006f1daa
DM
59122012-03-15 David S. Miller <davem@davemloft.net>
5913
c0c83bc8
DM
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5915 file.
e6a62e18 5916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5918 file.
e6a62e18
DM
5919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5920 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5921 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5925 sysdep routines.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5927
88cb87d9
DM
5928 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5929 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5930
006f1daa 5931 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5933 sparc-ifunc.h
006f1daa 5934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5936 Likewise.
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5938 Likewise.
006f1daa
DM
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5943 Likewise.
006f1daa
DM
5944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5949 Likewise.
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5951 Likewise.
006f1daa
DM
5952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5962 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5963 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5970 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5971 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5972 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5973 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5974 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5975 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5976
11e0098e
AS
59772012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5978
5979 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5980 scaling.
5981 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5982
e85b09d0
AJ
59832012-03-15 Andreas Jaeger <aj@suse.de>
5984
5985 [BZ #13852]
5986 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5987 ieee754/flt-32 implementation for sin, cos and sincos.
5988 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5989 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5990 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5991 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5992 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5993 ieee754/flt-32 implementation for tan.
5994
5995 * math/libm-test.inc (cos_test): Enable some large input tests for
5996 float as well
5997 (sin_test): Likewise.
5998 (sincos_test): Likewise.
5999 (tan_test): Add tests for large input.
6000
6001 * sysdeps/i386/fpu/libm-test-ulps: Update.
6002
81c64153
AJ
60032012-03-15 Andreas Jaeger <aj@suse.de>
6004
6005 [BZ #13658]
6006 * math/libm-test.inc (cos_test): Add more test cases.
6007 (sin_test): Likewise.
6008 (sincos_test): Likewise.
6009
7bbfa5c6
AJ
60102012-03-15 Andreas Jaeger <aj@suse.de>
6011
6012 [BZ #13837]
6013 * math/libm-test.inc (cos_test): Add a test case for large input
6014 value.
6015 (sin_test): Likewise.
6016 (sincos_test): Likewise.
6017
60182012-03-15 Andreas Jaeger <aj@suse.de>,
6019 Joseph Myers <joseph@codesourcery.com>
6020
6021 [BZ #13658]
0671f479 6022 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
6023 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
6024 * sysdeps/i386/fpu/branred.c: Likewise.
6025 * sysdeps/i386/fpu/dosincos.c: Likewise.
6026 * sysdeps/i386/fpu/mpa.c: Likewise.
6027 * sysdeps/i386/fpu/s_cos.S: Likewise.
6028 * sysdeps/i386/fpu/s_sin.S: Likewise.
6029 * sysdeps/i386/fpu/s_sincos.S: Likewise.
6030 * sysdeps/i386/fpu/sincos32.c: Likewise.
6031
6032 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
6033 Define.
6034 (libc_feupdateenv_53bit): Define.
6035 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
6036 Define.
6037 (libc_feupdateenv_53bit): Define.
6038
6039 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
6040 53 bit (without extend i386 double precision).
6041
6042 * math/libm-test.inc (sincos_test): Add tests for large input.
6043 (sin): Likewise.
6044 (cos): Likewise.
6045
6046 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6047
9cad04ea
AS
60482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
6049
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6051
f7062b9a
DM
60522012-03-15 David S. Miller <davem@davemloft.net>
6053
6054 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
6055 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
6056 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
6057 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
6058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
6059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
6060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
6061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
6062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
6063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
6064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
6065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
6066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
6067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
6068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
6069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
6070 file.
f7062b9a 6071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
6072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
6073 file.
f7062b9a 6074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
6075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
6076 file.
f7062b9a 6077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
6078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
6079 file.
f7062b9a
DM
6080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
6081 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
6082 fmin/fmax sysdep routines.
6083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
6084
7bd951ff
DM
60852012-03-14 David S. Miller <davem@davemloft.net>
6086
559398ab
DM
6087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
6088 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
6089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
6090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
6091 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
6092 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
6093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
6094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
6095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
6096 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
6097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
6098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
6099 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
6100 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
6101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
6102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
6103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
6104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
6105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
6106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
6107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
6108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
6109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
6110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
6111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
6112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
6113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
6114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6115 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
6116 routines.
6117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
6118 file.
559398ab 6119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
6120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
6121 file.
559398ab 6122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
6123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
6124 file.
559398ab 6125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
6126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
6127 file.
559398ab 6128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
6129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
6130 file.
559398ab 6131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
6132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
6133 file.
6134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
6135 file.
6136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
6137 file.
6138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
6139 file.
6140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
6141 New file.
6142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
6143 file.
6144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
6145 file.
559398ab 6146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
6147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
6148 file.
559398ab 6149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
6150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
6151 file.
559398ab 6152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
6153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
6154 file.
559398ab 6155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
6156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6157 VIS3 routines.
559398ab
DM
6158
6159 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6160 New file.
6161
5a1c1e32
DM
6162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6163
eae47a36
DM
6164 * sysdeps/sparc/configure.in: New file.
6165 * sysdeps/sparc/configure: Generate.
6166 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6167 * configure: Regenerate.
6168 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6169 * config.make.in (have-as-vis3): New.
6170 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6171 available use -Av9d instead of -Av9a.
6172 * sysdeps/sparc/sparc64/Makefile: Likewise.
6173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
6174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6175 New file.
6176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6177 file.
6178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6179 New file.
6180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6181 file.
eae47a36
DM
6182 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6183 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6184 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6187
c0c83bc8
DM
6188 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6189 fzeros/fnegs to load 0x80000000 into a float register instead of
6190 using the stack.
7bd951ff
DM
6191 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6192
bd951ccb
JM
61932012-03-14 Joseph Myers <joseph@codesourcery.com>
6194
6195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6196 bits/syscall.h.
6197 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6198 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6199 ($(inst_includedir)/bits/syscall.h): Remove rule.
6200 ($(objpfx)bits/syscall.d): Include instead of
6201 $(objpfx)syscall-list.d.
6202 (generated): Change syscall-list.h and syscall-list.d to
6203 bits/syscall.h and bits/syscall.d.
6204
bb4e6db2
RM
62052012-03-14 Roland McGrath <roland@hack.frob.com>
6206
6207 [BZ #13846]
6208 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6209
aa4a2ae1
JM
62102012-03-14 Joseph Myers <joseph@codesourcery.com>
6211
e456826d
JM
6212 [BZ #13841]
6213 * math/s_csqrt.c: Include <float.h>.
6214 (__csqrt): Scale large or subnormal inputs.
6215 * math/s_csqrtf.c: Likewise.
6216 * math/s_csqrtl.c: Likewise.
6217 * math/libm-test.inc (csqrt_test): Add more tests.
6218 * sysdeps/i386/fpu/libm-test-ulps: Update.
6219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6220
aa4a2ae1
JM
6221 [BZ #13840]
6222 * math/libm-test.inc (hypot_test): Add more tests.
6223
7c10fd35
DM
62242012-03-13 David S. Miller <davem@davemloft.net>
6225
6226 [BZ #13840]
6227 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6228 double-precision for the calculation instead of scaling.
6229
f453b98b
JM
62302012-03-13 Joseph Myers <joseph@codesourcery.com>
6231
6232 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6233 manipulate bits before adding and subtracting TWO52[sx].
6234 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6235 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6236 Likewise.
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6238
09a3453f
DM
62392012-03-13 David S. Miller <davem@davemloft.net>
6240
8e59da90
DM
6241 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6242 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6243 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6244 rtld-global-offsets.h
6245 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6246
2a8ab7f2
DM
6247 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6248 large parameters.
6249
10f62770
DM
6250 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6251
5f0bdb18
DM
6252 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6253 'err' in the ifdef scope in which it is actually used.
6254
09a3453f
DM
6255 * nss/nss_db/db-init.c: Include string.h
6256
b4b2eb5e
DM
62572012-03-12 David S. Miller <davem@davemloft.net>
6258
98bb2f1c
DM
6259 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6260 masking out of the most significant byte of random value used.
6261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6262 Fix coding style in previous change.
6263
b4b2eb5e
DM
6264 * sysdeps/unix/sysv/linux/kernel-features.h
6265 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6266 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6267 expression.
6268 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6269 later.
6270
6e226b09
DM
62712012-03-11 David S. Miller <davem@davemloft.net>
6272
a1bcbd40
DM
6273 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6274 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6275 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6276 for 'resultvar' otherwise things get truncated on 64-bit.
6277
cb9d6174
DM
6278 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6279 Fix masking out of the most significant byte of random value used.
6280
6e226b09
DM
6281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6282
058c132d
AS
62832012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6284
6285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6286
2d2cd515
DM
62872012-03-09 David S. Miller <davem@davemloft.net>
6288
6289 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6290 variables with appropriate CPP guards.
6291 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6292 frame pointer, not the stack pointer. Correct layout comments. Fix test
6293 on resulting framesize and the management of the outregs buffer for pltexit.
6294 Preserve floating point return values across _dl_call_pltexit call.
6295 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6296 framesize and the management of the outregs buffer for pltexit.
6297 Preserve floating point return values across _dl_call_pltexit
6298 call.
6299 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6300 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6301 (print_exit): Fix format string for return register value.
6302
9a07f9d0
JM
63032012-03-10 Joseph Myers <joseph@codesourcery.com>
6304
6305 * sunrpc/Makefile (others): Add rpcgen.
6306 ($(objpfx)rpcgen): Remove special build rule and dependency on
6307 libc.
6308 * sunrpc/rpcgen.c: New file.
6309
547b5e30
PE
63102012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6311
c524201a
PE
6312 [BZ #13673]
6313 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6314 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6315 * sysdeps/i386/crti.S: Likewise.
6316 * sysdeps/i386/crtn.S: Likewise.
6317 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6318 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6319 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6320 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6321 * sysdeps/sh/crti.S: Likewise.
6322 * sysdeps/sh/crtn.S: Likewise.
6323 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6324
7b6235f2
PE
6325 [BZ #13673]
6326 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6327 with URL.
6328 * locale/programs/locfile-kw.gperf: Likewise.
6329 * locale/programs/charmap-kw.h: Regenerated.
6330 * locale/programs/locfile-kw.h: Likewise.
6331
547b5e30
PE
6332 [BZ #13673]
6333 * intl/plural.y: Replace FSF snail mail address with URL.
6334 * intl/plural.c: Regenerated.
6335
5f0a5dae
RH
63362012-03-09 Richard Henderson <rth@twiddle.net>
6337
6338 * include/math_private.h: Remove file.
6339 * math/math_private.h: Move file ...
6340 * sysdeps/generic/math_private.h: ... here.
6341
b8c03620
RH
6342 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6343 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6345
4e234f5d 6346 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6347 and <math_private.h>.
6348 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6349 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6350 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6351 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6352 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6353 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6354 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6356 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6357 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6358 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6359 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6360 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6361 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6362 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6363 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6364 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6365 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6366 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6367 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6368 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6369 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6370 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6372 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6373 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6374 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6375 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6376 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6378 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6380 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6381 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6382 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6383 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6384 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6386 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6388 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6390 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6391 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6392 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6393 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6394 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6395 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6396 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6397 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6398 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6399 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6400 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6401 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6402 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6403 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6404 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6405 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6406 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6407 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6408 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6409 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6411 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6412 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6413 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6414 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6415 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6417 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6418 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6421 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6423 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6424 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6425 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6426 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6427 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6436 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6437 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6438 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6439 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6440 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6441 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6442 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6443 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6444 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6445 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6446 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6448 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6453 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6458 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6459 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6462 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6463 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6464 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6467 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6468 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6470 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6471 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6472 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6473 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6474 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6475 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6476 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6477 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6478 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6479 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6480 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6481 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6482 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6483 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6484 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6485 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6486 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6487 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6488 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6489 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6491 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6493 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6495 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6497 * sysdeps/ieee754/k_standard.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6507 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6508 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6548 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6549 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6550 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6551 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6554 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6556 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6559 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6560 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6563 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6564 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6565 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6566 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6567 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6568 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6569 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6570 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6571 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6572 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6573 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6574 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6575 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6576 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6577 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6578 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6579 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6580 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6581 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6583 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6584 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6585 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6586 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6587 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6588 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6589 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6590 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6591 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6592 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6594 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6595 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6596 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6597 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6598 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6599 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6601 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6602 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6603 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6604 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6605 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6606 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6607 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6608 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6609 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6610 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6611 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6612 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6613 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6614 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6623 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6624 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6625 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6627 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6628 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6629 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6630 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6633 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6646 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6647 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6648 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6658 * sysdeps/ieee754/s_lib_version.c: Likewise.
6659 * sysdeps/ieee754/s_matherr.c: Likewise.
6660 * sysdeps/ieee754/s_signgam.c: Likewise.
6661 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6662 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6664 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6665 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6666 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6667 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6668 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6669 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6670 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6671 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6672 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6673 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6674 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6675 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6678 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6679 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6680 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6681 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6682
1991fa03
JM
66832012-03-09 Joseph Myers <joseph@codesourcery.com>
6684
6685 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6686 * sunrpc/rpc_main.c: Likewise.
6687 * sunrpc/rpc_svcout.c: Likewise.
6688
60d6f5a6
DM
66892012-03-09 David S. Miller <davem@davemloft.net>
6690
6691 * include/math_private.h: New file.
6692
4962050e
JM
66932012-03-09 Joseph Myers <joseph@codesourcery.com>
6694
02a6f887
JM
6695 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6696 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6697 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6698 from <bits/socket_type.h>.
6699 (enum __socket_type): Don't define here.
6700 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6702 bits/socket_type.h.
6703
c6e013c1
JM
6704 [BZ #13566]
6705 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6706 checking __USE_GNU.
6707
4962050e
JM
6708 * Makerules ($(inst_includedir)/%.h): New rule.
6709 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6710 (install-others): Remove variable setting.
6711 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6712
38842f45
RH
67132012-03-08 Richard Henderson <rth@twiddle.net>
6714
67bb6da6
RH
6715 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6716 from macro to inline function; merge with the
6717 !__LIBC_INTERNAL_MATH_INLINES version.
6718 (__ieee754_sqrtf): Likewise.
6719
15194b4b
RH
6720 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6721 to inline function.
6722 (__rintf, __floor, __floorf): Likewise.
6723
64e21ede
RH
6724 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6725 macro to inline function.
6726 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6727
38842f45
RH
6728 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6729 not <math/math_private.h>.
6730
c64bf5fe
DM
67312012-03-08 David S. Miller <davem@davemloft.net>
6732
6733 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6734 copyright year.
6735 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6736
82d86f28
TS
67372012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6738
6739 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6740 normalization.
6741 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6742 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6743
aea5d727
UD
67442012-03-08 Ulrich Drepper <drepper@gmail.com>
6745
6746 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6747 be defined individually, they must be defined as a block. Define
6748 S for printing a string instead of hidint the different by using a
6749 macro for adding the 'l'.
6750 * stdio-common/tst-fphex-wide.c: Adjust.
6751
70bca0a3
MP
67522012-03-07 Marek Polacek <polacek@redhat.com>
6753
6754 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6755
65b81130
MP
67562012-03-08 Marek Polacek <polacek@redhat.com>
6757
6758 [BZ #13806]
6759 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6760 * stdio-common/tst-fphex.c: Define a few macros to make the
6761 test reusable. Use them.
6762 * stdio-common/tst-fphex-wide.c: New file.
6763
07037eeb
JM
67642012-03-08 Joseph Myers <joseph@codesourcery.com>
6765
a7a93d50
JM
6766 [BZ #6911]
6767 * manual/macros.texi (gnusystems): New macro.
6768 (nongnusystems): Likewise.
6769 (gnulinuxhurdsystems): Likewise.
6770 (gnuhurdsystems): Likewise..
6771 (gnulinuxsystems): Likewise.
6772 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6773 variants of the GNU system, not "GNU system".
6774 * manual/conf.texi: Likewise.
6775 * manual/errno.texi: Likewise. Update example of errno macro
6776 expansion.
6777 * manual/filesys.texi: Likewise.
6778 (getumask): Document as specific to GNU/Hurd.
6779 * manual/install.texi: Likewise. Reword some references to
6780 GNU/Linux.
6781 * manual/intro.texi: Likewise.
6782 * manual/io.texi: Likewise.
6783 (File Name Portability): Detail which constraints are inapplicable
6784 to all GNU systems and which are only inapplicable to GNU/Hurd.
6785 * manual/job.texi: Likewise.
6786 * manual/llio.texi: Likewise.
6787 (O_NOCTTY): Document as present on GNU/Linux.
6788 * manual/maint.texi: Likewise.
6789 * manual/memory.texi: Likewise.
6790 * manual/pattern.texi: Likewise.
6791 * manual/pipe.texi: Likewise.
6792 * manual/process.texi: Likewise.
6793 * manual/resource.texi: Likewise.
6794 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6795 child on GNU/Hurd.
6796 * manual/setjmp.texi: Likewise.
6797 * manual/signal.texi: Likewise.
6798 * manual/startup.texi: Likewise.
6799 * manual/stdio.texi: Likewise.
6800 * manual/terminal.texi: Likewise.
6801 (ONLCR): Document as POSIX.
6802 (OXTABS): Document availability on GNU/Linux as XTABS.
6803 (ONOEOT): Document availability separately from other bits.
6804 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6805 * manual/time.texi: Likewise.
6806 * manual/users.texi: Likewise.
6807 * INSTALL: Regenerated.
6808 * sysdeps/gnu/errlist.c: Regenerated.
6809
07037eeb
JM
6810 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6811 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6812 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6813 puts.
6814 * configure: Regenerated.
6815
d1d3431a
JM
68162012-03-07 Joseph Myers <joseph@codesourcery.com>
6817
af6a1e37
JM
6818 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6819 default includes instead of AC_HEADER_CHECK.
6820 * sysdeps/i386/configure: Regenerated.
6821
d1d3431a
JM
6822 [BZ #10716]
6823 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6824 * math/s_cacoshf.c (__cacoshf): Likewise.
6825 * math/s_cacoshl.c (__cacoshl): Likewise.
6826 * math/s_casinh.c (__casinh): Set signs of result from argument.
6827 * math/s_casinhf.c (__casinhf): Likewise.
6828 * math/s_casinhl.c (__casinhl): Likewise.
6829 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6830 (casinh_test): Add more tests.
6831 * sysdeps/i386/fpu/libm-test-ulps: Update.
6832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6833
482ff4da
UD
68342012-03-07 Ulrich Drepper <drepper@gmail.com>
6835
872fda05
UD
6836 * po/zh_TW.po: Update from translation team.
6837
a4300c7a
UD
6838 * login/Makefile (distribute): Remove variable.
6839 * catgets/Makefile: Likewise.
6840 * mach/Makefile: Likewise.
6841 * malloc/Makefile: Likewise.
6842 * misc/Makefile: Likewise.
6843 * iconv/Makefile: Likewise.
6844 * nscd/Makefile: Likewise.
6845 * hurd/Makefile: Likewise.
6846 * manual/Makefile: Likewise.
6847 * locale/Makefile: Likewise.
6848 * intl/Makefile: Likewise.
6849 * conform/Makefile: Likewise.
6850 * nss/Makefile: Likewise.
6851 * time/Makefile: Likewise.
6852 * soft-fp/Makefile: Likewise.
6853 * dirent/Makefile: Likewise.
6854 * gmon/Makefile: Likewise.
6855 * po/Makefile: Likewise.
6856 * rt/Makefile: Likewise.
6857 * socket/Makefile: Likewise.
6858 * math/Makefile: Likewise.
6859 * signal/Makefile: Likewise.
6860 * debug/Makefile: Likewise.
6861 * elf/Makefile: Likewise.
6862 * timezone/Makefile: Likewise.
6863 * stdlib/Makefile: Likewise.
6864 * iconvdata/Makefile: Likewise.
6865 * sunrpc/Makefile: Likewise.
6866 * io/Makefile: Likewise.
6867 * argp/Makefile: Likewise.
6868 * inet/Makefile: Likewise.
6869 * hesiod/Makefile: Likewise.
6870 * grp/Makefile: Likewise.
6871 * csu/Makefile: Likewise.
6872 * wctype/Makefile: Likewise.
6873 * crypt/Makefile: Likewise.
6874 * libio/Makefile: Likewise.
6875 * string/Makefile: Likewise.
6876 * nis/Makefile: Likewise.
6877 * resolv/Makefile: Likewise.
6878 * stdio-common/Makefile: Likewise.
6879 * wcsmbs/Makefile: Likewise.
6880 * dlfcn/Makefile: Likewise.
6881 * posix/Makefile: Likewise.
6882
3b7c4e74 6883 [BZ #6959]
482ff4da
UD
6884 * timezone/Makefile: Don't install timezone files, just the programs
6885 and scripts.
6886
f72ed77d
UD
68872012-03-06 Ulrich Drepper <drepper@gmail.com>
6888
a000466f
UD
6889 * nss/databases.def: Add missing gshadow entry.
6890
f72ed77d
UD
6891 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6892
a53b7a4e
MP
68932012-03-06 Marek Polacek <polacek@redhat.com>
6894
6895 [BZ #13726]
6896 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6897 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6898 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6899 * stdio-common/tst-long-dbl-fphex.c: New file.
6900
e9258400
DM
69012012-03-06 David S. Miller <davem@davemloft.net>
6902
6903 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6904 (set_obp_int): New function.
6905 (get_obp_int): New function.
6906 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6907 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6908 Avoid unused variable warnings on 'val' and use builtin_expect.
6909 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6910 __builtin_expect.
e9258400
DM
6911 (INLINE_CLONE_SYSCALL): Likewise.
6912
3bd2c723
DM
69132012-03-05 David S. Miller <davem@davemloft.net>
6914
6915 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6916
bbb78d03
AS
69172012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6918
884c5db4
AS
6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6920
bbb78d03
AS
6921 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6922 only for |x| >= 40.
6923 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6924
1c9f702a 69252012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6926
6927 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6928 Replace gettimeofday with __vdso_gettimeofday.
6929
7be16f82
RM
6930 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6931 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6932 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6933
6934 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6935 time with __vdso_time.
6936
ed58a00f
JM
69372012-03-05 Joseph Myers <joseph@codesourcery.com>
6938
6939 * manual/lang.texi (size_t): Note types to which size_t may be
6940 equivalent with the GNU C Library, but do not describe when
6941 differences between them are significant.
6942
30ee4ced
AJ
69432012-03-05 Andreas Jaeger <aj@suse.de>
6944
6945 * sysdeps/i386/fpu/libm-test-ulps: Update.
6946
b7cd39e8
JM
69472012-03-05 Joseph Myers <joseph@codesourcery.com>
6948
6949 [BZ #3976]
6950 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6951 (__ieee754_pow): Save and restore rounding mode and use
6952 round-to-nearest for main computations.
6953 * math/libm-test.inc (pow_test_tonearest): New function.
6954 (pow_test_towardzero): Likewise.
6955 (pow_test_downward): Likewise.
6956 (pow_test_upward): Likewise.
6957 (main): Call the new functions.
6958 * sysdeps/i386/fpu/libm-test-ulps: Update.
6959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6960
6961 [BZ #3976]
6962 * math/libm-test.inc (cosh_test_tonearest): New function.
6963 (cosh_test_towardzero): Likewise.
6964 (cosh_test_downward): Likewise.
6965 (cosh_test_upward): Likewise.
6966 (sinh_test_tonearest): Likewise.
6967 (sinh_test_towardzero): Likewise.
6968 (sinh_test_downward): Likewise.
6969 (sinh_test_upward): Likewise.
6970 (main): Call the new functions.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6973
6c6a98c9
TV
69742012-03-05 Tom de Vries <tom@codesourcery.com>
6975
6976 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6977 default stack guard is set in last bytes.
6978 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6979
21bb2d2e 69802012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6981
21bb2d2e 6982 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6983
21bb2d2e
AJ
6984 [BZ #13656]
6985 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6986 possibly allocate from heap instead of stack.
6987 * stdio-common/bug-vfprintf-nargs.c: New file.
6988 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6989
c6922934
AS
69902012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6991
6992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6993
bc957d53
MP
69942012-03-03 Marek Polacek <polacek@redhat.com>
6995
6996 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6997 * math/math_private.h: Likewise.
6998 * stdlib/tst-strtod.c: Likewise.
6999 * sysdeps/i386/i486/bits/atomic.h: Likewise.
7000 * sysdeps/x86_64/bits/atomic.h: Likewise.
7001
6358490d
DM
70022012-03-02 David S. Miller <davem@davemloft.net>
7003
7004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
7005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
7006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
7007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
7008 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
7009 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
7010 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
7011 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
7012
01ae168d
RM
70132012-03-02 Roland McGrath <roland@hack.frob.com>
7014
d9a17c07
RM
7015 [BZ #13792]
7016 * manual/examples/README: New file, says the example source files
7017 can be used under GPL>=2.
7018 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
7019 line containing just "*/".
7020 * manual/examples/add.c: Add copyright header (GPL>=2).
7021 * manual/examples/argp-ex1.c: Likewise.
7022 * manual/examples/argp-ex2.c: Likewise.
7023 * manual/examples/argp-ex3.c: Likewise.
7024 * manual/examples/argp-ex4.c: Likewise.
7025 * manual/examples/atexit.c: Likewise.
7026 * manual/examples/db.c: Likewise.
7027 * manual/examples/dir.c: Likewise.
7028 * manual/examples/dir2.c: Likewise.
7029 * manual/examples/execinfo.c: Likewise.
7030 * manual/examples/filecli.c: Likewise.
7031 * manual/examples/filesrv.c: Likewise.
7032 * manual/examples/fmtmsgexpl.c: Likewise.
7033 * manual/examples/genpass.c: Likewise.
7034 * manual/examples/inetcli.c: Likewise.
7035 * manual/examples/inetsrv.c: Likewise.
7036 * manual/examples/isockad.c: Likewise.
7037 * manual/examples/longopt.c: Likewise.
7038 * manual/examples/memopen.c: Likewise.
7039 * manual/examples/memstrm.c: Likewise.
7040 * manual/examples/mkfsock.c: Likewise.
7041 * manual/examples/mkisock.c: Likewise.
7042 * manual/examples/mygetpass.c: Likewise.
7043 * manual/examples/pipe.c: Likewise.
7044 * manual/examples/popen.c: Likewise.
7045 * manual/examples/rprintf.c: Likewise.
7046 * manual/examples/search.c: Likewise.
7047 * manual/examples/select.c: Likewise.
7048 * manual/examples/setjmp.c: Likewise.
7049 * manual/examples/sigh1.c: Likewise.
7050 * manual/examples/sigusr.c: Likewise.
7051 * manual/examples/stpcpy.c: Likewise.
7052 * manual/examples/strdupa.c: Likewise.
7053 * manual/examples/strftim.c: Likewise.
7054 * manual/examples/strncat.c: Likewise.
7055 * manual/examples/subopt.c: Likewise.
7056 * manual/examples/swapcontext.c: Likewise.
7057 * manual/examples/termios.c: Likewise.
7058 * manual/examples/testopt.c: Likewise.
7059 * manual/examples/testpass.c: Likewise.
7060 * manual/examples/timeval_subtract.c: Likewise.
7061
01ae168d
RM
7062 [BZ #13792]
7063 * manual/time.texi (Elapsed Time): Move timeval_subtract example
7064 function to ...
7065 * manual/timeval_subtract.c.texi: ... here, new file.
7066
49efa33d
DM
70672012-03-02 David S. Miller <davem@davemloft.net>
7068
7069 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
7070
28afd92d
JM
70712012-03-02 Joseph Myers <joseph@codesourcery.com>
7072
804360ed
JM
7073 [BZ #3976]
7074 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
7075 (__sin): Save and restore rounding mode and use round-to-nearest
7076 for all computations.
7077 (__cos): Save and restore rounding mode and use round-to-nearest
7078 for all computations.
7079 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
7080 <fenv.h>.
7081 (tan): Save and restore rounding mode and use round-to-nearest for
7082 all computations.
7083 * math/libm-test.inc (cos_test_tonearest): New function.
7084 (cos_test_towardzero): Likewise.
7085 (cos_test_downward): Likewise.
7086 (cos_test_upward): Likewise.
7087 (sin_test_tonearest): Likewise.
7088 (sin_test_towardzero): Likewise.
7089 (sin_test_downward): Likewise.
7090 (sin_test_upward): Likewise.
7091 (tan_test_tonearest): Likewise.
7092 (tan_test_towardzero): Likewise.
7093 (tan_test_downward): Likewise.
7094 (tan_test_upward): Likewise.
7095 (main): Call the new functions.
7096 * sysdeps/i386/fpu/libm-test-ulps: Update.
7097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7098
a6d06d7b
JM
7099 [BZ #10135]
7100 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
7101 small n, then large n, before computing and testing k+n.
7102 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7103 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
7104 Likewise.
7105 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
7106 Likewise.
7107 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
7108 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
7109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
7110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
7111 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7112 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7113 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
7114 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
7115 * math/libm-test.inc (scalbn_test): Add more tests.
7116 (scalbln_test): Likewise.
7117
07e12bb3
JM
7118 * manual/filesys.texi (mode_t): Describe constraints on size and
7119 signedness, not exact equivalence to a particular type.
7120 (ino_t): Likewise.
7121 (ino64_t): Likewise.
7122 (dev_t): Likewise.
7123 (nlink_t): Likewise.
7124 (blkcnt_t): Likewise.
7125 (blkcnt64_t): Likewise.
7126 * manual/llio.texi (off_t): Likewise.
7127
28afd92d
JM
7128 [BZ #3976]
7129 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
7130 (__ieee754_exp): Save and restore rounding mode and use
7131 round-to-nearest for all computations.
7132 * math/libm-test.inc (exp_test_tonearest): New function.
7133 (exp_test_towardzero): Likewise.
7134 (exp_test_downward): Likewise.
7135 (exp_test_upward): Likewise.
7136 (main): Call the new functions.
7137 * sysdeps/i386/fpu/libm-test-ulps: Update.
7138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7139
b1eeb65d
CD
71402012-03-01 Chris Demetriou <cgd@google.com>
7141
7142 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
7143 have predictable order.
7144
53362a4b
DM
71452012-03-01 David S. Miller <davem@davemloft.net>
7146
3c969083
DM
7147 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
7148
759707de
DM
7149 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
7151 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
7153
dfdb8ff2
DM
7154 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
7155 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
7156 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7158 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7159 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7160 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7161 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7162 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7163
ead89f96
DM
7164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7165
7f66bd07
DM
7166 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7167 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7168 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7169
53362a4b
DM
7170 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7171 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7172 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7173 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7174 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7175 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7176 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7178 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7179 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7180 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7181 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7183 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7184 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7186 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7187 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7188 * sysdeps/sparc/elf/configure: Regenerated.
7189
7b1902cb
JM
71902012-03-01 Joseph Myers <joseph@codesourcery.com>
7191
bec039bc
JM
7192 * configure.in (AS, LD): Require binutils 2.20 or later.
7193 * configure: Regenerated.
7194 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7195 as required minimum version.
7196 * INSTALL: Regenerated.
7197
7b1902cb
JM
7198 [BZ #2541]
7199 [BZ #4108]
7200 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7201 before squaring exponent.
7202 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7203 bottom long double and 27 bits of top long double before squaring
7204 exponent.
7205 * math/libm-test.inc (erfc_test): Add more tests.
7206 * sysdeps/i386/fpu/libm-test-ulps: Update.
7207 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7209
f775c276
KT
72102012-03-01 Kai Tietz <ktietz@redhat.com>
7211
7212 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7213 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7214 containing bit-fields.
7215 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7216 * soft-fp/single.h (_FP_UNION_S): Likewise.
7217 * soft-fp/double.h (_FP_UNION_D): Likewise.
7218
5b8a4d4a
JM
72192012-02-29 Joseph Myers <joseph@codesourcery.com>
7220
0bab47b6
JM
7221 [BZ #13786]
7222 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7223 not include ../strcmp.S.
7224 [USE_AS_STRNCASECMP_L]: Likewise.
7225 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7226 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7227 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7228 (__strncasecmp_l_ia32): Define as alias to
7229 __strncasecmp_l_nonascii.
7230
0fcad3e2
JM
7231 [BZ #5794]
7232 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7233 * sysdeps/i386/fpu/libm-test-ulps: Update.
7234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7235
5b8a4d4a
JM
7236 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7238
8fdceb2e
JL
72392012-02-29 Jeff Law <law@redhat.com>
7240
7241 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7242 out of bounds read.
7243
1f393a11
MP
72442012-02-29 Marek Polacek <polacek@redhat.com>
7245
7246 [BZ #13706]
7247 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7248 * elf/Makefile: Add rules to run tst-unused-dep.out.
7249
8847f037
DM
72502012-02-28 David S. Miller <davem@davemloft.net>
7251
7252 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7253 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7254 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7255 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7256 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7257 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7258
169d7f11
JM
72592012-02-29 Joseph Myers <joseph@codesourcery.com>
7260
7261 * math/libm-test.inc (llround_test): Move one test from
7262 lround_test. Use TEST_f_L in moved test.
7263 (lround_test): Move misplaced test to llround_test. Add testcase
7264 from bug 2561.
7265
39adf059
UD
72662012-02-28 Ulrich Drepper <drepper@gmail.com>
7267
7268 * sysdeps/x86_64/fpu/e_expf.S: New file.
7269 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7270
71b5d1c5
SB
72712012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7272
7273 [BZ #13637]
7274 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7275 of remain_len that may cause incomplete multi-byte character and
7276 false match.
7277 * posix/bug-regex33.c: New file.
7278 * posix/Makefile (tests): Add bug-regex33.
7279
1f77f049
JM
72802012-02-28 Joseph Myers <joseph@codesourcery.com>
7281
7282 * manual/macros.texi: New file.
7283 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7284 * manual/libc.texinfo: Include macros.texi.
7285 * manual/creatute.texi: Likewise.
7286 * manual/install.texi: Likewise.
7287 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7288 @glibcadj{} in references to the GNU C Library.
7289 * manual/charset.texi: Likewise.
7290 * manual/conf.texi: Likewise.
7291 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7292 when not using those macros.
7293 * manual/creature.texi: Likewise.
7294 * manual/crypt.texi: Likewise.
7295 * manual/errno.texi: Likewise.
7296 * manual/filesys.texi: Likewise.
7297 * manual/header.texi: Likewise.
7298 * manual/install.texi: Likewise.
7299 * manual/intro.texi: Likewise.
7300 * manual/io.texi: Likewise.
7301 * manual/job.texi: Likewise.
7302 * manual/lang.texi: Likewise.
7303 * manual/libc.texiinfo: Likewise.
7304 * manual/llio.texi: Likewise.
7305 * manual/locale.texi: Likewise.
7306 * manual/maint.texi: Likewise.
7307 * manual/math.texi: Likewise.
7308 * manual/memory.texi: Likewise.
7309 * manual/message.texi: Likewise.
7310 * manual/nss.texi: Likewise.
7311 * manual/pattern.texi: Likewise.
7312 * manual/process.texi: Likewise.
7313 * manual/resource.texi: Likewise.
7314 * manual/search.texi: Likewise.
7315 * manual/setjmp.texi: Likewise.
7316 * manual/signal.texi: Likewise.
7317 * manual/socket.texi: Likewise.
7318 * manual/startup.texi: Likewise.
7319 * manual/stdio.texi: Likewise.
7320 * manual/string.texi: Likewise.
7321 * manual/sysinfo.texi: Likewise.
7322 * manual/syslog.texi: Likewise.
7323 * manual/terminal.texi: Likewise.
7324 * manual/time.texi: Likewise.
7325 * manual/users.texi: Likewise.
7326 * INSTALL: Regenerated.
7327 * NOTES: Regenerated.
d40c5d54 7328 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7329
450bf206
AS
73302012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7331
7332 * include/dirent.h: Include <dirstream.h> before
7333 <dirent/dirent.h>.
7334
741a235b
DM
73352012-02-28 David S. Miller <davem@davemloft.net>
7336
7337 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7338 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7339 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7340 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7341
d6b5aa58
DM
73422012-02-27 David S. Miller <davem@davemloft.net>
7343
1aff59a3
DM
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7347 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7348
d6b5aa58
DM
7349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7350 frame pointer instead of stack pointer relative arg slot.
7351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7352 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7353 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7354
433f48bf
CD
73552012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7356
7357 [BZ #3992]
7358 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7359
d674b76d
DM
73602012-02-27 David S. Miller <davem@davemloft.net>
7361
7362 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7366 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7367 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7368 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7369 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7370
0e7727f7
JM
73712012-02-27 Joseph Myers <joseph@codesourcery.com>
7372
7373 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7374 later. Allow versions 5-9.
43be4ca2 7375 * configure: Regenerated.
0e7727f7
JM
7376 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7377 required minimum version and 4.6 as recommended version. Do not
7378 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7379 * INSTALL: Regenerated.
0e7727f7 7380
a78bc654
DM
73812012-02-27 David S. Miller <davem@davemloft.net>
7382
428d5830
DM
7383 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7384 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7385 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7391
a78bc654
DM
7392 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7393 manipulate bits before adding and subtracting TWO112[sx].
7394 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7395
4579f81c
RM
73962012-02-27 Roland McGrath <roland@hack.frob.com>
7397
36c8acb4
RM
7398 [BZ #13775]
7399 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7400 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7401 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7402 being in POSIX, because they are in 1003.1-2008.
7403
84ad622b
RM
7404 * rt/tst-aio.c: Include <fcntl.h>.
7405 * rt/tst-aio7.c: Likewise.
7406 * rt/tst-aio64.c: Likewise.
7407
4579f81c
RM
7408 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7409
abd923db
JM
74102012-02-27 Joseph Myers <joseph@codesourcery.com>
7411
7412 * manual/install.texi (--with-headers): Describe headers as
7413 interface headers, not private headers.
7414 (Specific advice for GNU/Linux systems): Describe use of headers
7415 from "make headers_install", not private headers from older
7416 kernels.
43be4ca2 7417 * INSTALL: Regenerated.
abd923db
JM
7418 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7419 Change to 2.6.19.
7420 * sysdeps/unix/sysv/linux/configure: Regenerated.
7421
6664049b
JM
7422 * manual/llio.texi (fclean): Remove documentation.
7423
bb8b6697
JM
7424 * manual/Makefile (libc-texi-generated): New variable. Include
7425 version.texi.
7426 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7427 $(libc-texi-generated), not duplicated list of files.
7428 (version.texi, stamp-version): New rules.
7429 (realclean): Remove $(libc-texi-generated), not individual files
7430 from that list. Do not remove dir-add.texinfo.
7431 * manual/libc.texinfo: Comment out uses of edition numbers and
7432 references to printed manual. Remove last-updated dates.
7433 (EDITION): Comment out.
7434 (ISBN): Likewise.
7435 (VERSION, UPDATED): Remove.
7436 (version.texi): Include.
7437
12e5c3b9
AS
74382012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7439
7440 * sysdeps/posix/spawni.c: Include <signal.h>.
7441 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7442 * sysdeps/pthread/aio_fsync.c: Likewise.
7443
4efeffc1 74442012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7445
ba63ba08
UD
7446 * conform/Makefile (tests): Run only when not cross-compiling and
7447 when fast-check is not defined.
7448
d94a4670
UD
7449 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7450 * conform/data/limits.h-data: Fixes for POSIX2008.
7451 * conform/run-conformtest.sh: Run all tests.
7452 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7453 headers.
7454 * include/bits/dlfcn.h: Likewise.
7455 * include/langinfo.h: Likewise.
7456 * include/monetary.h: Likewise.
7457 * include/sys/poll.h: Likewise.
7458
7459 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7460 for __USE_GNU.
7461 * posix/spawn.h: Define __need_sigset_t.
7462 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7463 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7464 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7465 to get sigevent_t only.
7466 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7467 only for __USE_GNU.
7468 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7469 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7470 process_vm_writev only for __USE_GNU.
7471 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7472
7473 * conform/Makefile: For now ignore errors from run-conformtest.
7474 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7475 POSIX to avoid namespace pollution. Don't prepend headers.
7476 * conform/data/aio.h-data: Fixes for POSIX testing.
7477 * conform/data/fcntl.h-data: Likewise.
7478 * conform/data/glob.h-data: Likewise.
7479 * conform/data/grp.h-data: Likewise.
7480 * conform/data/pthread.h-data: Likewise.
7481 * conform/data/pwd.h-data: Likewise.
7482 * conform/data/signal.h-data: Likewise.
7483 * conform/data/spawn.h-data: Likewise.
7484 * conform/data/stdio.h-data: Likewise.
7485 * conform/data/stdlib.h-data: Likewise.
7486 * conform/data/stropts.h-data: Likewise.
7487 * conform/data/sys/mman.h-data: Likewise.
7488 * conform/data/sys/stat.h-data: Likewise.
7489 * conform/data/sys/types.h-data: Likewise.
7490 * conform/data/sys/wait.h-data: Likewise.
7491 * conform/data/time.h-data: Likewise.
7492 * conform/data/unistd.h-data: Likewise.
7493 * conform/data/utime.h-data: Likewise.
7494
7495 * io/sys/stat.h: fchmod was always in POSIX.
7496 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7497 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7498 * rt/aio.h: Define __need_timespec before including <time.h>.
7499 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7500 struct. Add forward declaration of pthread_attr_t and use it in
7501 sigevent.
7502 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7503 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7504 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7505 always remove CLK_TCK definition.
7506
c20105c3
AS
75072012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7508
7509 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7510
7a270350
UD
75112012-02-25 Ulrich Drepper <drepper@gmail.com>
7512
31341567
UD
7513 * conform/run-conformtest.sh: New file.
7514 * conform/Makefile: Run run-conformtest for tests.
7515 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7516 support.
7517
7518 * conform/data/uchar.h-data: New file.
7519 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7520 * conform/data/arpa/inet.h-data: Likewise.
7521 * conform/data/assert.h-data: Likewise.
7522 * conform/data/complex.h-data: Likewise.
7523 * conform/data/cpio.h-data: Likewise.
7524 * conform/data/ctype.h-data: Likewise.
7525 * conform/data/dirent.h-data: Likewise.
7526 * conform/data/dlfcn.h-data: Likewise.
7527 * conform/data/errno.h-data: Likewise.
7528 * conform/data/fcntl.h-data: Likewise.
7529 * conform/data/float.h-data: Likewise.
7530 * conform/data/fmtmsg.h-data: Likewise.
7531 * conform/data/fnmatch.h-data: Likewise.
7532 * conform/data/ftw.h-data: Likewise.
7533 * conform/data/glob.h-data: Likewise.
7534 * conform/data/grp.h-data: Likewise.
7535 * conform/data/iconv.h-data: Likewise.
7536 * conform/data/inttypes.h-data: Likewise.
7537 * conform/data/langinfo.h-data: Likewise.
7538 * conform/data/libgen.h-data: Likewise.
7539 * conform/data/limits.h-data: Likewise.
7540 * conform/data/locale.h-data: Likewise.
7541 * conform/data/math.h-data: Likewise.
7542 * conform/data/monetary.h-data: Likewise.
7543 * conform/data/mqueue.h-data: Likewise.
7544 * conform/data/ndbm.h-data: Likewise.
7545 * conform/data/net/if.h-data: Likewise.
7546 * conform/data/netdb.h-data: Likewise.
7547 * conform/data/netinet/in.h-data: Likewise.
7548 * conform/data/nl_types.h-data: Likewise.
7549 * conform/data/poll.h-data: Likewise.
7550 * conform/data/pthread.h-data: Likewise.
7551 * conform/data/pwd.h-data: Likewise.
7552 * conform/data/regex.h-data: Likewise.
7553 * conform/data/sched.h-data: Likewise.
7554 * conform/data/search.h-data: Likewise.
7555 * conform/data/semaphore.h-data: Likewise.
7556 * conform/data/setjmp.h-data: Likewise.
7557 * conform/data/signal.h-data: Likewise.
7558 * conform/data/spawn.h-data: Likewise.
7559 * conform/data/stdarg.h-data: Likewise.
7560 * conform/data/stdio.h-data: Likewise.
7561 * conform/data/stdlib.h-data: Likewise.
7562 * conform/data/string.h-data: Likewise.
7563 * conform/data/strings.h-data: Likewise.
7564 * conform/data/stropts.h-data: Likewise.
7565 * conform/data/sys/ipc.h-data: Likewise.
7566 * conform/data/sys/mman.h-data: Likewise.
7567 * conform/data/sys/msg.h-data: Likewise.
7568 * conform/data/sys/resource.h-data: Likewise.
7569 * conform/data/sys/select.h-data: Likewise.
7570 * conform/data/sys/sem.h-data: Likewise.
7571 * conform/data/sys/shm.h-data: Likewise.
7572 * conform/data/sys/socket.h-data: Likewise.
7573 * conform/data/sys/stat.h-data: Likewise.
7574 * conform/data/sys/statvfs.h-data: Likewise.
7575 * conform/data/sys/time.h-data: Likewise.
7576 * conform/data/sys/timeb.h-data: Likewise.
7577 * conform/data/sys/times.h-data: Likewise.
7578 * conform/data/sys/types.h-data: Likewise.
7579 * conform/data/sys/uio.h-data: Likewise.
7580 * conform/data/sys/un.h-data: Likewise.
7581 * conform/data/sys/utsname.h-data: Likewise.
7582 * conform/data/sys/wait.h-data: Likewise.
7583 * conform/data/syslog.h-data: Likewise.
7584 * conform/data/tar.h-data: Likewise.
7585 * conform/data/termios.h-data: Likewise.
7586 * conform/data/utime.h-data: Likewise.
7587 * conform/data/utmpx.h-data: Likewise.
7588 * conform/data/varargs.h-data: Likewise.
7589 * conform/data/wchar.h-data: Likewise.
7590 * conform/data/wctype.h-data: Likewise.
7591 * conform/data/wordexp.h-data: Likewise.
7592
7593 * include/stropts.h: New file.
7594 * include/uchar.h: New file.
7595 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7596 * include/assert.h: Likewise.
7597 * include/ctype.h: Likewise.
7598 * include/dirent.h: Likewise.
7599 * include/dlfcn.h: Likewise.
7600 * include/fcntl.h: Likewise.
7601 * include/fnmatch.h: Likewise.
7602 * include/glob.h: Likewise.
7603 * include/grp.h: Likewise.
7604 * include/libio.h: Likewise.
7605 * include/locale.h: Likewise.
7606 * include/math.h: Likewise.
7607 * include/net/if.h: Likewise.
7608 * include/netdb.h: Likewise.
7609 * include/netinet/in.h: Likewise.
7610 * include/pthread.h: Likewise.
7611 * include/pwd.h: Likewise.
7612 * include/regex.h: Likewise.
7613 * include/sched.h: Likewise.
7614 * include/search.h: Likewise.
7615 * include/setjmp.h: Likewise.
7616 * include/signal.h: Likewise.
7617 * include/stdio.h: Likewise.
7618 * include/stdlib.h: Likewise.
7619 * include/string.h: Likewise.
7620 * include/sys/cdefs.h: Likewise.
7621 * include/sys/mman.h: Likewise.
7622 * include/sys/msg.h: Likewise.
7623 * include/sys/resource.h: Likewise.
7624 * include/sys/select.h: Likewise.
7625 * include/sys/socket.h: Likewise.
7626 * include/sys/stat.h: Likewise.
7627 * include/sys/statvfs.h: Likewise.
7628 * include/sys/time.h: Likewise.
7629 * include/sys/times.h: Likewise.
7630 * include/sys/uio.h: Likewise.
7631 * include/sys/utsname.h: Likewise.
7632 * include/sys/wait.h: Likewise.
7633 * include/termios.h: Likewise.
7634 * include/time.h: Likewise.
7635 * include/ulimit.h: Likewise.
7636 * include/unistd.h: Likewise.
7637 * include/utime.h: Likewise.
7638 * include/wchar.h: Likewise.
7639 * include/wctype.h: Likewise.
7640 * include/wordexp.h: Likewise.
7641
7642 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7643
7a270350
UD
7644 * time/time.h: TIME_UTC must be a macro.
7645 Make timespec_get available for ISO C11 only as well.
7646
7724defc
UD
76472012-02-24 Ulrich Drepper <drepper@gmail.com>
7648
7649 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7650 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7651
6b1d1d46
JM
76522012-02-24 Joseph Myers <joseph@codesourcery.com>
7653
7654 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7655
0f8bbd69
JM
76562012-02-24 Joseph Myers <joseph@codesourcery.com>
7657
7658 * manual/texinfo.tex: Update to version 2012-01-19.16.
7659
66ab80bc
JM
76602012-02-24 Joseph Myers <joseph@codesourcery.com>
7661
7662 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7663
74981cc5
RM
76642012-02-24 Roland McGrath <roland@hack.frob.com>
7665
ee968201
RM
7666 [BZ #13738]
7667 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7668 * manual/fdl-1.3.texi: New file.
7669 * manual/fdl-1.1.texi: File removed.
7670
74981cc5
RM
7671 [BZ #13738]
7672 * manual/libc.texinfo (FDL_VERSION): New @set.
7673 Use it for mention of FDL in cover text.
7674 (Documentation License): Use it in @include file name.
7675
7bb764bc
JM
76762012-02-22 Joseph Myers <joseph@codesourcery.com>
7677 Roland McGrath <roland@hack.frob.com>
7678
7679 [BZ #5461]
7680 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7681 not LONG_LONG_MAX and LONG_LONG_MIN.
7682 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7683 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7684 name.
7685 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7686
6cbeae47
JM
76872012-02-22 Joseph Myers <joseph@codesourcery.com>
7688
7689 [BZ #2547]
7690 [BZ #11365]
7691 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7692 manipulate bits before adding and subtracting TWO23[sx].
7693 * math/libm-test.inc (nearbyint_test): Add more tests.
7694
fe45ce09
JM
76952012-02-22 Joseph Myers <joseph@codesourcery.com>
7696
7697 [BZ #2548]
7698 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7699 bits before adding and subtracting TWO23[sx].
7700 * math/libm-test.inc (rint_test): Add more tests.
7701 (rint_test_tonearest): Likewise.
7702 (rint_test_towardzero): Likewise.
7703 (rint_test_downward): Likewise.
7704 (rint_test_upward: Likewise.
7705
ff3b3d82
JM
77062012-02-22 Joseph Myers <joseph@codesourcery.com>
7707
7708 [BZ #10110]
7709 * include/stdc-predef.h: New file. Extracted from features.h.
7710 * include/features.h: Include stdc-predef.h.
7711 * Makefile (headers): Add stdc-predef.h.
7712 * CONFORMANCE (Compiler limitations): Update.
7713
ef0aab35
JM
77142012-02-22 Joseph Myers <joseph@codesourcery.com>
7715
7716 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7717
58639409
DM
77182012-02-21 David S. Miller <davem@davemloft.net>
7719
7720 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7721 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7722
c0e70b25
DM
77232012-02-20 David S. Miller <davem@davemloft.net>
7724
7725 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7726 using a normal save/restore sequence, rather than allocating a
7727 dummy stack frame just to store a frame pointer and restore.
7728 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7729
fb06851d
JM
77302012-02-21 Joseph Myers <joseph@codesourcery.com>
7731
7732 * manual/install.texi: Fix stray word in line-wrapped comment.
7733
7a8b71c3
DM
77342012-02-20 David S. Miller <davem@davemloft.net>
7735
d510c123
DM
7736 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7737 both binutils and gcc support GOTDATA.
7738
0722d7c2
DM
7739 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7740 "rd %pc" in the PIC register setup sequences.
7741
3d2b3019
DM
7742 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7743 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7744 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7745 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7746 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7747 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7748 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7751 (SYSCALL_ERROR_HANDLER): Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7753 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7754 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7755 (SYSCALL_ERROR_HANDLER): Likewise.
7756
c80098a9
DM
7757 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7758 (HAVE_GCC_GOTDATA): New.
7759 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7760 relocation support in both binutils and gcc.
7761 * sysdeps/sparc/elf/configure: Regenerate.
7762
3a2545a0
DM
7763 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7764 * sysdeps/sparc/sparc32/elf/configure: Delete.
7765 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7766 * sysdeps/sparc/sparc64/elf/configure: Delete.
7767 * sysdeps/sparc/elf/configure.in: New file.
7768 * sysdeps/sparc/elf/configure: Generate.
7769
7a8b71c3
DM
7770 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7771 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7772 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7773 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7774 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7775
f1e86fca
JM
77762012-02-21 Joseph Myers <joseph@codesourcery.com>
7777
7778 * manual/install.texi: Do not mention specific glibc version
7779 numbers.
7780 * manual/libc.texinfo (VERSION, UPDATED): Update.
7781 (@copying): Use @copyright{} and range of years.
7782
0e7dfaef
JM
77832012-02-21 Joseph Myers <joseph@codesourcery.com>
7784
7785 [BZ #13695]
7786 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7787 [crti.S not in sysdirs] (generated): Do not append.
7788 [crti.S not in sysdirs] (omit-deps): Likewise.
7789 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7790 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7791 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7792 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7793 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7794 Likewise.
7795 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7796 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7797 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7798 * csu/defs.awk: Remove file.
7799 * sysdeps/generic/initfini.c: Likewise.
7800 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7801 variable.
7802 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7803 Likewise.
7804
599af3ca
JM
78052012-02-20 Joseph Myers <joseph@codesourcery.com>
7806
7807 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7808 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7810 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7811 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7812 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7813 <bits/epoll.h>.
7814 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7815 (__EPOLL_PACKED): Define to empty if not defined by
7816 <bits/epoll.h>.
7817 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7818 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7819 bits/epoll.h.
7820
0e499750
JM
78212012-02-20 Joseph Myers <joseph@codesourcery.com>
7822
7823 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7824 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7826 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7827 <bits/timerfd.h>.
7828 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7829 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7830 bits/timerfd.h.
7831
5ad91f6e
JM
78322012-02-20 Joseph Myers <joseph@codesourcery.com>
7833
7834 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7835 in C locale.
7836 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7837 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7838 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7840
06b99b02
AJ
78412012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7842
7843 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7844 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7845
7638c0fd
AS
78462012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7847
7848 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7849 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7850 defined.
7851 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7852 Likewise.
7853 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7854 entry for 2.16.
7855
92221550
AJ
78562012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7857
7858 * math/w_acos.c: Use non-signaling floating-point comparisons.
7859 * math/w_acosf.c: Likewise.
7860 * math/w_acosh.c: Likewise.
7861 * math/w_acoshf.c: Likewise.
7862 * math/w_acoshl.c: Likewise.
7863 * math/w_acosl.c: Likewise.
7864 * math/w_asin.c: Likewise.
7865 * math/w_asinf.c: Likewise.
7866 * math/w_asinl.c: Likewise.
7867 * math/w_atanh.c: Likewise.
7868 * math/w_atanhf.c: Likewise.
7869 * math/w_atanhl.c: Likewise.
7870 * math/w_exp2.c: Likewise.
7871 * math/w_exp2f.c: Likewise.
7872 * math/w_exp2l.c: Likewise.
7873 * math/w_j0.c: Likewise.
7874 * math/w_j0f.c: Likewise.
7875 * math/w_j0l.c: Likewise.
7876 * math/w_j1.c: Likewise.
7877 * math/w_j1f.c: Likewise.
7878 * math/w_j1l.c: Likewise.
7879 * math/w_jn.c: Likewise.
7880 * math/w_jnf.c: Likewise.
7881 * math/w_log.c: Likewise.
7882 * math/w_log10.c: Likewise.
7883 * math/w_log10f.c: Likewise.
7884 * math/w_log10l.c: Likewise.
7885 * math/w_log2.c: Likewise.
7886 * math/w_log2f.c: Likewise.
7887 * math/w_log2l.c: Likewise.
7888 * math/w_logf.c: Likewise.
7889 * math/w_logl.c: Likewise.
7890 * math/w_sqrt.c: Likewise.
7891 * math/w_sqrtf.c: Likewise.
7892 * math/w_sqrtl.c: Likewise.
7893 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7894 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7895 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7896 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7898
ebaf36eb
JM
78992012-02-19 Joseph Myers <joseph@codesourcery.com>
7900
7901 [BZ #9739]
7902 * manual/string.texi (strnlen): Use correct parameter name in
7903 equivalent expression.
7904
71c254a6
JM
79052012-02-19 Joseph Myers <joseph@codesourcery.com>
7906
7907 [BZ #11174]
7908 * manual/users.texi (seteuid): Consistently use neweuid for
7909 argument name.
7910
16d2c631
JM
79112012-02-19 Joseph Myers <joseph@codesourcery.com>
7912
7913 [BZ #13704]
7914 * manual/nss.texi (Services in the NSS configuration): Correct
7915 list of services in example configuration file.
7916
cd837b09
NB
79172012-02-19 Nick Bowler <nbowler@draconx.ca>
7918
7919 [BZ #11322]
7920 * manual/arith.texi: Remove statements about negative zero
7921 behaving identically to zero.
7922
02c4bbad
JM
79232012-02-18 Joseph Myers <joseph@codesourcery.com>
7924
7925 [BZ #5993]
7926 * manual/install.texi: Do not document upgrading from libc5.
7927
366842e7
JM
79282012-02-18 Joseph Myers <joseph@codesourcery.com>
7929
7930 [BZ #4596]
7931 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7932
dd54084d
DM
79332012-02-18 David S. Miller <davem@davemloft.net>
7934
7935 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7936 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7937 %o7 across the call.
7938 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7939 instead.
7940 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7941 SETUP_PIC_REG_LEAF.
7942 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7943 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7944 * sysdeps/sparc/crtn.S: Likewise.
7945
2bcc53a3
UD
79462012-02-17 Ulrich Drepper <drepper@gmail.com>
7947
7948 * aout/Makefile: Remove.
7949
09c093b5
RK
79502012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7951
7952 [BZ #13058]
7953 * manual/examples/argp-ex1.c (main): Format definition in GNU
7954 style.
7955 * manual/examples/argp-ex2.c (main): Likewise.
7956 * manual/examples/argp-ex3.c (main): Likewise.
7957 * manual/examples/argp-ex4.c (main): Likewise.
7958 * manual/examples/longopt.c (main): Use new-style prototype
7959 definition.
7960 * manual/examples/strncat.c (main): Specify return type and use
7961 (void) for arguments.
7962 * manual/examples/subopt.c (main): Use char **argv argument.
7963
2ee633a2
JM
79642012-02-17 Joseph Myers <joseph@codesourcery.com>
7965
7966 [BZ #5077]
7967 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7968 rounding modes.
7969
0520adde
FB
79702012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7971
7972 [BZ #6907]
7973 * manual/string.texi (strchr): Change when strchrnul is
7974 recommended.
7975
3f4081cd
DGM
79762012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7977
7978 [BZ #174]
7979 * manual/locale.texi (setlocale): Document LOCPATH.
7980
d1b10e78
JM
79812012-02-17 Joseph Myers <joseph@codesourcery.com>
7982
7983 [BZ #10210]
7984 * manual/process.texi (execle): Move @dots{} before last argument.
7985
79c6869c
PB
79862012-02-17 Paul Bolle <pebolle@tiscali.nl>
7987
7988 [BZ #12047]
7989 * manual/charset.texi (Generic Charset Conversion): Fix typo
7990 (LC_TYPE -> LC_CTYPE).
7991
cc6e48bc
NB
79922012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7993
7994 [BZ #5805]
7995 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7996 (scalbnf): Likewise.
7997 (scalbnl): Likewise.
7998 (scalbln): Likewise.
7999 (scalblnf): Likewise.
8000 (scalblnl): Likewise.
8001 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
8002 (vwarnx): Likewise.
8003 (verr): Likewise.
8004 (verrx): Likewise.
8005 * manual/filesys.texi (telldir): Use braces around return type.
8006 * manual/llio.texi (mmap): Add space after comma.
8007 (mmap64): Likewise.
8008 * manual/math.texi (jn): Use @var{} on parameter names.
8009 (jnf): Likewise.
8010 (jnl): Likewise.
8011 (yn): Likewise.
8012 (ynf): Likewise.
8013 (ynl): Likewise.
8014 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
8015 line.
8016 * manual/resource.texi (ulimit): Use @dots{} instead of literal
8017 "...".
8018 (sched_get_priority_min): Remove semicolon on @deftypefun line.
8019 (sched_get_priority_max): Likewise.
8020 * manual/signal.texi (sigvec): Add space after comma.
8021 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
8022 names.
8023 (if_indextoname): Likewise.
8024 (if_freenameindex): Likewise.
8025 (sendto): Use ',' instead of '.' in prototype.
8026 * manual/startup.texi (syscall): Use @dots{} instead of literal
8027 "...".
8028 * manual/stdio.texi (__fpending): Separate initial words of
8029 paragraph from @deftypefun line.
8030 * manual/syslog.texi (syslog): Use @dots{} instead of literal
8031 "...".
8032 (vsyslog): Use @var{} on parameter names.
8033 * manual/terminal.texi (stty): Use @var{} on parameter names.
8034 * manual/users.texi (getutmp): Use @var{} on parameter names.
8035 (getutmpx): Likewise.
8036
5b23062f
JM
80372012-02-17 Joseph Myers <joseph@codesourcery.com>
8038
8039 [BZ #6884]
8040 * manual/stdio.texi (fopen): Fix typos in description of
8041 ",ccs=STRING".
8042
8dee4833
AJ
80432012-02-17 Aurelien Jarno <aurelien@aurel32.net>
8044
8045 [BZ #4026]
8046 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
8047 get clock_id definition.
8048
9078ce93
TS
80492012-02-17 Thomas Schwinge <thomas@schwinge.name>
8050
8051 [BZ #4822]
8052 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
8053 (madvise): Cast every argument to void on its own.
8054
3835c55f
JM
80552012-02-17 Joseph Myers <joseph@codesourcery.com>
8056
8057 [BZ #9902]
8058 * manual/startup.texi (Exit Status): Fix typo.
8059
35c47e37
JM
80602012-02-17 Joseph Myers <joseph@codesourcery.com>
8061
8062 [BZ #10140]
8063 * manual/examples/argp-ex1.c: Include <stdlib.h>.
8064 * manual/examples/argp-ex2.c: Likewise.
8065 * manual/examples/argp-ex3.c: Likewise.
8066
e3b69ca7
RH
80672012-02-16 Richard Henderson <rth@redhat.com>
8068
8069 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
8070 * sysdeps/s390/s390-32/initfini.c: Remove.
8071 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
8072 * sysdeps/s390/s390-64/initfini.c: Remove.
8073
df83af67
KK
80742012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8075
8076 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
8077 compiler output for sysdeps/generic/initfini.c.
8078 * sysdeps/sh/elf/initfini.c: Remove file.
8079
f63f3380
DM
80802012-02-16 David S. Miller <davem@davemloft.net>
8081
fb59b3a4
DM
8082 [BZ #11494]
8083 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
8084
f63f3380
DM
8085 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
8086 * sysdeps/sparc/crti.S: New file.
8087 * sysdeps/sparc/crtn.S: New file.
8088 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
8089 * sysdeps/sparc/sparc64/Makefile: Likewise.
8090
df6a4a4a
MF
80912012-02-15 Mike Frysinger <vapier@gentoo.org>
8092
6dd8f3dc 8093 [BZ #3335]
df6a4a4a
MF
8094 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
8095
1cac7236
RM
80962012-02-15 Roland McGrath <roland@hack.frob.com>
8097
d2c736f8
RM
8098 [BZ #4822]
8099 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
8100
1cac7236
RM
8101 * mach/devstream.c (cookie_io_functions_t): Macro removed.
8102 (write, read, close): Likewise.
8103 Patch by Aurelien Jarno <aurelien@aurel32.net>.
8104
8e475601
JM
81052012-02-15 Joseph Myers <joseph@codesourcery.com>
8106
8107 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
8108 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
8109 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
8110 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
8111 <bits/signalfd.h>.
8112 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
8113 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8114 bits/signalfd.h.
8115
ed656b40
MP
81162012-02-14 Marek Polacek <polacek@redhat.com>
8117
8118 * sysdeps/x86_64/crti.S: New file.
8119 * sysdeps/x86_64/crtn.S: New file.
8120 * sysdeps/x86_64/elf/initfini.c: Remove file.
8121
2a979d3a
JM
81222012-02-13 Joseph Myers <joseph@codesourcery.com>
8123
8124 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
8125 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
8127 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
8128 <bits/inotify.h>.
8129 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
8130 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8131 bits/inotify.h.
8132
2a418ac3
JM
81332012-02-13 Joseph Myers <joseph@codesourcery.com>
8134
8135 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
8136 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
8137 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
8138 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
8139 <bits/eventfd.h>.
8140 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
8141 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8142 bits/eventfd.h.
8143
fb779be7
TS
81442012-02-10 Thomas Schwinge <thomas@codesourcery.com>
8145
e19e83c5
RM
8146 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
8147 __feraiseexcept instead of feraiseexcept.
7c35ffed 8148
fb779be7
TS
8149 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
8150 nanosleep invocations.
8151 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
8152 strings, and add error checking for a nanosleep invocations.
8153
59ba27a6
PE
81542012-02-09 Paul Eggert <eggert@cs.ucla.edu>
8155
8156 Replace FSF snail mail address with URLs, as per GNU coding standards.
8157 Most of the snail mail addresses were wrong anyway, and omitting
8158 them makes the source code easier to maintain. Almost all of the
8159 changes are to license notices and to locale LC_IDENTIFICATION
8160 addresses, except for this one:
8161 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8162 not its snail mail address.
8163
57b957eb
RH
81642012-02-09 Richard Henderson <rth@twiddle.net>
8165
af850b1c
RH
8166 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8167 of kernel-features.h.
8168
57b957eb
RH
8169 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8170
6b73181a
MP
81712012-02-08 Marek Polacek <polacek@redhat.com>
8172
8173 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8174 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8175 * sysdeps/gnu/_G_config.h: Likewise.
8176 * sysdeps/generic/_G_config.h: Likewise.
8177
26ecc33a
AS
81782012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8179
6c6dbc63
AS
8180 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8181 tests.
8182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8183
e216c012
AS
8184 * sysdeps/powerpc/powerpc32/crti.S: New file.
8185 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8186 * sysdeps/powerpc/powerpc64/crti.S: New file.
8187 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8188
26ecc33a
AS
8189 * Makeconfig (have-initfini): Don't set.
8190 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8191 * configure.in (nopic_initfini): Don't substitute.
8192 * config.h.in (HAVE_INITFINI): Don't #undef.
8193 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8194 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8195
3add8e13
JM
81962012-02-08 Joseph Myers <joseph@codesourcery.com>
8197
8198 Support crti.S and crtn.S provided directly by architectures.
8199 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8200 [crti.S in sysdirs] (omit-deps): Likewise.
8201 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8202 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8203 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8204 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8205 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8206 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8207 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8208 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8209 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8210 compiler output for sysdeps/generic/initfini.c.
8211 * sysdeps/i386/elf/Makefile: Remove file.
8212 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8213
a22f12b4
MP
82142012-02-07 Marek Polacek <polacek@redhat.com>
8215
8216 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8217 * sysdeps/gnu/_G_config.h: Likewise.
8218 * sysdeps/mach/hurd/_G_config.h: Likewise.
8219
148cf100
MP
82202012-02-07 Marek Polacek <polacek@redhat.com>
8221
8222 * math/Makefile (tests): Add tst-CMPLX2.
8223 * math/tst-CMPLX2.c: New file.
8224
cfdc0dd7
AS
82252012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8226
84ba42c4
AS
8227 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8228
cfdc0dd7
AS
8229 * math/libm-test.inc (jn_test): Add missing L suffix.
8230
622c86f4
MP
82312012-02-06 Marek Polacek <polacek@redhat.com>
8232
8233 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8234 * sysdeps/i386/fpu/e_powf.S: Likewise.
8235 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8236 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8237 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8238 * sysdeps/i386/fpu/e_pow.S: Likewise.
8239 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8240 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8241 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8242 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8243 * sysdeps/i386/fpu/e_log2.S: Likewise.
8244 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8245 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8246 * sysdeps/i386/fpu/e_powl.S: Likewise.
8247 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8248 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8249 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8250 * sysdeps/i386/fpu/e_logl.S: Likewise.
8251 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8252 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8253 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8254 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8255 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8256 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8257 * sysdeps/i386/fpu/e_log.S: Likewise.
8258 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8259 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8260 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8261 * sysdeps/i386/fpu/e_logf.S: Likewise.
8262 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8263 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8264 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8265 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8266 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8267 * sysdeps/i386/fpu/e_log10.S: Likewise.
8268 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8269 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8270 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8271 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8272 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8273 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8274 * sysdeps/i386/asm-syntax.h: Likewise.
8275 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8276 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8277 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8278 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8279 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8280 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8281 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8282 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8284 * sysdeps/powerpc/sysdep.h: Likewise.
8285 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8286 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8287
d4a54ac6
JM
82882012-02-06 Joseph Myers <joseph@codesourcery.com>
8289
8290 [BZ #411]
8291 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8292
314054ea
JM
82932012-02-06 Joseph Myers <joseph@codesourcery.com>
8294
8295 * sysdeps/i386/sysdep.h: Include <features.h>.
8296 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8297 version.
8298
d8e0ca50
JM
82992012-02-05 Joseph Myers <joseph@codesourcery.com>
8300
8301 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8302 Define.
8303 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8304 LOAD_PIC_REG_STR.
8305
b1da7dd9
JM
83062012-02-03 Joseph Myers <joseph@codesourcery.com>
8307
8308 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8309 (SETUP_PIC_REG): Use GET_PC_THUNK.
8310 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8311 macro.
8312
9a1d9254
JM
83132012-02-03 Joseph Myers <joseph@codesourcery.com>
8314
8315 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8316 for non-PIC compilation.
8317 (SETUP_PIC_REG): Add .p2align directive.
8318 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8319 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8320 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8321 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8322 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8323 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8324 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8325 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8327 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8328 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8329 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8330 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8331 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8332 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8333 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8334 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8335 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8336 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8337 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8338 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8339 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8340 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8341 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8342 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8344 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8345 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8346 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8347 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8348 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8349 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8350 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8351 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8352 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8353 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8354 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8355 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8356 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8357 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8358 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8359
65dc3b75
JM
83602012-02-03 Joseph Myers <joseph@codesourcery.com>
8361
8362 * math/tst-CMPLX.c: Include <stdio.h>.
8363
d55bf177
JM
83642012-01-31 Joseph Myers <joseph@codesourcery.com>
8365
8366 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8367 float.
8368 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8369 * sysdeps/sparc/bits/mathdef.h: Likewise.
8370
69db4f8f
MP
83712012-01-31 Marek Polacek <polacek@redhat.com>
8372
8373 * libio/libio.h: Don't define _PARAMS.
8374 * locale/programs/config.h: Don't define PARAMS.
8375 * stdlib/strtol_l.c: Likewise.
8376 (__strtol_l): Remove PARAMS from the prototype.
8377
41b81892
UD
83782012-01-31 Ulrich Drepper <drepper@gmail.com>
8379
3b49edc0
UD
8380 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8381 names. Just use the correct names. Remove unnecessary wrapper
8382 functions.
8383 * malloc/arena.c: Likewise.
8384 * malloc/hooks.c: Likewise.
8385
41b81892
UD
8386 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8387 ARENA_TEST says not to. Simplify test for creation of a new arena.
8388 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8389
27a25b6e
UD
83902012-01-30 Ulrich Drepper <drepper@gmail.com>
8391
8392 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8393 into tail calls.
8394 (update_get_addr): New function.
8395 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8396 GET_ADDR_MODULE parameter.
8397
c8a89e7d
JM
83982012-01-30 Joseph Myers <joseph@codesourcery.com>
8399
8400 * crypt/cert.c: Remove __STDC__ conditionals.
8401 * crypt/crypt-entry.c: Likewise.
8402 * crypt/crypt_util.c: Likewise.
8403 * libio/filedoalloc.c: Likewise.
8404 * libio/fileops.c: Likewise.
8405 * libio/genops.c: Likewise.
8406 * libio/iofclose.c: Likewise.
8407 * libio/iofdopen.c: Likewise.
8408 * libio/iofopen.c: Likewise.
8409 * libio/iofopen64.c: Likewise.
8410 * libio/iogetdelim.c: Likewise.
8411 * libio/iopopen.c: Likewise.
8412 * libio/obprintf.c: Likewise.
8413 * libio/oldfileops.c: Likewise.
8414 * libio/oldiofclose.c: Likewise.
8415 * libio/oldiofdopen.c: Likewise.
8416 * libio/oldiofopen.c: Likewise.
8417 * libio/oldiopopen.c: Likewise.
8418 * libio/wfiledoalloc.c: Likewise.
8419 * libio/wgenops.c: Likewise.
8420 * locale/programs/xmalloc.c: Likewise.
8421 * misc/syslog.c: Likewise.
8422 * stdio-common/xbug.c: Likewise.
8423 * string/memchr.c: Likewise.
8424 * string/memcmp.c: Likewise.
8425 * string/memrchr.c: Likewise.
8426 * string/rawmemchr.c: Likewise.
8427 * sysdeps/posix/getcwd.c: Likewise.
8428 * time/strftime_l.c: Likewise.
8429
3b100462
JM
84302012-01-30 Joseph Myers <joseph@codesourcery.com>
8431
8432 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8433 * config.make.in (config-cflags-sse2avx): Define.
8434 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8435 Fix typo.
8436
607998af
CM
84372012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8438
8439 * scripts/config.guess: Update from upstream config git repository.
8440 * scripts/config.sub: Likewise.
8441
3601428f
CM
84422012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8443
3ac8b282
CM
8444 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8445 (EM_NUM): Update.
8446 (R_TILEPRO_*, R_TILEGX_*): New macros.
8447
e034841e
CM
8448 * scripts/firstversions.awk: Fix bug in version range handling.
8449
540d7568
CM
8450 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8451
3601428f
CM
8452 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8453
463de862
CM
8454 * include/sys/epoll.h: New file.
8455 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8456 libc_hidden_def.
8457
73139a76
UD
84582012-01-28 Ulrich Drepper <drepper@gmail.com>
8459
96bc5b45
UD
8460 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8461 Avoid unnecessary __WORDSIZE == 64 test.
8462 (fmaxf): Use VEX format if possible.
8463 (fmax): Likewise.
8464 (fminf): Likewise.
8465 (fmin): Likewise.
8466
56f6f6a2
UD
8467 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8468 * math/math_private.h: Remove libc_fegetround* and
8469 libc_fesetround*.
8470 * sysdeps/i386/configure.in: Check for -msse2avx.
8471 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8472 also if SSE2AVX is defined.
8473 Remove libc_fegetround* and libc_fesetround*.
8474 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8475 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8477 of HAS_YMM_USABLE.
8478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8483
73139a76
UD
8484 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8485
d73f93a4
AZ
84862012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8487
8488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8489 size is not set.
8490 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8491
6ee65ed6
UD
84922012-01-27 Ulrich Drepper <drepper@gmail.com>
8493
8494 [BZ #13618]
8495 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8496 relocation.
8497 * Makeconfig (libm): Define.
8498 * elf/Makefile: Add rules to build and run tst-relsort1.
8499 * elf/tst-relsort1.c: New file.
8500 * elf/tst-relsort1mod1.c: New file.
8501 * elf/tst-relsort1mod2.c: New file.
8502
8db21882
JM
85032012-01-27 Joseph Myers <joseph@codesourcery.com>
8504
8505 * math/s_ldexp.c: Remove __STDC__ conditionals.
8506 * math/s_ldexpf.c: Likewise.
8507 * math/s_ldexpl.c: Likewise.
8508 * math/s_nextafter.c: Likewise.
8509 * math/s_nexttowardf.c: Likewise.
8510 * math/s_significand.c: Likewise.
8511 * math/s_significandf.c: Likewise.
8512 * math/s_significandl.c: Likewise.
8513 * math/w_jnl.c: Likewise.
8514 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8515 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8516 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8517 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8518 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8533 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8534 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8535 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8536 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8537 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8538 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8539 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8540 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8541 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8542 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8543 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8544 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8545 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8546 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8547 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8548 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8549 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8550 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8551 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8552 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8553 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8554 * sysdeps/ieee754/k_standard.c: Likewise.
8555 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8556 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8557 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8558 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8564 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8565 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8566 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8567 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8568 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8569 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8570 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8571 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8572 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8573 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8574 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8575 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8576 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8577 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8578 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8579 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8580 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8581 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8582 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8583 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8584 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8586 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8587 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8588 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8589 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8590 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8591 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8592 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8594 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8595 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8596 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8597 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8598 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8599 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8600 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8601 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8602 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8603 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8604 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8605 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8606 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8607 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8608 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8609 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8610 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8611 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8612 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8613 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8614 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8615 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8617 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8618 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8619 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8620 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8621 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8622 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8623 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8624 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8625 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8627 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8630 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8631 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8632 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8633 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8634 * sysdeps/ieee754/s_matherr.c: Likewise.
8635 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8636 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8637 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8638 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8639
965a54a4
JM
86402012-01-26 Joseph Myers <joseph@codesourcery.com>
8641
8642 * crypt/md5.h: Remove __STDC__ conditionals.
8643 * libio/libioP.h: Likewise.
8644 * locale/programs/config.h: Likewise.
8645 * sysdeps/generic/sysdep.h: Likewise.
8646 * sysdeps/i386/asm-syntax.h: Likewise.
8647 * sysdeps/s390/asm-syntax.h: Likewise.
8648 * sysdeps/unix/sysdep.h: Likewise.
8649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8651
7071ad79
JM
86522012-01-26 Joseph Myers <joseph@codesourcery.com>
8653
8654 * libio/libio.h: Remove __STDC__ conditionals.
8655 * malloc/obstack.h: Likewise.
8656 * math/complex.h: Likewise.
8657 * math/math.h: Likewise.
8658 * sysdeps/generic/_G_config.h: Likewise.
8659 * sysdeps/gnu/_G_config.h: Likewise.
8660 * sysdeps/mach/hurd/_G_config.h: Likewise.
8661 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8662 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8663 * sysdeps/sparc/bits/mathdef.h: Likewise.
8664
afc5ed09
UD
86652012-01-26 Ulrich Drepper <drepper@gmail.com>
8666
8667 [BZ #13583]
8668 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8669 Clean up HAS_* macros.
afc5ed09 8670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8671 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8672 possible.
8673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8674 HAS_AVX.
8675 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8676 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8677 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8678 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8679 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8680
bdb6de1d
JM
86812012-01-25 Joseph Myers <joseph@codesourcery.com>
8682
8683 * elf/tst-unique3.cc (gets): Remove declaration.
8684 * elf/tst-unique3lib.cc (gets): Likewise.
8685 * elf/tst-unique3lib2.cc (gets): Likewise.
8686 * elf/tst-unique4.cc (gets): Likewise.
8687
b15549e6
UD
86882012-01-24 Ulrich Drepper <drepper@gmail.com>
8689
8690 * include/stdio.h: Add C++ protection. Add gets declarations and
8691 definitions.
8692 * debug/tst-chk1.c: Don't declare gets here.
8693 * stdio-common/tst-gets.c: Likewise.
8694
a037381f
JM
86952012-01-24 Joseph Myers <joseph@codesourcery.com>
8696
8697 * posix/glob: Remove directory.
8698
f1d4aa75
JM
86992012-01-24 Joseph Myers <joseph@codesourcery.com>
8700
8701 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8702
81c0c964
PT
87032012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8704
8705 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8706 of the non-standard EPFNOSUPPORT.
8707
0ea698ae
ST
87082011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8709
8710 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8711 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8712 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8713
d220b117
UD
87142012-01-21 Ulrich Drepper <drepper@gmail.com>
8715
8716 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8717
3e1aa84e
UD
87182012-01-20 Ulrich Drepper <drepper@gmail.com>
8719
8720 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8721 transient errors.
8722 * nscd/grpcache.c (cache_addgr): Likewise.
8723 * nscd/hstcache.c (cache_addhst): Likewise.
8724 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8725 * nscd/pwdcache.c (cache_addpw): Likewise.
8726 * nscd/servicescache.c (cache_addserv): Likewise.
8727
400aa020
UD
87282012-01-16 Ulrich Drepper <drepper@gmail.com>
8729
d77e7869
UD
8730 * malloc/malloc.c: Various cleanups.
8731 * malloc/hooks.c: Likewise.
8732
400aa020
UD
8733 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8734 * stdlib/bug-fmtmsg1.c: New file.
8735
8736 * stdlib/fmtmsg.c (init): Add missing unlock.
8737 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8738
e0a309cf
MP
87392012-01-12 Marek Polacek <polacek@redhat.com>
8740
8741 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8742 and _GNU_SOURCE.
8743
929d11c7
WS
87442012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8745
8746 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8747 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8748 macro to ensure uniqueness of label name.
8749 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8750 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8751
41d0e869
UD
87522012-01-11 Ulrich Drepper <drepper@gmail.com>
8753
0cc5ed3b
UD
8754 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8755
41d0e869
UD
8756 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8757 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8760
a47a831a
UD
87612012-01-10 Ulrich Drepper <drepper@gmail.com>
8762
daa891c0
UD
8763 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8764
8765 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8766 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8767 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8768
e58ef0f2
UD
8769 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8770
a47a831a 8771 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8772 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8774 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8775
8776 * math/bits/math-finite.h: Add ldexp support.
8777
a0bfc9c7
MP
87782012-01-10 Marek Polacek <polacek@redhat.com>
8779
8780 * locale/programs/localedef.h (show_archive_content): Add noreturn
8781 attribute.
8782
d6e97a1d
UD
87832012-01-09 Ulrich Drepper <drepper@gmail.com>
8784
8785 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8786
d5835c26
UD
87872012-01-08 Ulrich Drepper <drepper@gmail.com>
8788
e5f484c6
UD
8789 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8790
d5835c26
UD
8791 * io/Makefile (headers): Add bits/poll2.h.
8792
d1f741e9
WS
87932011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8794
8795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8796 typo #include statement.
8797
ec09c1c4
UD
87982012-01-08 Ulrich Drepper <drepper@gmail.com>
8799
8800 * include/sys/cdefs.h: Define __attribute_alloc_size.
8801 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8802 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8803 * elf/pldd.c: Likewise.
8804 * iconv/iconv_charmap.c: Likewise.
8805 * iconv/iconvconfig.c: Likewise.
8806 * iconv/strtab.c: Likewise.
8807 * locale/programs/locale.c: Likewise.
8808 * locale/programs/localedef.h: Likewise.
8809 * locale/programs/simple-hash.c: Likewise.
8810 * nscd/nscd.h: Likewise.
8811 * nss/makedb.c: Likewise.
8812 * sysdeps/generic/ldconfig.h: Likewise.
8813 * locale/programs/localedef.c: Remove xmalloc prototype.
8814 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8815
20b38e03
PP
88162012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8817
8818 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8819 appropriate.
8820
a0da5fe1
UD
88212012-01-08 Ulrich Drepper <drepper@gmail.com>
8822
1d5a644a 8823 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8824 * math/tst-CMPLX.c: New file.
1d5a644a 8825
8784a6db
UD
8826 * math/complex.h (CMPLXL): Fix typo.
8827
d9a216c0
UD
8828 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8829 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8830 GLIBC_2.16.
8831 * debug/tst-chk1.c: Add poll and ppoll tests.
8832 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8833 * include/sys/poll.h: Add hidden proto for ppoll.
8834 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8835 * sysdeps/mach/hurd/ppoll.c: Likewise.
8836 * io/ppoll.c: Likewise.
8837 * debug/poll_chk.c: New file.
8838 * debug/ppoll_chk.c: New file.
8839 * include/bits/poll2.h: New file.
8840 * io/bits/poll2.h: New file.
8841
ac097f5c
UD
8842 [BZ #1350]
8843 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8844
2119dcfa
UD
8845 * configure.in: static is always set to yes. Remove.
8846 * config.make.in: Don't set build-static.
8847 * Makeconfig: Remove use of build-static.
8848 * dlfcn/Makefile: Likewise.
8849 * elf/Makefile: Likewise.
8850 * math/Makefile: Likewise.
8851 * misc/Makefile: Likewise.
8852 * nptl/Makefile: Likewise.
8853 * sysdeps/mach/hurd/Makefile: Likewise.
8854
121766a9
UD
8855 * configure.in: PWD_P is not used anymore.
8856 * config.make.in: Remove PWD_P entry.
8857
51a1d39c 8858 * configure.in: Remove last remnants of RANLIB.
8720d066 8859 No need to check for signed size_t anymore.
215f4bdc
UD
8860 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8861 and IA-64.
3857022a 8862 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8863 * aclocal.m4: Likewise.
8864
d3ed7225
UD
8865 * wcsmbs/mbrtoc16.c: Implement using towc function.
8866 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8867 * wcsmbs/wcsmbsload.c: Likewise.
8868 * iconv/gconv_simple.c: Likewise.
8869 * iconv/gconv_int.h: Likewise.
8870 * iconv/gconv_builtin.h: Likewise.
8871 * iconv/iconv_prog.c: Remove CHAR16 handling.
8872
8873 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8874
8875 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8876
a0da5fe1
UD
8877 * configure.in: Remove --with-elf and --enable-bounded options.
8878 Dont set base_machine for ia64. More non-ELF conditions removed.
8879 Remove testing and setting of leading underscore information.
8880 * config.make.in (build-bounded): Set to no.
8881 * config.h.in: Remove NO_UNDERSCORES entry.
8882 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8883 them.
8884 * csu/start.c: Remove !NO_UNDERSCORE code.
8885 * locale/localeinfo.h: Likewise.
8886 * sysdeps/generic/machine-gmon.h: Likewise.
8887 * sysdeps/generic/sysdep.h: Likewise.
8888 * sysdeps/i386/sysdep.h: Likewise.
8889 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8890 * sysdeps/mach/sysdep.h: Likewise.
8891 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8892 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8893 * sysdeps/sh/sysdep.h: Likewise.
8894 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8895 * sysdeps/unix/i386/sysdep.S: Likewise.
8896 * sysdeps/unix/sparc/start.c: Likewise.
8897 * sysdeps/unix/sparc/sysdep.S: Likewise.
8898 * sysdeps/unix/sparc/sysdep.h: Likewise.
8899 * sysdeps/unix/start.c: Likewise.
8900 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8901 * sysdeps/x86_64/sysdep.h: Likewise.
8902
df78418a
UD
89032012-01-07 Ulrich Drepper <drepper@gmail.com>
8904
a784e502
UD
8905 [BZ #13553]
8906 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8907 for non-gcc.
8908 * argp/argp-fmtstream.h: Use const instead __const.
8909 * argp/argp.h: Likewise.
8910 * assert/assert.h: Likewise.
8911 * bits/fenv.h: Likewise.
8912 * bits/sched.h: Likewise.
8913 * bits/sigset.h: Likewise.
8914 * bits/sigthread.h: Likewise.
8915 * catgets/nl_types.h: Likewise.
8916 * conform/data/pthread.h-data: Likewise.
8917 * crypt/crypt-private.h: Likewise.
8918 * crypt/crypt.h: Likewise.
8919 * crypt/crypt_util.c: Likewise.
8920 * ctype/ctype.h: Likewise.
8921 * debug/execinfo.h: Likewise.
8922 * debug/mbsnrtowcs_chk.c: Likewise.
8923 * debug/mbsrtowcs_chk.c: Likewise.
8924 * debug/wcsnrtombs_chk.c: Likewise.
8925 * debug/wcsrtombs_chk.c: Likewise.
8926 * debug/wcstombs_chk.c: Likewise.
8927 * dirent/dirent.h: Likewise.
8928 * dlfcn/dlfcn.h: Likewise.
8929 * elf/neededtest4.c: Likewise.
8930 * grp/grp.h: Likewise.
8931 * gshadow/gshadow.h: Likewise.
8932 * iconv/gconv.h: Likewise.
8933 * iconv/gconv_int.h: Likewise.
8934 * iconv/gconv_simple.c: Likewise.
8935 * iconv/iconv.h: Likewise.
8936 * iconv/loop.c: Likewise.
8937 * iconv/skeleton.c: Likewise.
8938 * include/aio.h: Likewise.
8939 * include/aliases.h: Likewise.
8940 * include/argz.h: Likewise.
8941 * include/arpa/inet.h: Likewise.
8942 * include/assert.h: Likewise.
8943 * include/dirent.h: Likewise.
8944 * include/dlfcn.h: Likewise.
8945 * include/execinfo.h: Likewise.
8946 * include/fcntl.h: Likewise.
8947 * include/fenv.h: Likewise.
8948 * include/glob.h: Likewise.
8949 * include/grp.h: Likewise.
8950 * include/libintl.h: Likewise.
8951 * include/mntent.h: Likewise.
8952 * include/netdb.h: Likewise.
8953 * include/pwd.h: Likewise.
8954 * include/rpc/netdb.h: Likewise.
8955 * include/sched.h: Likewise.
8956 * include/search.h: Likewise.
8957 * include/shadow.h: Likewise.
8958 * include/signal.h: Likewise.
8959 * include/stdio.h: Likewise.
8960 * include/stdlib.h: Likewise.
8961 * include/string.h: Likewise.
8962 * include/sys/socket.h: Likewise.
8963 * include/sys/stat.h: Likewise.
8964 * include/sys/statfs.h: Likewise.
8965 * include/sys/statvfs.h: Likewise.
8966 * include/sys/syslog.h: Likewise.
8967 * include/sys/time.h: Likewise.
8968 * include/sys/uio.h: Likewise.
8969 * include/time.h: Likewise.
8970 * include/unistd.h: Likewise.
8971 * include/utmp.h: Likewise.
8972 * include/wchar.h: Likewise.
8973 * include/wctype.h: Likewise.
8974 * inet/aliases.h: Likewise.
8975 * inet/arpa/inet.h: Likewise.
8976 * inet/netinet/ether.h: Likewise.
8977 * inet/netinet/in.h: Likewise.
8978 * intl/libintl.h: Likewise.
8979 * io/bits/fcntl2.h: Likewise.
8980 * io/fcntl.h: Likewise.
8981 * io/ftw.h: Likewise.
8982 * io/sys/poll.h: Likewise.
8983 * io/sys/stat.h: Likewise.
8984 * io/sys/statfs.h: Likewise.
8985 * io/sys/statvfs.h: Likewise.
8986 * io/utime.h: Likewise.
8987 * libio/bits/stdio.h: Likewise.
8988 * libio/bits/stdio2.h: Likewise.
8989 * libio/libio.h: Likewise.
8990 * libio/libioP.h: Likewise.
8991 * libio/stdio.h: Likewise.
8992 * locale/lc-ctype.c: Likewise.
8993 * locale/locale.h: Likewise.
8994 * login/utmp.h: Likewise.
8995 * malloc/arena.c: Likewise.
8996 * malloc/malloc.c: Likewise.
8997 * malloc/malloc.h: Likewise.
8998 * malloc/mcheck.c: Likewise.
8999 * malloc/mtrace.c: Likewise.
9000 * math/bits/mathcalls.h: Likewise.
9001 * math/fenv.h: Likewise.
9002 * math/math_private.h: Likewise.
9003 * misc/bits/error.h: Likewise.
9004 * misc/bits/syslog.h: Likewise.
9005 * misc/err.h: Likewise.
9006 * misc/error.h: Likewise.
9007 * misc/fstab.h: Likewise.
9008 * misc/mntent.h: Likewise.
9009 * misc/regexp.h: Likewise.
9010 * misc/search.h: Likewise.
9011 * misc/sgtty.h: Likewise.
9012 * misc/sys/mman.h: Likewise.
9013 * misc/sys/syslog.h: Likewise.
9014 * misc/sys/uio.h: Likewise.
9015 * misc/sys/xattr.h: Likewise.
9016 * misc/ttyent.h: Likewise.
9017 * nis/rpcsvc/ypclnt.h: Likewise.
9018 * nss/nss.h: Likewise.
9019 * posix/bits/unistd.h: Likewise.
9020 * posix/fnmatch.h: Likewise.
9021 * posix/glob.h: Likewise.
9022 * posix/sched.h: Likewise.
9023 * posix/spawn.h: Likewise.
9024 * posix/sys/wait.h: Likewise.
9025 * posix/unistd.h: Likewise.
9026 * posix/wordexp.h: Likewise.
9027 * pwd/pwd.h: Likewise.
9028 * resolv/netdb.h: Likewise.
9029 * resource/sys/resource.h: Likewise.
9030 * rt/aio.h: Likewise.
9031 * rt/bits/mqueue2.h: Likewise.
9032 * rt/mqueue.h: Likewise.
9033 * shadow/shadow.h: Likewise.
9034 * signal/signal.h: Likewise.
9035 * socket/send.c: Likewise.
9036 * socket/sendto.c: Likewise.
9037 * socket/sys/socket.h: Likewise.
9038 * stdio-common/printf.h: Likewise.
9039 * stdlib/bits/stdlib.h: Likewise.
9040 * stdlib/fmtmsg.h: Likewise.
9041 * stdlib/monetary.h: Likewise.
9042 * stdlib/stdlib.h: Likewise.
9043 * stdlib/ucontext.h: Likewise.
9044 * streams/stropts.h: Likewise.
9045 * string/argz.h: Likewise.
9046 * string/bits/string2.h: Likewise.
9047 * string/string.h: Likewise.
9048 * string/strings.h: Likewise.
9049 * sunrpc/rpc/auth.h: Likewise.
9050 * sunrpc/rpc/auth_des.h: Likewise.
9051 * sunrpc/rpc/clnt.h: Likewise.
9052 * sunrpc/rpc/netdb.h: Likewise.
9053 * sunrpc/rpc/pmap_clnt.h: Likewise.
9054 * sunrpc/rpc/xdr.h: Likewise.
9055 * sysdeps/generic/inttypes.h: Likewise.
9056 * sysdeps/generic/net/if.h: Likewise.
9057 * sysdeps/generic/sys/swap.h: Likewise.
9058 * sysdeps/gnu/net/if.h: Likewise.
9059 * sysdeps/gnu/utmpx.h: Likewise.
9060 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
9061 * sysdeps/i386/i486/bits/string.h: Likewise.
9062 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
9063 * sysdeps/s390/bits/string.h: Likewise.
9064 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
9065 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
9066 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
9067 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
9068 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
9069 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
9070 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
9071 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
9072 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
9073 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
9074 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
9075 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
9076 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
9077 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
9078 * sysdeps/unix/sysv/linux/readv.c: Likewise.
9079 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
9080 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9081 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9083 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9084 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9085 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
9086 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
9087 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
9088 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
9089 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
9090 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
9091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9092 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
9093 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
9094 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
9095 * sysvipc/sys/ipc.h: Likewise.
9096 * sysvipc/sys/msg.h: Likewise.
9097 * sysvipc/sys/sem.h: Likewise.
9098 * sysvipc/sys/shm.h: Likewise.
9099 * termios/termios.h: Likewise.
9100 * time/sys/time.h: Likewise.
9101 * time/time.h: Likewise.
9102 * wcsmbs/bits/wchar2.h: Likewise.
9103 * wcsmbs/uchar.h: Likewise.
9104 * wcsmbs/wchar.h: Likewise.
9105 * wctype/wctype.h: Likewise.
9106
0269750c
UD
9107 [BZ #13551]
9108 * Makeconfig: Remove all but ELF support including AIX support.
9109 * Makerules: Likewise.
9110 * config.h.in: Likewise.
9111 * config.make.in: Likewise.
9112 * configure: Likewise.
9113 * configure.in: Likewise.
9114 * csu/Makefile: Likewise.
9115 * csu/version.c: Likewise.
9116 * debug/Makefile: Likewise.
9117 * dlfcn/Makefile: Likewise.
9118 * elf/Makefile: Likewise.
9119 * extra-lib.mk: Likewise.
9120 * iconv/Makefile: Likewise.
9121 * include/libc-symbols.h: Likewise.
9122 * include/shlib-compat.h: Likewise.
9123 * resolv/Makefile: Likewise.
9124 * resolv/res_libc.c: Likewise.
9125 * rt/Makefile: Likewise.
9126 * sysdeps/i386/asm-syntax.h: Likewise.
9127 * sysdeps/i386/sysdep.h: Likewise.
9128 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
9129 * sysdeps/mach/sysdep.h: Likewise.
9130 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
9131 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
9132 * sysdeps/s390/asm-syntax.h: Likewise.
9133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
9134 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9135 * sysdeps/sh/sysdep.h: Likewise.
9136 * sysdeps/unix/sparc/sysdep.h: Likewise.
9137 * sysdeps/wordsize-32/divdi3.c: Likewise.
9138 * sysdeps/x86_64/sysdep.h: Likewise.
9139
00bbd29b
UD
9140 * argp/Versions: Remove _argp_unlock_xxx.
9141
9142 [BZ #13559]
9143 * abilist/ld.abilist: Update. Adjust for removal of tls option.
9144 * abilist/libBrokenLocale.abilist: Likewise.
9145 * abilist/libanl.abilist: Likewise.
9146 * abilist/libc.abilist: Likewise.
9147 * abilist/libcrypt.abilist: Likewise.
9148 * abilist/libdl.abilist: Likewise.
9149 * abilist/libm.abilist: Likewise.
9150 * abilist/libnsl.abilist: Likewise.
9151 * abilist/libpthread.abilist: Likewise.
9152 * abilist/libresolv.abilist: Likewise.
9153 * abilist/librt.abilist: Likewise.
9154 * abilist/libthread_db.abilist: Likewise.
9155 * abilist/libutil.abilist: Likewise.
9156 * abilist/libnss_db.abilist: New file.
9157
9158 * scripts/abilist.awk: Add support for indirect functions.
9159
a2693a0e
UD
9160 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9161
3f05895f
UD
9162 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9163
ecb6fb48
UD
9164 * shlib-versions: Remove entries for ports architectures.
9165
664f8cb9
UD
9166 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9167 files in ports.
9168 * elf/stackguard-macros.h: Remove support for IA-64.
9169 * elf/tst-auditmod1.c: Likewise.
9170 * sysdeps/generic/ldsodefs.h: Likewise.
9171
7ae81d88
UD
9172 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9173 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9174 configure files.
9175
bdeba135
UD
9176 [BZ #13552]
9177 * configure.in: Remove --enable-omitfp support.
9178 * FAQ.in: Adjust.
9179 * config.make.in: Likewise.
9180 * Makeconfig: Likewise.
9181 * manual/install.texi: Likewise.
9182
d75a0a62
UD
9183 In case anyone cares, the IA-64 architecture could move to ports.
9184 * sysdeps/ia64/*: Removed.
9185 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 9186 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 9187
dcc9756b
UD
9188 [BZ #13555]
9189 * configure.in: Remove entries for unsupported architectures.
9190
d3761ebc 9191 [BZ #13533]
9954432e
UD
9192 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9193 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9194 routines.
9195 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9196 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9197 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9198 fall back to using wcrtomb.
9199 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9200 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9201 renaming.
9202 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9203 * wcsmbs/tst-c16c32-1.c: New file.
9204
9205 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9206 local variable.
9207
c3a87236
UD
9208 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9209
28926a1b
UD
9210 * elf/tst-unique3.cc: Add explicit declaration of gets.
9211 * elf/tst-unique3lib.cc: Likewise.
9212 * elf/tst-unique3lib2.cc: Likewise.
9213 * elf/tst-unique4.cc: Likewise.
9214
df78418a
UD
9215 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9216
8ecd6b2a
JM
92172012-01-06 Joseph Myers <joseph@codesourcery.com>
9218
9219 [BZ #13566]
9220 * assert/assert.h (static_assert): Don't define for C++.
9221 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9222 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9223
9f115170
UD
92242012-01-03 Ulrich Drepper <drepper@gmail.com>
9225
5e0d0300
UD
9226 * iconv/loop.c (single loop): Fix assertion in storing of
9227 remaining bytes.
9228
9f115170
UD
9229 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9230
81fb02b0
UD
92312012-01-01 Ulrich Drepper <drepper@gmail.com>
9232
9233 * posix/getconf.c: Update copyright year.
9234 * nss/getent.c: Likewise.
a316c1f6 9235 * nss/makedb.c: Likewise.
81fb02b0
UD
9236 * iconv/iconvconfig.c: Likewise.
9237 * iconv/iconv_prog.c: Likewise.
9238 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9239 * elf/pldd.c: Likewise.
9240 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9241 * catgets/gencat.c: Likewise.
9242 * csu/version.c: Likewise.
9243 * elf/ldd.bash.in: Likewise.
9244 * elf/sprof.c (print_version): Likewise.
9245 * locale/programs/locale.c: Likewise.
9246 * locale/programs/localedef.c: Likewise.
a316c1f6 9247 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9248 * nscd/nscd.c (print_version): Likewise.
9249 * debug/xtrace.sh: Likewise.
9250 * malloc/memusage.sh: Likewise.
9251 * malloc/mtrace.pl: Likewise.
9252 * debug/catchsegv.sh: Likewise.
9253
2ba92745
JJ
92542011-12-30 Jakub Jelinek <jakub@redhat.com>
9255
9256 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9257 pure attribute.
9258
dadebdae
UD
92592011-12-24 Ulrich Drepper <drepper@gmail.com>
9260
d3761ebc 9261 [BZ #13533]
db6af3eb
UD
9262 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9263 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9264 transformations.
9265 * iconv/gconv_int.h: Likewise.
9266 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9267 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9268 from libc for GLIBC_2.16.
9269 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9270 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9271 * wcsmbs/uchar.h: Really define mbstate_t.
9272 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9273 * wcsmbs/c16rtomb.c: New file.
9274 * wcsmbs/mbrtoc16.c: New file.
9275 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9276 for C/POSIX locale.
9277 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9278 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9279
dadebdae
UD
9280 * wcsmbs/wchar.h: Add missing __restrict.
9281
67371b56
UD
92822011-12-23 Ulrich Drepper <drepper@gmail.com>
9283
74033a25
UD
9284 [BZ #13532]
9285 * time/Makefile (routines): Add timespec_get.
9286 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9287 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9288 timespec for ISO C11.
9289 * time/timespec_get.c: New file.
9290 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9291 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9292
380d7e87
UD
9293 [BZ #13531]
9294 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9295 * stdlib/stdlib.h: Declare aligned_alloc.
9296 * Versions.def: Add GLIBC_2.16 for libc.
9297 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9298
4e9e7a35
UD
9299 [BZ 13527]
9300 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9301 ISO C11.
9302
380d7e87 9303 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9304 code.
9305
03a71829
UD
9306 [BZ #13528]
9307 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9308
839e283e
UD
9309 [BZ #13529]
9310 * assert/assert.h (static_assert): Define.
9311
ce5294e2 9312 * version.h: Update for 2.16 development version.
90fa7312 9313
8d44e150 9314 [BZ #13526]
d7809905
UD
9315 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9316 _ISOC11_SOURCE.
9317
c0da14cd
UD
9318 * version.h (RELEASE): Bump for 2.15 release.
9319 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9320
530a3249
MP
9321 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9322 Patch by Marek Polacek <mpolacek@redhat.com>.
9323
67371b56
UD
9324 * bits/byteswap.h: Protect long long constants with __extension__.
9325 * sysdeps/i386/bits/byteswap.h: Likewise.
9326 * sysdeps/ia64/bits/byteswap.h: Likewise.
9327 * sysdeps/s390/bits/byteswap.h: Likewise.
9328 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9329
15db4de1
LD
93302011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9331
9332 [BZ #13540]
bbe315ea
LD
9333 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9334 destination buffer.
15db4de1
LD
9335 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9336
2b2596b1
MP
93372011-12-23 Marek Polacek <polacek@redhat.com>
9338
9339 * elf/dl-addr.c (determine_info): Add inline keyword.
9340 * elf/tst-auditmod4b.c (check_avx): Likewise.
9341 * elf/tst-auditmod6b.c (check_avx): Likewise.
9342 * elf/tst-auditmod6c.c (check_avx): Likewise.
9343 * elf/tst-auditmod7b.c (check_avx): Likewise.
9344
70c6c246
UD
93452011-12-23 Ulrich Drepper <drepper@gmail.com>
9346
9347 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9348 !__SSE_MATH__.
9349
c044cf14
LD
93502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9351
15db4de1 9352 [BZ #13540]
c044cf14
LD
9353 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9354 processing for last bytes.
9355
6b13d9d9
BH
93562011-08-06 Bruno Haible <bruno@clisp.org>
9357
d455f537
BH
9358 [BZ #13061]
9359 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9360 U+0385, not to U+1FEE.
9361
6b13d9d9
BH
9362 [BZ #13062]
9363 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9364 entry for U+00A5 U+0301.
9365
db910efd
UD
93662011-12-22 Ulrich Drepper <drepper@gmail.com>
9367
27deeafc
UD
9368 [BZ #13166]
9369 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9370 buffer for the output is too small.
9371
aed9d171
UD
9372 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9373 optimization.
9374
db910efd
UD
9375 [BZ #13185]
9376 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9377 SSE flags if possible.
9378
2bd779ae
LD
93792011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9380
e7f9dac3 9381 [BZ #13540]
2bd779ae
LD
9382 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9383 processing for last bytes.
9384
154bfc16
JM
93852011-12-22 Joseph Myers <joseph@codesourcery.com>
9386
9387 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9388 (syscall-list-default-options, syscall-list-default-condition)
9389 (syscall-list-includes): Define.
9390 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9391 list of ABIs and options and #if conditions for each ABI. Do not
9392 handle common syscalls between ABIs specially.
9393 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9394 Remove.
9395 (syscall-list-variants, syscall-list-32bit-options)
9396 (syscall-list-32bit-condition, syscall-list-64bit-options)
9397 (syscall-list-64bit-condition): Define.
9398 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9399 (syscall-list-variants, syscall-list-32bit-options)
9400 (syscall-list-32bit-condition, syscall-list-64bit-options)
9401 (syscall-list-64bit-condition): Define.
9402 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9403 Remove.
9404 (syscall-list-variants, syscall-list-32bit-options)
9405 (syscall-list-32bit-condition, syscall-list-64bit-options)
9406 (syscall-list-64bit-condition): Define.
9407 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9408 Remove.
9409 (syscall-list-variants, syscall-list-32bit-options)
9410 (syscall-list-32bit-condition, syscall-list-64bit-options)
9411 (syscall-list-64bit-condition): Define.
9412
21eaf3a5
UD
94132011-12-22 Ulrich Drepper <drepper@gmail.com>
9414
16c6f992
UD
9415 * locale/iso-639.def: Add brx entry.
9416
41043168
UD
9417 [BZ #13328]
9418 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9419 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9420
21eaf3a5
UD
9421 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9422 __feraiseexcept_renamed.
9423
e3a851a2
UD
94242011-12-21 Ulrich Drepper <drepper@gmail.com>
9425
4920765e
UD
9426 [BZ #13538]
9427 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9428 EPOLLET with unsigned values.
9429 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9430 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9431
e3a851a2
UD
9432 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9433 to large cancellation.
9434 * math/s_cacoshf.c: Likewise.
9435 * math/s_cacoshl.c: Likewise.
9436
b27e24b8
RK
94372011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9438
9439 [BZ #13305]
aebefeee 9440 [BZ #12786]
b27e24b8
RK
9441 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9442 * math/s_cacoshf.c: Likewise.
9443 * math/s_cacoshl.c: Likewise.
9444
ee190f67
UD
94452011-12-21 Ulrich Drepper <drepper@gmail.com>
9446
9447 [BZ #13439]
9448 * iconv/gconv.h: Define __GCONV_SWAP.
9449 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9450 * iconvdata/utf-16.c: Likewise.
9451 * iconvdata/utf-32.c: Likewise.
9452
707f25df
AS
94532011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9454
9455 [BZ #13524]
9456 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9457 numerator after shifting it by one limb.
9458
d2daaa1e
RÁE
94592011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9460
9461 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9462 under [__USE_EXTERN_INLINES].
9463
a4647e72
UD
94642011-12-17 Ulrich Drepper <drepper@gmail.com>
9465
9466 [BZ #13446]
9467 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9468
f0b264f1
AZ
94692011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9470
9471 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9472 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9473 optimized code.
9474 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9475 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9476 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9477 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9478 for strncasecmp/strncasecmp_l compilation.
9479 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9480 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9481
8ef4f244
MP
94822011-12-08 Marek Polacek <mpolacek@redhat.com>
9483
9484 [BZ #13484]
9485 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9486 of __asm__.
9487
97ac2654
UD
94882011-12-17 Ulrich Drepper <drepper@gmail.com>
9489
9490 [BZ #13506]
9491 * time/tzfile.c (__tzfile_read): Check values from file header.
9492
91d2a845
WS
94932011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9494
9495 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9496 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9497 * powerpc/powerpc32/dl-start.S: Likewise.
9498 * powerpc/powerpc32/elf/start.S: Likewise.
9499 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9500 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9501 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9502 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9503 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9504 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9505 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9506 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9507 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9508 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9509 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9510 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9511 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9512 * powerpc/powerpc32/memset.S: Likewise.
9513 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9514 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9515 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9516 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9517 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9518 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9519 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9520 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9521 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9522 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9523 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9524 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9525 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9526
a1267ba1
AZ
95272011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9528
9529 * math/libm-test.inc: Added more nearbyint tests.
9530 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9531 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9532 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9533 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9534
ad8ac1bd
RL
95352011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9536
9537 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9538 FD_CLOEXEC.
9539
1d3e4b61
UD
95402011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9541
9542 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9543 Add wcscpy-ssse3 wcscpy-c.
9544 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9545 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9546 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9547 * sysdeps/x86_64/wcschr.S: New file.
9548 * sysdeps/x86_64/wcsrchr.S: New file.
9549 * string/test-strcmp.c: Remove checking of wcscmp function for
9550 wrong alignments.
9551 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9552 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9553 wcsrchr-sse2 wcsrchr-c.
9554 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9555 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9556 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9557 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9558 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9559 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9560 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9561 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9562 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9563 * wcsmbc/wcschr.c (WCSCHR): New macro.
9564
5b330a2d
UD
95652011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9566
9567 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9568 * wcsmbs/test-wcsrchr.c: New file.
9569 * string/test-strrchr.c: Add wcsrchr support.
9570 (WIDE): New macro.
9571 * wcsmbs/test-wcscpy.c: New file.
9572 * string/test-strcpy.c: Add wcscpy support.
9573 (WIDE): New macro.
26428b7c 9574
f039c043
UD
95752011-12-10 Ulrich Drepper <drepper@gmail.com>
9576
9577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9578 the inner loop.
9579
850fb039
AS
95802011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9581
9582 [BZ #13472]
9583 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9584
4efbd5cb
UD
95852011-12-04 Ulrich Drepper <drepper@gmail.com>
9586
52ff5dd0 9587 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9588 Minor optimizations.
52ff5dd0 9589
4efbd5cb
UD
9590 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9591 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9592 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9593
8a426e12
UD
95942011-12-03 Ulrich Drepper <drepper@gmail.com>
9595
aff2453d
UD
9596 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9597 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9598 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9599 for gcc to avoid warnings.
9600 * inet/Makefile (tests): Add tst-checks.
9601 * inet/tst-checks.c: New file.
9602
9603 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9604 warning.
9605
9606 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9607 __wmemcmp_sse2.
9608
9609 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9610 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9611
8a426e12
UD
9612 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9613
9bea3473
UD
96142011-12-02 Ulrich Drepper <drepper@gmail.com>
9615
3a965496
UD
9616 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9617 problem.
9618
9bea3473
UD
9619 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9620
f101631b
UD
96212011-11-29 Joseph Myers <joseph@codesourcery.com>
9622
9623 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9624 conditional on GCC version.
9625 (__arch_compare_and_exchange_val_8_acq)
9626 (__arch_compare_and_exchange_val_16_acq)
9627 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9628 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9629 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9630
a98275aa
UD
96312011-12-02 Joseph Myers <joseph@codesourcery.com>
9632
9633 * sysdeps/sh/backtrace.c: New file.
9634
d4cc29a2
AS
96352011-12-02 Andreas Schwab <schwab@redhat.com>
9636
9637 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9638 parenthesis.
9639
6257af2d
AS
96402011-12-01 Andreas Schwab <schwab@redhat.com>
9641
9642 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9643 falling back to utime.
9644
b5f44c1a
AS
96452011-11-30 Andreas Schwab <schwab@redhat.com>
9646
9647 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9648 expectations for float.
9649
f3a6cc0a
AS
96502011-11-29 Andreas Schwab <schwab@redhat.com>
9651
9652 * locale/weight.h (findidx): Add parameter len.
9653 * locale/weightwc.h (findidx): Likewise.
9654 * posix/fnmatch_loop.c (FCT): Adjust caller.
9655 * posix/regcomp.c (build_equiv_class): Likewise.
9656 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9657 * posix/regexec.c (check_node_accept_bytes): Likewise.
9658 * string/strcoll_l.c (STRCOLL): Likewise.
9659 * string/strxfrm_l.c (STRXFRM): Likewise.
9660
9d65ea3a
UD
96612011-11-17 Ulrich Drepper <drepper@gmail.com>
9662
9663 * Makefile.in: Remove CVSOPT handling.
9664 * configure.in: Remove use of AC_REVISION.
9665 * iconvdata/Makefile (distribute): No need to filter out CVS.
9666 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9667 handling.
9668
5583a086
AS
96692011-11-16 Andreas Schwab <schwab@redhat.com>
9670
9671 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9672 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9673 [USE_AS_STRNCASECMP_L]: Likewise.
9674 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9675 NO_TLS_DIRECT_SEG_REFS.
9676 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9677 Fix argument offsets for non-PIC.
9678 [USE_AS_STRNCASECMP_L]: Likewise.
9679 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9680 NO_TLS_DIRECT_SEG_REFS.
9681
d62a8200
UD
96822011-11-15 Ulrich Drepper <drepper@gmail.com>
9683
9d65ea3a 9684 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9685 O_CLOEXEC.
9686 * locale/loadlocale.c (_nl_load_locale): Likewise.
9687
09f93bd3
AS
96882011-11-15 Andreas Schwab <schwab@redhat.com>
9689
446514f9
AS
9690 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9691 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9692 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9693 (SYSCALL_GETTIME): Set errno on error.
9694
09f93bd3
AS
9695 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9696 count references to noai6ai_cached.
9697
312be3f9
UD
96982011-11-15 Ulrich Drepper <drepper@gmail.com>
9699
9700 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9701
9702 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9703 FD_CLOEXEC for /proc/self/maps.
9704
9705 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9706 FD_CLOEXEC for /proc/meminfo.
9707
9708 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9709 gai.conf.
9710
9711 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9712 FD_CLOEXEC for given file.
9713
9714 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9715
9716 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9717 FD_CLOEXEC for /etc/hosts.
9718 (_gethtent): Likewise.
9719
9720 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9721
9722 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9723 cancellation and set FD_CLOEXEC for /etc/netgroup.
9724
9725 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9726 reading /etc/publickey.
9727
9728 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9729 allow cancellation when reading /etc/group.
9730
9731 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9732 cancellation.
9733 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9734
9735 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9736 when using data file.
9737
9738 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9739
9740 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9741 (write_nis_obj): Use "c" and "e" in fopen.
9742
9743 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9744
9745 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9746
9747 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9748
9749 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9750
9751 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9752 locale.alias.
9753
9754 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9755
9756 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9757
9758 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9759
9760 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9761 file parsing and set FD_CLOEXEC.
9762
82af0fa8
UD
97632011-11-14 Ulrich Drepper <drepper@gmail.com>
9764
9765 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9766
a5fb313c
AS
97672011-11-14 Andreas Schwab <schwab@redhat.com>
9768
9769 * malloc/arena.c (arena_get2): Don't call reused_arena when
9770 _int_new_arena failed.
9771
6abf3465
UD
97722011-11-14 Ulrich Drepper <drepper@gmail.com>
9773
9774 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9775 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9776 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9777 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9778 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9780 to compile strcasecmp and strncasecmp.
9781 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9782 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9783
9784 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9785
76e3966e
UD
97862011-11-13 Ulrich Drepper <drepper@gmail.com>
9787
9788 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9789 locale-defines.sym to gen-as-const-headers.
9790 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9791 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9793 to compile strcasecmp and strncasecmp.
9794 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9795 strcasecmp_l and strncasecmp_l.
9796 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9797 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9798 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9799 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9800 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9801 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9802 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9803 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9804 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9805 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9806 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9807
ab26144e
UD
98082011-11-12 Ulrich Drepper <drepper@gmail.com>
9809
7edb22ef
UD
9810 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9811 result of SYSDEP_GETTIME_CPU to retval.
9812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9813 parameter list to macro. Remove trailing semicolon. Adjust users.
9814
9694fc44
UD
9815 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9816 variable.
9817
8ad89ef8
UD
9818 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9819 mantissa words.
9820 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9821
0c822ef9
UD
9822 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9823 from unused variable.
9824
874e0564
UD
9825 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9826 DWARF definitions.
9827 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9828 for assembling.
9829
3a2edc79
UD
9830 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9831 over namespaces.
9832
f3c2577f
UD
9833 * sunrpc/rpc_prot.c (rejected): Fix case value.
9834
294ce126
UD
9835 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9836 unsigned long long int to avoid warnings in shift.
9837
5e2b63c6
UD
9838 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9839 of use of trans.
9840 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9841 variable tmp.
9842
e7f4b08e
UD
9843 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9844 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9845 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9846
ab26144e
UD
9847 * nis/nis_table.c (nis_list): Use variable of correct type for
9848 result of __follow_path call.
9849
8a6d5255
AZ
98502011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9851
9852 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9853 of math functions ceil, trunc, floor, round, and sqrt, when
9854 avaliable on the platform.
9855 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9856 name clash.
9857 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9858 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9859 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9860
aaddc98c
MP
98612011-10-30 Marek Polacek <mpolacek@redhat.com>
9862
9863 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9864 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9865
95b7042b
RM
98662011-11-11 Roland McGrath <roland@hack.frob.com>
9867
9868 * include/unistd.h: Fix __readlink return type.
9869 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9870
57769839
UD
98712011-11-11 Ulrich Drepper <drepper@gmail.com>
9872
9873 * stdlib/ucontext.h: Undo last change for makecontext.
9874
edc5984d
AS
98752011-11-11 Andreas Schwab <schwab@redhat.com>
9876
98591e58
AS
9877 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9878
edc5984d
AS
9879 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9880 * setjmp/setjmp.h: Mark functions as non-leaf.
9881 * setjmp/bits/setjmp2.h: Likewise.
9882 * stdlib/ucontext.h: Likewise.
9883
77cdc054
AS
98842011-11-10 Andreas Schwab <schwab@redhat.com>
9885
9886 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9887 (reused_arena): Don't check arena limit.
9888 (arena_get2): Atomically check arena limit.
9889
fe72eebd
UD
98902011-11-08 Ulrich Drepper <drepper@gmail.com>
9891
5f078c32
UD
9892 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9893 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9894
fe72eebd
UD
9895 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9896 instructions.
9897
ae1bc2fa
AS
98982011-11-07 Andreas Schwab <schwab@redhat.com>
9899
7583a88d
AS
9900 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9901 handler when locking.
9902
ae1bc2fa
AS
9903 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9904 Fix size of allocated buffer.
9905
10fb0bfa
AS
99062011-11-04 Andreas Schwab <schwab@redhat.com>
9907
998832a4
AS
9908 [BZ #10103]
9909 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9910 declarations for long double functions.
9911 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9912
10fb0bfa
AS
9913 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9914
3d7ba52b
AS
99152011-11-03 Andreas Schwab <schwab@redhat.com>
9916
a9ae54a1
AS
9917 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9918 installed.
9919
3d7ba52b
AS
9920 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9921 is disabled.
9922
bc8db248
ST
99232011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9924
9925 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9926
45b96dd6
AS
99272011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9928
647776f6
AS
9929 * include/alloca.h (stackinfo_alloca_round): Define.
9930 (extend_alloca): Use it.
9931 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9932 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9933 here.
9934
d91a8b93
AS
9935 * scripts/check-local-headers.sh: Ignore libaudit.h.
9936
45b96dd6
AS
9937 * nscd/Makefile (extra-objs): Make recursively expanded.
9938
432d41ce
UD
99392011-11-01 Ulrich Drepper <drepper@gmail.com>
9940
34372fc6
UD
9941 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9942 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9943
fadb59f8
UD
9944 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9945 * posix/tst-rfc3484-2.c: Likewise.
9946 * posix/tst-rfc3484-3.c: Likewise.
9947
78239589
UD
9948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9949 process_vm_writev.
9950 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9951 process_vm_writev.
9952 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9953 process_vm_writev from libc using GLIBC_2.15 version.
9954
432d41ce
UD
9955 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9956
02f9c6cf
PP
99572011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9958
9959 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9960 stack usage.
9961
3a2c0242
UD
99622011-10-31 Ulrich Drepper <drepper@gmail.com>
9963
f4ec4833
UD
9964 [BZ #13367]
9965 * nss/getent.c (initgroups_keys): Show error message in case no group
9966 names are given.
9967
3a2c0242
UD
9968 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9969 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9970 __bump_nl_timestamp.
9971 * nscd/connections (nscd_init): When host database is served open
9972 netlink socket and request notification about configuration changes.
9973 (main_loop_poll): Track netlink file descriptor and bump timestamp
9974 in case data becomes available.
9975 (main_loop_epoll): Likewise.
9976 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9977 (database_pers_head): Add extra_data fileds.
9978 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9980 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9981 Adjust caller.
9982 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9983 in6ai data, call __free_in6ai.
9984 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9985 Add -DHAVE_NETLINK.
9986 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9987 interface information. Reuse previous data if netlink timestamp
9988 is not changed.
9989 (__bump_nl_timestamp): New function.
9990 (__free_in6ai): New function.
9991
636064eb
UD
99922011-10-30 Ulrich Drepper <drepper@gmail.com>
9993
9994 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9995 close_not_cancel_no_status here.
9996 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9997
9beb2334
UD
99982011-10-29 Ulrich Drepper <drepper@gmail.com>
9999
6ef76f3b
UD
10000 [BZ #13276]
10001 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
10002 return value.
10003
0ffc4f3e 10004 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
10005 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
10006 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
10007
cb95113e
UD
100082011-07-03 Andreas Jaeger <aj@suse.de>
10009
10010 [BZ #10709]
10011 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
10012 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
10013 * math/libm-test.inc (sin_test): Add test case.
10014
a1b560ff
UD
100152011-10-29 Ulrich Drepper <drepper@gmail.com>
10016
c9aaface
UD
10017 [BZ #13337]
10018 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
10019 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10020
d272e7f1
UD
10021 * elf/chroot_canon.c (chroot_canon): Cleanups.
10022
1bc33071
UD
10023 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
10024
1760874d
TJ
10025 [BZ #13335]
10026 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
10027 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
10028
51d91b18
UD
10029 * string/test-strchr.c: Make usable for strchrnul testing.
10030 * string/test-strchrnul.c: New file.
10031 * string/Makefile (strop-tests): Add strchrnul.
10032
a1b560ff 10033 * po/it.po: Update from translation team.
b611fb81 10034 * po/es.po: Likewise.
a1b560ff 10035
a5b81e1f
UD
100362011-10-28 Ulrich Drepper <drepper@gmail.com>
10037
fd52bc6d
UD
10038 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
10039 the three constants needed as parameters. Drop the others.
10040 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
10041 __m128i_strloadu_tolower.
52e4b9eb
UD
10042 Create and initialize variable zero and use it in all the places
10043 where _mm_setzero_si128 was used.
fd52bc6d 10044
a5b81e1f
UD
10045 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
10046 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
10047 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
10048 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
10049 anymore.
10050 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
10051 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
10052 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
10053 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
10054 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
10055 __mpranred, __mptan.
10056 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
10057 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
10058 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
10059 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
10060 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
10061 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
10062 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
10063 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
10064 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
10065
b4343346
AS
100662011-10-28 Andreas Schwab <schwab@redhat.com>
10067
0c92d8a8
AS
10068 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
10069 redefine if SHARED.
10070 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
10071
b4343346
AS
10072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
10073 wide char related routines to wcsmbs subdir.
10074
3871f58f
AS
100752011-10-27 Andreas Schwab <schwab@redhat.com>
10076
10077 [BZ #13344]
10078 * misc/sys/cdefs.h (__THROWNL): Define.
10079 * posix/unistd.h: Use __THREADNL instead of __THREAD
10080 for memory synchronization functions.
10081
94d44d9f
RM
100822011-10-26 Roland McGrath <roland@hack.frob.com>
10083
21b64b15 10084 [BZ #13349]
94d44d9f
RM
10085 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
10086 doesn't exist.
10087 * manual/stdio.texi (Obstack Streams): Node removed.
10088
f6ce9294
AS
100892011-10-26 Andreas Schwab <schwab@redhat.com>
10090
80479147
AS
10091 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
10092 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10093 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10094
f6ce9294
AS
10095 * math/math_private.h (math_force_eval): Allow non-addressable
10096 arguments.
10097 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
10098
618280a1
UD
100992011-10-25 Ulrich Drepper <drepper@gmail.com>
10100
e0016b11
UD
10101 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
10102 file is not needed.
10103
10104 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
10105 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10106 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10107 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10108 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10109 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10110 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10111 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
10112 Add AVX variants.
10113 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
10114 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
10115 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
10116 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
10117 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
10118 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
10119 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
10120 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
10121 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
10122 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
10123 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
10124 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
10125 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
10126 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
10127 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
10128 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
10129 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
10130 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
10131 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
10132
10133 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
10134 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
10135
618280a1
UD
10136 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
10137 place. Use VEX encoding when compiling for AVX.
10138
37822576
AS
101392011-10-25 Andreas Schwab <schwab@redhat.com>
10140
1f1e1947
AS
10141 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
10142 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
10143
37822576
AS
10144 * string/test-strchr.c (do_test): Don't generate NUL bytes.
10145
31ea014d
UD
101462011-10-25 Ulrich Drepper <drepper@gmail.com>
10147
d7826aa1 10148 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 10149 useless if() expression.
d7826aa1
UD
10150 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10159 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10160 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10161 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10162 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10163 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10164 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10167 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10168 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10169
31ea014d
UD
10170 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10171
16437fec
AS
101722011-10-25 Andreas Schwab <schwab@redhat.com>
10173
10174 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10175 condition.
10176 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10177
31d3cc00
UD
101782011-10-25 Ulrich Drepper <drepper@gmail.com>
10179
10180 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10181 .text section. Avoid duplicate constants.
10182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10189 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10190 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10192 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10194 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10198 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10199 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10202 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10203 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10204 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10205 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10206 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10207 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10208 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10209 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10210 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10211 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10212 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10213 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10214 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10215 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10216 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10217 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10218 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10219 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10220 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10221 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10222 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10223 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10224 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10225 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10227
58985aa9
UD
102282011-10-24 Ulrich Drepper <drepper@gmail.com>
10229
202c9deb
UD
10230 * sysdeps/x86_64/dla.h: Move to ...
10231 * sysdeps/x86_64/fpu/dla.h: ...here.
10232 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10233 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10234
af968f62
UD
10235 * config.make.in: Add have-mfma4 entry.
10236 * configure.in: Substitute libc_cv_cc_fma4.
10237 * math/Makefile (dbl-only-routines): Add sincostab.
10238 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10239 Use __sincostab not sincos.
10240 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10241 name is a macro.
10242 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10243 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10244 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10246 using __copysign.
10247 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10248 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10249 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10250 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10251 and __inv.
10252 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10253 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10254 __copysign.
10255 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10256 define aliases when function name is a macro.
10257 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10258 sysdeps/ieee754/dbl-64/sincos.tbl.
10259 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10260 fma4-enabled routines.
10261 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10262 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10263 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10264 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10265 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10266 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10267 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10268 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10269 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10270 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10271 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10272 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10273 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10274 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10275 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10276 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10277 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10278 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10279 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10280 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10281 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10282 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10284 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10285 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10286 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10288 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10289 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10290 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10291
58985aa9
UD
10292 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10293 rename.
10294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10295 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10296 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10298 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10299 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10300 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10301 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10302
a201fbcf
AS
103032011-10-24 Andreas Schwab <schwab@redhat.com>
10304
10305 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10306
fc2ee42a
LD
103072011-10-23 Ulrich Drepper <drepper@gmail.com>
10308
bb3129bd
UD
10309 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10310
0275fff8
UD
10311 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10312 prediction.
10313 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10314
2fa2ae85
UD
10315 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10316 Remove unused variable magic_bits.
10317 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10318
fc2ee42a
LD
10319 * string/strnlen.c: Define and use STRNLEN macro.
10320 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10321 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10323 * wcsmbs/wcslen.c: Define and use WCSLEN.
10324 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10325 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10326 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10327 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10328 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10329 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10330 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10331
ce7dd29f
LD
103322011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10333
10334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10335 strnlen-sse2-no-bsf.
10336 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10337 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10338 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10339 Add strnlen support.
10340 (USE_AS_STRNLEN): New macro.
10341 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10342 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10343 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10344 * sysdeps/x86_64/wcslen.S: New file.
10345
979c70a3
MZ
103462011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10347
10348 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10349 XMM-moves are used for copying on small sizes.
10350
2d09f82f
LD
103512011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10352
10353 * wcsmbs/Makefile (strop-tests): Add wcschr.
10354 * wcsmbs/test-wcschr.c: New file.
10355 * string/test-strchr.c: Update.
10356 Add wcschr support.
10357 (WIDE): New macro.
10358
619fccca
LD
103592011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10360
2d09f82f 10361 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10362 * wcsmbs/test-wcslen.c: New file.
10363 * string/test-strlen.c: Update.
10364 Add wcslen support.
10365 (WIDE): New macro.
10366
09f699ea
UD
103672011-10-23 Ulrich Drepper <drepper@gmail.com>
10368
10369 * po/it.po: Update from translation team.
10370
95584d3b
LD
103712011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10372
10373 * sysdeps/x86_64/wcscmp.S: Update.
10374 Fix wrong comparison semantics.
10375 wcscmp shall use signed comparison not unsigned.
10376 Don't use substraction to avoid overflow bug.
10377 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10378 * wcsmbc/wcscmp.c: Likewise.
10379 * string/test-strcmp.c: Likewise.
10380 Add new tests to check cases with negative values.
10381
c8b3296b
UD
103822011-10-23 Ulrich Drepper <drepper@gmail.com>
10383
10384 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10385 * sysdeps/x86_64/dla.h: ...here. New file.
10386 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10391 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10395
246ad57a
AS
103962011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10397
10398 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10399 __ynl_finite aliases.
10400
a1a87169
UD
104012011-10-22 Ulrich Drepper <drepper@gmail.com>
10402
0d355eb7
UD
10403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10404
a1a87169
UD
10405 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10406 define DLA_FMA.
10407 [DLA_FMA] (EMULV): Use DLA_FMA.
10408 [DLA_FMA] (MUL12): Use EMULV.
10409 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10410 that are not needed.
10411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10418
ee2aafe0
AS
104192011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10420
10421 * math/s_nan.c: Undef __nan.
10422 * math/s_nanf.c: Undef __nanf.
10423 * math/s_nanl.c: Undef __nanl.
10424 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10425 "math_private.h".
10426
bc62c2fb
UD
104272011-10-22 Ulrich Drepper <drepper@gmail.com>
10428
77425c63
UD
10429 * math/s_catan.c: Add branch predictions.
10430 * math/s_catanf.c: Likewise.
10431 * math/s_catanh.c: Likewise.
10432 * math/s_catanhf.c: Likewise.
10433 * math/s_catanhl.c: Likewise.
10434 * math/s_catanl.c: Likewise.
10435 * math/s_cexp.c: Likewise.
10436 * math/s_cexpf.c: Likewise.
10437 * math/s_cexpl.c: Likewise.
10438 * math/s_clog.c: Likewise.
10439 * math/s_clog10.c: Likewise.
10440 * math/s_clog10f.c: Likewise.
10441 * math/s_clog10l.c: Likewise.
10442 * math/s_clogf.c: Likewise.
10443 * math/s_clogl.c: Likewise.
10444 * math/s_csqrt.c: Likewise.
10445 * math/s_csqrtf.c: Likewise.
10446 * math/s_csqrtl.c: Likewise.
10447 * math/s_ctanf.c: Likewise.
10448 * math/s_ctanh.c: Likewise.
10449 * math/s_ctanhf.c: Likewise.
10450 * math/s_ctanhl.c: Likewise.
10451 * math/s_ctanl.c: Likewise.
10452
bc62c2fb
UD
10453 * math/math_private.h: Define __nan, __nanf, __nanl.
10454 * math/s_cacosh.c: Include <math_private.h>.
10455 * math/s_cacoshl.c: Likewise.
10456 * math/s_casinh.c: Likewise.
10457 * math/s_casinhf.c: Likewise.
10458 * math/s_casinhl.c: Likewise.
10459 * math/s_ccos.c: Rely entire on ccosh.
10460 * math/s_ccosf.c: Rely entire on ccoshf.
10461 * math/s_ccosl.c: Rely entirely on ccoshl.
10462 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10463 Remove tests for FE_INVALID.
10464 * math/s_ccoshf.c: Likewise.
10465 * math/s_ccoshl.c: Likewise.
10466 * math/s_csin.c: Likewise.
10467 * math/s_csinf.c: Likewise.
10468 * math/s_csinh.c Likewise.
10469 * math/s_csinhf.c: Likewise.
10470 * math/s_csinhl.c: Likewise.
10471 * math/s_csinl.c: Likewise.
10472 * math/s_ctan.c: Likewise.
10473 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10474 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10475 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10476
8ec250a4
UD
104772011-10-21 Ulrich Drepper <drepper@gmail.com>
10478
c196fed8
UD
10479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10480 compilation problems.
10481
8ec250a4
UD
10482 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10483 __builtin_expect.
10484
8d4f46c6
UD
104852011-10-20 Ulrich Drepper <drepper@gmail.com>
10486
ed72b654
UD
10487 * sysdeps/i386/configure.in: Test for -mfma4 option.
10488 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10489 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10490 COMMON_CPUID_INDEX_80000001.
10491 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10492 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10493 use it if FMA3 is not supported.
10494 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10495
8d4f46c6
UD
10496 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10497 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10498
d45c60c2
AS
104992011-10-20 Andreas Schwab <schwab@redhat.com>
10500
10501 [BZ #12892]
10502 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10503 it would create a cycle with a link time dependency.
10504
d9a4d2ab
UD
105052011-10-19 Ulrich Drepper <drepper@gmail.com>
10506
855d1560
UD
10507 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10508 instruction.
10509 * string/Makefile (strop-tests): Add rawmemchr.
10510 * string/test-rawmemchr.c: New file.
10511
d9a4d2ab
UD
10512 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10513 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10514 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10515 when compiling str{,n}casecmp and when AVX is available. Hook up
10516 new optimized code in initializers.
10517
8f3b1ffe
AS
105182011-10-19 Andreas Schwab <schwab@redhat.com>
10519
10520 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10521 __feraiseexcept instead of feraiseexcept.
10522
d38f1dba
UD
105232011-10-18 Ulrich Drepper <drepper@gmail.com>
10524
d9a8d0ab
UD
10525 * math/math_private.h: Define defaults for libc_fetestexcept and
10526 libc_feupdateenv.
10527 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10528 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10529 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10530 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10531 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10532 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10533 libc_fetestexcept and libc_feupdateenv.
10534
4855e3dd
UD
10535 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10536 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10537 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10538 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10539 libc_feholdexcept_setround.
10540
581d30e3
UD
10541 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10542 Add s_nearbyint-c and s_nearbyintf-c.
10543 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10544 nearbyintf inlines.
10545 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10546 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10547 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10548 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10549
d38f1dba
UD
10550 * math/math_private.h: Define defaults for libc_fegetround,
10551 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10552 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10553 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10554 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10555 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10556 standard functions.
10557 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10558 Remove comments and hacks for old compiler versions.
10559 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10560 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10561 libc_feholdexceptl.
10562
caa6c9d8
AS
105632011-10-18 Andreas Schwab <schwab@redhat.com>
10564
10565 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10566 (__feraiseexcept_renamed): Add __NTH.
10567 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10568 namespace violations.
10569
97c066e6
UD
105702011-10-17 Ulrich Drepper <drepper@gmail.com>
10571
99ce7b04
UD
10572 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10573
1004d182
UD
10574 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10575
228a984d
UD
10576 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10577 recently added interfaces.
10578 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10579
c8553a6a
UD
10580 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10581 about macro parameter expansion.
10582
ed22dcf6
UD
10583 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10584 __NO_MATH_INLINES is defined. Cleanups.
10585
10586 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10587 and __floorf is target has SSE4.1.
10588 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10589 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10590 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10591 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10592
b171c137
UD
10593 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10594 name.
10595 (floorf): Likewise.
10596
97c066e6
UD
10597 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10598
629f62ef
AS
105992011-10-17 Andreas Schwab <schwab@redhat.com>
10600
49a43d80
AS
10601 * misc/sys/cdefs.h: Fix last change.
10602
629f62ef
AS
10603 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10604 database lookup.
10605
e453f6cd
UD
106062011-10-16 Ulrich Drepper <drepper@gmail.com>
10607
aa78043a
UD
10608 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10609
ad0f5cad
UD
10610 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10612 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10613 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10614 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10617 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10618 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10619 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10620 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10621 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10622 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10623 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10624 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10625 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10626 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10627 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10628 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10629 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10630 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10631 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10632
10633 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10634 ceil, ceilf, floor, floorf.
10635
10636 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10637 Perform IRELATIVE relocations last.
10638
e453f6cd
UD
10639 * elf/do-rel.h: Add another parameter nrelative, replacing the
10640 local variable with the same name. Change name of the function
10641 to end in Rel or Rela (uppercase).
10642 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10643 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10644 elf_dynamic_do_##reloc function.
10645
fd5bdc09
UD
106462011-10-15 Ulrich Drepper <drepper@gmail.com>
10647
79b195b5
UD
10648 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10649 is sufficient, at least on modern CPUs.
10650
d4a28569
UD
10651 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10652
b61099b5
UD
10653 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10654 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10655
bcf01e6d
UD
10656 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10657 __expl_finite.
10658 * math/bits/math-finite.h: Add entries for exp.
10659 * math/e_expl.c: Add __*_finite alias.
10660 * sysdeps/i386/fpu/e_exp.S: Likewise.
10661 * sysdeps/i386/fpu/e_expf.S: Likewise.
10662 * sysdeps/i386/fpu/e_expl.c: Likewise.
10663 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10664 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10665 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10666 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10667 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10668 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10669 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10670
ba1a0d59
UD
10671 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10672 is sufficient, at least on modern CPUs.
10673
fd5bdc09
UD
10674 * ctype/ctype-info.c (__ctype_init): Define.
10675 * include/ctype.h (__ctype_init): Declare.
10676 (__ctype_b_loc): The variable is always initialized.
10677 (__ctype_toupper_loc): Likewise.
10678 (__ctype_tolower_loc): Likewise.
10679 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10680 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10681
7872cfb0
AS
106822011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10683
b468825a
AS
10684 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10685
7872cfb0
AS
10686 * configure.in: Also look in $cxxmachine/include for C++ system
10687 headers.
10688
be13f7bf
LD
106892011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10690
10691 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10692 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10693 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10694 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10695 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10696 (USE_AS_WMEMCMP): New macro.
10697 Fixing indents.
10698 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10699 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10700 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10701 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10702 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10703 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10704 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10705 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10706 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10707 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10709 (USE_AS_WMEMCMP): New macro.
10710 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10711 * sysdeps/string/test-memcmp.c: Update.
10712 Fix simple_wmemcmp.
10713 Add new tests.
10714 * wcsmbs/wmemcmp.c: Update.
10715 (WMEMCMP): New macro.
10716 Fix overflow bug.
10717
556a2007
AJ
107182011-10-12 Andreas Jaeger <aj@suse.de>
10719
10720 [BZ #13268]
10721 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10722
538faaa7
UD
107232011-10-15 Ulrich Drepper <drepper@gmail.com>
10724
ab6737ff
UD
10725 * libio/iofwide.c (do_length): Avoid warning.
10726
538faaa7
UD
10727 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10728
396a21b1
UD
107292011-10-14 Ulrich Drepper <drepper@gmail.com>
10730
cdf2901f
UD
10731 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10732
38ad40ce
UD
10733 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10734 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10735 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10736 * sysdeps/i386/i686/fpu/e_log.S: New file.
10737 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10738 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10739
396a21b1
UD
10740 * ctype/ctype.h: Add support for inlined isXXX functions when
10741 compiling C++ code.
10742
6b1f68c9
AS
107432011-10-14 Andreas Schwab <schwab@redhat.com>
10744
349290c0
AS
10745 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10746
6b1f68c9
AS
10747 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10748
f2282d42
RM
107492011-10-13 Roland McGrath <roland@hack.frob.com>
10750
10751 [BZ #13291]
10752 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10753
5298ffa8
AS
107542011-10-13 Andreas Schwab <schwab@redhat.com>
10755
714fad23
AS
10756 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10757 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10758 feraiseexcept.
10759
81dcc7fb
AS
10760 * sysdeps/x86_64/memrchr.S: Check for zero size.
10761
5298ffa8
AS
10762 * string/stratcliff.c: Add memrchr tests.
10763
951fbcec
LD
107642011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10765
10766 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10767 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10768 rawmemchr-sse2 rawmemchr-sse2-bsf.
10769 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10770 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10771 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10772 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10773 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10774 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10775 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10776 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10777 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10778 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10779 * string/memrchr.c (MEMRCHR): New macro.
10780
0ac5ae23
UD
107812011-10-12 Ulrich Drepper <drepper@gmail.com>
10782
10783 Add integration with gcc's -ffinite-math-only and optimize wrapper
10784 functions in libm.
10785 * Versions.def: Define GLIBC_2.15 version for libm.
10786 * math/Makefile (headers): Add bits/math-finite.h.
10787 * math/bits/math-finite.h: New file.
10788 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10789 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10790 * math/e_acoshl.c: Add __*_finite alias.
10791 * math/e_acosl.c: Likewise.
10792 * math/e_asinl.c: Likewise.
10793 * math/e_atan2l.c: Likewise.
10794 * math/e_atanhl.c: Likewise.
10795 * math/e_coshl.c: Likewise.
10796 * math/e_exp10.c: Likewise.
10797 * math/e_exp10f.c: Likewise.
10798 * math/e_exp10l.c: Likewise.
10799 * math/e_exp2l.c: Likewise.
10800 * math/e_fmodl.c: Likewise.
10801 * math/e_gammal_r.c: Likewise.
10802 * math/e_hypotl.c: Likewise.
10803 * math/e_j0l.c: Likewise.
10804 * math/e_j1l.c: Likewise.
10805 * math/e_jnl.c: Likewise.
10806 * math/e_lgammal_r.c: Likewise.
10807 * math/e_log10l.c: Likewise.
10808 * math/e_log2l.c: Likewise.
10809 * math/e_logl.c: Likewise.
10810 * math/e_powl.c: Likewise.
10811 * math/e_sinhl.c: Likewise.
10812 * math/e_sqrtl.c: Likewise.
10813 * math/e_scalb.c: Completely rewritten and optimized.
10814 * math/e_scalbf.c: Likewise.
10815 * math/e_scalbl.c: Likewise.
10816 * math/w_acos.c: Likewise.
10817 * math/w_acosf.c: Likewise.
10818 * math/w_acosl.c: Likewise.
10819 * math/w_acosh.c: Likewise.
10820 * math/w_acoshf.c: Likewise.
10821 * math/w_acoshl.c: Likewise.
10822 * math/w_asin.c: Likewise.
10823 * math/w_asinf.c: Likewise.
10824 * math/w_asinl.c: Likewise.
10825 * math/w_atan2.c: Likewise.
10826 * math/w_atan2f.c: Likewise.
10827 * math/w_atan2l.c: Likewise.
10828 * math/w_atanh.c: Likewise.
10829 * math/w_atanhf.c: Likewise.
10830 * math/w_atanhl.c: Likewise.
10831 * math/w_exp10.c: Likewise.
10832 * math/w_exp10f.c: Likewise.
10833 * math/w_exp10l.c: Likewise.
10834 * math/w_fmod.c: Likewise.
10835 * math/w_fmodf.c: Likewise.
10836 * math/w_fmodl.c: Likewise.
10837 * math/w_j0.c: Likewise.
10838 * math/w_j0f.c: Likewise.
10839 * math/w_j0l.c: Likewise.
10840 * math/w_j1.c: Likewise.
10841 * math/w_j1f.c: Likewise.
10842 * math/w_j1l.c: Likewise.
10843 * math/w_jn.c: Likewise.
10844 * math/w_jnf.c: Likewise.
10845 * math/w_log.c: Likewise.
10846 * math/w_logf.c: Likewise.
10847 * math/w_logl.c: Likewise.
10848 * math/w_log10.c: Likewise.
10849 * math/w_log10f.c: Likewise.
10850 * math/w_log10l.c: Likewise.
10851 * math/w_log2.c: Likewise.
10852 * math/w_log2f.c: Likewise.
10853 * math/w_log2l.c: Likewise.
10854 * math/w_pow.c: Likewise.
10855 * math/w_powf.c: Likewise.
10856 * math/w_powl.c: Likewise.
10857 * math/w_remainder.c: Likewise.
10858 * math/w_remainderf.c: Likewise.
10859 * math/w_remainderl.c: Likewise.
10860 * math/w_scalb.c: Likewise.
10861 * math/w_scalbf.c: Likewise.
10862 * math/w_scalbl.c: Likewise.
10863 * math/w_sqrt.c: Likewise.
10864 * math/w_sqrtf.c: Likewise.
10865 * math/w_sqrtl.c: Likewise.
10866 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10867 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10868 used.
10869 * math/math_private.h: Declare __kernel_standard_f.
10870 * math/w_cosh.c: Remove cruft and optimize a bit.
10871 * math/w_coshf.c: Likewise.
10872 * math/w_coshl.c: Likewise.
10873 * math/w_exp2.c: Likewise.
10874 * math/w_exp2f.c: Likewise.
10875 * math/w_exp2l.c: Likewise.
10876 * math/w_hypot.c: Likewise.
10877 * math/w_hypotf.c: Likewise.
10878 * math/w_hypotl.c: Likewise.
10879 * math/w_lgamma.c: Likewise.
10880 * math/w_lgamma_r.c: Likewise.
10881 * math/w_lgammaf.c: Likewise.
10882 * math/w_lgammaf_r.c: Likewise.
10883 * math/w_lgammal.c: Likewise.
10884 * math/w_lgammal_r.c: Likewise.
10885 * math/w_sinh.c: Likewise.
10886 * math/w_sinhf.c: Likewise.
10887 * math/w_sinhl.c: Likewise.
10888 * math/w_tgamma.c: Likewise.
10889 * math/w_tgammaf.c: Likewise.
10890 * math/w_tgammal.c: Likewise.
10891 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10892 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10893 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10894 Minor optimizations. Pretty printing. Remove cruft.
10895 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10896 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10897 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10898 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10899 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10900 * sysdeps/i386/fpu/e_asin.S: Likewise.
10901 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10902 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10903 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10904 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10905 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10906 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10907 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10908 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10909 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10910 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10911 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10912 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10913 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10914 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10915 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10916 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10917 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10918 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10919 * sysdeps/i386/fpu/e_log.S: Likewise.
10920 * sysdeps/i386/fpu/e_log10.S: Likewise.
10921 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10922 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10923 * sysdeps/i386/fpu/e_log2.S: Likewise.
10924 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10925 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10926 * sysdeps/i386/fpu/e_logf.S: Likewise.
10927 * sysdeps/i386/fpu/e_logl.S: Likewise.
10928 * sysdeps/i386/fpu/e_pow.S: Likewise.
10929 * sysdeps/i386/fpu/e_powf.S: Likewise.
10930 * sysdeps/i386/fpu/e_powl.S: Likewise.
10931 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10932 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10933 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10934 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10935 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10937 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10938 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10939 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10940 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10941 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10942 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10943 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10944 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10945 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10946 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10947 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10948 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10949 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10950 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10951 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10953 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10954 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10955 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10956 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10957 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10958 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10959 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10960 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10961 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10962 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10963 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10964 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10965 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10966 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10967 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10968 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10969 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10970 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10971 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10973 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10974 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10975 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10976 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10977 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10978 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10979 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10980 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10981 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10982 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10983 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10984 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10985 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10986 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10987 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10988 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10989 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10990 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10991 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10992 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10993 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10994 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10995 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10996 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10997 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10998 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10999 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11000 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11001 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
11002 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
11003 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
11004 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
11005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
11006 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
11007 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
11008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
11009 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
11010 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
11011 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
11012 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
11013 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11017 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
11018 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
11019 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
11020 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11021 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
11022 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
11023 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
11024 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11025 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
11026 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11027 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
11028 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11029 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
11030 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
11031 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11032 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11033 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11034 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11035 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11036 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11037 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11038 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11039 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11040 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
11041 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
11042 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
11043 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
11044 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
11045 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
11046 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
11047 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
11048 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
11049 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
11050 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
11051 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
11052 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
11053 (__isnanf): Likewise.
11054 (__isinf_ns): Likewise.
11055 (__isinf_nsf): Likewise.
11056 (__finite): Likewise.
11057 (__finitef): Likewise.
11058 (__ieee754_sqrt): Define as macro.
11059 (__ieee754_sqrtf): Define as macro.
11060 (__ieee754_sqrtl): Define as macro.
11061 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
11062 inlined copy.
11063 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
11064 __FINITE_MATH_ONLY__ consistent.
11065 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
11066
12cc2fcd
AS
110672011-10-10 Andreas Schwab <schwab@linux-m68k.org>
11068
a843a204
AS
11069 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
11070 of rawmemchr.
11071
12cc2fcd
AS
11072 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
11073
c853acd5
UD
110742011-10-09 Ulrich Drepper <drepper@gmail.com>
11075
11076 * po/ja.po: Update from translation team.
11077
c658d255
RM
110782011-10-08 Roland McGrath <roland@hack.frob.com>
11079
110946e4
RM
11080 * locale/programs/locarchive.c (prepare_address_space): New function.
11081 (create_archive, enlarge_archive, open_archive): Use it.
11082
50604220
RM
11083 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
11084 inside [SHARED], where it is used.
11085
c658d255
RM
11086 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
11087
11088 * nss/getent.c (netgroup_keys): Remove unused variable.
11089 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
11090
6a621eb7
UD
110912011-10-08 Ulrich Drepper <drepper@gmail.com>
11092
7edb55ce
UD
11093 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
11094 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
11095 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
11096 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
11097 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
11098 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
11099 * math/Makefile (libm-calls): Add s_isinf_ns.
11100 * math/divtc3.c: Use __isinf_nsl instead of isinf.
11101 * math/multc3.c: Likewise.
11102 * math/s_casin.c: Likewise.
11103 * math/s_casinf.c: Likewise.
11104 * math/s_casinl.c: Likewise.
11105 * math/s_ccos.c: Likewise.
11106 * math/s_ccosf.c: Likewise.
11107 * math/s_ccosl.c: Likewise.
11108 * math/s_ctan.c: Likewise.
11109 * math/s_ctanf.c: Likewise.
11110 * math/s_ctanh.c: Likewise.
11111 * math/s_ctanhf.c: Likewise.
11112 * math/s_ctanhl.c: Likewise.
11113 * math/s_ctanl.c: Likewise.
11114 * math/w_fmod.c: Likewise.
11115 * math/w_fmodf.c: Likewise.
11116 * math/w_fmodl.c: Likewise.
11117 * math/w_remainder.c: Likewise.
11118 * math/w_remainderf.c: Likewise.
11119 * math/w_remainderl.c: Likewise.
11120 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
11121 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
11122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
11123 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
11124 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
11125 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
11126 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
11127 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
11128
187da0ae
UD
11129 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
11130 of the number.
11131 * stdio-common/printf_fphex.c: Likewise.
11132 * stdio-common/printf_size.c: Likewise.
11133
9277c064
UD
11134 * math/e_exp10.c: Include math_private.h using <...> not "...".
11135 * math/e_exp10f.c: Likewise.
11136 * math/e_exp10l.c: Likewise.
11137 * math/e_exp2l.c: Likewise.
11138 * math/e_j0l.c: Likewise.
11139 * math/e_j1l.c: Likewise.
11140 * math/e_jnl.c: Likewise.
11141 * math/e_lgammal_r.c: Likewise.
11142 * math/e_rem_pio2l.c: Likewise.
11143 * math/e_scalb.c: Likewise.
11144 * math/e_scalbf.c: Likewise.
11145 * math/e_scalbl.c: Likewise.
11146 * math/k_cosl.c: Likewise.
11147 * math/k_sinl.c: Likewise.
11148 * math/k_tanl.c: Likewise.
11149 * math/s_cacoshf.c: Likewise.
11150 * math/s_catan.c: Likewise.
11151 * math/s_catanf.c: Likewise.
11152 * math/s_catanh.c: Likewise.
11153 * math/s_catanhf.c: Likewise.
11154 * math/s_catanhl.c: Likewise.
11155 * math/s_catanl.c: Likewise.
11156 * math/s_ccosh.c: Likewise.
11157 * math/s_ccoshf.c: Likewise.
11158 * math/s_ccoshl.c: Likewise.
11159 * math/s_cexp.c: Likewise.
11160 * math/s_cexpf.c: Likewise.
11161 * math/s_cexpl.c: Likewise.
11162 * math/s_clog.c: Likewise.
11163 * math/s_clog10.c: Likewise.
11164 * math/s_clog10f.c: Likewise.
11165 * math/s_clog10l.c: Likewise.
11166 * math/s_clogf.c: Likewise.
11167 * math/s_clogl.c: Likewise.
11168 * math/s_csin.c: Likewise.
11169 * math/s_csinf.c: Likewise.
11170 * math/s_csinh.c: Likewise.
11171 * math/s_csinhf.c: Likewise.
11172 * math/s_csinhl.c: Likewise.
11173 * math/s_csinl.c: Likewise.
11174 * math/s_csqrt.c: Likewise.
11175 * math/s_csqrtf.c: Likewise.
11176 * math/s_csqrtl.c: Likewise.
11177 * math/s_ctan.c: Likewise.
11178 * math/s_ctanf.c: Likewise.
11179 * math/s_ctanh.c: Likewise.
11180 * math/s_ctanhf.c: Likewise.
11181 * math/s_ctanhl.c: Likewise.
11182 * math/s_ctanl.c: Likewise.
11183 * math/s_ldexp.c: Likewise.
11184 * math/s_ldexpf.c: Likewise.
11185 * math/s_ldexpl.c: Likewise.
11186 * math/s_significand.c: Likewise.
11187 * math/s_significandf.c: Likewise.
11188 * math/s_significandl.c: Likewise.
11189 * math/w_acos.c: Likewise.
11190 * math/w_acosf.c: Likewise.
11191 * math/w_acosh.c: Likewise.
11192 * math/w_acoshf.c: Likewise.
11193 * math/w_acoshl.c: Likewise.
11194 * math/w_acosl.c: Likewise.
11195 * math/w_asin.c: Likewise.
11196 * math/w_asinf.c: Likewise.
11197 * math/w_asinl.c: Likewise.
11198 * math/w_atan2.c: Likewise.
11199 * math/w_atan2f.c: Likewise.
11200 * math/w_atan2l.c: Likewise.
11201 * math/w_atanh.c: Likewise.
11202 * math/w_atanhf.c: Likewise.
11203 * math/w_atanhl.c: Likewise.
11204 * math/w_cosh.c: Likewise.
11205 * math/w_coshf.c: Likewise.
11206 * math/w_coshl.c: Likewise.
11207 * math/w_dremf.c: Likewise.
11208 * math/w_exp10.c: Likewise.
11209 * math/w_exp10f.c: Likewise.
11210 * math/w_exp10l.c: Likewise.
11211 * math/w_exp2.c: Likewise.
11212 * math/w_exp2f.c: Likewise.
11213 * math/w_fmod.c: Likewise.
11214 * math/w_fmodf.c: Likewise.
11215 * math/w_fmodl.c: Likewise.
11216 * math/w_hypot.c: Likewise.
11217 * math/w_hypotf.c: Likewise.
11218 * math/w_hypotl.c: Likewise.
11219 * math/w_j0.c: Likewise.
11220 * math/w_j0f.c: Likewise.
11221 * math/w_j0l.c: Likewise.
11222 * math/w_j1.c: Likewise.
11223 * math/w_j1f.c: Likewise.
11224 * math/w_j1l.c: Likewise.
11225 * math/w_jn.c: Likewise.
11226 * math/w_jnf.c: Likewise.
11227 * math/w_jnl.c: Likewise.
11228 * math/w_lgamma.c: Likewise.
11229 * math/w_lgamma_r.c: Likewise.
11230 * math/w_lgammaf.c: Likewise.
11231 * math/w_lgammaf_r.c: Likewise.
11232 * math/w_lgammal.c: Likewise.
11233 * math/w_lgammal_r.c: Likewise.
11234 * math/w_log.c: Likewise.
11235 * math/w_log10.c: Likewise.
11236 * math/w_log10f.c: Likewise.
11237 * math/w_log10l.c: Likewise.
11238 * math/w_log2.c: Likewise.
11239 * math/w_log2f.c: Likewise.
11240 * math/w_log2l.c: Likewise.
11241 * math/w_logf.c: Likewise.
11242 * math/w_logl.c: Likewise.
11243 * math/w_pow.c: Likewise.
11244 * math/w_powf.c: Likewise.
11245 * math/w_powl.c: Likewise.
11246 * math/w_remainder.c: Likewise.
11247 * math/w_remainderf.c: Likewise.
11248 * math/w_remainderl.c: Likewise.
11249 * math/w_scalb.c: Likewise.
11250 * math/w_scalbf.c: Likewise.
11251 * math/w_scalbl.c: Likewise.
11252 * math/w_sinh.c: Likewise.
11253 * math/w_sinhf.c: Likewise.
11254 * math/w_sinhl.c: Likewise.
11255 * math/w_sqrt.c: Likewise.
11256 * math/w_sqrtf.c: Likewise.
11257 * math/w_sqrtl.c: Likewise.
11258 * math/w_tgamma.c: Likewise.
11259 * math/w_tgammaf.c: Likewise.
11260 * math/w_tgammal.c: Likewise.
11261
6a621eb7
UD
11262 * po/ja.po: Update from translation team.
11263
bf582445
AJ
112642011-09-29 Andreas Jaeger <aj@suse.de>
11265
f9efbf3a
AJ
11266 [BZ #13179]
11267 * sunrpc/netname.c (netname2host): Fix logic.
11268
bf582445
AJ
11269 [BZ #6779]
11270 [BZ #6783]
11271 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11272 correctly.
11273 * math/w_remainder.c (__remainder): Likewise.
11274 * math/w_remainderf.c (__remainderf): Likewise.
11275 * math/libm-test.inc (remainder_test): Add test cases.
11276
48693bea
AK
112772011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11278
11279 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11280 sdiv_qrnnd.
11281
42622229
LD
112822011-10-07 Ulrich Drepper <drepper@gmail.com>
11283
11284 * string/test-memcmp.c: Avoid unncessary #defines.
11285 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11286
093ecf92
LD
112872011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11288
11289 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11290 Use new sse2 version for core i3 - i7 as it's faster
11291 than sse42 version.
11292 (bit_Prefer_PMINUB_for_stringop): New.
11293 * sysdeps/x86_64/rawmemchr.S: Update.
11294 Replace with faster SSE2 version.
11295 * sysdeps/x86_64/memrchr.S: New file.
11296 * sysdeps/x86_64/memchr.S: Update.
11297 Replace with faster SSE2 version.
11298
fde56e5c
MP
112992011-09-12 Marek Polacek <mpolacek@redhat.com>
11300
11301 * elf/dl-load.c (lose): Add cast to avoid warning.
11302
21fd49a9
UD
113032011-10-07 Ulrich Drepper <drepper@gmail.com>
11304
5a06e643
UD
11305 * po/ca.po: Update from translation team.
11306
684ae515
UD
11307 * inet/getnetgrent_r.c: Hook up nscd.
11308 * nscd/Makefile (routines): Add nscd_netgroup.
11309 (nscd-modules): Add netgroupcache.
11310 (CFLAGS-netgroupcache.c): Define.
11311 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11312 (cache_search): Add const to second parameter.
11313 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11314 INNETGR.
11315 (dbs): Add netgrdb entry.
11316 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11317 (verify_persistent_db): Handle netgrdb.
11318 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11319 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11320 GETFDNETGR.
11321 (netgroup_response_header): Define.
11322 (innetgroup_response_header): Define.
11323 (datahead): Add netgroup_response_header and innetgroup_response_header
11324 elements.
11325 * nscd/nscd.conf: Add entries for netgroup cache.
11326 * nscd/nscd.h (dbtype): Add netgrdb.
11327 (_PATH_NSCD_NETGROUP_DB): Define.
11328 (netgroup_iov_disabled): Declare.
11329 (xmalloc, xcalloc, xrealloc): Move declarations here.
11330 (cache_search): Adjust prototype.
11331 Add netgroup-related prototypes.
11332 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11333 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11334 (__nscd_innetgr): Declare.
11335 * nscd/selinux.c (perms): Use access_vector_t as element type and
11336 add netgroup-related initializers.
11337 * nscd/netgroupcache.c: New file.
11338 * nscd/nscd_netgroup.c: New file.
11339 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11340 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11341 For four parameters use innetgr.
11342 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11343 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11344 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11345 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11346
21fd49a9
UD
11347 * nscd/connections.c (register_traced_file): Don't register file
11348 for disabled databases.
11349
054c0457
UD
113502011-10-06 Ulrich Drepper <drepper@gmail.com>
11351
32b63198
UD
11352 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11353
054c0457
UD
11354 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11355 from tree and freeing node.
11356
64031225
JO
113572011-09-25 Jiri Olsa <jolsa@redhat.com>
11358
11359 * nss/nsswitch.c (__nss_database_lookup): Handle
11360 nss_parse_service_list out of memory case.
11361
0490345c
JO
113622011-09-15 Jiri Olsa <jolsa@redhat.com>
11363
11364 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11365 out of memory case.
11366
3a62d00d
AS
113672011-10-04 Andreas Schwab <schwab@redhat.com>
11368
11369 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11370 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11371 pass it down.
11372 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11373 elf_machine_rela, elf_machine_lazy_rel.
11374 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11375 (ELF_DYNAMIC_DO_REL): Likewise.
11376 (ELF_DYNAMIC_DO_RELA): Likewise.
11377 (ELF_DYNAMIC_RELOCATE): Likewise.
11378 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11379 to ELF_DYNAMIC_DO_REL.
11380 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11381 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11382 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11383 elf_machine_rela.
11384 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11385 skip_ifunc, don't call ifunc function if non-zero.
11386 (elf_machine_rela): Likewise.
11387 (elf_machine_lazy_rel): Likewise.
11388 (elf_machine_lazy_rela): Likewise.
11389 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11390 (elf_machine_lazy_rel): Likewise.
11391 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11392 Likewise.
11393 (elf_machine_lazy_rel): Likewise.
11394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11395 Likewise.
11396 (elf_machine_lazy_rel): Likewise.
11397 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11398 (elf_machine_lazy_rel): Likewise.
11399 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11400 (elf_machine_lazy_rel): Likewise.
11401 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11402 (elf_machine_lazy_rel): Likewise.
11403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11404 (elf_machine_lazy_rel): Likewise.
11405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11406 (elf_machine_lazy_rel): Likewise.
11407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11408 (elf_machine_lazy_rel): Likewise.
11409
68577918
UD
114102011-09-28 Ulrich Drepper <drepper@gmail.com>
11411
11412 * nss/nss_files/files-init.c (_nss_files_init): Use static
11413 initialization for all the *_traced_file variables.
11414
68822d74
AS
114152011-09-28 Andreas Schwab <schwab@redhat.com>
11416
11417 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11418
2056100b
RM
114192011-09-27 Roland McGrath <roland@hack.frob.com>
11420
11421 [BZ #13226]
11422 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11423
32c76b63
AS
114242011-09-27 Andreas Schwab <schwab@redhat.com>
11425
11426 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11427 Reread the line before reparsing it.
11428
bf972c9d
AS
114292011-09-26 Andreas Schwab <schwab@redhat.com>
11430
11431 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11432
e057a1b5
JM
114332011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11434 Maxim Kuvyrkov <maxim@codesourcery.com>
11435 Joseph Myers <joseph@codesourcery.com>
11436
11437 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11438 if needed for __stack_chk_guard.
11439
bc7e1c36
RM
114402011-09-19 Roland McGrath <roland@hack.frob.com>
11441
ecb1482f
RM
11442 * sysdeps/posix/spawni.c (script_execute): Always define it.
11443 It will be optimized away if unused.
11444 (maybe_script_execute): New function.
11445 (__spawni): Call it.
11446
bc7e1c36
RM
11447 * Makerules: Don't include tls.make.
11448 (config-tls): Always set to thread.
11449 * tls.make.c: File removed.
11450
1c3b002b
MF
114512011-09-19 Mike Frysinger <vapier@gentoo.org>
11452
11453 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11454 * config.make.in (CPPFLAGS-config): New substituted variable.
11455
2840865d
UD
114562011-09-15 Ulrich Drepper <drepper@gmail.com>
11457
88738eb6
UD
11458 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11459
cbf645a6 11460 [BZ #13192]
2840865d
UD
11461 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11462 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11463
b402e91a
RM
114642011-09-15 Roland McGrath <roland@hack.frob.com>
11465
11466 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11467 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11468 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11469 (CALL_FAIL): Likewise.
11470 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11471 (CALL_FAIL): Macro removed.
11472 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11473
4c1a1f71
UD
114742011-09-15 Ulrich Drepper <drepper@gmail.com>
11475
11476 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11477 for __FINITE_MATH_ONLY__ == 1.
11478
edc121be
AS
114792011-09-15 Andreas Schwab <schwab@redhat.com>
11480
11481 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11482 __ieee754_sqrt instead of sqrt.
11483 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11484 __ieee754_sqrtf instead of sqrtf.
11485 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11486 __floorf instead of floorf.
11487 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11488 __floorf, __truncf instead of floorf, truncf.
11489
cd205654
UD
114902011-09-14 Ulrich Drepper <drepper@gmail.com>
11491
ee4d0315
UD
11492 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11493
cd205654
UD
11494 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11495 __extern_always_inline.
11496 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11497 32-bit.
11498
48b67d71
AS
114992011-09-14 Andreas Schwab <schwab@redhat.com>
11500
11501 * elf/rtld.c (dl_main): Also relocate in dependency order when
11502 doing symbol dependency testing.
11503
1ae12c75
AS
115042011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11505
11506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11507 Always define `refsym'.
11508
995a80df
AS
115092011-09-13 Andreas Schwab <schwab@redhat.com>
11510
e529793b
AS
11511 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11512 (__FD_ELT): Renamed from __FDELT.
11513 * misc/bits/select2.h (__FD_ELT): Likewise.
11514 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11515 __FD_MASK instead of __FDELT, __FDMASK.
11516 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11517 Likewise.
11518 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11519 Likewise.
11520
52d4fef8
AS
11521 * elf/Makefile (gen-ldd): Fix pattern.
11522
995a80df
AS
11523 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11524 (init_tls): Likewise.
11525
8682f8b0
UD
115262011-09-12 Ulrich Drepper <drepper@gmail.com>
11527
11528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11529
de82006d
AS
115302011-09-12 Andreas Schwab <schwab@redhat.com>
11531
a7c8e6a1
AS
11532 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11533 `struct cmsghdr *' instead of `void *'.
11534 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11535 Likewise.
11536
0f31fe77
AS
115372011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11538
11539 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11540 if non-absolute.
11541 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11542 ldd_rewrite_script.
0f31fe77 11543
32b4c839
UD
115442011-09-11 Ulrich Drepper <drepper@gmail.com>
11545
83cd1420
UD
11546 * configure.in: Remove --with-tls option.
11547 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11548 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11549 out in case it is missing.
11550 * sysdeps/ia64/elf/configure.in: Likewise.
11551 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11552 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11553 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11554 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11555 * sysdeps/sh/elf/configure.in: Likewise.
11556 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11557 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11558 * sysdeps/x86_64/elf/configure.in: Likewise.
11559 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11560 * sysdeps/mach/hurd/tls.h: Likewise.
11561
633f745d
UD
11562 [BZ #13067]
11563 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11564
f318beb8
UD
11565 [BZ #13090]
11566 * configure.in: Fix use of AC_INIT.
11567
32b4c839
UD
11568 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11569
3ce1f295
UD
115702011-09-10 Ulrich Drepper <drepper@gmail.com>
11571
bb016596
UD
11572 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11573 __set_errno.
8e58439c
UD
11574 * malloc/hooks.c: Likewise.
11575
aebae053 11576 [BZ #11929]
02d46fc4
UD
11577 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11578 variables statically.
11579 (narenas): Initialize.
11580 (list_lock): Initialize.
bb016596
UD
11581 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11582 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11583 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11584 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11585 Add initializers to main_arena and mp_.
11586 (malloc_state): Remove pagesize member. Change all users to use
11587 GLRO(dl_pagesize).
11588
11589 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11590 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11591 is always initialized.
11592
22a89187
UD
11593 * malloc/malloc.c: Removed unused configurations and dead code.
11594 * malloc/arena.c: Likewise.
11595 * malloc/hooks.c: Likewise.
02d46fc4 11596 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11597
d063d164
UD
11598 * include/tls.h: Removed. USE___THREAD must always be defined.
11599 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11600 * elf/dl-libc.c: Likewise.
11601 * elf/dl-tsd.c: Likewise.
11602 * include/errno.h: Likewise.
11603 * include/netdb.h: Likewise.
11604 * include/resolv.h: Likewise.
11605 * inet/herrno-loc.c: Likewise.
11606 * inet/herrno.c: Likewise.
11607 * malloc/arena.c: Likewise.
11608 * malloc/hooks.c: Likewise.
11609 * malloc/malloc.c: Likewise.
11610 * resolv/res-state.c: Likewise.
11611 * resolv/res_libc.c: Likewise.
11612 * sysdeps/i386/dl-machine.h: Likewise.
11613 * sysdeps/ia64/dl-machine.h: Likewise.
11614 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11615 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11616 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11617 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11618 * sysdeps/sh/dl-machine.h: Likewise.
11619 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11620 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11621 * sysdeps/unix/i386/sysdep.S: Likewise.
11622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11623 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11625 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11626 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11627 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11628 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11629 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11630 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11631 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11632 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11633 * sysdeps/x86_64/dl-machine.h: Likewise.
11634 * tls.make.c: Likewise.
11635
3ce1f295
UD
11636 * configure.in: Remove --with-__thread option. Make tests for
11637 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11638 tls_model attribute fail if no support is available. Remove
11639 USE_IN_LIBIO.
11640 * Makeconfig: Adjust for dropped configure option. All features are
11641 now mandatory.
11642 * Makerules: Likewise.
11643 * Versions.def: Likewise.
11644 * argp/argp-fmtstream.c: Likewise.
11645 * argp/argp-fmtstream.h: Likewise.
11646 * argp/argp-help.c: Likewise.
11647 * assert/assert.c: Likewise.
11648 * config.h.in: Likewise.
11649 * config.make.in: Likewise.
11650 * configure: Likewise.
11651 * configure.in: Likewise.
11652 * csu/Versions: Likewise.
11653 * csu/init.c: Likewise.
11654 * elf/tst-audit2.c: Likewise.
11655 * elf/tst-tls10.c: Likewise.
11656 * elf/tst-tls10.h: Likewise.
11657 * elf/tst-tls11.c: Likewise.
11658 * elf/tst-tls12.c: Likewise.
11659 * elf/tst-tls14.c: Likewise.
11660 * elf/tst-tlsmod11.c: Likewise.
11661 * elf/tst-tlsmod12.c: Likewise.
11662 * elf/tst-tlsmod13.c: Likewise.
11663 * elf/tst-tlsmod13a.c: Likewise.
11664 * elf/tst-tlsmod14a.c: Likewise.
11665 * elf/tst-tlsmod15b.c: Likewise.
11666 * elf/tst-tlsmod16a.c: Likewise.
11667 * elf/tst-tlsmod16b.c: Likewise.
11668 * elf/tst-tlsmod7.c: Likewise.
11669 * elf/tst-tlsmod8.c: Likewise.
11670 * elf/tst-tlsmod9.c: Likewise.
11671 * gmon/gmon.c: Likewise.
11672 * grp/fgetgrent_r.c: Likewise.
11673 * grp/putgrent.c: Likewise.
11674 * hurd/fopenport.c: Likewise.
11675 * include/libc-symbols.h: Likewise.
11676 * include/tls.h: Likewise.
11677 * intl/gettextP.h: Likewise.
11678 * intl/loadinfo.h: Likewise.
11679 * locale/global-locale.c: Likewise.
11680 * locale/localeinfo.h: Likewise.
11681 * mach/devstream.c: Likewise.
11682 * malloc/arena.c: Likewise.
11683 * malloc/set-freeres.c: Likewise.
11684 * misc/err.c: Likewise.
11685 * misc/getttyent.c: Likewise.
11686 * misc/mntent_r.c: Likewise.
11687 * posix/getopt.c: Likewise.
11688 * posix/wordexp.c: Likewise.
11689 * pwd/fgetpwent_r.c: Likewise.
11690 * resolv/Versions: Likewise.
11691 * resolv/res_hconf.c: Likewise.
11692 * shadow/fgetspent_r.c: Likewise.
11693 * shadow/putspent.c: Likewise.
11694 * stdio-common/printf_fphex.c: Likewise.
11695 * stdio-common/tmpfile.c: Likewise.
11696 * stdlib/abort.c: Likewise.
11697 * stdlib/fmtmsg.c: Likewise.
11698 * sunrpc/auth_unix.c: Likewise.
11699 * sunrpc/clnt_perr.c: Likewise.
11700 * sunrpc/clnt_tcp.c: Likewise.
11701 * sunrpc/clnt_udp.c: Likewise.
11702 * sunrpc/clnt_unix.c: Likewise.
11703 * sunrpc/openchild.c: Likewise.
11704 * sunrpc/svc_simple.c: Likewise.
11705 * sunrpc/svc_tcp.c: Likewise.
11706 * sunrpc/svc_udp.c: Likewise.
11707 * sunrpc/svc_unix.c: Likewise.
11708 * sunrpc/xdr.c: Likewise.
11709 * sunrpc/xdr_array.c: Likewise.
11710 * sunrpc/xdr_rec.c: Likewise.
11711 * sunrpc/xdr_ref.c: Likewise.
11712 * sunrpc/xdr_stdio.c: Likewise.
11713
1248c1c4
PB
117142011-09-09 Ulrich Drepper <drepper@gmail.com>
11715
11716 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11717
117182011-07-03 Andreas Jaeger <aj@suse.de>
11719
11720 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11721 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11722 regenerate with gen-libm-tests.pl.
11723
117242010-05-12 Petr Baudis <pasky@suse.cz>
11725
11726 [BZ #11589]
11727 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11728 around j0() zero points by switching to j1().
11729 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11730 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11731 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11732 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11733
f22e1074
UD
117342011-09-09 Ulrich Drepper <drepper@gmail.com>
11735
f19009c1
UD
11736 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11737 instead of 0.
11738 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11739 instead of 0. .
11740 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11741 Patch in part by Pavel Roskin <proski@gnu.org>.
11742
3f8cc204
UD
11743 [BZ #13138]
11744 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11745 realloc.
11746 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11747 Free memory block if necessary.
11748
f22e1074
UD
11749 [BZ #12847]
11750 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11751 be NULL. Don't lock in this case.
11752
0a2349f9
RM
117532011-09-09 Roland McGrath <roland@hack.frob.com>
11754
11755 * elf/elf.h (ELFOSABI_GNU): New macro.
11756 (ELFOSABI_LINUX): Define to that.
11757
f3cdd467
DZ
117582011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11759
11760 * string/strncat.c (strncat): Undef the symbol in case it has been
11761 defined in bits/string.h.
11762
74718d13
UD
117632011-09-09 Ulrich Drepper <drepper@gmail.com>
11764
633e9e0f
UD
11765 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11766
0a2349f9 11767 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11768 link map.
11769
f9924780
AJ
117702011-08-17 Andreas Jaeger <aj@suse.de>
11771
11772 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11773
7f5517aa
PP
117742011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11775 Ian Lance Taylor <iant@google.com>
11776
11777 * math/libm-test.inc (lround_test): New testcase.
11778 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11779
762011fe
UD
117802011-09-08 Ulrich Drepper <drepper@gmail.com>
11781
92963737
UD
11782 * Makefile: Remove support for automatic cvs check-ins.
11783 * Makerules: Likewise.
11784 * config.make.in: Likewise.
11785 * configure.in: Likewise.
11786 * intl/Makefile: Likewise.
11787 * locale/Makefile: Likewise.
11788 * po/Makefile: Likewise.
11789 * posix/Makefile: Likewise.
11790 * sysdeps/gnu/Makefile: Likewise.
11791 * sysdeps/mach/hurd/Makefile: Likewise.
11792 * sysdeps/sparc/sparc32/Makefile: Likewise.
11793
b0727fd8
JS
11794 [BZ #13118]
11795 * posix/Makefile (bug-regex32-ENV): Define.
11796 Patch by John Stanley <jpsinthemix@verizon.net>.
11797
a0f33f99
UD
11798 * misc/Makefile (headers): Add bits/select2.h.
11799 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11800 * misc/bits/select2.h: New file.
11801 * include/bits/select2.h: New file.
11802 * debug/Makefile (routines): Add fdelt_chk.
11803 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11804 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11805 FD_ISSET.
11806 * debug/fdelt_chk.c: New file.
11807
762011fe
UD
11808 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11809 * wcsmbs/test-wmemcmp.c: Likewise.
11810 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11811 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11812
118132011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11814
11815 * string/Makefile (strop-tests): Add memcmp.
11816 * string/test-wmemcmp.c: New file.
11817 * string/test-memcmp.c: Add wmemcmp support.
11818
7f513ec8
RM
118192011-09-08 Roland McGrath <roland@hack.frob.com>
11820
0442afb4
RM
11821 [BZ #13153]
11822 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11823 2011-07-19 change.
11824
7f513ec8
RM
11825 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11826 garbage value in a __mach_port_mod_refs call in the cases of the
11827 task-self and thread-self ports.
11828
a12b2239
ST
118292011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11830
11831 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11832
610f9ab4
AS
118332011-09-08 Andreas Schwab <schwab@redhat.com>
11834
7f513ec8 11835 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11836
48882a1a
LD
118372011-09-07 Ulrich Drepper <drepper@gmail.com>
11838
b49865be
UD
11839 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11840
fdc86bc9
UD
11841 * elf/dl-libc.c (dlerror_run): Pass back error code from
11842 dl_catch_error.
11843
c966526a
UD
11844 [BZ #13123]
11845 * elf/dl-load.c (lose): Free l_origin if it is valid.
11846
48882a1a
LD
11847 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11848 names.
11849 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11850 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11851 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11852 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11853 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11854 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11855
77a2a8b4
AZ
118562011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857
11858 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11859 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11860 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11861 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11862 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11863 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11864 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11865 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11866 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11867 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11868
24f579d8
AM
118692011-08-15 Alan Modra <amodra@gmail.com>
11870
11871 [BZ #13092]
11872 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11873 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11874 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11875 ppc_mcount to static-only-routines.
11876 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11877 __mcount_internal.
11878 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11879 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11880
3d4837df
UD
118812011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11882
11883 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11884 for finite and infinity parameters.
11885
22700377
WS
118862011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11887
11888 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11889 and add nop instructions for throughput optimization.
11890 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11891
5025581e
WS
118922011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11893
11894 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11895 aligned copy for power7 with vector-scalar instructions.
11896 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11897
08a300c9
L
118982011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11899
11900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11901 AVX check.
11902
59178ef9
AS
119032011-09-07 Andreas Schwab <schwab@redhat.com>
11904
11905 [BZ #13144]
11906 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11907 last change.
11908
e38ba7ab
UD
119092011-09-07 Ulrich Drepper <drepper@gmail.com>
11910
11911 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11912 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11913 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11914 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11915 clock_gettime.
11916
d53a73ac
UD
119172011-09-06 Ulrich Drepper <drepper@gmail.com>
11918
fc8bffcc
UD
11919 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11920 Forgot to demangle the pointer.
11921
ceaa0c5d
UD
11922 * sysdeps/i386/sysdep.h: Define atom_text_section.
11923 * sysdeps/x86_64/sysdep.h: Likewise.
11924 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11925 section with atom_text_section.
11926 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11927 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11928 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11930 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11931
a77d3c17
UD
11932 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11933 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11934 already be defined. Change to take two parameters and don't assign
11935 result to variable. Adjust all users.
11936 Define INTERNAL_GETTIME if not already defined.
11937 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11938 call.
11939 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11940 HAVE_CLOCK_GETTIME_VSYSCALL.
11941 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11942
d53a73ac
UD
11943 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11944 gettimeofday vsyscall, just use time.
11945
a8f84144
AS
119462011-09-06 Andreas Schwab <schwab@redhat.com>
11947
11948 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11949 <errno.h>.
11950
ef606249
UD
119512011-09-06 Ulrich Drepper <drepper@gmail.com>
11952
11953 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11954 syscall on x86-64.
11955 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11956 syscall.
11957 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11959 syscall if possible.
11960
6585cb60
UD
119612011-09-05 Ulrich Drepper <drepper@gmail.com>
11962
11963 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11964 e_ident. Don't pass to find_mapsXX.
11965 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11966
a5f524e4
LD
119672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11968
11969 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11970 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11971 * sysdeps/x86_64/multiarch/strchr.S: Update.
11972 Check bit_slow_BSF bit.
11973 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11974 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11976
554881ef
UD
119772011-09-05 Ulrich Drepper <drepper@gmail.com>
11978
d96de963
UD
11979 [BZ #13134]
11980 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11981 before glibc 2.15.
11982 (tryshell): Define.
11983 (__spawni): Change last parameter to be flag. Test
11984 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11985 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11986 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11987 * posix/spawni.c: Likewise.
11988 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11989 * posix/spawnp.c: Likewise. Change normal version to use
11990 SPAWN_XFLAGS_USE_PATH.
11991 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11992 SPAWN_XFLAGS_TRY_SHELL.
11993
d48e5868
UD
11994 [BZ #13150]
11995 * posix/glob.h: Remove gcc 1.x support.
11996
554881ef
UD
11997 [BZ #13068]
11998 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11999
693fb948
LD
120002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12001
12002 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12003 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
12004 strrchr-sse2-bsf
12005 * sysdeps/i386/i686/multiarch/strchr.S: New file.
12006 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
12007 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
12008 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
12009 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
12010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
12011
1b48c537
UD
120122011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12013
49d42c37
UD
12014 * sysdeps/x86_64/wcscmp.S: New file.
12015
1b48c537
UD
12016 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
12017 wcscmp-c wcscmp-sse2
12018 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
12019 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
12020 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
12021 * wcsmbs/wcscmp.c: Allow renaming.
12022
15c95c5d
DM
120232011-09-05 David S. Miller <davem@davemloft.net>
12024
12025 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
12026 stack slot, rather than the struct return pointer slot.
12027 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
12028 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
12029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
12030 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
12031
2f0ad8f3
UD
120322011-09-05 Ulrich Drepper <drepper@gmail.com>
12033
d88ae418
UD
12034 * po/ja.po: Update from translation team.
12035
2f0ad8f3
UD
12036 [BZ #13144]
12037 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
12038 kernel in 64-bit binaries.
12039
5f4318d1
DM
120402011-09-01 David S. Miller <davem@davemloft.net>
12041
12042 * elf/elf.h (HWCAP_SPARC_*): Move to..
12043 * sysdeps/sparc/sysdep.h: this new file and add new values.
12044 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
12045 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
12046 _DL_HWCAP_COUNT to 24.
12047 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12048 entries.
12049 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
12050 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
12051 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
12052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
12053 instead of magic constants.
12054 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12055
3ba57516
DM
120562011-08-31 David S. Miller <davem@davemloft.net>
12057
12058 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
12059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
12060 Reimplement to do errno handling inline.
12061 (SYSCALL_ERROR_HANDLER): New macro.
12062 (__SYSCALL_STRING): Do not do errno handling in asm.
12063 (__CLONE_SYSCALL_STRING): Delete.
12064 (__INTERNAL_SYSCALL_STRING): Delete.
12065 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
12066 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
12067 (PSEUDO): Reimplement to do errno handling inline.
12068 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
12069 (SYSCALL_ERROR_HANDLER): New macro.
12070 (__SYSCALL_STRING): Do not do errno handling in asm.
12071 (__CLONE_SYSCALL_STRING): Delete.
12072 (__INTERNAL_SYSCALL_STRING): Delete.
12073 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
12074 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
12075 i386.
12076 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
12077 (inline_syscall*): Add 'err' argument.
12078 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
12079 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
12080 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
12081 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
12082
12083 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
12084 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
12085
2bc17433
AS
120862011-08-30 Andreas Schwab <schwab@redhat.com>
12087
12088 * elf/rtld.c (dl_main): Relocate objects in dependency order.
12089
fbeb5f4d
JO
120902011-08-29 Jiri Olsa <jolsa@redhat.com>
12091
12092 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
12093 directive.
12094
ad69cc26
DM
120952011-08-24 David S. Miller <davem@davemloft.net>
12096
12097 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
12098
39dd69df
AS
120992011-08-24 Andreas Schwab <schwab@redhat.com>
12100
12101 * elf/Makefile: Add rules to build and run unload8 test.
12102 * elf/unload8.c: New file.
12103 * elf/unload8mod1.c: New file.
12104 * elf/unload8mod1x.c: New file.
12105 * elf/unload8mod2.c: New file.
12106 * elf/unload8mod3.c: New file.
12107
12108 * elf/dl-close.c (_dl_close_worker): Reset private search list if
12109 it wasn't used.
12110
2c0b250a
DM
121112011-08-23 David S. Miller <davem@davemloft.net>
12112
12113 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
12114 subtract stack bias.
12115 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
12116 %sp not %fp in calculations.
12117 (_JMPBUF_UNWINDS_ADJ): Likewise.
12118
22044b48
DM
12119 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
12120 (aio_suspend): Call it to force an exception region around the
12121 AIO_MISC_WAIT() invocation.
12122
2cae4995
AS
121232011-08-23 Andreas Schwab <schwab@redhat.com>
12124
12125 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
12126 backslash.
12127
873a772e
AJ
121282011-07-04 Aurelien Jarno <aurelien@aurel32.net>
12129
12130 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
12131 protection macro.
12132 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
12133 and <dl-machine.h>.
12134 (Elf64_FuncDesc): Remove.
12135
25ad0df1
DM
121362011-08-22 David S. Miller <davem@davemloft.net>
12137
12138 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
12139 sigaltstack check, add missing cfi directives.
12140 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
12141 missing cfi directives, and sigaltstack handling.
12142
e888bcbe
AS
121432011-08-16 Andreas Schwab <schwab@redhat.com>
12144
12145 [BZ #11724]
12146 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
12147 object is seen twice.
12148 * elf/dl-fini.c (_dl_sort_fini): Likewise.
12149
12150 * elf/Makefile (distribute): Add tst-initorder2.c.
12151 (tests): Add tst-initorder2.
12152 (modules-names): Add tst-initorder2a tst-initorder2b
12153 tst-initorder2c tst-initorder2d. Add rules to build them.
12154 ($(objpfx)tst-initorder2.out): New rule.
12155 * elf/tst-initorder2.c: New file.
12156 * elf/tst-initorder2.exp: New file.
12157
87162f46
AS
121582011-08-22 Andreas Schwab <schwab@redhat.com>
12159
70538b7f
AS
12160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12161
f55ffe58
AS
12162 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12163 dependencies back to end of function.
12164
87162f46
AS
12165 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12166 $(elfobjdir)/ld.so.
12167
91b392a4
UD
121682011-08-21 Ulrich Drepper <drepper@gmail.com>
12169
12170 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12171 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12172 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12173 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12174 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12175 of __vdso_gettimeofday.
12176 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12177 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12178 attribute_hidden.
12179 (_libc_vdso_platform_setup): Remove initialization of
12180 __vdso_gettimeofday and __vdso_time.
12181
5c43483f
UD
121822011-08-20 Ulrich Drepper <drepper@gmail.com>
12183
775a77e7
UD
12184 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12185 and fgetc_unlocked.
12186 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12187 getc_unlocked.
89f447ed 12188
49c74ba9
UD
12189 * elf/dl-open.c (add_to_global): Report additions to the global scope
12190 for LD_DEBUG=scopes.
12191 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 12192 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 12193
5c43483f
UD
12194 [BZ #13114]
12195 * stdio-common/Makefile (tests): Add bug24.
12196 * stdio-common/bug24.c: New file.
12197
a101b025
AJ
121982011-08-19 Andreas Jaeger <aj@suse.de>
12199
12200 [BZ #13114]
12201 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12202 non-existant file when using close-on-exec mode.
12203
c88f1766
UD
122042011-08-20 Ulrich Drepper <drepper@gmail.com>
12205
0276a718
UD
12206 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12207 the very first instruction.
12208
c88f1766
UD
12209 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12210 the CFI state in the end.
12211 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12212 inclusion of dl-trampoline.h.
12213 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12214
51ccffa0
AS
122152011-08-19 Andreas Schwab <schwab@redhat.com>
12216
94d7165f
AS
12217 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12218 expectations for long double.
12219
51ccffa0
AS
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12221 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12222
fd708658 122232011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12224
12225 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12226 artificual limit depends upon the system page size.
12227
44f0a71e
UD
122282011-08-17 Ulrich Drepper <drepper@gmail.com>
12229
12230 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12231 * resolv/Makefile: Define CFLAGS-libresolv.
12232
8de79a24
AS
122332011-08-17 Andreas Schwab <schwab@redhat.com>
12234
12235 * nss/makedb.c (compute_tables): Make variables used in nested
12236 function static.
12237
27724598
UD
122382011-08-17 Ulrich Drepper <drepper@gmail.com>
12239
c5305d88
UD
12240 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12241 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12242 if buffer was too small.
12243
27724598
UD
12244 * elf/pldd.c (main): Attach to all threads in the process.
12245 Rewrite /proc handling to use *at functions.
12246
076fe015
UD
122472011-08-16 Ulrich Drepper <drepper@gmail.com>
12248
174baab3
UD
12249 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12250 specifies first scope to show.
12251 (dl_open_worker): Update callers. Move printing scope of new
12252 object to before the relocation.
44f0a71e 12253 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12254 * sysdeps/generic/ldsodefs.h: Update declaration.
12255
076fe015
UD
12256 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12257 string for the scope number.
12258
a60df2c3
UD
122592011-08-14 Ulrich Drepper <drepper@gmail.com>
12260
12261 * nscd/servicescache.c (cache_addserv): Make sure written is always
12262 initialized.
12263
5e4287d1
RM
122642011-08-14 Roland McGrath <roland@hack.frob.com>
12265
85ae0589
RM
12266 * sysdeps/i386/i486/bits/atomic.h
12267 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12268 statement expression, so as to suppress "set but not used" warning.
12269 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12270
69f63097
RM
12271 * string/strncat.c (STRNCAT): Use prototype definition.
12272
675456ef
RM
12273 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12274 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12275 -Iprograms here.
12276 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12277 (localedef-modules): Add localedef.
12278 (locale-modules): Add locale.
12279
5e4287d1
RM
12280 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12281 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12282 to avoid a warning.
12283
9c96ff23
DM
122842011-08-14 David S. Miller <davem@davemloft.net>
12285
12286 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12287 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12288
f9ddf089
UD
122892011-08-13 Ulrich Drepper <drepper@gmail.com>
12290
44f0a71e 12291 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12292 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12293 * elf/rtld.c (dl_main): Set l_name of vDSO.
12294 Call _dl_show_scope when DL_DEBUG_SCOPES.
12295 (process_dl_debug): Recognize scopes flag and also set it for all.
12296 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12297 Declare _dl_show_scope.
12298
1dc27704
UD
12299 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12300 (do_dlopen): Pass caller_dlopen to dl_open.
12301 (__libc_dlopen_mode): Initialize caller_dlopen.
12302
f9ddf089
UD
12303 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12304 of libc. Make tolower call locale-independent. Optimize a bit by
12305 using isdigit instead of isalnum.
12306 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12307
9ac533d3
UD
123082011-08-12 Ulrich Drepper <drepper@gmail.com>
12309
12310 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12311 was a dependency or dynamically loaded.
12312
89edf2e9
UD
123132011-08-11 Ulrich Drepper <drepper@gmail.com>
12314
8e999d29
UD
12315 * intl/l10nflist.c: Allow architecture-specific pop function.
12316 * sysdeps/x86_64/l10nflist.c: New file.
12317
89edf2e9
UD
12318 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12319 classification.
12320
14d96785
AS
123212011-08-10 Andreas Schwab <schwab@redhat.com>
12322
12323 * include/dirent.h: Add libc_hidden_proto for scandirat and
12324 scandirat64. Don't declare __scandirat64.
12325 * dirent/scandirat.c: Add libc_hidden_def.
12326 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12327 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12328
6761ac04
DM
123292011-08-10 David S. Miller <davem@davemloft.net>
12330
12331 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12332 enum.
12333 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12334 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12336
c55fbd1e
UD
123372011-08-09 Ulrich Drepper <drepper@gmail.com>
12338
12339 * Versions.def [libc]: Add GLIBC_2.15.
12340 * dirent/Makefile (routines): Add scandirat and scandirat64.
12341 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12342 GLIBC_2.15.
12343 * dirent/dirent.h: Declare scandirat and scandirat64.
12344 * dirent/scandirat.c: New file.
12345 * dirent/scandirat64.c: New file.
12346 * sysdeps/wordsize-64/scandirat.c: New file.
12347 * sysdeps/wordsize-64/scandirat64.c: New file.
12348 * dirent/opendir.c: Define opendirat.
12349 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12350 using scandirat.
12351 * dirent/scandir64.c: Adjust for scandir.c change.
12352 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12353 __scandirat64, and __scandir_cancel_handler.
12354 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12355 additional parameter and use openat instead of open (outside of ld.so).
12356 Add new __opendir as wrapper around __opendirat.
12357 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12358 here without requiring old scandirat implementation.
12359
879165f2
UD
123602011-08-08 Ulrich Drepper <drepper@gmail.com>
12361
12362 * dirent/scandir.c (cancel_handler): Renamed to
12363 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12364 defined. Adjust users.
12365 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12366 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12367
cb7e923b
UD
123682011-08-04 Ulrich Drepper <drepper@gmail.com>
12369
16292edd
UD
12370 * string/test-string.h (IMPL): Use __STRING to expand name and then
12371 stringify it.
12372
cb7e923b
UD
12373 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12374 of cleanups.
12375
cff82933
LD
123762011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12377
12378 * string/Makefile: Update.
12379 (strop-tests): Append strncat.
12380 * string/test-wcscmp.c: New file.
12381 New comprehensive test for wcscmp.
12382 * string/test-strcmp.c: Update.
12383 (WIDE): New define.
12384
9be9bfcc
AS
123852011-07-22 Andreas Schwab <schwab@redhat.com>
12386
12387 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12388 line.
12389
2e96f1c7
AS
123902011-07-26 Andreas Schwab <schwab@redhat.com>
12391
12392 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12393 encoding to ACE if AI_IDN.
12394
85188888
JJ
123952011-08-01 Jakub Jelinek <jakub@redhat.com>
12396
12397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12398 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12399
5fa16e9b
LD
124002011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12401
12402 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12403 Fix overflow bug in strncat.
12404 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12405
12406 * string/test-strncat.c: Update.
12407 Add new tests for checking overflow bugs.
12408
124092011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12410
12411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12412 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12413 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12414 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12415 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12416 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12417 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12418 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12419 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12420
12421 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12422 (USE_AS_STRCAT): Define.
12423 Add strcat and strncat support.
12424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12425
8c1a459f
AS
124262011-07-25 Andreas Schwab <schwab@redhat.com>
12427
12428 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12429 __n bigger than INT_MAX+1.
12430 (__strncmp_g): Likewise.
12431
bba33c28
UD
124322011-07-23 Ulrich Drepper <drepper@gmail.com>
12433
798be72d
UD
12434 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12435 * libio/stido.h: Likewise.
12436
8accd4dc
UD
12437 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12438 (AF_NFC): Define.
12439 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12440 (AF_NFC): Define.
12441
cbff0d96
UD
12442 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12443 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12445 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12446 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12447
9191c04a
UD
12448 [BZ #13021]
12449 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12450 installed.
12451
bba33c28
UD
12452 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12453 typo.
12454 (_dl_x86_64_save_sse): Likewise.
12455
90f139dd
UD
124562011-07-22 Ulrich Drepper <drepper@gmail.com>
12457
1aae088a
UD
12458 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12459 OSXSAVE.
12460 (_dl_x86_64_save_sse): Likewise.
12461
8e2045f5
UD
12462 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12463
90f139dd
UD
12464 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12465
1d002f25
AS
124662011-07-21 Andreas Schwab <schwab@redhat.com>
12467
12468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12469 change.
12470 (_dl_x86_64_save_sse): Use correct AVX check.
12471
21137f89
UD
124722011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12473
12474 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12475 bug in strncpy/strncat.
12476 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12477
a65c0b7a
UD
124782011-07-21 Ulrich Drepper <drepper@gmail.com>
12479
12480 * string/tester.c (test_strcat): Add tests for different alignments
12481 of source and destination.
12482 (test_strncat): Likewise.
12483
6986b98a
UD
124842011-07-20 Ulrich Drepper <drepper@gmail.com>
12485
90bb2039
UD
12486 [BZ #12852]
12487 * posix/glob.c (glob): Check passed in values before using them in
12488 expressions to avoid some overflows.
12489 (glob_in_dir): Likewise.
12490
5644ef54
UD
12491 [BZ #13007]
12492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12493 check for AVX enablement so that we don't crash with old kernels and
12494 new hardware.
12495 * elf/tst-audit4.c: Add same checks here.
12496 * elf/tst-audit6.c: Likewise.
12497
12498 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12499
bfc9dc9b
AS
125002011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12501
12502 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12503
702e64bb
UD
125042011-07-20 Ulrich Drepper <drepper@gmail.com>
12505
12506 * po/cs.po: Update from translation team.
12507 * po/bg.po: Likewise.
12508
295e904f
MP
125092011-07-12 Marek Polacek <mpolacek@redhat.com>
12510
12511 * misc/sys/cdefs.h: Add support for const attribute.
12512 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12513 to gnu_dev_{major,minor,makedev} functions.
12514
3ff94596
MP
125152011-07-20 Marek Polacek <mpolacek@redhat.com>
12516
12517 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12518
28b59fca
AS
125192011-07-20 Andreas Schwab <schwab@redhat.com>
12520
12521 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12522 strlen results.
12523
19df733e
AK
125242011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12525
12526 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12527 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12528 register in order to avoid conflicts with the soft frame pointer
12529 being held in r11 when necessary.
12530 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12531 (INTERNAL_VSYSCALL_NCS): Likewise.
12532
c8835729
MP
125332011-07-14 Marek Polacek <mpolacek@redhat.com>
12534
12535 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12536 * elf/dl-fini.c (_dl_fini): Adjust caller.
12537 * elf/dl-close.c (_dl_close_worker): Likewise.
12538 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12539
b902330c
MP
125402011-07-15 Marek Polacek <mpolacek@redhat.com>
12541
8991e135
MP
12542 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12543 "aux_cache->nlibs < 0".
12544
b902330c
MP
12545 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12546 in the reload-count case.
12547
99710781
LD
125482011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12549
12550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12551 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12552 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12553 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12554 * sysdeps/x86_64/multiarch/strcat.S: New file.
12555 * sysdeps/x86_64/multiarch/strncat.S: New file.
12556 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12557 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12558 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12559 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12560 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12561 (USE_AS_STRCAT): Define.
12562 Add strcat and strncat support.
12563 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12564 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12565 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12566 * string/strncat.c: Update.
12567 (USE_AS_STRNCAT): Define.
12568 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12569 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12570 and i7.
12571 * sysdeps/x86_64/multiarch/init-arch.h
12572 (bit_Prefer_PMINUB_for_stringop): New.
12573 (index_Prefer_PMINUB_for_stringop): Likewise.
12574 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12575 bit_Prefer_PMINUB_for_stringop.
12576
7dc6bd90
UD
125772011-07-19 Ulrich Drepper <drepper@gmail.com>
12578
12579 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12580 buffer64.
12581 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12582 of casting of buffer.
12583 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12584 buffer32 and buffer64.
12585 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12586 writes instead of casting of buffer.
12587 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12588 buffer32.
12589 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12590 casting of buffer.
12591
e0e72284
AS
125922011-07-19 Andreas Schwab <schwab@redhat.com>
12593
12594 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12595
feb1eb0b
UD
125962011-07-19 Ulrich Drepper <drepper@gmail.com>
12597
12598 * nscd/nscd.c (termination_handler): Don't do anything for a database
12599 if it has not yet been initialized.
12600
298711ff
UD
126012011-07-18 Ulrich Drepper <drepper@gmail.com>
12602
12603 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12604
126052011-07-15 Marek Polacek <mpolacek@redhat.com>
12606
12607 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12608
f9d68389
UD
126092011-07-18 Ulrich Drepper <drepper@gmail.com>
12610
12611 * po/nl.po: Update from translation team.
12612 * po/sv.po: Likewise.
12613
db290cf5
RM
126142011-07-16 Roland McGrath <roland@hack.frob.com>
12615
12616 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12617 now disallowed by GCC.
5c550700 12618
fd5e21c7
RM
12619 * configure.in (use-default-link): Default to yes if a test -shared
12620 link meets our qualifications.
12621 * configure: Regenerated.
12622
5c550700
RM
12623 * config.make.in (output-format): New variable.
12624 * configure.in: Check for ld --print-output-format support.
12625 * configure: Regenerated.
12626 * Makerules ($(common-objpfx)format.lds)
12627 [$(output-format) != unknown]: Just use $(output-format),
12628 instead of the linker-script munging.
12629
9fa2c032
RM
126302011-07-14 Roland McGrath <roland@hack.frob.com>
12631
a6928d51
RM
12632 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12633 of $(common-objpfx)shlib.lds.
12634 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12635
661607b3
RM
12636 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12637 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12638
9fa2c032
RM
12639 * configure.in (-z relro check): Adjust test code to add a large
12640 writable data section after it.
12641 * configure: Regenerated.
12642
defe9061
RM
126432011-07-11 Roland McGrath <roland@hack.frob.com>
12644
12645 * configure.in (-z relro check): Fix test code to make the variable
12646 truly const.
12647 * configure: Regenerated.
12648
319b9ad4
UD
126492011-07-11 Ulrich Drepper <drepper@gmail.com>
12650
12651 * nscd/nscd.h (struct traced_file): Define.
12652 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12653 elements. Add traced_files.
12654 (inotify_fd): Declare.
12655 (register_traced_file): Declare.
12656 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12657 (inotify_fd): Export.
12658 (resolv_conf_descr): Remove.
12659 (nscd_init): Move inotify descriptor creation to main.
12660 Don't register files for notification here.
12661 (register_traced_file): New function.
12662 (invalidate_cache): Don't use reset_res to determine whether to call
12663 res_init, go through the list of registered files.
12664 (main_loop_poll): The inotify descriptors are now stored in the
12665 structures for the traced files.
12666 (main_loop_epoll): Likewise
12667 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12668 to __nss_disable_nscd.
12669 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12670 for a database anymore. Check the records for all the registered
12671 files instead.
12672 * nss/Makefile (libnss_files-routines): Add files-init.
12673 (libnss_db-routines): Add db-init.
12674 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12675 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12676 * nss/nss_db/db-init.c: New file.
12677 * nss/nss_files/files-init.c: New file.
12678 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12679 __nss_lookup_function.
12680 (__nss_lookup_function): Call nss_load_library.
12681 (nss_load_all_libraries): New function.
12682 (__nss_disable_nscd): Take parameter with callback function for files
12683 to register. Set is_nscd. Load all the DSOs for the NSS modules
12684 used for the cached services.
12685 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12686 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12687 options for features to all the files in nscd.
12688
12689 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12690
23bee3e8
RM
126912011-07-10 Roland McGrath <roland@hack.frob.com>
12692
12693 * csu/elf-init.c (__libc_csu_init): Comment typo.
12694
46a5b7f0
UD
126952011-07-09 Ulrich Drepper <drepper@gmail.com>
12696
12697 * po/pl.po: Update from translation team.
12698 * po/ja.po: Likewise.
12699 * po/ru.po: Likewise.
12700 * po/ko.po: Likewise.
12701 * po/fr.po: Likewise.
12702
d30cf5bb
RM
127032011-07-09 Roland McGrath <roland@hack.frob.com>
12704
113ddea4
RM
12705 * configure.in (.ctors/.dtors header and trailer check):
12706 Use an empirical test on a built program.
12707 * configure: Regenerated.
12708
574920b4
RM
12709 * configure.in (-z relro check): Use an empirical test on a built DSO.
12710 Detect, but do not require, on ia64.
12711 * configure: Regenerated.
12712
d30cf5bb
RM
12713 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12714 Update tests that use readelf to use $READELF instead.
12715 * configure: Regenerated.
12716
8538fdb3
UD
127172011-07-08 Ulrich Drepper <drepper@gmail.com>
12718
12719 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12720 if the result is not used.
12721
04d08991
AJ
127222011-07-05 Andreas Jaeger <aj@suse.de>
12723
12724 [BZ#9696]
12725 * stdlib/tst-strtod.c: Add testcase.
12726
de283087
AD
127272011-07-07 Ulrich Drepper <drepper@gmail.com>
12728
4e5f31c8 12729 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12730 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12731 The latter has a higher limit. Take additional parameter to pass to
12732 the new function.
12733 (__pathconf): Pass file to __statfs_link_max.
12734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12735 __statfs_link_max.
12736 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12737 __statfs_link_max.
12738
de283087
AD
12739 [BZ #12868]
12740 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12742 Handle Lustre.
12743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12744 (__statfs_filesize_max): Likewise.
12745 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12746
c75fa153
AJ
127472011-07-05 Andreas Jaeger <aj@suse.de>
12748
12749 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12750
1a544854
UD
127512011-07-06 Marek Polacek <mpolacek@redhat.com>
12752
12753 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12754 `status' variable.
12755 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12756 Likewise.
12757
6f0eec67
UD
127582011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12759
12760 * Makefile (strop-tests): Add strncat.
12761 * string/test-strncat.c: New file.
12762
aae30307
UD
127632011-06-30 Marek Polacek <mpolacek@redhat.com>
12764
12765 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12766
c0cfb5eb
UD
127672011-06-21 Andreas Jaeger <aj@suse.de>
12768
12769 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12770 Copy rule from iconvdata/Makefile.
12771
01636b21
UD
127722011-07-06 Ulrich Drepper <drepper@gmail.com>
12773
12774 [BZ #12922]
12775 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12776 but no long options are defined, just return 'W'.
12777
9895c8bc
UD
127782011-06-22 Marek Polacek <mpolacek@redhat.com>
12779
12780 [BZ #9696]
12781 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12782
5d4cf042
UD
127832011-07-06 Ulrich Drepper <drepper@gmail.com>
12784
12785 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12786 netgroups to read.
960e5535 12787 (innetgr): Likewise.
5d4cf042 12788
751eb97e
RM
127892011-07-05 Roland McGrath <roland@hack.frob.com>
12790
12791 * config.make.in (install_root): Default to $(DESTDIR).
12792
f15f1e45
UD
127932011-07-05 Ulrich Drepper <drepper@gmail.com>
12794
12795 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12796
4e34ac6a
RM
127972011-07-02 Roland McGrath <roland@hack.frob.com>
12798
5e9b6af4
RM
12799 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12800
84f9ea0f
RM
12801 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12802 containing directory rather than embedding absolute directory names.
12803
ea5ee9f7
RM
12804 * scripts/check-local-headers.sh: Rewritten using awk.
12805 Match by word, not by line. Print error messages for matches.
12806 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12807
1b74661a
RM
12808 * Makerules [shlib-lds-flags empty]:
12809 ($(common-objpfx)libc_pic.opts): New target.
12810 ($(common-objpfx)libc_pic.os.clean): New target.
12811 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12812
12813 * config.make.in (OBJCOPY): New variable.
12814 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12815 * configure: Regenerated.
12816
f781ef40
RM
12817 * config.make.in (use-default-link): New variable.
12818 * configure.in (use_default_link): Grok --with-default-link to set it.
12819 * configure: Regenerated.
12820 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12821 (shlib-lds, shlib-lds-flags): Define to empty.
12822
2d4fa81e
RM
12823 * Makerules (shlib-lds): New variable.
12824 (shlib-lds-flags): New variable.
12825 (build-shlib, build-moduile, build-module-asneeded): Use it.
12826 ($(common-objpfx)libc.so): Use $(shlib-lds).
12827 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12828 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12829
31fffa6b
RM
12830 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12831 DT_FLAGS/DT_FLAGS_1 with zero flags.
12832
4e34ac6a
RM
12833 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12834 linker script munging.
12835
fcfc776b
UD
128362011-07-02 Ulrich Drepper <drepper@gmail.com>
12837
12838 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12839 as 128-bit value.
12840 * crypt/sha512.c (sha512_process_block): Perform total addition using
12841 128-bit if possible.
12842 (__sha512_finish_ctx): Likewise.
12843 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12844 as 64-bit value.
12845 * crypt/sha256.c (SWAP64): Define.
12846 (sha256_process_block): Perform total addition using 64-bit if
12847 possible.
12848 (__sha256_finish_ctx): Likewise.
12849
99231d9a
UD
128502011-07-01 Ulrich Drepper <drepper@gmail.com>
12851
12852 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12853 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12854 * nscd/hstcache.c (cache_addhst): Likewise.
12855 * nscd/grpcache.c (cache_addgr): Likewise.
12856 * nscd/aicache.c (addhstaiX): Likewise
12857 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12858
445b4a53
TK
128592011-07-01 Thorsten Kukuk <kukuk@suse.de>
12860
12861 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12863 * nscd/hstcache.c (cache_addhst): Likewise.
12864 * nscd/grpcache.c (cache_addgr): Likewise.
12865 * nscd/aicache.c (addhstaiX): Likewise
12866
6d4d8e8e
AS
128672011-07-01 Andreas Schwab <schwab@redhat.com>
12868
12869 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12870 domain only when needed.
12871
89f654c5
AS
128722011-06-30 Andreas Schwab <schwab@redhat.com>
12873
12874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12875 is always restored.
12876
cf3b23ff
UD
128772011-06-29 Ulrich Drepper <drepper@gmail.com>
12878
12879 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12880 are re-adding the entry.
12881 * nscd/servicescache.c (cache_addserv): Likewise.
12882
751626f9
AJ
128832011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12884
12885 * sysdeps/generic/dl-irel.h: fix protection against multiple
12886 inclusions.
12887 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12888
9113ea1f
UD
128892011-06-28 Ulrich Drepper <drepper@gmail.com>
12890
5c0b8d90
UD
12891 [BZ #12935]
12892 * malloc/memusage.sh: Fix quoting in message.
12893 * debug/xtrace.sh: Likewise.
12894
9113ea1f
UD
12895 * configure.in: Remove support for --experimental-malloc option, make
12896 it the default.
12897 * config.make.in: Likewise.
12898 * malloc/Makefile: Likewise.
12899
a4172181
AS
129002011-06-27 Andreas Schwab <schwab@redhat.com>
12901
12902 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12903 two-byte characters.
12904
78a7eee7
RM
129052011-06-27 Roland McGrath <roland@hack.frob.com>
12906
62bede13
RM
12907 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12908 AC_CACHE_CHECK invocation.
12909 * configure: Regenerated.
12910
78a7eee7
RM
12911 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12912
5ce33a62
UD
129132011-06-27 Ulrich Drepper <drepper@gmail.com>
12914
034807a9
UD
12915 [BZ #12350]
12916 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12917 bit from old_res_options.
12918
4902da17
UD
12919 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12920
5ce33a62
UD
12921 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12922 value type for setfct.
12923
c2344f56
L
129242011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12925
12926 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12927 __gettimeofday instead of gettimeofday.
12928
68468076
UD
129292011-06-26 Ulrich Drepper <drepper@gmail.com>
12930
12931 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12932
acb0d739
L
129332011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12936
12937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12938 info.
12939
8912479f
L
129402011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12941
12942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12943 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12944 strcpy-sse2-unaligned strncpy-sse2-unaligned
12945 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12946 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12947 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12948 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12949 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12950 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12951 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12952 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12953 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12954 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12955 (STRCPY): Support SSE2 and SSSE3 versions.
12956
d5495a11
UD
129572011-06-24 Ulrich Drepper <drepper@gmail.com>
12958
12959 [BZ #12874]
12960 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12961 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12962 kernels which artificially limit size of requests.
12963
0b1cbaae
L
129642011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12967 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12968 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12969 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12970 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12971 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12972 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12973 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12975 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12976 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12977 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12978 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12979 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12980 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12982 Enable unaligned load optimization for Intel Core i3, i5 and i7
12983 processors.
12984 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12985 Define.
12986 (index_Fast_Unaligned_Load): Define.
12987 (HAS_FAST_UNALIGNED_LOAD): Define.
12988
07f494a0
MP
129892011-06-23 Marek Polacek <mpolacek@redhat.com>
12990
12991 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12992
fa3fc0fe
UD
129932011-06-22 Ulrich Drepper <drepper@gmail.com>
12994
12995 [BZ #12907]
12996 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12997 until it is clear that the information is realy needed.
12998 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12999
e12df166
AS
130002011-06-22 Andreas Schwab <schwab@redhat.com>
13001
13002 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
13003
852eb34d
UD
130042011-06-22 Ulrich Drepper <drepper@gmail.com>
13005
84e2a551
UD
13006 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
13007 /sys/devices/system/cpu/online if it is usable.
13008
852eb34d
UD
13009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
13010 reading the information from the /proc filesystem to once a second.
13011
6e502e19
UD
130122011-06-21 Andreas Jaeger <aj@suse.de>
13013
13014 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
13015 NULL after inclusion of kernel headers.
13016
75d39ff2
UD
130172011-06-21 Ulrich Drepper <drepper@gmail.com>
13018
51f9aa6a
UD
13019 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
13020 calls to internal_setent.
13021
c0244a9d
UD
13022 [BZ #12885]
13023 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
13024 addresses using gethostbyname4_r ignore IPv4 addresses.
13025
c5e3c2ae
UD
13026 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
13027 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
13028
75d39ff2
UD
13029 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
13030
42675c6f
DM
130312011-06-20 David S. Miller <davem@davemloft.net>
13032
13033 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
13034 inclusions.
13035 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
13036
13037 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
13038 (elf_irel): Use it.
13039 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
13040 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
13041 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
13042 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
13043 * sysdeps/x86_64/dl-irel.h: Likewise.
13044
13045 * elf/dl-runtime.c: Use elf_ifunc_invoke.
13046 * elf/dl-sym.c: Likewise.
13047
57912a71
UD
130482011-06-15 Ulrich Drepper <drepper@gmail.com>
13049
13050 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
13051 need to dereference resplen2.
13052
ee22793d
AS
130532011-06-14 Andreas Schwab <schwab@redhat.com>
13054
13055 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
13056
a9e836b0
UD
130572011-06-15 Ulrich Drepper <drepper@gmail.com>
13058
77fb9117
UD
13059 * Makeconfig: Define vardbdir and inst_vardbdir.
13060 * nss/Makefile: Add rules to install db-Makefile.
13061
40c1b22c
UD
13062 * nss/nss_db/db-XXX.c: Cleanup.
13063
9f2da732
UD
13064 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
13065 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
13066 GLIBC_PRIVATE.
13067 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
13068 * nss/makedb.c: Implement -g option to specify that value strings
13069 are generated and should not be added to table iterated over for
13070 get*ent calls.
13071 * nss/nss_db/db-initgroups.c: New file.
13072
82e9a1f7
UD
13073 * nss/getent.c: Add support for initgroups lookups through getgrouplist
13074 interface.
13075
c41af17e
UD
13076 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
13077 (internal_getgrouplist): Adjust to name change.
13078 Update use_initgroups_entry if this is not the first call.
13079 * nss/databases.def: Add initgroups entry.
13080
a9e836b0
UD
13081 * nss/makedb.c (compute_tables): Check result of multiple hash table
13082 sizes to minimize maximum chain length.
13083
2666d441
UD
130842011-06-14 Ulrich Drepper <drepper@gmail.com>
13085
13086 * Versions.def: Add entry for libnss_db.
13087 * shlib-versions: Likewise.
13088 * nss/Makefile: Add rules to build libnss_db.
13089 * nss/Versions: Add libnss_db information. Organize libnss_files
13090 entries better.
13091 * nss/db-Makefile: Add gshadow support. Change rules for the new
13092 makedb progra. Some minor improvements to generate smaller files.
13093 * nss/nss_db/nss_db.h: Move NSS database header data structures to
13094 here from...
13095 * nss/makedb.c: ...here.
13096 Improve database format to be smaller and require less memory at
13097 runtime.
13098 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
13099 db anymore.
13100 * nss/nss_db/db-netgrp.c: Likewise.
13101 * nss/nss_db/db-open.c: Likewise.
13102 * nss/nss_files/flies-XXX.x: Adjust comments.
13103 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
13104 * nss/nss_files/files-grp.c: Likewise.
13105 * nss/nss_files/files-hosts.c: Likewise.
13106 * nss/nss_files/files-network.c: Likewise.
13107 * nss/nss_files/files-proto.c: Likewise.
13108 * nss/nss_files/files-pwd.c: Likewise.
13109 * nss/nss_files/files-rpc.c: Likewise.
13110 * nss/nss_files/files-service.c: Likewise.
13111 * nss/nss_files/files-sgrp.c: Likewise.
13112 * nss/nss_files/files-spwd.c: Likewise.
13113 * nss/nss_db/db-alias.c: Removed.
13114 * nss/nss_db/dummy-db.h: Removed.
13115
9ee76b5a
UD
131162011-06-02 Ulrich Drepper <drepper@gmail.com>
13117
13118 * nss/makedb.c: Rewritten to not use database library.
13119 * nss/Makefile: Update to build new makedb program.
13120
c71ca1f8
AJ
131212011-06-14 Andreas Jaeger <aj@suse.de>
13122
13123 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
13124 memset declaration.
13125
3154bfb8
UD
131262011-06-10 Andreas Schwab <schwab@redhat.com>
13127
13128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
13129 tmpbuf.
13130
b350afab
RM
131312011-06-10 Roland McGrath <roland@hack.frob.com>
13132
decd4e50
RM
13133 * Makerules (shlib.lds): Fail if the linker script comes out empty.
13134 * elf/Makefile ($(objpfx)ld.so): Likewise.
13135
5615eaf2
RM
13136 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
13137 Don't list ld.so twice in dependencies.
13138
13139 * posix/bug-regex31.c: Include <stdlib.h>.
13140
13141 * nscd/hstcache.c (cache_addhst): Remove unused variable.
13142
13143 * nis/nss_compat/compat-spwd.c
13144 (getspent_next_nss_netgr): Remove unused variable.
13145 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
13146
13147 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
13148 nonmembers" output to use the right array.
13149
13150 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
13151
13152 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
13153
13154 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
13155 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
13156 * catgets/gencat.c (read_input_file): Likewise.
13157 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13158
13159 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13160 variable definition inside #if's controlling its use.
13161
13162 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13163
13164 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13165
13166 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13167
13168 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13169 unreachable code.
13170
13171 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13172
b68e08db
RM
13173 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13174 * configure: Regenerated.
13175
b350afab
RM
13176 * Makerules: Revert last change.
13177 * elf/Makefile: Likewise.
13178
28368601
RM
131792011-06-09 Roland McGrath <roland@hack.frob.com>
13180
13181 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13182 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13183 (reloc-link): Likewise.
13184
11988f8f
UD
131852011-06-09 Ulrich Drepper <drepper@gmail.com>
13186
13187 * elf/Makefile: Add rules to build pldd.
13188 * elf/pldd.c: New file.
13189 * elf/pldd-xx.c: New file.
13190
e80fab37
UD
131912011-06-07 Ulrich Drepper <drepper@gmail.com>
13192
13193 * version.h: Update for 2.15 development version.
13194
9b849836
DM
131952011-06-07 David S. Miller <davem@davemloft.net>
13196
13197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13198 ifuncs.
13199 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13200 elf_machine_lazy_rel): Likewise.
13201 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13202 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13203 elf_machine_lazy_rel): Likewise.
13204 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13205 dl_hwcap via passed in argument.
13206 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13207 Likewise.
13208
5a31b283
AK
132092011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13210
13211 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13212
069e52f8
RM
132132011-06-06 Roland McGrath <roland@hack.frob.com>
13214
13215 [BZ #12849]
13216 * manual/fdl-1.1.texi: New file, verbatim from:
13217 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13218 * manual/lgpl-2.1.texi: New file, verbatim from:
13219 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13220 * manual/Makefile (licenses): New variable, list those new file names.
13221 (texis): Use it.
13222 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13223
13224 * manual/fdl.texi: File removed.
13225 * manual/lesser.texi: File removed.
13226 * manual/libc.texinfo (Copying, Documentation License):
13227 Use new @include file names, put @appendix directive before @include.
13228
f16846a5
JJ
132292011-06-04 Jakub Jelinek <jakub@redhat.com>
13230
13231 [BZ #12841]
13232 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13233 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13234 (mq_open): Add __NTH.
13235
3d29045b
L
132362011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13239 Assume Intel Core i3/i5/i7 processor if AVX is available.
13240
8c297311
UD
132412011-05-31 Ulrich Drepper <drepper@gmail.com>
13242
13243 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13244 typo.
13245
c8fc0c91
UD
132462011-05-31 Andreas Schwab <schwab@redhat.com>
13247
13248 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13249 memory. Use alloca_account. Fix memory leak when retrying.
13250
5b27a807
UD
132512011-05-31 Ulrich Drepper <drepper@gmail.com>
13252
356f8bc6
UD
13253 * version.h (RELEASE): Bump for 2.14 release.
13254 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13255
5b27a807
UD
13256 * config.make.in (RANLIB): Remove entry.
13257
01f16ab0
UD
132582011-05-30 Ulrich Drepper <drepper@gmail.com>
13259
41fce8bd
UD
13260 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13261 (libc.pot): Work around missing support for .ksh extension in xgettext.
13262
4769ae77
UD
13263 [BZ #12684]
13264 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13265 if both request failed.
13266 (send_dg): In case of server errors clear resplen or *resplen2.
13267
6b1e7d19
UD
13268 [BZ #12454]
13269 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13270 when there are multiple maps.
13271 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13272 (_dl_fini): Remove test here.
13273
01f16ab0
UD
13274 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13275
b1ebd700
UD
132762011-05-29 Ulrich Drepper <drepper@gmail.com>
13277
7ae22829
UD
13278 [BZ #12350]
13279 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13280 bit from old_res_options.
13281 (gaih_inet): Likewise.
13282
553149f6 13283 [BZ #11099]
18a84741 13284 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13285 as signed.
13286
652ffab1
UD
13287 * resolv/res_init.c (res_setoptions): Make the code more compact.
13288
16985fd0
UD
13289 [BZ #11558]
13290 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13291 set RES_USEVC.
13292
0464f746
UD
13293 [BZ #11634]
13294 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13295
7d17596c
UD
13296 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13297
cf6bbbd7
UD
13298 [BZ #11781]
13299 * malloc/malloc.h: Declare malloc hook variables as volatile.
13300
13f1ab36
UD
13301 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13302 in last patch.
13303
b1ebd700
UD
13304 [BZ #11799]
13305 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13306 raise in the comment.
80e2212d
UD
13307 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13308 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13309 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13310
ce67228d
UD
133112011-05-28 Ulrich Drepper <drepper@gmail.com>
13312
8887a920
UD
13313 [BZ #12811]
13314 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13315 grow the buffers more if it already has to be sufficient.
13316 (build_wcs_upper_buffer): Likewise.
13317 * posix/regexec.c (check_matching): Likewise.
13318 (clean_state_log_if_needed): Likewise.
13319 (extend_buffers): Don't enlarge buffers beyond size of the input
13320 buffer.
13321 Patches mostly by Emil Wojak <emil@wojak.eu>.
13322 * posix/bug-regex32.c: New file.
13323 * posix/Makefile (tests): Add bug-regex32.
13324
4f031072
UD
13325 * locale/findlocale.c (_nl_find_locale): Return right away if
13326 _nl_explode_name failed.
13327 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13328
d0478f0c
UD
13329 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13330
de81b246
UD
13331 * debug/xtrace.sh: Unify messages.
13332 * malloc/memusage.sh: Likewise.
13333
c738465a
UD
13334 [BZ #12813]
13335 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13336 time symbol from vDSO. Substitute with vsyscall if not available.
13337 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13338 __vdso_time.
13339
f1f929d7
UD
13340 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13341 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13342 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13343 Add sendmmsg and internal_sendmmsg.
13344 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13345 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13347
ce67228d
UD
13348 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13349 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13351
e57420c6
UD
133522011-05-27 Ulrich Drepper <drepper@gmail.com>
13353
a8509ca5
UD
13354 [BZ #12813]
13355 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13356 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13357 available.
13358 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13359 __vdso_getcpu.
13360
e57420c6
UD
13361 [BZ #12814]
13362 * iconvdata/Makefile (tests): Add bug-iconv9.
13363 * iconvdata/bug-iconv9.c: New file.
13364
4d07db15
AS
133652011-05-27 Andreas Schwab <schwab@redhat.com>
13366
13367 [BZ #12814]
13368 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13369
ea486f69
JJ
133702011-05-25 Jakub Jelinek <jakub@redhat.com>
13371
13372 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13373 (struct user_regs_struct): Change intcs field back to cs.
13374
6f038433
UD
133752011-05-25 Ulrich Drepper <drepper@gmail.com>
13376
13377 * po/ja.po: Update from translation team.
13378
67f86a25
UD
133792011-05-23 Ulrich Drepper <drepper@gmail.com>
13380
13381 [BZ #12795]
13382 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13383 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13384
def7fbd6
AS
133852011-05-20 Andreas Schwab <schwab@redhat.com>
13386
13387 * stdlib/longlong.h: Update from GCC.
13388
f50ef8f1
AS
133892011-05-23 Andreas Schwab <schwab@redhat.com>
13390
13391 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13392 parameter name.
13393 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13394 Add parameter name.
13395 (__sysconf): Pass it down.
13396
de7ce8f1
UD
133972011-05-22 Ulrich Drepper <drepper@gmail.com>
13398
f2962a71
UD
13399 [BZ #12671]
13400 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13401 some situations.
13402 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13403 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13404 add in in __libc_use_alloca calls. Adjust callers.
13405 (glob): Use malloc in some situations.
13406
de7ce8f1
UD
13407 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13408 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13409 pltexit.
13410
aec84f53
UD
134112011-05-21 Ulrich Drepper <drepper@gmail.com>
13412
05bb4a68
UD
13413 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13414 and CLOCK_BOOTTIME_ALARM.
13415
7ea72f99
UD
13416 [BZ #12782]
13417 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13418 is returned.
13419
7e4afad5
UD
13420 * string/_strerror.c (__strerror_r): Print negative errors as signed
13421 numbers.
13422
8e211fec
UD
13423 [BZ #12777]
13424 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13425 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13426 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13427
f7d82dc9
UD
13428 * configure.in: Fix typo in redirection and correct removal of test
13429 files in two cases.
13430
cc9e536d
UD
13431 [BZ #12788]
13432 * locale/setlocale.c (new_composite_name): Fix test to check for
13433 identical name of all categories.
13434
aec84f53
UD
13435 [BZ #12792]
13436 * libio/filedoalloc.c (local_isatty): New function.
13437 (_IO_file_doallocate): Use local_isatty.
13438 * stdio-common/perror.c (perror): In case a new stream is used
13439 forward the stream error.
13440 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13441 error flag.
13442
78e64fdc
RT
134432011-05-20 Ulrich Drepper <drepper@gmail.com>
13444
34a9094f
UD
13445 [BZ #11869]
13446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13447 alloca.
13448 * include/alloca.h (extend_alloca_account): Define.
13449
78e64fdc
RT
13450 [BZ #11857]
13451 * posix/regex.h: Fix comments with documentation of user-accessible
13452 fields after compilation and describe correct free'ing of pattern
13453 after re_compile_pattern.
13454 Patch by Reuben Thomas <rrt@sc3d.org>.
13455
457bddfc
RA
134562011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13457
13458 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13459 and -mno-altivec to prevent the compiler from using Altivec and/or
13460 VSX instructions when the corresponding registers are not available.
13461
a4527b51
AS
134622011-05-19 Andreas Schwab <schwab@redhat.com>
13463
13464 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13465
ed690b2f
UD
134662011-05-19 Ulrich Drepper <drepper@gmail.com>
13467
13468 * libio/freopen.c (freopen): Use __dup2, not dup2.
13469 * libio/freopen64.c (freopen64): Likewise.
13470
8db73634
L
134712011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 [BZ #12775]
13474 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13475 * math/Makefile (tests): Add test-powl.
13476 (CFLAGS-test-powl.c): Define.
13477 * math/test-powl.c: New file.
13478
0a197a9d
L
134792011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13480
13481 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13482
ee30c380
UD
134832011-05-17 Ulrich Drepper <drepper@gmail.com>
13484
13485 [BZ #11837]
13486 * iconvdata/gb18030.c: Update to GB18020-2005.
13487
6ce75379
UD
134882011-05-16 Ulrich Drepper <drepper@gmail.com>
13489
a4b89fd8
AR
13490 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13491 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13492 Patch by Aharon Robbins <arnold@skeeve.com>.
13493
ea389b12
UD
13494 [BZ #11892]
13495 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13496 on the stack.
13497
68a3f91f
UD
13498 [BZ #11895]
13499 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13500 through underflows.
13501
15cc7dd1
UD
13502 [BZ #12766]
13503 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13504 point to strings before performing equality test for error_one_per_line
13505 mode.
13506
f3799213
UD
13507 [BZ #11697]
13508 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13509
d79a9c94
UD
13510 [BZ #11820]
13511 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13512 (struct user_fpregs_struct): Avoid __uint*_t types.
13513
56e5eb46
UD
13514 [BZ #6420]
13515 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13516 symbol info. Use it instead of calling _dl_addr locally.
13517 (lock_and_info): New function.
13518 (tr_freehook): Call lock_and_info and pass symbol info as additional
13519 parameter to tr_where.
13520 (tr_mallochook): Likewise.
13521 (tr_reallochook): Likewise.
13522 (tr_memalignhook): Likewise.
13523
6ce75379
UD
13524 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13525 used and couldn't be at all thread-safe.
13526
f8a3b5bf
UD
135272011-05-15 Ulrich Drepper <drepper@gmail.com>
13528
94b7cc37
UD
13529 * libio/freopen.c (freopen): Don't close old file descriptor
13530 before the new one is opened. Instead dup the new file descriptor
13531 to the old one after the new stream is created.
13532 * libio/freopen64.c (freopen64): Likewise.
13533 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13534 * libio/fileops.c (_IO_new_file_close_it): Handle new
13535 _IO_FLAGS2_NOCLOSE flag.
13536 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13537 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13538 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13539 _IO_FLAGS2_NOCLOSE flag.
13540 * include/unistd.h: Add hidden_proto for dup3.
13541 Define __have_dup3.
13542 * io/dup3.c: Define hidden symbol.
13543 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13544
bd25564e
UD
13545 [BZ #7101]
13546 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13547 when an incomplete long option is used.
13548 * posix/tst-getopt_long1.c: New file.
13549 * posix/Makefile (tests): Add tst-getopt_long1.
13550
c84cfef4
UD
13551 [BZ #10138]
13552 * scripts/config.guess: Update from autoconf-2.68.
13553 * scripts/config.sub: Likewise.
13554
3b85df27
UD
13555 [BZ #10157]
13556 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13557 tests into ...
13558 (has_cpuclock): ...this. New function.
13559 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13560 macro here based on has_cpuclock code.
13561
15a856b1
UD
13562 [BZ #10149]
13563 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13564 First byte (not low byte) is now always NUL.
13565 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13566
05f399e6
UD
13567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13568 Use non-cancelable interfaces.
13569
10a52685 13570 [BZ #9809]
94ecc67d
UD
13571 * locale/iso-639.def: Add entry for Sorani.
13572
f8a3b5bf
UD
13573 [BZ #11901]
13574 * include/stdlib.h: Move include protection to the right place.
13575 Define abort_msg_s. Declare __abort_msg with it.
13576 * stdlib/abort.c (__abort_msg): Adjust type.
13577 * assert/assert.c (__assert_fail_base): New function. Majority
13578 of code from __assert_fail. Allocate memory for __abort_msg with
13579 mmap.
13580 (__assert_fail): Now call __assert_fail_base.
13581 * assert/assert-perr.c: Remove bulk of implementation. Use
13582 __assert_fail_base.
13583 * include/assert.hL Declare __assert_fail_base.
13584 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13585 mmap.
13586 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13587
1af4e298
UD
135882011-05-14 Ulrich Drepper <drepper@gmail.com>
13589
f8a3b5bf 13590 [BZ #11952]
d26dfc60
MG
13591 [BZ #12453]
13592 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13593 until all modules are registered in the DTV.
13594 * elf/Makefile: Add rules to build and run tst-tls19.
13595 * elf/tst-tls19.c: New file.
13596 * elf/tst-tls19mod1.c: New file.
13597 * elf/tst-tls19mod2.c: New file.
13598 * elf/tst-tls19mod3.c: New file.
13599 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13600
2fc54d6f
UD
13601 [BZ #12083]
13602 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13603 correctly.
13604
98d76b46
UD
13605 [BZ #12601]
13606 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13607 two-byte sequence errors.
13608 * iconvdata/Makefile (tests): Add bug-iconv8.
13609 * iconvdata/bug-iconv8.c: New file.
13610
da3c19ef
UD
13611 [BZ #12626]
13612 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13613 buf2 definition.
13614
ca408c15
UD
13615 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13616
d6f67f7d
UD
13617 [BZ #12432]
13618 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13619 (dummy_getcfa): New function.
13620 (init): Get _Unwind_GetCFA address, use dummy if not found.
13621 (backtrace_helper): In recursion check, also check whether CFA changes.
13622 (__backtrace): Completely initialize arg.
13623
1af4e298 13624 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13625 storing incomplete byte sequence in state object. Avoid testing for
13626 guaranteed too small input if we know there is enough data available.
1af4e298 13627
da62f81b
AS
136282011-05-11 Andreas Schwab <schwab@redhat.com>
13629
13630 * Makeconfig (+link-pie): Indent.
13631 * Rules (binaries-pie): Define if $(have-fpie) and
13632 $(build-shared).
13633 (binaries-shared): Also filter out $(binaries-pie).
13634 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13635 * nscd/Makefile (others-pie): Add nscd.
13636 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13637 ($(objpfx)nscd): Remove command override.
13638 * login/Makefile (others-pie): Add pt_chown.
13639 ($(objpfx)pt_chown): Remove command override.
13640 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13641 remove command overrides.
13642
fcabc0f8
UD
136432011-05-13 Ulrich Drepper <drepper@gmail.com>
13644
20030ae6
UD
13645 * libio/tst_putwc.c: Fix error messages.
13646
fcabc0f8
UD
13647 [BZ #12724]
13648 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13649 currently writing and seek to current position when not.
13650 * libio/Makefile (tests): Add bug-fclose1.
13651 * libio/bug-fclose1.c: New file.
13652
320a5dc0
PB
136532011-05-12 Ulrich Drepper <drepper@gmail.com>
13654
13655 [BZ #12511]
13656 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13657 don't set DF_1_NODELETE here.
13658 (do_lookup_x): When entering new entry test for copy relocation
13659 and if necessary set DF_1_NODELETE flag.
13660 * elf/tst-unique4.cc: New file.
13661 * elf/tst-unique4.h: New file.
13662 * elf/tst-unique4lib.cc: New file.
13663 * elf/Makefile: Add rules to build and run tst-unique4.
13664 Patch by Piotr Bury <pbury@goahead.com>.
13665
22836f52
UD
136662011-05-11 Ulrich Drepper <drepper@gmail.com>
13667
f574184a
UD
13668 [BZ #12052]
13669 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13670
e1fb097f
UD
13671 [BZ #12625]
13672 * misc/mntent_r.c (addmntent): Flush the stream after the output
13673
22836f52
UD
13674 [BZ #12393]
13675 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13676 (is_trusted_path_normalize): Skip initial colon. Append slash
13677 to empty buffer. Duplicate is_trusted_path code but allow
13678 constructed patch to be prefix.
13679 (is_dst): Allow $ORIGIN followed by /.
13680 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13681 Correct testing of result of is_trusted_path_normalize
13682 (decompose_rpath): Fix warning.
13683
7b3b0b2a
UD
136842011-05-10 Ulrich Drepper <drepper@gmail.com>
13685
13686 [BZ #11257]
13687 * grp/initgroups.c (internal_getgrouplist): When we found the service
13688 list through the initgroups entry in nsswitch.conf do not always
13689 continue on a successful lookup. Don't always use the
eac80ce2 13690 __nss_group_database value if it is set.
7b3b0b2a
UD
13691 * nss/nsswitch.conf (initgroups): Change action for successful db
13692 lookup to continue for compatibility.
13693
2a81eaa5
UD
136942011-05-09 Ulrich Drepper <drepper@gmail.com>
13695
be97a69e
UD
13696 [BZ #11532]
13697 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13698 and CP774 modules.
13699 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13700 and CP774 modules.
13701 * iconvdata/tst-tables.sh: Likewise.
13702 * iconvdata/cp770.c: New file.
13703 * iconvdata/cp771.c: New file.
13704 * iconvdata/cp772.c: New file.
13705 * iconvdata/cp773.c: New file.
13706 * iconvdata/cp774.c: New file.
13707 * iconvdata/testdata/CP770: New file.
13708 * iconvdata/testdata/CP770..UTF8: New file.
13709 * iconvdata/testdata/CP771: New file.
13710 * iconvdata/testdata/CP771..UTF8: New file.
13711 * iconvdata/testdata/CP772: New file.
13712 * iconvdata/testdata/CP772..UTF8: New file.
13713 * iconvdata/testdata/CP773: New file.
13714 * iconvdata/testdata/CP773..UTF8: New file.
13715 * iconvdata/testdata/CP774: New file.
13716 * iconvdata/testdata/CP774..UTF8: New file.
13717
13718 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13719 END CHARMAP line.
13720 * iconvdata/gen-8bit-gap.sh: Likewise.
13721 * iconvdata/gen-8bit.sh: Likewise.
13722
c1e9e399
UD
13723 * locale/iso-639.def: Add ary entry.
13724
24c55fb3 13725 [BZ #11258]
96b4b1b0
UD
13726 * locale/C-translit.h.in: Add U20A1 transliteration.
13727
bdc2f971
KB
13728 [BZ #12178]
13729 * locale/iso-639.def: Add wae entry.
13730 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13731
2952b117
UD
13732 [BZ #12545]
13733 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13734 for n.
13735
2a81eaa5
UD
13736 [BZ #12711]
13737 * locale/C-translit.h.in: Add entry for U20B9.
13738 Patch by pravin.d.s@gmail.com.
13739
28377d1b
UD
137402011-05-08 Ulrich Drepper <drepper@gmail.com>
13741
7fb90fb8
UD
13742 [BZ #12713]
13743 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13744 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13745 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13746 in rtld. Use *stat64.
7fb90fb8 13747 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13748 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13749 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13750 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13751 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13752 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13753 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13754 __fstatat64 macros.
7fb90fb8
UD
13755 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13756 * dirent/rewinddir.c: Add libc_hidden_def.
13757 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13758 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13759
28377d1b
UD
13760 * include/dirent.h (__alloc_dir): Add flags parameter.
13761 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13762 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13763 __alloc_dir.
13764 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13765 from fdopendir if O_CLOEXEC is already set.
13766
66bdbaa4
AM
137672011-03-15 Alan Modra <amodra@gmail.com>
13768
13769 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13770 l_tls_firstbyte_offset non-zero. Save padding offset in
13771 l_tls_firstbyte_offset for later use.
13772 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13773 freeing static tls block.
13774
95721191
JN
137752011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13776
13777 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13778 where #ifdef was intended. The intent is to prevent ARG_MAX from
13779 being defined by the kernel headers.
13780
f87dfb1f
UD
137812011-05-07 Ulrich Drepper <drepper@gmail.com>
13782
13783 [BZ #12734]
13784 * resolv/resolv.h: Define RES_NOTLDQUERY.
13785 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13786 no-tld-query and set RES_NOTLDQUERY.
13787 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13788 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13789 modern BIND to search name as TLD unless forbidden.
13790
47c3cd7a
UD
137912011-05-07 Petr Baudis <pasky@suse.cz>
13792 Ulrich Drepper <drepper@gmail.com>
13793
13794 [BZ #12393]
13795 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13796 (is_trusted_path): ...to here.
c1e9ea35 13797 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13798 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13799 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13800
8a35c912
PP
138012011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13802
13803 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13804 __BEGIN/__END_DECLS.
13805
acd41f47
UD
138062011-05-06 Ulrich Drepper <drepper@gmail.com>
13807
13808 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13809 NSS_STATUS_NOTFOUND if no record was found.
13810
597df647
AS
138112011-05-05 Andreas Schwab <schwab@redhat.com>
13812
13813 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13814 (headers-not-in-tirpc): Remove rpc/netdb.h
13815 * resolv/netdb.h: Revert last change.
13816
b9af1301
PP
138172011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13818
13819 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13820 circular dependency between libgcc.a and libc.a.
13821
4e34d5f5
AS
138222011-05-05 Andreas Schwab <schwab@redhat.com>
13823
13824 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13825 * nis/Makefile: Don't install rpcsvc/*.
13826 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13827 instead of <rpc/types.h>.
13828 (MAXHOSTNAMELEN): Define.
13829
00ee369c
AS
138302011-05-03 Andreas Schwab <schwab@redhat.com>
13831
13832 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13833
0b592a30
MB
138342011-04-28 Maciej Babinski <mbabinski@google.com>
13835
13836 [BZ #12714]
13837 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13838 gethostbyname4_r when IPv6 results are possible.
13839
6e04cbbe
UD
138402011-05-02 Ulrich Drepper <drepper@gmail.com>
13841
13842 [BZ #12723]
13843 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13844 _PC_PIPE_BUF handling.
13845
e4ecafe0
BH
138462011-04-30 Bruno Haible <bruno@clisp.org>
13847
13848 [BZ #12717]
13849 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13850 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13851 to 'int'.
13852 * inet/getnameinfo.c (getnameinfo): Likewise.
13853
125ee683
UD
138542011-04-29 Ulrich Drepper <drepper@gmail.com>
13855
13856 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13857 to groups setting in database lookup.
13858 * nss/nsswitch.conf: Add initgroups entry.
13859
b722481a
EB
138602011-04-22 Ulrich Drepper <drepper@gmail.com>
13861
13862 [BZ #12685]
13863 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13864 mode string.
13865 Patch by Eric Blake <eblake@redhat.com>.
13866
4df46dbd
L
138672011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13868
13869 * sunrpc/Makefile (need-export-routines): Add svc_run.
13870 (routines): Remove svc_run.
13871 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13872 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13873 * sunrpc/svc_run.c (svc_run): Likewise.
13874 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13875
e84142d2
UD
138762011-04-21 Ulrich Drepper <drepper@gmail.com>
13877
13878 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13879 problem in reallocation in last patch.
13880
877175d8
UD
138812011-04-20 Ulrich Drepper <drepper@gmail.com>
13882
13883 * sunrpc/Makefile: Move inclusion of Rules.
13884
ab8eed78
UD
138852011-04-19 Ulrich Drepper <drepper@gmail.com>
13886
13887 * nss/nss_files/files-initgroups.c: New file.
13888 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13889 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13890 _nss_files_initgroups_dyn.
13891
e3d8f584
RS
138922011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13893
13894 * elf/elf.h (R_ARM_IRELATIVE): Define.
13895
af190f45
UD
138962011-04-19 Ulrich Drepper <drepper@gmail.com>
13897
13898 * po/ru.po: Update from translation team.
13899
53cf59ef
UD
139002011-04-17 Ulrich Drepper <drepper@gmail.com>
13901
13902 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13903 dependencies.
13904
4c559bcd
MF
139052011-02-06 Mike Frysinger <vapier@gentoo.org>
13906
13907 [BZ #12653]
13908 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13909 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13910 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13911 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13913
4420675c
AS
139142011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13915
13916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13917 differing bytes.
13918 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13919 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13920 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13921
75ea32ab
UD
139222011-04-17 Ulrich Drepper <drepper@gmail.com>
13923
13924 [BZ #12420]
13925 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13926 storing it.
13927 * stdlib/bug-getcontext.c: New file.
13928 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13929
27390476
AK
139302011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13931
13932 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13933 instructions into .machine "z9-109".
13934 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13935 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13936
10442705
AK
139372011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13938
13939 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13940 between environment variables and auxiliary vector.
13941
7b57bfe5
UD
139422011-04-16 Ulrich Drepper <drepper@gmail.com>
13943
13944 * Makefile: Add rules to build linkobj/libc.so.
13945 * include/libc-symbols.h: Define libc_hidden_nolink.
13946 * include/rpc/auth.h: Mark functions which are to be hidden.
13947 * include/rpc/auth_des.h: Likewise.
13948 * include/rpc/auth_unix.h: Likewise.
13949 * include/rpc/clnt.h: Likewise.
13950 * include/rpc/des_crypt.h: Likewise.
13951 * include/rpc/key_prot.h: Likewise.
13952 * include/rpc/pmap_clnt.h: Likewise.
13953 * include/rpc/pmap_prot.h: Likewise.
13954 * include/rpc/pmap_rmt.h: Likewise.
13955 * include/rpc/rpc_msg.h: Likewise.
13956 * include/rpc/svc.h: Likewise.
13957 * include/rpc/svc_auth.h: Likewise.
13958 * include/rpc/xdr.h: Likewise.
13959 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13960 * nss/Makefile: Likewise.
13961 * sunrpc/Makefile: Don't install headers. Build library with normal
13962 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13963 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13964 for the compat linking library. Remove use of INTDEF/INTUSE.
13965 * sunrpc/auth_none.c: Likewise.
13966 * sunrpc/auth_unix.c: Likewise.
13967 * sunrpc/authdes_prot.c: Likewise.
13968 * sunrpc/authuxprot.c: Likewise.
13969 * sunrpc/clnt_gen.c: Likewise.
13970 * sunrpc/clnt_perr.c: Likewise.
13971 * sunrpc/clnt_raw.c: Likewise.
13972 * sunrpc/clnt_simp.c: Likewise.
13973 * sunrpc/clnt_tcp.c: Likewise.
13974 * sunrpc/clnt_udp.c: Likewise.
13975 * sunrpc/clnt_unix.c: Likewise.
13976 * sunrpc/des_crypt.c: Likewise.
13977 * sunrpc/des_soft.c: Likewise.
13978 * sunrpc/get_myaddr.c: Likewise.
13979 * sunrpc/key_call.c: Likewise.
13980 * sunrpc/key_prot.c: Likewise.
13981 * sunrpc/netname.c: Likewise.
13982 * sunrpc/pm_getmaps.c: Likewise.
13983 * sunrpc/pm_getport.c: Likewise.
13984 * sunrpc/pmap_clnt.c: Likewise.
13985 * sunrpc/pmap_prot.c: Likewise.
13986 * sunrpc/pmap_prot2.c: Likewise.
13987 * sunrpc/pmap_rmt.c: Likewise.
13988 * sunrpc/publickey.c: Likewise.
13989 * sunrpc/rpc_cmsg.c: Likewise.
13990 * sunrpc/rpc_common.c: Likewise.
13991 * sunrpc/rpc_dtable.c: Likewise.
13992 * sunrpc/rpc_prot.c: Likewise.
13993 * sunrpc/rpc_thread.c: Likewise.
13994 * sunrpc/rtime.c: Likewise.
13995 * sunrpc/svc.c: Likewise.
13996 * sunrpc/svc_auth.c: Likewise.
13997 * sunrpc/svc_authux.c: Likewise.
13998 * sunrpc/svc_raw.c: Likewise.
13999 * sunrpc/svc_run.c: Likewise.
14000 * sunrpc/svc_simple.c: Likewise.
14001 * sunrpc/svc_tcp.c: Likewise.
14002 * sunrpc/svc_udp.c: Likewise.
14003 * sunrpc/svc_unix.c: Likewise.
14004 * sunrpc/svcauth_des.c: Likewise.
14005 * sunrpc/xcrypt.c: Likewise.
14006 * sunrpc/xdr.c: Likewise.
14007 * sunrpc/xdr_array.c: Likewise.
14008 * sunrpc/xdr_float.c: Likewise.
14009 * sunrpc/xdr_intXX_t.c: Likewise.
14010 * sunrpc/xdr_mem.c: Likewise.
14011 * sunrpc/xdr_rec.c: Likewise.
14012 * sunrpc/xdr_ref.c: Likewise.
14013 * sunrpc/xdr_sizeof.c: Likewise.
14014 * sunrpc/xdr_stdio.c: Likewise.
14015
e6c61494
UD
140162011-04-10 Ulrich Drepper <drepper@gmail.com>
14017
14018 [BZ #12650]
14019 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
14020 * sysdeps/ia64/dl-tls.h: Likewise.
14021 * sysdeps/powerpc/dl-tls.h: Likewise.
14022 * sysdeps/s390/dl-tls.h: Likewise.
14023 * sysdeps/sh/dl-tls.h: Likewise.
14024 * sysdeps/sparc/dl-tls.h: Likewise.
14025 * sysdeps/x86_64/dl-tls.h: Likewise.
14026 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
14027
34fe483e
AS
140282011-03-14 Andreas Schwab <schwab@redhat.com>
14029
14030 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
14031 rpath element also skip the following colon.
14032 (expand_dynamic_string_token): Add is_path parameter and pass
14033 down to DL_DST_REQUIRED and _dl_dst_substitute.
14034 (decompose_rpath): Call expand_dynamic_string_token with
14035 non-zero is_path. Ignore empty rpaths.
14036 (_dl_map_object_from_fd): Call expand_dynamic_string_token
14037 with zero is_path.
14038
f12a32e6
AS
140392011-04-08 Andreas Schwab <schwab@linux-m68k.org>
14040
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14042 Make cancelable.
14043
38a7d692
UD
140442011-04-09 Ulrich Drepper <drepper@gmail.com>
14045
14046 [BZ #12655]
14047 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
14048 Patch by Filipe David Manana <fdmanana@apache.org>.
14049
e451d22b
AS
140502011-04-07 Andreas Schwab <schwab@redhat.com>
14051
14052 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
14053 Maintain aligned stack.
14054 (CHECK_RSP): Remove unused macro.
14055
dedc7c7b
UD
140562011-04-03 Ulrich Drepper <drepper@gmail.com>
14057
14058 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
14059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
14060
94521213
UD
140612011-04-02 Ulrich Drepper <drepper@gmail.com>
14062
14063 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
14064
8cb700c0 14065 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 14066
0354e355
L
140672011-03-26 H.J. Lu <hongjiu.lu@intel.com>
14068
14069 [BZ #12518]
14070 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
14071 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
14072 * sysdeps/x86_64/memmove.c: New file.
14073 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
14074 (memcpy): Renamed to ...
14075 (__new_memcpy): This.
14076 (memcpy): Provide GLIBC_2_14 memcpy.
14077 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
14078 (memcpy): Provide GLIBC_2_2_5 memcpy.
14079
8593482f
UD
140802011-04-01 Ulrich Drepper <drepper@gmail.com>
14081
14082 [BZ #12631]
14083 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
14084
81a5726b
AS
140852011-03-30 Andreas Schwab <schwab@redhat.com>
14086
14087 * misc/syncfs.c: New file.
14088 * misc/Makefile (routines): Add syncfs.
14089 * posix/unistd.h: Declare syncfs.
14090 * sysdeps/unix/syscalls.list: Add syncfs.
14091
00e5419f
AS
140922011-04-01 Andreas Schwab <schwab@redhat.com>
14093
14094 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
14095 open_by_handle_at.
14096 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14098 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14100 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14101 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14102 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14103
748876bf
UD
141042011-04-01 Ulrich Drepper <drepper@gmail.com>
14105
658e451d
UD
14106 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
14107 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14108 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
14109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14110 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14111 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14112 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14113
748876bf
UD
14114 * io/Makefile: Compile fallocate.c, fallocate64.c, and
14115 sync_file_range.c with -fexceptions.
14116 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
14117 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14119 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14120 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
14121 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14122 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
14123 sync_file_range as cancellation point
14124 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
14125 now a wrapper around __call_sync_file_range with cancellation handling.
14126 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
14127 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
14128 function name to __call_sync_file_range.
14129 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
14130 Add call_sync_file_range.
748876bf 14131
6e63d5e1
AS
141322011-04-01 Andreas Schwab <schwab@redhat.com>
14133
14134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 14135 bits/timex.h.
6e63d5e1 14136
46998f74
UD
141372011-04-01 Ulrich Drepper <drepper@gmail.com>
14138
4c1423ed
UD
14139 * iconv/iconv.h: Fix typo in comment.
14140 * io/fcntl.h: Likewise.
14141 * libio/stdio.h: Likewise.
14142 * posix/spawn.h: Likewise.
14143 * posix/unistd.h: Likewise.
14144 * stdlib/stdlib.h: Likewise.
14145 * time/time.h: Likewise.
14146 * wcsmbs/wchar.h: Likewise.
14147
158648c0
UD
14148 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
14149 open_by_handle): Add.
14150 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
14151 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
14152 Augment a few comments.
14153 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
14154 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14155 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14156 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14157 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14158 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14159 open_by_handle.
14160
46998f74
UD
14161 * io/fcntl.h (AT_EMPTY_PATH): Define.
14162
83fe108b
UD
141632011-03-30 Ulrich Drepper <drepper@gmail.com>
14164
14165 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14166 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14167 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14168 to...
14169 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
14170 * Versions.def: Add GLIBC_2.14.
14171 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14172 Export.
83fe108b 14173
bb242059
UD
141742011-03-22 Ulrich Drepper <drepper@gmail.com>
14175
14176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14177 round counter.
14178 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14179
c97a1282
L
141802011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14181
14182 [BZ #12597]
14183 * string/test-strncmp.c (do_page_test): New function.
14184 (check2): Likewise.
14185 (test_main): Call check2.
14186 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14187
2a115601
UD
141882011-03-20 Ulrich Drepper <drepper@gmail.com>
14189
14190 [BZ #12587]
14191 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14192 Handle cache information in CPU leaf 4.
14193 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14194
8126d904
UD
141952011-03-18 Ulrich Drepper <drepper@gmail.com>
14196
042c49c6 14197 [BZ #12583]
8126d904
UD
14198 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14199 character representation.
14200 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14201
ccfe366e
RA
142022011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14203
14204 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14205 END(__isnan) to END(__isnanf) to match function entry point/label
14206 EALIGN(__isnanf,...).
14207
c6e13027
JJ
142082011-03-10 Jakub Jelinek <jakub@redhat.com>
14209
14210 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14211
33f85a3f
UD
142122011-03-10 Ulrich Drepper <drepper@gmail.com>
14213
028478fa
UD
14214 [BZ #12510]
14215 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14216 copy from the symbol referenced in the relocation to initialize the
14217 used variable.
14218 Patch by Piotr Bury <pbury@goahead.com>.
14219 * elf/Makefile: Add rules to build and tst-unique3.
14220 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14221 * elf/tst-unique3.cc: New file.
14222 * elf/tst-unique3.h: New file.
14223 * elf/tst-unique3lib.cc: New file.
14224 * elf/tst-unique3lib2.cc: New file.
14225
33f85a3f
UD
14226 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14227
03592fc7
MF
142282011-03-10 Mike Frysinger <vapier@gentoo.org>
14229
14230 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14231 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14232 to _start.
03592fc7 14233
6a5ee102
UD
142342011-03-06 Ulrich Drepper <drepper@gmail.com>
14235
14236 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14237 to-be-loaded object along a path to loader is ld.so.
14238
7e4ba49c
HJ
142392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14240 Ulrich Drepper <drepper@gmail.com>
14241
14242 * sysdeps/x86_64/memset.S: After aligning destination, code
14243 branches to different locations depending on the value of
14244 misalignment, when multiarch is enabled. Fix this.
14245
142462011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14247
14248 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14249 Set _x86_64_preferred_memory_instruction for AMD processsors.
14250 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14251 Set bit_Prefer_SSE_for_memop for AMD processors.
14252
13a804de
UD
142532011-03-04 Ulrich Drepper <drepper@gmail.com>
14254
14255 * libio/fmemopen.c (fmemopen): Optimize a bit.
14256
9d25c392
AS
142572011-03-03 Andreas Schwab <schwab@redhat.com>
14258
14259 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14260
a5543c6a
RM
142612011-03-03 Roland McGrath <roland@redhat.com>
14262
14263 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14264
012d35f7
DM
142652011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14266
7e4ba49c 14267 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14268 __bzero_ultra1 instead of __memset_ultra1.
14269
4bff6e01
AS
142702011-02-23 Andreas Schwab <schwab@redhat.com>
14271 Ulrich Drepper <drepper@gmail.com>
14272
14273 [BZ #12509]
14274 * include/link.h (struct link_map): Add l_orig_initfini.
14275 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14276 returning unsuccessfully.
14277 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14278 close of a file loaded at startup, restore the original l_initfini
14279 list.
14280 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14281 list, store the pointer.
14282 * elf/Makefile ($(objpfx)noload-mem): New rule.
14283 (noload-ENV): Define.
14284 (tests): Add $(objpfx)noload-mem.
14285 * elf/noload.c: Include <memcheck.h>.
14286 (main): Call mtrace. Close all opened handles.
14287
f2092faf
AS
142882011-02-17 Andreas Schwab <schwab@redhat.com>
14289
14290 [BZ #12454]
14291 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14292 dependencies are missing.
14293
6c8a2e88
ST
142942011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14295
f2092faf 14296 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14297 Hurd needs munmap.
14298 * sysdeps/mach/hurd/ifreq.h: New file.
14299
84a42118
PB
143002011-01-27 Petr Baudis <pasky@suse.cz>
14301 Ulrich Drepper <drepper@gmail.com>
14302
071f805e 14303 [BZ 12445]#
84a42118
PB
14304 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14305 to extend_alloca().
14306 * stdio-common/bug23.c: New file.
14307 * stdio-common/Makefile (tests): Add bug23.
14308
e23fe25b
AS
143092010-09-28 Andreas Schwab <schwab@redhat.com>
14310 Ulrich Drepper <drepper@gmail.com>
14311
14312 [BZ #12489]
14313 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14314 before performing relro protection. At old place add assertion
14315 to make sure nothing changed.
14316
d3f02e10
NS
143172011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14318 Glauber de Oliveira Costa <glommer@gmail.com>
14319
14320 * elf/elf.h: Add new ARM TLS relocs.
14321
d55fd7a5
RA
143222011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14323
14324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14325 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14326 cast from r3.
14327 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14328 'tests' variable.
14329 * sysdeps/wordsize-64/tst-writev.c: New file.
14330
2206397e
RA
143312011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14332
14333 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14334 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14335 insns in _dl_start to prevent a TOC reference before relocs are
14336 resolved.
14337
e9433893
UD
143382011-02-15 Ulrich Drepper <drepper@gmail.com>
14339
14340 [BZ #12469]
14341 * Makeconfig: Remove RANLIB definition.
14342 * Makerules: Don't use RANLIB.
14343 * aclocal.m4: Remove ranlib test.
14344 * configure.in: No need to check for ranlib.
14345 * elf/rtld-Rules: Don't use RANLIB.
14346
f75286c6
ST
143472011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14348
8e31c82d
ST
14349 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14350 protection macro.
14351 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14352 inclusion protection macro.
14353
f75286c6
ST
14354 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14355 SIGRTMIN and SIGRTMAX and print information in that case only when
14356 SIGRTMIN is defined.
14357
c1d0e639
JJ
143582011-02-11 Jakub Jelinek <jakub@redhat.com>
14359
14360 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14361 arginfo fn returning -1.
14362
14363 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14364 and thousands string is zero terminated.
14365
edf9294e
AS
143662011-02-03 Andreas Schwab <schwab@redhat.com>
14367
14368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14369 sysdeps/unix/sysv/linux/bits/socket.h.
14370
2b7e92df
ST
143712011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14372
edf9294e
AS
14373 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14374 (__CPU_COUNT): Remove old macros.
14375 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14376 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14377 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14378 (__sched_cpualloc, __sched_cpufree): Add declarations.
14379
a4c7ea7b
UD
143802011-02-05 Ulrich Drepper <drepper@gmail.com>
14381
14382 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14383 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14384 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14385 (readdhstai): Return value of addhstaiX call.
14386 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14387 (addgrbyX): Return value returned by cache_addgr.
14388 (readdgrbyname): Return value returned by addgrbyX.
14389 (readdgrbygid): Likewise.
14390 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14391 (addpwbyX): Return value returned by cache_addpw.
14392 (readdpwbyname): Return value returned by addhstbyX.
14393 (readdpwbyuid): Likewise.
14394 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14395 (addservbyX): Return value returned by cache_addserv.
14396 (readdservbyname): Return value returned by addservbyX:
14397 (readdservbyport): Likewise.
14398 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14399 (addhstbyX): Return value returned by cache_addhst.
14400 (readdhstbyname): Return value returned by addhstbyX.
14401 (readdhstbyaddr): Likewise.
14402 (readdhstbynamev6): Likewise.
14403 (readdhstbyaddrv6): Likewise.
14404 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14405 (readdinitgroups): Return value returned by addinitgroupsX.
14406 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14407 (prune_cache): Keep track of timeout value of re-added entries.
14408 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14409 * nscd/nscd.h: Adjust prototypes of readd* functions.
14410
a0bf67cc
RM
144112011-02-04 Roland McGrath <roland@redhat.com>
14412
14413 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14414 (nis_stats): Likewise.
14415 * nis/nis_modify.c (nis_modify): Likewise.
14416 * nis/nis_remove.c (nis_remove): Likewise.
14417 * nis/nis_add.c (nis_add): Likewise.
14418
14419 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14420
14421 * posix/fnmatch_loop.c: Add some consts.
14422
14423 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14424
435b95eb
L
144252011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14426
14427 [BZ #12460]
14428 * config.make.in (config-cflags-novzeroupper): Define.
14429 * configure.in: Substitute libc_cv_cc_novzeroupper.
14430 * elf/Makefile (AVX-CFLAGS): Define.
14431 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14432 (CFLAGS-tst-auditmod4a.c): Likewise.
14433 (CFLAGS-tst-auditmod4b.c): Likewise.
14434 (CFLAGS-tst-auditmod6b.c): Likewise.
14435 (CFLAGS-tst-auditmod6c.c): Likewise.
14436 (CFLAGS-tst-auditmod7b.c): Likewise.
14437 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14438
8517b15e
UD
144392011-02-02 Ulrich Drepper <drepper@gmail.com>
14440
14441 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14442 function to the callback.
14443 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14444
10a656fe
AS
144452011-02-02 Andreas Schwab <schwab@redhat.com>
14446
14447 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14448 of errno.
14449
968dad0a
UD
144502011-01-19 Ulrich Drepper <drepper@gmail.com>
14451
9f94d2ea 14452 [BZ #11724]
968dad0a
UD
14453 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14454 of constructors.
14455 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14456 of destructors.
14457 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14458
14459 [BZ #11724]
14460 * elf/Makefile: Add rules to build and run new test.
14461 * elf/tst-initorder.c: New file.
14462 * elf/tst-initorder.exp: New file.
14463 * elf/tst-initordera1.c: New file.
14464 * elf/tst-initordera2.c: New file.
14465 * elf/tst-initordera3.c: New file.
14466 * elf/tst-initordera4.c: New file.
14467 * elf/tst-initorderb1.c: New file.
14468 * elf/tst-initorderb2.c: New file.
14469 * elf/tst-order-a1.c: New file.
14470 * elf/tst-order-a2.c: New file.
14471 * elf/tst-order-a3.c: New file.
14472 * elf/tst-order-a4.c: New file.
14473 * elf/tst-order-b1.c: New file.
14474 * elf/tst-order-b2.c: New file.
14475 * elf/tst-order-main.c: New file.
14476 New test case by George Gensure <werkt0@gmail.com>.
14477
86e92359
UD
144782010-10-01 Andreas Schwab <schwab@redhat.com>
14479
14480 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14481 decoding ACE if AI_CANONIDN.
14482
5d5732b0
UD
144832011-01-18 Ulrich Drepper <drepper@gmail.com>
14484
14485 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14486
a77e8cbc
UD
144872011-01-17 Ulrich Drepper <drepper@gmail.com>
14488
6392473f
UD
14489 * version.h (RELEASE): Bump for 2.13 release.
14490 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14491
620a0529
UD
14492 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14493
18ba70a5
UD
14494 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14495 MADV_NOHUGEPAGE.
32465c3e
UD
14496 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14497 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14498 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14499 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14500 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14502
c0dafcf1
UD
14503 * posix/getconf.c: Update copyright year.
14504 * catgets/gencat.c: Likewise.
14505 * csu/version.c: Likewise.
14506 * debug/catchsegv.sh: Likewise.
14507 * debug/xtrace.sh: Likewise.
14508 * elf/ldconfig.c: Likewise.
14509 * elf/ldd.bash.in: Likewise.
14510 * elf/sprof.c (print_version): Likewise.
14511 * iconv/iconv_prog.c: Likewise.
14512 * iconv/iconvconfig.c: Likewise.
14513 * locale/programs/locale.c: Likewise.
14514 * locale/programs/localedef.c: Likewise.
14515 * malloc/memusage.sh: Likewise.
14516 * malloc/mtrace.pl: Likewise.
14517 * nscd/nscd.c (print_version): Likewise.
14518 * nss/getent.c: Likewise.
14519
a77e8cbc
UD
14520 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14521 PF_CAIF, and PF_ALG.
14522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14523
77e8bddf
AS
145242011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14525
1f20b93a
AS
14526 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14527 (modules-names): Use them.
14528 (ifunc-test-modules, ifunc-pie-tests): Define.
14529 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14530 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14531 (test-extras): Likewise.
14532 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14533 $(compile-command.c).
14534 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14535 (all-built-dso): Define.
14536 (check-textrel.out, check-execstack.out): Depend on it.
14537
77e8bddf
AS
14538 * configure.in: Don't override --enable-multi-arch.
14539
bc425b33
UD
145402011-01-15 Ulrich Drepper <drepper@gmail.com>
14541
14542 [BZ #6812]
14543 * nscd/hstcache.c (tryagain): Define.
14544 (cache_addhst): Return tryagain not notfound for temporary errors.
14545 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14546 failed.
14547
794c3ad3
UD
145482011-01-14 Ulrich Drepper <drepper@gmail.com>
14549
70181fdd
UD
14550 [BZ #10563]
14551 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14552 to make the syscall.
14553 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14554
794c3ad3
UD
14555 [BZ #12378]
14556 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14557 and fall back to matching as normal character if the string ends before
14558 the matching ']' is found. This is what POSIX requires.
14559 * posix/testfnm.c: Adjust test result.
14560 * posix/globtest.sh: Adjust test result. Add new test.
14561 * posix/tst-fnmatch.input: Likewise.
14562 * posix/tst-fnmatch2.c: Add new test.
14563
68dc9497
AS
145642010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14565
14566 * elf/Makefile (check-execstack): Revert last change. Depend on
14567 check-execstack.h.
14568 (check-execstack.h): New target.
14569 (generated): Add check-execstack.h.
14570 * elf/check-execstack.c: Include "check-execstack.h".
14571 (main): Revert last change.
14572 (handle_file): Return zero if GNU_STACK is absent and
14573 DEFAULT_STACK_PERMS doesn't include PF_X.
14574
451f001b
UD
145752011-01-13 Ulrich Drepper <drepper@gmail.com>
14576
cfa28e56
UD
14577 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14578 in child fails because the descriptor is already closed.
8cf8ce17
UD
14579 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14580 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14581 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14582
1086d70d
UD
14583 [BZ #12397]
14584 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14585 syscall.
14586
451f001b
UD
14587 [BZ #10484]
14588 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14589 temporary buffer used to handle multi lookups locally.
a85b5cb4 14590 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14591
08769175
UD
145922011-01-12 Ulrich Drepper <drepper@gmail.com>
14593
14594 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14595 loader is ld.so.
14596
5e49c52e
UD
145972011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14598
14599 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14600 alignment for SSE2.
14601
60522a5f
UD
146022011-01-12 Ulrich Drepper <drepper@gmail.com>
14603
14604 [BZ #12394]
14605 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14606 characters. When rounding increased number of integer digits recompute
14607 number of groups.
14608 * stdio-common/tst-grouping.c: New file.
14609 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14610
f257bbd7
UD
146112011-01-09 Ulrich Drepper <drepper@gmail.com>
14612
14613 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14614 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14615
14616 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14617 void.
14618 * bits/select.h: Likewise.
14619
fa9c15cb
UD
146202011-01-08 Ulrich Drepper <drepper@gmail.com>
14621
14622 * po/ja.po: Update from translation team.
14623
16c2895f
DM
146242011-01-04 David S. Miller <davem@sunset.davemloft.net>
14625
14626 [BZ #11155]
14627 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14628 implementation just like for lxstat, fxstatat, et al.
14629
2543fef2
JM
146302010-12-27 Jim Meyering <meyering@redhat.com>
14631
14632 [BZ #12348]
14633 * posix/regexec.c (build_trtable): Return failure indication upon
14634 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14635
98727dbe
UD
146362010-12-25 Ulrich Drepper <drepper@gmail.com>
14637
5bd6dc5c
UD
14638 [BZ #12201]
14639 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14640 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14641 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14643
97983464
UD
14644 [BZ #12207]
14645 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14646
98727dbe
UD
14647 [BZ #12204]
14648 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14649 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14650
4a531bb0
L
146512010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14652
14653 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14654 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14655 script has SORT_BY_INIT_PRIORITY.
14656 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14657 NO_CTORS_DTORS_SECTIONS is defined.
14658 * elf/soinit.c: Likewise.
14659 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14660 NO_CTORS_DTORS_SECTIONS is defined.
14661 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14662 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14663 * sysdeps/sh/init-first.c: Likewise.
14664 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14665
07eb4b71
UD
146662010-12-24 Ulrich Drepper <drepper@gmail.com>
14667
14668 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14669 always use the slow path.
14670
30950a5f
RA
146712010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14672
14673 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14674 similar rule which adds the sysdep directories to the header search in
14675 order to pick up the correct platform stackinfo.h.
14676 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14677 perform test if it is, otherwise return successfully without testing.
14678 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14679 DEFAULT_STACK_PERMS define in stackinfo.h.
14680 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14681 defined in stackinfo.h.
14682 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14683 DEFAULT_STACK_PERMS defined in stackinfo.h.
14684 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14685 * sysdeps/ia64/stackinfo.h: Likewise.
14686 * sysdeps/s390/stackinfo.h: Likewise.
14687 * sysdeps/sh/stackinfo.h: Likewise.
14688 * sysdeps/sparc/stackinfo.h: Likewise.
14689 * sysdeps/x86_64/stackinfo.h: Likewise.
14690 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14691 PF_X for powerpc64. Retain PF_X for powerpc32.
14692
db753e2c
UD
146932010-12-19 Ulrich Drepper <drepper@gmail.com>
14694
14b697f7
UD
14695 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14696 accurately.
db753e2c
UD
14697 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14698 GETDENTS_64BIT_ALIGNED.
14699
28300719
UD
147002010-12-14 Ulrich Drepper <dreper@gmail.com>
14701
14b697f7 14702 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14703
4f197237
AS
147042010-12-10 Andreas Schwab <schwab@redhat.com>
14705
dbb0472f
AS
14706 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14707 _GNU_SOURCE.
14708
4f197237
AS
14709 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14710 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14711 Remove __restrict.
14712 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14713 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14714
fb88ac72
UD
147152010-12-09 Ulrich Drepper <drepper@gmail.com>
14716
14717 [BZ #11655]
14718 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14719 are initialized.
14720
42acbb92
JJ
147212010-12-09 Jakub Jelinek <jakub@redhat.com>
14722
14723 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14724
c038d98d
UD
147252010-12-03 Ulrich Drepper <drepper@gmail.com>
14726
14727 * po/it.po: Update from translation team.
14728
3a4a2499
L
147292010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14730
14731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14732 unused codes.
14733
1e24cf6e
UD
147342010-11-30 Ulrich Drepper <drepper@gmail.com>
14735
14736 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14737
a7690819
AS
147382010-11-24 Andreas Schwab <schwab@redhat.com>
14739
14740 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14741 specially.
14742 (gaih_getanswer_slice): Likewise.
14743
3bf8d1b1
JJ
147442010-10-20 Jakub Jelinek <jakub@redhat.com>
14745
14746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14747
6db52fbb
PB
147482010-05-31 Petr Baudis <pasky@suse.cz>
14749
14750 [BZ #11149]
14751 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14752 silently even in the chroot mode.
14753
eaca7569
UD
147542010-11-22 Ulrich Drepper <drepper@gmail.com>
14755
14756 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14757 last patch a bit. Pretty printing
14758
3056dcdb
UD
147592010-05-31 Petr Baudis <pasky@suse.cz>
14760
14761 [BZ #10085]
14762 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14763 initialization of skip_initgroups_dyn.
14764
cf7c9078
UD
147652010-11-19 Ulrich Drepper <drepper@gmail.com>
14766
14767 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14768 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14769
a1fb5e3e
UD
147702010-11-16 Ulrich Drepper <drepper@gmail.com>
14771
14772 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14773
3540d66b
AS
147742010-11-11 Andreas Schwab <schwab@redhat.com>
14775
14776 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14777 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14778 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14779 ($(objpfx)tst-fnmatch-mem): New rule.
14780 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14781 * posix/tst-fnmatch.c (main): Call mtrace.
14782
13b69574
L
147832010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14784
14785 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14786 Support Intel processor model 6 and model 0x2c.
14787
da93d214
LM
147882010-11-10 Luis Machado <luisgpm@br.ibm.com>
14789
14790 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14791 signed comparison.
14792
8ca52c6e
L
147932010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14794
14795 [BZ #12205]
14796 * string/test-strncasecmp.c (check_result): New function.
14797 (do_one_test): Use it.
14798 (check1): New function.
14799 (test_main): Use it.
14800 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14801 Support strcasecmp and strncasecmp.
14802
69da074d
UD
148032010-11-08 Ulrich Drepper <drepper@gmail.com>
14804
14805 [BZ #12194]
14806 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14808
ff02d528
L
148092010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14810
14811 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14812 IFUNC support.
14813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14814 memset-x86-64.
14815 * sysdeps/x86_64/multiarch/bzero.S: New file.
14816 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14817 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14818 * sysdeps/x86_64/multiarch/memset.S: New file.
14819 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14820 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14821 Set bit_Prefer_SSE_for_memop for Intel processors.
14822 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14823 Define.
14824 (index_Prefer_SSE_for_memop): Define.
14825 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14826
344d0b54
LM
148272010-11-04 Luis Machado <luisgpm@br.ibm.com>
14828
14829 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14830 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14831
c0dde15b
UD
148322010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14833
14834 [BZ #12191]
14835 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14836 (__x86_64_raw_data_cache_size_half): Likewise.
14837 (__x86_64_raw_shared_cache_size): Likewise.
14838 (__x86_64_raw_shared_cache_size_half): Likewise.
14839
14840 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14841 (__x86_64_raw_data_cache_size_half): Likewise.
14842 (__x86_64_raw_shared_cache_size): Likewise.
14843 (__x86_64_raw_shared_cache_size_half): Likewise.
14844 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14845 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14846 and __x86_64_raw_shared_cache_size_half. Round
14847 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14848 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14849 to multiple of 256 bytes.
14850
0e516e0e
MS
148512010-11-03 Ulrich Drepper <drepper@gmail.com>
14852
14853 [BZ #12167]
14854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14855 of inacessible symlinks. Verify result of symlink before returning it.
14856 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14857 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14858
0e012e87
ER
148592010-10-28 Erich Ritz <erichritz@gmail.com>
14860
14861 * math/math.h (isinf): Fix typo in comment.
14862
de0ff7bc
UD
148632010-11-01 Ulrich Drepper <drepper@gmail.com>
14864
14865 * po/da.po: Update from translation team.
14866
fa41c84d
UD
148672010-10-26 Ulrich Drepper <drepper@gmail.com>
14868
14869 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14870 is added to the list.
14871
f0967738
AK
148722010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14873 Ulrich Drepper <drepper@gmail.com>
14874
14875 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14876 the global list here. Move code to...
14877 (_dl_add_to_namespace_list): ...here. New function.
14878 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14879 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14880 * elf/dl-load.c (lose): Don't remove the element from the list.
14881 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14882 (_dl_map_object): Likewise.
14883
148842010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14885
14886 [BZ #12159]
14887 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14888 into all bytes of SSE register.
14889 Patch by Richard Li <richardpku@gmail.com>.
14890
f0967738 148912010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14892
14893 [BZ #12140]
14894 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14895 perturbing.
14896
d0b9e94f
MB
148972010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14898
14899 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14900 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14901 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14902 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14904 submachine.
14905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14906
8e9f92e9
AS
149072010-10-22 Andreas Schwab <schwab@redhat.com>
14908
14909 * include/dlfcn.h (__RTLD_SECURE): Define.
14910 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14911 mode & __RTLD_SECURE instead.
14912 (open_path): Rename preloaded parameter to secure.
14913 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14914 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14915 * elf/dl-deps.c (openaux): Likewise.
14916 * elf/rtld.c (struct map_args): Remove is_preloaded.
14917 (map_doit): Don't use it.
14918 (dl_main): Likewise.
14919 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14920 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14921
bc96fbda
AS
149222010-09-09 Andreas Schwab <schwab@redhat.com>
14923
14924 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14925 (sysd-rules-targets): Remove duplicates.
14926 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14927 rtld-%.$o dependency.
14928
22cd1c9b
AS
149292010-10-18 Andreas Schwab <schwab@redhat.com>
14930
14931 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14932 _dl_map_object do it.
14933
18edac48
UD
149342010-10-19 Ulrich Drepper <drepper@gmail.com>
14935
14936 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14937 fast fma builtins, define the macros in the C99 standard.
14938 (FP_FAST_FMAF): Likewise.
14939 (FP_FAST_FMAL): Likewise.
14940 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14941
14942 * bits/mathdef.h: Update copyright year.
14943 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14944
d2050124
MM
149452010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14946
14947 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14948 builtins, define the macros in the C99 standard.
14949 (FP_FAST_FMAF): Likewise.
14950 (FP_FAST_FMAL): Likewise.
14951 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14952 multiply/add.
14953 (FP_FAST_FMAF): Likewise.
14954
475facd1
JJ
149552010-10-15 Jakub Jelinek <jakub@redhat.com>
14956
14957 [BZ #3268]
14958 * math/libm-test.inc (fma_test): Some new testcases.
14959 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14960 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14961 y and infinite z. Do multiplication by C already in long double.
14962 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14963 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14964 y and infinite z. Do bitwise or of inexact bit into u.d.
14965 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14966 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14967 * sysdeps/i386/fpu/s_fma.S: Removed.
14968 * sysdeps/i386/fpu/s_fmal.S: Removed.
14969
7c08a05c
JJ
149702010-10-16 Jakub Jelinek <jakub@redhat.com>
14971
14972 [BZ #3268]
14973 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14975 computation is not scheduled after fetestexcept. Fix value
14976 of minimum denormal long double.
14977
f3f7372d
JJ
149782010-10-14 Jakub Jelinek <jakub@redhat.com>
14979
14980 [BZ #3268]
14981 * math/libm-test.inc (fma_test): Add some more tests.
14982 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14983 correctly.
14984
14d43591
AS
149852010-10-15 Andreas Schwab <schwab@redhat.com>
14986
14987 * scripts/data/localplt-s390-linux-gnu.data: New file.
14988 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14989
5e908464
JJ
149902010-10-13 Jakub Jelinek <jakub@redhat.com>
14991
14992 [BZ #3268]
14993 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14994 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14995 instead of dbl-64.
14996 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14997 inlines.
14998 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14999 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
15000 if one of x and y is very large and the other is subnormal.
15001 * sysdeps/s390/fpu/s_fmaf.c: New file.
15002 * sysdeps/s390/fpu/s_fma.c: New file.
15003 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
15004 * sysdeps/powerpc/fpu/s_fma.S: New file.
15005 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
15006 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
15007 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
15008
150092010-10-12 Jakub Jelinek <jakub@redhat.com>
15010
15011 [BZ #3268]
15012 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
15013 fma tests.
15014 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
15015 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
15016 * sysdeps/i386/i686/multiarch/s_fma.c: Include
15017 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
15018 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
15019 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
15020 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
15021
b833d51f
UD
150222010-10-12 Ulrich Drepper <drepper@redhat.com>
15023
15024 [BZ #12078]
15025 * posix/regcomp.c (parse_branch): One more memory leak plugged.
15026 * posix/bug-regex31.input: Add test case.
15027
1751705d
UD
150282010-10-11 Ulrich Drepper <drepper@gmail.com>
15029
e9b9cbf5
UD
15030 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
15031 * posix/bug-regex31.input: New file.
15032
15033 [BZ #12078]
15034 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
15035 (parse_sub_exp): Fix last change, use postorder.
15036
ef06edbe
UD
15037 * posix/bug-regex31.c: New file.
15038 * posix/Makefile: Add rules to build and run bug-regex31.
15039
a129c80d
UD
15040 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
15041
15042 [BZ #12078]
15043 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
15044
b76b818e
UD
15045 [BZ #12108]
15046 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
15047 to have entries in sys_siglist.
15048
1751705d
UD
15049 [BZ #12093]
15050 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
15051 be NULL.
15052
9ff8d36f
JJ
150532010-10-07 Jakub Jelinek <jakub@redhat.com>
15054
15055 [BZ #3268]
15056 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
15057 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
15058 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
15059 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
15060 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
15061 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
15062 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
15063 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
15064 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
15065 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
15066 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
15067 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
15068 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
15069 * math/ftestexcept.c (fetestexcept): Likewise.
15070 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
15071 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
15072 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15073 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
15074 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
15075 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
15076 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15077
af325969
UD
150782010-10-11 Ulrich Drepper <drepper@gmail.com>
15079
c579b202 15080 [BZ #12107]
af325969
UD
15081 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
15082 newline.
15083
67a67b95
UD
150842010-10-06 Ulrich Drepper <drepper@gmail.com>
15085
15086 * string/bug-strstr1.c: New file.
15087 * string/Makefile: Add rules to build and run bug-strstr1.
15088
5fb308bc
EB
150892010-10-05 Eric Blake <eblake@redhat.com>
15090
15091 [BZ #12092]
15092 * string/str-two-way.h (two_way_long_needle): Always clear memory
15093 when skipping input due to the shift table.
15094
45db99c7
UD
150952010-10-03 Ulrich Drepper <drepper@gmail.com>
15096
3b111893
UD
15097 [BZ #12005]
15098 * malloc/mcheck.c: Handle large requests.
15099
45db99c7
UD
15100 [BZ #12077]
15101 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
15102 for strncmp and strncasecmp.
15103 * string/stratcliff.c: Add tests for strcmp and strncmp.
15104 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
15105
cf7a1eb8
NI
151062010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15107
15108 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
15109 __set_fpscr.
15110
6484ba5e
AJ
151112010-09-30 Andreas Jaeger <aj@suse.de>
15112
15113 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
15114 (CGROUP_SUPER_MAGIC): Define.
15115 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15116 Handle btrfs and cgroup file systems.
15117 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15118 Likewise.
15119
91c42559
LM
151202010-09-27 Luis Machado <luisgpm@br.ibm.com>
15121
15122 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
15123 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
15124
87a97932
AK
151252010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15126
15127 [BZ #12067]
15128 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
15129 trying to locate the ELF header.
15130
c21cc9bc
AS
151312010-09-27 Andreas Schwab <schwab@redhat.com>
15132
15133 [BZ #11611]
15134 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
15135 Mask out sign-bit copies when constructing f_fsid.
15136
315970f6
PB
151372010-09-24 Petr Baudis <pasky@suse.cz>
15138
15139 * debug/stack_chk_fail_local.c: Add missing licence exception.
15140 * debug/warning-nop.c: Likewise.
15141
1ac7a2c7
JM
151422010-09-15 Joseph Myers <joseph@codesourcery.com>
15143
15144 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
15145 implementing getdents64 using getdents syscall, set d_type if
15146 __ASSUME_GETDENTS32_D_TYPE.
15147
56801c50
AS
151482010-09-16 Andreas Schwab <schwab@redhat.com>
15149
15150 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
15151 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
15152
dda51327
UD
151532010-09-21 Ulrich Drepper <drepper@redhat.com>
15154
15155 [BZ #12037]
15156 * posix/unistd.h: Undo change of feature selection for ftruncate from
15157 2010-01-11.
15158
8ffcee4a
UD
151592010-09-20 Ulrich Drepper <drepper@redhat.com>
15160
a545ecd9 15161 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
15162 detection.
15163
e24f0a8b
AS
151642010-09-20 Andreas Schwab <schwab@redhat.com>
15165
15166 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15167 fanotify_mark.
15168 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15169
7291c56f
AS
151702010-09-14 Andreas Schwab <schwab@redhat.com>
15171
15172 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15173 variables after CHECK_SP call.
15174 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15175
bc5fb037
AS
151762010-09-13 Andreas Schwab <schwab@redhat.com>
15177 Ulrich Drepper <drepper@redhat.com>
15178
15179 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15180 re-relocationg ld.so.
15181 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15182 _dl_init_paths call.
15183 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15184 here anymore.
15185
e66e7419
UD
151862010-09-14 Ulrich Drepper <drepper@redhat.com>
15187
15188 * resolv/res_init.c (__res_vinit): Count the default server we added.
15189
c044aa75
CLT
151902010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15191 Ulrich Drepper <drepper@redhat.com>
15192
15193 [BZ #11968]
15194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15195 (____longjmp_chk): Use %ebx for saving value across system call.
15196 Add unwind info.
15197
32cf4069
AS
151982010-09-06 Andreas Schwab <schwab@redhat.com>
15199
15200 * manual/Makefile: Don't mix pattern rules with normal rules.
15201
817328ee
AS
152022010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15203
15204 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15205 operation.
15206 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15207 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15208 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15209 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15210 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15211 Likewise.
15212
29fddf61
UD
152132010-09-04 Ulrich Drepper <drepper@redhat.com>
15214
15215 [BZ #11979]
15216 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15217 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15218
0959ffc9
UD
152192010-09-02 Ulrich Drepper <drepper@redhat.com>
15220
15221 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15222 * sysdeps/x86_64/addmul_1.S: Likewise.
15223 * sysdeps/x86_64/lshift.S: Likewise.
15224 * sysdeps/x86_64/mul_1.S: Likewise.
15225 * sysdeps/x86_64/rshift.S: Likewise.
15226 * sysdeps/x86_64/sub_n.S: Likewise.
15227 * sysdeps/x86_64/submul_1.S: Likewise.
15228
ece29840
ST
152292010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15230
0959ffc9
UD
15231 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15232 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15233 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15234 * bits/sched.h [__need_schedparam]
ece29840 15235 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15236 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15237 (__defined_schedparam): Define to 1.
ece29840
ST
15238 (__sched_param): New structure, identical to sched_param.
15239 (__need_schedparam): Undefine.
15240
e53a31fe
MF
152412010-08-31 Mike Frysinger <vapier@gentoo.org>
15242
fdc0c10d
MF
15243 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15244 (epoll_create1): Declare.
15245
e53a31fe
MF
15246 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15247
a726d796
AS
152482010-08-31 Andreas Schwab <schwab@redhat.com>
15249
15250 [BZ #7066]
15251 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15252 shifting retval into place.
15253
2f3e3dc7
UD
152542010-09-01 Ulrich Drepper <drepper@redhat.com>
15255
f2933da9
UD
15256 * nis/rpcsvc/nis.h: Update copyright notice.
15257 * nis/rpcsvc/nis.x: Likewise.
15258 * nis/rpcsvc/nis_callback.h: Likewise.
15259 * nis/rpcsvc/nis_callback.x: Likewise.
15260 * nis/rpcsvc/nis_object.x: Likewise.
15261 * nis/rpcsvc/nis_tags.h: Likewise.
15262 * nis/rpcsvc/yp.h: Likewise.
15263 * nis/rpcsvc/yp.x: Likewise.
15264 * nis/rpcsvc/ypupd.h: Likewise.
15265 * nis/yp_xdr.c: Likewise.
15266 * nis/ypupdate_xdr.c: Likewise.
15267
2f3e3dc7
UD
15268 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15269 mainly the body of pmap_getport. Add parameters to specify timeouts.
15270 (pmap_getport): Use __libc_rpc_getport.
15271 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15272 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15273 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15274
f3dcc2f9
AS
152752010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15276
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15278 fanotify_mark.
15279
6d34eb5b
RM
152802010-08-27 Roland McGrath <roland@redhat.com>
15281
15282 * sysdeps/i386/i686/multiarch/Makefile
15283 (CFLAGS-varshift.c): New variable.
15284
9ea3de11
UD
152852010-08-27 Ulrich Drepper <drepper@redhat.com>
15286
c96d23fc
UD
15287 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15288 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15289
9ea3de11
UD
15290 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15291
15292 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15293
623aac7f
L
152942010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15295
15296 * sysdeps/x86_64/strlen.S: Unroll the loop.
15297 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15298 strlen-sse2 strlen-sse2-bsf.
15299 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15300 __strlen_no_bsf if bit_Slow_BSF is set.
15301 (__strlen_sse42): Removed.
15302 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15303 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15304
8b2b7715
RM
153052010-08-25 Roland McGrath <roland@redhat.com>
15306
15307 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15308 * sysdeps/x86_64/multiarch/varshift.c: New file.
15309 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15310 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15311 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15312 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15313
e73015f2
L
153142010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15315
15316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15317 strlen-sse2 strlen-sse2-bsf.
15318 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15319 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15320 (__strlen_sse2): Removed.
15321 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15322 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15323 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15324 bit_Slow_BSF for Atom.
15325 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15326 (index_Slow_BSF): Define.
15327 (HAS_SLOW_BSF): Define.
15328
df24a73e
UD
153292010-08-25 Ulrich Drepper <drepper@redhat.com>
15330
15331 [BZ #10851]
15332 * resolv/res_init.c (__res_vinit): When no server address at all
15333 is given default to loopback.
15334
f2ac4868
RM
153352010-08-24 Roland McGrath <roland@redhat.com>
15336
09055553
RM
15337 * configure.in: Remove config-name.h generation.
15338 * configure: Regenerated.
15339 * config-name.in: File removed.
15340 * scripts/config-uname.sh: New file.
15341 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15342 ($(objdir)config-name.h): New target.
15343
f2ac4868
RM
15344 * sunrpc/rpc_parse.h: Avoid nested comment.
15345
73f27d5e
RH
153462010-08-24 Richard Henderson <rth@redhat.com>
15347 Ulrich Drepper <drepper@redhat.com>
15348 H.J. Lu <hongjiu.lu@intel.com>
15349
15350 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15352 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15353 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15354 _mm_alignr_epi8 with _mm_loadu_si128.
15355 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15356 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15357 (__m128i_shift_right): Removed.
15358 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15359 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15360 * sysdeps/x86_64/multiarch/varshift.h: New file.
15361 * sysdeps/x86_64/multiarch/varshift.S: New file.
15362
84b9230c
MF
153632010-08-21 Mike Frysinger <vapier@gentoo.org>
15364
15365 * configure.in: Move assembler checks to before sysdep dir checking.
15366
9bbd0ddc
PB
153672010-08-20 Petr Baudis <pasky@suse.cz>
15368
15369 * LICENSES: Sync the sunrpc license.
15370
9da4bb31
UD
153712010-08-19 Ulrich Drepper <drepper@redhat.com>
15372
a7ab6ec8
UD
15373 * sunrpc/auth_des.c: Update copyright notice once again.
15374 * sunrpc/auth_none.c: Likewise.
15375 * sunrpc/auth_unix.c: Likewise.
15376 * sunrpc/authdes_prot.c: Likewise.
15377 * sunrpc/authuxprot.c: Likewise.
15378 * sunrpc/bindrsvprt.c: Likewise.
15379 * sunrpc/clnt_gen.c: Likewise.
15380 * sunrpc/clnt_perr.c: Likewise.
15381 * sunrpc/clnt_raw.c: Likewise.
15382 * sunrpc/clnt_simp.c: Likewise.
15383 * sunrpc/clnt_tcp.c: Likewise.
15384 * sunrpc/clnt_udp.c: Likewise.
15385 * sunrpc/clnt_unix.c: Likewise.
15386 * sunrpc/des_crypt.c: Likewise.
15387 * sunrpc/des_soft.c: Likewise.
15388 * sunrpc/get_myaddr.c: Likewise.
15389 * sunrpc/getrpcport.c: Likewise.
15390 * sunrpc/key_call.c: Likewise.
15391 * sunrpc/key_prot.c: Likewise.
15392 * sunrpc/openchild.c: Likewise.
15393 * sunrpc/pm_getmaps.c: Likewise.
15394 * sunrpc/pm_getport.c: Likewise.
15395 * sunrpc/pmap_clnt.c: Likewise.
15396 * sunrpc/pmap_prot.c: Likewise.
15397 * sunrpc/pmap_prot2.c: Likewise.
15398 * sunrpc/pmap_rmt.c: Likewise.
15399 * sunrpc/rpc/auth.h: Likewise.
15400 * sunrpc/rpc/auth_unix.h: Likewise.
15401 * sunrpc/rpc/clnt.h: Likewise.
15402 * sunrpc/rpc/des_crypt.h: Likewise.
15403 * sunrpc/rpc/key_prot.h: Likewise.
15404 * sunrpc/rpc/netdb.h: Likewise.
15405 * sunrpc/rpc/pmap_clnt.h: Likewise.
15406 * sunrpc/rpc/pmap_prot.h: Likewise.
15407 * sunrpc/rpc/pmap_rmt.h: Likewise.
15408 * sunrpc/rpc/rpc.h: Likewise.
15409 * sunrpc/rpc/rpc_des.h: Likewise.
15410 * sunrpc/rpc/rpc_msg.h: Likewise.
15411 * sunrpc/rpc/svc.h: Likewise.
15412 * sunrpc/rpc/svc_auth.h: Likewise.
15413 * sunrpc/rpc/types.h: Likewise.
15414 * sunrpc/rpc/xdr.h: Likewise.
15415 * sunrpc/rpc_clntout.c: Likewise.
15416 * sunrpc/rpc_cmsg.c: Likewise.
15417 * sunrpc/rpc_common.c: Likewise.
15418 * sunrpc/rpc_cout.c: Likewise.
15419 * sunrpc/rpc_dtable.c: Likewise.
15420 * sunrpc/rpc_hout.c: Likewise.
15421 * sunrpc/rpc_main.c: Likewise.
15422 * sunrpc/rpc_parse.c: Likewise.
15423 * sunrpc/rpc_parse.h: Likewise.
15424 * sunrpc/rpc_prot.c: Likewise.
15425 * sunrpc/rpc_sample.c: Likewise.
15426 * sunrpc/rpc_scan.c: Likewise.
15427 * sunrpc/rpc_scan.h: Likewise.
15428 * sunrpc/rpc_svcout.c: Likewise.
15429 * sunrpc/rpc_tblout.c: Likewise.
15430 * sunrpc/rpc_util.c: Likewise.
15431 * sunrpc/rpc_util.h: Likewise.
15432 * sunrpc/rpcinfo.c: Likewise.
15433 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15434 * sunrpc/rpcsvc/key_prot.x: Likewise.
15435 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15436 * sunrpc/rpcsvc/mount.x: Likewise.
15437 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15438 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15439 * sunrpc/rpcsvc/rex.x: Likewise.
15440 * sunrpc/rpcsvc/rstat.x: Likewise.
15441 * sunrpc/rpcsvc/rusers.x: Likewise.
15442 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15443 * sunrpc/rpcsvc/spray.x: Likewise.
15444 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15445 * sunrpc/rtime.c: Likewise.
15446 * sunrpc/svc.c: Likewise.
15447 * sunrpc/svc_auth.c: Likewise.
15448 * sunrpc/svc_authux.c: Likewise.
15449 * sunrpc/svc_raw.c: Likewise.
15450 * sunrpc/svc_run.c: Likewise.
15451 * sunrpc/svc_simple.c: Likewise.
15452 * sunrpc/svc_tcp.c: Likewise.
15453 * sunrpc/svc_udp.c: Likewise.
15454 * sunrpc/svc_unix.c: Likewise.
15455 * sunrpc/svcauth_des.c: Likewise.
15456 * sunrpc/xcrypt.c: Likewise.
15457 * sunrpc/xdr.c: Likewise.
15458 * sunrpc/xdr_array.c: Likewise.
15459 * sunrpc/xdr_float.c: Likewise.
15460 * sunrpc/xdr_mem.c: Likewise.
15461 * sunrpc/xdr_rec.c: Likewise.
15462 * sunrpc/xdr_ref.c: Likewise.
15463 * sunrpc/xdr_sizeof.c: Likewise.
15464 * sunrpc/xdr_stdio.c: Likewise.
15465
9da4bb31
UD
15466 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15467 handling.
15468
bdaa77bc
AS
154692010-08-19 Andreas Schwab <schwab@redhat.com>
15470
15471 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15472
fe2f79db
LM
154732010-08-19 Luis Machado <luisgpm@br.ibm.com>
15474
15475 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15476 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15477 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15478 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15479 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15480 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15481 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15482 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15483 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15484 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15485 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15486 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15487 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15488 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15489
b9b42ee0
AB
154902010-07-26 Anton Blanchard <anton@samba.org>
15491
15492 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15493 * malloc/arena.c (heap_trim): Likewise.
15494
1c06ba31
UD
154952010-08-16 Ulrich Drepper <drepper@redhat.com>
15496
15497 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15498 here. Not...
15499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15500 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15501
f8392f40
L
155022010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15503
15504 * sysdeps/i386/elf/Makefile: New file.
15505
3162f12e
AS
155062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15507
15508 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15509 from fanotify_init.
15510 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15511 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15512
28c90b2c
UD
155132010-08-15 Ulrich Drepper <drepper@redhat.com>
15514
15515 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15516 of strncasecmp_l.
1feccb6c 15517 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15518
ca6bb004
UD
155192010-08-14 Ulrich Drepper <drepper@redhat.com>
15520
e9f82e0d
UD
15521 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15522 strncase_l-nonascii.
15523 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15524 Add strncase_l-ssse3.
15525 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15526 * sysdeps/x86_64/strcmp.S: Likewise.
15527 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15528 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15529 * sysdeps/x86_64/strncase.S: New file.
15530 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15531 * sysdeps/x86_64/strncase_l.S: New file.
15532 * string/Makefile (strop-tests): Add strncasecmp.
15533 * string/test-strncasecmp.c: New file.
15534
15535 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15536 warning.
15537
ca6bb004
UD
15538 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15539 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15540
052fa7b3
AS
155412010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15542
15543 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15544
962dba78
UD
155452010-08-12 Ulrich Drepper <drepper@redhat.com>
15546
15547 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15548 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15549 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15550
bebff237
AM
155512010-05-01 Alan Modra <amodra@gmail.com>
15552
15553 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15554 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15555 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15556 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15557 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15558 tidying. Don't tail-call __sigjmp_save for static lib.
15559 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15560 save location.
15561 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15562 (CALL_MCOUNT): Add eh info, and nop after bl.
15563 (TAIL_CALL_SYSCALL_ERROR): New macro.
15564 (PSEUDO_RET): Use it.
15565 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15566 Correct save location of integer regs and cr.
15567 (_dl_profile_resolve): Correct cr save location. Delete nops
15568 after bl when SHARED. Reduce cfi size a little by better
15569 placement of cfi directives.
15570 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15571 make a stack frame. Instead use parm save area as a temp.
15572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15573 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15575 Don't make a stack frame for parent, use parm save area.
15576 Increase child stack frame to 112 bytes. Don't save unused reg,
15577 and adjust reg usage. Set up cfi on error recovery and
15578 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15580 (__makecontext): Add dummy nop after jump to exit.
15581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15582 Use correct parm save area and cr save, reduce stack frame.
15583 Correct cfi for possible PSEUDO_RET frame setup.
15584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15585 Branch to local label emitted by PSEUDO_RET rather than
15586 __syscall_error.
15587
02637374
AS
155882010-08-12 Andreas Schwab <schwab@redhat.com>
15589
15590 [BZ #11904]
15591 * locale/programs/locale.c (print_assignment): New function.
15592 (show_locale_vars): Use it.
15593
c3e2f19b
UD
155942010-08-11 Ulrich Drepper <drepper@redhat.com>
15595
3cdaa6ad
UD
15596 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15597 field.
15598 (struct statfs64): Likewise.
15599 (_STATFS_F_FLAGS): Define.
15600 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15601 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15602 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15603 (ST_VALID): Define locally.
15604 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15605 __statvfs_getflags, use the provided value.
15606 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15607 __ASSUME_STATFS_F_FLAGS.
15608
754f7da3
UD
15609 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15610
10b3bedc
UD
15611 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15612 Add sys/fanotify.h.
15613 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15614 fanotify_mask for GLIBC_2.13.
15615 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15616 fanotify_init and fanotify_mark.
15617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15618 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15619
c08fb0d7
UD
15620 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15621 Add prlimit.
15622 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15623 prlimit64 for GLIBC_2.13.
15624 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15625 prlimit64.
15626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15627 syscall.
15628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15629 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15630 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15633 add prlimit alias.
15634 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15635
15bac72b
UD
15636 [BZ #11903]
15637 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15638 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15639
c3e2f19b
UD
15640 * nss/Makefile: Add rules to build and run tst-nss-test1.
15641 * shlib-versions: Add entry for libnss_test1.
15642 * nss/nss_test1.c: New file.
15643 * nss/tst-nss-test1.c: New file.
15644
15645 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15646 (__nss_configure_lookup): Set appropriate entry in
15647 __nss_configure_lookup to true.
15648 * nss/nsswitch.h: Define enum with indeces of databases in
15649 databases and __nss_database_custom arrays. Declare
15650 __nss_database_custom.
15651 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15652 to avoid using nscd when custom rules are installed.
15653 * nss/getXXbyYY_r.c: Likewise.
15654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15655
15656 * nss/nss_files/files-parse.c: Whitespace fixes.
15657
f15ce4d8
UD
156582010-08-09 Ulrich Drepper <drepper@redhat.com>
15659
15660 [BZ #11883]
15661 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15662 * posix/fnmatch_loop.c: Likewise.
15663
d22e4cc9
AK
156642010-07-17 Andi Kleen <ak@linux.intel.com>
15665
15666 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15667 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15668 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15669 * Versions.def [GLIBC_2.13]: Add.
15670
805bc17d
UD
156712010-08-06 Ulrich Drepper <drepper@redhat.com>
15672
15673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15674 Also fail if tpwd after pwuid call is NULL.
15675
5a42321d
ST
156762010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15677
15678 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15679 when converting to ms.
15680
fd3ebeda
ST
156812010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15682
15683 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15684 EOPNOTSUPP errors with ENOTTY.
15685 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15686 EOPNOTSUPP errors with ENOTTY.
15687
73507d3a
UD
156882010-07-31 Ulrich Drepper <drepper@redhat.com>
15689
15690 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15691 Add strcasecmp_l-ssse3.
15692 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15693 strcasecmp.
15694 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15695 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15696 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15697
fe36dd02
UD
156982010-07-30 Ulrich Drepper <drepper@redhat.com>
15699
66f6765a
UD
15700 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15701
42e08a54
UD
15702 * string/Makefile (strop-tests): Add strcasecmp.
15703 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15704 strcasecmp_l-nonascii.
15705 (gen-as-const-headers): Add locale-defines.sym.
15706 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15707 * sysdeps/x86_64/strcasecmp.S: New file.
15708 * sysdeps/x86_64/strcasecmp_l.S: New file.
15709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15710 * sysdeps/x86_64/locale-defines.sym: New file.
15711 * string/test-strcasecmp.c: New file.
15712
fe36dd02
UD
15713 * string/test-strcasestr.c: Test both ends of the range of characters.
15714 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15715
48cbc0d6
RM
157162010-07-29 Roland McGrath <roland@redhat.com>
15717
76e6d6bc 15718 [BZ #11856]
48cbc0d6
RM
15719 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15720
880113d9
UD
157212010-07-27 Ulrich Drepper <drepper@redhat.com>
15722
15723 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15724 for ld.so.
15725
deb9cabb
AS
157262010-07-27 Andreas Schwab <schwab@redhat.com>
15727
15728 * manual/memory.texi (Malloc Tunable Parameters): Document
15729 M_PERTURB.
15730
1c7570ff
RM
157312010-07-26 Roland McGrath <roland@redhat.com>
15732
15733 [BZ #11840]
15734 * configure.in (-fgnu89-inline check): Set and substitute
15735 gnu89_inline, not libc_cv_gnu89_inline.
15736 * configure: Regenerated.
15737 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15738
24fb0f88
UD
157392010-07-26 Ulrich Drepper <drepper@redhat.com>
15740
15741 * string/test-strnlen.c: New file.
15742 * string/Makefile (strop-tests): Add strnlen.
15743 * string/tester.c (test_strnlen): Add a few more test cases.
15744 * string/tst-strlen.c: Better error reporting.
15745
15746 * sysdeps/x86_64/strnlen.S: New file.
15747
8e96b93a
UD
157482010-07-24 Ulrich Drepper <drepper@redhat.com>
15749
15750 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15751 lower-latency instructions.
15752
dbc676d4
UD
157532010-07-23 Ulrich Drepper <drepper@redhat.com>
15754
15755 * string/test-strcasestr.c: New file.
15756 * string/test-strstr.c: New file.
15757 * string/Makefile (strop-tests): Add strstr and strcasestr.
15758 * string/str-two-way.h: Don't undefine MAX.
15759 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15760
f6a31e0e
AS
157612010-07-21 Andreas Schwab <schwab@redhat.com>
15762
15763 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15764 strcasestr-nonascii.
15765 (CFLAGS-strcasestr-nonascii.c): Define.
15766 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15767 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15768 Remove unused attribute.
15769
5dbc3b6c
RM
157702010-07-20 Roland McGrath <roland@redhat.com>
15771
15772 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15773 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15774 ld.so.cache was broken. With it, there is no way to disable dsocaps
15775 like LD_HWCAP_MASK can disable hwcaps.
15776
23d101d8
EPM
157772010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15778
15779 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15780
cc9f2e47
UD
157812010-07-16 Ulrich Drepper <drepper@redhat.com>
15782
15783 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15784 call in strcasestr.
15785 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15786 __strcasestr_sse42_nonascii.
15787 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15788 strcasestr-nonascii.c.
15789 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15790
77c1b069
LM
157912010-06-15 Luis Machado <luisgpm@br.ibm.com>
15792
15793 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15794 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15795 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15796 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15797
440566c3
UD
157982010-07-09 Ulrich Drepper <drepper@redhat.com>
15799
15800 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15801 fcntl.
15802
5be9d05d
AS
158032010-07-06 Andreas Schwab <schwab@redhat.com>
15804
c30b7ee2 15805 [BZ #11577]
5be9d05d
AS
15806 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15807 dl_signal_cerror.
15808
8a492a67
UD
158092010-07-06 Ulrich Drepper <drepper@redhat.com>
15810
15811 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15812 _PC_PIPE_BUF using F_GETPIPE_SZ.
15813
713df3d5
RM
158142010-07-05 Roland McGrath <roland@redhat.com>
15815
15816 * manual/arith.texi (Rounding Functions): Fix rint description
15817 implicit in round description.
15818
702e8f14
UD
158192010-07-02 Ulrich Drepper <drepper@redhat.com>
15820
15821 * elf/Makefile: Fix linking for a few tests to make recent linker
15822 happy.
15823
52ed8be9
AS
158242010-06-30 Andreas Schwab <schwab@redhat.com>
15825
15826 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15827 $(common-objpfx)libc_nonshared.a.
15828
f47c9a11
LM
158292010-06-21 Luis Machado <luisgpm@br.ibm.com>
15830
15831 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15832 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15833 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15834 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15835 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15836 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15837 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15838 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15853 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15854 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15855 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15856 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15857 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15858 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15859 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15860 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15861 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15862 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15863 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15864 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15879
6fb8cbcb
L
158802010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15881
15882 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15883 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15884 * string/memmove.c (memmove): Renamed to ...
15885 (MEMMOVE): ...this. Default to memmove.
15886 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15887 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15888 (END_CHK): Define.
15889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15890 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15891 mempcpy-ssse3-back memmove-ssse3-back.
15892 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15893 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15894 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15895 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15896 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15897 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15898 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15899 * sysdeps/x86_64/multiarch/memmove.c: New file.
15900 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15901 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15902 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15903 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15904 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15906 Define.
15907 (index_Fast_Copy_Backward): Define.
15908 (HAS_ARCH_FEATURE): Define.
15909 (HAS_FAST_REP_STRING): Define.
15910 (HAS_FAST_COPY_BACKWARD): Define.
15911
4e733bac 159122010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15913
15914 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15915 Restore proper fallback handling.
15916
63c4ed22
UD
159172010-06-19 Ulrich Drepper <drepper@redhat.com>
15918
ac2b484c
UD
15919 [BZ #11701]
15920 * posix/group_member.c (__group_member): Correct checking loop.
15921
63c4ed22
UD
15922 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15923 OOM in getpwuid_r correctly. Return error number when the caller
15924 should return, otherwise -1.
15925 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15926 call returning > 0 value.
15927 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15928
765ade4b
AS
159292010-06-07 Andreas Schwab <schwab@redhat.com>
15930
15931 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15932 libc_nonshared.a from targets in modules-names.
15933
80da2e09
KS
159342010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15935
15936 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15937 requires it.
15938
158db122
LM
159392010-06-10 Luis Machado <luisgpm@br.ibm.com>
15940
15941 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15942 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15944 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15945
caa78cf8
AS
159462010-06-02 Andreas Schwab <schwab@redhat.com>
15947
15948 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15949
b2ef2c01
UD
159502010-06-14 Ulrich Drepper <drepper@redhat.com>
15951
15952 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15953 and F_GETPIPE_SZ.
15954 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15957 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15959 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15960
fbd643b6
RM
159612010-06-14 Roland McGrath <roland@redhat.com>
15962
15963 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15964
f32f2869
JJ
159652010-06-07 Jakub Jelinek <jakub@redhat.com>
15966
15967 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15968 __REDIRECT followed by __THROW.
15969 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15970 * posix/getopt.h (getopt): Likewise.
15971
2a50c078
EPM
159722010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15973
15974 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15975 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15976 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15977 in AT_FLAGS.
15978 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15979 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15980
eb5ad2eb
LM
159812010-05-28 Luis Machado <luisgpm@br.ibm.com>
15982
15983 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15984
3c88fe1e
L
159852010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15986
15987 [BZ #11640]
15988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15989 Properly check family and model.
15990
d2f73151
TY
159912010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15992
15993 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15994
ebd2e13d
LM
159952010-05-24 Luis Machado <luisgpm@br.ibm.com>
15996
15997 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15998
b32b8b45
UD
159992010-05-21 Ulrich Drepper <drepper@redhat.com>
16000
16001 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
16002 symbol reference.
16003
9acbe24d
AS
160042010-05-19 Andreas Schwab <schwab@redhat.com>
16005
16006 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
16007 symbol reference.
16008
f0ccf6ea
AS
160092010-05-21 Andreas Schwab <schwab@redhat.com>
16010
3d04ff3a
AS
16011 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
16012 and internal_recvmmsg.
16013 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
16014 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
16015 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
16016 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
16017
f0ccf6ea
AS
16018 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
16019 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
16020 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
16021
5b08ac57
AS
160222010-05-20 Andreas Schwab <schwab@redhat.com>
16023
16024 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
16025
4828935d
LM
160262010-05-17 Luis Machado <luisgpm@br.ibm.com>
16027
16028 POWER7 optimizations.
16029 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
16030 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
16031
373d545e
UD
160322010-05-19 Ulrich Drepper <drepper@redhat.com>
16033
16034 * version.h: Update for 2.13 development version.
16035
21a2b1ae
AS
160362010-05-12 Andrew Stubbs <ams@codesourcery.com>
16037
16038 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
16039 exceptions. Return 0.
16040
3f7dcb2b
RM
160412010-05-07 Roland McGrath <roland@redhat.com>
16042
16043 * elf/ldconfig.c (main): Add a const.
16044
5f24d53a 160452010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 16046
a160f8d8
UD
16047 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
16048 (args_options): Add no-idn option.
16049 (ahosts_keys_int): Add idn_flags to ai_flags.
16050 (parse_option): Handle 'i' option to clear idn_flags.
16051
5f24d53a
UD
16052 * malloc/malloc.c (_int_free): Possible race in the most recently
16053 added check. Only act on the data if no current modification
16054 happened.
265bb1ce
UD
16055
16056See ChangeLog.17 for earlier changes.