]> sourceware.org Git - glibc.git/blob - ChangeLog
Move CL entry
[glibc.git] / ChangeLog
1 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2
3 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
4 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
5 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
6 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7 Refreshed.
8 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
9 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
10 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
12 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
13 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14 Refreshed.
15
16 2012-05-27 David S. Miller <davem@davemloft.net>
17
18 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19 (___Q_zero): New.
20 (__Q_simulate_exceptions): Return void. Change to simulate
21 exceptions by writing into the %fsr.
22 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
23 (__Qp_handle_exceptions): Likewise.
24 (numbers): Delete.
25 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26 __Qp_handle_exceptions.
27 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28 __Qp_handle_exceptions.
29 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30 as unused and give dummy FP_RND_NEAREST initializer.
31 (FP_INHIBIT_RESULTS): Define.
32 (___Q_simulate_exceptions): Update declaration.
33 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34 formatting.
35 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36 as unused and give dummy FP_RND_NEAREST initializer.
37 (__Qp_handle_exceptions): Update declaration.
38 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39 formatting.
40
41 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42
43 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44 the temporary FPU control word.
45 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
47 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
48 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
51 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
52 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
53 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
54 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
55 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56
57 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
58
59 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
60 fields.
61
62 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
63
64 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
66 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
68 Likewise.
69 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
71 Likewise.
72
73 2012-05-27 Ulrich Drepper <drepper@gmail.com>
74
75 * po/h.po: Update from translation team.
76
77 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
78
79 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80
81 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
82 handling of denormals.
83 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
84 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
85 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
86 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
87 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
88 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
89 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
90 Likewise.
91
92 2012-05-26 Marek Polacek <polacek@redhat.com>
93
94 [BZ #14152]
95 * math/libm-test.inc (fma_test): Don't always expect underflow
96 exception.
97
98 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
99
100 [BZ #12416]
101 * elf/tst-execstack.c: Include stackinfo.h.
102 (do_test): Adjust test case to ensure that pthread_getattr_np
103 behaviour remains the same after marking stack executable.
104
105 2012-05-25 Joseph Myers <joseph@codesourcery.com>
106
107 * sysdeps/unix/sysv/linux/kernel-features.h
108 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
109 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
110 kernel-features.h.
111 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
112 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
113 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
114 kernel-features.h.
115 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
116 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
117
118 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
119
120 * configure.in: Define the default includes to being none.
121 * configure: Regenerated.
122
123 2012-05-25 Roland McGrath <roland@hack.frob.com>
124
125 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
126 * sysdeps/x86_64/setjmp.S: Likewise.
127 * sysdeps/i386/bsd-setjmp.S: Likewise.
128 * sysdeps/i386/bsd-_setjmp.S: Likewise.
129 * sysdeps/i386/setjmp.S: Likewise.
130 * sysdeps/i386/__longjmp.S: Likewise.
131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
132 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
133
134 * include/stap-probe.h: New file.
135 * configure.in: Handle --enable-systemtap.
136 * configure: Regenerated.
137 * config.h.in (USE_STAP_PROBE): New #undef.
138 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
139 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
140 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
141
142 2012-05-25 Joseph Myers <joseph@codesourcery.com>
143
144 [BZ #13717]
145 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
146 to 2.4.0 where earlier.
147 * sysdeps/unix/sysv/linux/configure: Regenerated.
148 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
149 <kernel-features.h>.
150 [__ASSUME_32BITUIDS]: Make code unconditional.
151 [!__ASSUME_32BITUIDS]: Remove conditional code.
152 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
153 <kernel-features.h>.
154 [__ASSUME_32BITUIDS]: Make code unconditional.
155 [!__ASSUME_32BITUIDS]: Remove conditional code.
156 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
157 [__ASSUME_32BITUIDS]: Make code unconditional.
158 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
159 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
160 <kernel-features.h>.
161 [__ASSUME_32BITUIDS]: Make code unconditional.
162 [!__ASSUME_32BITUIDS]: Remove conditional code.
163 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
164 <kernel-features.h>.
165 [__ASSUME_32BITUIDS]: Make code unconditional.
166 [!__ASSUME_32BITUIDS]: Remove conditional code.
167 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
168 <kernel-features.h>.
169 [__ASSUME_32BITUIDS]: Make code unconditional.
170 [!__ASSUME_32BITUIDS]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
172 <kernel-features.h>.
173 [__ASSUME_32BITUIDS]: Make code unconditional.
174 [!__ASSUME_32BITUIDS]: Remove conditional code.
175 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
176 <kernel-features.h>.
177 [__ASSUME_32BITUIDS]: Make code unconditional.
178 [!__ASSUME_32BITUIDS]: Remove conditional code.
179 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
180 <kernel-features.h>.
181 [__ASSUME_32BITUIDS]: Make code unconditional.
182 [!__ASSUME_32BITUIDS]: Remove conditional code.
183 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
184 <kernel-features.h>.
185 [__ASSUME_32BITUIDS]: Make code unconditional.
186 [!__ASSUME_32BITUIDS]: Remove conditional code.
187 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
188 <kernel-features.h>.
189 [__ASSUME_32BITUIDS]: Make code unconditional.
190 [!__ASSUME_32BITUIDS]: Remove conditional code.
191 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
192 <kernel-features.h>.
193 [__ASSUME_32BITUIDS]: Make code unconditional.
194 [!__ASSUME_32BITUIDS]: Remove conditional code.
195 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
196 <kernel-features.h>.
197 [__ASSUME_32BITUIDS]: Make code unconditional.
198 [!__ASSUME_32BITUIDS]: Remove conditional code.
199 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
200 <kernel-features.h>.
201 [__NR_setresgid] (__setresgid): Do not declare.
202 [__ASSUME_32BITUIDS]: Make code unconditional.
203 [!__ASSUME_32BITUIDS]: Remove conditional code.
204 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
205 <kernel-features.h>.
206 [__NR_setresuid] (__setresuid): Do not declare.
207 [__ASSUME_32BITUIDS]: Make code unconditional.
208 [!__ASSUME_32BITUIDS]: Remove conditional code.
209 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
210 <kernel-features.h>.
211 [__ASSUME_32BITUIDS]: Make code unconditional.
212 [!__ASSUME_32BITUIDS]: Remove conditional code.
213 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
214 <kernel-features.h>.
215 [__ASSUME_32BITUIDS]: Make code unconditional.
216 [!__ASSUME_32BITUIDS]: Remove conditional code.
217 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
218 <kernel-features.h>.
219 [__ASSUME_32BITUIDS]: Make code unconditional.
220 [!__ASSUME_32BITUIDS]: Remove conditional code.
221 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
222 <kernel-features.h>.
223 [__ASSUME_32BITUIDS]: Make code unconditional.
224 [!__ASSUME_32BITUIDS]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
226 <kernel-features.h>.
227 [__ASSUME_32BITUIDS]: Make code unconditional.
228 [!__ASSUME_32BITUIDS]: Remove conditional code.
229 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
230 <kernel-features.h>.
231 [__ASSUME_32BITUIDS]: Make code unconditional.
232 [!__ASSUME_32BITUIDS]: Remove conditional code.
233 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
234 <kernel-features.h>.
235 [__ASSUME_32BITUIDS]: Make code unconditional.
236 [!__ASSUME_32BITUIDS]: Remove conditional code.
237 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
238 <kernel-features.h>.
239 [__ASSUME_32BITUIDS]: Make code unconditional.
240 [!__ASSUME_32BITUIDS]: Remove conditional code.
241 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
242 <kernel-features.h>.
243 [__ASSUME_32BITUIDS]: Make code unconditional.
244 [!__ASSUME_32BITUIDS]: Remove conditional code.
245 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
246 <kernel-features.h>.
247 [__ASSUME_32BITUIDS]: Make code unconditional.
248 [!__ASSUME_32BITUIDS]: Remove conditional code.
249 * sysdeps/unix/sysv/linux/kernel-features.h
250 (__ASSUME_SETRESUID_SYSCALL): Remove.
251 (__ASSUME_SETRESGID_SYSCALL): Likewise.
252 (__ASSUME_32BITUIDS): Likewise.
253 (__ASSUME_LDT_WORKS): Likewise.
254 (__ASSUME_O_DIRECTORY): Likewise.
255 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
256 architecture but not kernel version.
257 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
258 (__ASSUME_MMAP2_SYSCALL): Likewise.
259 (__ASSUME_STAT64_SYSCALL): Likewise.
260 (__ASSUME_IPC64): Likewise.
261 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
262 <kernel-features.h>.
263 [__ASSUME_32BITUIDS]: Make code unconditional.
264 [!__ASSUME_32BITUIDS]: Remove conditional code.
265 * sysdeps/unix/sysv/linux/opendir.c: Do not include
266 <kernel-features.h>.
267 [__ASSUME_O_DIRECTORY]: Make code unconditional.
268 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
269 132096]: Remove conditional code.
270 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
271 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
272 <kernel-features.h>.
273 [__ASSUME_32BITUIDS]: Make code unconditional.
274 [!__ASSUME_32BITUIDS]: Remove conditional code.
275 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
276 <kernel-features.h>.
277 [__ASSUME_32BITUIDS]: Make code unconditional.
278 [!__ASSUME_32BITUIDS]: Remove conditional code.
279 * sysdeps/unix/sysv/linux/setegid.c: Do not include
280 <kernel-features.h>.
281 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
282 unconditional.
283 (__setresgid): Do not declare.
284 [__ASSUME_32BITUIDS]: Make code unconditional.
285 [!__ASSUME_32BITUIDS]: Remove conditional code.
286 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
287 <kernel-features.h>.
288 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
289 unconditional.
290 (__setresuid): Do not declare.
291 [__ASSUME_32BITUIDS]: Make code unconditional.
292 [!__ASSUME_32BITUIDS]: Remove conditional code.
293 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
294 <kernel-features.h>.
295 [__ASSUME_32BITUIDS]: Make code unconditional.
296 [!__ASSUME_32BITUIDS]: Remove conditional code.
297 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
298 <kernel-features.h>.
299 [__ASSUME_32BITUIDS]: Make code unconditional.
300 [!__ASSUME_32BITUIDS]: Remove conditional code.
301
302 2012-05-25 Richard Henderson <rth@twiddle.net>
303
304 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
305 dl_hwcap to ifunc resolver.
306 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
307 elf_ifunc_invoke.
308 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
309 dl_hwcap to ifunc resolver.
310 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
311
312 2012-05-24 Joseph Myers <joseph@codesourcery.com>
313
314 [BZ #14153]
315 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
316 for |x| <= 2**-26, not 2**-57.
317 * math/libm-test.inc (acos_test): Do not allow spurious underflow
318 exception.
319
320 2012-05-24 Jeff Law <law@redhat.com>
321
322 * stdio-common/Makefile (tests): Add bug25.
323 * stdio-common/bug25.c: New test.
324
325 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
326
327 [BZ #13576]
328 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
329 multiple of MALLOC_ALIGNMENT in size.
330 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
331
332 2012-05-24 Joseph Myers <joseph@codesourcery.com>
333
334 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
335 Require >= 256.
336 (FILENAME_MAX): Use macro-int-constant.
337 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
338 (_IOFBF): Use macro-int-constant.
339 (_IOLBF): Likewise.
340 (_IONBF): Likewise.
341 (SEEK_CUR): Likewise.
342 (SEEK_END): Likewise.
343 (SEEK_SET): Likewise.
344 (TMP_MAX): Likewise.
345 (EOF): Use macro-int-constant. Require < 0.
346 (NULL): Use macro-constant. Require == 0.
347 (stdin): Require type to be FILE *.
348 (stdout): Likewise.
349 (stderr): Likewise.
350 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
351 macro-int-constant.
352 (EXIT_SUCCESS): Likewise.
353 (NULL): Use macro-constant. Require == 0.
354 (RAND_MAX): Use macro-int-constant.
355 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
356 [C99-based standards] (strtof): Require function.
357 [C99-based standards] (strtold): Likewise.
358 [C99-based standards] (strtoll): Likewise.
359 [C99-based standards] (strtoull): Likewise.
360 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
361 [ISO || ISO99 || ISO11] (limits.h): Likewise.
362 [ISO || ISO99 || ISO11] (math.h): Likewise.
363 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
364 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
365 [ISO || ISO99 || ISO11] (*_t): Do not allow.
366
367 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
368
369 [BZ #14132]
370 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
371 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
372 * intl/dgettext.c (DCGETTEXT): Likewise.
373 * intl/gettext.c (DCGETTEXT): Likewise.
374 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
375 * posix/regex_internal.h (gettext): Likewise.
376 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
377 Remove declaration.
378 * include/argz.h (__argz_count_internal)
379 (__argz_stringify_internal): Remove declaration.
380 (__argz_count, __argz_stringify): Declare hidden proto.
381 * intl/dcgettext.c: Remove use of INTDEF.
382 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
383 * string/argz-stringify.c: Likewise.
384 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
385 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
386 Declare hidden proto.
387 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
388 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
389 Declare hidden proto.
390 * include/stdio.h (__asprintf_internal): Don't declare.
391 (__asprintf): Don't define as macro. Declare hidden proto.
392 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
393 (__fsetlocking): Declare hidden proto.
394 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
395 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
396 hidden proto.
397 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
398 (_IO_setlinebuf): Remove use of INTUSE.
399 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
400 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
401 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
402 Remove declaration.
403 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
404 (_IO_do_flush): Remove use of INTUSE.
405 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
406 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
407 (_IO_adjust_column, _IO_least_wmarker)
408 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
409 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
410 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
411 (_IO_default_doallocate, _IO_wdefault_doallocate)
412 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
413 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
414 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
415 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
416 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
417 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
418 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
419 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
420 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
421 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
422 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
423 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
424 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
425 proto.
426 (_IO_flush_all_internal, _IO_adjust_column_internal)
427 (_IO_default_uflow_internal, _IO_default_finish_internal)
428 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
429 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
430 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
431 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
432 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
433 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
434 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
435 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
436 (_IO_file_close_internal, _IO_file_close_it_internal)
437 (_IO_file_underflow_internal, _IO_file_overflow_internal)
438 (_IO_file_init_internal, _IO_file_attach_internal)
439 (_IO_file_fopen_internal, _IO_file_read_internal)
440 (_IO_file_sync_internal, _IO_file_seek_internal)
441 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
442 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
443 (_IO_str_underflow_internal, _IO_str_overflow_internal)
444 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
445 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
446 (_IO_list_all_internal, _IO_link_in_internal)
447 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
448 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
449 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
450 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
451 (_IO_do_write_internal, _IO_padn_internal)
452 (_IO_getline_info_internal, _IO_getline_internal)
453 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
454 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
455 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
456 (_IO_vfscanf_internal, _IO_vfprintf_internal)
457 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
458 (_IO_init_internal, _IO_un_link_internal): Don't declare.
459 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
460 with libc_hidden_ver, remove use of INTUSE.
461 * libio/genops.c: Likewise.
462 * libio/freopen.c: Likewise.
463 * libio/freopen64.c: Likewise.
464 * libio/iofclose.c: Likewise.
465 * libio/iofdopen.c: Likewise.
466 * libio/iofflush.c: Likewise.
467 * libio/iofflush_u.c: Likewise.
468 * libio/iofgets.c: Likewise.
469 * libio/iofgets_u.c: Likewise.
470 * libio/iofopen.c: Likewise.
471 * libio/iofopncook.c: Likewise.
472 * libio/iofread.c: Likewise.
473 * libio/iofread_u.c: Likewise.
474 * libio/ioftell.c: Likewise.
475 * libio/iofwrite.c: Likewise.
476 * libio/iogetline.c: Likewise.
477 * libio/iogets.c: Likewise.
478 * libio/iogetwline.c: Likewise.
479 * libio/iopadn.c: Likewise.
480 * libio/iopopen.c: Likewise.
481 * libio/ioseekoff.c: Likewise.
482 * libio/ioseekpos.c: Likewise.
483 * libio/iosetbuffer.c: Likewise.
484 * libio/iosetvbuf.c: Likewise.
485 * libio/ioungetc.c: Likewise.
486 * libio/ioungetwc.c: Likewise.
487 * libio/iovdprintf.c: Likewise.
488 * libio/iovsprintf.c: Likewise.
489 * libio/iovsscanf.c: Likewise.
490 * libio/memstream.c: Likewise.
491 * libio/obprintf.c: Likewise.
492 * libio/oldfileops.c: Likewise.
493 * libio/oldiofclose.c: Likewise.
494 * libio/oldiofdopen.c: Likewise.
495 * libio/oldiofopen.c: Likewise.
496 * libio/oldiopopen.c: Likewise.
497 * libio/oldstdfiles.c: Likewise.
498 * libio/putc.c: Likewise.
499 * libio/setbuf.c: Likewise.
500 * libio/setlinebuf.c: Likewise.
501 * libio/stdfiles.c: Likewise.
502 * libio/strops.c: Likewise.
503 * libio/vasprintf.c: Likewise.
504 * libio/vscanf.c: Likewise.
505 * libio/vsnprintf.c: Likewise.
506 * libio/vswprintf.c: Likewise.
507 * libio/wfiledoalloc.c: Likewise.
508 * libio/wfileops.c: Likewise.
509 * libio/wgenops.c: Likewise.
510 * libio/wmemstream.c: Likewise.
511 * libio/wstrops.c: Likewise.
512 * libio/__fpurge.c: Likewise.
513 * libio/__fsetlocking.c: Likewise.
514 * assert/assert.c: Likewise.
515 * debug/fgets_chk.c: Likewise.
516 * debug/fgets_u_chk.c: Likewise.
517 * debug/fread_chk.c: Likewise.
518 * debug/fread_u_chk.c: Likewise.
519 * debug/gets_chk.c: Likewise.
520 * debug/obprintf_chk.c: Likewise.
521 * debug/vasprintf_chk.c: Likewise.
522 * debug/vdprintf_chk.c: Likewise.
523 * debug/vsnprintf_chk.c: Likewise.
524 * debug/vsprintf_chk.c: Likewise.
525 * malloc/mtrace.c: Likewise.
526 * misc/error.c: Likewise.
527 * misc/syslog.c: Likewise.
528 * stdio-common/asprintf.c: Likewise.
529 * stdio-common/fxprintf.c: Likewise.
530 * stdio-common/getw.c: Likewise.
531 * stdio-common/isoc99_fscanf.c: Likewise.
532 * stdio-common/isoc99_scanf.c: Likewise.
533 * stdio-common/isoc99_vfscanf.c: Likewise.
534 * stdio-common/isoc99_vscanf.c: Likewise.
535 * stdio-common/isoc99_vsscanf.c: Likewise.
536 * stdio-common/printf-prs.c: Likewise.
537 * stdio-common/printf_fp.c: Likewise.
538 * stdio-common/printf_fphex.c: Likewise.
539 * stdio-common/printf_size.c: Likewise.
540 * stdio-common/putw.c: Likewise.
541 * stdio-common/scanf.c: Likewise.
542 * stdio-common/sprintf.c: Likewise.
543 * stdio-common/tmpfile.c: Likewise.
544 * stdio-common/vfprintf.c: Likewise.
545 * stdio-common/vfscanf.c: Likewise.
546 * stdlib/strfmon_l.c: Likewise.
547 * sunrpc/openchild.c: Likewise.
548 * sunrpc/xdr_stdio.c: Likewise.
549 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
550 * sysdeps/mach/hurd/tmpfile.c: Likewise.
551
552 2012-05-24 Roland McGrath <roland@hack.frob.com>
553
554 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
555
556 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
557 in the third column, to generate for the shared library an IFUNC
558 that uses _dl_vdso_vsym.
559 * Makerules (COMPILE.c, compile-stdin.c): New variables.
560 * Makeconfig (object-suffixes-noshared): New variable.
561
562 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
563 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
564 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
565 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
566
567 [BZ #14132]
568 * include/sys/time.h (__gettimeofday): Remove macro.
569 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
570 * time/gettimeofday.c (__gettimeofday): Remove #undef.
571 Remove INTDEF.
572 (__gettimeofday): Add libc_hidden_def.
573 (gettimeofday): Add libc_hidden_weak.
574 * sysdeps/mach/gettimeofday.c: Likewise.
575 * sysdeps/posix/gettimeofday.c: Likewise.
576 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
577 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
579 (__gettimeofday_internal): Remove strong_alias.
580 (__gettimeofday): Add libc_hidden_def.
581 (gettimeofday): Add libc_hidden_weak.
582 * sysdeps/unix/syscalls.list (gettimeofday):
583 Remove __gettimeofday_internal alias.
584
585 2012-05-24 Daniel Jacobowitz <drow@false.org>
586 H.J. Lu <hongjiu.lu@intel.com>
587
588 [BZ #12495]
589 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
590 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
591 (largebin_index_32_big): New.
592 (largebin_index): Use it for 16-byte alignment.
593 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
594 correction with front_misalign.
595
596 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
597
598 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
600 Likewise.
601 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
602 Likewise.
603 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
604 Likewise.
605 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
606 Likewise.
607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
608 Likewise.
609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
610 Likewise.
611 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
612 Likewise.
613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
614 Likewise.
615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
616 Likewise.
617 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
618 Likewise.
619 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
620 Likewise.
621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
622 Likewise.
623
624 * scripts/data/c++-types-x32-linux-gnu.data: New file.
625 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
626
627 2012-05-24 Joseph Myers <joseph@codesourcery.com>
628
629 [BZ #10846]
630 [BZ #14036]
631 * math/libm-test.inc (exp_test): Add test from bug 14036.
632 (pow_test): Add test from bug 10846.
633
634 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
635 and other flags.
636 (special_function): Do not include flags in test name.
637 (parse_args): Likewise.
638 * sysdeps/i386/fpu/libm-test-ulps: Update.
639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
640 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
641 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
643
644 * math/gen-libm-test.pl (%beautify): Add entries for underflow
645 exceptions.
646 * math/libm-test.inc ("Philosophy"): Update comment about
647 exception testing.
648 (UNDERFLOW_EXCEPTION): New macro.
649 (UNDERFLOW_EXCEPTION_OK): Likewise.
650 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
651 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
652 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
653 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
654 (INVALID_EXCEPTION_OK): Update value.
655 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
656 (OVERFLOW_EXCEPTION_OK): Likewise.
657 (IGNORE_ZERO_INF_SIGN): Likewise.
658 (test_exceptions): Handle underflow exceptions.
659 (acos_test): Update for underflow exception expectations.
660 (cexp_test): Likewise.
661 (clog_test): Likewise.
662 (clog10_test): Likewise.
663 (csqrt_test): Likewise.
664 (ctan_test): Likewise.
665 (ctanh_test): Likewise.
666 (exp_test): Likewise.
667 (exp10_test): Likewise.
668 (exp2_test): Likewise.
669 (expm1_test): Likewise.
670 (fma_test): Likewise.
671 (j0_test): Likewise.
672 (jn_test): Likewise.
673 (nexttoward_test): Likewise.
674 (pow_test): Likewise.
675 (scalbn_test): Likewise.
676 (scalbln_test): Likewise.
677 (tan_test): Likewise.
678 (y1_test): Likewise.
679 * sysdeps/i386/fpu/libm-test-ulps: Update.
680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
681
682 2012-05-23 David S. Miller <davem@davemloft.net>
683
684 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
685 (__libc_sigaction): Remove unused local variables.
686
687 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
688
689 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
690
691 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
692
693 mktime: avoid signed integer overflow
694 * time/mktime.c (__mktime_internal): Do not mishandle the case
695 where diff == INT_MIN.
696
697 mktime: simplify computation of average
698 * time/mktime.c (ranged_convert): Use new time_t_avg function
699 instead of rolling our own (probably-slower) code.
700
701 mktime: do not assume signed right shift propagates sign bit
702 * time/mktime.c (isdst_differ): New static function.
703 (__mktime_internal): No need to normalize tm_isdst now.
704 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
705 tm_isdst values.
706
707 mktime: merge another wrapv change from gnulib
708 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
709 from some compilers.
710
711 mktime: remove incorrect attempt at unusual arithmetics
712 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
713 The code didn't really work on such machines anyway.
714 (TYPE_MINIMUM): Assume two's complement.
715 (twos_complement_arithmetic): Verify that long_int and time_t
716 are two's complement (or unsigned, in the latter case).
717
718 mktime: check signed shifts on long_int and time_t, too
719 * time/mktime.c (SHR): Check that shifts work as desired
720 on the types long_int and time_t too, as SHR is used on
721 such types.
722
723 mktime: do not assume 'long' is wide enough
724 * time/mktime.c (verify): Move decl up.
725 (long_int): New type.
726 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
727 to remove assumption in the code that 'long' is wide enough to
728 store year values. This assumption is not true on x32 and on
729 some non-glibc platforms.
730
731 mktime: merge wrapv change from gnulib
732 * time/mktime.c (WRAPV): New macro.
733 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
734 (guess_time_tm, __mktime_internal): Do not assume that signed
735 integer overflow wraps around; modern compilers generate code
736 where this assumption is no longer valid.
737
738 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
739
740 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
741 Replace "jmp L(pseudo_end)" with "ret".
742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
743 Likewise.
744
745 2012-05-23 Andreas Jaeger <aj@suse.de>
746
747 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
748 * sysdeps/unix/sysv/linux/poll.c: Remove file.
749
750 2012-05-23 Andreas Jaeger <aj@suse.de>
751 Maximilian Attems <max@stro.at>
752
753 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
754 New macros.
755
756 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
757
758 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
759 code so that pseudo_end is just ret and the stack pointer is
760 correct also for static library in error case.
761
762 2012-05-23 Joseph Myers <joseph@codesourcery.com>
763
764 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
765 move to syscalls.list.
766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
770
771 * manual/install.texi (Running make install): Do not mention Linux
772 kernel version for which pt_chown is not needed.
773 (Linux): Do not mention problems with nscd with 2.0 kernels.
774 * INSTALL: Regenerated.
775
776 2012-05-23 Andreas Jaeger <aj@suse.de>
777
778 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
779 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
780 macro.
781 * sysdeps/unix/sysv/linux/s390/bits/mman.h
782 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
783 * sysdeps/unix/sysv/linux/sh/bits/mman.h
784 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
785 * sysdeps/unix/sysv/linux/i386/bits/mman.h
786 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
787 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
788 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
790 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
791 * sysdeps/unix/sysv/linux/bits/in.h
792 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
793
794 2012-05-22 Roland McGrath <roland@hack.frob.com>
795
796 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
797 (PREPARE_VERSION): Just use assert instead, it will be elided
798 under [NDEBUG] anyway.
799
800 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
801
802 * sysdeps/unix/sysv/linux/Makefile: Include
803 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
804 (sysdep_routines): Remove sysctl.
805 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
806 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
807 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
808 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
809 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
810
811 2012-05-22 Andreas Jaeger <aj@suse.de>
812
813 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
814 that pseudo_end is just ret and the stack pointer is correct also
815 for static library in error case.
816
817 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
818
819 [BZ #14122]
820 * nss/nsswitch.c (defconfig_entries): New variable.
821 (__nss_database_lookup): Don't leak defconfig entries.
822 (nss_parse_service_list): Don't leak on error paths.
823 (free_database_entries): New function.
824 (free_defconfig): New function.
825 (free_mem): Move common code to free_database_entries.
826
827 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
828
829 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
830 Add arch_prctl.
831 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
832
833 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
834 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
836 New macro.
837 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
838 (INTERNAL_SYSCALL_TYPES): Likewise.
839 (LOAD_ARGS_TYPES_[1-6]): Likewise.
840 (LOAD_REGS_TYPES_[1-6]): Likewise.
841 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
842 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
843
844 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
845
846 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
847 copysignl for GLIBC_2_0.
848 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
849 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
850 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
851 logbl for GLIBC_2_0.
852 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
853 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
854
855 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
856
857 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
858 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
859
860 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
861 Use "neg %eax".
862
863 * time/mktime.c: Update copyright years.
864
865 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
866
867 mktime: merge comment-quoting-style change from gnulib
868 * time/mktime.c: Quote 'like this' in comments.
869 The GNU coding standards suggest that we no longer quote `like this',
870 as "`" and "'" are typically rendered asymmetrically nowadays.
871 The typical gnulib style is to quote 'like this' when quoting
872 code, and "like this" when quoting English.
873
874 * time/mktime.c (compile-command): Add "-I.".
875
876 mktime: merge mktime-internal.h change from gnulib
877 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
878
879 mktime: merge time_r change from gnulib
880 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
881
882 mktime: merge DEBUG change from gnulib
883 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
884 case system <time.h> has a #define.
885
886 mktime: merge <sys/types.h> change from gnulib
887 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
888 since <time.t> is now guaranteed to define time_t.
889
890 mktime: merge HAVE_CONFIG_H change from gnulib
891 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
892
893 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
894
895 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
896 Use "neg %eax".
897
898 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
899 __rlim_t cast.
900 (struct rusage): Use anonymous union to pad each field to
901 __syscall_slong_t.
902
903 2012-05-21 David S. Miller <davem@davemloft.net>
904
905 * Makefules (o-iterator): Remove .s cases.
906 (compile-command.s): Delete.
907 (COMPILE.s): Delete.
908 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
909
910 2012-05-21 Joseph Myers <joseph@codesourcery.com>
911
912 * configure.in (libc_cv_predef_stack_protector): Only consider
913 "foobar" and "__stack_chk_fail" lines in libc_undefs.
914 * configure: Regenerated.
915
916 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
917
918 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
919 New macro. Use R*LP on int and pointer.
920 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
921 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
922 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
923 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
924
925 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
926 [__WORDSIZE_TIME64_COMPAT32] instead of
927 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
928 (struct utmp): Likewise.
929 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
930 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
931 Renamed to ...
932 (__WORDSIZE_TIME64_COMPAT32): This.
933 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
934 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
935 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
936 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
937 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
938 (__WORDSIZE_TIME64_COMPAT32): New macro.
939
940 2012-05-21 Andreas Jaeger <aj@suse.de>
941
942 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
943 only if [SHARED]. Add prototype for __wcschr_ia32.
944
945 2012-05-21 Roland McGrath <roland@hack.frob.com>
946
947 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
948 of %rbp unmolested in the jmp_buf while mangling the low bits.
949 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
950 unmolested high bits of %rbp while demangling the low bits.
951 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
952
953 2012-05-21 Andreas Jaeger <aj@suse.de>
954
955 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
956 * sunrpc/svc_simple.c: Use it for registerrpc.
957 * sunrpc/xcrypt.c: Use it for passwd2des.
958
959 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
960
961 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
962
963 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
964 Don't define if [__SYSCALL_WORDSIZE != 32].
965 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
966 New macro.
967
968 2012-05-21 Bruno Haible <bruno@clisp.org>
969 Andreas Jaeger <aj@suse.de>
970
971 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
972 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
973 inptr and inend for must_buffer_ch.
974 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
975 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
976 * stdio-common/Makefile (tests): Remove bug15.
977 (bug15-ENV): Remove macro.
978 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
979 anymore.
980
981 2012-05-19 Andreas Jaeger <aj@suse.de>
982 Roland McGrath <roland@hack.frob.com>
983
984 * manual/contrib.texi: Completely rewritten. It contains now an
985 alphabetical list of contributors and their contributions.
986
987 2012-05-21 Richard Henderson <rth@twiddle.net>
988
989 * misc/getauxval.c (__getauxval): Use unsigned long int.
990 * misc/sys/auxv.h: Include <sys/cdefs.h>.
991 (getauxval): Use unsigned long int.
992
993 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
994
995 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
996
997 2012-05-21 Roland McGrath <roland@hack.frob.com>
998
999 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
1000 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
1001 __alignof__ (long double).
1002
1003 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1004
1005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1006
1007 2012-05-20 Richard Henderson <rth@twiddle.net>
1008
1009 * misc/getauxval.c: New file.
1010 * misc/sys/auxv.h: New file.
1011 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
1012 (routines): Add getauxval.
1013 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
1014 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
1015 * elf/dl-sysdep.c (_dl_auxv): Remove.
1016 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
1017 * elf/dl-support.c (_dl_auxv): New variable.
1018 (_dl_aux_init): Initialize it.
1019 * manual/startup.texi (Auxiliary Vector): New node.
1020 * sysdeps/generic/bits/hwcap.h: New file.
1021 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
1022 * sysdeps/powerpc/sysdep.h: ... here. Include it.
1023 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
1024 * sysdeps/sparc/sysdep.h: ... here. Include it.
1025 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
1026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
1027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1028 Update.
1029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
1030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
1031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
1032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
1033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
1035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
1036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
1037
1038 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1039
1040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1041
1042 2012-05-19 David S. Miller <davem@davemloft.net>
1043
1044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1045
1046 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1047
1048 [BZ #14123]
1049 * math/s_ccosh.c: Include <float.h>
1050 (__ccosh): Avoid internal overflow calculating sinh and cosh
1051 values before multiplying by sin and cos values.
1052 * math/s_ccoshf.c: Likewise.
1053 * math/s_ccoshl.c: Likewise.
1054 * math/s_csin.c: Likewise.
1055 * math/s_csinf.c: Likewise.
1056 * math/s_csinl.c: Likewise.
1057 * math/s_csinh.c: Likewise.
1058 * math/s_csinhf.c: Likewise.
1059 * math/s_csinhl.c: Likewise.
1060 * math/libm-test.inc (ccos_test): Add more tests.
1061 (ccosh_test): Likewise.
1062 (csin_test): Likewise.
1063 (csinh_test): Likewise.
1064 * sysdeps/i386/fpu/libm-test-ulps: Update.
1065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1066
1067 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1070 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1071
1072 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1073
1074 2012-05-19 Joseph Myers <joseph@codesourcery.com>
1075
1076 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1077 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1078 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1079 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1080 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1081 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1082 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1083 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1084 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1085 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1086 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1087 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1088 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1089 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1090 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1091 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1092 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1093 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1094 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1095 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1096 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1097 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1098 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1099 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1100 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1101 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1102 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1103 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1104 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1105 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1106 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1107
1108 2012-05-18 Andreas Jaeger <aj@suse.de>
1109
1110 * csu/.gitignore: Delete.
1111
1112 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1113
1114 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1115 (timex): Use __syscall_slong_t.
1116
1117 2012-05-18 Andreas Jaeger <aj@suse.de>
1118 Carlos O'Donell <carlos_odonell@mentor.com>
1119
1120 * manual/install.texi (Configuring and compiling): Update
1121 description about files modified in the source directory.
1122 * INSTALL: Regenerated.
1123
1124 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1127 value. Use "or" to set return value to -1.
1128 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1129 negate return value.
1130
1131 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1132
1133 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1134 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1135 failure if the compiler has Graphite support disabled.
1136 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1137 Likewise.
1138 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1139 CFLAGS-memmove.c): Likewise.
1140 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1141 Likewise.
1142
1143 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1144
1145 * sysdeps/x86_64/x32/_itoa.h: New file.
1146
1147 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1148 getdents system call only if kernel and user dirents have the
1149 same d_ino and d_off.
1150
1151 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1152 LLONG_MAX != LONG_MAX.
1153 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1154 (_fitoa_word): Likewise.
1155
1156 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1157 years.
1158 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1159 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1160 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1161
1162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1163 include <bits/wordsize.h>. Check __x86_64__ instead of
1164 __WORDSIZE.
1165 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1166 if __x86_64__ is defined. Use anonymous union on fpstate.
1167
1168 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1169 anonymous union.
1170
1171 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1172
1173 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1174 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1175 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1176 Refer to _rtld_local_ro instead of _rtld_global_ro.
1177 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1178 Likewise.
1179 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1180 Likewise.
1181 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1182 Likewise.
1183 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1184 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1185 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1186
1187 * sysdeps/powerpc/powerpc32/dl-machine.c
1188 (__elf_machine_runtime_setup) [PROF]: Don't reference
1189 _dl_prof_resolve.
1190
1191 2012-05-18 Andreas Jaeger <aj@suse.de>
1192
1193 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1194 function only available for GCCs before 3.4 since GCC 3.4
1195 introduced a builtin.
1196 (lrint): Likewise.
1197 (llrintf): Likewise.
1198 (llrint): Likewise.
1199 (fmaxf): Likewise.
1200 (fmax): Likewise.
1201 (fminf): Likewise.
1202 (fmin): Likewise.
1203 (rint): Likewise.
1204 (rintf): Likewise.
1205 (nearbyint): Likewise.
1206 (nearbyintf): Likewise.
1207 (ceil): Likewise.
1208 (ceilf): Likewise.
1209 (floor): Likewise.
1210 (floorf): Likewise.
1211
1212 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1213
1214 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1215 on both fields and cast pointer to __syscall_ulong_t.
1216
1217 * bits/types.h (__fsword_t): New type.
1218 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1219 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1220 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1221 (__FSWORD_T_TYPE): Likewise.
1222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1223 (__FSWORD_T_TYPE): Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1225 (__FSWORD_T_TYPE): Likewise.
1226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1227 (__FSWORD_T_TYPE): Likewise.
1228 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1229 __SWORD_TYPE with __fsword_t.
1230 (statfs64): Likewise.
1231
1232 2012-05-17 David S. Miller <davem@davemloft.net>
1233
1234 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1235
1236 2012-05-17 Andreas Jaeger <aj@suse.de>
1237
1238 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1239 warning.
1240
1241 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1244
1245 2012-05-17 Andreas Jaeger <aj@suse.de>
1246
1247 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1248 when it is used.
1249
1250 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1251
1252 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1253
1254 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1255
1256 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1257 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1258
1259 2012-05-17 Andreas Jaeger <aj@suse.de>
1260 Carlos O'Donell <carlos_odonell@mentor.com>
1261
1262 [BZ #14059]
1263 * sysdeps/x86_64/multiarch/init-arch.h
1264 (bit_YMM_Usable): Rename to...
1265 (bit_AVX_Usable): ... this.
1266 (bit_FMA4_Usable): New macro.
1267 (bit_XMM_state): New macro.
1268 (bit_YMM_state): New macro.
1269 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1270 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1271 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1272 (CPUID_OSXSAVE): New macro.
1273 (CPUID_AVX): New macro.
1274 (CPUID_FMA4): New macro.
1275 (index_YMM_Usable): Rename to...
1276 (index_AVX_Usable): ... this.
1277 (HAS_AVX): Use HAS_ARCH_FEATURE.
1278 (HAS_FMA4): Likewise.
1279 (HAS_YMM_USABLE): Remove.
1280 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1281 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1282 are present.
1283 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1284 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1285 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1286 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1287 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1288
1289 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1290
1291 * math/libm-test.c: Support platforms without multiple rounding modes.
1292 * math/bug-nextafter.c: Support platforms without FP exceptions.
1293 * math/bug-nexttoward.c: Likewise.
1294 * math/test-fenv.c: Likewise.
1295 * math/test-misc.c: Likewise.
1296 * stdlib/bug-getcontext.c: Likewise.
1297
1298 2012-05-17 Andreas Jaeger <aj@suse.de>
1299
1300 * manual/examples/search.c (critter_cmp): Change signature to
1301 avoid warnings.
1302 * manual/string.texi (Collation Functions): Likewise.
1303
1304 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 * bits/types.h: Fold copyright years.
1307 * bits/typesizes.h: Likewise.
1308 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1310 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1312 * time/time.h: Likewise.
1313
1314 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1315
1316 [BZ #208]
1317 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1318 in instead of returning them. Return void.
1319 (__libc_mallinfo): Accumulate over all arenas.
1320 (__malloc_stats): Adjust for change in int_mallinfo interface.
1321
1322 2012-05-16 Roland McGrath <roland@hack.frob.com>
1323
1324 [BZ #10375]
1325 * configure.in (NM): Add AC_CHECK_TOOL for it.
1326 (libc_extra_cflags): New substituted variable.
1327 Check for -fstack-protector being used implicitly.
1328 * configure: Regenerated.
1329 * config.make.in (config-extra-cflags): New variable,
1330 gets @libc_extra_cflags@.
1331 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1332
1333 [BZ #10375]
1334 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1335 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1336 * configure: Regenerated.
1337 * config.make.in (CPPUNDEFS): New substituted variable.
1338 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1339 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1340 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1341
1342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1343
1344 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1345 (mq_attr): Use __syscall_slong_t.
1346
1347 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1348
1349 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1350 Check __x86_64__ instead of __WORDSIZE.
1351 (_STAT_VER_LINUX): Likewise.
1352 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1353 __syscall_ulong_t and __syscall_slong_t.
1354 (stat64): Likewise.
1355
1356 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1357
1358 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1359
1360 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1363
1364 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1365
1366 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1367 __syscall_ulong_t.
1368
1369 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1370 include <bits/wordsize.h>. Check __x86_64__ instead of
1371 __WORDSIZE.
1372 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1373 defined.
1374 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1375
1376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1377 include <bits/wordsize.h>. Check __x86_64__ instead of
1378 __WORDSIZE.
1379 (user_regs_struct): Use "__extension__ unsigned long long"
1380 instead of "unsigned long" if __x86_64__ is defined.
1381 (user): Likewise. Pad after pointer field if __ILP32__ is
1382 defined.
1383
1384 2012-05-16 Joseph Myers <joseph@codesourcery.com>
1385
1386 * configure.in (makeinfo): Require version 4.5 or later. Allow
1387 versions 5 to 9.
1388 * configure: Regenerated.
1389 * manual/install.texi (texinfo): Increase version requirement to
1390 4.5 or later.
1391 * INSTALL: Regenerated.
1392
1393 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1394
1395 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1396
1397 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1398
1399 * sysdeps/x86_64/x32/ffs.c: New file.
1400
1401 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1402 __syscall_ulong_t.
1403 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1404 defined. Use __syscall_ulong_t.
1405 (shminfo): Use __syscall_ulong_t.
1406 (shm_info): Likewise.
1407
1408 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1409 __syscall_ulong_t.
1410
1411 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1412 <bits/wordsize.h>.
1413 (msgqnum_t): Use __syscall_ulong_t.
1414 (msglen_t): Likewise.
1415 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1416 __syscall_ulong_t.
1417
1418 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1419 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1420
1421 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1422
1423 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1424 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1425
1426 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1427 __syscall_slong_t.
1428
1429 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1430 include <bits/wordsize.h>. Check __x86_64__ instead of
1431 __WORDSIZE.
1432
1433 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1434 "unsigned long long int" if __x86_64__ is defined.
1435 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1436
1437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1438 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1439 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1440
1441 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1442 <stdint.h>.
1443 (GET_PC): Cast to uintptr_t first.
1444 (GET_FRAME): Likewise.
1445 (GET_STACK): Likewise.
1446
1447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1448 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1449 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1450 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1451 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1452 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1453 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1454 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1455 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1456 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1457 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1458 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1459 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1460 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1461 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1462 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1463 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1464 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1465 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1467 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1468 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1469 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1470 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1471 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1472 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1473 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1474 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1475 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1476
1477 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1478
1479 * Makerules (+depfiles): Also collect depfiles from .oS in
1480 $(extra-objs).
1481 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1482 .oS, $(libnldbl-routines)).
1483
1484 * Makerules (native-compile-mkdep-flags): Define.
1485 * sunrpc/Makefile (extra-objs): Add $(addprefix
1486 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1487 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1488 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1489 calling $(make-target-directory).
1490
1491 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * bits/types.h (__snseconds_t): Removed.
1494 * time/time.h (struct timespec): Replace __snseconds_t with
1495 __syscall_slong_t.
1496 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1497 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1498 Likewise.
1499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1500 (__SNSECONDS_T_TYPE): Likewise.
1501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1502 (__SNSECONDS_T_TYPE): Likewise.
1503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1504 (__SNSECONDS_T_TYPE): Likewise.
1505
1506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/mach/hurd/bits/typesizes.h
1509 (__SYSCALL_SLONG_TYPE): New macro.
1510 (__SYSCALL_ULONG_TYPE): Likewise.
1511
1512 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 * bits/types.h (__syscall_slong_t): New type.
1515 (__syscall_ulong_t): Likewise.
1516
1517 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1518 (__SYSCALL_ULONG_TYPE): Likewise.
1519 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1520 (__SYSCALL_SLONG_TYPE): Likewise.
1521 (__SYSCALL_ULONG_TYPE): Likewise.
1522 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1523 (__SYSCALL_SLONG_TYPE): Likewise.
1524 (__SYSCALL_ULONG_TYPE): Likewise.
1525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1526 (__SYSCALL_SLONG_TYPE): Likewise.
1527 (__SYSCALL_ULONG_TYPE): Likewise.
1528
1529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1530
1531 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1532 Add sigaltstack-offsets.sym.
1533 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1534 <sigaltstack-offsets.h>.
1535 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1536 longjmp_msg pointer.
1537 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1538 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1539 signal stack.
1540 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1541
1542 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1543
1544 * elf/stackguard-macros.h: Remove file.
1545 * sysdeps/generic/stackguard-macros.h: New file.
1546 * sysdeps/i386/stackguard-macros.h: Likewise.
1547 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1548 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1549 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1550 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1551 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1552 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1553 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1554 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1555 <elf/stackguard-macros.h>.
1556
1557 [BZ #14109]
1558 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1559 __aligned__ in attribute.
1560 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1561 (gregset_t): Likewise.
1562
1563 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1564
1565 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1566 * sysdeps/x86_64/64/Implies-after: Here. New file.
1567 * sysdeps/x86_64/x32/Implies-after: New file.
1568
1569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1572 and access return value for _dl_profile_fixup. Use R10_LP to
1573 load frame size.
1574
1575 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1576
1577 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1578
1579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1580
1581 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1582 * sysdeps/x86_64/x32/sysdep.h: New file.
1583
1584 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1585
1586 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1587 * sysdeps/x86_64/setjmp.S: Likewise.
1588
1589 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1590
1591 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1592 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1593 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1594 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1595 remove unused global constant.
1596
1597 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1598
1599 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1600 include of <not-cancel.h>.
1601
1602 2012-05-15 Roland McGrath <roland@hack.frob.com>
1603
1604 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1605
1606 2012-05-15 Jeff Law <law@redhat.com>
1607 Andreas Jaeger <aj@suse.de>
1608
1609 [BZ #13594]
1610 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1611 out from...
1612 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1613 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1614 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1615 code changing __hst_map_handle.map.
1616
1617 2012-05-15 Roland McGrath <roland@hack.frob.com>
1618
1619 * configure.in (sysnames): Look for Implies-before and Implies-after
1620 files.
1621 * configure: Regenerated.
1622
1623 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1624
1625 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1626 8-byte data alignment with LP_SIZE alignment.
1627
1628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1629
1630 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1631 into R10_LP.
1632
1633 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1636
1637 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1638
1639 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1640 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1641 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1642 Likewise.
1643 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1644
1645 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1646
1647 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1648 (stackinfo_sub_sp): Likewise.
1649
1650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1651
1652 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1653 RAX_LP.
1654
1655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1656
1657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1658 into R*_LP.
1659
1660 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1661
1662 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1663 sizes into R*_LP.
1664
1665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1666
1667 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1668
1669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1670
1671 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1672 into R11_LP and load __x86_64_shared_cache_size_half into
1673 R8_LP.
1674
1675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1676
1677 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1678 R8_LP.
1679
1680 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1681
1682 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1683 logb for POWER7.
1684 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1685 logbf for POWER7.
1686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1687 logbl for POWER7.
1688 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1689 powerpc32/power7/fpu/s_logb.c via #include.
1690 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1691 powerpc32/power7/fpu/s_logbf.c via #include.
1692 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1693 powerpc32/power7/fpu/s_logbl.c via #include.
1694
1695 2012-05-15 Joseph Myers <joseph@codesourcery.com>
1696
1697 * README.libm: Remove file.
1698
1699 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1700
1701 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1702 count for x32. Use R*_LP and omit operand-size suffix.
1703
1704 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1705
1706 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1707 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1708 * sysdeps/x86_64/x32/shlib-versions: New file.
1709
1710 2012-05-14 Roland McGrath <roland@hack.frob.com>
1711
1712 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1713 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1714 Use _dl_fatal_printf instead.
1715
1716 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1717
1718 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1719 set if not set by the user. Do not allow for being unset.
1720 * sysdeps/unix/sysv/linux/configure: Regenerated.
1721
1722 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1723
1724 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1725 the `q' suffix from lea and replace .quad with ASM_ADDR.
1726
1727 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1728
1729 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1730 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1731 instead of $17.
1732 (PTR_DEMANGLE): Likewise.
1733
1734 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1737 (LP_OP): Likewise.
1738 (ASM_ADDR): Likewise.
1739 (RAX_LP): Likewise.
1740 (RBP_LP): Likewise.
1741 (RBX_LP): Likewise.
1742 (RCX_LP): Likewise.
1743 (RDI_LP): Likewise.
1744 (RSI_LP): Likewise.
1745 (RSP_LP): Likewise.
1746 (R8_LP): Likewise.
1747 (R9_LP): Likewise.
1748 (R10_LP): Likewise.
1749 (R10_LP): Likewise.
1750 (R11_LP): Likewise.
1751 (R12_LP): Likewise.
1752 (R13_LP): Likewise.
1753 (R14_LP): Likewise.
1754 (R15_LP): Likewise.
1755
1756 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 * sysdeps/x86_64/x32/dl-machine.h: New file.
1759
1760 2012-05-14 Andreas Jaeger <aj@suse.de>
1761
1762 * manual/Makefile (subdir): Remove export of subdir.
1763 (all): Remove target.
1764 (.PHONY): Remove all from list.
1765 (mkinstalldirs): Remove.
1766 (.PHONY): Remove installdirs from list.
1767 ($(inst_infodir)/libc.info): Use make-target-directory.
1768 (installdirs): Remove.
1769 (subdir_%): Remove.
1770 (glibc-targets): Remove.
1771 (lib): Remove.
1772 (stubs): Remove.
1773 ($(objpfx)stubs ../po/manual.pot): Remove.
1774 ($(objpfx)stamp%): Remove.
1775 (make-target-directory): Remove.
1776 (subdir_install): Remove.
1777 (routines): Remove.
1778 (aux): Remove.
1779 (sources): Remove.
1780 (objects): Remove.
1781 (headers): Remove.
1782
1783 [BZ #13750]
1784 * manual/.gitignore: Remove, it's not needed anymore.
1785 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1786 all files in it.
1787 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1788 directory.
1789 (texis): Renamed to $(objpfx)texis.
1790 (texis-path): New, contains path to generated files.
1791 (chapters.%): Use texis-path for complete path, add extra argument
1792 libc-texinfo.sh.
1793 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1794 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1795 (summary,texi, stamp-summary): Use complete path of
1796 files. Generate files in build dir.
1797 (dir-add.texi): Build in build dir.
1798 (libm-err.texi,stamp-libm-err): Likewise.
1799 (version.texi, stamp-version): Likewise.
1800 (.%c.texi): Likewise.
1801 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1802 (mostlyclean): Remove target.
1803 (realclean): Remove target.
1804 (generated): Add new variable with contents from mostlyclean and
1805 realclean, remove entries duplicated in common-mostlyclean, add
1806 stamp-libm-err and stamp-version.
1807 (generated-dirs): Add libc directory.
1808 ($(inst_infodir)/libc.info): Install files from build dir.
1809
1810 * manual/install.texi (Configuring and compiling): Adjust since
1811 the info files are not part of the tar ball anymore.
1812
1813 2012-05-14 Andreas Jaeger <aj@suse.de>
1814
1815 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1816 variable.
1817
1818 2012-05-14 Joseph Myers <joseph@codesourcery.com>
1819
1820 [BZ #13717]
1821 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1822 to 2.2.0 where earlier.
1823 * sysdeps/unix/sysv/linux/configure: Regenerated.
1824 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1825 Remove conditional code.
1826 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1827 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1828 Remove conditional code.
1829 [!__NR_lchown]: Likewise.
1830 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1831 [__NR_lchown]: Likewise.
1832 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1833 comment referencing __ASSUME_LCHOWN_SYSCALL.
1834 * sysdeps/unix/sysv/linux/i386/sigaction.c
1835 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1836 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1837 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1838 Remove conditional code.
1839 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1840 (__protocol_available): Remove #if 0 code.
1841 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1842 conditional code.
1843 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1844 * sysdeps/unix/sysv/linux/kernel-features.h
1845 (__ASSUME_GETCWD_SYSCALL): Don't define.
1846 (__ASSUME_REALTIME_SIGNALS): Likewise.
1847 (__ASSUME_PREAD_SYSCALL): Likewise.
1848 (__ASSUME_PWRITE_SYSCALL): Likewise.
1849 (__ASSUME_POLL_SYSCALL): Likewise.
1850 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1851 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1852 non-SPARC.
1853 (__ASSUME_SIOCGIFNAME): Don't define.
1854 (__ASSUME_MSG_NOSIGNAL): Likewise.
1855 (__ASSUME_SENDFILE): Define unconditionally.
1856 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1857 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1858 conditional code.
1859 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1860 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1861 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1862 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1863 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1864 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1865 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1867 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1870 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1871 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1876 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1877 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1879 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1880 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1882 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1883 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1885 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1886 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1888 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1889 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1890 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1891 Remove conditional code.
1892 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1893 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1894 Remove conditional code.
1895 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1896 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1897 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1898 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1899 Remove conditional code.
1900 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1901 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1902 Remove conditional code.
1903 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1904 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1905 Remove conditional code.
1906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1907 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1908 Remove conditional code.
1909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1910 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1911 Remove conditional code.
1912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1913 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1916 * sysdeps/unix/sysv/linux/sigaction.c
1917 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1918 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1919 * sysdeps/unix/sysv/linux/sigpending.c
1920 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1921 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1922 * sysdeps/unix/sysv/linux/sigprocmask.c
1923 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1924 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1925 * sysdeps/unix/sysv/linux/sigsuspend.c
1926 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1927 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1928 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1929 (__libc_missing_rt_sigs): Remove.
1930 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1931 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1932 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1933 Remove conditional code.
1934 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1935 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1936 return 1.
1937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1938 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1940 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1941
1942 2012-05-14 Andreas Jaeger <aj@suse.de>
1943
1944 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1945 it's not used in glibc.
1946 (__coshm1): Likewise.
1947 (__acosh1p): Likewise.
1948 (__sgn): Likewise.
1949
1950 * manual/string.texi (Copying and Concatenation): Add missing
1951 variable in concat example.
1952 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1953
1954 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 [BZ #14103]
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1958 __builtin_clzl with __builtin_clzll.
1959
1960 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1961
1962 [BZ #14104]
1963 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1964 libc_freeres_ptr.
1965
1966 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1967
1968 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1969 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1970 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1971 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1972
1973 2012-05-14 Mike Frysinger <vapier@gentoo.org>
1974
1975 * NEWS: Update ia64 info.
1976
1977 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1978
1979 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1980 used as bcopy.
1981
1982 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1983
1984 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1985 * sysdeps/unix/syscalls.list (dup3): Likewise.
1986 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1987 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1988
1989 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1990
1991 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1992 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1993
1994 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1995
1996 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1997 thread pointer.
1998 (TLS_IE): Use mov/add instead of movq/addq to load thread
1999 pointer.
2000 (TLS_GD_PREFIX): New.
2001 (TLS_GD): Use it.
2002
2003 2012-05-11 David S. Miller <davem@davemloft.net>
2004
2005 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
2006 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
2007 (_FPU_SETCW): Likewise.
2008
2009 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2010
2011 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
2012 is 32-byte aligned.
2013
2014 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
2015
2016 [BZ #11837]
2017 * iconvdata/gb18030.c: Update tables.
2018 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
2019 characters specially.
2020 (BODY for TO_LOOP): Add encoding of missing ranges.
2021
2022 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
2023
2024 [BZ #13673]
2025 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
2026 * sysdeps/mach/hurd/dup3.c: Likewise.
2027 * sysdeps/mach/hurd/readlinkat.c: Likewise.
2028 * sysdeps/powerpc/memmove.c:: Likewise.
2029
2030 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2031
2032 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
2033 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
2034
2035 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2036
2037 * elf/elf.h (R_X86_64_RELATIVE64): New.
2038 (R_X86_64_NUM): Updated.
2039 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2040 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2041 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2042 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2043 tst-quad1pie tst-quad2pie
2044 (modules-names): Add tst-quadmod1 tst-quadmod2.
2045 ($(objpfx)tst-quad1): New dependency.
2046 ($(objpfx)tst-quad2): Likewise.
2047 ($(objpfx)tst-quad1pie): Likewise.
2048 ($(objpfx)tst-quad2pie): Likewise.
2049 * sysdeps/x86_64/tst-quad1.c: New file.
2050 * sysdeps/x86_64/tst-quad1pie.c: New file.
2051 * sysdeps/x86_64/tst-quad2.c: Likewise.
2052 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2053 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2054 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2055 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2056 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2057
2058 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2059
2060 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2061 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2062 * streams/stropts.h (t_scalar_t): Define type.
2063
2064 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2065 (_PATH_PRESERVE): Set to "/var/lib".
2066 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2067
2068 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2069 instead of int.
2070
2071 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2072 if __dir_mkfile succeeded.
2073
2074 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2075 checking for _hurd_dtablesize. Unlock it right after having
2076 finished _hurd_dtable allocation.
2077
2078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2079
2080 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2081 * sysdeps/mach/hurd/configure: Regenerated.
2082 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2083 special-casing to...
2084 * sysdeps/gnu/configure.in: ... this new file.
2085 * sysdeps/unix/sysv/linux/configure: Regenerated.
2086 * sysdeps/gnu/configure: New generated file.
2087
2088 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2089 for Linux: use nsec instead of usec, as well as:
2090 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2091 members of type struct timespec.
2092 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2093 New macros.
2094 (struct stat64): Likewise.
2095 (_STATBUF_ST_NSEC): New macro.
2096 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2097
2098 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2099 __strtoul_internal rather than strtoul.
2100
2101 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2102
2103 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2104 and reject them.
2105
2106 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2107
2108 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2109 which preserves existing values.
2110 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2111
2112 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2113
2114 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2115 TIMEOUT values. Return EINVAL for NFDS values either negative or
2116 greater than FD_SETSIZE.
2117
2118 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2119
2120 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2121 allocated, call __vm_protect to finish enabling the existing space, and
2122 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2123 allocate the remainder.
2124
2125 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2126
2127 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2128 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2129
2130 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2131
2132 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2133 sysdeps/mach/hurd/readlink.c.
2134
2135 * posix/tst-sysconf.c (posix_options): Only use
2136 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2137 _POSIX_SYNCHRONIZED_IO when they are defined
2138 * sysdeps/mach/hurd/bits/posix_opt.h:
2139 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2140 (_XOPEN_REALTIME): Undefine macro.
2141 (_XOPEN_REALTIME_THREADS): Undefine macro.
2142 (_XOPEN_SHM): Undefine macro.
2143 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2144 macro to -1.
2145 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2146 macro to -1.
2147 (_POSIX_ASYNC_IO): Undefine macro.
2148 (_POSIX_PRIORITIZED_IO): Undefine macro.
2149 (_POSIX_SPIN_LOCKS): Define macro to -1.
2150
2151 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2152 SA_NODEFER, SA_RESETHAND.
2153 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2154 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2155 F_DUPFD_CLOEXEC.
2156
2157 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2158
2159 * elf/Makefile (pldd-modules): Define unconditionally.
2160
2161 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2162
2163 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2164
2165 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2166
2167 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2168 Return ENOENT when name is empty.
2169 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2170
2171 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2172
2173 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2174
2175 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2176
2177 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2178
2179 Fix mlock in all cases except non-readable pages.
2180 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2181 instead of VM_PROT_ALL as parameter to __vm_wire function.
2182
2183 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2184 (__mkdir): When path is `/', just fail with EEXIST.
2185 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2186
2187 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2188
2189 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2190 <sys/uio.h> (for writev).
2191 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2192 and <sys/param.h> (for MIN).
2193
2194 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2195
2196 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2197 REQUESTED_TIME. Properly set the remaining time and return EINTR
2198 if interrupted.
2199
2200 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2201
2202 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2203 Depend on against $(link-rpcuserlibs).
2204
2205 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2206
2207 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2208 (__libc_stack_end): Do not use attribute_relro.
2209 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2210 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
2211 to libthread-provided value.
2212 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2213 attribute_relro.
2214
2215 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2216
2217 [BZ #3748]
2218 * bits/libc-lock.h (__libc_once_get): New macro.
2219 * sysdeps/mach/bits/libc-lock.h: Likewise.
2220 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2221 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2222 instead of using implementation details.
2223
2224 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2225 * libio/freopen.c: Likewise.
2226 * libio/freopen64.c: Likewise.
2227 * misc/syslog.c: Likewise.
2228 * nscd/connections.c: Likewise.
2229 * nscd/netgroupcache.c: Likewise.
2230 * sysdeps/posix/getcwd.c: Likewise.
2231
2232 2012-05-10 Roland McGrath <roland@hack.frob.com>
2233
2234 * math/w_ilogbf.c: Add #include <limits.h>.
2235
2236 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2237
2238 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
2239 path instead of returning without unlocking.
2240
2241 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2242 immediate-write ioctls.
2243 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2244
2245 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2246
2247 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2248 __builtin_frame_address instead of making assumptions about the
2249 location of the return address relative to DATA. Force early load of
2250 the return address.
2251 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2252 __builtin_frame_address.
2253
2254 dup3 for GNU Hurd.
2255 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2256 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2257 implement dup3 and do some further code clean-ups.
2258 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2259 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2260
2261 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2262
2263 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2264
2265 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2266 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2267 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2268 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2269 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2270 d->port.lock.
2271
2272 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2273 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2274 when handler == SIG_ERR, not when handler != SIG_ERR.
2275
2276 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2277
2278 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2279 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2280 definitions.
2281
2282 accept4 for GNU Hurd.
2283 * include/sys/socket.h (__libc_accept4): New prototype.
2284 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2285 to implement __libc_accept4.
2286 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2287 __libc_accept4.
2288 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2289
2290 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2291 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2292 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2293 signal-defines.sym.
2294
2295 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2296
2297 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
2298
2299 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
2300
2301 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2302 assertion on O_CLOEXEC flag.
2303 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2304 * hurd/intern-fd.c: Likewise.
2305 * hurd/port2fd.c: Likewise.
2306
2307 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2308
2309 [BZ #3906]
2310 * bits/in.h (IPV6_PKTINFO): Define new macro.
2311 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2312
2313 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2314
2315 [BZ #13954]
2316 [BZ #13955]
2317 [BZ #13956]
2318 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2319 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2320 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2321 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2322 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2323 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2324 * math/libm-test.inc (logb_test) : Additional logb tests.
2325
2326 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2327 Andreas Jaeger <aj@suse.de>
2328
2329 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2330 * configure: Regenerated.
2331 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2332 * config.make.in (link-obsolete-rpc): New substituted variable.
2333 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2334 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2335 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2336 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2337 so that libc.a contains the symbols.
2338 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2339 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2340 * sunrpc/auth_none.c: Likewise.
2341 * sunrpc/auth_unix.c: Likewise.
2342 * sunrpc/authdes_prot.c: Likewise.
2343 * sunrpc/authuxprot.c: Likewise.
2344 * sunrpc/clnt_gen.c: Likewise.
2345 * sunrpc/clnt_perr.c: Likewise.
2346 * sunrpc/clnt_raw.c: Likewise.
2347 * sunrpc/clnt_simp.c: Likewise.
2348 * sunrpc/clnt_tcp.c: Likewise.
2349 * sunrpc/clnt_udp.c: Likewise.
2350 * sunrpc/clnt_unix.c: Likewise.
2351 * sunrpc/des_crypt.c: Likewise.
2352 * sunrpc/des_soft.c: Likewise.
2353 * sunrpc/get_myaddr.c: Likewise.
2354 * sunrpc/key_call.c: Likewise.
2355 * sunrpc/key_prot.c: Likewise.
2356 * sunrpc/netname.c: Likewise.
2357 * sunrpc/pm_getmaps.c: Likewise.
2358 * sunrpc/pm_getport.c: Likewise.
2359 * sunrpc/pmap_clnt.c: Likewise.
2360 * sunrpc/pmap_prot.c: Likewise.
2361 * sunrpc/pmap_prot2.c: Likewise.
2362 * sunrpc/pmap_rmt.c: Likewise.
2363 * sunrpc/publickey.c: Likewise.
2364 * sunrpc/rpc_cmsg.c: Likewise.
2365 * sunrpc/rpc_common.c: Likewise.
2366 * sunrpc/rpc_dtable.c: Likewise.
2367 * sunrpc/rpc_prot.c: Likewise.
2368 * sunrpc/rpc_thread.c: Likewise.
2369 * sunrpc/rtime.c: Likewise.
2370 * sunrpc/svc.c: Likewise.
2371 * sunrpc/svc_auth.c: Likewise.
2372 * sunrpc/svc_raw.c: Likewise.
2373 * sunrpc/svc_run.c: Likewise.
2374 * sunrpc/svc_tcp.c: Likewise.
2375 * sunrpc/svc_udp.c: Likewise.
2376 * sunrpc/svc_unix.c: Likewise.
2377 * sunrpc/svcauth_des.c: Likewise.
2378 * sunrpc/xcrypt.c: Likewise.
2379 * sunrpc/xdr.c: Likewise.
2380 * sunrpc/xdr_array.c: Likewise.
2381 * sunrpc/xdr_float.c: Likewise.
2382 * sunrpc/xdr_intXX_t.c: Likewise.
2383 * sunrpc/xdr_mem.c: Likewise.
2384 * sunrpc/xdr_rec.c: Likewise.
2385 * sunrpc/xdr_ref.c: Likewise.
2386 * sunrpc/xdr_sizeof.c: Likewise.
2387 * sunrpc/xdr_stdio.c: Likewise.
2388
2389 2012-05-10 Roland McGrath <roland@hack.frob.com>
2390
2391 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2392 change. Update copyright years.
2393
2394 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2395
2396 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2397
2398 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2399 Joseph Myers <joseph@codesourcery.com>
2400 Paul Pluzhnikov <ppluzhnikov@google.com>
2401
2402 [BZ #14012]
2403 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2404 requiring rpcgen.
2405 [cross-compiling] (extra-libs): Likewise.
2406 [cross-compiling] (extra-libs-others): Likewise.
2407 [cross-compiling] (librpcsvc-routines): Likewise.
2408 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2409 [cross-compiling] (omit-deps): Likewise.
2410 (sunrpc-CPPFLAGS): New variable.
2411 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2412 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2413 (cross-rpcgen-objs): New variable.
2414 (extra-objs): Append $(cross-rpcgen-objs).
2415 ($(cross-rpcgen-objs)): New rule.
2416 ($(objpfx)cross-rpcgen): Likewise.
2417 (rpcgen-cmd): Define to use $(built-program-file). Expand
2418 comment.
2419 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2420 ($(objpfx)x%.stmp): Likewise.
2421 * sunrpc/proto.h [IS_IN_build] (_): Define.
2422 [IS_IN_build] (_libc_intl_domainname): Likewise.
2423
2424 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2425
2426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2427 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2428 and R_X86_64_TPOFF64.
2429
2430 2012-05-10 Joseph Myers <joseph@codesourcery.com>
2431
2432 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2433 sysdeps/unix/sysv/syscalls.list.
2434 (stime): Likewise.
2435 (utime): Likewise.
2436 * sysdeps/unix/sysv/syscalls.list: Remove file.
2437
2438 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2439
2440 [BZ #3440]
2441 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2442 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2443 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2444 (__LC_IDENTIFICATION): Make these macros useful in #if
2445 expressions, as required by C99.
2446
2447 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2448
2449 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2450 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2451 after this.
2452
2453 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 * stdlib/longlong.h: Updated from GCC.
2456
2457 2012-05-09 Andreas Jaeger <aj@suse.de>
2458
2459 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2460 default is first entry.
2461 (run_mode): Set type.
2462 (main): Remove informal message about syslog.
2463 (options): Fix typo.
2464
2465 [BZ #14053]
2466 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
2467 to asm.
2468 (lrint): Likewise.
2469 (llrintf): Likewise.
2470 (llrint): Likewise.
2471 (rint): Likewise.
2472 (rintf): Likewise.
2473 (nearbyint): Likewise.
2474 (nearbyintf): Likewise.
2475
2476 2012-05-09 Andreas Jaeger <aj@suse.de>
2477 Pedro Alves <palves@redhat.com>
2478
2479 * nscd/nscd.c (run_mode): Use enum.
2480 (main): Cleanup coding style issue.
2481
2482 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
2483 Andreas Jaeger <aj@suse.de>
2484
2485 * nscd/nscd.c (go_background): Replaced with...
2486 (run_mode): ... this.
2487 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
2488 (options): Add -F --foreground.
2489 (main): Implement it.
2490 (parse_opt): Parse it.
2491
2492 2012-05-09 Andreas Jaeger <aj@suse.de>
2493
2494 [BZ #14083]
2495 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2496 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2497 -Wconversion warning.
2498 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2499 Likewise.
2500
2501 2012-05-09 Joseph Myers <joseph@codesourcery.com>
2502
2503 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2504 == 0.
2505 (LC_ALL): Use macro-int-constant.
2506 (LC_COLLATE): Likewise.
2507 (LC_CTYPE): Likewise.
2508 (LC_MESSAGES): Likewise.
2509 (LC_MONETARY): Likewise.
2510 (LC_NUMERIC): Likewise.
2511 (LC_TIME): Likewise.
2512 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2513 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2515 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2516 Specify type.
2517 [C99-based standards] (float_t): Expect type.
2518 [C99-based standards] (double_t): Expect type.
2519 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2520 type.
2521 [C99-based standards] (HUGE_VALL): Likewise.
2522 [C99-based standards] (INFINITY): Likewise.
2523 [C99-based standards] (NAN): Likewise.
2524 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2525 [C99-based standards] (FP_NAN): Likewise.
2526 [C99-based standards] (FP_NORMAL): Likewise.
2527 [C99-based standards] (FP_SUBNORMAL): Likewise.
2528 [C99-based standards] (FP_ZERO): Likewise.
2529 [C99-based standards] (FP_FAST_FMA): Use
2530 optional-macro-int-constant. Specify type. Require == 1.
2531 [C99-based standards] (FP_FAST_FMAF): Likewise.
2532 [C99-based standards] (FP_FAST_FMAL): Likewise.
2533 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2534 [C99-based standards] (FP_ILOGBNAN): Likewise.
2535 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2536 Specify type.
2537 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2538 [C99-based standards] (math_errhandling): Specify type.
2539 [ISO99 || ISO11] (signgam): Do not allow.
2540 [non-C99-based standards] (copysignf): Do not allow.
2541 [non-C99-based standards] (exp2f): Likewise.
2542 [non-C99-based standards] (log2f): Likewise.
2543 [non-C99-based standards] (modff): Allow.
2544 [non-C99-based standards] (erff): Do not allow.
2545 [non-C99-based standards] (erfcf): Likewise.
2546 [non-C99-based standards] (gammaf): Likewise.
2547 [non-C99-based standards] (hypotf): Likewise.
2548 [non-C99-based standards] (j0f): Likewise.
2549 [non-C99-based standards] (j1f): Likewise.
2550 [non-C99-based standards] (jnf): Likewise.
2551 [non-C99-based standards] (lgammaf): Likewise.
2552 [non-C99-based standards] (tgammaf): Likewise.
2553 [non-C99-based standards] (y0f): Likewise.
2554 [non-C99-based standards] (y1f): Likewise.
2555 [non-C99-based standards] (ynf): Likewise.
2556 [non-C99-based standards] (isnanf): Likewise.
2557 [non-C99-based standards] (acoshf): Likewise.
2558 [non-C99-based standards] (asinhf): Likewise.
2559 [non-C99-based standards] (atanhf): Likewise.
2560 [non-C99-based standards] (cbrtf): Likewise.
2561 [non-C99-based standards] (expm1f): Likewise.
2562 [non-C99-based standards] (ilogbf): Likewise.
2563 [non-C99-based standards] (log1pf): Likewise.
2564 [non-C99-based standards] (logbf): Likewise.
2565 [non-C99-based standards] (nextafterf): Likewise.
2566 [non-C99-based standards] (remainderf): Likewise.
2567 [non-C99-based standards] (rintf): Likewise.
2568 [non-C99-based standards] (scalbf): Likewise.
2569 [non-C99-based standards] (copysignl): Likewise.
2570 [non-C99-based standards] (exp2l): Likewise.
2571 [non-C99-based standards] (log2l): Likewise.
2572 [non-C99-based standards] (modfl): Allow.
2573 [non-C99-based standards] (erfl): Do not allow.
2574 [non-C99-based standards] (erfcl): Likewise.
2575 [non-C99-based standards] (gammal): Likewise.
2576 [non-C99-based standards] (hypotl): Likewise.
2577 [non-C99-based standards] (j0l): Likewise.
2578 [non-C99-based standards] (j1l): Likewise.
2579 [non-C99-based standards] (jnl): Likewise.
2580 [non-C99-based standards] (lgammal): Likewise.
2581 [non-C99-based standards] (tgammal): Likewise.
2582 [non-C99-based standards] (y0l): Likewise.
2583 [non-C99-based standards] (y1l): Likewise.
2584 [non-C99-based standards] (ynl): Likewise.
2585 [non-C99-based standards] (isnanl): Likewise.
2586 [non-C99-based standards] (acoshl): Likewise.
2587 [non-C99-based standards] (asinhl): Likewise.
2588 [non-C99-based standards] (atanhl): Likewise.
2589 [non-C99-based standards] (cbrtl): Likewise.
2590 [non-C99-based standards] (expm1l): Likewise.
2591 [non-C99-based standards] (ilogbl): Likewise.
2592 [non-C99-based standards] (log1pl): Likewise.
2593 [non-C99-based standards] (logbl): Likewise.
2594 [non-C99-based standards] (nextafterl): Likewise.
2595 [non-C99-based standards] (remainderl): Likewise.
2596 [non-C99-based standards] (rintl): Likewise.
2597 [non-C99-based standards] (scalbl): Likewise.
2598 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2599 [non-C99-based standards] (FP_*): Do not allow.
2600 [C99-based standards] (FP_*): Change to
2601 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2602 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2603 allow.
2604 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2605 (SIG_ERR): Likewise.
2606 [X/Open-based standards] (SIG_HOLD): Likewise.
2607 (SIG_IGN): Likewise.
2608 (SIGABRT): Use macro-int-constant. Specify type. Require
2609 positive value.
2610 (SIGFPE): Likewise.
2611 (SIGILL): Likewise.
2612 (SIGINT): Likewise.
2613 (SIGSEGV): Likewise.
2614 (SIGTER): Likewise.
2615 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2616 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2617 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2618 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2619 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2620 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2621 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2622 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2623 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2624 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2625 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2626 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2627 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2628 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2629 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2630 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2631 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2632 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2633 [X/Open-based standards] (SIGTRAP): Likewise.
2634 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2635 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2636 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2637 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2638 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2639 allow.
2640
2641 2012-05-08 Ian Wienand <ianw@vmware.com>
2642
2643 [BZ #14080]
2644 * time/tzset.c (__tzset_parse_tz): Update default rules for
2645 daylight time changes in the Energy Policy Act of 2005.
2646
2647 2012-05-09 Andreas Jaeger <aj@suse.de>
2648
2649 [BZ #13983]
2650 * elf/ldconfig.c (parse_conf): Change string to make clear that
2651 ldconfig only issued a warning if ld.so.conf does not exist.
2652
2653 2012-05-08 David S. Miller <davem@davemloft.net>
2654
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2656 movxtod instead of popping the value on the stack.
2657
2658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2659
2660 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2661
2662 * config.h.in: Add HAVE_ARM_PCS_VFP.
2663
2664 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
2665
2666 [BZ #13979]
2667 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2668 checking but the checks are disabled for any reason.
2669
2670 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2671
2672 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2673 and ELF64_R_TYPE with ELFW(R_TYPE).
2674
2675 2012-05-08 Joseph Myers <joseph@codesourcery.com>
2676
2677 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2678 (ulimit): Likewise.
2679
2680 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2681 (settimeofday): Likewise.
2682
2683 2012-05-08 Mike Frysinger <vapier@gentoo.org>
2684
2685 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2686 a struct th_u2 inside the union, and move tu_block/tu_code into
2687 a new th_u3 union of tu_block/tu_code inside of that. Move
2688 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2689 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2690 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2691 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2692 (th_stuff): Change to th_u1.tu_stuff.
2693 (th_data): Define.
2694 (th_msg): Change to th_u1.th_u2.tu_data.
2695
2696 2012-05-07 David S. Miller <davem@davemloft.net>
2697
2698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2699
2700 [BZ #14074]
2701 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2702 (SETUP_PIC_REG): Use it.
2703 (SETUP_PIC_REG_LEAF): Use it.
2704
2705 2012-05-07 Joseph Myers <joseph@codesourcery.com>
2706
2707 [BZ #13885]
2708 [BZ #13923]
2709 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2710 USE_AS_EXPM1L.
2711 (EXPL_FINITE): Likewise.
2712 (FLDLOG): Likewise.
2713 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2714 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2715 e_expl.S.
2716 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2717 USE_AS_EXPM1L.
2718 (EXPL_FINITE): Likewise.
2719 (FLDLOG): Likewise.
2720 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2721 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2722 e_expl.S.
2723 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2724 test of -max_value argument for long double.
2725 * sysdeps/i386/fpu/libm-test-ulps: Update.
2726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2727
2728 2012-05-06 David S. Miller <davem@davemloft.net>
2729
2730 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2731 quad soft-float symbols whose references which are compiler
2732 generated.
2733 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2734
2735 2012-05-06 Joseph Myers <joseph@codesourcery.com>
2736
2737 [BZ #13884]
2738 [BZ #13914]
2739 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2740 USE_AS_EXP10L.
2741 (EXPL_FINITE): Likewise.
2742 (FLDLOG): Likewise.
2743 (c0): Likewise.
2744 (c1): Likewise.
2745 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2746 Adjust comments for base varying.
2747 (__expl_finite): Change alias to EXPL_FINITE.
2748 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2749 e_expl.S.
2750 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2751 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2753 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2755 USE_AS_EXP10L.
2756 (EXPL_FINITE): Likewise.
2757 (FLDLOG): Likewise.
2758 (c0): Likewise.
2759 (c1): Likewise.
2760 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2761 Adjust comments for base varying.
2762 (__expl_finite): Change alias to EXPL_FINITE.
2763 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2764 tests for bugs.
2765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2766
2767 [BZ #14064]
2768 * math/libm-test.inc (check_float_internal): Correct ulp
2769 calculation for subnormal expected results.
2770
2771 2012-05-06 Andreas Jaeger <aj@suse.de>
2772
2773 * Makeconfig (+math-flags): New, set to -frounding-math.
2774 (+cflags): Add +math-flags so that all of glibc gets compiled with
2775 it.
2776
2777 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2778
2779 2012-05-05 Joseph Myers <joseph@codesourcery.com>
2780
2781 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2782 Disable one test.
2783
2784 [BZ #13787]
2785 [BZ #13922]
2786 [BZ #14036]
2787 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2788 (__ieee754_expl): Allow for and saturate large arguments.
2789 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2790 (u_threshold): Likewise.
2791 (__exp): Call __ieee754_exp before checking for overflow and
2792 underflow.
2793 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2794 (u_threshold): Likewise.
2795 (__expf): Call __ieee754_expf before checking for overflow and
2796 underflow.
2797 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2798 (u_threshold): Likewise.
2799 (__expl): Call __ieee754_expl before checking for overflow and
2800 underflow.
2801 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2802 (__ieee754_expl): Allow for and saturate large arguments.
2803 * math/libm-test.inc (exp_test): Add another test. Do not allow
2804 missing overflow exception on overflow.
2805 (expm1_test): Do not allow missing overflow exception on overflow.
2806
2807 * sysdeps/i386/fpu/e_expl.c: Move to ...
2808 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2809 rather than using inline asm.
2810 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2811 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2812 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2813
2814 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2815 (nice): Likewise.
2816 (poll): Likewise.
2817 (signal): Likewise.
2818 (time): Likewise.
2819 (times): Likewise.
2820
2821 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2822
2823 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2824 sysdeps/unix/common/syscalls.list.
2825 (fchmod): Likewise.
2826 (fchown): Likewise.
2827 (ftruncate): Likewise.
2828 (getrusage): Likewise.
2829 (gettimeofday): Likewise.
2830 (setpgid): Likewise.
2831 (setregid): Likewise.
2832 (setreuid): Likewise.
2833 (sigaction): Likewise.
2834 (truncate): Likewise.
2835 (vhangup): Likewise.
2836 * sysdeps/unix/common/syscalls.list: Remove file.
2837 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2838 * sysdeps/unix/sysv/linux/Implies: Likewise.
2839
2840 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2844 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2845 Moved to ...
2846 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2847 Here.
2848 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2849 to ...
2850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2851 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2852 to ...
2853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2854 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2855 to ...
2856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2857 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2858 to ...
2859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2860 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2861 to ...
2862 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2863 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2864 to ...
2865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2866 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2867 to ...
2868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2869 Here.
2870 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2871 to ...
2872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2873 Here.
2874 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2875 to ...
2876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2877 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2878 Moved to ...
2879 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2880 Here.
2881 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2882 to ...
2883 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2884
2885 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2886
2887 * sysdeps/unix/common/bits/dirent.h: Remove file.
2888 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2889
2890 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2891 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2892 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2893 * sysdeps/unix/bsd/isatty.c: Likewise.
2894 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2895 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2896 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2897
2898 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2899
2900 [BZ #13563]
2901 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2902 long double comparison inaccuracies.
2903 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2905
2906 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2907
2908 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2910
2911 2012-05-04 Joseph Myers <joseph@codesourcery.com>
2912
2913 [BZ #14049]
2914 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2915 nonzero digits before rounding a hex value.
2916 * stdlib/tst-strtod.c (tests): Add another test.
2917
2918 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2919
2920 * sysdeps/s390/fpu/libm-test-ulps: Update.
2921
2922 2012-05-03 Andreas Jaeger <aj@suse.de>
2923
2924 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2925 does not get optimized out.
2926 (malloc_opt_barrier): New.
2927
2928 2012-05-03 Andreas Jaeger <aj@suse.de>
2929 Roland McGrath <roland@hack.frob.com>
2930
2931 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
2932 intermediate file deletion.
2933 (generated): Add .symlist files.
2934
2935 2012-05-03 Joseph Myers <joseph@codesourcery.com>
2936
2937 [BZ #13775]
2938 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2939 Redirect under this condition.
2940 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2941 [__USE_GNU] (__dprintf_chk): Not under this condition.
2942 [__USE_GNU] (__vdprintf_chk): Likewise.
2943 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2944 under this condition.
2945 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2946 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2947 [__USE_XOPEN2K8] (vdprintf): Likewise.
2948 [__USE_GNU] (__dprintf_chk): Not under this condition.
2949 [__USE_GNU] (__vdprintf_chk): Likewise.
2950 [__USE_GNU] (dprintf): Likewise.
2951 [__USE_GNU] (vdprintf): Likewise.
2952
2953 2012-05-03 Roland McGrath <roland@hack.frob.com>
2954
2955 * elf/Makefile (common-generated): Set this instead of generated for
2956 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2957 $(all-built-dso)-derived lists.
2958
2959 2012-05-03 Andreas Jaeger <aj@suse.de>
2960
2961 * sysdeps/i386/fpu/libm-test-ulps: Update.
2962
2963 * FAQ: Removed.
2964 * FAQ.in: Likewise.
2965 * scripts/gen-FAQ.pl: Likewise.
2966 * manual/install.texi (Installation): Point to online location of
2967 FAQ.
2968 * Makefile (files-for-dist): Remove FAQ.
2969 (FAQ): Remove.
2970
2971 2012-05-02 Allan McRae <allan@archlinux.org>
2972
2973 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2974 (LDFLAGS-reldepmod5.so): Likewise.
2975 (LDFLAGS-reldep6mod1.so): Likewise.
2976 (LDFLAGS-reldep6mod4.so): Likewise.
2977 (LDFLAGS-reldep8mod3.so): Likewise.
2978 (LDFLAGS-unload4mod1.so): Likewise.
2979 (LDFLAGS-unload4mod2.so): Likewise.
2980 (LDFLAGS-tst-initorder): Likewise.
2981 (LDFLAGS-tst-initordera2.so): Likewise.
2982 (LDFLAGS-tst-initordera3.so): Likewise.
2983 (LDFLAGS-tst-initordera4.so): Likewise.
2984 (LDFLAGS-tst-initorderb2.so): Likewise.
2985 (LDFLAGS-noload): Likewise.
2986 (LDFLAGS-next): Likewise.
2987 (LDFLAGS-order2mod1.so): Likewise.
2988 (LDFLAGS-order2mod2.so): Likewise.
2989 (LDFLAGS-tst-initorder2): Likewise.
2990 (LDFLAGS-tst-initorder2a.so): Likewise.
2991 (LDFLAGS-tst-initorder2b.so): Likewise.
2992 (LDFLAGS-tst-initorder2c.so): Likewise.
2993 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2994
2995 2012-05-02 David S. Miller <davem@davemloft.net>
2996
2997 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2998
2999 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
3000
3001 [BZ #14055]
3002 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
3003
3004 2012-05-02 Andreas Jaeger <aj@suse.de>
3005
3006 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
3007 since we manipulate rounding mode.
3008 (CPPFLAGS-test-idouble.c): Likewise.
3009 (CPPFLAGS-test-ifloat.c): Likewise.
3010 (CFLAGS-test-ldouble.c): Likewise.
3011 (CFLAGS-test-double.c): Likewise.
3012 (CFLAGS-test-float.c): Likewise.
3013 (CFLAGS-test-misc.c): Likewise.
3014 (CFLAGS-test-test-fenv.c): Likewise.
3015
3016 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3017
3018 [BZ #2550]
3019 [BZ #2570]
3020 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
3021 comparisons to determine direction to adjust input.
3022
3023 2012-05-01 Roland McGrath <roland@hack.frob.com>
3024
3025 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
3026 output to the target.
3027
3028 * scripts/localplt.awk: New file.
3029 * elf/Makefile ($(objpfx)check-localplt): Target removed.
3030 (check-localplt-CFLAGS): Variable removed.
3031 ($(all-built-dso:=.jmprel)): New static pattern rule.
3032 (generated): Add those targets.
3033 (localplt-built-dso): New variable.
3034 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
3035
3036 * elf/check-localplt.c: File removed.
3037
3038 * scripts/check-execstack.awk: New file.
3039 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3040 (check-execstack-CFLAGS): Variable removed.
3041 ($(objpfx)check-execstack.h): Target removed.
3042 ($(objpfx)execstack-default): New target.
3043 (generated): Add that instead of check-execstack.h.
3044 ($(all-built-dso:=.phdr)): New static pattern rule.
3045 (generated): Add those targets.
3046 * elf/check-execstack.c: File removed.
3047
3048 * scripts/check-textrel.awk: New file.
3049 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3050 (check-textrel-CFLAGS): Variable removed.
3051 (all-built-dso): Use := to define.o
3052 ($(all-built-dso:=.dyn)): New static pattern rule.
3053 (generated): Add those targets.
3054 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3055 * config.make.in (READELF): New substituted variable.
3056 * elf/check-textrel.c: File removed.
3057
3058 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3059
3060 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3061 allow.
3062 * conform/data/ctype.h-data [C99-based standards] (isblank):
3063 Expect function.
3064 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3065 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3067 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3068 Specify type. Require positive value.
3069 (EILSEQ): Likewise.
3070 (ERANGE): Likewise.
3071 [ISO || POSIX] (EILSEQ): Do not expect.
3072 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3073 Specify type. Require positive value.
3074 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3075 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3076 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3077 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3078 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3079 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3080 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3081 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3082 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3084 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3085 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3086 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3087 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3088 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3089 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3090 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3091 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3092 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3094 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3099 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3101 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3102 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3106 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3108 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3109 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3110 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3111 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3112 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3113 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3114 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3115 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3116 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3117 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3118 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3119 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3120 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3121 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3122 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3123 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3124 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3125 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3126 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3127 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3128 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3129 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3130 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3131 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3132 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3133 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3134 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3135 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3136 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3137 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3138 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3139 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3140 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3141 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3142 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3143 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3144 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3145 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3146 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3147 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3148 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3149 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3150 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3151 Require >= 2.
3152 (FLT_ROUNDS): Expect as macro, not constant.
3153 (FLT_MANT_DIG): Use macro-int-constant.
3154 (DBL_MANT_DIG): Likewise.
3155 (LDBL_MANT_DIG): Likewise.
3156 (FLT_DIG): Likewise.
3157 (DBL_DIG): Likewise.
3158 (LDBL_DIG): Likewise.
3159 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3160 (DBL_MIN_EXP): Likewise.
3161 (LDBL_MIN_EXP): Likewise.
3162 (FLT_MAX_EXP): Use macro-int-constant.
3163 (DBL_MAX_EXP): Likewise.
3164 (LDBL_MAX_EXP): Likewise.
3165 (FLT_MAX_10_EXP): Likewise.
3166 (DBL_MAX_10_EXP): Likewise.
3167 (LDBL_MAX_10_EXP): Likewise.
3168 (FLT_MAX): Use macro-constant.
3169 (DBL_MAX): Likewise.
3170 (LDBL_MAX): Likewise.
3171 (FLT_EPSILON): Use macro-constant. Give upper bound.
3172 (DBL_EPSILON): Likewise.
3173 (LDBL_EPSILON): Likewise.
3174 (FLT_MIN): Likewise.
3175 (DBL_MIN): Likewise.
3176 (LDBL_MIN): Likewise.
3177 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3178 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3179 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3180 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3181 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3182 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3183 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3184 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3185 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3186 [ISO11] (FLT_TRUE_MIN): Likewise.
3187 [ISO11] (LDBL_TRUE_MIN): Likewise.
3188 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3189 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3190 (SCHAR_MIN): Use macro-int-constant. Specify type.
3191 (SCHAR_MAX): Likewise.
3192 (UCHAR_MAX): Likewise.
3193 (CHAR_MIN): Likewise.
3194 (CHAR_MAX): Likewise.
3195 (MB_LEN_MAX): Use macro-int-constant.
3196 (SHRT_MIN): Use macro-int-constant. Specify type.
3197 (SHRT_MAX): Likewise.
3198 (USHRT_MAX): Likewise.
3199 (INT_MAX): Likewise.
3200 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3201 bound negative.
3202 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3203 bound with "U".
3204 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3205 bound with "L".
3206 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3207 bound negative. Suffix upper bound with "L".
3208 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3209 bound with "UL".
3210 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3211 Specify type.
3212 [C99-based standards] (LLONG_MAX): Likewise.
3213 [C99-based standards] (ULLONG_MAX): Likewise.
3214 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3215 == 0.
3216 [ISO11] (max_align_t): Require type.
3217 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3218
3219 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3220 from $CFLAGS, without defining away __attribute__ calls.
3221 (checknamespace): Use $CFLAGS_namespace.
3222
3223 * conform/conformtest.pl (@keywords): Only include C99 keywords
3224 for standards based on C99 or C11.
3225
3226 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3227 Disable tests.
3228 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3229 UNIX98]: Likewise.
3230
3231 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3232 usability of symbols in #if.
3233
3234 * conform/conformtest.pl: If macro or constant types start
3235 "promoted:", expect the symbol to be of the following type
3236 promoted by the integer promotions.
3237
3238 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3239 in one place. Also handle "macro-constant".
3240
3241 * conform/conformtest.pl: Only accept expected macro values with
3242 "==". Parse all "macro" lines in one place.
3243 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3244
3245 * conform/conformtest.pl: Handle braced types on "constant" lines
3246 instead of handling "typed-constant".
3247 * conform/data/signal.h-data: Use "constant" instead of
3248 "typed-constant".
3249
3250 * conform/conformtest.pl: Handle "optional-" at start of lines in
3251 one place rather than duplicating several cases. Handle each
3252 format of "macro" line with initial "optional-".
3253
3254 * conform/conformtest.pl: Only accept expected constant or
3255 optional-constant values with "==". Parse all "constant" lines in
3256 one place. Parse all "optional-constant" lines in one place.
3257 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3258 * conform/data/fmtmsg.h-data: Likewise.
3259 * conform/data/netinet/in.h-data: Likewise.
3260 * conform/data/tar.h-data: Likewise.
3261 * conform/data/limits.h-data: Use "==" form on "constant" and
3262 "optional-constant" lines.
3263
3264 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3265 Use -std=c99 for XOPEN2K.
3266 (@knownproblems): Remove.
3267 (newtoken): Don't check %isknown.
3268
3269 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3270 Do not expect macro.
3271 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3283 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3284 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3301 [XPG3] (acosh): Likewise.
3302 [XPG3] (asinh): Likewise.
3303 [XPG3] (atanh): Likewise.
3304 [XPG3] (cbrt): Likewise.
3305 [XPG3] (expm1): Likewise.
3306 [XPG3] (ilogb): Likewise.
3307 [XPG3] (log1p): Likewise.
3308 [XPG3] (logb): Likewise.
3309 [XPG3] (nextafter): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3312 [XPG3] (remainder): Likewise.
3313 [XPG3] (rint): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3321 [UNIX98 || XOPEN2K] (scalb): Expect.
3322 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3323 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3355 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3385 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3386 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3387 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3388 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3389 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3390 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3391 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3392 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3393 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3394 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3395 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3396 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3399 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3400 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3405 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3406 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3408 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3409 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3410 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3419 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3420 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3421 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3422 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3423 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3424 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3425 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3426 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3427 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3428 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3429 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3430 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3431 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3432 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3433 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3434 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3435 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3436 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3437 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3438 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3439 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3440 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3441 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3442 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3443 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3444 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3445 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3446 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3447 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3448 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3449 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3450 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3451 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3452 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3453 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3454 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3455 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3456 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3457 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3458 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3459
3460 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3461 _XOPEN_SOURCE_EXTENDED for XPG4.
3462
3463 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3464
3465 * Makeconfig (localtime): Remove variable.
3466 (inst_localtime-file): Likewise.
3467
3468 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3469
3470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3471 Update.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3473 Update.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3475 Update.
3476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3477 Update.
3478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3479 Update.
3480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3481 Update.
3482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3483 Update.
3484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3485 Update.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3487 Update.
3488
3489 2012-05-01 Joseph Myers <joseph@codesourcery.com>
3490
3491 [BZ #2550]
3492 [BZ #2570]
3493 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3494 comparisons to determine direction to adjust input.
3495 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3496 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3497 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3498 Likewise.
3499 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3500 Likewise.
3501 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3502 Likewise.
3503 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3504 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3505 Likewise.
3506 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3507 Likewise.
3508 * math/libm-test.inc (nexttoward_test): Add more tests.
3509
3510 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3511
3512 [BZ #14040]
3513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3514 in version GLIBC_2.1, not GLIBC_2.0.
3515 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3516 Likewise.
3517
3518 2012-04-30 Joseph Myers <joseph@codesourcery.com>
3519
3520 [BZ #13942]
3521 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3522 (1 - x) * (1 + x).
3523 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3524 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3525 * math/libm-test.inc (acos_test): Add more tests.
3526 (asin_test): Likewise.
3527 * sysdeps/i386/fpu/libm-test-ulps: Update.
3528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3529
3530 [BZ #14034]
3531 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3532 of square root.
3533 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3534 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3535 * math/libm-test.inc (acos_test_tonearest): New function.
3536 (acos_test_towardzero): Likewise.
3537 (acos_test_downward): Likewise.
3538 (acos_test_upward): Likewise.
3539 (asin_test_tonearest): Likewise.
3540 (asin_test_towardzero): Likewise.
3541 (asin_test_downward): Likewise.
3542 (asin_test_upward): Likewise.
3543 (main): Call the new functions.
3544 * sysdeps/i386/fpu/libm-test-ulps: Update.
3545 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3546
3547 [BZ #13884]
3548 [BZ #13924]
3549 * math/e_exp10.c: Include <float.h>.
3550 (__ieee754_exp10): Handle underflow here rather than multiplying
3551 large negative argument by M_LN10.
3552 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3553 of __ieee754_expf.
3554 * math/e_exp10l.c: Include <float.h>.
3555 (__ieee754_exp10l): Handle underflow here rather than multiplying
3556 large negative argument by M_LN10l.
3557 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3558 spurious overflow exception on underflow.
3559
3560 2012-04-29 Marek Polacek <polacek@redhat.com>
3561
3562 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3563 (__fortify_function): New macro.
3564 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3565 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3566 __extern_always_inline.
3567 * libio/bits/stdio2.h: Likewise.
3568 * libio/bits/stdio.h: Likewise.
3569 * string/string.h: Likewise.
3570 * string/bits/string3.h: Likewise.
3571 * include/stdio.h: Likewise.
3572 * stdlib/bits/stdlib.h: Likewise.
3573 * stdlib/stdlib.h: Likewise.
3574 * rt/bits/mqueue2.h: Likewise.
3575 * rt/mqueue.h: Likewise.
3576 * posix/bits/unistd.h: Likewise.
3577 * posix/unistd.h: Likewise.
3578 * io/bits/poll2.h: Likewise.
3579 * io/bits/fcntl2.h: Likewise.
3580 * io/fcntl.h: Likewise.
3581 * io/sys/poll.h: Likewise.
3582 * misc/bits/syslog.h: Likewise.
3583 * misc/bits/syslog-ldbl.h: Likewise.
3584 * misc/sys/syslog.h: Likewise.
3585 * socket/bits/socket2.h: Likewise.
3586 * socket/sys/socket.h: Likewise.
3587 * debug/tst-chk1.c: Likewise.
3588 * wcsmbs/bits/wchar2.h: Likewise.
3589 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3590 * wcsmbs/wchar.h: Likewise.
3591
3592 2012-04-29 Andreas Jaeger <aj@suse.de>
3593
3594 * Makerules (tests): Remove enable-check-abi protection.
3595 (check-abi-warn): Remove.
3596 (check-abi-%): Remove check-abi-warn usage.
3597
3598 * configure.in: Remove check-abi configure option.
3599 * configure: Regenerated.
3600 * config.make.in (enable-check-abi): Remove.
3601
3602 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3603
3604 [BZ #14033]
3605 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3606 double functions to double *_finite functions.
3607
3608 [BZ #13941]
3609 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3610 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3611 LDBL_MIN_EXP.
3612 * stdio-common/Makefile (tests): Add tst-sprintf3.
3613 * stdio-common/tst-sprintf3.c: New file.
3614
3615 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3616 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3617
3618 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3619
3620 * conform/conformtest.pl: Remove duplicate typed-constant
3621 handling.
3622
3623 2012-04-28 David S. Miller <davem@davemloft.net>
3624
3625 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3626 (check-abi-%): Remove AWK script prerequisite and explicit
3627 abilist directory.
3628 (check-abi): Rewrite to just diff the symlist with the abilist.
3629 (config-tls, config-abi-config): Delete, no longer used.
3630 (update-abi-%): Remove AWK script and explicit abilist directory.
3631 (update-abi): Rewrite to simply compare and conditionally copy the
3632 symlist and the sysdep abilist file. Remove update-abi-config
3633 checks.
3634 * abilist/ld.abilist: Remove.
3635 * abilist/libBrokenLocale.abilist: Remove.
3636 * abilist/libanl.abilist: Remove.
3637 * abilist/libcrypt.abilist: Remove.
3638 * abilist/libdl.abilist: Remove.
3639 * abilist/librt.abilist: Remove.
3640 * abilist/libthread_db.abilist: Remove.
3641 * abilist/libutil.abilist: Remove.
3642 * scripts/extract-abilist.awk: Remove.
3643 * scripts/merge-abilist.awk: Remove.
3644 * sysdeps/generic/libcidn.abilist: New file.
3645 * sysdeps/generic/libnss_compat.abilist: New file.
3646 * sysdeps/generic/libnss_db.abilist: New file.
3647 * sysdeps/generic/libnss_dns.abilist: New file.
3648 * sysdeps/generic/libnss_files.abilist: New file.
3649 * sysdeps/generic/libnss_hesiod.abilist: New file.
3650 * sysdeps/generic/libnss_nis.abilist: New file.
3651 * sysdeps/generic/libnss_nisplus.abilist: New file.
3652 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3653 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3654 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3655 file.
3656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3657 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3658 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3659 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3660 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3661 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3662 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3663 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3664 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3665 file.
3666 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3667 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3668 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3669 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3670 file.
3671 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3672 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3673 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3674 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3675 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3676 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3677 file.
3678 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3679 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3680 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3681 file.
3682 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3683 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3684 New file.
3685 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3686 New file.
3687 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3688 New file.
3689 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3690 New file.
3691 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3692 New file.
3693 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3694 New file.
3695 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3696 New file.
3697 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3698 New file.
3699 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3700 New file.
3701 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3702 New file.
3703 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3704 New file.
3705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3706 New file.
3707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3708 New file.
3709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3710 file.
3711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3712 New file.
3713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3714 New file.
3715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3716 file.
3717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3718 New file.
3719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3720 New file.
3721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3722 file.
3723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3724 New file.
3725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3726 New file.
3727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3728 New file.
3729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3730 New file.
3731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3732 New file.
3733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3734 New file.
3735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3737 file.
3738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3739 New file.
3740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3741 file.
3742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3743 file.
3744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3745 file.
3746 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3747 file.
3748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3749 file.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3751 New file.
3752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3753 file.
3754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3755 file.
3756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3757 New file.
3758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3759 file.
3760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3762 file.
3763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3764 New file.
3765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3766 file.
3767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3768 file.
3769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3770 file.
3771 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3772 file.
3773 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3774 file.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3776 New file.
3777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3778 file.
3779 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3780 file.
3781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3782 New file.
3783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3784 file.
3785 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3786 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3787 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3788 file.
3789 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3790 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3791 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3792 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3793 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3795 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3796 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3797 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3798 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3800 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3801 file.
3802 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3803 New file.
3804 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3805 file.
3806 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3807 file.
3808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3809 file.
3810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3811 file.
3812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3813 file.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3815 New file.
3816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3817 New file.
3818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3819 file.
3820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3821 New file.
3822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3823 file.
3824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3826 file.
3827 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3828 New file.
3829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3830 file.
3831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3832 file.
3833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3834 file.
3835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3836 file.
3837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3838 file.
3839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3840 New file.
3841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3842 New file.
3843 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3844 file.
3845 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3846 New file.
3847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3848 file.
3849
3850 2012-04-28 Joseph Myers <joseph@codesourcery.com>
3851
3852 * conform/conformtest.pl: Fix typo in handling typed-constant from
3853 allow-header.
3854
3855 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3856
3857 * README: Cut down references to pre-2.6 Linux kernels and
3858 Linuxthreads. Update lists of configurations in libc and ports
3859 and sort alphabetically. Say "or newer" with Linux kernel version
3860 requirements.
3861
3862 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3863
3864 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3865
3866 [BZ #887]
3867 * math/libm-test.inc (logb_test_downward): New test to expose
3868 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3869 rounding mode.
3870
3871 2012-04-27 Joseph Myers <joseph@codesourcery.com>
3872
3873 [BZ #14027]
3874 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3875 to be done.
3876 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3877 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3878
3879 2012-04-26 Joseph Myers <joseph@codesourcery.com>
3880
3881 * sysdeps/unix/i386/brk.S: Remove file.
3882 * sysdeps/unix/i386/dl-brk.S: Likewise.
3883 * sysdeps/unix/i386/pipe.S: Likewise.
3884 * sysdeps/unix/i386/sigreturn.S: Likewise.
3885 * sysdeps/unix/i386/syscall.S: Likewise.
3886 * sysdeps/unix/i386/vfork.S: Likewise.
3887 * sysdeps/unix/i386/wait.S: Likewise.
3888
3889 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3890 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3891
3892 * configure.in (arm*-none*): Do not allow without
3893 --enable-hacker-mode.
3894 (netbsd*): Remove case setting base_os.
3895 (386bsd*): Likewise.
3896 (freebsd*): Likewise.
3897 (bsdi*): Likewise.
3898 (osf*): Likewise.
3899 (sunos*): Likewise.
3900 (ultrix*): Likewise.
3901 (newsos*): Likewise.
3902 (dynix*): Likewise.
3903 (*bsd*): Likewise.
3904 (sysv*): Likewise.
3905 (isc*): Likewise.
3906 (esix*): Likewise.
3907 (sco*): Likewise.
3908 (minix*): Likewise.
3909 (irix4*): Likewise.
3910 (irix6*): Likewise.
3911 (solaris[2-9]*): Likewise.
3912 (none): Likewise.
3913 * configure: Regenerated.
3914
3915 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3916
3917 [BZ #11521]
3918 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3919 overflow or cancellation in calculating denominator.
3920 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3921 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3922 down expression to avoid unexpected rounding in newer GCCs.
3923 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3924
3925 2012-04-26 David S. Miller <davem@davemloft.net>
3926
3927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3928 long-double compat symbols.
3929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3942
3943 2012-04-25 David S. Miller <davem@davemloft.net>
3944
3945 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3946 HWCAP_* values only after the memory barriers have been defined.
3947 (atomic_full_barrier): Define.
3948 (atomic_read_barrier): Define.
3949 (atomic_write_barrier): Define.
3950
3951 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3952
3953 * shlib-versions: Add libgcc_s version information.
3954 * sysdeps/generic/libgcc_s.h: Remove.
3955 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3956 libgcc_s.h.
3957 * sysdeps/gnu/unwind-resume.c: Likewise.
3958 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3959
3960 2012-04-25 David S. Miller <davem@davemloft.net>
3961
3962 * sysdeps/unix/sparc/brk.S: Delete.
3963 * sysdeps/unix/sparc/dl-brk.S: Delete.
3964 * sysdeps/unix/sparc/pipe.S: Delete.
3965 * sysdeps/unix/sparc/sysdep.S: Delete.
3966 * sysdeps/unix/sparc/sysdep.h: Delete.
3967 * sysdeps/unix/sparc/vfork.S: Delete.
3968 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3969 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3970 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3971 ret_ERRVAL, r0, r1, MOVE): Define.
3972 (JUMPTARGET): Remove.
3973 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3974 sysdeps/unix/sparc/sysdep.h
3975 (ENTRY, END): Remove.
3976 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3977
3978 2012-04-25 Joseph Myers <joseph@codesourcery.com>
3979
3980 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3981 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3982 -DIS_IN_build.
3983
3984 * timezone/README: Update upstream location and email address for
3985 tzcode and tzdata.
3986 * timezone/zdump.c: Update from tzcode 2012b.
3987 * timezone/zic.c: Likewise.
3988
3989 * configure.in (libc_cv_as_needed): Remove test.
3990 * configure: Regenerated.
3991 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3992 conditional definition.
3993 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3994 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3995 * config.make.in (have-as-needed): Remove variable.
3996
3997 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3998 Paul Pluzhnikov <ppluzhnikov@google.com>
3999
4000 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
4001 strings correctly.
4002
4003 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
4004
4005 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
4006 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
4007 * sysdeps/sh/strlen.S: Likewise.
4008
4009 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4010
4011 * sysdeps/unix/fork.S: Remove file.
4012 * sysdeps/unix/i386/fork.S: Likewise.
4013 * sysdeps/unix/sparc/fork.S: Likewise.
4014
4015 * sysdeps/unix/system.c: Remove file.
4016 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
4017
4018 * sysdeps/unix/getegid.S: Remove file.
4019 * sysdeps/unix/geteuid.S: Likewise.
4020
4021 2012-04-24 Roland McGrath <roland@hack.frob.com>
4022
4023 * scripts/check-localplt.awk: New file.
4024 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
4025 of diff.
4026 * scripts/data/localplt-generic.data: Add a comment.
4027
4028 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
4029 NODE when __dir_mkfile failed.
4030 * sysdeps/mach/hurd/symlinkat.c: Likewise.
4031 Reported by Ludovic Courtès <ludo@gnu.org>.
4032
4033 2012-04-24 Andreas Jaeger <aj@suse.de>
4034
4035 * Makerules (common-clean): Also remove gen-as-const-headers
4036 files.
4037
4038 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4039
4040 * Makerules (native-compile): Do not change working directory for
4041 build. Use $(OUTPUT_OPTION) in command.
4042 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4043
4044 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4045
4046 [BZ #13886]
4047 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4048 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4049 * math/libm-test.inc (floor_test): Add more tests.
4050 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4051
4052 2012-04-24 Joseph Myers <joseph@codesourcery.com>
4053
4054 * sysdeps/unix/getdents.c: Remove file.
4055 * sysdeps/unix/sysv/getdents.c: Likewise.
4056 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4057
4058 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4059 sysdeps/unix/mman/syscalls.list.
4060 (mmap): Likewise.
4061 (mprotect): Likewise.
4062 (msync): Likewise.
4063 (munmap): Likewise.
4064 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4065 * sysdeps/unix/mman/syscalls.list: Remove.
4066 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4067
4068 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4069 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4070 * configure: Regenerated.
4071 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4072 $(libgcc_s_suffix).
4073 * config.make.in (libgcc_s_suffix): Remove variable.
4074
4075 2012-04-23 Joseph Myers <joseph@codesourcery.com>
4076
4077 * sysdeps/unix/sysv/gethostname.c: Move to ...
4078 * sysdeps/posix/gethostname.c: ... here.
4079
4080 * sysdeps/unix/execve.S: Remove file.
4081
4082 * sysdeps/unix/_exit.S: Remove file.
4083
4084 2012-04-23 Andreas Jaeger <aj@suse.de>
4085
4086 [BZ #13739]
4087 * manual/Makefile: Remove make dist support, there's no
4088 need for a stand-alone documentation tar ball.
4089 (TEXI2DVI): Define always, it's not in Makeconfig.
4090 (dist): Removed.
4091 (tar-it): Removed.
4092 (edition): Removed.
4093 (glibc-doc-$(edition).tar): Removed
4094 (%.Z): Removed.
4095 (%.gz): Removed.
4096 (%.uu): Removed.
4097 (ETAGS): Remove, it's in Makeconfig.
4098 (move-if-change): Remove, it's in Makeconfig.
4099
4100 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4101
4102 [BZ #13970]
4103 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4104 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4105 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4106 (strtod_l, strtof_l, strtold_l): Remove __wur.
4107 It is not necessarily an error to ignore strtol's return value.
4108 One can reliably look at the stored endptr to decide whether
4109 the number had valid syntax.
4110
4111 2012-04-21 Andreas Jaeger <aj@suse.de>
4112
4113 [BZ #13739]
4114 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4115
4116 2012-04-21 Joseph Myers <joseph@codesourcery.com>
4117
4118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4119 * sysdeps/unix/sysv/Versions: Remove file.
4120
4121 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4122
4123 [BZ #13927]
4124 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4125
4126 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
4127
4128 [BZ #7064]
4129 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4130 version from __vm86.
4131
4132 2012-04-20 Joseph Myers <joseph@codesourcery.com>
4133
4134 * sysdeps/unix/common/lxstat.c: Remove file.
4135 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4136
4137 * sysdeps/unix/sysv/Makefile: Remove file.
4138
4139 * sysdeps/unix/sysv/direct.h: Remove file.
4140
4141 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4142 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4143 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4144 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4145 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4146 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4147 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4148
4149 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4150
4151 * sysdeps/unix/xmknod.c: Remove file.
4152 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4153
4154 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4155
4156 * sysdeps/unix/sysv/i386/time.S: Remove file.
4157
4158 * sysdeps/unix/fxstat.c: Remove file.
4159 * sysdeps/unix/xstat.c: Likewise.
4160 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4161
4162 * sysdeps/unix/sysv/sigaction.c: Remove file.
4163
4164 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4165 (sysdep_headers): Remove variable.
4166 [termio.h not in sysdep_headers] (generated): Likewise.
4167 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4168 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4169 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4170 * sysdeps/unix/sysv/tcflow.c: Likewise.
4171 * sysdeps/unix/sysv/tcflush.c: Likewise.
4172 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4173 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4174 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4175 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4176 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4177
4178 * sysdeps/unix/siglist.c: Remove file.
4179
4180 * sysdeps/unix/getppid.S: Remove file.
4181
4182 * sysdeps/unix/mkdir.c: Remove file.
4183 * sysdeps/unix/rmdir.c: Likewise.
4184
4185 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4186
4187 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4188 ERR_MAX value.
4189 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4190 errlist-compat value.
4191
4192 2012-04-18 David S. Miller <davem@davemloft.net>
4193
4194 * sysdeps/generic/memcopy.h (reg_char): Delete.
4195 * debug/strcat_chk.c: Use char, not reg_char.
4196 * debug/strcpy_chk.c: Likewise.
4197 * debug/strncat_chk.c: Likewise.
4198 * debug/strncpy_chk.c: Likewise.
4199 * string/memchr.c: Likewise.
4200 * string/memrchr.c: Likewise.
4201 * string/rawmemchr.c: Likewise.
4202 * string/strcat.c: Likewise.
4203 * string/strchr.c: Likewise.
4204 * string/strchrnul.c: Likewise.
4205 * string/strcmp.c: Likewise.
4206 * string/strcpy.c: Likewise.
4207 * string/strncat.c: Likewise.
4208 * string/strncmp.c: Likewise.
4209 * string/strncpy.c: Likewise.
4210
4211 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4212
4213 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4214 __builtin_memcopy is called when src and dest ranges are known to not
4215 overlap.
4216
4217 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4218
4219 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4220 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4221 fwd_align_merge macro call.
4222 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4223 bwd_align_merge macro call.
4224 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4225
4226 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4227
4228 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4229 bwd_align_merge macros.
4230 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4231 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4232 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4233
4234 2012-04-18 David S. Miller <davem@davemloft.net>
4235
4236 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4237
4238 2012-04-18 Andreas Jaeger <aj@suse.de>
4239
4240 [BZ# 6794]
4241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4242 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4243 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4244
4245 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4246 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4247 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4248
4249 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4250 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4251 Adjust for changed ldbl-128 files.
4252
4253 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4254 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4255 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4256
4257 2012-04-17 David S. Miller <davem@davemloft.net>
4258
4259 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4260
4261 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4262
4263 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4264 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4265 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4266 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4267 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4268 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4269
4270 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4271
4272 [BZ #6794]
4273 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4274 * math/libm-test.inc: Add ilogb errno and exception tests.
4275 * math/w_ilogb.c: New file: ilogb wrapper.
4276 * math/w_ilogbf.c: New file: ilogbf wrapper.
4277 * math/w_ilogbl.c: New file: ilogbl wrapper.
4278 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4279 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4280 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4281 exception being thrown with 0.0 as argument.
4282 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4283 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4284 exception being thrown with 0.0 as argument.
4285 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4286 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4287 exception being thrown with 0.0 as argument.
4288 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4289 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4290 exception being thrown with 0.0 as argument.
4291 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4292 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
4293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
4294 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4295 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4296 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4297 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4298 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4299 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4300
4301 2012-04-17 Petr Baudis <pasky@ucw.cz>
4302
4303 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4304 with altivec.
4305
4306 2012-04-16 Marek Polacek <polacek@redhat.com>
4307
4308 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4309
4310 2012-04-16 Marek Polacek <polacek@redhat.com>
4311
4312 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4313 operands of fdivp instruction.
4314
4315 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4316
4317 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4318 * elf/tst-auditmod3b.c: Likewise.
4319 * elf/tst-auditmod4b.c: Likewise.
4320 * elf/tst-auditmod5b.c: Likewise.
4321 * elf/tst-auditmod6b.c: Likewise.
4322 * elf/tst-auditmod6c.c: Likewise.
4323 * elf/tst-auditmod7b.c: Likewise.
4324 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4325 * sysdeps/x86_64/preconfigure.in: Likewise.
4326 * sysdeps/x86_64/preconfigure: Regenerated.
4327
4328 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4331 __ILP32__.
4332
4333 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
4334
4335 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4336 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4337
4338 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4339
4340 [BZ #13973]
4341 * locale/iso-639.def: Fix gl language name. Spotted by
4342 Yaron Shahrabani.
4343
4344 2012-04-12 Roland McGrath <roland@hack.frob.com>
4345
4346 [BZ #2074]
4347 * libio/libio.h (__io_write_fn): Update comment.
4348
4349 2012-04-12 Petr Baudis <pasky@ucw.cz>
4350
4351 [BZ #2074]
4352 * stdio.texi (Hook Functions): The user provided writer function
4353 is not allowed to return -1.
4354
4355 2012-04-11 David S. Miller <davem@davemloft.net>
4356
4357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4358
4359 2012-04-11 Mike Frysinger <vapier@gentoo.org>
4360
4361 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4362 Add a leading slash to rtkaio.
4363
4364 2012-04-11 Jim Meyering <meyering@redhat.com>
4365
4366 [BZ #11959]
4367 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4368 It is not necessarily an error to ignore fwrite's return
4369 value. One can reliably use ferror to test for errors after
4370 the fact.
4371
4372 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4373
4374 * bits/types.h (__snseconds_t): New type.
4375 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4376
4377 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4378 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4379 (__SNSECONDS_T_TYPE): Likewise.
4380 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4381 (__SNSECONDS_T_TYPE): Likewise.
4382 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4383 (__SNSECONDS_T_TYPE): Likewise.
4384
4385 2012-04-10 Andreas Jaeger <aj@suse.de>
4386
4387 [BZ #2636]
4388 * manual/time.texi (Processor Time): Return type of times is
4389 elapsed real time since an arbitrary point in the past.
4390 (CPU Time): Move CLK_TCK from here...
4391 (Processor Time): ...to here. Correct description.
4392 * manual/conf.texi (Constants for Sysconf): Correct description of
4393 _SC_CLK_TCK.
4394
4395 2012-04-10 David S. Miller <davem@davemloft.net>
4396
4397 [BZ #13967]
4398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4399 where the is a gap between DT_REL(A) and DT_JMPREL.
4400
4401 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4402
4403 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4404 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4405 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4406
4407 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4408
4409 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4410 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4411 (dl_main): Handle --inhibit-cache.
4412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4413 _dl_inhibit_cache.
4414 * elf/dl-load.c (_dl_map_object): Use it.
4415 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4416
4417 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4418
4419 [BZ #13872]
4420 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4421 (__ieee754_powl): Saturate large exponents rather than testing for
4422 overflow of y*log2(x).
4423 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4424 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4425 exceptions.
4426
4427 [BZ #11521]
4428 * math/s_ctan.c: Include <float.h>.
4429 (__ctan): Avoid internal overflow or cancellation in calculating
4430 denominator.
4431 * math/s_ctanf.c: Likewise.
4432 * math/s_ctanl.c: Likewise.
4433 * math/s_ctanh.c: Likewise.
4434 * math/s_ctanhf.c: Likewise.
4435 * math/s_ctanhl.c: Likewise.
4436 * math/libm-test.inc (ctan_test): Add more tests.
4437 (ctanh_test): Likewise.
4438 * sysdeps/i386/fpu/libm-test-ulps: Update.
4439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4440
4441 2012-04-09 Andreas Jaeger <aj@suse.de>
4442
4443 [BZ #6894]
4444 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4445 is an optional BSD extension.
4446
4447 [BZ #10254]
4448 * manual/stdio.texi (Opening Streams): Document additional fopen
4449 parameters.
4450
4451 2012-04-09 Roland McGrath <roland@hack.frob.com>
4452
4453 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4454 %eax without telling the compiler.
4455
4456 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4457
4458 [BZ # 13963]
4459 * manual/install.texi: Use sourceware.org.
4460
4461 2012-04-09 Joseph Myers <joseph@codesourcery.com>
4462
4463 [BZ #13873]
4464 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4465 (__ieee754_pow): Generate overflow and underflow using huge*huge
4466 and tiny*tiny rather than just returning constant infinity or zero
4467 for large exponents.
4468 * math/libm-test.inc (pow_test): Require overflow exceptions for
4469 applicable cases of large exponents.
4470
4471 [BZ #706]
4472 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4473 (__ieee754_pow): Use iterative multiplication algorithm only for
4474 integer exponents with absolute value below 1024. Check for odd
4475 integer exponents when using algorithm for real exponents.
4476 * math/libm-test.inc (pow_test): Add more tests.
4477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4478
4479 2012-04-08 Joseph Myers <joseph@codesourcery.com>
4480
4481 [BZ #13705]
4482 * math/libm-test.inc (exp_test): Do not allow overflow exception
4483 on underflow test.
4484
4485 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4486
4487 [BZ #13705]
4488 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4489 instead of __kernel_standard_f.
4490
4491 2012-04-08 Mike Frysinger <vapier@gentoo.org>
4492
4493 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4494 * sysdeps/x86_64/memset_chk.S: Likewise.
4495
4496 2012-04-08 Andreas Jaeger <aj@suse.de>
4497
4498 [BZ #10153]
4499 * manual/startup.texi (Environment Access): Describe return value
4500 for putenv and setenv.
4501
4502 [BZ #6895]
4503 * manual/filesys.texi (Directory Entries): Add description for
4504 DT_LNK.
4505
4506 [BZ #6890]
4507 * manual/filesys.texi (Directory Entries): Clarify that it's file
4508 system not operating system in the description of DT_UNKNOWN.
4509
4510 [BZ #6578]
4511 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4512
4513 2012-04-08 Stephen Compall <s11@member.fsf.org>
4514
4515 [BZ #6649]
4516 * manual/llio.texi (Opening and Closing Files): Add cross
4517 reference to explain mode argument.
4518
4519 2012-04-07 Mike Frysinger <vapier@gentoo.org>
4520
4521 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4522 * sysdeps/x86_64/memset_chk.S: Likewise.
4523
4524 2012-04-07 David S. Miller <davem@davemloft.net>
4525
4526 * elf/elf.h (R_SPARC_WDISP10): Define.
4527 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4528 R_SPARC_SIZE32.
4529 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4530 R_SPARC_SIZE64 and R_SPARC_H34.
4531
4532 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4533
4534 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4535 conditions and remove no longer applicable assertion.
4536
4537 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4538
4539 * bits/byteswap.h: Include <features.h>.
4540 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4541 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4542
4543 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4544
4545 * bits/byteswap.h (__bswap_16): Removed.
4546 Include <bits/byteswap-16.h> to get __bswap_16.
4547 * sysdeps/i386/bits/byteswap.h: Likewise.
4548 * sysdeps/s390/bits/byteswap.h: Likewise.
4549 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4550 * bits/byteswap-16.h: New file.
4551 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4552 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4553 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4554 * string/Makefile (headers): Add bits/byteswap-16.h.
4555
4556 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4557
4558 [BZ #13895]
4559 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4560 extra indirection.
4561 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4562 * nss/tst-nss-static.c: New.
4563
4564 2012-04-06 Robert Millan <rmh@gnu.org>
4565
4566 [BZ #6486]
4567 * manual/llio.texi (File Position Primitive): lseek
4568 refers to WHENCE when it really means OFFSET.
4569
4570 2012-04-06 Andreas Jaeger <aj@suse.de>
4571
4572 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4573 strncmp declarations.
4574
4575 * abilist/libc.abilist: Add __poll and __ppoll.
4576
4577 2012-04-05 David S. Miller <davem@davemloft.net>
4578
4579 * scripts/check-local-headers.sh: Accept a host triplet in the
4580 path matched by the exclude regexp.
4581
4582 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4583 definition.
4584 * sysdeps/powerpc/powerpc32/dl-machine.h
4585 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4586 * sysdeps/s390/s390-32/dl-machine.h
4587 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4588 * sysdeps/sparc/sparc32/dl-machine.h
4589 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4590 * sysdeps/sparc/sparc64/dl-machine.h
4591 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4592
4593 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4594 lazy binding.
4595 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
4596 undefined symbol errors.
4597
4598 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
4599 DT_NEEDED entries.
4600
4601 2012-04-05 Michael Matz <matz@suse.de>
4602
4603 [BZ #13592]
4604 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4605
4606 2012-04-05 Andreas Jaeger <aj@suse.de>
4607
4608 [BZ #13908]
4609 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4610 comment.
4611
4612 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4613
4614 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4615 which ROUND is no valid rounding mode.
4616
4617 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4618
4619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4620 read again.
4621 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4622
4623 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4624
4625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4626 an exception using FPU order intentionally.
4627
4628 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4629
4630 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4631 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4632 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4633 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4634
4635 2012-04-05 Simon Josefsson <simon@josefsson.org>
4636
4637 [BZ #12340]
4638 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4639 EINVAL when BUFLEN is too smal.
4640
4641 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4642
4643 [BZ #13553]
4644 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4645 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4646
4647 2012-04-03 Andreas Jaeger <aj@suse.de>
4648
4649 [BZ #13938]
4650 * manual/setjmp.texi (System V contexts): Fix sentence.
4651
4652 [BZ #13926]
4653 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4654 New macro for this case.
4655 [!__GNUC__] (__bswap_64): New inline function for this case.
4656 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4657 * bits/byteswap.h: Likewise.
4658 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4659 ull, guard with __GLIBC_HAVE_LONG_LONG.
4660
4661 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4662 __GLIBC_HAVE_LONG_LONG.
4663
4664 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4665 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4666
4667 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4668
4669 [BZ #13691]
4670 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4671 inptr and inend, rather than using last_ch.
4672
4673 2012-04-02 David S. Miller <davem@davemloft.net>
4674
4675 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4676 * stdio-common/printf-parse.h (read_int): Change return type to
4677 'int', return -1 on INT_MAX overflow.
4678 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4679 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4680 overflows INT_MAX. Check for overflow of in-format-string precision
4681 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4682 SIZE_MAX not INT_MAX for integer overflow test.
4683 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4684 skip the construct in the format string but do not record anything.
4685 * stdio-common/bug22.c: Adjust to test both width/prevision
4686 INT_MAX overflow as well as total length INT_MAX overflow. Check
4687 explicitly for proper errno values.
4688
4689 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4690
4691 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4692 CHAR_MAX.
4693 * string/test-strcmp.c [! WIDE]: Likewise.
4694 * time/tst-mktime2.c: Likewise for INT_MAX.
4695 * string/test-string.h: #include <sys/param.h> for MIN.
4696
4697 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4698 * sysdeps/i386/init-first.c (init): Likewise.
4699 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4700 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4701 * sysdeps/sh/init-first.c (init): Likewise.
4702
4703 2012-04-01 Ulrich Drepper <drepper@gmail.com>
4704
4705 * po/ru.po: Update from translation team.
4706 * po/vi.po: Likewise.
4707
4708 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
4710 * resolv/nss_dns/dns-host.c: Merge copyright years.
4711
4712 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4713
4714 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4715 Optimize memcpy with prefetch if
4716 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4717 src, dst pointers have unequal 16 byte alignments.
4718
4719 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
4721 [BZ #13928]
4722 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4723 from a CNAME entry and return the minimum ttl for the query.
4724 (gaih_getanswer_slice): Likewise.
4725
4726 2012-03-30 Jeff Law <law@redhat.com>
4727
4728 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4729 due to long keys.
4730 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4731 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4732
4733 * resolv/nss_dns/dns-host.c: Update copyright year.
4734
4735 2012-03-30 Ulrich Drepper <drepper@gmail.com>
4736
4737 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
4738 requests to save a system call. Fix check that all bytes are sent.
4739
4740 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4741 comments for sendmmsg.
4742
4743 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4744
4745 [BZ #13691]
4746 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4747 with only 1 character between 0x0041 and 0x01b0.
4748 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4749 * wcsmbs/tst-mbsnrtowcs.c: New file.
4750
4751 2012-03-29 David S. Miller <davem@davemloft.net>
4752
4753 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4754 small copies by hand.
4755
4756 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4757
4758 [BZ #13761]
4759 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4760 _nss_compat_initgroups_dyn): Fall back to malloc/free
4761 for large group memberships.
4762
4763 2012-03-28 David S. Miller <davem@davemloft.net>
4764
4765 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4766 that branches into memcpy.
4767 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4768 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4769 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4770 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4771 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4772 bits.
4773 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4774 implementation too.
4775 * sysdeps/sparc/mempcpy.S: New file.
4776
4777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4778 the IFUNC routine in the libc case.
4779 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4780
4781 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4782 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4783 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4784 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4785 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4786 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4787 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4788 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4789
4790 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4791 loop to 256 bytes instead of 64 bytes and fix test signedness.
4792
4793 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4794 * sysdeps/sparc/sparc32/Makefile: rather than here...
4795 * sysdeps/sparc/sparc64/Makefile: and here.
4796
4797 2012-03-28 Ulrich Drepper <drepper@gmail.com>
4798
4799 * malloc/mallocbug.c: Avoid warnings about unused variables.
4800
4801 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4802
4803 [BZ #13760]
4804 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4805 in the right place. Discard and retry query if response is
4806 larger than input buffer size.
4807
4808 2012-03-28 Joseph Myers <joseph@codesourcery.com>
4809
4810 [BZ #369]
4811 [BZ #2678]
4812 [BZ #3866]
4813 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4814 x for large integer exponent.
4815 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4816 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4817 sign of result as needed afterwards.
4818 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4819 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4820 result for underflowing pow the same as for overflow.
4821 (__kernel_standard_l): Handle powl overflow and underflow here
4822 rather than calling __kernel_standard.
4823 * math/libm-test.inc (pow_test): Add more tests.
4824
4825 [BZ #3868]
4826 [BZ #13879]
4827 [BZ #13910]
4828 [BZ #13911]
4829 [BZ #13912]
4830 [BZ #13913]
4831 [BZ #13915]
4832 [BZ #13916]
4833 [BZ #13917]
4834 [BZ #13918]
4835 [BZ #13919]
4836 [BZ #13920]
4837 [BZ #13921]
4838 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4839 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4840 (__kernel_standard_l): New function.
4841 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4842 __kernel_standard.
4843 * math/w_acosl.c (__acosl): Likewise.
4844 * math/w_asinl.c (__asinl): Likewise.
4845 * math/w_atan2l.c (__atan2l): Likewise.
4846 * math/w_atanhl.c (__atanhl): Likewise.
4847 * math/w_coshl.c (__coshl): Likewise.
4848 * math/w_exp10l.c (__exp10l): Likewise.
4849 * math/w_exp2l.c (__exp2l): Likewise.
4850 * math/w_fmodl.c (__fmodl): Likewise.
4851 * math/w_hypotl.c (__hypotl): Likewise.
4852 * math/w_j0l.c (__j0l, __y0l): Likewise.
4853 * math/w_j1l.c (__j1l, __y1l): Likewise.
4854 * math/w_jnl.c (__jnl, __ynl): Likewise.
4855 * math/w_lgammal.c (__lgammal): Likewise.
4856 * math/w_log10l.c (__log10l): Likewise.
4857 * math/w_log2l.c (__log2l): Likewise.
4858 * math/w_logl.c (__logl): Likewise.
4859 * math/w_powl.c (__powl): Likewise.
4860 * math/w_remainderl.c (__remainderl): Likewise.
4861 * math/w_scalbl.c (sysv_scalbl): Likewise.
4862 * math/w_sinhl.c (__sinhl): Likewise.
4863 * math/w_sqrtl.c (__sqrtl): Likewise.
4864 * math/w_tgammal.c (__tgammal): Likewise.
4865 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4866 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4867 * math/libm-test.inc (acos_test): Add more tests.
4868 (acosh_test): Likewise.
4869 (asin_test): Likewise.
4870 (atanh_test): Likewise.
4871 (exp_test): Likewise.
4872 (exp10_test): Likewise.
4873 (exp2_test): Likewise.
4874 (expm1_test): Likewise.
4875 (lgamma_test): Likewise.
4876 (log_test): Likewise.
4877 (log10_test): Likewise.
4878 (log1p_test): Likewise.
4879 (log2_test): Likewise.
4880 (pow_test): Do not allow some spurious overflow exceptions.
4881 (sqrt_test): Add more tests.
4882 (tgamma_test): Likewise.
4883 (y0_test): Likewise.
4884 (y1_test): Likewise.
4885 (yn_test): Likewise.
4886
4887 2012-03-27 Anton Blanchard <anton@samba.org>
4888
4889 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4890 MAP_HUGETLB.
4891 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4892 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4894
4895 2012-03-27 David S. Miller <davem@davemloft.net>
4896
4897 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4898
4899 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4900 have-as-vis3 check.
4901
4902 2012-03-27 Andreas Jaeger <aj@suse.de>
4903
4904 * sysdeps/x86_64/elf/configure.in: Moved to ...
4905 * sysdeps/x86_64/configure.in: ... here.
4906 * sysdeps/x86_64/elf/start.S: Moved to ...
4907 * sysdeps/x86_64/start.S: ... here.
4908 * sysdeps/x86_64/elf/configure: Delete.
4909
4910 * sysdeps/x86_64/configure.in: Merge contents from
4911 sysdeps/i386/configure.in (without i686 check).
4912
4913 * sysdeps/i386/elf/Versions: Merge into ...
4914 * sysdeps/i386/Versions: ... this.
4915 * sysdeps/i386/elf/Versions: Delete file.
4916 * sysdeps/i386/elf/start.S: Moved to ...
4917 * sysdeps/i386/start.S: ...here.
4918 * sysdeps/i386/elf/configure.in: Merge into...
4919 * sysdeps/i386/configure.in: ...here.
4920 * sysdeps/i386/elf/configure.in: Delete file.
4921 * sysdeps/i386/elf/configure: Delete file.
4922
4923 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4924 * debug/backtracesyms.c: ... here.
4925 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4926 * debug/backtracesymsfd.c: ... here.
4927 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4928 * sysdeps/generic/ifunc-sel.h: ... here.
4929
4930 * sysdeps/unix/i386/start.c: Delete file.
4931 * sysdeps/unix/sparc/start.c: Delete file.
4932 * sysdeps/unix/start.c: Delete file.
4933
4934 * sysdeps/sh/elf/configure.in: Moved to ...
4935 * sysdeps/sh/configure.in: ... here.
4936 * sysdeps/sh/elf/start.S: Moved to ...
4937 * sysdeps/sh/start.S: ... here.
4938 * sysdeps/sh/elf/configure: Delete file.
4939
4940 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4941 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4942 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4943 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4944 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4945 * sysdeps/powerpc/powerpc64/start.S: here.
4946 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4947 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4948 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4949 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4950 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4951
4952 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4953 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4954 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4955 * sysdeps/powerpc/powerpc32/start.S: ... here.
4956 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4957 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4958 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4959
4960 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4961 * sysdeps/powerpc/ifunc-sel.h: ... here.
4962 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4963 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4964
4965 * sysdeps/sparc/elf/configure.in: Moved to ...
4966 * sysdeps/sparc/configure.in: ... here.
4967 * sysdeps/sparc/elf/configure: Delete file.
4968 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4969 * sysdeps/sparc/sparc32/start.S: ... here.
4970 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4971 * sysdeps/sparc/sparc64/start.S: ... here.
4972 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4973 * sysdeps/sparc/sparc32/Makefile: ... this.
4974 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4975 * sysdeps/sparc/sparc64/Makefile: ... this.
4976
4977 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4978 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4979 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4980 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4981 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4982 * sysdeps/s390/s390-32/setjmp.S: ... here.
4983 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4984 * sysdeps/s390/s390-32/configure.in: ... here.
4985 * sysdeps/s390/s390-32/elf/configure: Delete file.
4986 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4987 * sysdeps/s390/s390-32/start.S: ... here.
4988
4989 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4990 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4991 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4992 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4993 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4994 * sysdeps/s390/s390-64/setjmp.S: ... here.
4995 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4996 * sysdeps/s390/s390-64/configure.in: ... here
4997 * sysdeps/s390/s390-64/elf/configure: Delete file.
4998 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4999 * sysdeps/s390/s390-64/start.S: ... here.
5000 * sysdeps/s390/s390-64/elf/configure: Delete.
5001
5002 * configure.in: Remove support for elf directories in sysdeps.
5003
5004 * configure: Regenerated.
5005 * sysdeps/i386/configure: Regenerated.
5006 * sysdeps/powerpc/powerpc32/configure: Regenerated.
5007 * sysdeps/powerpc/powerpc64/configure: Regenerated.
5008 * sysdeps/s390/s390-32/configure: Regenerated.
5009 * sysdeps/s390/s390-64/configure: Regenerated.
5010 * sysdeps/sh/configure: Regenerated.
5011 * sysdeps/sparc/configure: Regenerated.
5012 * sysdeps/x86_64/configure: Regenerated.
5013
5014 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
5015
5016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5017
5018 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
5019 denormal result into account.
5020
5021 2012-03-25 Roland McGrath <roland@hack.frob.com>
5022
5023 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
5024 Reported by Allan McRae <allan@archlinux.org>.
5025
5026 2012-03-23 Jeff Law <law@redhat.com>
5027
5028 * nss/getnssent.c (__nss_getent): Fix typo.
5029
5030 2012-03-23 David S. Miller <davem@davemloft.net>
5031
5032 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5033
5034 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
5037 to pad to uint64_t for each field.
5038 (dl_tls_index): Replace unsigned long with uint64_t.
5039
5040 2012-03-23 Daniel Jacobowitz <dmj@google.com>
5041 Paul Pluzhnikov <ppluzhnikov@google.com>
5042
5043 [BZ #6528]
5044 * grp/Makefile (otherlibs): Don't set it.
5045 * inet/Makefile (otherlibs): Likewise.
5046 * login/Makefile (otherlibs): Likewise.
5047 * nscd/Makefile (otherlibs): Likewise.
5048 * posix/Makefile (otherlibs): Likewise.
5049 * pwd/Makefile (otherlibs): Likewise.
5050 * rt/Makefile (otherlibs): Likewise.
5051 * sunrpc/Makefile (otherlibs): Likewise.
5052 * nss/Makefile (otherlibs): Likewise.
5053 Add libnss_files to routines and static-only-routines.
5054 ($(objpfx)getent): Remove rule.
5055 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5056 static-only-routines.
5057
5058 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #13892]
5061 * math/s_cexp.c: Include <float.h>.
5062 (__cexp): Handle exp result overflowing not necessarily
5063 overflowing both real and imaginary parts of result.
5064 * math/s_cexpf.c: Likewise.
5065 * math/s_cexpl.c: Likewise.
5066 * math/libm-test.inc (cexp_test): Add more tests.
5067 * sysdeps/i386/fpu/libm-test-ulps: Update.
5068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5069
5070 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5071
5072 * include/link.h (ELFW): New macro.
5073 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5074 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5075
5076 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5077
5078 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5079 with uint64_t.
5080
5081 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5082
5083 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5084 declaration.
5085 (struct La_x32_retval): Likewise.
5086
5087 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5088
5089 * sysdeps/x86_64/preconfigure.in: New file.
5090 * sysdeps/x86_64/preconfigure: New generated file.
5091
5092 2012-03-22 Joseph Myers <joseph@codesourcery.com>
5093
5094 [BZ #13824]
5095 * math/e_exp2l.c: Include <float.h>.
5096 (__ieee754_exp2l): Handle overflow and underflow cases
5097 separately. Only pass fractional part of argument to
5098 __ieee754_expl.
5099 * math/libm-test.inc (exp2_test): Add more tests.
5100
5101 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5102 negating x to take absolute value.
5103 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5104 Likewise.
5105 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5106 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5107 Likewise.
5108 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5109 computing low part if x was negated.
5110 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5111
5112 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5113
5114 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5115 la_x32_gnu_pltexit.
5116 (pltexit): Cast int_retval to ptrdiff_t.
5117 * elf/tst-auditmod3b.c: Likewise.
5118 * elf/tst-auditmod4b.c: Likewise.
5119 * elf/tst-auditmod5b.c: Likewise.
5120 * elf/tst-auditmod6b.c: Likewise.
5121 * elf/tst-auditmod6c.c: Likewise.
5122 * elf/tst-auditmod7b.c: Likewise.
5123
5124 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5125 and x32_gnu_pltexit.
5126
5127 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5128 __ELF_NATIVE_CLASS.
5129 (La_x32_regs): New macro.
5130 (La_x32_retval): Likewise.
5131 (la_x32_gnu_pltenter): New function prototype.
5132 (la_x32_gnu_pltexit): Likewise.
5133
5134 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5135
5136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5137 exponent.
5138
5139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5140
5141 * configure.in (libc_cv_cc_nofma): Check for option to disable
5142 generation of FMA instructions.
5143 * configure: Regenerate.
5144 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5145 * sysdeps/ieee754/dbl-64/Makefile: New file.
5146 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5147 Remove brandred-fma4.
5148 (CFLAGS-brandred-fma4.c): Remove.
5149 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5150 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5151 define.
5152 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5153 define.
5154
5155 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5156
5157 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5158 LLONG_MAX != LONG_MAX.
5159 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5160 (_fitoa_word): Likewise.
5161 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5162 LLONG_MAX != LONG_MAX.
5163 * stdio-common/_itowa.h: Include <_itoa.h>.
5164 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5165 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5166 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5167 only if not defined.
5168 (_ITOA_WORD_TYPE): Likewise.
5169 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5170 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5171
5172 2012-03-21 David S. Miller <davem@davemloft.net>
5173
5174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5175
5176 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5177
5178 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5179 of x86_64 when setting libc_cv_slibdir, libdir and
5180 libc_cv_localedir.
5181 * sysdeps/unix/sysv/linux/configure: Regenerated.
5182
5183 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5184
5185 * manual/lang.texi (Old Varargs): Remove section.
5186 (How Variadic): Update menu.
5187 (va_start): Do not mention varargs.h.
5188
5189 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5190 Joseph Myers <joseph@codesourcery.com>
5191
5192 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5193 link test.
5194 * configure: Regenerated.
5195
5196 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5197
5198 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5199 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5200 conformtest.pl
5201
5202 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5203
5204 * NOTES: Remove.
5205 * Makefile (files-for-dist): Remove NOTES.
5206 (NOTES): Remove rule.
5207 * README: Don't refer to NOTES.
5208 * manual/creature.texi: Don't include macros.texi.
5209 * manual/intro.texi (creature.texi): Remove comment referring to
5210 NOTES.
5211
5212 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5213 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5214 * configure: Regenerated.
5215 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5216 LIBC_TRY_CC_OPTION.
5217 (libc_cv_as_i686): Likewise.
5218 (libc_cv_cc_avx): Likewise.
5219 (libc_cv_cc_sse2avx): Likewise.
5220 (libc_cv_cc_fma4): Likewise.
5221 (libc_cv_cc_novzeroupper): Likewise.
5222 * sysdeps/i386/configure: Regenerated.
5223
5224 [BZ #13883]
5225 * sysdeps/i386/fpu/s_cexp.S: Remove.
5226 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5227 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5228 * math/libm-test.inc (cexp_test): Add more tests.
5229 * sysdeps/i386/fpu/libm-test-ulps: Update.
5230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5231
5232 2012-03-21 Allan McRae <allan@archlinux.org>
5233
5234 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5235
5236 2012-03-21 Joseph Myers <joseph@codesourcery.com>
5237
5238 [BZ #13871]
5239 * math/w_exp2.c: Do not include <float.h>.
5240 (o_threshold, u_threshold): Remove.
5241 (__exp2): Calculate result before checking finiteness and calling
5242 __kernel_standard.
5243 * math/w_exp2f.c: Likewise.
5244 * math/w_exp2l.c: Likewise.
5245 * math/libm-test.inc (exp2_test): Require overflow exception for
5246 1e6 input.
5247
5248 [BZ #3866]
5249 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5250 range of signed 64-bit integers before using fistpll. Remove
5251 checks for whether integers fit in mantissa bits.
5252 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5253 the range of signed 32-bit integers before using fistpl. Remove
5254 checks for whether integers fit in mantissa bits.
5255 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5256 (__ieee754_powl): Test for y outside the range of signed 64-bit
5257 integers before using fistpll. Reduce 64-bit values to 63-bit
5258 ones as needed.
5259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5260 divide-by-zero is raised for zero to large negative powers.
5261 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5262 (__ieee754_powl): Test for y outside the range of signed 64-bit
5263 integers before using fistpll. Reduce 64-bit values to 63-bit
5264 ones as needed.
5265 * math/libm-test.inc (pow_test): Add more tests.
5266
5267 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5268
5269 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5270 <stdio-common/_itoa.h>.
5271 * debug/segfault.c: Likewise.
5272 * elf/dl-cache.c: Likewise.
5273 * elf/dl-minimal.c: Likewise.
5274 * elf/dl-misc.c: Likewise.
5275 * elf/dl-sysdep.c: Likewise.
5276 * elf/dl-version.c: Likewise.
5277 * elf/rtld.c: Likewise.
5278 * hurd/hurdsock.c: Likewise.
5279 * hurd/lookup-retry.c: Likewise.
5280 * malloc/malloc.c: Likewise.
5281 * malloc/mtrace.c: Likewise.
5282 * nscd/nscd_getgr_r.c: Likewise.
5283 * nscd/nscd_getpw_r.c: Likewise.
5284 * nscd/nscd_getserv_r.c: Likewise.
5285 * posix/getopt_init.c: Likewise.
5286 * posix/wordexp.c: Likewise.
5287 * stdio-common/_itoa.c: Likewise.
5288 * stdio-common/printf_fphex.c: Likewise.
5289 * stdio-common/vfprintf.c: Likewise.
5290 * string/_strerror.c: Likewise.
5291 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5292 * sysdeps/i386/i686/hp-timing.h: Likewise.
5293 * sysdeps/mach/_strerror.c: Likewise.
5294 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5295 * sysdeps/mach/hurd/sethostid.c: Likewise.
5296 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5297 * sysdeps/mach/xpg-strerror.c: Likewise.
5298 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5299 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5300 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5301 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5302 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5303 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5304 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5305 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5306 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5307 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5308 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5309 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5310 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5311 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5312 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5313 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5314 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5315 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5316 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5317 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5318 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5319
5320 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5321
5322 * stdio-common/_itoa.h: Moved to ...
5323 * sysdeps/generic/_itoa.h: Here.
5324
5325 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5326
5327 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5328 instead of "_itoa.h" and "_itowa.h".
5329 * stdio-common/vfprintf.: Likewise.
5330
5331 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5332
5333 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5334 <bits/wordsize.h>.
5335 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5336 (__signbit): Likwise.
5337 (llrintf): Likwise.
5338 (llrint): Likwise.
5339
5340 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5341
5342 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5343 __WORDSIZE != 64.
5344
5345 2012-03-20 Joseph Myers <joseph@codesourcery.com>
5346
5347 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5348 OVERFLOW_EXCEPTION_OK.
5349 * math/libm-test.inc ("Philosophy"): Update comment about
5350 exception testing.
5351 (OVERFLOW_EXCEPTION): Define.
5352 (OVERFLOW_EXCEPTION_OK): Likewise.
5353 (INVALID_EXCEPTION_OK): Renumber.
5354 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5355 (IGNORE_ZERO_INF_SIGN): Likewise.
5356 (test_exceptions): Handle FE_OVERFLOW.
5357 (exp10_test): Expect overflow exceptions.
5358 (exp2_test): Likewise.
5359 (expm1_test): Likewise.
5360 (nextafter_test): Likewise.
5361 (pow_test): Likewise.
5362 (scalbn_test): Likewise.
5363 (scalbln_test): Likewise.
5364
5365 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * sysdeps/x86_64/bits/atomic.h
5368 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5369 64bit integer.
5370 (atomic_exchange_acq): Likewise.
5371 (__arch_exchange_and_add_body): Likewise.
5372 (__arch_add_body): Likewise.
5373 (atomic_add_negative): Likewise.
5374 (atomic_add_zero): Likewise.
5375
5376 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5377
5378 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
5379 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5380
5381 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5382
5383 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5384 Check __x86_64__ instead of __WORDSIZE.
5385
5386 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5387
5388 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5389
5390 2012-03-19 David S. Miller <davem@davemloft.net>
5391
5392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5393
5394 * sysdeps/sparc/fpu/fenv_private.h: New file.
5395 * sysdeps/sparc/fpu/math_private.h: Use it.
5396 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5397 Remove.
5398 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5399 (libc_feholdexcept_setroundl): Remove.
5400 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5401 Remove.
5402 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5403 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5404
5405 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5406
5407 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5408 int64_t instead of long int.
5409 (INSERT_WORDS64): Likwise.
5410
5411 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5412
5413 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5414 _Unwind_GetCFA return to _Unwind_Ptr first.
5415
5416 2012-03-19 Joseph Myers <joseph@codesourcery.com>
5417
5418 [BZ #13629]
5419 * math/s_clog.c: Include <float.h>.
5420 (__clog): Scale large or subnormal inputs.
5421 * math/s_clogf.c: Likewise.
5422 * math/s_clogl.c: Likewise.
5423 * math/s_clog10.c: Include <float.h>.
5424 (M_LOG10_2): Define.
5425 (__clog10): Scale large or subnormal inputs.
5426 * math/s_clog10f.c: Likewise.
5427 * math/s_clog10l.c: Likewise.
5428 * math/libm-test.inc (clog_test): Add more tests.
5429 (clog10_test): Likewise.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432
5433 [BZ #11451]
5434 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5435 x and y.
5436 * math/libm-test.inc (atan2_test): Add another test.
5437
5438 * Makerules (common-objdir-compile): Remove.
5439 * sysdeps/unix/Makefile (config-generated): Do not add
5440 $(unix-generated) to variable.
5441 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5442 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5443 Remove rule.
5444 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5445 Likewise.
5446 [generic bits/local_lim.h] (before-compile): Do not append to
5447 variable.
5448 [generic bits/local_lim.h] (common-generated): Likewise.
5449 [generic sys/param.h] (before-compile): Do not append to variable.
5450 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5451 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5452 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5453 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5454 include.
5455 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5456 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5457 [generic sys/param.h] ($(addprefix
5458 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5459 [generic sys/param.h] (common-generated): Do not append to
5460 variable.
5461 [generic sys/param.h] (sysdep_headers): Likewise.
5462 [generic bits/errno.h] (before-compile): Do not append to
5463 variable.
5464 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5465 rule.
5466 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5467 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5468 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5469 [generic bits/errno.h] (common-generated): Do not append to
5470 variable.
5471 [generic bits/ioctls.h] (before-compile): Do not append to
5472 variable.
5473 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5474 rule.
5475 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5476 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5477 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5478 rule.
5479 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5480 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5481 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5482 [generic bits/ioctls.h] (common-generated): Do not append to
5483 variable.
5484 [generic sys/syscall.h] (syscall.h): Remove variable.
5485 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5486 rule.
5487 [generic sys/syscall.h] (before-compile): Do not append to
5488 variable.
5489 [generic sys/syscall.h] (common-generated): Likewise.
5490 * sysdeps/unix/errnos-tmpl.c: Remove file.
5491 * sysdeps/unix/errnos.awk: Likewise.
5492 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5493 * sysdeps/unix/ioctls.awk: Likewise.
5494 * sysdeps/unix/mk-local_lim.c: Likewise.
5495 * sysdeps/unix/snarf-ioctls: Likewise.
5496
5497 2012-03-19 Richard Henderson <rth@twiddle.net>
5498
5499 * sysdeps/i386/fpu/fenv_private.h: New file.
5500 * sysdeps/i386/fpu/math_private.h: Use it.
5501 (math_opt_barrier, math_force_eval): Remove.
5502 (libc_feholdexcept_setround_53bit): Remove.
5503 (libc_feupdateenv_53bit): Remove.
5504 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5505 (math_opt_barrier, math_force_eval): Remove.
5506 (libc_feholdexcept): Remove.
5507 (libc_feholdexcept_setround): Remove.
5508 (libc_fetestexcept, libc_fesetenv): Remove.
5509 (libc_feupdateenv_test): Remove.
5510 (libc_feupdateenv, libc_feholdsetround): Remove.
5511 (libc_feresetround): Remove.
5512
5513 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5514 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5515
5516 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5517 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5518 (libc_feupdateenv_testl): New.
5519 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5520 (libc_feupdateenv_testf): New.
5521 (libc_feupdateenv): Use libc_feupdateenv_test.
5522 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5523 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5524
5525 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5526 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5527 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5528 (libc_feresetround_noex): New.
5529 (libc_feresetround_noexf): New.
5530 (libc_feresetround_noexl): New.
5531 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5532 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5533 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5534 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5535 SET_RESTORE_ROUND.
5536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5538 (__cos): Likewise.
5539 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5540 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5541 SET_RESTORE_ROUND_NOEX.
5542 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5543 SET_RESTORE_ROUND_NOEXF.
5544 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5545 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5546 (libc_feholdsetroundf): New.
5547 (libc_feresetround, libc_feresetroundf): New.
5548
5549 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5550 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5551 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5552
5553 * sysdeps/generic/math_private.h: Include <fenv.h>.
5554 (default_libc_feholdexcept): New.
5555 (default_libc_feholdexcept_setround): New.
5556 (default_libc_fesetenv, default_libc_feupdateenv): New.
5557 (libc_feholdexcept): Only define if undefined.
5558 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5559 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5560 (libc_feholdexcept_setroundl): Likewise.
5561 (libc_feholdexcept_setround_53bit): Likewise.
5562 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5563 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5564 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5565 (libc_feupdateenv_53bit): Likewise.
5566 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5567 (libc_feholdexcept): Convert from macro to inline function.
5568 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5569 (libc_fesetenv, libc_feupdateenv): Likewise.
5570
5571 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5572 not previously defined.
5573 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5574 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5575 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5576 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5577 * sysdeps/ieee754/flt-32/math_private.h: New file.
5578 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5579 math_private.h below SET_FLOAT_WORD.
5580 (__isnan, __isinf_ns, __finite): Remove.
5581 (__isnanf, __isinf_nsf, __finitef): Remove.
5582
5583 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5584
5585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5586
5587 2012-03-17 David S. Miller <davem@davemloft.net>
5588
5589 [BZ #6471]
5590 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5591 for 2.16.
5592
5593 2012-03-16 David S. Miller <davem@davemloft.net>
5594
5595 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5596 warnings.
5597
5598 [BZ #6471]
5599 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5600 properly.
5601 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5602 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5603 sysdep_routines when subdir is sysvipc.
5604 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5605 __getshmlba helper.
5606
5607 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5608
5609 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5610
5611 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5612 [__LP64__].
5613
5614 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5615
5616 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5617 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5618 (__lround): Renamed to ...
5619 (__llround): This. Replace long int with long long int.
5620 Define lround functions as aliases of llround functions.
5621 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5622
5623 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5624
5625 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5626 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5627 adresses to uintptr_t. Replace "long int" and "unsigned long
5628 int" with "greg_t" on va_arg.
5629
5630 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5631
5632 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5633 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5634
5635 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5636 Move e_machine check before EI_CLASS check. Handle x32
5637 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5638 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5639 SKIP_EM_IA_64 and include
5640 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5641
5642 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5643 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5644 (add_system_dir): New macro.
5645
5646 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5647 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5648
5649 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5650
5651 [BZ #2551]
5652 [BZ #2552]
5653 [BZ #2553]
5654 [BZ #2554]
5655 [BZ #2562]
5656 [BZ #2563]
5657 [BZ #2565]
5658 [BZ #2566]
5659 [BZ #2576]
5660 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5661 (y0): Likewise.
5662 * math/w_j0f.c (j0f): Likewise.
5663 (y0f): Likewise.
5664 * math/w_j0l.c (__j0l): Likewise.
5665 (__y0l): Likewise.
5666 * math/w_j1.c (j1): Likewise.
5667 (y1): Likewise.
5668 * math/w_j1f.c (j1f): Likewise.
5669 (y1f): Likewise.
5670 * math/w_j1l.c (__j1l): Likewise.
5671 (__y1l): Likewise.
5672 * math/w_jn.c (jn): Likewise.
5673 (yn): Likewise.
5674 * math/w_jnf.c (jnf): Likewise.
5675 (ynf): Likewise.
5676 * math/w_jnl.c (__jnl): Likewise.
5677 (__ynl): Likewise.
5678 * math/libm-test.inc (j0_test): Add more tests.
5679 (j1_test): Likewise.
5680 (jn_test): Likewise. Add trailing semicolon to existing test.
5681 (y0_test): Likewise.
5682 (y1_test): Likewise.
5683 * sysdeps/i386/fpu/libm-test-ulps: Update.
5684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5685
5686 [BZ #13851]
5687 [BZ #13854]
5688 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5689 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5690 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5691 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5692 (__tanl): Set errno for infinite argument.
5693 * sysdeps/i386/fpu/mptan.c: Remove.
5694 * sysdeps/i386/fpu/s_tan.S: Likewise.
5695 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5696 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5697 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5698 * math/libm-test.inc (tan_test): Add more tests and enable more
5699 tests for double and long double.
5700 * sysdeps/i386/fpu/libm-test-ulps: Update.
5701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5702
5703 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5704
5705 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5706 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5707
5708 2012-03-16 Roland McGrath <roland@hack.frob.com>
5709
5710 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5711 * configure.in: Use it for both main tree and add-ons.
5712 * configure: Regenerated.
5713
5714 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5715
5716 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5717
5718 2012-03-16 Joseph Myers <joseph@codesourcery.com>
5719
5720 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5721 in comment.
5722
5723 [BZ #13851]
5724 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5725 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5726 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5727 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5728 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5729 infinite argument.
5730 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5731 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5732 != 0 for prec == 2.
5733 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5734 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5735 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5736 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5737 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5738 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5739 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5740 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5741 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5742 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5743 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5744 * math/libm-test.inc (cos_test): Add more tests and enable more
5745 tests for long double.
5746 (sin_test): Likewise.
5747 (sincos_test): Likewise.
5748 * sysdeps/i386/fpu/libm-test-ulps: Update.
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750
5751 2012-03-16 David S. Miller <davem@davemloft.net>
5752
5753 * sysdeps/sparc/fpu/math_private.h: New file.
5754
5755 2012-03-15 David S. Miller <davem@davemloft.net>
5756
5757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5758 file.
5759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
5760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5761 file.
5762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5763 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5768 sysdep routines.
5769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5770
5771 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5772 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5773
5774 * sysdeps/sparc/sparc-ifunc.h: New file.
5775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5776 sparc-ifunc.h
5777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5779 Likewise.
5780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5781 Likewise.
5782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5786 Likewise.
5787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
5791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5792 Likewise.
5793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5794 Likewise.
5795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5799 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5801 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5802 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5804 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5805 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5806 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5807 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5809 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5810 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5811 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5812 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5813 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5814 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5815 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5816 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5819
5820 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5821
5822 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5823 scaling.
5824 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5825
5826 2012-03-15 Andreas Jaeger <aj@suse.de>
5827
5828 [BZ #13852]
5829 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5830 ieee754/flt-32 implementation for sin, cos and sincos.
5831 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5832 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5833 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5834 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5835 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5836 ieee754/flt-32 implementation for tan.
5837
5838 * math/libm-test.inc (cos_test): Enable some large input tests for
5839 float as well
5840 (sin_test): Likewise.
5841 (sincos_test): Likewise.
5842 (tan_test): Add tests for large input.
5843
5844 * sysdeps/i386/fpu/libm-test-ulps: Update.
5845
5846 2012-03-15 Andreas Jaeger <aj@suse.de>
5847
5848 [BZ #13658]
5849 * math/libm-test.inc (cos_test): Add more test cases.
5850 (sin_test): Likewise.
5851 (sincos_test): Likewise.
5852
5853 2012-03-15 Andreas Jaeger <aj@suse.de>
5854
5855 [BZ #13837]
5856 * math/libm-test.inc (cos_test): Add a test case for large input
5857 value.
5858 (sin_test): Likewise.
5859 (sincos_test): Likewise.
5860
5861 2012-03-15 Andreas Jaeger <aj@suse.de>,
5862 Joseph Myers <joseph@codesourcery.com>
5863
5864 [BZ #13658]
5865 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
5866 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5867 * sysdeps/i386/fpu/branred.c: Likewise.
5868 * sysdeps/i386/fpu/dosincos.c: Likewise.
5869 * sysdeps/i386/fpu/mpa.c: Likewise.
5870 * sysdeps/i386/fpu/s_cos.S: Likewise.
5871 * sysdeps/i386/fpu/s_sin.S: Likewise.
5872 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5873 * sysdeps/i386/fpu/sincos32.c: Likewise.
5874
5875 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5876 Define.
5877 (libc_feupdateenv_53bit): Define.
5878 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5879 Define.
5880 (libc_feupdateenv_53bit): Define.
5881
5882 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5883 53 bit (without extend i386 double precision).
5884
5885 * math/libm-test.inc (sincos_test): Add tests for large input.
5886 (sin): Likewise.
5887 (cos): Likewise.
5888
5889 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5890
5891 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5892
5893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5894
5895 2012-03-15 David S. Miller <davem@davemloft.net>
5896
5897 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5898 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5899 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5900 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5908 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5909 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5910 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5913 file.
5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5916 file.
5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5919 file.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5922 file.
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5924 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5925 fmin/fmax sysdep routines.
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5927
5928 2012-03-14 David S. Miller <davem@davemloft.net>
5929
5930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5934 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5935 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5936 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5937 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5940 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5944 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5945 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5946 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5947 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5948 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5950 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5951 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5952 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5954 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5957 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
5958 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5959 routines.
5960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5961 file.
5962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
5963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5964 file.
5965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
5966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5967 file.
5968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
5969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5970 file.
5971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
5972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5973 file.
5974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
5975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5976 file.
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5978 file.
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5980 file.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5982 file.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5984 New file.
5985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5986 file.
5987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5988 file.
5989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
5990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5991 file.
5992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
5993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5994 file.
5995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
5996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5997 file.
5998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
5999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
6000 VIS3 routines.
6001
6002 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
6003 New file.
6004
6005 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6006
6007 * sysdeps/sparc/configure.in: New file.
6008 * sysdeps/sparc/configure: Generate.
6009 * configure.in (libc_cv_sparc_as_vis3): Substitute.
6010 * configure: Regenerate.
6011 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
6012 * config.make.in (have-as-vis3): New.
6013 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
6014 available use -Av9d instead of -Av9a.
6015 * sysdeps/sparc/sparc64/Makefile: Likewise.
6016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
6017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
6018 New file.
6019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
6020 file.
6021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
6022 New file.
6023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
6024 file.
6025 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
6026 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
6027 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
6028 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
6029 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
6030
6031 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
6032 fzeros/fnegs to load 0x80000000 into a float register instead of
6033 using the stack.
6034 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
6035
6036 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6037
6038 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6039 bits/syscall.h.
6040 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6041 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6042 ($(inst_includedir)/bits/syscall.h): Remove rule.
6043 ($(objpfx)bits/syscall.d): Include instead of
6044 $(objpfx)syscall-list.d.
6045 (generated): Change syscall-list.h and syscall-list.d to
6046 bits/syscall.h and bits/syscall.d.
6047
6048 2012-03-14 Roland McGrath <roland@hack.frob.com>
6049
6050 [BZ #13846]
6051 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6052
6053 2012-03-14 Joseph Myers <joseph@codesourcery.com>
6054
6055 [BZ #13841]
6056 * math/s_csqrt.c: Include <float.h>.
6057 (__csqrt): Scale large or subnormal inputs.
6058 * math/s_csqrtf.c: Likewise.
6059 * math/s_csqrtl.c: Likewise.
6060 * math/libm-test.inc (csqrt_test): Add more tests.
6061 * sysdeps/i386/fpu/libm-test-ulps: Update.
6062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6063
6064 [BZ #13840]
6065 * math/libm-test.inc (hypot_test): Add more tests.
6066
6067 2012-03-13 David S. Miller <davem@davemloft.net>
6068
6069 [BZ #13840]
6070 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6071 double-precision for the calculation instead of scaling.
6072
6073 2012-03-13 Joseph Myers <joseph@codesourcery.com>
6074
6075 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6076 manipulate bits before adding and subtracting TWO52[sx].
6077 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6078 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6079 Likewise.
6080 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6081
6082 2012-03-13 David S. Miller <davem@davemloft.net>
6083
6084 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6085 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6087 rtld-global-offsets.h
6088 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6089
6090 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6091 large parameters.
6092
6093 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6094
6095 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6096 'err' in the ifdef scope in which it is actually used.
6097
6098 * nss/nss_db/db-init.c: Include string.h
6099
6100 2012-03-12 David S. Miller <davem@davemloft.net>
6101
6102 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6103 masking out of the most significant byte of random value used.
6104 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6105 Fix coding style in previous change.
6106
6107 * sysdeps/unix/sysv/linux/kernel-features.h
6108 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6109 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6110 expression.
6111 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6112 later.
6113
6114 2012-03-11 David S. Miller <davem@davemloft.net>
6115
6116 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6117 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6118 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6119 for 'resultvar' otherwise things get truncated on 64-bit.
6120
6121 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6122 Fix masking out of the most significant byte of random value used.
6123
6124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6125
6126 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6127
6128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6129
6130 2012-03-09 David S. Miller <davem@davemloft.net>
6131
6132 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6133 variables with appropriate CPP guards.
6134 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6135 frame pointer, not the stack pointer. Correct layout comments. Fix test
6136 on resulting framesize and the management of the outregs buffer for pltexit.
6137 Preserve floating point return values across _dl_call_pltexit call.
6138 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6139 framesize and the management of the outregs buffer for pltexit.
6140 Preserve floating point return values across _dl_call_pltexit
6141 call.
6142 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6143 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6144 (print_exit): Fix format string for return register value.
6145
6146 2012-03-10 Joseph Myers <joseph@codesourcery.com>
6147
6148 * sunrpc/Makefile (others): Add rpcgen.
6149 ($(objpfx)rpcgen): Remove special build rule and dependency on
6150 libc.
6151 * sunrpc/rpcgen.c: New file.
6152
6153 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6154
6155 [BZ #13673]
6156 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6157 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6158 * sysdeps/i386/crti.S: Likewise.
6159 * sysdeps/i386/crtn.S: Likewise.
6160 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6161 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6162 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6163 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6164 * sysdeps/sh/crti.S: Likewise.
6165 * sysdeps/sh/crtn.S: Likewise.
6166 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6167
6168 [BZ #13673]
6169 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6170 with URL.
6171 * locale/programs/locfile-kw.gperf: Likewise.
6172 * locale/programs/charmap-kw.h: Regenerated.
6173 * locale/programs/locfile-kw.h: Likewise.
6174
6175 [BZ #13673]
6176 * intl/plural.y: Replace FSF snail mail address with URL.
6177 * intl/plural.c: Regenerated.
6178
6179 2012-03-09 Richard Henderson <rth@twiddle.net>
6180
6181 * include/math_private.h: Remove file.
6182 * math/math_private.h: Move file ...
6183 * sysdeps/generic/math_private.h: ... here.
6184
6185 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6186 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6187 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6188
6189 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
6190 and <math_private.h>.
6191 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6192 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6193 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6194 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6195 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6239 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6240 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6241 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6242 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6243 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6244 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6245 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6246 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6247 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6248 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6249 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6250 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6252 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6254 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6255 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6256 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6257 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6258 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6259 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6260 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6262 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6266 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6267 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6268 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6269 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6274 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6275 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6276 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6278 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6279 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6280 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6283 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6284 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6286 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6288 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6289 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6290 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6291 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6292 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6293 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6294 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6296 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6298 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6300 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6301 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6302 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6303 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6304 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6305 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6306 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6307 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6308 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6309 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6310 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6311 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6312 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6313 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6314 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6315 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6316 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6317 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6318 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6319 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6320 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6321 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6322 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6323 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6324 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6325 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6326 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6327 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6328 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6329 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6330 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6331 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6332 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6333 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6334 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6335 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6336 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6337 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6338 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6339 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6340 * sysdeps/ieee754/k_standard.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6414 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6418 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6423 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6428 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6432 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6433 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6434 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6444 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6445 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6446 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6449 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6450 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6451 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6461 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6462 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6463 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6464 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6465 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6466 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6467 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6468 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6469 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6470 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6474 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6478 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6480 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6481 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6483 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6484 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6485 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6489 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6490 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6491 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6497 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6499 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6500 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6501 * sysdeps/ieee754/s_lib_version.c: Likewise.
6502 * sysdeps/ieee754/s_matherr.c: Likewise.
6503 * sysdeps/ieee754/s_signgam.c: Likewise.
6504 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6506 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6507 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6508 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6509 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6510 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6511 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6512 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6513 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6514 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6515 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6516 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6517 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6518 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6520 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6521 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6522 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6525
6526 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6527
6528 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6529 * sunrpc/rpc_main.c: Likewise.
6530 * sunrpc/rpc_svcout.c: Likewise.
6531
6532 2012-03-09 David S. Miller <davem@davemloft.net>
6533
6534 * include/math_private.h: New file.
6535
6536 2012-03-09 Joseph Myers <joseph@codesourcery.com>
6537
6538 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6539 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6540 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6541 from <bits/socket_type.h>.
6542 (enum __socket_type): Don't define here.
6543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6544 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6545 bits/socket_type.h.
6546
6547 [BZ #13566]
6548 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6549 checking __USE_GNU.
6550
6551 * Makerules ($(inst_includedir)/%.h): New rule.
6552 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6553 (install-others): Remove variable setting.
6554 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6555
6556 2012-03-08 Richard Henderson <rth@twiddle.net>
6557
6558 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6559 from macro to inline function; merge with the
6560 !__LIBC_INTERNAL_MATH_INLINES version.
6561 (__ieee754_sqrtf): Likewise.
6562
6563 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6564 to inline function.
6565 (__rintf, __floor, __floorf): Likewise.
6566
6567 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6568 macro to inline function.
6569 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6570
6571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6572 not <math/math_private.h>.
6573
6574 2012-03-08 David S. Miller <davem@davemloft.net>
6575
6576 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6577 copyright year.
6578 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6579
6580 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6581
6582 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6583 normalization.
6584 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6585 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6586
6587 2012-03-08 Ulrich Drepper <drepper@gmail.com>
6588
6589 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6590 be defined individually, they must be defined as a block. Define
6591 S for printing a string instead of hidint the different by using a
6592 macro for adding the 'l'.
6593 * stdio-common/tst-fphex-wide.c: Adjust.
6594
6595 2012-03-07 Marek Polacek <polacek@redhat.com>
6596
6597 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6598
6599 2012-03-08 Marek Polacek <polacek@redhat.com>
6600
6601 [BZ #13806]
6602 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6603 * stdio-common/tst-fphex.c: Define a few macros to make the
6604 test reusable. Use them.
6605 * stdio-common/tst-fphex-wide.c: New file.
6606
6607 2012-03-08 Joseph Myers <joseph@codesourcery.com>
6608
6609 [BZ #6911]
6610 * manual/macros.texi (gnusystems): New macro.
6611 (nongnusystems): Likewise.
6612 (gnulinuxhurdsystems): Likewise.
6613 (gnuhurdsystems): Likewise..
6614 (gnulinuxsystems): Likewise.
6615 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6616 variants of the GNU system, not "GNU system".
6617 * manual/conf.texi: Likewise.
6618 * manual/errno.texi: Likewise. Update example of errno macro
6619 expansion.
6620 * manual/filesys.texi: Likewise.
6621 (getumask): Document as specific to GNU/Hurd.
6622 * manual/install.texi: Likewise. Reword some references to
6623 GNU/Linux.
6624 * manual/intro.texi: Likewise.
6625 * manual/io.texi: Likewise.
6626 (File Name Portability): Detail which constraints are inapplicable
6627 to all GNU systems and which are only inapplicable to GNU/Hurd.
6628 * manual/job.texi: Likewise.
6629 * manual/llio.texi: Likewise.
6630 (O_NOCTTY): Document as present on GNU/Linux.
6631 * manual/maint.texi: Likewise.
6632 * manual/memory.texi: Likewise.
6633 * manual/pattern.texi: Likewise.
6634 * manual/pipe.texi: Likewise.
6635 * manual/process.texi: Likewise.
6636 * manual/resource.texi: Likewise.
6637 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6638 child on GNU/Hurd.
6639 * manual/setjmp.texi: Likewise.
6640 * manual/signal.texi: Likewise.
6641 * manual/startup.texi: Likewise.
6642 * manual/stdio.texi: Likewise.
6643 * manual/terminal.texi: Likewise.
6644 (ONLCR): Document as POSIX.
6645 (OXTABS): Document availability on GNU/Linux as XTABS.
6646 (ONOEOT): Document availability separately from other bits.
6647 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6648 * manual/time.texi: Likewise.
6649 * manual/users.texi: Likewise.
6650 * INSTALL: Regenerated.
6651 * sysdeps/gnu/errlist.c: Regenerated.
6652
6653 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6654 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6655 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6656 puts.
6657 * configure: Regenerated.
6658
6659 2012-03-07 Joseph Myers <joseph@codesourcery.com>
6660
6661 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6662 default includes instead of AC_HEADER_CHECK.
6663 * sysdeps/i386/configure: Regenerated.
6664
6665 [BZ #10716]
6666 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6667 * math/s_cacoshf.c (__cacoshf): Likewise.
6668 * math/s_cacoshl.c (__cacoshl): Likewise.
6669 * math/s_casinh.c (__casinh): Set signs of result from argument.
6670 * math/s_casinhf.c (__casinhf): Likewise.
6671 * math/s_casinhl.c (__casinhl): Likewise.
6672 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6673 (casinh_test): Add more tests.
6674 * sysdeps/i386/fpu/libm-test-ulps: Update.
6675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6676
6677 2012-03-07 Ulrich Drepper <drepper@gmail.com>
6678
6679 * po/zh_TW.po: Update from translation team.
6680
6681 * login/Makefile (distribute): Remove variable.
6682 * catgets/Makefile: Likewise.
6683 * mach/Makefile: Likewise.
6684 * malloc/Makefile: Likewise.
6685 * misc/Makefile: Likewise.
6686 * iconv/Makefile: Likewise.
6687 * nscd/Makefile: Likewise.
6688 * hurd/Makefile: Likewise.
6689 * manual/Makefile: Likewise.
6690 * locale/Makefile: Likewise.
6691 * intl/Makefile: Likewise.
6692 * conform/Makefile: Likewise.
6693 * nss/Makefile: Likewise.
6694 * time/Makefile: Likewise.
6695 * soft-fp/Makefile: Likewise.
6696 * dirent/Makefile: Likewise.
6697 * gmon/Makefile: Likewise.
6698 * po/Makefile: Likewise.
6699 * rt/Makefile: Likewise.
6700 * socket/Makefile: Likewise.
6701 * math/Makefile: Likewise.
6702 * signal/Makefile: Likewise.
6703 * debug/Makefile: Likewise.
6704 * elf/Makefile: Likewise.
6705 * timezone/Makefile: Likewise.
6706 * stdlib/Makefile: Likewise.
6707 * iconvdata/Makefile: Likewise.
6708 * sunrpc/Makefile: Likewise.
6709 * io/Makefile: Likewise.
6710 * argp/Makefile: Likewise.
6711 * inet/Makefile: Likewise.
6712 * hesiod/Makefile: Likewise.
6713 * grp/Makefile: Likewise.
6714 * csu/Makefile: Likewise.
6715 * wctype/Makefile: Likewise.
6716 * crypt/Makefile: Likewise.
6717 * libio/Makefile: Likewise.
6718 * string/Makefile: Likewise.
6719 * nis/Makefile: Likewise.
6720 * resolv/Makefile: Likewise.
6721 * stdio-common/Makefile: Likewise.
6722 * wcsmbs/Makefile: Likewise.
6723 * dlfcn/Makefile: Likewise.
6724 * posix/Makefile: Likewise.
6725
6726 [BZ #6959]
6727 * timezone/Makefile: Don't install timezone files, just the programs
6728 and scripts.
6729
6730 2012-03-06 Ulrich Drepper <drepper@gmail.com>
6731
6732 * nss/databases.def: Add missing gshadow entry.
6733
6734 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6735
6736 2012-03-06 Marek Polacek <polacek@redhat.com>
6737
6738 [BZ #13726]
6739 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6740 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6741 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6742 * stdio-common/tst-long-dbl-fphex.c: New file.
6743
6744 2012-03-06 David S. Miller <davem@davemloft.net>
6745
6746 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6747 (set_obp_int): New function.
6748 (get_obp_int): New function.
6749 (__get_clockfreq_via_dev_openprom): Likewise.
6750 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6751 Avoid unused variable warnings on 'val' and use builtin_expect.
6752 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6753 __builtin_expect.
6754 (INLINE_CLONE_SYSCALL): Likewise.
6755
6756 2012-03-05 David S. Miller <davem@davemloft.net>
6757
6758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6759
6760 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6761
6762 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6763
6764 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6765 only for |x| >= 40.
6766 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6767
6768 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
6769
6770 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6771 Replace gettimeofday with __vdso_gettimeofday.
6772
6773 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6774 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6775 __vdso_clock_gettime and __vdso_getcpu.
6776
6777 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6778 time with __vdso_time.
6779
6780 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6781
6782 * manual/lang.texi (size_t): Note types to which size_t may be
6783 equivalent with the GNU C Library, but do not describe when
6784 differences between them are significant.
6785
6786 2012-03-05 Andreas Jaeger <aj@suse.de>
6787
6788 * sysdeps/i386/fpu/libm-test-ulps: Update.
6789
6790 2012-03-05 Joseph Myers <joseph@codesourcery.com>
6791
6792 [BZ #3976]
6793 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6794 (__ieee754_pow): Save and restore rounding mode and use
6795 round-to-nearest for main computations.
6796 * math/libm-test.inc (pow_test_tonearest): New function.
6797 (pow_test_towardzero): Likewise.
6798 (pow_test_downward): Likewise.
6799 (pow_test_upward): Likewise.
6800 (main): Call the new functions.
6801 * sysdeps/i386/fpu/libm-test-ulps: Update.
6802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6803
6804 [BZ #3976]
6805 * math/libm-test.inc (cosh_test_tonearest): New function.
6806 (cosh_test_towardzero): Likewise.
6807 (cosh_test_downward): Likewise.
6808 (cosh_test_upward): Likewise.
6809 (sinh_test_tonearest): Likewise.
6810 (sinh_test_towardzero): Likewise.
6811 (sinh_test_downward): Likewise.
6812 (sinh_test_upward): Likewise.
6813 (main): Call the new functions.
6814 * sysdeps/i386/fpu/libm-test-ulps: Update.
6815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6816
6817 2012-03-05 Tom de Vries <tom@codesourcery.com>
6818
6819 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6820 default stack guard is set in last bytes.
6821 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6822
6823 2012-03-05 Kees Cook <keescook@chromium.org>
6824
6825 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
6826
6827 [BZ #13656]
6828 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6829 possibly allocate from heap instead of stack.
6830 * stdio-common/bug-vfprintf-nargs.c: New file.
6831 * stdio-common/Makefile (tests): Add nargs overflow test.
6832
6833 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6834
6835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6836
6837 2012-03-03 Marek Polacek <polacek@redhat.com>
6838
6839 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6840 * math/math_private.h: Likewise.
6841 * stdlib/tst-strtod.c: Likewise.
6842 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6843 * sysdeps/x86_64/bits/atomic.h: Likewise.
6844
6845 2012-03-02 David S. Miller <davem@davemloft.net>
6846
6847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6851 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6852 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6853 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6854 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6855
6856 2012-03-02 Roland McGrath <roland@hack.frob.com>
6857
6858 [BZ #13792]
6859 * manual/examples/README: New file, says the example source files
6860 can be used under GPL>=2.
6861 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6862 line containing just "*/".
6863 * manual/examples/add.c: Add copyright header (GPL>=2).
6864 * manual/examples/argp-ex1.c: Likewise.
6865 * manual/examples/argp-ex2.c: Likewise.
6866 * manual/examples/argp-ex3.c: Likewise.
6867 * manual/examples/argp-ex4.c: Likewise.
6868 * manual/examples/atexit.c: Likewise.
6869 * manual/examples/db.c: Likewise.
6870 * manual/examples/dir.c: Likewise.
6871 * manual/examples/dir2.c: Likewise.
6872 * manual/examples/execinfo.c: Likewise.
6873 * manual/examples/filecli.c: Likewise.
6874 * manual/examples/filesrv.c: Likewise.
6875 * manual/examples/fmtmsgexpl.c: Likewise.
6876 * manual/examples/genpass.c: Likewise.
6877 * manual/examples/inetcli.c: Likewise.
6878 * manual/examples/inetsrv.c: Likewise.
6879 * manual/examples/isockad.c: Likewise.
6880 * manual/examples/longopt.c: Likewise.
6881 * manual/examples/memopen.c: Likewise.
6882 * manual/examples/memstrm.c: Likewise.
6883 * manual/examples/mkfsock.c: Likewise.
6884 * manual/examples/mkisock.c: Likewise.
6885 * manual/examples/mygetpass.c: Likewise.
6886 * manual/examples/pipe.c: Likewise.
6887 * manual/examples/popen.c: Likewise.
6888 * manual/examples/rprintf.c: Likewise.
6889 * manual/examples/search.c: Likewise.
6890 * manual/examples/select.c: Likewise.
6891 * manual/examples/setjmp.c: Likewise.
6892 * manual/examples/sigh1.c: Likewise.
6893 * manual/examples/sigusr.c: Likewise.
6894 * manual/examples/stpcpy.c: Likewise.
6895 * manual/examples/strdupa.c: Likewise.
6896 * manual/examples/strftim.c: Likewise.
6897 * manual/examples/strncat.c: Likewise.
6898 * manual/examples/subopt.c: Likewise.
6899 * manual/examples/swapcontext.c: Likewise.
6900 * manual/examples/termios.c: Likewise.
6901 * manual/examples/testopt.c: Likewise.
6902 * manual/examples/testpass.c: Likewise.
6903 * manual/examples/timeval_subtract.c: Likewise.
6904
6905 [BZ #13792]
6906 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6907 function to ...
6908 * manual/timeval_subtract.c.texi: ... here, new file.
6909
6910 2012-03-02 David S. Miller <davem@davemloft.net>
6911
6912 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6913
6914 2012-03-02 Joseph Myers <joseph@codesourcery.com>
6915
6916 [BZ #3976]
6917 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6918 (__sin): Save and restore rounding mode and use round-to-nearest
6919 for all computations.
6920 (__cos): Save and restore rounding mode and use round-to-nearest
6921 for all computations.
6922 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6923 <fenv.h>.
6924 (tan): Save and restore rounding mode and use round-to-nearest for
6925 all computations.
6926 * math/libm-test.inc (cos_test_tonearest): New function.
6927 (cos_test_towardzero): Likewise.
6928 (cos_test_downward): Likewise.
6929 (cos_test_upward): Likewise.
6930 (sin_test_tonearest): Likewise.
6931 (sin_test_towardzero): Likewise.
6932 (sin_test_downward): Likewise.
6933 (sin_test_upward): Likewise.
6934 (tan_test_tonearest): Likewise.
6935 (tan_test_towardzero): Likewise.
6936 (tan_test_downward): Likewise.
6937 (tan_test_upward): Likewise.
6938 (main): Call the new functions.
6939 * sysdeps/i386/fpu/libm-test-ulps: Update.
6940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6941
6942 [BZ #10135]
6943 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6944 small n, then large n, before computing and testing k+n.
6945 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6946 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6947 Likewise.
6948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6949 Likewise.
6950 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6951 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6953 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6954 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6955 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6956 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6958 * math/libm-test.inc (scalbn_test): Add more tests.
6959 (scalbln_test): Likewise.
6960
6961 * manual/filesys.texi (mode_t): Describe constraints on size and
6962 signedness, not exact equivalence to a particular type.
6963 (ino_t): Likewise.
6964 (ino64_t): Likewise.
6965 (dev_t): Likewise.
6966 (nlink_t): Likewise.
6967 (blkcnt_t): Likewise.
6968 (blkcnt64_t): Likewise.
6969 * manual/llio.texi (off_t): Likewise.
6970
6971 [BZ #3976]
6972 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6973 (__ieee754_exp): Save and restore rounding mode and use
6974 round-to-nearest for all computations.
6975 * math/libm-test.inc (exp_test_tonearest): New function.
6976 (exp_test_towardzero): Likewise.
6977 (exp_test_downward): Likewise.
6978 (exp_test_upward): Likewise.
6979 (main): Call the new functions.
6980 * sysdeps/i386/fpu/libm-test-ulps: Update.
6981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6982
6983 2012-03-01 Chris Demetriou <cgd@google.com>
6984
6985 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6986 have predictable order.
6987
6988 2012-03-01 David S. Miller <davem@davemloft.net>
6989
6990 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6991
6992 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6993 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6994 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6995 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6996
6997 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6998 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6999 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
7000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
7001 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
7002 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
7003 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
7004 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
7005 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
7006
7007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7008
7009 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
7010 * sysdeps/sparc/fpu/libm-test-ulps: to here.
7011 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
7012
7013 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
7014 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7015 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7016 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
7017 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
7018 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
7020 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7021 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7022 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
7023 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
7024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7025 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7026 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7027 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7029 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
7030 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
7031 * sysdeps/sparc/elf/configure: Regenerated.
7032
7033 2012-03-01 Joseph Myers <joseph@codesourcery.com>
7034
7035 * configure.in (AS, LD): Require binutils 2.20 or later.
7036 * configure: Regenerated.
7037 * manual/install.texi (Tools for Compilation): Give binutils 2.20
7038 as required minimum version.
7039 * INSTALL: Regenerated.
7040
7041 [BZ #2541]
7042 [BZ #4108]
7043 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7044 before squaring exponent.
7045 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7046 bottom long double and 27 bits of top long double before squaring
7047 exponent.
7048 * math/libm-test.inc (erfc_test): Add more tests.
7049 * sysdeps/i386/fpu/libm-test-ulps: Update.
7050 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7052
7053 2012-03-01 Kai Tietz <ktietz@redhat.com>
7054
7055 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7056 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7057 containing bit-fields.
7058 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7059 * soft-fp/single.h (_FP_UNION_S): Likewise.
7060 * soft-fp/double.h (_FP_UNION_D): Likewise.
7061
7062 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7063
7064 [BZ #13786]
7065 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7066 not include ../strcmp.S.
7067 [USE_AS_STRNCASECMP_L]: Likewise.
7068 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7069 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7070 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7071 (__strncasecmp_l_ia32): Define as alias to
7072 __strncasecmp_l_nonascii.
7073
7074 [BZ #5794]
7075 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7076 * sysdeps/i386/fpu/libm-test-ulps: Update.
7077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7078
7079 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7081
7082 2012-02-29 Jeff Law <law@redhat.com>
7083
7084 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7085 out of bounds read.
7086
7087 2012-02-29 Marek Polacek <polacek@redhat.com>
7088
7089 [BZ #13706]
7090 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7091 * elf/Makefile: Add rules to run tst-unused-dep.out.
7092
7093 2012-02-28 David S. Miller <davem@davemloft.net>
7094
7095 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7096 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7097 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7098 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7099 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7100 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7101
7102 2012-02-29 Joseph Myers <joseph@codesourcery.com>
7103
7104 * math/libm-test.inc (llround_test): Move one test from
7105 lround_test. Use TEST_f_L in moved test.
7106 (lround_test): Move misplaced test to llround_test. Add testcase
7107 from bug 2561.
7108
7109 2012-02-28 Ulrich Drepper <drepper@gmail.com>
7110
7111 * sysdeps/x86_64/fpu/e_expf.S: New file.
7112 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7113
7114 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7115
7116 [BZ #13637]
7117 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7118 of remain_len that may cause incomplete multi-byte character and
7119 false match.
7120 * posix/bug-regex33.c: New file.
7121 * posix/Makefile (tests): Add bug-regex33.
7122
7123 2012-02-28 Joseph Myers <joseph@codesourcery.com>
7124
7125 * manual/macros.texi: New file.
7126 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7127 * manual/libc.texinfo: Include macros.texi.
7128 * manual/creatute.texi: Likewise.
7129 * manual/install.texi: Likewise.
7130 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7131 @glibcadj{} in references to the GNU C Library.
7132 * manual/charset.texi: Likewise.
7133 * manual/conf.texi: Likewise.
7134 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7135 when not using those macros.
7136 * manual/creature.texi: Likewise.
7137 * manual/crypt.texi: Likewise.
7138 * manual/errno.texi: Likewise.
7139 * manual/filesys.texi: Likewise.
7140 * manual/header.texi: Likewise.
7141 * manual/install.texi: Likewise.
7142 * manual/intro.texi: Likewise.
7143 * manual/io.texi: Likewise.
7144 * manual/job.texi: Likewise.
7145 * manual/lang.texi: Likewise.
7146 * manual/libc.texiinfo: Likewise.
7147 * manual/llio.texi: Likewise.
7148 * manual/locale.texi: Likewise.
7149 * manual/maint.texi: Likewise.
7150 * manual/math.texi: Likewise.
7151 * manual/memory.texi: Likewise.
7152 * manual/message.texi: Likewise.
7153 * manual/nss.texi: Likewise.
7154 * manual/pattern.texi: Likewise.
7155 * manual/process.texi: Likewise.
7156 * manual/resource.texi: Likewise.
7157 * manual/search.texi: Likewise.
7158 * manual/setjmp.texi: Likewise.
7159 * manual/signal.texi: Likewise.
7160 * manual/socket.texi: Likewise.
7161 * manual/startup.texi: Likewise.
7162 * manual/stdio.texi: Likewise.
7163 * manual/string.texi: Likewise.
7164 * manual/sysinfo.texi: Likewise.
7165 * manual/syslog.texi: Likewise.
7166 * manual/terminal.texi: Likewise.
7167 * manual/time.texi: Likewise.
7168 * manual/users.texi: Likewise.
7169 * INSTALL: Regenerated.
7170 * NOTES: Regenerated.
7171 * sysdeps/gnu/errlist.c: Regenerated.
7172
7173 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7174
7175 * include/dirent.h: Include <dirstream.h> before
7176 <dirent/dirent.h>.
7177
7178 2012-02-28 David S. Miller <davem@davemloft.net>
7179
7180 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7181 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7182 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7183 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7184
7185 2012-02-27 David S. Miller <davem@davemloft.net>
7186
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7189 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7190 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7191
7192 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7193 frame pointer instead of stack pointer relative arg slot.
7194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7195 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7196 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7197
7198 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7199
7200 [BZ #3992]
7201 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7202
7203 2012-02-27 David S. Miller <davem@davemloft.net>
7204
7205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7209 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7210 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7211 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7212 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7213
7214 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7215
7216 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7217 later. Allow versions 5-9.
7218 * configure: Regenerated.
7219 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7220 required minimum version and 4.6 as recommended version. Do not
7221 mention bugs in GCC 2.7 and 2.8.
7222 * INSTALL: Regenerated.
7223
7224 2012-02-27 David S. Miller <davem@davemloft.net>
7225
7226 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7230 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7231 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7232 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7233 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7234
7235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7236 manipulate bits before adding and subtracting TWO112[sx].
7237 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7238
7239 2012-02-27 Roland McGrath <roland@hack.frob.com>
7240
7241 [BZ #13775]
7242 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7243 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7244 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7245 being in POSIX, because they are in 1003.1-2008.
7246
7247 * rt/tst-aio.c: Include <fcntl.h>.
7248 * rt/tst-aio7.c: Likewise.
7249 * rt/tst-aio64.c: Likewise.
7250
7251 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7252
7253 2012-02-27 Joseph Myers <joseph@codesourcery.com>
7254
7255 * manual/install.texi (--with-headers): Describe headers as
7256 interface headers, not private headers.
7257 (Specific advice for GNU/Linux systems): Describe use of headers
7258 from "make headers_install", not private headers from older
7259 kernels.
7260 * INSTALL: Regenerated.
7261 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7262 Change to 2.6.19.
7263 * sysdeps/unix/sysv/linux/configure: Regenerated.
7264
7265 * manual/llio.texi (fclean): Remove documentation.
7266
7267 * manual/Makefile (libc-texi-generated): New variable. Include
7268 version.texi.
7269 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7270 $(libc-texi-generated), not duplicated list of files.
7271 (version.texi, stamp-version): New rules.
7272 (realclean): Remove $(libc-texi-generated), not individual files
7273 from that list. Do not remove dir-add.texinfo.
7274 * manual/libc.texinfo: Comment out uses of edition numbers and
7275 references to printed manual. Remove last-updated dates.
7276 (EDITION): Comment out.
7277 (ISBN): Likewise.
7278 (VERSION, UPDATED): Remove.
7279 (version.texi): Include.
7280
7281 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7282
7283 * sysdeps/posix/spawni.c: Include <signal.h>.
7284 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7285 * sysdeps/pthread/aio_fsync.c: Likewise.
7286
7287 2012-02-26 Ulrich Drepper <drepper@gmail.com>
7288
7289 * conform/Makefile (tests): Run only when not cross-compiling and
7290 when fast-check is not defined.
7291
7292 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7293 * conform/data/limits.h-data: Fixes for POSIX2008.
7294 * conform/run-conformtest.sh: Run all tests.
7295 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7296 headers.
7297 * include/bits/dlfcn.h: Likewise.
7298 * include/langinfo.h: Likewise.
7299 * include/monetary.h: Likewise.
7300 * include/sys/poll.h: Likewise.
7301
7302 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7303 for __USE_GNU.
7304 * posix/spawn.h: Define __need_sigset_t.
7305 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7306 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7307 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7308 to get sigevent_t only.
7309 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7310 only for __USE_GNU.
7311 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7312 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7313 process_vm_writev only for __USE_GNU.
7314 * termios/termios.h: Declare tcgetsid also for POSIX2008.
7315
7316 * conform/Makefile: For now ignore errors from run-conformtest.
7317 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7318 POSIX to avoid namespace pollution. Don't prepend headers.
7319 * conform/data/aio.h-data: Fixes for POSIX testing.
7320 * conform/data/fcntl.h-data: Likewise.
7321 * conform/data/glob.h-data: Likewise.
7322 * conform/data/grp.h-data: Likewise.
7323 * conform/data/pthread.h-data: Likewise.
7324 * conform/data/pwd.h-data: Likewise.
7325 * conform/data/signal.h-data: Likewise.
7326 * conform/data/spawn.h-data: Likewise.
7327 * conform/data/stdio.h-data: Likewise.
7328 * conform/data/stdlib.h-data: Likewise.
7329 * conform/data/stropts.h-data: Likewise.
7330 * conform/data/sys/mman.h-data: Likewise.
7331 * conform/data/sys/stat.h-data: Likewise.
7332 * conform/data/sys/types.h-data: Likewise.
7333 * conform/data/sys/wait.h-data: Likewise.
7334 * conform/data/time.h-data: Likewise.
7335 * conform/data/unistd.h-data: Likewise.
7336 * conform/data/utime.h-data: Likewise.
7337
7338 * io/sys/stat.h: fchmod was always in POSIX.
7339 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7340 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7341 * rt/aio.h: Define __need_timespec before including <time.h>.
7342 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7343 struct. Add forward declaration of pthread_attr_t and use it in
7344 sigevent.
7345 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7346 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7347 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7348 always remove CLK_TCK definition.
7349
7350 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7351
7352 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7353
7354 2012-02-25 Ulrich Drepper <drepper@gmail.com>
7355
7356 * conform/run-conformtest.sh: New file.
7357 * conform/Makefile: Run run-conformtest for tests.
7358 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7359 support.
7360
7361 * conform/data/uchar.h-data: New file.
7362 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7363 * conform/data/arpa/inet.h-data: Likewise.
7364 * conform/data/assert.h-data: Likewise.
7365 * conform/data/complex.h-data: Likewise.
7366 * conform/data/cpio.h-data: Likewise.
7367 * conform/data/ctype.h-data: Likewise.
7368 * conform/data/dirent.h-data: Likewise.
7369 * conform/data/dlfcn.h-data: Likewise.
7370 * conform/data/errno.h-data: Likewise.
7371 * conform/data/fcntl.h-data: Likewise.
7372 * conform/data/float.h-data: Likewise.
7373 * conform/data/fmtmsg.h-data: Likewise.
7374 * conform/data/fnmatch.h-data: Likewise.
7375 * conform/data/ftw.h-data: Likewise.
7376 * conform/data/glob.h-data: Likewise.
7377 * conform/data/grp.h-data: Likewise.
7378 * conform/data/iconv.h-data: Likewise.
7379 * conform/data/inttypes.h-data: Likewise.
7380 * conform/data/langinfo.h-data: Likewise.
7381 * conform/data/libgen.h-data: Likewise.
7382 * conform/data/limits.h-data: Likewise.
7383 * conform/data/locale.h-data: Likewise.
7384 * conform/data/math.h-data: Likewise.
7385 * conform/data/monetary.h-data: Likewise.
7386 * conform/data/mqueue.h-data: Likewise.
7387 * conform/data/ndbm.h-data: Likewise.
7388 * conform/data/net/if.h-data: Likewise.
7389 * conform/data/netdb.h-data: Likewise.
7390 * conform/data/netinet/in.h-data: Likewise.
7391 * conform/data/nl_types.h-data: Likewise.
7392 * conform/data/poll.h-data: Likewise.
7393 * conform/data/pthread.h-data: Likewise.
7394 * conform/data/pwd.h-data: Likewise.
7395 * conform/data/regex.h-data: Likewise.
7396 * conform/data/sched.h-data: Likewise.
7397 * conform/data/search.h-data: Likewise.
7398 * conform/data/semaphore.h-data: Likewise.
7399 * conform/data/setjmp.h-data: Likewise.
7400 * conform/data/signal.h-data: Likewise.
7401 * conform/data/spawn.h-data: Likewise.
7402 * conform/data/stdarg.h-data: Likewise.
7403 * conform/data/stdio.h-data: Likewise.
7404 * conform/data/stdlib.h-data: Likewise.
7405 * conform/data/string.h-data: Likewise.
7406 * conform/data/strings.h-data: Likewise.
7407 * conform/data/stropts.h-data: Likewise.
7408 * conform/data/sys/ipc.h-data: Likewise.
7409 * conform/data/sys/mman.h-data: Likewise.
7410 * conform/data/sys/msg.h-data: Likewise.
7411 * conform/data/sys/resource.h-data: Likewise.
7412 * conform/data/sys/select.h-data: Likewise.
7413 * conform/data/sys/sem.h-data: Likewise.
7414 * conform/data/sys/shm.h-data: Likewise.
7415 * conform/data/sys/socket.h-data: Likewise.
7416 * conform/data/sys/stat.h-data: Likewise.
7417 * conform/data/sys/statvfs.h-data: Likewise.
7418 * conform/data/sys/time.h-data: Likewise.
7419 * conform/data/sys/timeb.h-data: Likewise.
7420 * conform/data/sys/times.h-data: Likewise.
7421 * conform/data/sys/types.h-data: Likewise.
7422 * conform/data/sys/uio.h-data: Likewise.
7423 * conform/data/sys/un.h-data: Likewise.
7424 * conform/data/sys/utsname.h-data: Likewise.
7425 * conform/data/sys/wait.h-data: Likewise.
7426 * conform/data/syslog.h-data: Likewise.
7427 * conform/data/tar.h-data: Likewise.
7428 * conform/data/termios.h-data: Likewise.
7429 * conform/data/utime.h-data: Likewise.
7430 * conform/data/utmpx.h-data: Likewise.
7431 * conform/data/varargs.h-data: Likewise.
7432 * conform/data/wchar.h-data: Likewise.
7433 * conform/data/wctype.h-data: Likewise.
7434 * conform/data/wordexp.h-data: Likewise.
7435
7436 * include/stropts.h: New file.
7437 * include/uchar.h: New file.
7438 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7439 * include/assert.h: Likewise.
7440 * include/ctype.h: Likewise.
7441 * include/dirent.h: Likewise.
7442 * include/dlfcn.h: Likewise.
7443 * include/fcntl.h: Likewise.
7444 * include/fnmatch.h: Likewise.
7445 * include/glob.h: Likewise.
7446 * include/grp.h: Likewise.
7447 * include/libio.h: Likewise.
7448 * include/locale.h: Likewise.
7449 * include/math.h: Likewise.
7450 * include/net/if.h: Likewise.
7451 * include/netdb.h: Likewise.
7452 * include/netinet/in.h: Likewise.
7453 * include/pthread.h: Likewise.
7454 * include/pwd.h: Likewise.
7455 * include/regex.h: Likewise.
7456 * include/sched.h: Likewise.
7457 * include/search.h: Likewise.
7458 * include/setjmp.h: Likewise.
7459 * include/signal.h: Likewise.
7460 * include/stdio.h: Likewise.
7461 * include/stdlib.h: Likewise.
7462 * include/string.h: Likewise.
7463 * include/sys/cdefs.h: Likewise.
7464 * include/sys/mman.h: Likewise.
7465 * include/sys/msg.h: Likewise.
7466 * include/sys/resource.h: Likewise.
7467 * include/sys/select.h: Likewise.
7468 * include/sys/socket.h: Likewise.
7469 * include/sys/stat.h: Likewise.
7470 * include/sys/statvfs.h: Likewise.
7471 * include/sys/time.h: Likewise.
7472 * include/sys/times.h: Likewise.
7473 * include/sys/uio.h: Likewise.
7474 * include/sys/utsname.h: Likewise.
7475 * include/sys/wait.h: Likewise.
7476 * include/termios.h: Likewise.
7477 * include/time.h: Likewise.
7478 * include/ulimit.h: Likewise.
7479 * include/unistd.h: Likewise.
7480 * include/utime.h: Likewise.
7481 * include/wchar.h: Likewise.
7482 * include/wctype.h: Likewise.
7483 * include/wordexp.h: Likewise.
7484
7485 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7486
7487 * time/time.h: TIME_UTC must be a macro.
7488 Make timespec_get available for ISO C11 only as well.
7489
7490 2012-02-24 Ulrich Drepper <drepper@gmail.com>
7491
7492 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7493 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7494
7495 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7496
7497 * configure.in: Use -o not -a in test for unsupported multi-arch.
7498
7499 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7500
7501 * manual/texinfo.tex: Update to version 2012-01-19.16.
7502
7503 2012-02-24 Joseph Myers <joseph@codesourcery.com>
7504
7505 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7506
7507 2012-02-24 Roland McGrath <roland@hack.frob.com>
7508
7509 [BZ #13738]
7510 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7511 * manual/fdl-1.3.texi: New file.
7512 * manual/fdl-1.1.texi: File removed.
7513
7514 [BZ #13738]
7515 * manual/libc.texinfo (FDL_VERSION): New @set.
7516 Use it for mention of FDL in cover text.
7517 (Documentation License): Use it in @include file name.
7518
7519 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7520 Roland McGrath <roland@hack.frob.com>
7521
7522 [BZ #5461]
7523 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7524 not LONG_LONG_MAX and LONG_LONG_MIN.
7525 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7526 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7527 name.
7528 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7529
7530 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7531
7532 [BZ #2547]
7533 [BZ #11365]
7534 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7535 manipulate bits before adding and subtracting TWO23[sx].
7536 * math/libm-test.inc (nearbyint_test): Add more tests.
7537
7538 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7539
7540 [BZ #2548]
7541 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7542 bits before adding and subtracting TWO23[sx].
7543 * math/libm-test.inc (rint_test): Add more tests.
7544 (rint_test_tonearest): Likewise.
7545 (rint_test_towardzero): Likewise.
7546 (rint_test_downward): Likewise.
7547 (rint_test_upward: Likewise.
7548
7549 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #10110]
7552 * include/stdc-predef.h: New file. Extracted from features.h.
7553 * include/features.h: Include stdc-predef.h.
7554 * Makefile (headers): Add stdc-predef.h.
7555 * CONFORMANCE (Compiler limitations): Update.
7556
7557 2012-02-22 Joseph Myers <joseph@codesourcery.com>
7558
7559 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7560
7561 2012-02-21 David S. Miller <davem@davemloft.net>
7562
7563 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7564 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7565
7566 2012-02-20 David S. Miller <davem@davemloft.net>
7567
7568 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7569 using a normal save/restore sequence, rather than allocating a
7570 dummy stack frame just to store a frame pointer and restore.
7571 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7572
7573 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7574
7575 * manual/install.texi: Fix stray word in line-wrapped comment.
7576
7577 2012-02-20 David S. Miller <davem@davemloft.net>
7578
7579 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7580 both binutils and gcc support GOTDATA.
7581
7582 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7583 "rd %pc" in the PIC register setup sequences.
7584
7585 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7586 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7587 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7588 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7589 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7590 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7592 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7593 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7594 (SYSCALL_ERROR_HANDLER): Likewise.
7595 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7596 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7598 (SYSCALL_ERROR_HANDLER): Likewise.
7599
7600 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7601 (HAVE_GCC_GOTDATA): New.
7602 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7603 relocation support in both binutils and gcc.
7604 * sysdeps/sparc/elf/configure: Regenerate.
7605
7606 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7607 * sysdeps/sparc/sparc32/elf/configure: Delete.
7608 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7609 * sysdeps/sparc/sparc64/elf/configure: Delete.
7610 * sysdeps/sparc/elf/configure.in: New file.
7611 * sysdeps/sparc/elf/configure: Generate.
7612
7613 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7614 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7615 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7616 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7617 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7618
7619 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7620
7621 * manual/install.texi: Do not mention specific glibc version
7622 numbers.
7623 * manual/libc.texinfo (VERSION, UPDATED): Update.
7624 (@copying): Use @copyright{} and range of years.
7625
7626 2012-02-21 Joseph Myers <joseph@codesourcery.com>
7627
7628 [BZ #13695]
7629 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7630 [crti.S not in sysdirs] (generated): Do not append.
7631 [crti.S not in sysdirs] (omit-deps): Likewise.
7632 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7633 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7634 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7635 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7636 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7637 Likewise.
7638 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7639 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7640 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7641 * csu/defs.awk: Remove file.
7642 * sysdeps/generic/initfini.c: Likewise.
7643 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7644 variable.
7645 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7646 Likewise.
7647
7648 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7649
7650 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7651 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7652 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7653 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7654 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7655 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7656 <bits/epoll.h>.
7657 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7658 (__EPOLL_PACKED): Define to empty if not defined by
7659 <bits/epoll.h>.
7660 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7661 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7662 bits/epoll.h.
7663
7664 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7665
7666 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7667 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7668 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7669 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7670 <bits/timerfd.h>.
7671 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7672 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7673 bits/timerfd.h.
7674
7675 2012-02-20 Joseph Myers <joseph@codesourcery.com>
7676
7677 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7678 in C locale.
7679 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7680 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7681 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7683
7684 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7685
7686 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7687 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7688
7689 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7690
7691 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7692 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7693 defined.
7694 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7695 Likewise.
7696 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7697 entry for 2.16.
7698
7699 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7700
7701 * math/w_acos.c: Use non-signaling floating-point comparisons.
7702 * math/w_acosf.c: Likewise.
7703 * math/w_acosh.c: Likewise.
7704 * math/w_acoshf.c: Likewise.
7705 * math/w_acoshl.c: Likewise.
7706 * math/w_acosl.c: Likewise.
7707 * math/w_asin.c: Likewise.
7708 * math/w_asinf.c: Likewise.
7709 * math/w_asinl.c: Likewise.
7710 * math/w_atanh.c: Likewise.
7711 * math/w_atanhf.c: Likewise.
7712 * math/w_atanhl.c: Likewise.
7713 * math/w_exp2.c: Likewise.
7714 * math/w_exp2f.c: Likewise.
7715 * math/w_exp2l.c: Likewise.
7716 * math/w_j0.c: Likewise.
7717 * math/w_j0f.c: Likewise.
7718 * math/w_j0l.c: Likewise.
7719 * math/w_j1.c: Likewise.
7720 * math/w_j1f.c: Likewise.
7721 * math/w_j1l.c: Likewise.
7722 * math/w_jn.c: Likewise.
7723 * math/w_jnf.c: Likewise.
7724 * math/w_log.c: Likewise.
7725 * math/w_log10.c: Likewise.
7726 * math/w_log10f.c: Likewise.
7727 * math/w_log10l.c: Likewise.
7728 * math/w_log2.c: Likewise.
7729 * math/w_log2f.c: Likewise.
7730 * math/w_log2l.c: Likewise.
7731 * math/w_logf.c: Likewise.
7732 * math/w_logl.c: Likewise.
7733 * math/w_sqrt.c: Likewise.
7734 * math/w_sqrtf.c: Likewise.
7735 * math/w_sqrtl.c: Likewise.
7736 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7737 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7738 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7740 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7741
7742 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7743
7744 [BZ #9739]
7745 * manual/string.texi (strnlen): Use correct parameter name in
7746 equivalent expression.
7747
7748 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7749
7750 [BZ #11174]
7751 * manual/users.texi (seteuid): Consistently use neweuid for
7752 argument name.
7753
7754 2012-02-19 Joseph Myers <joseph@codesourcery.com>
7755
7756 [BZ #13704]
7757 * manual/nss.texi (Services in the NSS configuration): Correct
7758 list of services in example configuration file.
7759
7760 2012-02-19 Nick Bowler <nbowler@draconx.ca>
7761
7762 [BZ #11322]
7763 * manual/arith.texi: Remove statements about negative zero
7764 behaving identically to zero.
7765
7766 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7767
7768 [BZ #5993]
7769 * manual/install.texi: Do not document upgrading from libc5.
7770
7771 2012-02-18 Joseph Myers <joseph@codesourcery.com>
7772
7773 [BZ #4596]
7774 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7775
7776 2012-02-18 David S. Miller <davem@davemloft.net>
7777
7778 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7779 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7780 %o7 across the call.
7781 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7782 instead.
7783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7784 SETUP_PIC_REG_LEAF.
7785 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7786 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7787 * sysdeps/sparc/crtn.S: Likewise.
7788
7789 2012-02-17 Ulrich Drepper <drepper@gmail.com>
7790
7791 * aout/Makefile: Remove.
7792
7793 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7794
7795 [BZ #13058]
7796 * manual/examples/argp-ex1.c (main): Format definition in GNU
7797 style.
7798 * manual/examples/argp-ex2.c (main): Likewise.
7799 * manual/examples/argp-ex3.c (main): Likewise.
7800 * manual/examples/argp-ex4.c (main): Likewise.
7801 * manual/examples/longopt.c (main): Use new-style prototype
7802 definition.
7803 * manual/examples/strncat.c (main): Specify return type and use
7804 (void) for arguments.
7805 * manual/examples/subopt.c (main): Use char **argv argument.
7806
7807 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7808
7809 [BZ #5077]
7810 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7811 rounding modes.
7812
7813 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7814
7815 [BZ #6907]
7816 * manual/string.texi (strchr): Change when strchrnul is
7817 recommended.
7818
7819 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7820
7821 [BZ #174]
7822 * manual/locale.texi (setlocale): Document LOCPATH.
7823
7824 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7825
7826 [BZ #10210]
7827 * manual/process.texi (execle): Move @dots{} before last argument.
7828
7829 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
7830
7831 [BZ #12047]
7832 * manual/charset.texi (Generic Charset Conversion): Fix typo
7833 (LC_TYPE -> LC_CTYPE).
7834
7835 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7836
7837 [BZ #5805]
7838 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7839 (scalbnf): Likewise.
7840 (scalbnl): Likewise.
7841 (scalbln): Likewise.
7842 (scalblnf): Likewise.
7843 (scalblnl): Likewise.
7844 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7845 (vwarnx): Likewise.
7846 (verr): Likewise.
7847 (verrx): Likewise.
7848 * manual/filesys.texi (telldir): Use braces around return type.
7849 * manual/llio.texi (mmap): Add space after comma.
7850 (mmap64): Likewise.
7851 * manual/math.texi (jn): Use @var{} on parameter names.
7852 (jnf): Likewise.
7853 (jnl): Likewise.
7854 (yn): Likewise.
7855 (ynf): Likewise.
7856 (ynl): Likewise.
7857 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7858 line.
7859 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7860 "...".
7861 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7862 (sched_get_priority_max): Likewise.
7863 * manual/signal.texi (sigvec): Add space after comma.
7864 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7865 names.
7866 (if_indextoname): Likewise.
7867 (if_freenameindex): Likewise.
7868 (sendto): Use ',' instead of '.' in prototype.
7869 * manual/startup.texi (syscall): Use @dots{} instead of literal
7870 "...".
7871 * manual/stdio.texi (__fpending): Separate initial words of
7872 paragraph from @deftypefun line.
7873 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7874 "...".
7875 (vsyslog): Use @var{} on parameter names.
7876 * manual/terminal.texi (stty): Use @var{} on parameter names.
7877 * manual/users.texi (getutmp): Use @var{} on parameter names.
7878 (getutmpx): Likewise.
7879
7880 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7881
7882 [BZ #6884]
7883 * manual/stdio.texi (fopen): Fix typos in description of
7884 ",ccs=STRING".
7885
7886 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7887
7888 [BZ #4026]
7889 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7890 get clock_id definition.
7891
7892 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
7893
7894 [BZ #4822]
7895 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7896 (madvise): Cast every argument to void on its own.
7897
7898 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7899
7900 [BZ #9902]
7901 * manual/startup.texi (Exit Status): Fix typo.
7902
7903 2012-02-17 Joseph Myers <joseph@codesourcery.com>
7904
7905 [BZ #10140]
7906 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7907 * manual/examples/argp-ex2.c: Likewise.
7908 * manual/examples/argp-ex3.c: Likewise.
7909
7910 2012-02-16 Richard Henderson <rth@redhat.com>
7911
7912 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7913 * sysdeps/s390/s390-32/initfini.c: Remove.
7914 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7915 * sysdeps/s390/s390-64/initfini.c: Remove.
7916
7917 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7918
7919 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7920 compiler output for sysdeps/generic/initfini.c.
7921 * sysdeps/sh/elf/initfini.c: Remove file.
7922
7923 2012-02-16 David S. Miller <davem@davemloft.net>
7924
7925 [BZ #11494]
7926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7927
7928 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7929 * sysdeps/sparc/crti.S: New file.
7930 * sysdeps/sparc/crtn.S: New file.
7931 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7932 * sysdeps/sparc/sparc64/Makefile: Likewise.
7933
7934 2012-02-15 Mike Frysinger <vapier@gentoo.org>
7935
7936 [BZ #3335]
7937 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7938
7939 2012-02-15 Roland McGrath <roland@hack.frob.com>
7940
7941 [BZ #4822]
7942 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7943
7944 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7945 (write, read, close): Likewise.
7946 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7947
7948 2012-02-15 Joseph Myers <joseph@codesourcery.com>
7949
7950 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7951 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7952 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7953 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7954 <bits/signalfd.h>.
7955 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7957 bits/signalfd.h.
7958
7959 2012-02-14 Marek Polacek <polacek@redhat.com>
7960
7961 * sysdeps/x86_64/crti.S: New file.
7962 * sysdeps/x86_64/crtn.S: New file.
7963 * sysdeps/x86_64/elf/initfini.c: Remove file.
7964
7965 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7966
7967 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7968 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7969 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7970 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7971 <bits/inotify.h>.
7972 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7973 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7974 bits/inotify.h.
7975
7976 2012-02-13 Joseph Myers <joseph@codesourcery.com>
7977
7978 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7979 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7980 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7981 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7982 <bits/eventfd.h>.
7983 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7985 bits/eventfd.h.
7986
7987 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7988
7989 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7990 __feraiseexcept instead of feraiseexcept.
7991
7992 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7993 nanosleep invocations.
7994 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7995 strings, and add error checking for a nanosleep invocations.
7996
7997 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7998
7999 Replace FSF snail mail address with URLs, as per GNU coding standards.
8000 Most of the snail mail addresses were wrong anyway, and omitting
8001 them makes the source code easier to maintain. Almost all of the
8002 changes are to license notices and to locale LC_IDENTIFICATION
8003 addresses, except for this one:
8004 * manual/libc.texinfo: In "Published by", give the FSF's URL,
8005 not its snail mail address.
8006
8007 2012-02-09 Richard Henderson <rth@twiddle.net>
8008
8009 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
8010 of kernel-features.h.
8011
8012 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
8013
8014 2012-02-08 Marek Polacek <polacek@redhat.com>
8015
8016 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
8017 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
8018 * sysdeps/gnu/_G_config.h: Likewise.
8019 * sysdeps/generic/_G_config.h: Likewise.
8020
8021 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
8022
8023 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
8024 tests.
8025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8026
8027 * sysdeps/powerpc/powerpc32/crti.S: New file.
8028 * sysdeps/powerpc/powerpc32/crtn.S: New file.
8029 * sysdeps/powerpc/powerpc64/crti.S: New file.
8030 * sysdeps/powerpc/powerpc64/crtn.S: New file.
8031
8032 * Makeconfig (have-initfini): Don't set.
8033 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
8034 * configure.in (nopic_initfini): Don't substitute.
8035 * config.h.in (HAVE_INITFINI): Don't #undef.
8036 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
8037 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
8038
8039 2012-02-08 Joseph Myers <joseph@codesourcery.com>
8040
8041 Support crti.S and crtn.S provided directly by architectures.
8042 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8043 [crti.S in sysdirs] (omit-deps): Likewise.
8044 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8045 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8046 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8047 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8048 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8049 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8050 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8051 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8052 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8053 compiler output for sysdeps/generic/initfini.c.
8054 * sysdeps/i386/elf/Makefile: Remove file.
8055 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8056
8057 2012-02-07 Marek Polacek <polacek@redhat.com>
8058
8059 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8060 * sysdeps/gnu/_G_config.h: Likewise.
8061 * sysdeps/mach/hurd/_G_config.h: Likewise.
8062
8063 2012-02-07 Marek Polacek <polacek@redhat.com>
8064
8065 * math/Makefile (tests): Add tst-CMPLX2.
8066 * math/tst-CMPLX2.c: New file.
8067
8068 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8069
8070 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8071
8072 * math/libm-test.inc (jn_test): Add missing L suffix.
8073
8074 2012-02-06 Marek Polacek <polacek@redhat.com>
8075
8076 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8077 * sysdeps/i386/fpu/e_powf.S: Likewise.
8078 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8079 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8081 * sysdeps/i386/fpu/e_pow.S: Likewise.
8082 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8083 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8084 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8085 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8086 * sysdeps/i386/fpu/e_log2.S: Likewise.
8087 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8088 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8089 * sysdeps/i386/fpu/e_powl.S: Likewise.
8090 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8091 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8092 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8093 * sysdeps/i386/fpu/e_logl.S: Likewise.
8094 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8095 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8096 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8097 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8099 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8100 * sysdeps/i386/fpu/e_log.S: Likewise.
8101 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8102 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8103 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8104 * sysdeps/i386/fpu/e_logf.S: Likewise.
8105 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8106 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8107 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8108 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8109 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8110 * sysdeps/i386/fpu/e_log10.S: Likewise.
8111 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8112 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8113 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8114 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8115 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8116 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8117 * sysdeps/i386/asm-syntax.h: Likewise.
8118 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8119 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8120 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8121 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8122 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8123 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8124 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8125 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8126 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8127 * sysdeps/powerpc/sysdep.h: Likewise.
8128 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8129 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8130
8131 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8132
8133 [BZ #411]
8134 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8135
8136 2012-02-06 Joseph Myers <joseph@codesourcery.com>
8137
8138 * sysdeps/i386/sysdep.h: Include <features.h>.
8139 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8140 version.
8141
8142 2012-02-05 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8145 Define.
8146 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8147 LOAD_PIC_REG_STR.
8148
8149 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8150
8151 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8152 (SETUP_PIC_REG): Use GET_PC_THUNK.
8153 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8154 macro.
8155
8156 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8157
8158 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8159 for non-PIC compilation.
8160 (SETUP_PIC_REG): Add .p2align directive.
8161 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8162 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8163 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8164 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8165 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8166 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8167 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8169 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8170 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8171 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8172 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8173 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8174 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8175 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8176 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8177 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8178 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8179 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8180 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8181 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8182 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8183 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8184 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8185 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8186 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8189 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8190 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8191 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8192 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8193 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8194 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8195 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8196 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8197 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8198 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8199 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8200 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8201 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8202
8203 2012-02-03 Joseph Myers <joseph@codesourcery.com>
8204
8205 * math/tst-CMPLX.c: Include <stdio.h>.
8206
8207 2012-01-31 Joseph Myers <joseph@codesourcery.com>
8208
8209 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8210 float.
8211 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8212 * sysdeps/sparc/bits/mathdef.h: Likewise.
8213
8214 2012-01-31 Marek Polacek <polacek@redhat.com>
8215
8216 * libio/libio.h: Don't define _PARAMS.
8217 * locale/programs/config.h: Don't define PARAMS.
8218 * stdlib/strtol_l.c: Likewise.
8219 (__strtol_l): Remove PARAMS from the prototype.
8220
8221 2012-01-31 Ulrich Drepper <drepper@gmail.com>
8222
8223 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8224 names. Just use the correct names. Remove unnecessary wrapper
8225 functions.
8226 * malloc/arena.c: Likewise.
8227 * malloc/hooks.c: Likewise.
8228
8229 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8230 ARENA_TEST says not to. Simplify test for creation of a new arena.
8231 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8232
8233 2012-01-30 Ulrich Drepper <drepper@gmail.com>
8234
8235 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8236 into tail calls.
8237 (update_get_addr): New function.
8238 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8239 GET_ADDR_MODULE parameter.
8240
8241 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8242
8243 * crypt/cert.c: Remove __STDC__ conditionals.
8244 * crypt/crypt-entry.c: Likewise.
8245 * crypt/crypt_util.c: Likewise.
8246 * libio/filedoalloc.c: Likewise.
8247 * libio/fileops.c: Likewise.
8248 * libio/genops.c: Likewise.
8249 * libio/iofclose.c: Likewise.
8250 * libio/iofdopen.c: Likewise.
8251 * libio/iofopen.c: Likewise.
8252 * libio/iofopen64.c: Likewise.
8253 * libio/iogetdelim.c: Likewise.
8254 * libio/iopopen.c: Likewise.
8255 * libio/obprintf.c: Likewise.
8256 * libio/oldfileops.c: Likewise.
8257 * libio/oldiofclose.c: Likewise.
8258 * libio/oldiofdopen.c: Likewise.
8259 * libio/oldiofopen.c: Likewise.
8260 * libio/oldiopopen.c: Likewise.
8261 * libio/wfiledoalloc.c: Likewise.
8262 * libio/wgenops.c: Likewise.
8263 * locale/programs/xmalloc.c: Likewise.
8264 * misc/syslog.c: Likewise.
8265 * stdio-common/xbug.c: Likewise.
8266 * string/memchr.c: Likewise.
8267 * string/memcmp.c: Likewise.
8268 * string/memrchr.c: Likewise.
8269 * string/rawmemchr.c: Likewise.
8270 * sysdeps/posix/getcwd.c: Likewise.
8271 * time/strftime_l.c: Likewise.
8272
8273 2012-01-30 Joseph Myers <joseph@codesourcery.com>
8274
8275 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
8276 * config.make.in (config-cflags-sse2avx): Define.
8277 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8278 Fix typo.
8279
8280 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8281
8282 * scripts/config.guess: Update from upstream config git repository.
8283 * scripts/config.sub: Likewise.
8284
8285 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8286
8287 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8288 (EM_NUM): Update.
8289 (R_TILEPRO_*, R_TILEGX_*): New macros.
8290
8291 * scripts/firstversions.awk: Fix bug in version range handling.
8292
8293 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8294
8295 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8296
8297 * include/sys/epoll.h: New file.
8298 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8299 libc_hidden_def.
8300
8301 2012-01-28 Ulrich Drepper <drepper@gmail.com>
8302
8303 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8304 Avoid unnecessary __WORDSIZE == 64 test.
8305 (fmaxf): Use VEX format if possible.
8306 (fmax): Likewise.
8307 (fminf): Likewise.
8308 (fmin): Likewise.
8309
8310 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8311 * math/math_private.h: Remove libc_fegetround* and
8312 libc_fesetround*.
8313 * sysdeps/i386/configure.in: Check for -msse2avx.
8314 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8315 also if SSE2AVX is defined.
8316 Remove libc_fegetround* and libc_fesetround*.
8317 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8318 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8319 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8320 of HAS_YMM_USABLE.
8321 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8324 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8325 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8326
8327 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8328
8329 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8330
8331 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8332 size is not set.
8333 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8334
8335 2012-01-27 Ulrich Drepper <drepper@gmail.com>
8336
8337 [BZ #13618]
8338 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8339 relocation.
8340 * Makeconfig (libm): Define.
8341 * elf/Makefile: Add rules to build and run tst-relsort1.
8342 * elf/tst-relsort1.c: New file.
8343 * elf/tst-relsort1mod1.c: New file.
8344 * elf/tst-relsort1mod2.c: New file.
8345
8346 2012-01-27 Joseph Myers <joseph@codesourcery.com>
8347
8348 * math/s_ldexp.c: Remove __STDC__ conditionals.
8349 * math/s_ldexpf.c: Likewise.
8350 * math/s_ldexpl.c: Likewise.
8351 * math/s_nextafter.c: Likewise.
8352 * math/s_nexttowardf.c: Likewise.
8353 * math/s_significand.c: Likewise.
8354 * math/s_significandf.c: Likewise.
8355 * math/s_significandl.c: Likewise.
8356 * math/w_jnl.c: Likewise.
8357 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8358 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8359 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8360 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8361 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8376 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8377 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8378 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8379 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8380 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8381 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8382 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8383 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8384 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8385 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8386 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8387 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8388 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8389 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8390 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8391 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8392 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8393 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8394 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8395 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8396 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8397 * sysdeps/ieee754/k_standard.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8419 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8424 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8430 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8432 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8433 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8437 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8438 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8439 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8440 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8441 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8442 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8443 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8444 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8445 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8446 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8447 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8448 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8449 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8451 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8452 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8453 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8454 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8455 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8456 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8457 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8458 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8459 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8460 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8461 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8462 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8463 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8464 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8465 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8466 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8467 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8468 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8469 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8470 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8471 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8472 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8473 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8474 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8475 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8476 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8477 * sysdeps/ieee754/s_matherr.c: Likewise.
8478 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8479 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8480 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8481 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8482
8483 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8484
8485 * crypt/md5.h: Remove __STDC__ conditionals.
8486 * libio/libioP.h: Likewise.
8487 * locale/programs/config.h: Likewise.
8488 * sysdeps/generic/sysdep.h: Likewise.
8489 * sysdeps/i386/asm-syntax.h: Likewise.
8490 * sysdeps/s390/asm-syntax.h: Likewise.
8491 * sysdeps/unix/sysdep.h: Likewise.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8494
8495 2012-01-26 Joseph Myers <joseph@codesourcery.com>
8496
8497 * libio/libio.h: Remove __STDC__ conditionals.
8498 * malloc/obstack.h: Likewise.
8499 * math/complex.h: Likewise.
8500 * math/math.h: Likewise.
8501 * sysdeps/generic/_G_config.h: Likewise.
8502 * sysdeps/gnu/_G_config.h: Likewise.
8503 * sysdeps/mach/hurd/_G_config.h: Likewise.
8504 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8505 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8506 * sysdeps/sparc/bits/mathdef.h: Likewise.
8507
8508 2012-01-26 Ulrich Drepper <drepper@gmail.com>
8509
8510 [BZ #13583]
8511 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
8512 Clean up HAS_* macros.
8513 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
8514 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8515 possible.
8516 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8517 HAS_AVX.
8518 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8519 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8520 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8521 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8522 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8523
8524 2012-01-25 Joseph Myers <joseph@codesourcery.com>
8525
8526 * elf/tst-unique3.cc (gets): Remove declaration.
8527 * elf/tst-unique3lib.cc (gets): Likewise.
8528 * elf/tst-unique3lib2.cc (gets): Likewise.
8529 * elf/tst-unique4.cc (gets): Likewise.
8530
8531 2012-01-24 Ulrich Drepper <drepper@gmail.com>
8532
8533 * include/stdio.h: Add C++ protection. Add gets declarations and
8534 definitions.
8535 * debug/tst-chk1.c: Don't declare gets here.
8536 * stdio-common/tst-gets.c: Likewise.
8537
8538 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8539
8540 * posix/glob: Remove directory.
8541
8542 2012-01-24 Joseph Myers <joseph@codesourcery.com>
8543
8544 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8545
8546 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8547
8548 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8549 of the non-standard EPFNOSUPPORT.
8550
8551 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8552
8553 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8554 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8555 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8556
8557 2012-01-21 Ulrich Drepper <drepper@gmail.com>
8558
8559 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8560
8561 2012-01-20 Ulrich Drepper <drepper@gmail.com>
8562
8563 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8564 transient errors.
8565 * nscd/grpcache.c (cache_addgr): Likewise.
8566 * nscd/hstcache.c (cache_addhst): Likewise.
8567 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8568 * nscd/pwdcache.c (cache_addpw): Likewise.
8569 * nscd/servicescache.c (cache_addserv): Likewise.
8570
8571 2012-01-16 Ulrich Drepper <drepper@gmail.com>
8572
8573 * malloc/malloc.c: Various cleanups.
8574 * malloc/hooks.c: Likewise.
8575
8576 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8577 * stdlib/bug-fmtmsg1.c: New file.
8578
8579 * stdlib/fmtmsg.c (init): Add missing unlock.
8580 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8581
8582 2012-01-12 Marek Polacek <polacek@redhat.com>
8583
8584 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8585 and _GNU_SOURCE.
8586
8587 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8588
8589 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8590 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8591 macro to ensure uniqueness of label name.
8592 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8593 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8594
8595 2012-01-11 Ulrich Drepper <drepper@gmail.com>
8596
8597 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8598
8599 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8600 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8602 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8603
8604 2012-01-10 Ulrich Drepper <drepper@gmail.com>
8605
8606 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8607
8608 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8609 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8610 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8611
8612 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8613
8614 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
8615 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
8618
8619 * math/bits/math-finite.h: Add ldexp support.
8620
8621 2012-01-10 Marek Polacek <polacek@redhat.com>
8622
8623 * locale/programs/localedef.h (show_archive_content): Add noreturn
8624 attribute.
8625
8626 2012-01-09 Ulrich Drepper <drepper@gmail.com>
8627
8628 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8629
8630 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8631
8632 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8633
8634 * io/Makefile (headers): Add bits/poll2.h.
8635
8636 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8637
8638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8639 typo #include statement.
8640
8641 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8642
8643 * include/sys/cdefs.h: Define __attribute_alloc_size.
8644 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8645 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8646 * elf/pldd.c: Likewise.
8647 * iconv/iconv_charmap.c: Likewise.
8648 * iconv/iconvconfig.c: Likewise.
8649 * iconv/strtab.c: Likewise.
8650 * locale/programs/locale.c: Likewise.
8651 * locale/programs/localedef.h: Likewise.
8652 * locale/programs/simple-hash.c: Likewise.
8653 * nscd/nscd.h: Likewise.
8654 * nss/makedb.c: Likewise.
8655 * sysdeps/generic/ldconfig.h: Likewise.
8656 * locale/programs/localedef.c: Remove xmalloc prototype.
8657 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8658
8659 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8660
8661 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8662 appropriate.
8663
8664 2012-01-08 Ulrich Drepper <drepper@gmail.com>
8665
8666 * math/Makefile (tests): Add tst-CMPLX.
8667 * math/tst-CMPLX.c: New file.
8668
8669 * math/complex.h (CMPLXL): Fix typo.
8670
8671 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8672 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8673 GLIBC_2.16.
8674 * debug/tst-chk1.c: Add poll and ppoll tests.
8675 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8676 * include/sys/poll.h: Add hidden proto for ppoll.
8677 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8678 * sysdeps/mach/hurd/ppoll.c: Likewise.
8679 * io/ppoll.c: Likewise.
8680 * debug/poll_chk.c: New file.
8681 * debug/ppoll_chk.c: New file.
8682 * include/bits/poll2.h: New file.
8683 * io/bits/poll2.h: New file.
8684
8685 [BZ #1350]
8686 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8687
8688 * configure.in: static is always set to yes. Remove.
8689 * config.make.in: Don't set build-static.
8690 * Makeconfig: Remove use of build-static.
8691 * dlfcn/Makefile: Likewise.
8692 * elf/Makefile: Likewise.
8693 * math/Makefile: Likewise.
8694 * misc/Makefile: Likewise.
8695 * nptl/Makefile: Likewise.
8696 * sysdeps/mach/hurd/Makefile: Likewise.
8697
8698 * configure.in: PWD_P is not used anymore.
8699 * config.make.in: Remove PWD_P entry.
8700
8701 * configure.in: Remove last remnants of RANLIB.
8702 No need to check for signed size_t anymore.
8703 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8704 and IA-64.
8705 Remove __builtin_expect test because we require at least gcc 3.4.
8706 * aclocal.m4: Likewise.
8707
8708 * wcsmbs/mbrtoc16.c: Implement using towc function.
8709 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8710 * wcsmbs/wcsmbsload.c: Likewise.
8711 * iconv/gconv_simple.c: Likewise.
8712 * iconv/gconv_int.h: Likewise.
8713 * iconv/gconv_builtin.h: Likewise.
8714 * iconv/iconv_prog.c: Remove CHAR16 handling.
8715
8716 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8717
8718 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8719
8720 * configure.in: Remove --with-elf and --enable-bounded options.
8721 Dont set base_machine for ia64. More non-ELF conditions removed.
8722 Remove testing and setting of leading underscore information.
8723 * config.make.in (build-bounded): Set to no.
8724 * config.h.in: Remove NO_UNDERSCORES entry.
8725 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8726 them.
8727 * csu/start.c: Remove !NO_UNDERSCORE code.
8728 * locale/localeinfo.h: Likewise.
8729 * sysdeps/generic/machine-gmon.h: Likewise.
8730 * sysdeps/generic/sysdep.h: Likewise.
8731 * sysdeps/i386/sysdep.h: Likewise.
8732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8733 * sysdeps/mach/sysdep.h: Likewise.
8734 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8735 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8736 * sysdeps/sh/sysdep.h: Likewise.
8737 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8738 * sysdeps/unix/i386/sysdep.S: Likewise.
8739 * sysdeps/unix/sparc/start.c: Likewise.
8740 * sysdeps/unix/sparc/sysdep.S: Likewise.
8741 * sysdeps/unix/sparc/sysdep.h: Likewise.
8742 * sysdeps/unix/start.c: Likewise.
8743 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8744 * sysdeps/x86_64/sysdep.h: Likewise.
8745
8746 2012-01-07 Ulrich Drepper <drepper@gmail.com>
8747
8748 [BZ #13553]
8749 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8750 for non-gcc.
8751 * argp/argp-fmtstream.h: Use const instead __const.
8752 * argp/argp.h: Likewise.
8753 * assert/assert.h: Likewise.
8754 * bits/fenv.h: Likewise.
8755 * bits/sched.h: Likewise.
8756 * bits/sigset.h: Likewise.
8757 * bits/sigthread.h: Likewise.
8758 * catgets/nl_types.h: Likewise.
8759 * conform/data/pthread.h-data: Likewise.
8760 * crypt/crypt-private.h: Likewise.
8761 * crypt/crypt.h: Likewise.
8762 * crypt/crypt_util.c: Likewise.
8763 * ctype/ctype.h: Likewise.
8764 * debug/execinfo.h: Likewise.
8765 * debug/mbsnrtowcs_chk.c: Likewise.
8766 * debug/mbsrtowcs_chk.c: Likewise.
8767 * debug/wcsnrtombs_chk.c: Likewise.
8768 * debug/wcsrtombs_chk.c: Likewise.
8769 * debug/wcstombs_chk.c: Likewise.
8770 * dirent/dirent.h: Likewise.
8771 * dlfcn/dlfcn.h: Likewise.
8772 * elf/neededtest4.c: Likewise.
8773 * grp/grp.h: Likewise.
8774 * gshadow/gshadow.h: Likewise.
8775 * iconv/gconv.h: Likewise.
8776 * iconv/gconv_int.h: Likewise.
8777 * iconv/gconv_simple.c: Likewise.
8778 * iconv/iconv.h: Likewise.
8779 * iconv/loop.c: Likewise.
8780 * iconv/skeleton.c: Likewise.
8781 * include/aio.h: Likewise.
8782 * include/aliases.h: Likewise.
8783 * include/argz.h: Likewise.
8784 * include/arpa/inet.h: Likewise.
8785 * include/assert.h: Likewise.
8786 * include/dirent.h: Likewise.
8787 * include/dlfcn.h: Likewise.
8788 * include/execinfo.h: Likewise.
8789 * include/fcntl.h: Likewise.
8790 * include/fenv.h: Likewise.
8791 * include/glob.h: Likewise.
8792 * include/grp.h: Likewise.
8793 * include/libintl.h: Likewise.
8794 * include/mntent.h: Likewise.
8795 * include/netdb.h: Likewise.
8796 * include/pwd.h: Likewise.
8797 * include/rpc/netdb.h: Likewise.
8798 * include/sched.h: Likewise.
8799 * include/search.h: Likewise.
8800 * include/shadow.h: Likewise.
8801 * include/signal.h: Likewise.
8802 * include/stdio.h: Likewise.
8803 * include/stdlib.h: Likewise.
8804 * include/string.h: Likewise.
8805 * include/sys/socket.h: Likewise.
8806 * include/sys/stat.h: Likewise.
8807 * include/sys/statfs.h: Likewise.
8808 * include/sys/statvfs.h: Likewise.
8809 * include/sys/syslog.h: Likewise.
8810 * include/sys/time.h: Likewise.
8811 * include/sys/uio.h: Likewise.
8812 * include/time.h: Likewise.
8813 * include/unistd.h: Likewise.
8814 * include/utmp.h: Likewise.
8815 * include/wchar.h: Likewise.
8816 * include/wctype.h: Likewise.
8817 * inet/aliases.h: Likewise.
8818 * inet/arpa/inet.h: Likewise.
8819 * inet/netinet/ether.h: Likewise.
8820 * inet/netinet/in.h: Likewise.
8821 * intl/libintl.h: Likewise.
8822 * io/bits/fcntl2.h: Likewise.
8823 * io/fcntl.h: Likewise.
8824 * io/ftw.h: Likewise.
8825 * io/sys/poll.h: Likewise.
8826 * io/sys/stat.h: Likewise.
8827 * io/sys/statfs.h: Likewise.
8828 * io/sys/statvfs.h: Likewise.
8829 * io/utime.h: Likewise.
8830 * libio/bits/stdio.h: Likewise.
8831 * libio/bits/stdio2.h: Likewise.
8832 * libio/libio.h: Likewise.
8833 * libio/libioP.h: Likewise.
8834 * libio/stdio.h: Likewise.
8835 * locale/lc-ctype.c: Likewise.
8836 * locale/locale.h: Likewise.
8837 * login/utmp.h: Likewise.
8838 * malloc/arena.c: Likewise.
8839 * malloc/malloc.c: Likewise.
8840 * malloc/malloc.h: Likewise.
8841 * malloc/mcheck.c: Likewise.
8842 * malloc/mtrace.c: Likewise.
8843 * math/bits/mathcalls.h: Likewise.
8844 * math/fenv.h: Likewise.
8845 * math/math_private.h: Likewise.
8846 * misc/bits/error.h: Likewise.
8847 * misc/bits/syslog.h: Likewise.
8848 * misc/err.h: Likewise.
8849 * misc/error.h: Likewise.
8850 * misc/fstab.h: Likewise.
8851 * misc/mntent.h: Likewise.
8852 * misc/regexp.h: Likewise.
8853 * misc/search.h: Likewise.
8854 * misc/sgtty.h: Likewise.
8855 * misc/sys/mman.h: Likewise.
8856 * misc/sys/syslog.h: Likewise.
8857 * misc/sys/uio.h: Likewise.
8858 * misc/sys/xattr.h: Likewise.
8859 * misc/ttyent.h: Likewise.
8860 * nis/rpcsvc/ypclnt.h: Likewise.
8861 * nss/nss.h: Likewise.
8862 * posix/bits/unistd.h: Likewise.
8863 * posix/fnmatch.h: Likewise.
8864 * posix/glob.h: Likewise.
8865 * posix/sched.h: Likewise.
8866 * posix/spawn.h: Likewise.
8867 * posix/sys/wait.h: Likewise.
8868 * posix/unistd.h: Likewise.
8869 * posix/wordexp.h: Likewise.
8870 * pwd/pwd.h: Likewise.
8871 * resolv/netdb.h: Likewise.
8872 * resource/sys/resource.h: Likewise.
8873 * rt/aio.h: Likewise.
8874 * rt/bits/mqueue2.h: Likewise.
8875 * rt/mqueue.h: Likewise.
8876 * shadow/shadow.h: Likewise.
8877 * signal/signal.h: Likewise.
8878 * socket/send.c: Likewise.
8879 * socket/sendto.c: Likewise.
8880 * socket/sys/socket.h: Likewise.
8881 * stdio-common/printf.h: Likewise.
8882 * stdlib/bits/stdlib.h: Likewise.
8883 * stdlib/fmtmsg.h: Likewise.
8884 * stdlib/monetary.h: Likewise.
8885 * stdlib/stdlib.h: Likewise.
8886 * stdlib/ucontext.h: Likewise.
8887 * streams/stropts.h: Likewise.
8888 * string/argz.h: Likewise.
8889 * string/bits/string2.h: Likewise.
8890 * string/string.h: Likewise.
8891 * string/strings.h: Likewise.
8892 * sunrpc/rpc/auth.h: Likewise.
8893 * sunrpc/rpc/auth_des.h: Likewise.
8894 * sunrpc/rpc/clnt.h: Likewise.
8895 * sunrpc/rpc/netdb.h: Likewise.
8896 * sunrpc/rpc/pmap_clnt.h: Likewise.
8897 * sunrpc/rpc/xdr.h: Likewise.
8898 * sysdeps/generic/inttypes.h: Likewise.
8899 * sysdeps/generic/net/if.h: Likewise.
8900 * sysdeps/generic/sys/swap.h: Likewise.
8901 * sysdeps/gnu/net/if.h: Likewise.
8902 * sysdeps/gnu/utmpx.h: Likewise.
8903 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8904 * sysdeps/i386/i486/bits/string.h: Likewise.
8905 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8906 * sysdeps/s390/bits/string.h: Likewise.
8907 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8908 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8909 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8910 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8911 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8912 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8913 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8914 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8915 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8916 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8917 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8918 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8919 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8920 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8921 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8922 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8923 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8925 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8926 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8929 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8930 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8931 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8932 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8933 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8934 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8935 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8936 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8937 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8938 * sysvipc/sys/ipc.h: Likewise.
8939 * sysvipc/sys/msg.h: Likewise.
8940 * sysvipc/sys/sem.h: Likewise.
8941 * sysvipc/sys/shm.h: Likewise.
8942 * termios/termios.h: Likewise.
8943 * time/sys/time.h: Likewise.
8944 * time/time.h: Likewise.
8945 * wcsmbs/bits/wchar2.h: Likewise.
8946 * wcsmbs/uchar.h: Likewise.
8947 * wcsmbs/wchar.h: Likewise.
8948 * wctype/wctype.h: Likewise.
8949
8950 [BZ #13551]
8951 * Makeconfig: Remove all but ELF support including AIX support.
8952 * Makerules: Likewise.
8953 * config.h.in: Likewise.
8954 * config.make.in: Likewise.
8955 * configure: Likewise.
8956 * configure.in: Likewise.
8957 * csu/Makefile: Likewise.
8958 * csu/version.c: Likewise.
8959 * debug/Makefile: Likewise.
8960 * dlfcn/Makefile: Likewise.
8961 * elf/Makefile: Likewise.
8962 * extra-lib.mk: Likewise.
8963 * iconv/Makefile: Likewise.
8964 * include/libc-symbols.h: Likewise.
8965 * include/shlib-compat.h: Likewise.
8966 * resolv/Makefile: Likewise.
8967 * resolv/res_libc.c: Likewise.
8968 * rt/Makefile: Likewise.
8969 * sysdeps/i386/asm-syntax.h: Likewise.
8970 * sysdeps/i386/sysdep.h: Likewise.
8971 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8972 * sysdeps/mach/sysdep.h: Likewise.
8973 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8974 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8975 * sysdeps/s390/asm-syntax.h: Likewise.
8976 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8977 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8978 * sysdeps/sh/sysdep.h: Likewise.
8979 * sysdeps/unix/sparc/sysdep.h: Likewise.
8980 * sysdeps/wordsize-32/divdi3.c: Likewise.
8981 * sysdeps/x86_64/sysdep.h: Likewise.
8982
8983 * argp/Versions: Remove _argp_unlock_xxx.
8984
8985 [BZ #13559]
8986 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8987 * abilist/libBrokenLocale.abilist: Likewise.
8988 * abilist/libanl.abilist: Likewise.
8989 * abilist/libc.abilist: Likewise.
8990 * abilist/libcrypt.abilist: Likewise.
8991 * abilist/libdl.abilist: Likewise.
8992 * abilist/libm.abilist: Likewise.
8993 * abilist/libnsl.abilist: Likewise.
8994 * abilist/libpthread.abilist: Likewise.
8995 * abilist/libresolv.abilist: Likewise.
8996 * abilist/librt.abilist: Likewise.
8997 * abilist/libthread_db.abilist: Likewise.
8998 * abilist/libutil.abilist: Likewise.
8999 * abilist/libnss_db.abilist: New file.
9000
9001 * scripts/abilist.awk: Add support for indirect functions.
9002
9003 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
9004
9005 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
9006
9007 * shlib-versions: Remove entries for ports architectures.
9008
9009 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
9010 files in ports.
9011 * elf/stackguard-macros.h: Remove support for IA-64.
9012 * elf/tst-auditmod1.c: Likewise.
9013 * sysdeps/generic/ldsodefs.h: Likewise.
9014
9015 * sysdeps/unix/sysv/linux/configure.in: Ports should define
9016 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
9017 configure files.
9018
9019 [BZ #13552]
9020 * configure.in: Remove --enable-omitfp support.
9021 * FAQ.in: Adjust.
9022 * config.make.in: Likewise.
9023 * Makeconfig: Likewise.
9024 * manual/install.texi: Likewise.
9025
9026 In case anyone cares, the IA-64 architecture could move to ports.
9027 * sysdeps/ia64/*: Removed.
9028 * sysdeps/unix/sysv/linux/ia64/*: Removed.
9029 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
9030
9031 [BZ #13555]
9032 * configure.in: Remove entries for unsupported architectures.
9033
9034 [BZ #13533]
9035 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
9036 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
9037 routines.
9038 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
9039 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9040 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9041 fall back to using wcrtomb.
9042 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9043 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9044 renaming.
9045 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9046 * wcsmbs/tst-c16c32-1.c: New file.
9047
9048 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9049 local variable.
9050
9051 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9052
9053 * elf/tst-unique3.cc: Add explicit declaration of gets.
9054 * elf/tst-unique3lib.cc: Likewise.
9055 * elf/tst-unique3lib2.cc: Likewise.
9056 * elf/tst-unique4.cc: Likewise.
9057
9058 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9059
9060 2012-01-06 Joseph Myers <joseph@codesourcery.com>
9061
9062 [BZ #13566]
9063 * assert/assert.h (static_assert): Don't define for C++.
9064 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9065 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9066
9067 2012-01-03 Ulrich Drepper <drepper@gmail.com>
9068
9069 * iconv/loop.c (single loop): Fix assertion in storing of
9070 remaining bytes.
9071
9072 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9073
9074 2012-01-01 Ulrich Drepper <drepper@gmail.com>
9075
9076 * posix/getconf.c: Update copyright year.
9077 * nss/getent.c: Likewise.
9078 * nss/makedb.c: Likewise.
9079 * iconv/iconvconfig.c: Likewise.
9080 * iconv/iconv_prog.c: Likewise.
9081 * elf/ldconfig.c: Likewise.
9082 * elf/pldd.c: Likewise.
9083 * elf/sotruss.ksh: Likewise.
9084 * catgets/gencat.c: Likewise.
9085 * csu/version.c: Likewise.
9086 * elf/ldd.bash.in: Likewise.
9087 * elf/sprof.c (print_version): Likewise.
9088 * locale/programs/locale.c: Likewise.
9089 * locale/programs/localedef.c: Likewise.
9090 * login/programs/pt_chown.c: Likewise.
9091 * nscd/nscd.c (print_version): Likewise.
9092 * debug/xtrace.sh: Likewise.
9093 * malloc/memusage.sh: Likewise.
9094 * malloc/mtrace.pl: Likewise.
9095 * debug/catchsegv.sh: Likewise.
9096
9097 2011-12-30 Jakub Jelinek <jakub@redhat.com>
9098
9099 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9100 pure attribute.
9101
9102 2011-12-24 Ulrich Drepper <drepper@gmail.com>
9103
9104 [BZ #13533]
9105 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9106 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9107 transformations.
9108 * iconv/gconv_int.h: Likewise.
9109 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9110 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9111 from libc for GLIBC_2.16.
9112 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9113 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9114 * wcsmbs/uchar.h: Really define mbstate_t.
9115 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9116 * wcsmbs/c16rtomb.c: New file.
9117 * wcsmbs/mbrtoc16.c: New file.
9118 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9119 for C/POSIX locale.
9120 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9121 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9122
9123 * wcsmbs/wchar.h: Add missing __restrict.
9124
9125 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9126
9127 [BZ #13532]
9128 * time/Makefile (routines): Add timespec_get.
9129 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9130 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9131 timespec for ISO C11.
9132 * time/timespec_get.c: New file.
9133 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9134 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9135
9136 [BZ #13531]
9137 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9138 * stdlib/stdlib.h: Declare aligned_alloc.
9139 * Versions.def: Add GLIBC_2.16 for libc.
9140 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9141
9142 [BZ 13527]
9143 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9144 ISO C11.
9145
9146 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
9147 code.
9148
9149 [BZ #13528]
9150 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9151
9152 [BZ #13529]
9153 * assert/assert.h (static_assert): Define.
9154
9155 * version.h: Update for 2.16 development version.
9156
9157 [BZ #13526]
9158 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9159 _ISOC11_SOURCE.
9160
9161 * version.h (RELEASE): Bump for 2.15 release.
9162 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9163
9164 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9165 Patch by Marek Polacek <mpolacek@redhat.com>.
9166
9167 * bits/byteswap.h: Protect long long constants with __extension__.
9168 * sysdeps/i386/bits/byteswap.h: Likewise.
9169 * sysdeps/ia64/bits/byteswap.h: Likewise.
9170 * sysdeps/s390/bits/byteswap.h: Likewise.
9171 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9172
9173 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9174
9175 [BZ #13540]
9176 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9177 destination buffer.
9178 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9179
9180 2011-12-23 Marek Polacek <polacek@redhat.com>
9181
9182 * elf/dl-addr.c (determine_info): Add inline keyword.
9183 * elf/tst-auditmod4b.c (check_avx): Likewise.
9184 * elf/tst-auditmod6b.c (check_avx): Likewise.
9185 * elf/tst-auditmod6c.c (check_avx): Likewise.
9186 * elf/tst-auditmod7b.c (check_avx): Likewise.
9187
9188 2011-12-23 Ulrich Drepper <drepper@gmail.com>
9189
9190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9191 !__SSE_MATH__.
9192
9193 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9194
9195 [BZ #13540]
9196 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9197 processing for last bytes.
9198
9199 2011-08-06 Bruno Haible <bruno@clisp.org>
9200
9201 [BZ #13061]
9202 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9203 U+0385, not to U+1FEE.
9204
9205 [BZ #13062]
9206 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9207 entry for U+00A5 U+0301.
9208
9209 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9210
9211 [BZ #13166]
9212 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9213 buffer for the output is too small.
9214
9215 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9216 optimization.
9217
9218 [BZ #13185]
9219 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9220 SSE flags if possible.
9221
9222 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9223
9224 [BZ #13540]
9225 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9226 processing for last bytes.
9227
9228 2011-12-22 Joseph Myers <joseph@codesourcery.com>
9229
9230 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9231 (syscall-list-default-options, syscall-list-default-condition)
9232 (syscall-list-includes): Define.
9233 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9234 list of ABIs and options and #if conditions for each ABI. Do not
9235 handle common syscalls between ABIs specially.
9236 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9237 Remove.
9238 (syscall-list-variants, syscall-list-32bit-options)
9239 (syscall-list-32bit-condition, syscall-list-64bit-options)
9240 (syscall-list-64bit-condition): Define.
9241 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9242 (syscall-list-variants, syscall-list-32bit-options)
9243 (syscall-list-32bit-condition, syscall-list-64bit-options)
9244 (syscall-list-64bit-condition): Define.
9245 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9246 Remove.
9247 (syscall-list-variants, syscall-list-32bit-options)
9248 (syscall-list-32bit-condition, syscall-list-64bit-options)
9249 (syscall-list-64bit-condition): Define.
9250 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9251 Remove.
9252 (syscall-list-variants, syscall-list-32bit-options)
9253 (syscall-list-32bit-condition, syscall-list-64bit-options)
9254 (syscall-list-64bit-condition): Define.
9255
9256 2011-12-22 Ulrich Drepper <drepper@gmail.com>
9257
9258 * locale/iso-639.def: Add brx entry.
9259
9260 [BZ #13328]
9261 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9262 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9263
9264 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9265 __feraiseexcept_renamed.
9266
9267 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9268
9269 [BZ #13538]
9270 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9271 EPOLLET with unsigned values.
9272 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9273 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9274
9275 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9276 to large cancellation.
9277 * math/s_cacoshf.c: Likewise.
9278 * math/s_cacoshl.c: Likewise.
9279
9280 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9281
9282 [BZ #13305]
9283 [BZ #12786]
9284 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9285 * math/s_cacoshf.c: Likewise.
9286 * math/s_cacoshl.c: Likewise.
9287
9288 2011-12-21 Ulrich Drepper <drepper@gmail.com>
9289
9290 [BZ #13439]
9291 * iconv/gconv.h: Define __GCONV_SWAP.
9292 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9293 * iconvdata/utf-16.c: Likewise.
9294 * iconvdata/utf-32.c: Likewise.
9295
9296 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9297
9298 [BZ #13524]
9299 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9300 numerator after shifting it by one limb.
9301
9302 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9303
9304 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9305 under [__USE_EXTERN_INLINES].
9306
9307 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9308
9309 [BZ #13446]
9310 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9311
9312 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9313
9314 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9315 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9316 optimized code.
9317 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9318 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9319 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9320 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9321 for strncasecmp/strncasecmp_l compilation.
9322 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9323 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9324
9325 2011-12-08 Marek Polacek <mpolacek@redhat.com>
9326
9327 [BZ #13484]
9328 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9329 of __asm__.
9330
9331 2011-12-17 Ulrich Drepper <drepper@gmail.com>
9332
9333 [BZ #13506]
9334 * time/tzfile.c (__tzfile_read): Check values from file header.
9335
9336 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9337
9338 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9339 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9340 * powerpc/powerpc32/dl-start.S: Likewise.
9341 * powerpc/powerpc32/elf/start.S: Likewise.
9342 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9343 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9344 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9345 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9346 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9347 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9348 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9349 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9350 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9351 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9352 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9353 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9354 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9355 * powerpc/powerpc32/memset.S: Likewise.
9356 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9357 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9358 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9359 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9360 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9361 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9362 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9363 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9364 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9365 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9366 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9367 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9368 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9369
9370 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9371
9372 * math/libm-test.inc: Added more nearbyint tests.
9373 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9374 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9375 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9376 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9377
9378 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9379
9380 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9381 FD_CLOEXEC.
9382
9383 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9384
9385 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9386 Add wcscpy-ssse3 wcscpy-c.
9387 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9388 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9389 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9390 * sysdeps/x86_64/wcschr.S: New file.
9391 * sysdeps/x86_64/wcsrchr.S: New file.
9392 * string/test-strcmp.c: Remove checking of wcscmp function for
9393 wrong alignments.
9394 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9395 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9396 wcsrchr-sse2 wcsrchr-c.
9397 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9398 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9399 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9400 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9401 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9402 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9403 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9404 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9405 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9406 * wcsmbc/wcschr.c (WCSCHR): New macro.
9407
9408 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9409
9410 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9411 * wcsmbs/test-wcsrchr.c: New file.
9412 * string/test-strrchr.c: Add wcsrchr support.
9413 (WIDE): New macro.
9414 * wcsmbs/test-wcscpy.c: New file.
9415 * string/test-strcpy.c: Add wcscpy support.
9416 (WIDE): New macro.
9417
9418 2011-12-10 Ulrich Drepper <drepper@gmail.com>
9419
9420 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9421 the inner loop.
9422
9423 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9424
9425 [BZ #13472]
9426 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9427
9428 2011-12-04 Ulrich Drepper <drepper@gmail.com>
9429
9430 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
9431 Minor optimizations.
9432
9433 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9434 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9435 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9436
9437 2011-12-03 Ulrich Drepper <drepper@gmail.com>
9438
9439 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9440 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9441 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9442 for gcc to avoid warnings.
9443 * inet/Makefile (tests): Add tst-checks.
9444 * inet/tst-checks.c: New file.
9445
9446 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9447 warning.
9448
9449 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9450 __wmemcmp_sse2.
9451
9452 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9453 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9454
9455 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9456
9457 2011-12-02 Ulrich Drepper <drepper@gmail.com>
9458
9459 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9460 problem.
9461
9462 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9463
9464 2011-11-29 Joseph Myers <joseph@codesourcery.com>
9465
9466 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9467 conditional on GCC version.
9468 (__arch_compare_and_exchange_val_8_acq)
9469 (__arch_compare_and_exchange_val_16_acq)
9470 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9471 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9472 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9473
9474 2011-12-02 Joseph Myers <joseph@codesourcery.com>
9475
9476 * sysdeps/sh/backtrace.c: New file.
9477
9478 2011-12-02 Andreas Schwab <schwab@redhat.com>
9479
9480 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9481 parenthesis.
9482
9483 2011-12-01 Andreas Schwab <schwab@redhat.com>
9484
9485 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9486 falling back to utime.
9487
9488 2011-11-30 Andreas Schwab <schwab@redhat.com>
9489
9490 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9491 expectations for float.
9492
9493 2011-11-29 Andreas Schwab <schwab@redhat.com>
9494
9495 * locale/weight.h (findidx): Add parameter len.
9496 * locale/weightwc.h (findidx): Likewise.
9497 * posix/fnmatch_loop.c (FCT): Adjust caller.
9498 * posix/regcomp.c (build_equiv_class): Likewise.
9499 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9500 * posix/regexec.c (check_node_accept_bytes): Likewise.
9501 * string/strcoll_l.c (STRCOLL): Likewise.
9502 * string/strxfrm_l.c (STRXFRM): Likewise.
9503
9504 2011-11-17 Ulrich Drepper <drepper@gmail.com>
9505
9506 * Makefile.in: Remove CVSOPT handling.
9507 * configure.in: Remove use of AC_REVISION.
9508 * iconvdata/Makefile (distribute): No need to filter out CVS.
9509 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9510 handling.
9511
9512 2011-11-16 Andreas Schwab <schwab@redhat.com>
9513
9514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9515 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9516 [USE_AS_STRNCASECMP_L]: Likewise.
9517 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9518 NO_TLS_DIRECT_SEG_REFS.
9519 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9520 Fix argument offsets for non-PIC.
9521 [USE_AS_STRNCASECMP_L]: Likewise.
9522 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9523 NO_TLS_DIRECT_SEG_REFS.
9524
9525 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9526
9527 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
9528 O_CLOEXEC.
9529 * locale/loadlocale.c (_nl_load_locale): Likewise.
9530
9531 2011-11-15 Andreas Schwab <schwab@redhat.com>
9532
9533 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9534 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9535 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9536 (SYSCALL_GETTIME): Set errno on error.
9537
9538 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9539 count references to noai6ai_cached.
9540
9541 2011-11-15 Ulrich Drepper <drepper@gmail.com>
9542
9543 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9544
9545 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9546 FD_CLOEXEC for /proc/self/maps.
9547
9548 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9549 FD_CLOEXEC for /proc/meminfo.
9550
9551 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9552 gai.conf.
9553
9554 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9555 FD_CLOEXEC for given file.
9556
9557 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9558
9559 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9560 FD_CLOEXEC for /etc/hosts.
9561 (_gethtent): Likewise.
9562
9563 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9564
9565 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9566 cancellation and set FD_CLOEXEC for /etc/netgroup.
9567
9568 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9569 reading /etc/publickey.
9570
9571 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9572 allow cancellation when reading /etc/group.
9573
9574 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9575 cancellation.
9576 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9577
9578 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9579 when using data file.
9580
9581 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9582
9583 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9584 (write_nis_obj): Use "c" and "e" in fopen.
9585
9586 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9587
9588 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9589
9590 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9591
9592 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9593
9594 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9595 locale.alias.
9596
9597 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9598
9599 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9600
9601 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9602
9603 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9604 file parsing and set FD_CLOEXEC.
9605
9606 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9607
9608 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9609
9610 2011-11-14 Andreas Schwab <schwab@redhat.com>
9611
9612 * malloc/arena.c (arena_get2): Don't call reused_arena when
9613 _int_new_arena failed.
9614
9615 2011-11-14 Ulrich Drepper <drepper@gmail.com>
9616
9617 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9618 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9619 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9621 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9622 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9623 to compile strcasecmp and strncasecmp.
9624 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9625 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9626
9627 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9628
9629 2011-11-13 Ulrich Drepper <drepper@gmail.com>
9630
9631 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9632 locale-defines.sym to gen-as-const-headers.
9633 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9634 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9635 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9636 to compile strcasecmp and strncasecmp.
9637 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9638 strcasecmp_l and strncasecmp_l.
9639 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9640 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9641 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9642 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9643 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9644 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9645 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9646 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9647 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9648 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9649 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9650
9651 2011-11-12 Ulrich Drepper <drepper@gmail.com>
9652
9653 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9654 result of SYSDEP_GETTIME_CPU to retval.
9655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9656 parameter list to macro. Remove trailing semicolon. Adjust users.
9657
9658 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9659 variable.
9660
9661 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9662 mantissa words.
9663 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9664
9665 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9666 from unused variable.
9667
9668 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9669 DWARF definitions.
9670 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9671 for assembling.
9672
9673 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9674 over namespaces.
9675
9676 * sunrpc/rpc_prot.c (rejected): Fix case value.
9677
9678 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9679 unsigned long long int to avoid warnings in shift.
9680
9681 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9682 of use of trans.
9683 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9684 variable tmp.
9685
9686 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9687 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9688 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9689
9690 * nis/nis_table.c (nis_list): Use variable of correct type for
9691 result of __follow_path call.
9692
9693 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9694
9695 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9696 of math functions ceil, trunc, floor, round, and sqrt, when
9697 avaliable on the platform.
9698 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9699 name clash.
9700 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9701 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9702 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9703
9704 2011-10-30 Marek Polacek <mpolacek@redhat.com>
9705
9706 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9708
9709 2011-11-11 Roland McGrath <roland@hack.frob.com>
9710
9711 * include/unistd.h: Fix __readlink return type.
9712 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9713
9714 2011-11-11 Ulrich Drepper <drepper@gmail.com>
9715
9716 * stdlib/ucontext.h: Undo last change for makecontext.
9717
9718 2011-11-11 Andreas Schwab <schwab@redhat.com>
9719
9720 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9721
9722 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9723 * setjmp/setjmp.h: Mark functions as non-leaf.
9724 * setjmp/bits/setjmp2.h: Likewise.
9725 * stdlib/ucontext.h: Likewise.
9726
9727 2011-11-10 Andreas Schwab <schwab@redhat.com>
9728
9729 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9730 (reused_arena): Don't check arena limit.
9731 (arena_get2): Atomically check arena limit.
9732
9733 2011-11-08 Ulrich Drepper <drepper@gmail.com>
9734
9735 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9736 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9737
9738 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9739 instructions.
9740
9741 2011-11-07 Andreas Schwab <schwab@redhat.com>
9742
9743 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9744 handler when locking.
9745
9746 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9747 Fix size of allocated buffer.
9748
9749 2011-11-04 Andreas Schwab <schwab@redhat.com>
9750
9751 [BZ #10103]
9752 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9753 declarations for long double functions.
9754 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9755
9756 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9757
9758 2011-11-03 Andreas Schwab <schwab@redhat.com>
9759
9760 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9761 installed.
9762
9763 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9764 is disabled.
9765
9766 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9767
9768 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9769
9770 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9771
9772 * include/alloca.h (stackinfo_alloca_round): Define.
9773 (extend_alloca): Use it.
9774 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9775 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9776 here.
9777
9778 * scripts/check-local-headers.sh: Ignore libaudit.h.
9779
9780 * nscd/Makefile (extra-objs): Make recursively expanded.
9781
9782 2011-11-01 Ulrich Drepper <drepper@gmail.com>
9783
9784 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9785 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9786
9787 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9788 * posix/tst-rfc3484-2.c: Likewise.
9789 * posix/tst-rfc3484-3.c: Likewise.
9790
9791 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9792 process_vm_writev.
9793 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9794 process_vm_writev.
9795 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9796 process_vm_writev from libc using GLIBC_2.15 version.
9797
9798 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9799
9800 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9801
9802 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9803 stack usage.
9804
9805 2011-10-31 Ulrich Drepper <drepper@gmail.com>
9806
9807 [BZ #13367]
9808 * nss/getent.c (initgroups_keys): Show error message in case no group
9809 names are given.
9810
9811 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9812 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9813 __bump_nl_timestamp.
9814 * nscd/connections (nscd_init): When host database is served open
9815 netlink socket and request notification about configuration changes.
9816 (main_loop_poll): Track netlink file descriptor and bump timestamp
9817 in case data becomes available.
9818 (main_loop_epoll): Likewise.
9819 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9820 (database_pers_head): Add extra_data fileds.
9821 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9822 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9823 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9824 Adjust caller.
9825 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9826 in6ai data, call __free_in6ai.
9827 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9828 Add -DHAVE_NETLINK.
9829 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9830 interface information. Reuse previous data if netlink timestamp
9831 is not changed.
9832 (__bump_nl_timestamp): New function.
9833 (__free_in6ai): New function.
9834
9835 2011-10-30 Ulrich Drepper <drepper@gmail.com>
9836
9837 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9838 close_not_cancel_no_status here.
9839 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9840
9841 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9842
9843 [BZ #13276]
9844 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9845 return value.
9846
9847 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9848 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9849 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9850
9851 2011-07-03 Andreas Jaeger <aj@suse.de>
9852
9853 [BZ #10709]
9854 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9855 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9856 * math/libm-test.inc (sin_test): Add test case.
9857
9858 2011-10-29 Ulrich Drepper <drepper@gmail.com>
9859
9860 [BZ #13337]
9861 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9862 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9863
9864 * elf/chroot_canon.c (chroot_canon): Cleanups.
9865
9866 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9867
9868 [BZ #13335]
9869 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9870 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9871
9872 * string/test-strchr.c: Make usable for strchrnul testing.
9873 * string/test-strchrnul.c: New file.
9874 * string/Makefile (strop-tests): Add strchrnul.
9875
9876 * po/it.po: Update from translation team.
9877 * po/es.po: Likewise.
9878
9879 2011-10-28 Ulrich Drepper <drepper@gmail.com>
9880
9881 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9882 the three constants needed as parameters. Drop the others.
9883 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9884 __m128i_strloadu_tolower.
9885 Create and initialize variable zero and use it in all the places
9886 where _mm_setzero_si128 was used.
9887
9888 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9889 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9890 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9891 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9892 anymore.
9893 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9894 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9895 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9896 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9897 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9898 __mpranred, __mptan.
9899 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9900 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9901 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9902 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9903 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9904 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9905 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9906 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9907 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9908
9909 2011-10-28 Andreas Schwab <schwab@redhat.com>
9910
9911 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9912 redefine if SHARED.
9913 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9914
9915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9916 wide char related routines to wcsmbs subdir.
9917
9918 2011-10-27 Andreas Schwab <schwab@redhat.com>
9919
9920 [BZ #13344]
9921 * misc/sys/cdefs.h (__THROWNL): Define.
9922 * posix/unistd.h: Use __THREADNL instead of __THREAD
9923 for memory synchronization functions.
9924
9925 2011-10-26 Roland McGrath <roland@hack.frob.com>
9926
9927 [BZ #13349]
9928 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9929 doesn't exist.
9930 * manual/stdio.texi (Obstack Streams): Node removed.
9931
9932 2011-10-26 Andreas Schwab <schwab@redhat.com>
9933
9934 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9935 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9936 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9937
9938 * math/math_private.h (math_force_eval): Allow non-addressable
9939 arguments.
9940 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9941
9942 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9943
9944 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9945 file is not needed.
9946
9947 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9948 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9949 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9950 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9951 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9952 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9953 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9954 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9955 Add AVX variants.
9956 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9957 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9958 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9959 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9960 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9961 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9962 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9963 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9964 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9965 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9966 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9967 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9968 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9969 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9970 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9971 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9972 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9973 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9974 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9975
9976 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9977 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9978
9979 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9980 place. Use VEX encoding when compiling for AVX.
9981
9982 2011-10-25 Andreas Schwab <schwab@redhat.com>
9983
9984 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9985 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9986
9987 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9988
9989 2011-10-25 Ulrich Drepper <drepper@gmail.com>
9990
9991 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
9992 useless if() expression.
9993 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9995 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9997 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10000 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
10002 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10003 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10004 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10005 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
10006 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10007 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
10008 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
10009 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10010 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10011 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
10012
10013 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
10014
10015 2011-10-25 Andreas Schwab <schwab@redhat.com>
10016
10017 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
10018 condition.
10019 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10020
10021 2011-10-25 Ulrich Drepper <drepper@gmail.com>
10022
10023 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
10024 .text section. Avoid duplicate constants.
10025 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10026 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10029 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10031 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10032 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10033 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10034 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
10035 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10036 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10037 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10038 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10039 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10040 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10041 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10042 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10043 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10044 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10045 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10048 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10049 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10050 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10051 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10052 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10053 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10054 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10055 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10056 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10057 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10058 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10059 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10060 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10061 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10062 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10063 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10064 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10065 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10067 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10069 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10070
10071 2011-10-24 Ulrich Drepper <drepper@gmail.com>
10072
10073 * sysdeps/x86_64/dla.h: Move to ...
10074 * sysdeps/x86_64/fpu/dla.h: ...here.
10075 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10076 situations. Use __builtin_fma only for gcc 4.6 and up.
10077
10078 * config.make.in: Add have-mfma4 entry.
10079 * configure.in: Substitute libc_cv_cc_fma4.
10080 * math/Makefile (dbl-only-routines): Add sincostab.
10081 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10082 Use __sincostab not sincos.
10083 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10084 name is a macro.
10085 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10089 using __copysign.
10090 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10091 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10092 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10093 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10094 and __inv.
10095 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10096 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10097 __copysign.
10098 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10099 define aliases when function name is a macro.
10100 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10101 sysdeps/ieee754/dbl-64/sincos.tbl.
10102 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10103 fma4-enabled routines.
10104 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10105 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10106 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10107 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10109 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10111 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10113 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10114 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10115 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10116 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10117 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10118 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10119 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10120 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10121 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10122 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10123 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10124 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10125 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10126 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10127 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10128 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10129 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10130 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10131 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10132 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10133 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10134
10135 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10136 rename.
10137 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10145
10146 2011-10-24 Andreas Schwab <schwab@redhat.com>
10147
10148 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10149
10150 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10151
10152 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10153
10154 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10155 prediction.
10156 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10157
10158 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10159 Remove unused variable magic_bits.
10160 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10161
10162 * string/strnlen.c: Define and use STRNLEN macro.
10163 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10164 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10166 * wcsmbs/wcslen.c: Define and use WCSLEN.
10167 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10168 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10169 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10170 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10171 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10172 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10173 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10174
10175 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10176
10177 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10178 strnlen-sse2-no-bsf.
10179 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10180 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10181 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10182 Add strnlen support.
10183 (USE_AS_STRNLEN): New macro.
10184 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10185 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10186 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10187 * sysdeps/x86_64/wcslen.S: New file.
10188
10189 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10190
10191 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10192 XMM-moves are used for copying on small sizes.
10193
10194 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10195
10196 * wcsmbs/Makefile (strop-tests): Add wcschr.
10197 * wcsmbs/test-wcschr.c: New file.
10198 * string/test-strchr.c: Update.
10199 Add wcschr support.
10200 (WIDE): New macro.
10201
10202 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10203
10204 * wcsmbs/Makefile (strop-tests): Add wcslen.
10205 * wcsmbs/test-wcslen.c: New file.
10206 * string/test-strlen.c: Update.
10207 Add wcslen support.
10208 (WIDE): New macro.
10209
10210 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10211
10212 * po/it.po: Update from translation team.
10213
10214 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10215
10216 * sysdeps/x86_64/wcscmp.S: Update.
10217 Fix wrong comparison semantics.
10218 wcscmp shall use signed comparison not unsigned.
10219 Don't use substraction to avoid overflow bug.
10220 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10221 * wcsmbc/wcscmp.c: Likewise.
10222 * string/test-strcmp.c: Likewise.
10223 Add new tests to check cases with negative values.
10224
10225 2011-10-23 Ulrich Drepper <drepper@gmail.com>
10226
10227 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10228 * sysdeps/x86_64/dla.h: ...here. New file.
10229 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10230 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10231 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10232 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10233 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10234 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10235 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10236 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10237 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10238
10239 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10240
10241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10242 __ynl_finite aliases.
10243
10244 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10245
10246 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10247
10248 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10249 define DLA_FMA.
10250 [DLA_FMA] (EMULV): Use DLA_FMA.
10251 [DLA_FMA] (MUL12): Use EMULV.
10252 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10253 that are not needed.
10254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10258 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10259 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10260 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10261
10262 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10263
10264 * math/s_nan.c: Undef __nan.
10265 * math/s_nanf.c: Undef __nanf.
10266 * math/s_nanl.c: Undef __nanl.
10267 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10268 "math_private.h".
10269
10270 2011-10-22 Ulrich Drepper <drepper@gmail.com>
10271
10272 * math/s_catan.c: Add branch predictions.
10273 * math/s_catanf.c: Likewise.
10274 * math/s_catanh.c: Likewise.
10275 * math/s_catanhf.c: Likewise.
10276 * math/s_catanhl.c: Likewise.
10277 * math/s_catanl.c: Likewise.
10278 * math/s_cexp.c: Likewise.
10279 * math/s_cexpf.c: Likewise.
10280 * math/s_cexpl.c: Likewise.
10281 * math/s_clog.c: Likewise.
10282 * math/s_clog10.c: Likewise.
10283 * math/s_clog10f.c: Likewise.
10284 * math/s_clog10l.c: Likewise.
10285 * math/s_clogf.c: Likewise.
10286 * math/s_clogl.c: Likewise.
10287 * math/s_csqrt.c: Likewise.
10288 * math/s_csqrtf.c: Likewise.
10289 * math/s_csqrtl.c: Likewise.
10290 * math/s_ctanf.c: Likewise.
10291 * math/s_ctanh.c: Likewise.
10292 * math/s_ctanhf.c: Likewise.
10293 * math/s_ctanhl.c: Likewise.
10294 * math/s_ctanl.c: Likewise.
10295
10296 * math/math_private.h: Define __nan, __nanf, __nanl.
10297 * math/s_cacosh.c: Include <math_private.h>.
10298 * math/s_cacoshl.c: Likewise.
10299 * math/s_casinh.c: Likewise.
10300 * math/s_casinhf.c: Likewise.
10301 * math/s_casinhl.c: Likewise.
10302 * math/s_ccos.c: Rely entire on ccosh.
10303 * math/s_ccosf.c: Rely entire on ccoshf.
10304 * math/s_ccosl.c: Rely entirely on ccoshl.
10305 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10306 Remove tests for FE_INVALID.
10307 * math/s_ccoshf.c: Likewise.
10308 * math/s_ccoshl.c: Likewise.
10309 * math/s_csin.c: Likewise.
10310 * math/s_csinf.c: Likewise.
10311 * math/s_csinh.c Likewise.
10312 * math/s_csinhf.c: Likewise.
10313 * math/s_csinhl.c: Likewise.
10314 * math/s_csinl.c: Likewise.
10315 * math/s_ctan.c: Likewise.
10316 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10317 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10318 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10319
10320 2011-10-21 Ulrich Drepper <drepper@gmail.com>
10321
10322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10323 compilation problems.
10324
10325 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10326 __builtin_expect.
10327
10328 2011-10-20 Ulrich Drepper <drepper@gmail.com>
10329
10330 * sysdeps/i386/configure.in: Test for -mfma4 option.
10331 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10332 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10333 COMMON_CPUID_INDEX_80000001.
10334 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10335 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10336 use it if FMA3 is not supported.
10337 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10338
10339 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10340 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10341
10342 2011-10-20 Andreas Schwab <schwab@redhat.com>
10343
10344 [BZ #12892]
10345 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10346 it would create a cycle with a link time dependency.
10347
10348 2011-10-19 Ulrich Drepper <drepper@gmail.com>
10349
10350 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10351 instruction.
10352 * string/Makefile (strop-tests): Add rawmemchr.
10353 * string/test-rawmemchr.c: New file.
10354
10355 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10356 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10357 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10358 when compiling str{,n}casecmp and when AVX is available. Hook up
10359 new optimized code in initializers.
10360
10361 2011-10-19 Andreas Schwab <schwab@redhat.com>
10362
10363 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10364 __feraiseexcept instead of feraiseexcept.
10365
10366 2011-10-18 Ulrich Drepper <drepper@gmail.com>
10367
10368 * math/math_private.h: Define defaults for libc_fetestexcept and
10369 libc_feupdateenv.
10370 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10371 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10372 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10373 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10374 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10375 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10376 libc_fetestexcept and libc_feupdateenv.
10377
10378 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10379 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10380 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10381 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10382 libc_feholdexcept_setround.
10383
10384 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10385 Add s_nearbyint-c and s_nearbyintf-c.
10386 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10387 nearbyintf inlines.
10388 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10389 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10390 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10391 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10392
10393 * math/math_private.h: Define defaults for libc_fegetround,
10394 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10395 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10396 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10398 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10399 standard functions.
10400 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10401 Remove comments and hacks for old compiler versions.
10402 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10403 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10404 libc_feholdexceptl.
10405
10406 2011-10-18 Andreas Schwab <schwab@redhat.com>
10407
10408 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
10409 (__feraiseexcept_renamed): Add __NTH.
10410 (feraiseexcept): Add __NTH. Rename local variables to fix
10411 namespace violations.
10412
10413 2011-10-17 Ulrich Drepper <drepper@gmail.com>
10414
10415 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10416
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10418
10419 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10420 recently added interfaces.
10421 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10422
10423 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10424 about macro parameter expansion.
10425
10426 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10427 __NO_MATH_INLINES is defined. Cleanups.
10428
10429 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10430 and __floorf is target has SSE4.1.
10431 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10432 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10433 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10434 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10435
10436 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10437 name.
10438 (floorf): Likewise.
10439
10440 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10441
10442 2011-10-17 Andreas Schwab <schwab@redhat.com>
10443
10444 * misc/sys/cdefs.h: Fix last change.
10445
10446 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10447 database lookup.
10448
10449 2011-10-16 Ulrich Drepper <drepper@gmail.com>
10450
10451 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10452
10453 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10454 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10455 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10459 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10460 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10462 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10463 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10464 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10465 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10466 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10467 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10468 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10469 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10470 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10471 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10472 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10473 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10474 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10475
10476 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10477 ceil, ceilf, floor, floorf.
10478
10479 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10480 Perform IRELATIVE relocations last.
10481
10482 * elf/do-rel.h: Add another parameter nrelative, replacing the
10483 local variable with the same name. Change name of the function
10484 to end in Rel or Rela (uppercase).
10485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10486 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10487 elf_dynamic_do_##reloc function.
10488
10489 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10490
10491 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10492 is sufficient, at least on modern CPUs.
10493
10494 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10495
10496 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10497 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10498
10499 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10500 __expl_finite.
10501 * math/bits/math-finite.h: Add entries for exp.
10502 * math/e_expl.c: Add __*_finite alias.
10503 * sysdeps/i386/fpu/e_exp.S: Likewise.
10504 * sysdeps/i386/fpu/e_expf.S: Likewise.
10505 * sysdeps/i386/fpu/e_expl.c: Likewise.
10506 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10507 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10509 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10510 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10511 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10512 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10513
10514 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10515 is sufficient, at least on modern CPUs.
10516
10517 * ctype/ctype-info.c (__ctype_init): Define.
10518 * include/ctype.h (__ctype_init): Declare.
10519 (__ctype_b_loc): The variable is always initialized.
10520 (__ctype_toupper_loc): Likewise.
10521 (__ctype_tolower_loc): Likewise.
10522 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10523 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10524
10525 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10526
10527 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10528
10529 * configure.in: Also look in $cxxmachine/include for C++ system
10530 headers.
10531
10532 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10533
10534 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10535 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10536 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10537 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10538 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10539 (USE_AS_WMEMCMP): New macro.
10540 Fixing indents.
10541 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10542 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10543 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10544 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10546 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10547 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10548 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10549 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10550 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10551 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10552 (USE_AS_WMEMCMP): New macro.
10553 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10554 * sysdeps/string/test-memcmp.c: Update.
10555 Fix simple_wmemcmp.
10556 Add new tests.
10557 * wcsmbs/wmemcmp.c: Update.
10558 (WMEMCMP): New macro.
10559 Fix overflow bug.
10560
10561 2011-10-12 Andreas Jaeger <aj@suse.de>
10562
10563 [BZ #13268]
10564 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10565
10566 2011-10-15 Ulrich Drepper <drepper@gmail.com>
10567
10568 * libio/iofwide.c (do_length): Avoid warning.
10569
10570 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10571
10572 2011-10-14 Ulrich Drepper <drepper@gmail.com>
10573
10574 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10575
10576 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10577 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10578 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10579 * sysdeps/i386/i686/fpu/e_log.S: New file.
10580 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10581 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10582
10583 * ctype/ctype.h: Add support for inlined isXXX functions when
10584 compiling C++ code.
10585
10586 2011-10-14 Andreas Schwab <schwab@redhat.com>
10587
10588 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10589
10590 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10591
10592 2011-10-13 Roland McGrath <roland@hack.frob.com>
10593
10594 [BZ #13291]
10595 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10596
10597 2011-10-13 Andreas Schwab <schwab@redhat.com>
10598
10599 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10600 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10601 feraiseexcept.
10602
10603 * sysdeps/x86_64/memrchr.S: Check for zero size.
10604
10605 * string/stratcliff.c: Add memrchr tests.
10606
10607 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10608
10609 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10610 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10611 rawmemchr-sse2 rawmemchr-sse2-bsf.
10612 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10613 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10614 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10615 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10616 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10617 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10618 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10619 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10620 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10621 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10622 * string/memrchr.c (MEMRCHR): New macro.
10623
10624 2011-10-12 Ulrich Drepper <drepper@gmail.com>
10625
10626 Add integration with gcc's -ffinite-math-only and optimize wrapper
10627 functions in libm.
10628 * Versions.def: Define GLIBC_2.15 version for libm.
10629 * math/Makefile (headers): Add bits/math-finite.h.
10630 * math/bits/math-finite.h: New file.
10631 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10632 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10633 * math/e_acoshl.c: Add __*_finite alias.
10634 * math/e_acosl.c: Likewise.
10635 * math/e_asinl.c: Likewise.
10636 * math/e_atan2l.c: Likewise.
10637 * math/e_atanhl.c: Likewise.
10638 * math/e_coshl.c: Likewise.
10639 * math/e_exp10.c: Likewise.
10640 * math/e_exp10f.c: Likewise.
10641 * math/e_exp10l.c: Likewise.
10642 * math/e_exp2l.c: Likewise.
10643 * math/e_fmodl.c: Likewise.
10644 * math/e_gammal_r.c: Likewise.
10645 * math/e_hypotl.c: Likewise.
10646 * math/e_j0l.c: Likewise.
10647 * math/e_j1l.c: Likewise.
10648 * math/e_jnl.c: Likewise.
10649 * math/e_lgammal_r.c: Likewise.
10650 * math/e_log10l.c: Likewise.
10651 * math/e_log2l.c: Likewise.
10652 * math/e_logl.c: Likewise.
10653 * math/e_powl.c: Likewise.
10654 * math/e_sinhl.c: Likewise.
10655 * math/e_sqrtl.c: Likewise.
10656 * math/e_scalb.c: Completely rewritten and optimized.
10657 * math/e_scalbf.c: Likewise.
10658 * math/e_scalbl.c: Likewise.
10659 * math/w_acos.c: Likewise.
10660 * math/w_acosf.c: Likewise.
10661 * math/w_acosl.c: Likewise.
10662 * math/w_acosh.c: Likewise.
10663 * math/w_acoshf.c: Likewise.
10664 * math/w_acoshl.c: Likewise.
10665 * math/w_asin.c: Likewise.
10666 * math/w_asinf.c: Likewise.
10667 * math/w_asinl.c: Likewise.
10668 * math/w_atan2.c: Likewise.
10669 * math/w_atan2f.c: Likewise.
10670 * math/w_atan2l.c: Likewise.
10671 * math/w_atanh.c: Likewise.
10672 * math/w_atanhf.c: Likewise.
10673 * math/w_atanhl.c: Likewise.
10674 * math/w_exp10.c: Likewise.
10675 * math/w_exp10f.c: Likewise.
10676 * math/w_exp10l.c: Likewise.
10677 * math/w_fmod.c: Likewise.
10678 * math/w_fmodf.c: Likewise.
10679 * math/w_fmodl.c: Likewise.
10680 * math/w_j0.c: Likewise.
10681 * math/w_j0f.c: Likewise.
10682 * math/w_j0l.c: Likewise.
10683 * math/w_j1.c: Likewise.
10684 * math/w_j1f.c: Likewise.
10685 * math/w_j1l.c: Likewise.
10686 * math/w_jn.c: Likewise.
10687 * math/w_jnf.c: Likewise.
10688 * math/w_log.c: Likewise.
10689 * math/w_logf.c: Likewise.
10690 * math/w_logl.c: Likewise.
10691 * math/w_log10.c: Likewise.
10692 * math/w_log10f.c: Likewise.
10693 * math/w_log10l.c: Likewise.
10694 * math/w_log2.c: Likewise.
10695 * math/w_log2f.c: Likewise.
10696 * math/w_log2l.c: Likewise.
10697 * math/w_pow.c: Likewise.
10698 * math/w_powf.c: Likewise.
10699 * math/w_powl.c: Likewise.
10700 * math/w_remainder.c: Likewise.
10701 * math/w_remainderf.c: Likewise.
10702 * math/w_remainderl.c: Likewise.
10703 * math/w_scalb.c: Likewise.
10704 * math/w_scalbf.c: Likewise.
10705 * math/w_scalbl.c: Likewise.
10706 * math/w_sqrt.c: Likewise.
10707 * math/w_sqrtf.c: Likewise.
10708 * math/w_sqrtl.c: Likewise.
10709 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10710 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10711 used.
10712 * math/math_private.h: Declare __kernel_standard_f.
10713 * math/w_cosh.c: Remove cruft and optimize a bit.
10714 * math/w_coshf.c: Likewise.
10715 * math/w_coshl.c: Likewise.
10716 * math/w_exp2.c: Likewise.
10717 * math/w_exp2f.c: Likewise.
10718 * math/w_exp2l.c: Likewise.
10719 * math/w_hypot.c: Likewise.
10720 * math/w_hypotf.c: Likewise.
10721 * math/w_hypotl.c: Likewise.
10722 * math/w_lgamma.c: Likewise.
10723 * math/w_lgamma_r.c: Likewise.
10724 * math/w_lgammaf.c: Likewise.
10725 * math/w_lgammaf_r.c: Likewise.
10726 * math/w_lgammal.c: Likewise.
10727 * math/w_lgammal_r.c: Likewise.
10728 * math/w_sinh.c: Likewise.
10729 * math/w_sinhf.c: Likewise.
10730 * math/w_sinhl.c: Likewise.
10731 * math/w_tgamma.c: Likewise.
10732 * math/w_tgammaf.c: Likewise.
10733 * math/w_tgammal.c: Likewise.
10734 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10735 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10736 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10737 Minor optimizations. Pretty printing. Remove cruft.
10738 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10739 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10740 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10741 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10742 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10743 * sysdeps/i386/fpu/e_asin.S: Likewise.
10744 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10745 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10746 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10747 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10748 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10749 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10750 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10751 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10752 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10753 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10754 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10755 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10756 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10757 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10758 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10759 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10760 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10761 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10762 * sysdeps/i386/fpu/e_log.S: Likewise.
10763 * sysdeps/i386/fpu/e_log10.S: Likewise.
10764 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10765 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10766 * sysdeps/i386/fpu/e_log2.S: Likewise.
10767 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10769 * sysdeps/i386/fpu/e_logf.S: Likewise.
10770 * sysdeps/i386/fpu/e_logl.S: Likewise.
10771 * sysdeps/i386/fpu/e_pow.S: Likewise.
10772 * sysdeps/i386/fpu/e_powf.S: Likewise.
10773 * sysdeps/i386/fpu/e_powl.S: Likewise.
10774 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10775 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10776 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10777 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10778 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10779 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10780 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10781 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10782 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10783 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10784 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10785 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10786 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10787 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10788 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10789 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10790 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10791 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10792 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10793 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10794 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10796 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10797 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10798 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10799 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10800 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10801 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10802 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10803 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10804 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10805 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10806 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10807 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10808 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10809 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10810 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10811 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10812 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10813 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10814 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10816 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10817 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10818 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10819 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10820 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10821 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10822 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10823 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10824 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10825 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10826 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10828 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10829 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10831 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10833 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10834 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10835 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10836 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10837 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10839 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10840 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10841 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10842 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10843 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10851 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10852 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10857 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10858 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10860 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10861 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10862 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10863 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10864 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10865 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10867 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10868 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10870 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10871 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10872 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10873 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10874 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10875 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10876 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10877 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10878 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10879 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10880 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10881 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10882 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10883 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10884 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10885 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10886 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10887 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10888 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10889 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10890 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10891 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10892 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10893 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10894 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10895 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10896 (__isnanf): Likewise.
10897 (__isinf_ns): Likewise.
10898 (__isinf_nsf): Likewise.
10899 (__finite): Likewise.
10900 (__finitef): Likewise.
10901 (__ieee754_sqrt): Define as macro.
10902 (__ieee754_sqrtf): Define as macro.
10903 (__ieee754_sqrtl): Define as macro.
10904 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10905 inlined copy.
10906 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10907 __FINITE_MATH_ONLY__ consistent.
10908 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10909
10910 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10911
10912 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10913 of rawmemchr.
10914
10915 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10916
10917 2011-10-09 Ulrich Drepper <drepper@gmail.com>
10918
10919 * po/ja.po: Update from translation team.
10920
10921 2011-10-08 Roland McGrath <roland@hack.frob.com>
10922
10923 * locale/programs/locarchive.c (prepare_address_space): New function.
10924 (create_archive, enlarge_archive, open_archive): Use it.
10925
10926 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10927 inside [SHARED], where it is used.
10928
10929 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10930
10931 * nss/getent.c (netgroup_keys): Remove unused variable.
10932 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10933
10934 2011-10-08 Ulrich Drepper <drepper@gmail.com>
10935
10936 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10937 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10938 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10939 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10940 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10941 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10942 * math/Makefile (libm-calls): Add s_isinf_ns.
10943 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10944 * math/multc3.c: Likewise.
10945 * math/s_casin.c: Likewise.
10946 * math/s_casinf.c: Likewise.
10947 * math/s_casinl.c: Likewise.
10948 * math/s_ccos.c: Likewise.
10949 * math/s_ccosf.c: Likewise.
10950 * math/s_ccosl.c: Likewise.
10951 * math/s_ctan.c: Likewise.
10952 * math/s_ctanf.c: Likewise.
10953 * math/s_ctanh.c: Likewise.
10954 * math/s_ctanhf.c: Likewise.
10955 * math/s_ctanhl.c: Likewise.
10956 * math/s_ctanl.c: Likewise.
10957 * math/w_fmod.c: Likewise.
10958 * math/w_fmodf.c: Likewise.
10959 * math/w_fmodl.c: Likewise.
10960 * math/w_remainder.c: Likewise.
10961 * math/w_remainderf.c: Likewise.
10962 * math/w_remainderl.c: Likewise.
10963 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10964 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10965 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10966 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10967 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10968 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10969 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10970 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10971
10972 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10973 of the number.
10974 * stdio-common/printf_fphex.c: Likewise.
10975 * stdio-common/printf_size.c: Likewise.
10976
10977 * math/e_exp10.c: Include math_private.h using <...> not "...".
10978 * math/e_exp10f.c: Likewise.
10979 * math/e_exp10l.c: Likewise.
10980 * math/e_exp2l.c: Likewise.
10981 * math/e_j0l.c: Likewise.
10982 * math/e_j1l.c: Likewise.
10983 * math/e_jnl.c: Likewise.
10984 * math/e_lgammal_r.c: Likewise.
10985 * math/e_rem_pio2l.c: Likewise.
10986 * math/e_scalb.c: Likewise.
10987 * math/e_scalbf.c: Likewise.
10988 * math/e_scalbl.c: Likewise.
10989 * math/k_cosl.c: Likewise.
10990 * math/k_sinl.c: Likewise.
10991 * math/k_tanl.c: Likewise.
10992 * math/s_cacoshf.c: Likewise.
10993 * math/s_catan.c: Likewise.
10994 * math/s_catanf.c: Likewise.
10995 * math/s_catanh.c: Likewise.
10996 * math/s_catanhf.c: Likewise.
10997 * math/s_catanhl.c: Likewise.
10998 * math/s_catanl.c: Likewise.
10999 * math/s_ccosh.c: Likewise.
11000 * math/s_ccoshf.c: Likewise.
11001 * math/s_ccoshl.c: Likewise.
11002 * math/s_cexp.c: Likewise.
11003 * math/s_cexpf.c: Likewise.
11004 * math/s_cexpl.c: Likewise.
11005 * math/s_clog.c: Likewise.
11006 * math/s_clog10.c: Likewise.
11007 * math/s_clog10f.c: Likewise.
11008 * math/s_clog10l.c: Likewise.
11009 * math/s_clogf.c: Likewise.
11010 * math/s_clogl.c: Likewise.
11011 * math/s_csin.c: Likewise.
11012 * math/s_csinf.c: Likewise.
11013 * math/s_csinh.c: Likewise.
11014 * math/s_csinhf.c: Likewise.
11015 * math/s_csinhl.c: Likewise.
11016 * math/s_csinl.c: Likewise.
11017 * math/s_csqrt.c: Likewise.
11018 * math/s_csqrtf.c: Likewise.
11019 * math/s_csqrtl.c: Likewise.
11020 * math/s_ctan.c: Likewise.
11021 * math/s_ctanf.c: Likewise.
11022 * math/s_ctanh.c: Likewise.
11023 * math/s_ctanhf.c: Likewise.
11024 * math/s_ctanhl.c: Likewise.
11025 * math/s_ctanl.c: Likewise.
11026 * math/s_ldexp.c: Likewise.
11027 * math/s_ldexpf.c: Likewise.
11028 * math/s_ldexpl.c: Likewise.
11029 * math/s_significand.c: Likewise.
11030 * math/s_significandf.c: Likewise.
11031 * math/s_significandl.c: Likewise.
11032 * math/w_acos.c: Likewise.
11033 * math/w_acosf.c: Likewise.
11034 * math/w_acosh.c: Likewise.
11035 * math/w_acoshf.c: Likewise.
11036 * math/w_acoshl.c: Likewise.
11037 * math/w_acosl.c: Likewise.
11038 * math/w_asin.c: Likewise.
11039 * math/w_asinf.c: Likewise.
11040 * math/w_asinl.c: Likewise.
11041 * math/w_atan2.c: Likewise.
11042 * math/w_atan2f.c: Likewise.
11043 * math/w_atan2l.c: Likewise.
11044 * math/w_atanh.c: Likewise.
11045 * math/w_atanhf.c: Likewise.
11046 * math/w_atanhl.c: Likewise.
11047 * math/w_cosh.c: Likewise.
11048 * math/w_coshf.c: Likewise.
11049 * math/w_coshl.c: Likewise.
11050 * math/w_dremf.c: Likewise.
11051 * math/w_exp10.c: Likewise.
11052 * math/w_exp10f.c: Likewise.
11053 * math/w_exp10l.c: Likewise.
11054 * math/w_exp2.c: Likewise.
11055 * math/w_exp2f.c: Likewise.
11056 * math/w_fmod.c: Likewise.
11057 * math/w_fmodf.c: Likewise.
11058 * math/w_fmodl.c: Likewise.
11059 * math/w_hypot.c: Likewise.
11060 * math/w_hypotf.c: Likewise.
11061 * math/w_hypotl.c: Likewise.
11062 * math/w_j0.c: Likewise.
11063 * math/w_j0f.c: Likewise.
11064 * math/w_j0l.c: Likewise.
11065 * math/w_j1.c: Likewise.
11066 * math/w_j1f.c: Likewise.
11067 * math/w_j1l.c: Likewise.
11068 * math/w_jn.c: Likewise.
11069 * math/w_jnf.c: Likewise.
11070 * math/w_jnl.c: Likewise.
11071 * math/w_lgamma.c: Likewise.
11072 * math/w_lgamma_r.c: Likewise.
11073 * math/w_lgammaf.c: Likewise.
11074 * math/w_lgammaf_r.c: Likewise.
11075 * math/w_lgammal.c: Likewise.
11076 * math/w_lgammal_r.c: Likewise.
11077 * math/w_log.c: Likewise.
11078 * math/w_log10.c: Likewise.
11079 * math/w_log10f.c: Likewise.
11080 * math/w_log10l.c: Likewise.
11081 * math/w_log2.c: Likewise.
11082 * math/w_log2f.c: Likewise.
11083 * math/w_log2l.c: Likewise.
11084 * math/w_logf.c: Likewise.
11085 * math/w_logl.c: Likewise.
11086 * math/w_pow.c: Likewise.
11087 * math/w_powf.c: Likewise.
11088 * math/w_powl.c: Likewise.
11089 * math/w_remainder.c: Likewise.
11090 * math/w_remainderf.c: Likewise.
11091 * math/w_remainderl.c: Likewise.
11092 * math/w_scalb.c: Likewise.
11093 * math/w_scalbf.c: Likewise.
11094 * math/w_scalbl.c: Likewise.
11095 * math/w_sinh.c: Likewise.
11096 * math/w_sinhf.c: Likewise.
11097 * math/w_sinhl.c: Likewise.
11098 * math/w_sqrt.c: Likewise.
11099 * math/w_sqrtf.c: Likewise.
11100 * math/w_sqrtl.c: Likewise.
11101 * math/w_tgamma.c: Likewise.
11102 * math/w_tgammaf.c: Likewise.
11103 * math/w_tgammal.c: Likewise.
11104
11105 * po/ja.po: Update from translation team.
11106
11107 2011-09-29 Andreas Jaeger <aj@suse.de>
11108
11109 [BZ #13179]
11110 * sunrpc/netname.c (netname2host): Fix logic.
11111
11112 [BZ #6779]
11113 [BZ #6783]
11114 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11115 correctly.
11116 * math/w_remainder.c (__remainder): Likewise.
11117 * math/w_remainderf.c (__remainderf): Likewise.
11118 * math/libm-test.inc (remainder_test): Add test cases.
11119
11120 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11121
11122 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11123 sdiv_qrnnd.
11124
11125 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11126
11127 * string/test-memcmp.c: Avoid unncessary #defines.
11128 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11129
11130 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11131
11132 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11133 Use new sse2 version for core i3 - i7 as it's faster
11134 than sse42 version.
11135 (bit_Prefer_PMINUB_for_stringop): New.
11136 * sysdeps/x86_64/rawmemchr.S: Update.
11137 Replace with faster SSE2 version.
11138 * sysdeps/x86_64/memrchr.S: New file.
11139 * sysdeps/x86_64/memchr.S: Update.
11140 Replace with faster SSE2 version.
11141
11142 2011-09-12 Marek Polacek <mpolacek@redhat.com>
11143
11144 * elf/dl-load.c (lose): Add cast to avoid warning.
11145
11146 2011-10-07 Ulrich Drepper <drepper@gmail.com>
11147
11148 * po/ca.po: Update from translation team.
11149
11150 * inet/getnetgrent_r.c: Hook up nscd.
11151 * nscd/Makefile (routines): Add nscd_netgroup.
11152 (nscd-modules): Add netgroupcache.
11153 (CFLAGS-netgroupcache.c): Define.
11154 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11155 (cache_search): Add const to second parameter.
11156 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11157 INNETGR.
11158 (dbs): Add netgrdb entry.
11159 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11160 (verify_persistent_db): Handle netgrdb.
11161 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11162 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11163 GETFDNETGR.
11164 (netgroup_response_header): Define.
11165 (innetgroup_response_header): Define.
11166 (datahead): Add netgroup_response_header and innetgroup_response_header
11167 elements.
11168 * nscd/nscd.conf: Add entries for netgroup cache.
11169 * nscd/nscd.h (dbtype): Add netgrdb.
11170 (_PATH_NSCD_NETGROUP_DB): Define.
11171 (netgroup_iov_disabled): Declare.
11172 (xmalloc, xcalloc, xrealloc): Move declarations here.
11173 (cache_search): Adjust prototype.
11174 Add netgroup-related prototypes.
11175 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11176 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11177 (__nscd_innetgr): Declare.
11178 * nscd/selinux.c (perms): Use access_vector_t as element type and
11179 add netgroup-related initializers.
11180 * nscd/netgroupcache.c: New file.
11181 * nscd/nscd_netgroup.c: New file.
11182 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11183 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11184 For four parameters use innetgr.
11185 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11186 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11187 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11188 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11189
11190 * nscd/connections.c (register_traced_file): Don't register file
11191 for disabled databases.
11192
11193 2011-10-06 Ulrich Drepper <drepper@gmail.com>
11194
11195 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11196
11197 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11198 from tree and freeing node.
11199
11200 2011-09-25 Jiri Olsa <jolsa@redhat.com>
11201
11202 * nss/nsswitch.c (__nss_database_lookup): Handle
11203 nss_parse_service_list out of memory case.
11204
11205 2011-09-15 Jiri Olsa <jolsa@redhat.com>
11206
11207 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11208 out of memory case.
11209
11210 2011-10-04 Andreas Schwab <schwab@redhat.com>
11211
11212 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11213 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11214 pass it down.
11215 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11216 elf_machine_rela, elf_machine_lazy_rel.
11217 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11218 (ELF_DYNAMIC_DO_REL): Likewise.
11219 (ELF_DYNAMIC_DO_RELA): Likewise.
11220 (ELF_DYNAMIC_RELOCATE): Likewise.
11221 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11222 to ELF_DYNAMIC_DO_REL.
11223 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11224 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11225 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11226 elf_machine_rela.
11227 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11228 skip_ifunc, don't call ifunc function if non-zero.
11229 (elf_machine_rela): Likewise.
11230 (elf_machine_lazy_rel): Likewise.
11231 (elf_machine_lazy_rela): Likewise.
11232 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11233 (elf_machine_lazy_rel): Likewise.
11234 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11235 Likewise.
11236 (elf_machine_lazy_rel): Likewise.
11237 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11238 Likewise.
11239 (elf_machine_lazy_rel): Likewise.
11240 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11241 (elf_machine_lazy_rel): Likewise.
11242 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11243 (elf_machine_lazy_rel): Likewise.
11244 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11245 (elf_machine_lazy_rel): Likewise.
11246 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11247 (elf_machine_lazy_rel): Likewise.
11248 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11249 (elf_machine_lazy_rel): Likewise.
11250 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11251 (elf_machine_lazy_rel): Likewise.
11252
11253 2011-09-28 Ulrich Drepper <drepper@gmail.com>
11254
11255 * nss/nss_files/files-init.c (_nss_files_init): Use static
11256 initialization for all the *_traced_file variables.
11257
11258 2011-09-28 Andreas Schwab <schwab@redhat.com>
11259
11260 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11261
11262 2011-09-27 Roland McGrath <roland@hack.frob.com>
11263
11264 [BZ #13226]
11265 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11266
11267 2011-09-27 Andreas Schwab <schwab@redhat.com>
11268
11269 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11270 Reread the line before reparsing it.
11271
11272 2011-09-26 Andreas Schwab <schwab@redhat.com>
11273
11274 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11275
11276 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11277 Maxim Kuvyrkov <maxim@codesourcery.com>
11278 Joseph Myers <joseph@codesourcery.com>
11279
11280 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11281 if needed for __stack_chk_guard.
11282
11283 2011-09-19 Roland McGrath <roland@hack.frob.com>
11284
11285 * sysdeps/posix/spawni.c (script_execute): Always define it.
11286 It will be optimized away if unused.
11287 (maybe_script_execute): New function.
11288 (__spawni): Call it.
11289
11290 * Makerules: Don't include tls.make.
11291 (config-tls): Always set to thread.
11292 * tls.make.c: File removed.
11293
11294 2011-09-19 Mike Frysinger <vapier@gentoo.org>
11295
11296 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11297 * config.make.in (CPPFLAGS-config): New substituted variable.
11298
11299 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11300
11301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11302
11303 [BZ #13192]
11304 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11305 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11306
11307 2011-09-15 Roland McGrath <roland@hack.frob.com>
11308
11309 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11310 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11311 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11312 (CALL_FAIL): Likewise.
11313 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11314 (CALL_FAIL): Macro removed.
11315 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11316
11317 2011-09-15 Ulrich Drepper <drepper@gmail.com>
11318
11319 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11320 for __FINITE_MATH_ONLY__ == 1.
11321
11322 2011-09-15 Andreas Schwab <schwab@redhat.com>
11323
11324 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11325 __ieee754_sqrt instead of sqrt.
11326 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11327 __ieee754_sqrtf instead of sqrtf.
11328 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11329 __floorf instead of floorf.
11330 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11331 __floorf, __truncf instead of floorf, truncf.
11332
11333 2011-09-14 Ulrich Drepper <drepper@gmail.com>
11334
11335 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11336
11337 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11338 __extern_always_inline.
11339 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11340 32-bit.
11341
11342 2011-09-14 Andreas Schwab <schwab@redhat.com>
11343
11344 * elf/rtld.c (dl_main): Also relocate in dependency order when
11345 doing symbol dependency testing.
11346
11347 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11348
11349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11350 Always define `refsym'.
11351
11352 2011-09-13 Andreas Schwab <schwab@redhat.com>
11353
11354 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11355 (__FD_ELT): Renamed from __FDELT.
11356 * misc/bits/select2.h (__FD_ELT): Likewise.
11357 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11358 __FD_MASK instead of __FDELT, __FDMASK.
11359 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11360 Likewise.
11361 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11362 Likewise.
11363
11364 * elf/Makefile (gen-ldd): Fix pattern.
11365
11366 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11367 (init_tls): Likewise.
11368
11369 2011-09-12 Ulrich Drepper <drepper@gmail.com>
11370
11371 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11372
11373 2011-09-12 Andreas Schwab <schwab@redhat.com>
11374
11375 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11376 `struct cmsghdr *' instead of `void *'.
11377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11378 Likewise.
11379
11380 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11381
11382 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11383 if non-absolute.
11384 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11385 ldd_rewrite_script.
11386
11387 2011-09-11 Ulrich Drepper <drepper@gmail.com>
11388
11389 * configure.in: Remove --with-tls option.
11390 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11391 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11392 out in case it is missing.
11393 * sysdeps/ia64/elf/configure.in: Likewise.
11394 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11395 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11396 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11397 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11398 * sysdeps/sh/elf/configure.in: Likewise.
11399 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11400 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11401 * sysdeps/x86_64/elf/configure.in: Likewise.
11402 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11403 * sysdeps/mach/hurd/tls.h: Likewise.
11404
11405 [BZ #13067]
11406 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11407
11408 [BZ #13090]
11409 * configure.in: Fix use of AC_INIT.
11410
11411 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11412
11413 2011-09-10 Ulrich Drepper <drepper@gmail.com>
11414
11415 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11416 __set_errno.
11417 * malloc/hooks.c: Likewise.
11418
11419 [BZ #11929]
11420 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11421 variables statically.
11422 (narenas): Initialize.
11423 (list_lock): Initialize.
11424 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11425 initializtion of main_arena and list_lock. Small cleanups.
11426 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11427 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11428 Add initializers to main_arena and mp_.
11429 (malloc_state): Remove pagesize member. Change all users to use
11430 GLRO(dl_pagesize).
11431
11432 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11433 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11434 is always initialized.
11435
11436 * malloc/malloc.c: Removed unused configurations and dead code.
11437 * malloc/arena.c: Likewise.
11438 * malloc/hooks.c: Likewise.
11439 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
11440
11441 * include/tls.h: Removed. USE___THREAD must always be defined.
11442 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11443 * elf/dl-libc.c: Likewise.
11444 * elf/dl-tsd.c: Likewise.
11445 * include/errno.h: Likewise.
11446 * include/netdb.h: Likewise.
11447 * include/resolv.h: Likewise.
11448 * inet/herrno-loc.c: Likewise.
11449 * inet/herrno.c: Likewise.
11450 * malloc/arena.c: Likewise.
11451 * malloc/hooks.c: Likewise.
11452 * malloc/malloc.c: Likewise.
11453 * resolv/res-state.c: Likewise.
11454 * resolv/res_libc.c: Likewise.
11455 * sysdeps/i386/dl-machine.h: Likewise.
11456 * sysdeps/ia64/dl-machine.h: Likewise.
11457 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11458 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11459 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11460 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11461 * sysdeps/sh/dl-machine.h: Likewise.
11462 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11463 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11464 * sysdeps/unix/i386/sysdep.S: Likewise.
11465 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11466 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11467 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11468 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11469 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11470 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11471 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11473 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11474 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11475 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11476 * sysdeps/x86_64/dl-machine.h: Likewise.
11477 * tls.make.c: Likewise.
11478
11479 * configure.in: Remove --with-__thread option. Make tests for
11480 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11481 tls_model attribute fail if no support is available. Remove
11482 USE_IN_LIBIO.
11483 * Makeconfig: Adjust for dropped configure option. All features are
11484 now mandatory.
11485 * Makerules: Likewise.
11486 * Versions.def: Likewise.
11487 * argp/argp-fmtstream.c: Likewise.
11488 * argp/argp-fmtstream.h: Likewise.
11489 * argp/argp-help.c: Likewise.
11490 * assert/assert.c: Likewise.
11491 * config.h.in: Likewise.
11492 * config.make.in: Likewise.
11493 * configure: Likewise.
11494 * configure.in: Likewise.
11495 * csu/Versions: Likewise.
11496 * csu/init.c: Likewise.
11497 * elf/tst-audit2.c: Likewise.
11498 * elf/tst-tls10.c: Likewise.
11499 * elf/tst-tls10.h: Likewise.
11500 * elf/tst-tls11.c: Likewise.
11501 * elf/tst-tls12.c: Likewise.
11502 * elf/tst-tls14.c: Likewise.
11503 * elf/tst-tlsmod11.c: Likewise.
11504 * elf/tst-tlsmod12.c: Likewise.
11505 * elf/tst-tlsmod13.c: Likewise.
11506 * elf/tst-tlsmod13a.c: Likewise.
11507 * elf/tst-tlsmod14a.c: Likewise.
11508 * elf/tst-tlsmod15b.c: Likewise.
11509 * elf/tst-tlsmod16a.c: Likewise.
11510 * elf/tst-tlsmod16b.c: Likewise.
11511 * elf/tst-tlsmod7.c: Likewise.
11512 * elf/tst-tlsmod8.c: Likewise.
11513 * elf/tst-tlsmod9.c: Likewise.
11514 * gmon/gmon.c: Likewise.
11515 * grp/fgetgrent_r.c: Likewise.
11516 * grp/putgrent.c: Likewise.
11517 * hurd/fopenport.c: Likewise.
11518 * include/libc-symbols.h: Likewise.
11519 * include/tls.h: Likewise.
11520 * intl/gettextP.h: Likewise.
11521 * intl/loadinfo.h: Likewise.
11522 * locale/global-locale.c: Likewise.
11523 * locale/localeinfo.h: Likewise.
11524 * mach/devstream.c: Likewise.
11525 * malloc/arena.c: Likewise.
11526 * malloc/set-freeres.c: Likewise.
11527 * misc/err.c: Likewise.
11528 * misc/getttyent.c: Likewise.
11529 * misc/mntent_r.c: Likewise.
11530 * posix/getopt.c: Likewise.
11531 * posix/wordexp.c: Likewise.
11532 * pwd/fgetpwent_r.c: Likewise.
11533 * resolv/Versions: Likewise.
11534 * resolv/res_hconf.c: Likewise.
11535 * shadow/fgetspent_r.c: Likewise.
11536 * shadow/putspent.c: Likewise.
11537 * stdio-common/printf_fphex.c: Likewise.
11538 * stdio-common/tmpfile.c: Likewise.
11539 * stdlib/abort.c: Likewise.
11540 * stdlib/fmtmsg.c: Likewise.
11541 * sunrpc/auth_unix.c: Likewise.
11542 * sunrpc/clnt_perr.c: Likewise.
11543 * sunrpc/clnt_tcp.c: Likewise.
11544 * sunrpc/clnt_udp.c: Likewise.
11545 * sunrpc/clnt_unix.c: Likewise.
11546 * sunrpc/openchild.c: Likewise.
11547 * sunrpc/svc_simple.c: Likewise.
11548 * sunrpc/svc_tcp.c: Likewise.
11549 * sunrpc/svc_udp.c: Likewise.
11550 * sunrpc/svc_unix.c: Likewise.
11551 * sunrpc/xdr.c: Likewise.
11552 * sunrpc/xdr_array.c: Likewise.
11553 * sunrpc/xdr_rec.c: Likewise.
11554 * sunrpc/xdr_ref.c: Likewise.
11555 * sunrpc/xdr_stdio.c: Likewise.
11556
11557 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11558
11559 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11560
11561 2011-07-03 Andreas Jaeger <aj@suse.de>
11562
11563 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11564 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11565 regenerate with gen-libm-tests.pl.
11566
11567 2010-05-12 Petr Baudis <pasky@suse.cz>
11568
11569 [BZ #11589]
11570 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11571 around j0() zero points by switching to j1().
11572 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11573 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11575 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11576
11577 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11578
11579 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11580 instead of 0.
11581 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11582 instead of 0. .
11583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11584 Patch in part by Pavel Roskin <proski@gnu.org>.
11585
11586 [BZ #13138]
11587 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11588 realloc.
11589 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11590 Free memory block if necessary.
11591
11592 [BZ #12847]
11593 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11594 be NULL. Don't lock in this case.
11595
11596 2011-09-09 Roland McGrath <roland@hack.frob.com>
11597
11598 * elf/elf.h (ELFOSABI_GNU): New macro.
11599 (ELFOSABI_LINUX): Define to that.
11600
11601 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11602
11603 * string/strncat.c (strncat): Undef the symbol in case it has been
11604 defined in bits/string.h.
11605
11606 2011-09-09 Ulrich Drepper <drepper@gmail.com>
11607
11608 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11609
11610 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
11611 link map.
11612
11613 2011-08-17 Andreas Jaeger <aj@suse.de>
11614
11615 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11616
11617 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11618 Ian Lance Taylor <iant@google.com>
11619
11620 * math/libm-test.inc (lround_test): New testcase.
11621 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11622
11623 2011-09-08 Ulrich Drepper <drepper@gmail.com>
11624
11625 * Makefile: Remove support for automatic cvs check-ins.
11626 * Makerules: Likewise.
11627 * config.make.in: Likewise.
11628 * configure.in: Likewise.
11629 * intl/Makefile: Likewise.
11630 * locale/Makefile: Likewise.
11631 * po/Makefile: Likewise.
11632 * posix/Makefile: Likewise.
11633 * sysdeps/gnu/Makefile: Likewise.
11634 * sysdeps/mach/hurd/Makefile: Likewise.
11635 * sysdeps/sparc/sparc32/Makefile: Likewise.
11636
11637 [BZ #13118]
11638 * posix/Makefile (bug-regex32-ENV): Define.
11639 Patch by John Stanley <jpsinthemix@verizon.net>.
11640
11641 * misc/Makefile (headers): Add bits/select2.h.
11642 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11643 * misc/bits/select2.h: New file.
11644 * include/bits/select2.h: New file.
11645 * debug/Makefile (routines): Add fdelt_chk.
11646 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11647 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11648 FD_ISSET.
11649 * debug/fdelt_chk.c: New file.
11650
11651 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11652 * wcsmbs/test-wmemcmp.c: Likewise.
11653 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
11654 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
11655
11656 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11657
11658 * string/Makefile (strop-tests): Add memcmp.
11659 * string/test-wmemcmp.c: New file.
11660 * string/test-memcmp.c: Add wmemcmp support.
11661
11662 2011-09-08 Roland McGrath <roland@hack.frob.com>
11663
11664 [BZ #13153]
11665 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11666 2011-07-19 change.
11667
11668 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11669 garbage value in a __mach_port_mod_refs call in the cases of the
11670 task-self and thread-self ports.
11671
11672 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11673
11674 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11675
11676 2011-09-08 Andreas Schwab <schwab@redhat.com>
11677
11678 * elf/dl-load.c (lose): Check for non-null L.
11679
11680 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11681
11682 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11683
11684 * elf/dl-libc.c (dlerror_run): Pass back error code from
11685 dl_catch_error.
11686
11687 [BZ #13123]
11688 * elf/dl-load.c (lose): Free l_origin if it is valid.
11689
11690 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11691 names.
11692 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11693 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11694 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11695 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11696 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11697 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11698
11699 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11700
11701 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11702 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11703 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11704 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11705 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11706 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11707 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11708 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11709 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11710 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11711
11712 2011-08-15 Alan Modra <amodra@gmail.com>
11713
11714 [BZ #13092]
11715 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11716 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11717 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11718 ppc_mcount to static-only-routines.
11719 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11720 __mcount_internal.
11721 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11722 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11723
11724 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11725
11726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11727 for finite and infinity parameters.
11728
11729 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11730
11731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11732 and add nop instructions for throughput optimization.
11733 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11734
11735 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11736
11737 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11738 aligned copy for power7 with vector-scalar instructions.
11739 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11740
11741 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11742
11743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11744 AVX check.
11745
11746 2011-09-07 Andreas Schwab <schwab@redhat.com>
11747
11748 [BZ #13144]
11749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11750 last change.
11751
11752 2011-09-07 Ulrich Drepper <drepper@gmail.com>
11753
11754 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11755 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11756 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11757 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11758 clock_gettime.
11759
11760 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11761
11762 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11763 Forgot to demangle the pointer.
11764
11765 * sysdeps/i386/sysdep.h: Define atom_text_section.
11766 * sysdeps/x86_64/sysdep.h: Likewise.
11767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11768 section with atom_text_section.
11769 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11770 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11771 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11773 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11774
11775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11777 already be defined. Change to take two parameters and don't assign
11778 result to variable. Adjust all users.
11779 Define INTERNAL_GETTIME if not already defined.
11780 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11781 call.
11782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11783 HAVE_CLOCK_GETTIME_VSYSCALL.
11784 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11785
11786 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11787 gettimeofday vsyscall, just use time.
11788
11789 2011-09-06 Andreas Schwab <schwab@redhat.com>
11790
11791 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11792 <errno.h>.
11793
11794 2011-09-06 Ulrich Drepper <drepper@gmail.com>
11795
11796 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11797 syscall on x86-64.
11798 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11799 syscall.
11800 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11802 syscall if possible.
11803
11804 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11805
11806 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11807 e_ident. Don't pass to find_mapsXX.
11808 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11809
11810 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11811
11812 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11813 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11814 * sysdeps/x86_64/multiarch/strchr.S: Update.
11815 Check bit_slow_BSF bit.
11816 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11817 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11818 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11819
11820 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11821
11822 [BZ #13134]
11823 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11824 before glibc 2.15.
11825 (tryshell): Define.
11826 (__spawni): Change last parameter to be flag. Test
11827 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11828 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11829 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11830 * posix/spawni.c: Likewise.
11831 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11832 * posix/spawnp.c: Likewise. Change normal version to use
11833 SPAWN_XFLAGS_USE_PATH.
11834 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11835 SPAWN_XFLAGS_TRY_SHELL.
11836
11837 [BZ #13150]
11838 * posix/glob.h: Remove gcc 1.x support.
11839
11840 [BZ #13068]
11841 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11842
11843 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11844
11845 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11846 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11847 strrchr-sse2-bsf
11848 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11849 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11850 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11852 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11853 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11854
11855 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11856
11857 * sysdeps/x86_64/wcscmp.S: New file.
11858
11859 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11860 wcscmp-c wcscmp-sse2
11861 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11862 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11863 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11864 * wcsmbs/wcscmp.c: Allow renaming.
11865
11866 2011-09-05 David S. Miller <davem@davemloft.net>
11867
11868 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11869 stack slot, rather than the struct return pointer slot.
11870 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11871 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11873 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11874
11875 2011-09-05 Ulrich Drepper <drepper@gmail.com>
11876
11877 * po/ja.po: Update from translation team.
11878
11879 [BZ #13144]
11880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11881 kernel in 64-bit binaries.
11882
11883 2011-09-01 David S. Miller <davem@davemloft.net>
11884
11885 * elf/elf.h (HWCAP_SPARC_*): Move to..
11886 * sysdeps/sparc/sysdep.h: this new file and add new values.
11887 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11888 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11889 _DL_HWCAP_COUNT to 24.
11890 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11891 entries.
11892 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11893 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11894 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11896 instead of magic constants.
11897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11898
11899 2011-08-31 David S. Miller <davem@davemloft.net>
11900
11901 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11903 Reimplement to do errno handling inline.
11904 (SYSCALL_ERROR_HANDLER): New macro.
11905 (__SYSCALL_STRING): Do not do errno handling in asm.
11906 (__CLONE_SYSCALL_STRING): Delete.
11907 (__INTERNAL_SYSCALL_STRING): Delete.
11908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11909 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11910 (PSEUDO): Reimplement to do errno handling inline.
11911 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11912 (SYSCALL_ERROR_HANDLER): New macro.
11913 (__SYSCALL_STRING): Do not do errno handling in asm.
11914 (__CLONE_SYSCALL_STRING): Delete.
11915 (__INTERNAL_SYSCALL_STRING): Delete.
11916 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11917 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11918 i386.
11919 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11920 (inline_syscall*): Add 'err' argument.
11921 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11922 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11923 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11924 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11925
11926 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11927 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11928
11929 2011-08-30 Andreas Schwab <schwab@redhat.com>
11930
11931 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11932
11933 2011-08-29 Jiri Olsa <jolsa@redhat.com>
11934
11935 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11936 directive.
11937
11938 2011-08-24 David S. Miller <davem@davemloft.net>
11939
11940 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11941
11942 2011-08-24 Andreas Schwab <schwab@redhat.com>
11943
11944 * elf/Makefile: Add rules to build and run unload8 test.
11945 * elf/unload8.c: New file.
11946 * elf/unload8mod1.c: New file.
11947 * elf/unload8mod1x.c: New file.
11948 * elf/unload8mod2.c: New file.
11949 * elf/unload8mod3.c: New file.
11950
11951 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11952 it wasn't used.
11953
11954 2011-08-23 David S. Miller <davem@davemloft.net>
11955
11956 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11957 subtract stack bias.
11958 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11959 %sp not %fp in calculations.
11960 (_JMPBUF_UNWINDS_ADJ): Likewise.
11961
11962 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11963 (aio_suspend): Call it to force an exception region around the
11964 AIO_MISC_WAIT() invocation.
11965
11966 2011-08-23 Andreas Schwab <schwab@redhat.com>
11967
11968 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11969 backslash.
11970
11971 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11972
11973 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11974 protection macro.
11975 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11976 and <dl-machine.h>.
11977 (Elf64_FuncDesc): Remove.
11978
11979 2011-08-22 David S. Miller <davem@davemloft.net>
11980
11981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11982 sigaltstack check, add missing cfi directives.
11983 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11984 missing cfi directives, and sigaltstack handling.
11985
11986 2011-08-16 Andreas Schwab <schwab@redhat.com>
11987
11988 [BZ #11724]
11989 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11990 object is seen twice.
11991 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11992
11993 * elf/Makefile (distribute): Add tst-initorder2.c.
11994 (tests): Add tst-initorder2.
11995 (modules-names): Add tst-initorder2a tst-initorder2b
11996 tst-initorder2c tst-initorder2d. Add rules to build them.
11997 ($(objpfx)tst-initorder2.out): New rule.
11998 * elf/tst-initorder2.c: New file.
11999 * elf/tst-initorder2.exp: New file.
12000
12001 2011-08-22 Andreas Schwab <schwab@redhat.com>
12002
12003 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
12004
12005 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
12006 dependencies back to end of function.
12007
12008 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12009 $(elfobjdir)/ld.so.
12010
12011 2011-08-21 Ulrich Drepper <drepper@gmail.com>
12012
12013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
12014 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
12015 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
12016 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
12017 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
12018 of __vdso_gettimeofday.
12019 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
12020 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
12021 attribute_hidden.
12022 (_libc_vdso_platform_setup): Remove initialization of
12023 __vdso_gettimeofday and __vdso_time.
12024
12025 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12026
12027 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
12028 and fgetc_unlocked.
12029 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
12030 getc_unlocked.
12031
12032 * elf/dl-open.c (add_to_global): Report additions to the global scope
12033 for LD_DEBUG=scopes.
12034 (dl_open_worker): Also print scope of newly loaded dependencies.
12035 (_dl_show_scope): Indicate if there is no scope.
12036
12037 [BZ #13114]
12038 * stdio-common/Makefile (tests): Add bug24.
12039 * stdio-common/bug24.c: New file.
12040
12041 2011-08-19 Andreas Jaeger <aj@suse.de>
12042
12043 [BZ #13114]
12044 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12045 non-existant file when using close-on-exec mode.
12046
12047 2011-08-20 Ulrich Drepper <drepper@gmail.com>
12048
12049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12050 the very first instruction.
12051
12052 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12053 the CFI state in the end.
12054 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12055 inclusion of dl-trampoline.h.
12056 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12057
12058 2011-08-19 Andreas Schwab <schwab@redhat.com>
12059
12060 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12061 expectations for long double.
12062
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12064 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12065
12066 2011-08-14 David S. Miller <davem@davemloft.net>
12067
12068 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12069 artificual limit depends upon the system page size.
12070
12071 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12072
12073 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12074 * resolv/Makefile: Define CFLAGS-libresolv.
12075
12076 2011-08-17 Andreas Schwab <schwab@redhat.com>
12077
12078 * nss/makedb.c (compute_tables): Make variables used in nested
12079 function static.
12080
12081 2011-08-17 Ulrich Drepper <drepper@gmail.com>
12082
12083 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12084 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12085 if buffer was too small.
12086
12087 * elf/pldd.c (main): Attach to all threads in the process.
12088 Rewrite /proc handling to use *at functions.
12089
12090 2011-08-16 Ulrich Drepper <drepper@gmail.com>
12091
12092 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12093 specifies first scope to show.
12094 (dl_open_worker): Update callers. Move printing scope of new
12095 object to before the relocation.
12096 * elf/rtld.c (dl_main): Update _dl_show_scope call.
12097 * sysdeps/generic/ldsodefs.h: Update declaration.
12098
12099 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12100 string for the scope number.
12101
12102 2011-08-14 Ulrich Drepper <drepper@gmail.com>
12103
12104 * nscd/servicescache.c (cache_addserv): Make sure written is always
12105 initialized.
12106
12107 2011-08-14 Roland McGrath <roland@hack.frob.com>
12108
12109 * sysdeps/i386/i486/bits/atomic.h
12110 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12111 statement expression, so as to suppress "set but not used" warning.
12112 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12113
12114 * string/strncat.c (STRNCAT): Use prototype definition.
12115
12116 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12117 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12118 -Iprograms here.
12119 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12120 (localedef-modules): Add localedef.
12121 (locale-modules): Add locale.
12122
12123 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12124 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12125 to avoid a warning.
12126
12127 2011-08-14 David S. Miller <davem@davemloft.net>
12128
12129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12130 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12131
12132 2011-08-13 Ulrich Drepper <drepper@gmail.com>
12133
12134 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
12135 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12136 * elf/rtld.c (dl_main): Set l_name of vDSO.
12137 Call _dl_show_scope when DL_DEBUG_SCOPES.
12138 (process_dl_debug): Recognize scopes flag and also set it for all.
12139 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12140 Declare _dl_show_scope.
12141
12142 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12143 (do_dlopen): Pass caller_dlopen to dl_open.
12144 (__libc_dlopen_mode): Initialize caller_dlopen.
12145
12146 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12147 of libc. Make tolower call locale-independent. Optimize a bit by
12148 using isdigit instead of isalnum.
12149 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12150
12151 2011-08-12 Ulrich Drepper <drepper@gmail.com>
12152
12153 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12154 was a dependency or dynamically loaded.
12155
12156 2011-08-11 Ulrich Drepper <drepper@gmail.com>
12157
12158 * intl/l10nflist.c: Allow architecture-specific pop function.
12159 * sysdeps/x86_64/l10nflist.c: New file.
12160
12161 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12162 classification.
12163
12164 2011-08-10 Andreas Schwab <schwab@redhat.com>
12165
12166 * include/dirent.h: Add libc_hidden_proto for scandirat and
12167 scandirat64. Don't declare __scandirat64.
12168 * dirent/scandirat.c: Add libc_hidden_def.
12169 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12170 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12171
12172 2011-08-10 David S. Miller <davem@davemloft.net>
12173
12174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12175 enum.
12176 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12177 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12178 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12179
12180 2011-08-09 Ulrich Drepper <drepper@gmail.com>
12181
12182 * Versions.def [libc]: Add GLIBC_2.15.
12183 * dirent/Makefile (routines): Add scandirat and scandirat64.
12184 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12185 GLIBC_2.15.
12186 * dirent/dirent.h: Declare scandirat and scandirat64.
12187 * dirent/scandirat.c: New file.
12188 * dirent/scandirat64.c: New file.
12189 * sysdeps/wordsize-64/scandirat.c: New file.
12190 * sysdeps/wordsize-64/scandirat64.c: New file.
12191 * dirent/opendir.c: Define opendirat.
12192 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12193 using scandirat.
12194 * dirent/scandir64.c: Adjust for scandir.c change.
12195 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12196 __scandirat64, and __scandir_cancel_handler.
12197 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12198 additional parameter and use openat instead of open (outside of ld.so).
12199 Add new __opendir as wrapper around __opendirat.
12200 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12201 here without requiring old scandirat implementation.
12202
12203 2011-08-08 Ulrich Drepper <drepper@gmail.com>
12204
12205 * dirent/scandir.c (cancel_handler): Renamed to
12206 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12207 defined. Adjust users.
12208 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12209 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12210
12211 2011-08-04 Ulrich Drepper <drepper@gmail.com>
12212
12213 * string/test-string.h (IMPL): Use __STRING to expand name and then
12214 stringify it.
12215
12216 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12217 of cleanups.
12218
12219 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12220
12221 * string/Makefile: Update.
12222 (strop-tests): Append strncat.
12223 * string/test-wcscmp.c: New file.
12224 New comprehensive test for wcscmp.
12225 * string/test-strcmp.c: Update.
12226 (WIDE): New define.
12227
12228 2011-07-22 Andreas Schwab <schwab@redhat.com>
12229
12230 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12231 line.
12232
12233 2011-07-26 Andreas Schwab <schwab@redhat.com>
12234
12235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12236 encoding to ACE if AI_IDN.
12237
12238 2011-08-01 Jakub Jelinek <jakub@redhat.com>
12239
12240 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12241 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12242
12243 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12244
12245 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12246 Fix overflow bug in strncat.
12247 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12248
12249 * string/test-strncat.c: Update.
12250 Add new tests for checking overflow bugs.
12251
12252 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12253
12254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12255 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12256 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12257 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12258 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12259 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12260 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12261 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12262 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12263
12264 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12265 (USE_AS_STRCAT): Define.
12266 Add strcat and strncat support.
12267 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12268
12269 2011-07-25 Andreas Schwab <schwab@redhat.com>
12270
12271 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12272 __n bigger than INT_MAX+1.
12273 (__strncmp_g): Likewise.
12274
12275 2011-07-23 Ulrich Drepper <drepper@gmail.com>
12276
12277 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12278 * libio/stido.h: Likewise.
12279
12280 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12281 (AF_NFC): Define.
12282 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12283 (AF_NFC): Define.
12284
12285 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12286 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12287 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12288 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12289 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12290
12291 [BZ #13021]
12292 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12293 installed.
12294
12295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12296 typo.
12297 (_dl_x86_64_save_sse): Likewise.
12298
12299 2011-07-22 Ulrich Drepper <drepper@gmail.com>
12300
12301 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12302 OSXSAVE.
12303 (_dl_x86_64_save_sse): Likewise.
12304
12305 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12306
12307 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12308
12309 2011-07-21 Andreas Schwab <schwab@redhat.com>
12310
12311 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12312 change.
12313 (_dl_x86_64_save_sse): Use correct AVX check.
12314
12315 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12316
12317 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12318 bug in strncpy/strncat.
12319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12320
12321 2011-07-21 Ulrich Drepper <drepper@gmail.com>
12322
12323 * string/tester.c (test_strcat): Add tests for different alignments
12324 of source and destination.
12325 (test_strncat): Likewise.
12326
12327 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12328
12329 [BZ #12852]
12330 * posix/glob.c (glob): Check passed in values before using them in
12331 expressions to avoid some overflows.
12332 (glob_in_dir): Likewise.
12333
12334 [BZ #13007]
12335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12336 check for AVX enablement so that we don't crash with old kernels and
12337 new hardware.
12338 * elf/tst-audit4.c: Add same checks here.
12339 * elf/tst-audit6.c: Likewise.
12340
12341 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
12342
12343 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12344
12345 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12346
12347 2011-07-20 Ulrich Drepper <drepper@gmail.com>
12348
12349 * po/cs.po: Update from translation team.
12350 * po/bg.po: Likewise.
12351
12352 2011-07-12 Marek Polacek <mpolacek@redhat.com>
12353
12354 * misc/sys/cdefs.h: Add support for const attribute.
12355 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12356 to gnu_dev_{major,minor,makedev} functions.
12357
12358 2011-07-20 Marek Polacek <mpolacek@redhat.com>
12359
12360 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12361
12362 2011-07-20 Andreas Schwab <schwab@redhat.com>
12363
12364 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12365 strlen results.
12366
12367 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12368
12369 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12370 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12371 register in order to avoid conflicts with the soft frame pointer
12372 being held in r11 when necessary.
12373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12374 (INTERNAL_VSYSCALL_NCS): Likewise.
12375
12376 2011-07-14 Marek Polacek <mpolacek@redhat.com>
12377
12378 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12379 * elf/dl-fini.c (_dl_fini): Adjust caller.
12380 * elf/dl-close.c (_dl_close_worker): Likewise.
12381 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12382
12383 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12384
12385 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12386 "aux_cache->nlibs < 0".
12387
12388 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12389 in the reload-count case.
12390
12391 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12392
12393 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12394 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12395 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12396 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12397 * sysdeps/x86_64/multiarch/strcat.S: New file.
12398 * sysdeps/x86_64/multiarch/strncat.S: New file.
12399 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12400 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12401 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12402 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12403 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12404 (USE_AS_STRCAT): Define.
12405 Add strcat and strncat support.
12406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12407 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12408 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12409 * string/strncat.c: Update.
12410 (USE_AS_STRNCAT): Define.
12411 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12412 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12413 and i7.
12414 * sysdeps/x86_64/multiarch/init-arch.h
12415 (bit_Prefer_PMINUB_for_stringop): New.
12416 (index_Prefer_PMINUB_for_stringop): Likewise.
12417 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12418 bit_Prefer_PMINUB_for_stringop.
12419
12420 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12421
12422 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12423 buffer64.
12424 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12425 of casting of buffer.
12426 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12427 buffer32 and buffer64.
12428 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12429 writes instead of casting of buffer.
12430 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12431 buffer32.
12432 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12433 casting of buffer.
12434
12435 2011-07-19 Andreas Schwab <schwab@redhat.com>
12436
12437 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12438
12439 2011-07-19 Ulrich Drepper <drepper@gmail.com>
12440
12441 * nscd/nscd.c (termination_handler): Don't do anything for a database
12442 if it has not yet been initialized.
12443
12444 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12445
12446 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12447
12448 2011-07-15 Marek Polacek <mpolacek@redhat.com>
12449
12450 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12451
12452 2011-07-18 Ulrich Drepper <drepper@gmail.com>
12453
12454 * po/nl.po: Update from translation team.
12455 * po/sv.po: Likewise.
12456
12457 2011-07-16 Roland McGrath <roland@hack.frob.com>
12458
12459 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12460 now disallowed by GCC.
12461
12462 * configure.in (use-default-link): Default to yes if a test -shared
12463 link meets our qualifications.
12464 * configure: Regenerated.
12465
12466 * config.make.in (output-format): New variable.
12467 * configure.in: Check for ld --print-output-format support.
12468 * configure: Regenerated.
12469 * Makerules ($(common-objpfx)format.lds)
12470 [$(output-format) != unknown]: Just use $(output-format),
12471 instead of the linker-script munging.
12472
12473 2011-07-14 Roland McGrath <roland@hack.frob.com>
12474
12475 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12476 of $(common-objpfx)shlib.lds.
12477 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12478
12479 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12480 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12481
12482 * configure.in (-z relro check): Adjust test code to add a large
12483 writable data section after it.
12484 * configure: Regenerated.
12485
12486 2011-07-11 Roland McGrath <roland@hack.frob.com>
12487
12488 * configure.in (-z relro check): Fix test code to make the variable
12489 truly const.
12490 * configure: Regenerated.
12491
12492 2011-07-11 Ulrich Drepper <drepper@gmail.com>
12493
12494 * nscd/nscd.h (struct traced_file): Define.
12495 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12496 elements. Add traced_files.
12497 (inotify_fd): Declare.
12498 (register_traced_file): Declare.
12499 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12500 (inotify_fd): Export.
12501 (resolv_conf_descr): Remove.
12502 (nscd_init): Move inotify descriptor creation to main.
12503 Don't register files for notification here.
12504 (register_traced_file): New function.
12505 (invalidate_cache): Don't use reset_res to determine whether to call
12506 res_init, go through the list of registered files.
12507 (main_loop_poll): The inotify descriptors are now stored in the
12508 structures for the traced files.
12509 (main_loop_epoll): Likewise
12510 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12511 to __nss_disable_nscd.
12512 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12513 for a database anymore. Check the records for all the registered
12514 files instead.
12515 * nss/Makefile (libnss_files-routines): Add files-init.
12516 (libnss_db-routines): Add db-init.
12517 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12518 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12519 * nss/nss_db/db-init.c: New file.
12520 * nss/nss_files/files-init.c: New file.
12521 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12522 __nss_lookup_function.
12523 (__nss_lookup_function): Call nss_load_library.
12524 (nss_load_all_libraries): New function.
12525 (__nss_disable_nscd): Take parameter with callback function for files
12526 to register. Set is_nscd. Load all the DSOs for the NSS modules
12527 used for the cached services.
12528 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12529 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12530 options for features to all the files in nscd.
12531
12532 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12533
12534 2011-07-10 Roland McGrath <roland@hack.frob.com>
12535
12536 * csu/elf-init.c (__libc_csu_init): Comment typo.
12537
12538 2011-07-09 Ulrich Drepper <drepper@gmail.com>
12539
12540 * po/pl.po: Update from translation team.
12541 * po/ja.po: Likewise.
12542 * po/ru.po: Likewise.
12543 * po/ko.po: Likewise.
12544 * po/fr.po: Likewise.
12545
12546 2011-07-09 Roland McGrath <roland@hack.frob.com>
12547
12548 * configure.in (.ctors/.dtors header and trailer check):
12549 Use an empirical test on a built program.
12550 * configure: Regenerated.
12551
12552 * configure.in (-z relro check): Use an empirical test on a built DSO.
12553 Detect, but do not require, on ia64.
12554 * configure: Regenerated.
12555
12556 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12557 Update tests that use readelf to use $READELF instead.
12558 * configure: Regenerated.
12559
12560 2011-07-08 Ulrich Drepper <drepper@gmail.com>
12561
12562 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12563 if the result is not used.
12564
12565 2011-07-05 Andreas Jaeger <aj@suse.de>
12566
12567 [BZ#9696]
12568 * stdlib/tst-strtod.c: Add testcase.
12569
12570 2011-07-07 Ulrich Drepper <drepper@gmail.com>
12571
12572 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
12573 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
12574 The latter has a higher limit. Take additional parameter to pass to
12575 the new function.
12576 (__pathconf): Pass file to __statfs_link_max.
12577 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12578 __statfs_link_max.
12579 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12580 __statfs_link_max.
12581
12582 [BZ #12868]
12583 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12584 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12585 Handle Lustre.
12586 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12587 (__statfs_filesize_max): Likewise.
12588 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12589
12590 2011-07-05 Andreas Jaeger <aj@suse.de>
12591
12592 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12593
12594 2011-07-06 Marek Polacek <mpolacek@redhat.com>
12595
12596 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12597 `status' variable.
12598 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12599 Likewise.
12600
12601 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12602
12603 * Makefile (strop-tests): Add strncat.
12604 * string/test-strncat.c: New file.
12605
12606 2011-06-30 Marek Polacek <mpolacek@redhat.com>
12607
12608 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12609
12610 2011-06-21 Andreas Jaeger <aj@suse.de>
12611
12612 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12613 Copy rule from iconvdata/Makefile.
12614
12615 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12616
12617 [BZ #12922]
12618 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12619 but no long options are defined, just return 'W'.
12620
12621 2011-06-22 Marek Polacek <mpolacek@redhat.com>
12622
12623 [BZ #9696]
12624 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12625
12626 2011-07-06 Ulrich Drepper <drepper@gmail.com>
12627
12628 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12629 netgroups to read.
12630 (innetgr): Likewise.
12631
12632 2011-07-05 Roland McGrath <roland@hack.frob.com>
12633
12634 * config.make.in (install_root): Default to $(DESTDIR).
12635
12636 2011-07-05 Ulrich Drepper <drepper@gmail.com>
12637
12638 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12639
12640 2011-07-02 Roland McGrath <roland@hack.frob.com>
12641
12642 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12643
12644 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12645 containing directory rather than embedding absolute directory names.
12646
12647 * scripts/check-local-headers.sh: Rewritten using awk.
12648 Match by word, not by line. Print error messages for matches.
12649 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12650
12651 * Makerules [shlib-lds-flags empty]:
12652 ($(common-objpfx)libc_pic.opts): New target.
12653 ($(common-objpfx)libc_pic.os.clean): New target.
12654 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12655
12656 * config.make.in (OBJCOPY): New variable.
12657 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12658 * configure: Regenerated.
12659
12660 * config.make.in (use-default-link): New variable.
12661 * configure.in (use_default_link): Grok --with-default-link to set it.
12662 * configure: Regenerated.
12663 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12664 (shlib-lds, shlib-lds-flags): Define to empty.
12665
12666 * Makerules (shlib-lds): New variable.
12667 (shlib-lds-flags): New variable.
12668 (build-shlib, build-moduile, build-module-asneeded): Use it.
12669 ($(common-objpfx)libc.so): Use $(shlib-lds).
12670 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12671 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12672
12673 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12674 DT_FLAGS/DT_FLAGS_1 with zero flags.
12675
12676 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12677 linker script munging.
12678
12679 2011-07-02 Ulrich Drepper <drepper@gmail.com>
12680
12681 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12682 as 128-bit value.
12683 * crypt/sha512.c (sha512_process_block): Perform total addition using
12684 128-bit if possible.
12685 (__sha512_finish_ctx): Likewise.
12686 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12687 as 64-bit value.
12688 * crypt/sha256.c (SWAP64): Define.
12689 (sha256_process_block): Perform total addition using 64-bit if
12690 possible.
12691 (__sha256_finish_ctx): Likewise.
12692
12693 2011-07-01 Ulrich Drepper <drepper@gmail.com>
12694
12695 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12696 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12697 * nscd/hstcache.c (cache_addhst): Likewise.
12698 * nscd/grpcache.c (cache_addgr): Likewise.
12699 * nscd/aicache.c (addhstaiX): Likewise
12700 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12701
12702 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
12703
12704 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12705 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12706 * nscd/hstcache.c (cache_addhst): Likewise.
12707 * nscd/grpcache.c (cache_addgr): Likewise.
12708 * nscd/aicache.c (addhstaiX): Likewise
12709
12710 2011-07-01 Andreas Schwab <schwab@redhat.com>
12711
12712 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12713 domain only when needed.
12714
12715 2011-06-30 Andreas Schwab <schwab@redhat.com>
12716
12717 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12718 is always restored.
12719
12720 2011-06-29 Ulrich Drepper <drepper@gmail.com>
12721
12722 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12723 are re-adding the entry.
12724 * nscd/servicescache.c (cache_addserv): Likewise.
12725
12726 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12727
12728 * sysdeps/generic/dl-irel.h: fix protection against multiple
12729 inclusions.
12730 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12731
12732 2011-06-28 Ulrich Drepper <drepper@gmail.com>
12733
12734 [BZ #12935]
12735 * malloc/memusage.sh: Fix quoting in message.
12736 * debug/xtrace.sh: Likewise.
12737
12738 * configure.in: Remove support for --experimental-malloc option, make
12739 it the default.
12740 * config.make.in: Likewise.
12741 * malloc/Makefile: Likewise.
12742
12743 2011-06-27 Andreas Schwab <schwab@redhat.com>
12744
12745 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12746 two-byte characters.
12747
12748 2011-06-27 Roland McGrath <roland@hack.frob.com>
12749
12750 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12751 AC_CACHE_CHECK invocation.
12752 * configure: Regenerated.
12753
12754 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12755
12756 2011-06-27 Ulrich Drepper <drepper@gmail.com>
12757
12758 [BZ #12350]
12759 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12760 bit from old_res_options.
12761
12762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12763
12764 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12765 value type for setfct.
12766
12767 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12768
12769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12770 __gettimeofday instead of gettimeofday.
12771
12772 2011-06-26 Ulrich Drepper <drepper@gmail.com>
12773
12774 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12775
12776 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12777
12778 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12779
12780 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12781 info.
12782
12783 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12784
12785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12786 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12787 strcpy-sse2-unaligned strncpy-sse2-unaligned
12788 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12789 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12790 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12791 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12792 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12793 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12795 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12796 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12797 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12798 (STRCPY): Support SSE2 and SSSE3 versions.
12799
12800 2011-06-24 Ulrich Drepper <drepper@gmail.com>
12801
12802 [BZ #12874]
12803 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12804 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12805 kernels which artificially limit size of requests.
12806
12807 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12810 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12811 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12812 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12813 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12814 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12815 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12816 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12817 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12818 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12819 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12820 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12821 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12822 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12823 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12825 Enable unaligned load optimization for Intel Core i3, i5 and i7
12826 processors.
12827 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12828 Define.
12829 (index_Fast_Unaligned_Load): Define.
12830 (HAS_FAST_UNALIGNED_LOAD): Define.
12831
12832 2011-06-23 Marek Polacek <mpolacek@redhat.com>
12833
12834 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12835
12836 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12837
12838 [BZ #12907]
12839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12840 until it is clear that the information is realy needed.
12841 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12842
12843 2011-06-22 Andreas Schwab <schwab@redhat.com>
12844
12845 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12846
12847 2011-06-22 Ulrich Drepper <drepper@gmail.com>
12848
12849 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12850 /sys/devices/system/cpu/online if it is usable.
12851
12852 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12853 reading the information from the /proc filesystem to once a second.
12854
12855 2011-06-21 Andreas Jaeger <aj@suse.de>
12856
12857 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12858 NULL after inclusion of kernel headers.
12859
12860 2011-06-21 Ulrich Drepper <drepper@gmail.com>
12861
12862 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12863 calls to internal_setent.
12864
12865 [BZ #12885]
12866 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12867 addresses using gethostbyname4_r ignore IPv4 addresses.
12868
12869 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12870 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12871
12872 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12873
12874 2011-06-20 David S. Miller <davem@davemloft.net>
12875
12876 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12877 inclusions.
12878 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12879
12880 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12881 (elf_irel): Use it.
12882 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12883 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12884 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12885 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12886 * sysdeps/x86_64/dl-irel.h: Likewise.
12887
12888 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12889 * elf/dl-sym.c: Likewise.
12890
12891 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12892
12893 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12894 need to dereference resplen2.
12895
12896 2011-06-14 Andreas Schwab <schwab@redhat.com>
12897
12898 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12899
12900 2011-06-15 Ulrich Drepper <drepper@gmail.com>
12901
12902 * Makeconfig: Define vardbdir and inst_vardbdir.
12903 * nss/Makefile: Add rules to install db-Makefile.
12904
12905 * nss/nss_db/db-XXX.c: Cleanup.
12906
12907 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12908 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12909 GLIBC_PRIVATE.
12910 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12911 * nss/makedb.c: Implement -g option to specify that value strings
12912 are generated and should not be added to table iterated over for
12913 get*ent calls.
12914 * nss/nss_db/db-initgroups.c: New file.
12915
12916 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12917 interface.
12918
12919 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12920 (internal_getgrouplist): Adjust to name change.
12921 Update use_initgroups_entry if this is not the first call.
12922 * nss/databases.def: Add initgroups entry.
12923
12924 * nss/makedb.c (compute_tables): Check result of multiple hash table
12925 sizes to minimize maximum chain length.
12926
12927 2011-06-14 Ulrich Drepper <drepper@gmail.com>
12928
12929 * Versions.def: Add entry for libnss_db.
12930 * shlib-versions: Likewise.
12931 * nss/Makefile: Add rules to build libnss_db.
12932 * nss/Versions: Add libnss_db information. Organize libnss_files
12933 entries better.
12934 * nss/db-Makefile: Add gshadow support. Change rules for the new
12935 makedb progra. Some minor improvements to generate smaller files.
12936 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12937 here from...
12938 * nss/makedb.c: ...here.
12939 Improve database format to be smaller and require less memory at
12940 runtime.
12941 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12942 db anymore.
12943 * nss/nss_db/db-netgrp.c: Likewise.
12944 * nss/nss_db/db-open.c: Likewise.
12945 * nss/nss_files/flies-XXX.x: Adjust comments.
12946 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12947 * nss/nss_files/files-grp.c: Likewise.
12948 * nss/nss_files/files-hosts.c: Likewise.
12949 * nss/nss_files/files-network.c: Likewise.
12950 * nss/nss_files/files-proto.c: Likewise.
12951 * nss/nss_files/files-pwd.c: Likewise.
12952 * nss/nss_files/files-rpc.c: Likewise.
12953 * nss/nss_files/files-service.c: Likewise.
12954 * nss/nss_files/files-sgrp.c: Likewise.
12955 * nss/nss_files/files-spwd.c: Likewise.
12956 * nss/nss_db/db-alias.c: Removed.
12957 * nss/nss_db/dummy-db.h: Removed.
12958
12959 2011-06-02 Ulrich Drepper <drepper@gmail.com>
12960
12961 * nss/makedb.c: Rewritten to not use database library.
12962 * nss/Makefile: Update to build new makedb program.
12963
12964 2011-06-14 Andreas Jaeger <aj@suse.de>
12965
12966 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12967 memset declaration.
12968
12969 2011-06-10 Andreas Schwab <schwab@redhat.com>
12970
12971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12972 tmpbuf.
12973
12974 2011-06-10 Roland McGrath <roland@hack.frob.com>
12975
12976 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12977 * elf/Makefile ($(objpfx)ld.so): Likewise.
12978
12979 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12980 Don't list ld.so twice in dependencies.
12981
12982 * posix/bug-regex31.c: Include <stdlib.h>.
12983
12984 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12985
12986 * nis/nss_compat/compat-spwd.c
12987 (getspent_next_nss_netgr): Remove unused variable.
12988 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12989
12990 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12991 nonmembers" output to use the right array.
12992
12993 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12994
12995 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12996
12997 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12998 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12999 * catgets/gencat.c (read_input_file): Likewise.
13000 * locale/programs/locarchive.c (enlarge_archive): Likewise.
13001
13002 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
13003 variable definition inside #if's controlling its use.
13004
13005 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
13006
13007 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
13008
13009 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
13010
13011 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
13012 unreachable code.
13013
13014 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
13015
13016 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
13017 * configure: Regenerated.
13018
13019 * Makerules: Revert last change.
13020 * elf/Makefile: Likewise.
13021
13022 2011-06-09 Roland McGrath <roland@hack.frob.com>
13023
13024 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
13025 * elf/Makefile ($(objpfx)librtld.os): Likewise.
13026 (reloc-link): Likewise.
13027
13028 2011-06-09 Ulrich Drepper <drepper@gmail.com>
13029
13030 * elf/Makefile: Add rules to build pldd.
13031 * elf/pldd.c: New file.
13032 * elf/pldd-xx.c: New file.
13033
13034 2011-06-07 Ulrich Drepper <drepper@gmail.com>
13035
13036 * version.h: Update for 2.15 development version.
13037
13038 2011-06-07 David S. Miller <davem@davemloft.net>
13039
13040 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13041 ifuncs.
13042 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13043 elf_machine_lazy_rel): Likewise.
13044 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13045 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13046 elf_machine_lazy_rel): Likewise.
13047 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13048 dl_hwcap via passed in argument.
13049 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13050 Likewise.
13051
13052 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13053
13054 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13055
13056 2011-06-06 Roland McGrath <roland@hack.frob.com>
13057
13058 [BZ #12849]
13059 * manual/fdl-1.1.texi: New file, verbatim from:
13060 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13061 * manual/lgpl-2.1.texi: New file, verbatim from:
13062 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13063 * manual/Makefile (licenses): New variable, list those new file names.
13064 (texis): Use it.
13065 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13066
13067 * manual/fdl.texi: File removed.
13068 * manual/lesser.texi: File removed.
13069 * manual/libc.texinfo (Copying, Documentation License):
13070 Use new @include file names, put @appendix directive before @include.
13071
13072 2011-06-04 Jakub Jelinek <jakub@redhat.com>
13073
13074 [BZ #12841]
13075 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13076 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13077 (mq_open): Add __NTH.
13078
13079 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13080
13081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13082 Assume Intel Core i3/i5/i7 processor if AVX is available.
13083
13084 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13085
13086 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13087 typo.
13088
13089 2011-05-31 Andreas Schwab <schwab@redhat.com>
13090
13091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13092 memory. Use alloca_account. Fix memory leak when retrying.
13093
13094 2011-05-31 Ulrich Drepper <drepper@gmail.com>
13095
13096 * version.h (RELEASE): Bump for 2.14 release.
13097 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13098
13099 * config.make.in (RANLIB): Remove entry.
13100
13101 2011-05-30 Ulrich Drepper <drepper@gmail.com>
13102
13103 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13104 (libc.pot): Work around missing support for .ksh extension in xgettext.
13105
13106 [BZ #12684]
13107 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13108 if both request failed.
13109 (send_dg): In case of server errors clear resplen or *resplen2.
13110
13111 [BZ #12454]
13112 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13113 when there are multiple maps.
13114 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13115 (_dl_fini): Remove test here.
13116
13117 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13118
13119 2011-05-29 Ulrich Drepper <drepper@gmail.com>
13120
13121 [BZ #12350]
13122 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13123 bit from old_res_options.
13124 (gaih_inet): Likewise.
13125
13126 [BZ #11099]
13127 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
13128 as signed.
13129
13130 * resolv/res_init.c (res_setoptions): Make the code more compact.
13131
13132 [BZ #11558]
13133 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13134 set RES_USEVC.
13135
13136 [BZ #11634]
13137 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13138
13139 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13140
13141 [BZ #11781]
13142 * malloc/malloc.h: Declare malloc hook variables as volatile.
13143
13144 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13145 in last patch.
13146
13147 [BZ #11799]
13148 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
13149 raise in the comment.
13150 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13152 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
13153
13154 2011-05-28 Ulrich Drepper <drepper@gmail.com>
13155
13156 [BZ #12811]
13157 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13158 grow the buffers more if it already has to be sufficient.
13159 (build_wcs_upper_buffer): Likewise.
13160 * posix/regexec.c (check_matching): Likewise.
13161 (clean_state_log_if_needed): Likewise.
13162 (extend_buffers): Don't enlarge buffers beyond size of the input
13163 buffer.
13164 Patches mostly by Emil Wojak <emil@wojak.eu>.
13165 * posix/bug-regex32.c: New file.
13166 * posix/Makefile (tests): Add bug-regex32.
13167
13168 * locale/findlocale.c (_nl_find_locale): Return right away if
13169 _nl_explode_name failed.
13170 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13171
13172 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13173
13174 * debug/xtrace.sh: Unify messages.
13175 * malloc/memusage.sh: Likewise.
13176
13177 [BZ #12813]
13178 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13179 time symbol from vDSO. Substitute with vsyscall if not available.
13180 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13181 __vdso_time.
13182
13183 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13184 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13185 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13186 Add sendmmsg and internal_sendmmsg.
13187 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13188 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13189 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13190
13191 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13192 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13193 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13194
13195 2011-05-27 Ulrich Drepper <drepper@gmail.com>
13196
13197 [BZ #12813]
13198 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13199 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13200 available.
13201 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13202 __vdso_getcpu.
13203
13204 [BZ #12814]
13205 * iconvdata/Makefile (tests): Add bug-iconv9.
13206 * iconvdata/bug-iconv9.c: New file.
13207
13208 2011-05-27 Andreas Schwab <schwab@redhat.com>
13209
13210 [BZ #12814]
13211 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13212
13213 2011-05-25 Jakub Jelinek <jakub@redhat.com>
13214
13215 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13216 (struct user_regs_struct): Change intcs field back to cs.
13217
13218 2011-05-25 Ulrich Drepper <drepper@gmail.com>
13219
13220 * po/ja.po: Update from translation team.
13221
13222 2011-05-23 Ulrich Drepper <drepper@gmail.com>
13223
13224 [BZ #12795]
13225 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13226 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13227
13228 2011-05-20 Andreas Schwab <schwab@redhat.com>
13229
13230 * stdlib/longlong.h: Update from GCC.
13231
13232 2011-05-23 Andreas Schwab <schwab@redhat.com>
13233
13234 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13235 parameter name.
13236 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13237 Add parameter name.
13238 (__sysconf): Pass it down.
13239
13240 2011-05-22 Ulrich Drepper <drepper@gmail.com>
13241
13242 [BZ #12671]
13243 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13244 some situations.
13245 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13246 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13247 add in in __libc_use_alloca calls. Adjust callers.
13248 (glob): Use malloc in some situations.
13249
13250 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13251 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13252 pltexit.
13253
13254 2011-05-21 Ulrich Drepper <drepper@gmail.com>
13255
13256 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13257 and CLOCK_BOOTTIME_ALARM.
13258
13259 [BZ #12782]
13260 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13261 is returned.
13262
13263 * string/_strerror.c (__strerror_r): Print negative errors as signed
13264 numbers.
13265
13266 [BZ #12777]
13267 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13268 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13269 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13270
13271 * configure.in: Fix typo in redirection and correct removal of test
13272 files in two cases.
13273
13274 [BZ #12788]
13275 * locale/setlocale.c (new_composite_name): Fix test to check for
13276 identical name of all categories.
13277
13278 [BZ #12792]
13279 * libio/filedoalloc.c (local_isatty): New function.
13280 (_IO_file_doallocate): Use local_isatty.
13281 * stdio-common/perror.c (perror): In case a new stream is used
13282 forward the stream error.
13283 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13284 error flag.
13285
13286 2011-05-20 Ulrich Drepper <drepper@gmail.com>
13287
13288 [BZ #11869]
13289 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13290 alloca.
13291 * include/alloca.h (extend_alloca_account): Define.
13292
13293 [BZ #11857]
13294 * posix/regex.h: Fix comments with documentation of user-accessible
13295 fields after compilation and describe correct free'ing of pattern
13296 after re_compile_pattern.
13297 Patch by Reuben Thomas <rrt@sc3d.org>.
13298
13299 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13300
13301 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13302 and -mno-altivec to prevent the compiler from using Altivec and/or
13303 VSX instructions when the corresponding registers are not available.
13304
13305 2011-05-19 Andreas Schwab <schwab@redhat.com>
13306
13307 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13308
13309 2011-05-19 Ulrich Drepper <drepper@gmail.com>
13310
13311 * libio/freopen.c (freopen): Use __dup2, not dup2.
13312 * libio/freopen64.c (freopen64): Likewise.
13313
13314 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13315
13316 [BZ #12775]
13317 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13318 * math/Makefile (tests): Add test-powl.
13319 (CFLAGS-test-powl.c): Define.
13320 * math/test-powl.c: New file.
13321
13322 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13325
13326 2011-05-17 Ulrich Drepper <drepper@gmail.com>
13327
13328 [BZ #11837]
13329 * iconvdata/gb18030.c: Update to GB18020-2005.
13330
13331 2011-05-16 Ulrich Drepper <drepper@gmail.com>
13332
13333 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13334 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13335 Patch by Aharon Robbins <arnold@skeeve.com>.
13336
13337 [BZ #11892]
13338 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13339 on the stack.
13340
13341 [BZ #11895]
13342 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13343 through underflows.
13344
13345 [BZ #12766]
13346 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13347 point to strings before performing equality test for error_one_per_line
13348 mode.
13349
13350 [BZ #11697]
13351 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13352
13353 [BZ #11820]
13354 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13355 (struct user_fpregs_struct): Avoid __uint*_t types.
13356
13357 [BZ #6420]
13358 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13359 symbol info. Use it instead of calling _dl_addr locally.
13360 (lock_and_info): New function.
13361 (tr_freehook): Call lock_and_info and pass symbol info as additional
13362 parameter to tr_where.
13363 (tr_mallochook): Likewise.
13364 (tr_reallochook): Likewise.
13365 (tr_memalignhook): Likewise.
13366
13367 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13368 used and couldn't be at all thread-safe.
13369
13370 2011-05-15 Ulrich Drepper <drepper@gmail.com>
13371
13372 * libio/freopen.c (freopen): Don't close old file descriptor
13373 before the new one is opened. Instead dup the new file descriptor
13374 to the old one after the new stream is created.
13375 * libio/freopen64.c (freopen64): Likewise.
13376 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13377 * libio/fileops.c (_IO_new_file_close_it): Handle new
13378 _IO_FLAGS2_NOCLOSE flag.
13379 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13380 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13381 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13382 _IO_FLAGS2_NOCLOSE flag.
13383 * include/unistd.h: Add hidden_proto for dup3.
13384 Define __have_dup3.
13385 * io/dup3.c: Define hidden symbol.
13386 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13387
13388 [BZ #7101]
13389 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13390 when an incomplete long option is used.
13391 * posix/tst-getopt_long1.c: New file.
13392 * posix/Makefile (tests): Add tst-getopt_long1.
13393
13394 [BZ #10138]
13395 * scripts/config.guess: Update from autoconf-2.68.
13396 * scripts/config.sub: Likewise.
13397
13398 [BZ #10157]
13399 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13400 tests into ...
13401 (has_cpuclock): ...this. New function.
13402 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13403 macro here based on has_cpuclock code.
13404
13405 [BZ #10149]
13406 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13407 First byte (not low byte) is now always NUL.
13408 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13409
13410 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13411 Use non-cancelable interfaces.
13412
13413 [BZ #9809]
13414 * locale/iso-639.def: Add entry for Sorani.
13415
13416 [BZ #11901]
13417 * include/stdlib.h: Move include protection to the right place.
13418 Define abort_msg_s. Declare __abort_msg with it.
13419 * stdlib/abort.c (__abort_msg): Adjust type.
13420 * assert/assert.c (__assert_fail_base): New function. Majority
13421 of code from __assert_fail. Allocate memory for __abort_msg with
13422 mmap.
13423 (__assert_fail): Now call __assert_fail_base.
13424 * assert/assert-perr.c: Remove bulk of implementation. Use
13425 __assert_fail_base.
13426 * include/assert.hL Declare __assert_fail_base.
13427 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13428 mmap.
13429 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13430
13431 2011-05-14 Ulrich Drepper <drepper@gmail.com>
13432
13433 [BZ #11952]
13434 [BZ #12453]
13435 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13436 until all modules are registered in the DTV.
13437 * elf/Makefile: Add rules to build and run tst-tls19.
13438 * elf/tst-tls19.c: New file.
13439 * elf/tst-tls19mod1.c: New file.
13440 * elf/tst-tls19mod2.c: New file.
13441 * elf/tst-tls19mod3.c: New file.
13442 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13443
13444 [BZ #12083]
13445 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13446 correctly.
13447
13448 [BZ #12601]
13449 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13450 two-byte sequence errors.
13451 * iconvdata/Makefile (tests): Add bug-iconv8.
13452 * iconvdata/bug-iconv8.c: New file.
13453
13454 [BZ #12626]
13455 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13456 buf2 definition.
13457
13458 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13459
13460 [BZ #12432]
13461 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13462 (dummy_getcfa): New function.
13463 (init): Get _Unwind_GetCFA address, use dummy if not found.
13464 (backtrace_helper): In recursion check, also check whether CFA changes.
13465 (__backtrace): Completely initialize arg.
13466
13467 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
13468 storing incomplete byte sequence in state object. Avoid testing for
13469 guaranteed too small input if we know there is enough data available.
13470
13471 2011-05-11 Andreas Schwab <schwab@redhat.com>
13472
13473 * Makeconfig (+link-pie): Indent.
13474 * Rules (binaries-pie): Define if $(have-fpie) and
13475 $(build-shared).
13476 (binaries-shared): Also filter out $(binaries-pie).
13477 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13478 * nscd/Makefile (others-pie): Add nscd.
13479 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13480 ($(objpfx)nscd): Remove command override.
13481 * login/Makefile (others-pie): Add pt_chown.
13482 ($(objpfx)pt_chown): Remove command override.
13483 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13484 remove command overrides.
13485
13486 2011-05-13 Ulrich Drepper <drepper@gmail.com>
13487
13488 * libio/tst_putwc.c: Fix error messages.
13489
13490 [BZ #12724]
13491 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13492 currently writing and seek to current position when not.
13493 * libio/Makefile (tests): Add bug-fclose1.
13494 * libio/bug-fclose1.c: New file.
13495
13496 2011-05-12 Ulrich Drepper <drepper@gmail.com>
13497
13498 [BZ #12511]
13499 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13500 don't set DF_1_NODELETE here.
13501 (do_lookup_x): When entering new entry test for copy relocation
13502 and if necessary set DF_1_NODELETE flag.
13503 * elf/tst-unique4.cc: New file.
13504 * elf/tst-unique4.h: New file.
13505 * elf/tst-unique4lib.cc: New file.
13506 * elf/Makefile: Add rules to build and run tst-unique4.
13507 Patch by Piotr Bury <pbury@goahead.com>.
13508
13509 2011-05-11 Ulrich Drepper <drepper@gmail.com>
13510
13511 [BZ #12052]
13512 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13513
13514 [BZ #12625]
13515 * misc/mntent_r.c (addmntent): Flush the stream after the output
13516
13517 [BZ #12393]
13518 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13519 (is_trusted_path_normalize): Skip initial colon. Append slash
13520 to empty buffer. Duplicate is_trusted_path code but allow
13521 constructed patch to be prefix.
13522 (is_dst): Allow $ORIGIN followed by /.
13523 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13524 Correct testing of result of is_trusted_path_normalize
13525 (decompose_rpath): Fix warning.
13526
13527 2011-05-10 Ulrich Drepper <drepper@gmail.com>
13528
13529 [BZ #11257]
13530 * grp/initgroups.c (internal_getgrouplist): When we found the service
13531 list through the initgroups entry in nsswitch.conf do not always
13532 continue on a successful lookup. Don't always use the
13533 __nss_group_database value if it is set.
13534 * nss/nsswitch.conf (initgroups): Change action for successful db
13535 lookup to continue for compatibility.
13536
13537 2011-05-09 Ulrich Drepper <drepper@gmail.com>
13538
13539 [BZ #11532]
13540 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13541 and CP774 modules.
13542 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13543 and CP774 modules.
13544 * iconvdata/tst-tables.sh: Likewise.
13545 * iconvdata/cp770.c: New file.
13546 * iconvdata/cp771.c: New file.
13547 * iconvdata/cp772.c: New file.
13548 * iconvdata/cp773.c: New file.
13549 * iconvdata/cp774.c: New file.
13550 * iconvdata/testdata/CP770: New file.
13551 * iconvdata/testdata/CP770..UTF8: New file.
13552 * iconvdata/testdata/CP771: New file.
13553 * iconvdata/testdata/CP771..UTF8: New file.
13554 * iconvdata/testdata/CP772: New file.
13555 * iconvdata/testdata/CP772..UTF8: New file.
13556 * iconvdata/testdata/CP773: New file.
13557 * iconvdata/testdata/CP773..UTF8: New file.
13558 * iconvdata/testdata/CP774: New file.
13559 * iconvdata/testdata/CP774..UTF8: New file.
13560
13561 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13562 END CHARMAP line.
13563 * iconvdata/gen-8bit-gap.sh: Likewise.
13564 * iconvdata/gen-8bit.sh: Likewise.
13565
13566 * locale/iso-639.def: Add ary entry.
13567
13568 [BZ #11258]
13569 * locale/C-translit.h.in: Add U20A1 transliteration.
13570
13571 [BZ #12178]
13572 * locale/iso-639.def: Add wae entry.
13573 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13574
13575 [BZ #12545]
13576 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13577 for n.
13578
13579 [BZ #12711]
13580 * locale/C-translit.h.in: Add entry for U20B9.
13581 Patch by pravin.d.s@gmail.com.
13582
13583 2011-05-08 Ulrich Drepper <drepper@gmail.com>
13584
13585 [BZ #12713]
13586 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13587 ENAMETOOLONG use generic getcwd.
13588 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13589 in rtld. Use *stat64.
13590 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
13591 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
13592 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
13593 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13594 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13595 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13596 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13597 __fstatat64 macros.
13598 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13599 * dirent/rewinddir.c: Add libc_hidden_def.
13600 * sysdeps/mach/hurd/rewinddir.c: Likewise.
13601 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
13602
13603 * include/dirent.h (__alloc_dir): Add flags parameter.
13604 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13605 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13606 __alloc_dir.
13607 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13608 from fdopendir if O_CLOEXEC is already set.
13609
13610 2011-03-15 Alan Modra <amodra@gmail.com>
13611
13612 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13613 l_tls_firstbyte_offset non-zero. Save padding offset in
13614 l_tls_firstbyte_offset for later use.
13615 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13616 freeing static tls block.
13617
13618 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13619
13620 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13621 where #ifdef was intended. The intent is to prevent ARG_MAX from
13622 being defined by the kernel headers.
13623
13624 2011-05-07 Ulrich Drepper <drepper@gmail.com>
13625
13626 [BZ #12734]
13627 * resolv/resolv.h: Define RES_NOTLDQUERY.
13628 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13629 no-tld-query and set RES_NOTLDQUERY.
13630 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13631 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13632 modern BIND to search name as TLD unless forbidden.
13633
13634 2011-05-07 Petr Baudis <pasky@suse.cz>
13635 Ulrich Drepper <drepper@gmail.com>
13636
13637 [BZ #12393]
13638 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13639 (is_trusted_path): ...to here.
13640 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
13641 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
13642 using is_trusted_path_normalize() in setuid scripts.
13643
13644 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13645
13646 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13647 __BEGIN/__END_DECLS.
13648
13649 2011-05-06 Ulrich Drepper <drepper@gmail.com>
13650
13651 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13652 NSS_STATUS_NOTFOUND if no record was found.
13653
13654 2011-05-05 Andreas Schwab <schwab@redhat.com>
13655
13656 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13657 (headers-not-in-tirpc): Remove rpc/netdb.h
13658 * resolv/netdb.h: Revert last change.
13659
13660 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13661
13662 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13663 circular dependency between libgcc.a and libc.a.
13664
13665 2011-05-05 Andreas Schwab <schwab@redhat.com>
13666
13667 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13668 * nis/Makefile: Don't install rpcsvc/*.
13669 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13670 instead of <rpc/types.h>.
13671 (MAXHOSTNAMELEN): Define.
13672
13673 2011-05-03 Andreas Schwab <schwab@redhat.com>
13674
13675 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13676
13677 2011-04-28 Maciej Babinski <mbabinski@google.com>
13678
13679 [BZ #12714]
13680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13681 gethostbyname4_r when IPv6 results are possible.
13682
13683 2011-05-02 Ulrich Drepper <drepper@gmail.com>
13684
13685 [BZ #12723]
13686 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13687 _PC_PIPE_BUF handling.
13688
13689 2011-04-30 Bruno Haible <bruno@clisp.org>
13690
13691 [BZ #12717]
13692 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13693 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13694 to 'int'.
13695 * inet/getnameinfo.c (getnameinfo): Likewise.
13696
13697 2011-04-29 Ulrich Drepper <drepper@gmail.com>
13698
13699 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13700 to groups setting in database lookup.
13701 * nss/nsswitch.conf: Add initgroups entry.
13702
13703 2011-04-22 Ulrich Drepper <drepper@gmail.com>
13704
13705 [BZ #12685]
13706 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13707 mode string.
13708 Patch by Eric Blake <eblake@redhat.com>.
13709
13710 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13711
13712 * sunrpc/Makefile (need-export-routines): Add svc_run.
13713 (routines): Remove svc_run.
13714 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13715 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13716 * sunrpc/svc_run.c (svc_run): Likewise.
13717 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13718
13719 2011-04-21 Ulrich Drepper <drepper@gmail.com>
13720
13721 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13722 problem in reallocation in last patch.
13723
13724 2011-04-20 Ulrich Drepper <drepper@gmail.com>
13725
13726 * sunrpc/Makefile: Move inclusion of Rules.
13727
13728 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13729
13730 * nss/nss_files/files-initgroups.c: New file.
13731 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13732 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13733 _nss_files_initgroups_dyn.
13734
13735 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13736
13737 * elf/elf.h (R_ARM_IRELATIVE): Define.
13738
13739 2011-04-19 Ulrich Drepper <drepper@gmail.com>
13740
13741 * po/ru.po: Update from translation team.
13742
13743 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13744
13745 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13746 dependencies.
13747
13748 2011-02-06 Mike Frysinger <vapier@gentoo.org>
13749
13750 [BZ #12653]
13751 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13752 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13753 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13754 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13755 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13756
13757 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13758
13759 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13760 differing bytes.
13761 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13762 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13763 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13764
13765 2011-04-17 Ulrich Drepper <drepper@gmail.com>
13766
13767 [BZ #12420]
13768 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13769 storing it.
13770 * stdlib/bug-getcontext.c: New file.
13771 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13772
13773 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13774
13775 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13776 instructions into .machine "z9-109".
13777 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13778 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13779
13780 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13781
13782 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13783 between environment variables and auxiliary vector.
13784
13785 2011-04-16 Ulrich Drepper <drepper@gmail.com>
13786
13787 * Makefile: Add rules to build linkobj/libc.so.
13788 * include/libc-symbols.h: Define libc_hidden_nolink.
13789 * include/rpc/auth.h: Mark functions which are to be hidden.
13790 * include/rpc/auth_des.h: Likewise.
13791 * include/rpc/auth_unix.h: Likewise.
13792 * include/rpc/clnt.h: Likewise.
13793 * include/rpc/des_crypt.h: Likewise.
13794 * include/rpc/key_prot.h: Likewise.
13795 * include/rpc/pmap_clnt.h: Likewise.
13796 * include/rpc/pmap_prot.h: Likewise.
13797 * include/rpc/pmap_rmt.h: Likewise.
13798 * include/rpc/rpc_msg.h: Likewise.
13799 * include/rpc/svc.h: Likewise.
13800 * include/rpc/svc_auth.h: Likewise.
13801 * include/rpc/xdr.h: Likewise.
13802 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13803 * nss/Makefile: Likewise.
13804 * sunrpc/Makefile: Don't install headers. Build library with normal
13805 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13806 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13807 for the compat linking library. Remove use of INTDEF/INTUSE.
13808 * sunrpc/auth_none.c: Likewise.
13809 * sunrpc/auth_unix.c: Likewise.
13810 * sunrpc/authdes_prot.c: Likewise.
13811 * sunrpc/authuxprot.c: Likewise.
13812 * sunrpc/clnt_gen.c: Likewise.
13813 * sunrpc/clnt_perr.c: Likewise.
13814 * sunrpc/clnt_raw.c: Likewise.
13815 * sunrpc/clnt_simp.c: Likewise.
13816 * sunrpc/clnt_tcp.c: Likewise.
13817 * sunrpc/clnt_udp.c: Likewise.
13818 * sunrpc/clnt_unix.c: Likewise.
13819 * sunrpc/des_crypt.c: Likewise.
13820 * sunrpc/des_soft.c: Likewise.
13821 * sunrpc/get_myaddr.c: Likewise.
13822 * sunrpc/key_call.c: Likewise.
13823 * sunrpc/key_prot.c: Likewise.
13824 * sunrpc/netname.c: Likewise.
13825 * sunrpc/pm_getmaps.c: Likewise.
13826 * sunrpc/pm_getport.c: Likewise.
13827 * sunrpc/pmap_clnt.c: Likewise.
13828 * sunrpc/pmap_prot.c: Likewise.
13829 * sunrpc/pmap_prot2.c: Likewise.
13830 * sunrpc/pmap_rmt.c: Likewise.
13831 * sunrpc/publickey.c: Likewise.
13832 * sunrpc/rpc_cmsg.c: Likewise.
13833 * sunrpc/rpc_common.c: Likewise.
13834 * sunrpc/rpc_dtable.c: Likewise.
13835 * sunrpc/rpc_prot.c: Likewise.
13836 * sunrpc/rpc_thread.c: Likewise.
13837 * sunrpc/rtime.c: Likewise.
13838 * sunrpc/svc.c: Likewise.
13839 * sunrpc/svc_auth.c: Likewise.
13840 * sunrpc/svc_authux.c: Likewise.
13841 * sunrpc/svc_raw.c: Likewise.
13842 * sunrpc/svc_run.c: Likewise.
13843 * sunrpc/svc_simple.c: Likewise.
13844 * sunrpc/svc_tcp.c: Likewise.
13845 * sunrpc/svc_udp.c: Likewise.
13846 * sunrpc/svc_unix.c: Likewise.
13847 * sunrpc/svcauth_des.c: Likewise.
13848 * sunrpc/xcrypt.c: Likewise.
13849 * sunrpc/xdr.c: Likewise.
13850 * sunrpc/xdr_array.c: Likewise.
13851 * sunrpc/xdr_float.c: Likewise.
13852 * sunrpc/xdr_intXX_t.c: Likewise.
13853 * sunrpc/xdr_mem.c: Likewise.
13854 * sunrpc/xdr_rec.c: Likewise.
13855 * sunrpc/xdr_ref.c: Likewise.
13856 * sunrpc/xdr_sizeof.c: Likewise.
13857 * sunrpc/xdr_stdio.c: Likewise.
13858
13859 2011-04-10 Ulrich Drepper <drepper@gmail.com>
13860
13861 [BZ #12650]
13862 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13863 * sysdeps/ia64/dl-tls.h: Likewise.
13864 * sysdeps/powerpc/dl-tls.h: Likewise.
13865 * sysdeps/s390/dl-tls.h: Likewise.
13866 * sysdeps/sh/dl-tls.h: Likewise.
13867 * sysdeps/sparc/dl-tls.h: Likewise.
13868 * sysdeps/x86_64/dl-tls.h: Likewise.
13869 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13870
13871 2011-03-14 Andreas Schwab <schwab@redhat.com>
13872
13873 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13874 rpath element also skip the following colon.
13875 (expand_dynamic_string_token): Add is_path parameter and pass
13876 down to DL_DST_REQUIRED and _dl_dst_substitute.
13877 (decompose_rpath): Call expand_dynamic_string_token with
13878 non-zero is_path. Ignore empty rpaths.
13879 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13880 with zero is_path.
13881
13882 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13883
13884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13885 Make cancelable.
13886
13887 2011-04-09 Ulrich Drepper <drepper@gmail.com>
13888
13889 [BZ #12655]
13890 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13891 Patch by Filipe David Manana <fdmanana@apache.org>.
13892
13893 2011-04-07 Andreas Schwab <schwab@redhat.com>
13894
13895 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13896 Maintain aligned stack.
13897 (CHECK_RSP): Remove unused macro.
13898
13899 2011-04-03 Ulrich Drepper <drepper@gmail.com>
13900
13901 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13902 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13903
13904 2011-04-02 Ulrich Drepper <drepper@gmail.com>
13905
13906 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13907
13908 * include/features.h: Mention __USE_XOPEN2K8 in comment.
13909
13910 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13911
13912 [BZ #12518]
13913 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13914 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13915 * sysdeps/x86_64/memmove.c: New file.
13916 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13917 (memcpy): Renamed to ...
13918 (__new_memcpy): This.
13919 (memcpy): Provide GLIBC_2_14 memcpy.
13920 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13921 (memcpy): Provide GLIBC_2_2_5 memcpy.
13922
13923 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13924
13925 [BZ #12631]
13926 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13927
13928 2011-03-30 Andreas Schwab <schwab@redhat.com>
13929
13930 * misc/syncfs.c: New file.
13931 * misc/Makefile (routines): Add syncfs.
13932 * posix/unistd.h: Declare syncfs.
13933 * sysdeps/unix/syscalls.list: Add syncfs.
13934
13935 2011-04-01 Andreas Schwab <schwab@redhat.com>
13936
13937 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13938 open_by_handle_at.
13939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13940 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13942 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13944 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13945 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13946
13947 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13948
13949 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13950 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13951 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13952 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13954 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13955 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13956
13957 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13958 sync_file_range.c with -fexceptions.
13959 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13960 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13961 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13962 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13963 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13964 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13965 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
13966 sync_file_range as cancellation point
13967 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13968 now a wrapper around __call_sync_file_range with cancellation handling.
13969 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13970 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13971 function name to __call_sync_file_range.
13972 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13973 Add call_sync_file_range.
13974
13975 2011-04-01 Andreas Schwab <schwab@redhat.com>
13976
13977 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13978 bits/timex.h.
13979
13980 2011-04-01 Ulrich Drepper <drepper@gmail.com>
13981
13982 * iconv/iconv.h: Fix typo in comment.
13983 * io/fcntl.h: Likewise.
13984 * libio/stdio.h: Likewise.
13985 * posix/spawn.h: Likewise.
13986 * posix/unistd.h: Likewise.
13987 * stdlib/stdlib.h: Likewise.
13988 * time/time.h: Likewise.
13989 * wcsmbs/wchar.h: Likewise.
13990
13991 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13992 open_by_handle): Add.
13993 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13994 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13995 Augment a few comments.
13996 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13997 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13998 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13999 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14000 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14001 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
14002 open_by_handle.
14003
14004 * io/fcntl.h (AT_EMPTY_PATH): Define.
14005
14006 2011-03-30 Ulrich Drepper <drepper@gmail.com>
14007
14008 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
14009 * sysdeps/unix/sysv/linux/bits/time.h: New file.
14010 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
14011 to...
14012 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
14013 * Versions.def: Add GLIBC_2.14.
14014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
14015 Export.
14016
14017 2011-03-22 Ulrich Drepper <drepper@gmail.com>
14018
14019 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
14020 round counter.
14021 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14022
14023 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
14024
14025 [BZ #12597]
14026 * string/test-strncmp.c (do_page_test): New function.
14027 (check2): Likewise.
14028 (test_main): Call check2.
14029 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
14030
14031 2011-03-20 Ulrich Drepper <drepper@gmail.com>
14032
14033 [BZ #12587]
14034 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
14035 Handle cache information in CPU leaf 4.
14036 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
14037
14038 2011-03-18 Ulrich Drepper <drepper@gmail.com>
14039
14040 [BZ #12583]
14041 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14042 character representation.
14043 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14044
14045 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14046
14047 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14048 END(__isnan) to END(__isnanf) to match function entry point/label
14049 EALIGN(__isnanf,...).
14050
14051 2011-03-10 Jakub Jelinek <jakub@redhat.com>
14052
14053 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14054
14055 2011-03-10 Ulrich Drepper <drepper@gmail.com>
14056
14057 [BZ #12510]
14058 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14059 copy from the symbol referenced in the relocation to initialize the
14060 used variable.
14061 Patch by Piotr Bury <pbury@goahead.com>.
14062 * elf/Makefile: Add rules to build and tst-unique3.
14063 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14064 * elf/tst-unique3.cc: New file.
14065 * elf/tst-unique3.h: New file.
14066 * elf/tst-unique3lib.cc: New file.
14067 * elf/tst-unique3lib2.cc: New file.
14068
14069 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14070
14071 2011-03-10 Mike Frysinger <vapier@gentoo.org>
14072
14073 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14074 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14075 to _start.
14076
14077 2011-03-06 Ulrich Drepper <drepper@gmail.com>
14078
14079 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14080 to-be-loaded object along a path to loader is ld.so.
14081
14082 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14083 Ulrich Drepper <drepper@gmail.com>
14084
14085 * sysdeps/x86_64/memset.S: After aligning destination, code
14086 branches to different locations depending on the value of
14087 misalignment, when multiarch is enabled. Fix this.
14088
14089 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14090
14091 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14092 Set _x86_64_preferred_memory_instruction for AMD processsors.
14093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14094 Set bit_Prefer_SSE_for_memop for AMD processors.
14095
14096 2011-03-04 Ulrich Drepper <drepper@gmail.com>
14097
14098 * libio/fmemopen.c (fmemopen): Optimize a bit.
14099
14100 2011-03-03 Andreas Schwab <schwab@redhat.com>
14101
14102 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14103
14104 2011-03-03 Roland McGrath <roland@redhat.com>
14105
14106 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14107
14108 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14109
14110 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
14111 __bzero_ultra1 instead of __memset_ultra1.
14112
14113 2011-02-23 Andreas Schwab <schwab@redhat.com>
14114 Ulrich Drepper <drepper@gmail.com>
14115
14116 [BZ #12509]
14117 * include/link.h (struct link_map): Add l_orig_initfini.
14118 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14119 returning unsuccessfully.
14120 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14121 close of a file loaded at startup, restore the original l_initfini
14122 list.
14123 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14124 list, store the pointer.
14125 * elf/Makefile ($(objpfx)noload-mem): New rule.
14126 (noload-ENV): Define.
14127 (tests): Add $(objpfx)noload-mem.
14128 * elf/noload.c: Include <memcheck.h>.
14129 (main): Call mtrace. Close all opened handles.
14130
14131 2011-02-17 Andreas Schwab <schwab@redhat.com>
14132
14133 [BZ #12454]
14134 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14135 dependencies are missing.
14136
14137 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14138
14139 Fix __if_freereq crash: Unlike the generic version which uses free,
14140 Hurd needs munmap.
14141 * sysdeps/mach/hurd/ifreq.h: New file.
14142
14143 2011-01-27 Petr Baudis <pasky@suse.cz>
14144 Ulrich Drepper <drepper@gmail.com>
14145
14146 [BZ 12445]#
14147 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14148 to extend_alloca().
14149 * stdio-common/bug23.c: New file.
14150 * stdio-common/Makefile (tests): Add bug23.
14151
14152 2010-09-28 Andreas Schwab <schwab@redhat.com>
14153 Ulrich Drepper <drepper@gmail.com>
14154
14155 [BZ #12489]
14156 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14157 before performing relro protection. At old place add assertion
14158 to make sure nothing changed.
14159
14160 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14161 Glauber de Oliveira Costa <glommer@gmail.com>
14162
14163 * elf/elf.h: Add new ARM TLS relocs.
14164
14165 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14166
14167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14168 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14169 cast from r3.
14170 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14171 'tests' variable.
14172 * sysdeps/wordsize-64/tst-writev.c: New file.
14173
14174 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14175
14176 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14177 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14178 insns in _dl_start to prevent a TOC reference before relocs are
14179 resolved.
14180
14181 2011-02-15 Ulrich Drepper <drepper@gmail.com>
14182
14183 [BZ #12469]
14184 * Makeconfig: Remove RANLIB definition.
14185 * Makerules: Don't use RANLIB.
14186 * aclocal.m4: Remove ranlib test.
14187 * configure.in: No need to check for ranlib.
14188 * elf/rtld-Rules: Don't use RANLIB.
14189
14190 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14191
14192 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14193 protection macro.
14194 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14195 inclusion protection macro.
14196
14197 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14198 SIGRTMIN and SIGRTMAX and print information in that case only when
14199 SIGRTMIN is defined.
14200
14201 2011-02-11 Jakub Jelinek <jakub@redhat.com>
14202
14203 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14204 arginfo fn returning -1.
14205
14206 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14207 and thousands string is zero terminated.
14208
14209 2011-02-03 Andreas Schwab <schwab@redhat.com>
14210
14211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14212 sysdeps/unix/sysv/linux/bits/socket.h.
14213
14214 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14215
14216 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14217 (__CPU_COUNT): Remove old macros.
14218 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14219 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14220 (__CPU_ALLOC, __CPU_FREE): Add macros.
14221 (__sched_cpualloc, __sched_cpufree): Add declarations.
14222
14223 2011-02-05 Ulrich Drepper <drepper@gmail.com>
14224
14225 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14226 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14227 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14228 (readdhstai): Return value of addhstaiX call.
14229 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14230 (addgrbyX): Return value returned by cache_addgr.
14231 (readdgrbyname): Return value returned by addgrbyX.
14232 (readdgrbygid): Likewise.
14233 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14234 (addpwbyX): Return value returned by cache_addpw.
14235 (readdpwbyname): Return value returned by addhstbyX.
14236 (readdpwbyuid): Likewise.
14237 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14238 (addservbyX): Return value returned by cache_addserv.
14239 (readdservbyname): Return value returned by addservbyX:
14240 (readdservbyport): Likewise.
14241 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14242 (addhstbyX): Return value returned by cache_addhst.
14243 (readdhstbyname): Return value returned by addhstbyX.
14244 (readdhstbyaddr): Likewise.
14245 (readdhstbynamev6): Likewise.
14246 (readdhstbyaddrv6): Likewise.
14247 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14248 (readdinitgroups): Return value returned by addinitgroupsX.
14249 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14250 (prune_cache): Keep track of timeout value of re-added entries.
14251 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14252 * nscd/nscd.h: Adjust prototypes of readd* functions.
14253
14254 2011-02-04 Roland McGrath <roland@redhat.com>
14255
14256 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14257 (nis_stats): Likewise.
14258 * nis/nis_modify.c (nis_modify): Likewise.
14259 * nis/nis_remove.c (nis_remove): Likewise.
14260 * nis/nis_add.c (nis_add): Likewise.
14261
14262 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14263
14264 * posix/fnmatch_loop.c: Add some consts.
14265
14266 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14267
14268 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 [BZ #12460]
14271 * config.make.in (config-cflags-novzeroupper): Define.
14272 * configure.in: Substitute libc_cv_cc_novzeroupper.
14273 * elf/Makefile (AVX-CFLAGS): Define.
14274 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14275 (CFLAGS-tst-auditmod4a.c): Likewise.
14276 (CFLAGS-tst-auditmod4b.c): Likewise.
14277 (CFLAGS-tst-auditmod6b.c): Likewise.
14278 (CFLAGS-tst-auditmod6c.c): Likewise.
14279 (CFLAGS-tst-auditmod7b.c): Likewise.
14280 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14281
14282 2011-02-02 Ulrich Drepper <drepper@gmail.com>
14283
14284 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14285 function to the callback.
14286 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14287
14288 2011-02-02 Andreas Schwab <schwab@redhat.com>
14289
14290 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14291 of errno.
14292
14293 2011-01-19 Ulrich Drepper <drepper@gmail.com>
14294
14295 [BZ #11724]
14296 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14297 of constructors.
14298 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14299 of destructors.
14300 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14301
14302 [BZ #11724]
14303 * elf/Makefile: Add rules to build and run new test.
14304 * elf/tst-initorder.c: New file.
14305 * elf/tst-initorder.exp: New file.
14306 * elf/tst-initordera1.c: New file.
14307 * elf/tst-initordera2.c: New file.
14308 * elf/tst-initordera3.c: New file.
14309 * elf/tst-initordera4.c: New file.
14310 * elf/tst-initorderb1.c: New file.
14311 * elf/tst-initorderb2.c: New file.
14312 * elf/tst-order-a1.c: New file.
14313 * elf/tst-order-a2.c: New file.
14314 * elf/tst-order-a3.c: New file.
14315 * elf/tst-order-a4.c: New file.
14316 * elf/tst-order-b1.c: New file.
14317 * elf/tst-order-b2.c: New file.
14318 * elf/tst-order-main.c: New file.
14319 New test case by George Gensure <werkt0@gmail.com>.
14320
14321 2010-10-01 Andreas Schwab <schwab@redhat.com>
14322
14323 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14324 decoding ACE if AI_CANONIDN.
14325
14326 2011-01-18 Ulrich Drepper <drepper@gmail.com>
14327
14328 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14329
14330 2011-01-17 Ulrich Drepper <drepper@gmail.com>
14331
14332 * version.h (RELEASE): Bump for 2.13 release.
14333 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14334
14335 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14336
14337 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14338 MADV_NOHUGEPAGE.
14339 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14340 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14341 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14342 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14343 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14344 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14345
14346 * posix/getconf.c: Update copyright year.
14347 * catgets/gencat.c: Likewise.
14348 * csu/version.c: Likewise.
14349 * debug/catchsegv.sh: Likewise.
14350 * debug/xtrace.sh: Likewise.
14351 * elf/ldconfig.c: Likewise.
14352 * elf/ldd.bash.in: Likewise.
14353 * elf/sprof.c (print_version): Likewise.
14354 * iconv/iconv_prog.c: Likewise.
14355 * iconv/iconvconfig.c: Likewise.
14356 * locale/programs/locale.c: Likewise.
14357 * locale/programs/localedef.c: Likewise.
14358 * malloc/memusage.sh: Likewise.
14359 * malloc/mtrace.pl: Likewise.
14360 * nscd/nscd.c (print_version): Likewise.
14361 * nss/getent.c: Likewise.
14362
14363 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14364 PF_CAIF, and PF_ALG.
14365 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14366
14367 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14368
14369 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14370 (modules-names): Use them.
14371 (ifunc-test-modules, ifunc-pie-tests): Define.
14372 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14373 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14374 (test-extras): Likewise.
14375 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14376 $(compile-command.c).
14377 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14378 (all-built-dso): Define.
14379 (check-textrel.out, check-execstack.out): Depend on it.
14380
14381 * configure.in: Don't override --enable-multi-arch.
14382
14383 2011-01-15 Ulrich Drepper <drepper@gmail.com>
14384
14385 [BZ #6812]
14386 * nscd/hstcache.c (tryagain): Define.
14387 (cache_addhst): Return tryagain not notfound for temporary errors.
14388 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14389 failed.
14390
14391 2011-01-14 Ulrich Drepper <drepper@gmail.com>
14392
14393 [BZ #10563]
14394 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14395 to make the syscall.
14396 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14397
14398 [BZ #12378]
14399 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14400 and fall back to matching as normal character if the string ends before
14401 the matching ']' is found. This is what POSIX requires.
14402 * posix/testfnm.c: Adjust test result.
14403 * posix/globtest.sh: Adjust test result. Add new test.
14404 * posix/tst-fnmatch.input: Likewise.
14405 * posix/tst-fnmatch2.c: Add new test.
14406
14407 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14408
14409 * elf/Makefile (check-execstack): Revert last change. Depend on
14410 check-execstack.h.
14411 (check-execstack.h): New target.
14412 (generated): Add check-execstack.h.
14413 * elf/check-execstack.c: Include "check-execstack.h".
14414 (main): Revert last change.
14415 (handle_file): Return zero if GNU_STACK is absent and
14416 DEFAULT_STACK_PERMS doesn't include PF_X.
14417
14418 2011-01-13 Ulrich Drepper <drepper@gmail.com>
14419
14420 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14421 in child fails because the descriptor is already closed.
14422 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14423 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14424 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14425
14426 [BZ #12397]
14427 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14428 syscall.
14429
14430 [BZ #10484]
14431 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14432 temporary buffer used to handle multi lookups locally.
14433 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
14434
14435 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14436
14437 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14438 loader is ld.so.
14439
14440 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14441
14442 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14443 alignment for SSE2.
14444
14445 2011-01-12 Ulrich Drepper <drepper@gmail.com>
14446
14447 [BZ #12394]
14448 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14449 characters. When rounding increased number of integer digits recompute
14450 number of groups.
14451 * stdio-common/tst-grouping.c: New file.
14452 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14453
14454 2011-01-09 Ulrich Drepper <drepper@gmail.com>
14455
14456 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14457 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14458
14459 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14460 void.
14461 * bits/select.h: Likewise.
14462
14463 2011-01-08 Ulrich Drepper <drepper@gmail.com>
14464
14465 * po/ja.po: Update from translation team.
14466
14467 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
14468
14469 [BZ #11155]
14470 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14471 implementation just like for lxstat, fxstatat, et al.
14472
14473 2010-12-27 Jim Meyering <meyering@redhat.com>
14474
14475 [BZ #12348]
14476 * posix/regexec.c (build_trtable): Return failure indication upon
14477 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14478
14479 2010-12-25 Ulrich Drepper <drepper@gmail.com>
14480
14481 [BZ #12201]
14482 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14483 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14484 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14485 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14486
14487 [BZ #12207]
14488 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14489
14490 [BZ #12204]
14491 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14492 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14493
14494 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14495
14496 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14497 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14498 script has SORT_BY_INIT_PRIORITY.
14499 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14500 NO_CTORS_DTORS_SECTIONS is defined.
14501 * elf/soinit.c: Likewise.
14502 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14503 NO_CTORS_DTORS_SECTIONS is defined.
14504 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14505 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14506 * sysdeps/sh/init-first.c: Likewise.
14507 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14508
14509 2010-12-24 Ulrich Drepper <drepper@gmail.com>
14510
14511 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14512 always use the slow path.
14513
14514 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14515
14516 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14517 similar rule which adds the sysdep directories to the header search in
14518 order to pick up the correct platform stackinfo.h.
14519 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14520 perform test if it is, otherwise return successfully without testing.
14521 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14522 DEFAULT_STACK_PERMS define in stackinfo.h.
14523 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14524 defined in stackinfo.h.
14525 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14526 DEFAULT_STACK_PERMS defined in stackinfo.h.
14527 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14528 * sysdeps/ia64/stackinfo.h: Likewise.
14529 * sysdeps/s390/stackinfo.h: Likewise.
14530 * sysdeps/sh/stackinfo.h: Likewise.
14531 * sysdeps/sparc/stackinfo.h: Likewise.
14532 * sysdeps/x86_64/stackinfo.h: Likewise.
14533 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14534 PF_X for powerpc64. Retain PF_X for powerpc32.
14535
14536 2010-12-19 Ulrich Drepper <drepper@gmail.com>
14537
14538 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14539 accurately.
14540 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14541 GETDENTS_64BIT_ALIGNED.
14542
14543 2010-12-14 Ulrich Drepper <dreper@gmail.com>
14544
14545 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
14546
14547 2010-12-10 Andreas Schwab <schwab@redhat.com>
14548
14549 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14550 _GNU_SOURCE.
14551
14552 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14553 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14554 Remove __restrict.
14555 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14556 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14557
14558 2010-12-09 Ulrich Drepper <drepper@gmail.com>
14559
14560 [BZ #11655]
14561 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14562 are initialized.
14563
14564 2010-12-09 Jakub Jelinek <jakub@redhat.com>
14565
14566 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14567
14568 2010-12-03 Ulrich Drepper <drepper@gmail.com>
14569
14570 * po/it.po: Update from translation team.
14571
14572 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14573
14574 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14575 unused codes.
14576
14577 2010-11-30 Ulrich Drepper <drepper@gmail.com>
14578
14579 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14580
14581 2010-11-24 Andreas Schwab <schwab@redhat.com>
14582
14583 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14584 specially.
14585 (gaih_getanswer_slice): Likewise.
14586
14587 2010-10-20 Jakub Jelinek <jakub@redhat.com>
14588
14589 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14590
14591 2010-05-31 Petr Baudis <pasky@suse.cz>
14592
14593 [BZ #11149]
14594 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14595 silently even in the chroot mode.
14596
14597 2010-11-22 Ulrich Drepper <drepper@gmail.com>
14598
14599 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14600 last patch a bit. Pretty printing
14601
14602 2010-05-31 Petr Baudis <pasky@suse.cz>
14603
14604 [BZ #10085]
14605 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14606 initialization of skip_initgroups_dyn.
14607
14608 2010-11-19 Ulrich Drepper <drepper@gmail.com>
14609
14610 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14611 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14612
14613 2010-11-16 Ulrich Drepper <drepper@gmail.com>
14614
14615 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14616
14617 2010-11-11 Andreas Schwab <schwab@redhat.com>
14618
14619 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14620 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14621 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14622 ($(objpfx)tst-fnmatch-mem): New rule.
14623 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14624 * posix/tst-fnmatch.c (main): Call mtrace.
14625
14626 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14627
14628 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14629 Support Intel processor model 6 and model 0x2c.
14630
14631 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
14632
14633 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14634 signed comparison.
14635
14636 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14637
14638 [BZ #12205]
14639 * string/test-strncasecmp.c (check_result): New function.
14640 (do_one_test): Use it.
14641 (check1): New function.
14642 (test_main): Use it.
14643 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14644 Support strcasecmp and strncasecmp.
14645
14646 2010-11-08 Ulrich Drepper <drepper@gmail.com>
14647
14648 [BZ #12194]
14649 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14650 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14651
14652 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14653
14654 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14655 IFUNC support.
14656 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14657 memset-x86-64.
14658 * sysdeps/x86_64/multiarch/bzero.S: New file.
14659 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14660 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14661 * sysdeps/x86_64/multiarch/memset.S: New file.
14662 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14664 Set bit_Prefer_SSE_for_memop for Intel processors.
14665 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14666 Define.
14667 (index_Prefer_SSE_for_memop): Define.
14668 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14669
14670 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
14671
14672 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14673 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14674
14675 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14676
14677 [BZ #12191]
14678 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14679 (__x86_64_raw_data_cache_size_half): Likewise.
14680 (__x86_64_raw_shared_cache_size): Likewise.
14681 (__x86_64_raw_shared_cache_size_half): Likewise.
14682
14683 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14684 (__x86_64_raw_data_cache_size_half): Likewise.
14685 (__x86_64_raw_shared_cache_size): Likewise.
14686 (__x86_64_raw_shared_cache_size_half): Likewise.
14687 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14688 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14689 and __x86_64_raw_shared_cache_size_half. Round
14690 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14691 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14692 to multiple of 256 bytes.
14693
14694 2010-11-03 Ulrich Drepper <drepper@gmail.com>
14695
14696 [BZ #12167]
14697 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14698 of inacessible symlinks. Verify result of symlink before returning it.
14699 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14700 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14701
14702 2010-10-28 Erich Ritz <erichritz@gmail.com>
14703
14704 * math/math.h (isinf): Fix typo in comment.
14705
14706 2010-11-01 Ulrich Drepper <drepper@gmail.com>
14707
14708 * po/da.po: Update from translation team.
14709
14710 2010-10-26 Ulrich Drepper <drepper@gmail.com>
14711
14712 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14713 is added to the list.
14714
14715 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14716 Ulrich Drepper <drepper@gmail.com>
14717
14718 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14719 the global list here. Move code to...
14720 (_dl_add_to_namespace_list): ...here. New function.
14721 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14722 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14723 * elf/dl-load.c (lose): Don't remove the element from the list.
14724 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14725 (_dl_map_object): Likewise.
14726
14727 2010-10-25 Ulrich Drepper <drepper@gmail.com>
14728
14729 [BZ #12159]
14730 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14731 into all bytes of SSE register.
14732 Patch by Richard Li <richardpku@gmail.com>.
14733
14734 2010-10-24 Ulrich Drepper <drepper@gmail.com>
14735
14736 [BZ #12140]
14737 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14738 perturbing.
14739
14740 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14741
14742 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14743 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14744 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14745 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14747 submachine.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14749
14750 2010-10-22 Andreas Schwab <schwab@redhat.com>
14751
14752 * include/dlfcn.h (__RTLD_SECURE): Define.
14753 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14754 mode & __RTLD_SECURE instead.
14755 (open_path): Rename preloaded parameter to secure.
14756 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14757 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14758 * elf/dl-deps.c (openaux): Likewise.
14759 * elf/rtld.c (struct map_args): Remove is_preloaded.
14760 (map_doit): Don't use it.
14761 (dl_main): Likewise.
14762 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14763 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14764
14765 2010-09-09 Andreas Schwab <schwab@redhat.com>
14766
14767 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14768 (sysd-rules-targets): Remove duplicates.
14769 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14770 rtld-%.$o dependency.
14771
14772 2010-10-18 Andreas Schwab <schwab@redhat.com>
14773
14774 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14775 _dl_map_object do it.
14776
14777 2010-10-19 Ulrich Drepper <drepper@gmail.com>
14778
14779 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14780 fast fma builtins, define the macros in the C99 standard.
14781 (FP_FAST_FMAF): Likewise.
14782 (FP_FAST_FMAL): Likewise.
14783 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14784
14785 * bits/mathdef.h: Update copyright year.
14786 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14787
14788 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14789
14790 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14791 builtins, define the macros in the C99 standard.
14792 (FP_FAST_FMAF): Likewise.
14793 (FP_FAST_FMAL): Likewise.
14794 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14795 multiply/add.
14796 (FP_FAST_FMAF): Likewise.
14797
14798 2010-10-15 Jakub Jelinek <jakub@redhat.com>
14799
14800 [BZ #3268]
14801 * math/libm-test.inc (fma_test): Some new testcases.
14802 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14803 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14804 y and infinite z. Do multiplication by C already in long double.
14805 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14807 y and infinite z. Do bitwise or of inexact bit into u.d.
14808 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14809 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14810 * sysdeps/i386/fpu/s_fma.S: Removed.
14811 * sysdeps/i386/fpu/s_fmal.S: Removed.
14812
14813 2010-10-16 Jakub Jelinek <jakub@redhat.com>
14814
14815 [BZ #3268]
14816 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14817 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14818 computation is not scheduled after fetestexcept. Fix value
14819 of minimum denormal long double.
14820
14821 2010-10-14 Jakub Jelinek <jakub@redhat.com>
14822
14823 [BZ #3268]
14824 * math/libm-test.inc (fma_test): Add some more tests.
14825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14826 correctly.
14827
14828 2010-10-15 Andreas Schwab <schwab@redhat.com>
14829
14830 * scripts/data/localplt-s390-linux-gnu.data: New file.
14831 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14832
14833 2010-10-13 Jakub Jelinek <jakub@redhat.com>
14834
14835 [BZ #3268]
14836 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14837 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14838 instead of dbl-64.
14839 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14840 inlines.
14841 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14843 if one of x and y is very large and the other is subnormal.
14844 * sysdeps/s390/fpu/s_fmaf.c: New file.
14845 * sysdeps/s390/fpu/s_fma.c: New file.
14846 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14847 * sysdeps/powerpc/fpu/s_fma.S: New file.
14848 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14849 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14850 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14851
14852 2010-10-12 Jakub Jelinek <jakub@redhat.com>
14853
14854 [BZ #3268]
14855 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14856 fma tests.
14857 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14858 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14859 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14860 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14861 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14862 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14863 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14864
14865 2010-10-12 Ulrich Drepper <drepper@redhat.com>
14866
14867 [BZ #12078]
14868 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14869 * posix/bug-regex31.input: Add test case.
14870
14871 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14872
14873 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14874 * posix/bug-regex31.input: New file.
14875
14876 [BZ #12078]
14877 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14878 (parse_sub_exp): Fix last change, use postorder.
14879
14880 * posix/bug-regex31.c: New file.
14881 * posix/Makefile: Add rules to build and run bug-regex31.
14882
14883 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14884
14885 [BZ #12078]
14886 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14887
14888 [BZ #12108]
14889 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14890 to have entries in sys_siglist.
14891
14892 [BZ #12093]
14893 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14894 be NULL.
14895
14896 2010-10-07 Jakub Jelinek <jakub@redhat.com>
14897
14898 [BZ #3268]
14899 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14900 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14901 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14902 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14903 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14904 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14905 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14906 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14907 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14908 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14909 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14910 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14911 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14912 * math/ftestexcept.c (fetestexcept): Likewise.
14913 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14914 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14915 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14916 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14917 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14918 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14919 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14920
14921 2010-10-11 Ulrich Drepper <drepper@gmail.com>
14922
14923 [BZ #12107]
14924 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14925 newline.
14926
14927 2010-10-06 Ulrich Drepper <drepper@gmail.com>
14928
14929 * string/bug-strstr1.c: New file.
14930 * string/Makefile: Add rules to build and run bug-strstr1.
14931
14932 2010-10-05 Eric Blake <eblake@redhat.com>
14933
14934 [BZ #12092]
14935 * string/str-two-way.h (two_way_long_needle): Always clear memory
14936 when skipping input due to the shift table.
14937
14938 2010-10-03 Ulrich Drepper <drepper@gmail.com>
14939
14940 [BZ #12005]
14941 * malloc/mcheck.c: Handle large requests.
14942
14943 [BZ #12077]
14944 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14945 for strncmp and strncasecmp.
14946 * string/stratcliff.c: Add tests for strcmp and strncmp.
14947 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14948
14949 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14950
14951 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14952 __set_fpscr.
14953
14954 2010-09-30 Andreas Jaeger <aj@suse.de>
14955
14956 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14957 (CGROUP_SUPER_MAGIC): Define.
14958 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14959 Handle btrfs and cgroup file systems.
14960 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14961 Likewise.
14962
14963 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
14964
14965 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14966 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14967
14968 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14969
14970 [BZ #12067]
14971 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14972 trying to locate the ELF header.
14973
14974 2010-09-27 Andreas Schwab <schwab@redhat.com>
14975
14976 [BZ #11611]
14977 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14978 Mask out sign-bit copies when constructing f_fsid.
14979
14980 2010-09-24 Petr Baudis <pasky@suse.cz>
14981
14982 * debug/stack_chk_fail_local.c: Add missing licence exception.
14983 * debug/warning-nop.c: Likewise.
14984
14985 2010-09-15 Joseph Myers <joseph@codesourcery.com>
14986
14987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14988 implementing getdents64 using getdents syscall, set d_type if
14989 __ASSUME_GETDENTS32_D_TYPE.
14990
14991 2010-09-16 Andreas Schwab <schwab@redhat.com>
14992
14993 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14994 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14995
14996 2010-09-21 Ulrich Drepper <drepper@redhat.com>
14997
14998 [BZ #12037]
14999 * posix/unistd.h: Undo change of feature selection for ftruncate from
15000 2010-01-11.
15001
15002 2010-09-20 Ulrich Drepper <drepper@redhat.com>
15003
15004 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
15005 detection.
15006
15007 2010-09-20 Andreas Schwab <schwab@redhat.com>
15008
15009 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
15010 fanotify_mark.
15011 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15012
15013 2010-09-14 Andreas Schwab <schwab@redhat.com>
15014
15015 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
15016 variables after CHECK_SP call.
15017 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
15018
15019 2010-09-13 Andreas Schwab <schwab@redhat.com>
15020 Ulrich Drepper <drepper@redhat.com>
15021
15022 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
15023 re-relocationg ld.so.
15024 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
15025 _dl_init_paths call.
15026 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
15027 here anymore.
15028
15029 2010-09-14 Ulrich Drepper <drepper@redhat.com>
15030
15031 * resolv/res_init.c (__res_vinit): Count the default server we added.
15032
15033 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
15034 Ulrich Drepper <drepper@redhat.com>
15035
15036 [BZ #11968]
15037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
15038 (____longjmp_chk): Use %ebx for saving value across system call.
15039 Add unwind info.
15040
15041 2010-09-06 Andreas Schwab <schwab@redhat.com>
15042
15043 * manual/Makefile: Don't mix pattern rules with normal rules.
15044
15045 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15046
15047 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15048 operation.
15049 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15050 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15051 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15052 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15053 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15054 Likewise.
15055
15056 2010-09-04 Ulrich Drepper <drepper@redhat.com>
15057
15058 [BZ #11979]
15059 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15060 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15061
15062 2010-09-02 Ulrich Drepper <drepper@redhat.com>
15063
15064 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15065 * sysdeps/x86_64/addmul_1.S: Likewise.
15066 * sysdeps/x86_64/lshift.S: Likewise.
15067 * sysdeps/x86_64/mul_1.S: Likewise.
15068 * sysdeps/x86_64/rshift.S: Likewise.
15069 * sysdeps/x86_64/sub_n.S: Likewise.
15070 * sysdeps/x86_64/submul_1.S: Likewise.
15071
15072 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15073
15074 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15075 Define __sched_param instead of SCHED_* and sched_param when
15076 <bits/sched.h> is included with __need_schedparam defined.
15077 * bits/sched.h [__need_schedparam]
15078 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
15079 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15080 (__defined_schedparam): Define to 1.
15081 (__sched_param): New structure, identical to sched_param.
15082 (__need_schedparam): Undefine.
15083
15084 2010-08-31 Mike Frysinger <vapier@gentoo.org>
15085
15086 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15087 (epoll_create1): Declare.
15088
15089 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15090
15091 2010-08-31 Andreas Schwab <schwab@redhat.com>
15092
15093 [BZ #7066]
15094 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15095 shifting retval into place.
15096
15097 2010-09-01 Ulrich Drepper <drepper@redhat.com>
15098
15099 * nis/rpcsvc/nis.h: Update copyright notice.
15100 * nis/rpcsvc/nis.x: Likewise.
15101 * nis/rpcsvc/nis_callback.h: Likewise.
15102 * nis/rpcsvc/nis_callback.x: Likewise.
15103 * nis/rpcsvc/nis_object.x: Likewise.
15104 * nis/rpcsvc/nis_tags.h: Likewise.
15105 * nis/rpcsvc/yp.h: Likewise.
15106 * nis/rpcsvc/yp.x: Likewise.
15107 * nis/rpcsvc/ypupd.h: Likewise.
15108 * nis/yp_xdr.c: Likewise.
15109 * nis/ypupdate_xdr.c: Likewise.
15110
15111 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15112 mainly the body of pmap_getport. Add parameters to specify timeouts.
15113 (pmap_getport): Use __libc_rpc_getport.
15114 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15115 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15116 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15117
15118 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15119
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15121 fanotify_mark.
15122
15123 2010-08-27 Roland McGrath <roland@redhat.com>
15124
15125 * sysdeps/i386/i686/multiarch/Makefile
15126 (CFLAGS-varshift.c): New variable.
15127
15128 2010-08-27 Ulrich Drepper <drepper@redhat.com>
15129
15130 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15131 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15132
15133 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15134
15135 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15136
15137 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15138
15139 * sysdeps/x86_64/strlen.S: Unroll the loop.
15140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15141 strlen-sse2 strlen-sse2-bsf.
15142 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15143 __strlen_no_bsf if bit_Slow_BSF is set.
15144 (__strlen_sse42): Removed.
15145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15146 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15147
15148 2010-08-25 Roland McGrath <roland@redhat.com>
15149
15150 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15151 * sysdeps/x86_64/multiarch/varshift.c: New file.
15152 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15153 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15154 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15155 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15156
15157 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15158
15159 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15160 strlen-sse2 strlen-sse2-bsf.
15161 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15162 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15163 (__strlen_sse2): Removed.
15164 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15165 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15166 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15167 bit_Slow_BSF for Atom.
15168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15169 (index_Slow_BSF): Define.
15170 (HAS_SLOW_BSF): Define.
15171
15172 2010-08-25 Ulrich Drepper <drepper@redhat.com>
15173
15174 [BZ #10851]
15175 * resolv/res_init.c (__res_vinit): When no server address at all
15176 is given default to loopback.
15177
15178 2010-08-24 Roland McGrath <roland@redhat.com>
15179
15180 * configure.in: Remove config-name.h generation.
15181 * configure: Regenerated.
15182 * config-name.in: File removed.
15183 * scripts/config-uname.sh: New file.
15184 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15185 ($(objdir)config-name.h): New target.
15186
15187 * sunrpc/rpc_parse.h: Avoid nested comment.
15188
15189 2010-08-24 Richard Henderson <rth@redhat.com>
15190 Ulrich Drepper <drepper@redhat.com>
15191 H.J. Lu <hongjiu.lu@intel.com>
15192
15193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15194 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15195 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15196 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15197 _mm_alignr_epi8 with _mm_loadu_si128.
15198 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15199 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15200 (__m128i_shift_right): Removed.
15201 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15202 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15203 * sysdeps/x86_64/multiarch/varshift.h: New file.
15204 * sysdeps/x86_64/multiarch/varshift.S: New file.
15205
15206 2010-08-21 Mike Frysinger <vapier@gentoo.org>
15207
15208 * configure.in: Move assembler checks to before sysdep dir checking.
15209
15210 2010-08-20 Petr Baudis <pasky@suse.cz>
15211
15212 * LICENSES: Sync the sunrpc license.
15213
15214 2010-08-19 Ulrich Drepper <drepper@redhat.com>
15215
15216 * sunrpc/auth_des.c: Update copyright notice once again.
15217 * sunrpc/auth_none.c: Likewise.
15218 * sunrpc/auth_unix.c: Likewise.
15219 * sunrpc/authdes_prot.c: Likewise.
15220 * sunrpc/authuxprot.c: Likewise.
15221 * sunrpc/bindrsvprt.c: Likewise.
15222 * sunrpc/clnt_gen.c: Likewise.
15223 * sunrpc/clnt_perr.c: Likewise.
15224 * sunrpc/clnt_raw.c: Likewise.
15225 * sunrpc/clnt_simp.c: Likewise.
15226 * sunrpc/clnt_tcp.c: Likewise.
15227 * sunrpc/clnt_udp.c: Likewise.
15228 * sunrpc/clnt_unix.c: Likewise.
15229 * sunrpc/des_crypt.c: Likewise.
15230 * sunrpc/des_soft.c: Likewise.
15231 * sunrpc/get_myaddr.c: Likewise.
15232 * sunrpc/getrpcport.c: Likewise.
15233 * sunrpc/key_call.c: Likewise.
15234 * sunrpc/key_prot.c: Likewise.
15235 * sunrpc/openchild.c: Likewise.
15236 * sunrpc/pm_getmaps.c: Likewise.
15237 * sunrpc/pm_getport.c: Likewise.
15238 * sunrpc/pmap_clnt.c: Likewise.
15239 * sunrpc/pmap_prot.c: Likewise.
15240 * sunrpc/pmap_prot2.c: Likewise.
15241 * sunrpc/pmap_rmt.c: Likewise.
15242 * sunrpc/rpc/auth.h: Likewise.
15243 * sunrpc/rpc/auth_unix.h: Likewise.
15244 * sunrpc/rpc/clnt.h: Likewise.
15245 * sunrpc/rpc/des_crypt.h: Likewise.
15246 * sunrpc/rpc/key_prot.h: Likewise.
15247 * sunrpc/rpc/netdb.h: Likewise.
15248 * sunrpc/rpc/pmap_clnt.h: Likewise.
15249 * sunrpc/rpc/pmap_prot.h: Likewise.
15250 * sunrpc/rpc/pmap_rmt.h: Likewise.
15251 * sunrpc/rpc/rpc.h: Likewise.
15252 * sunrpc/rpc/rpc_des.h: Likewise.
15253 * sunrpc/rpc/rpc_msg.h: Likewise.
15254 * sunrpc/rpc/svc.h: Likewise.
15255 * sunrpc/rpc/svc_auth.h: Likewise.
15256 * sunrpc/rpc/types.h: Likewise.
15257 * sunrpc/rpc/xdr.h: Likewise.
15258 * sunrpc/rpc_clntout.c: Likewise.
15259 * sunrpc/rpc_cmsg.c: Likewise.
15260 * sunrpc/rpc_common.c: Likewise.
15261 * sunrpc/rpc_cout.c: Likewise.
15262 * sunrpc/rpc_dtable.c: Likewise.
15263 * sunrpc/rpc_hout.c: Likewise.
15264 * sunrpc/rpc_main.c: Likewise.
15265 * sunrpc/rpc_parse.c: Likewise.
15266 * sunrpc/rpc_parse.h: Likewise.
15267 * sunrpc/rpc_prot.c: Likewise.
15268 * sunrpc/rpc_sample.c: Likewise.
15269 * sunrpc/rpc_scan.c: Likewise.
15270 * sunrpc/rpc_scan.h: Likewise.
15271 * sunrpc/rpc_svcout.c: Likewise.
15272 * sunrpc/rpc_tblout.c: Likewise.
15273 * sunrpc/rpc_util.c: Likewise.
15274 * sunrpc/rpc_util.h: Likewise.
15275 * sunrpc/rpcinfo.c: Likewise.
15276 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15277 * sunrpc/rpcsvc/key_prot.x: Likewise.
15278 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15279 * sunrpc/rpcsvc/mount.x: Likewise.
15280 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15281 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15282 * sunrpc/rpcsvc/rex.x: Likewise.
15283 * sunrpc/rpcsvc/rstat.x: Likewise.
15284 * sunrpc/rpcsvc/rusers.x: Likewise.
15285 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15286 * sunrpc/rpcsvc/spray.x: Likewise.
15287 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15288 * sunrpc/rtime.c: Likewise.
15289 * sunrpc/svc.c: Likewise.
15290 * sunrpc/svc_auth.c: Likewise.
15291 * sunrpc/svc_authux.c: Likewise.
15292 * sunrpc/svc_raw.c: Likewise.
15293 * sunrpc/svc_run.c: Likewise.
15294 * sunrpc/svc_simple.c: Likewise.
15295 * sunrpc/svc_tcp.c: Likewise.
15296 * sunrpc/svc_udp.c: Likewise.
15297 * sunrpc/svc_unix.c: Likewise.
15298 * sunrpc/svcauth_des.c: Likewise.
15299 * sunrpc/xcrypt.c: Likewise.
15300 * sunrpc/xdr.c: Likewise.
15301 * sunrpc/xdr_array.c: Likewise.
15302 * sunrpc/xdr_float.c: Likewise.
15303 * sunrpc/xdr_mem.c: Likewise.
15304 * sunrpc/xdr_rec.c: Likewise.
15305 * sunrpc/xdr_ref.c: Likewise.
15306 * sunrpc/xdr_sizeof.c: Likewise.
15307 * sunrpc/xdr_stdio.c: Likewise.
15308
15309 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15310 handling.
15311
15312 2010-08-19 Andreas Schwab <schwab@redhat.com>
15313
15314 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15315
15316 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
15317
15318 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15319 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15320 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15321 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15322 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15323 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15324 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15325 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15326 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15327 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15328 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15329 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15330 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15331 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15332
15333 2010-07-26 Anton Blanchard <anton@samba.org>
15334
15335 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15336 * malloc/arena.c (heap_trim): Likewise.
15337
15338 2010-08-16 Ulrich Drepper <drepper@redhat.com>
15339
15340 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15341 here. Not...
15342 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15343 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15344
15345 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15346
15347 * sysdeps/i386/elf/Makefile: New file.
15348
15349 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15350
15351 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15352 from fanotify_init.
15353 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15355
15356 2010-08-15 Ulrich Drepper <drepper@redhat.com>
15357
15358 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15359 of strncasecmp_l.
15360 * sysdeps/multiarch/strcmp.S: Likewise.
15361
15362 2010-08-14 Ulrich Drepper <drepper@redhat.com>
15363
15364 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15365 strncase_l-nonascii.
15366 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15367 Add strncase_l-ssse3.
15368 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15369 * sysdeps/x86_64/strcmp.S: Likewise.
15370 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15371 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15372 * sysdeps/x86_64/strncase.S: New file.
15373 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15374 * sysdeps/x86_64/strncase_l.S: New file.
15375 * string/Makefile (strop-tests): Add strncasecmp.
15376 * string/test-strncasecmp.c: New file.
15377
15378 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15379 warning.
15380
15381 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15382 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15383
15384 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15385
15386 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15387
15388 2010-08-12 Ulrich Drepper <drepper@redhat.com>
15389
15390 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15391 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15392 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15393
15394 2010-05-01 Alan Modra <amodra@gmail.com>
15395
15396 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15397 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15398 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15399 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15400 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15401 tidying. Don't tail-call __sigjmp_save for static lib.
15402 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15403 save location.
15404 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15405 (CALL_MCOUNT): Add eh info, and nop after bl.
15406 (TAIL_CALL_SYSCALL_ERROR): New macro.
15407 (PSEUDO_RET): Use it.
15408 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15409 Correct save location of integer regs and cr.
15410 (_dl_profile_resolve): Correct cr save location. Delete nops
15411 after bl when SHARED. Reduce cfi size a little by better
15412 placement of cfi directives.
15413 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15414 make a stack frame. Instead use parm save area as a temp.
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15416 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15418 Don't make a stack frame for parent, use parm save area.
15419 Increase child stack frame to 112 bytes. Don't save unused reg,
15420 and adjust reg usage. Set up cfi on error recovery and
15421 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15423 (__makecontext): Add dummy nop after jump to exit.
15424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15425 Use correct parm save area and cr save, reduce stack frame.
15426 Correct cfi for possible PSEUDO_RET frame setup.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15428 Branch to local label emitted by PSEUDO_RET rather than
15429 __syscall_error.
15430
15431 2010-08-12 Andreas Schwab <schwab@redhat.com>
15432
15433 [BZ #11904]
15434 * locale/programs/locale.c (print_assignment): New function.
15435 (show_locale_vars): Use it.
15436
15437 2010-08-11 Ulrich Drepper <drepper@redhat.com>
15438
15439 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15440 field.
15441 (struct statfs64): Likewise.
15442 (_STATFS_F_FLAGS): Define.
15443 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15444 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15445 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15446 (ST_VALID): Define locally.
15447 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15448 __statvfs_getflags, use the provided value.
15449 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15450 __ASSUME_STATFS_F_FLAGS.
15451
15452 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15453
15454 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15455 Add sys/fanotify.h.
15456 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15457 fanotify_mask for GLIBC_2.13.
15458 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15459 fanotify_init and fanotify_mark.
15460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15461 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15462
15463 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15464 Add prlimit.
15465 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15466 prlimit64 for GLIBC_2.13.
15467 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15468 prlimit64.
15469 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15470 syscall.
15471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15472 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15473 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15474 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15475 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15476 add prlimit alias.
15477 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15478
15479 [BZ #11903]
15480 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15481 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15482
15483 * nss/Makefile: Add rules to build and run tst-nss-test1.
15484 * shlib-versions: Add entry for libnss_test1.
15485 * nss/nss_test1.c: New file.
15486 * nss/tst-nss-test1.c: New file.
15487
15488 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15489 (__nss_configure_lookup): Set appropriate entry in
15490 __nss_configure_lookup to true.
15491 * nss/nsswitch.h: Define enum with indeces of databases in
15492 databases and __nss_database_custom arrays. Declare
15493 __nss_database_custom.
15494 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15495 to avoid using nscd when custom rules are installed.
15496 * nss/getXXbyYY_r.c: Likewise.
15497 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15498
15499 * nss/nss_files/files-parse.c: Whitespace fixes.
15500
15501 2010-08-09 Ulrich Drepper <drepper@redhat.com>
15502
15503 [BZ #11883]
15504 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15505 * posix/fnmatch_loop.c: Likewise.
15506
15507 2010-07-17 Andi Kleen <ak@linux.intel.com>
15508
15509 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15510 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15511 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15512 * Versions.def [GLIBC_2.13]: Add.
15513
15514 2010-08-06 Ulrich Drepper <drepper@redhat.com>
15515
15516 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15517 Also fail if tpwd after pwuid call is NULL.
15518
15519 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15520
15521 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15522 when converting to ms.
15523
15524 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15525
15526 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15527 EOPNOTSUPP errors with ENOTTY.
15528 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15529 EOPNOTSUPP errors with ENOTTY.
15530
15531 2010-07-31 Ulrich Drepper <drepper@redhat.com>
15532
15533 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15534 Add strcasecmp_l-ssse3.
15535 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15536 strcasecmp.
15537 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15538 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15539 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15540
15541 2010-07-30 Ulrich Drepper <drepper@redhat.com>
15542
15543 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15544
15545 * string/Makefile (strop-tests): Add strcasecmp.
15546 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15547 strcasecmp_l-nonascii.
15548 (gen-as-const-headers): Add locale-defines.sym.
15549 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15550 * sysdeps/x86_64/strcasecmp.S: New file.
15551 * sysdeps/x86_64/strcasecmp_l.S: New file.
15552 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15553 * sysdeps/x86_64/locale-defines.sym: New file.
15554 * string/test-strcasecmp.c: New file.
15555
15556 * string/test-strcasestr.c: Test both ends of the range of characters.
15557 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15558
15559 2010-07-29 Roland McGrath <roland@redhat.com>
15560
15561 [BZ #11856]
15562 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15563
15564 2010-07-27 Ulrich Drepper <drepper@redhat.com>
15565
15566 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15567 for ld.so.
15568
15569 2010-07-27 Andreas Schwab <schwab@redhat.com>
15570
15571 * manual/memory.texi (Malloc Tunable Parameters): Document
15572 M_PERTURB.
15573
15574 2010-07-26 Roland McGrath <roland@redhat.com>
15575
15576 [BZ #11840]
15577 * configure.in (-fgnu89-inline check): Set and substitute
15578 gnu89_inline, not libc_cv_gnu89_inline.
15579 * configure: Regenerated.
15580 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15581
15582 2010-07-26 Ulrich Drepper <drepper@redhat.com>
15583
15584 * string/test-strnlen.c: New file.
15585 * string/Makefile (strop-tests): Add strnlen.
15586 * string/tester.c (test_strnlen): Add a few more test cases.
15587 * string/tst-strlen.c: Better error reporting.
15588
15589 * sysdeps/x86_64/strnlen.S: New file.
15590
15591 2010-07-24 Ulrich Drepper <drepper@redhat.com>
15592
15593 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15594 lower-latency instructions.
15595
15596 2010-07-23 Ulrich Drepper <drepper@redhat.com>
15597
15598 * string/test-strcasestr.c: New file.
15599 * string/test-strstr.c: New file.
15600 * string/Makefile (strop-tests): Add strstr and strcasestr.
15601 * string/str-two-way.h: Don't undefine MAX.
15602 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15603
15604 2010-07-21 Andreas Schwab <schwab@redhat.com>
15605
15606 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15607 strcasestr-nonascii.
15608 (CFLAGS-strcasestr-nonascii.c): Define.
15609 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15610 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15611 Remove unused attribute.
15612
15613 2010-07-20 Roland McGrath <roland@redhat.com>
15614
15615 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15616 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15617 ld.so.cache was broken. With it, there is no way to disable dsocaps
15618 like LD_HWCAP_MASK can disable hwcaps.
15619
15620 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15621
15622 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15623
15624 2010-07-16 Ulrich Drepper <drepper@redhat.com>
15625
15626 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15627 call in strcasestr.
15628 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15629 __strcasestr_sse42_nonascii.
15630 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15631 strcasestr-nonascii.c.
15632 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15633
15634 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
15635
15636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15637 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15638 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15639 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15640
15641 2010-07-09 Ulrich Drepper <drepper@redhat.com>
15642
15643 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15644 fcntl.
15645
15646 2010-07-06 Andreas Schwab <schwab@redhat.com>
15647
15648 [BZ #11577]
15649 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15650 dl_signal_cerror.
15651
15652 2010-07-06 Ulrich Drepper <drepper@redhat.com>
15653
15654 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15655 _PC_PIPE_BUF using F_GETPIPE_SZ.
15656
15657 2010-07-05 Roland McGrath <roland@redhat.com>
15658
15659 * manual/arith.texi (Rounding Functions): Fix rint description
15660 implicit in round description.
15661
15662 2010-07-02 Ulrich Drepper <drepper@redhat.com>
15663
15664 * elf/Makefile: Fix linking for a few tests to make recent linker
15665 happy.
15666
15667 2010-06-30 Andreas Schwab <schwab@redhat.com>
15668
15669 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15670 $(common-objpfx)libc_nonshared.a.
15671
15672 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
15673
15674 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15675 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15676 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15677 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15678 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15679 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15680 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15681 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15696 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15697 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15698 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15699 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15700 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15701 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15702 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15703 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15704 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15705 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15706 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15707 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15722
15723 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15724
15725 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15726 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15727 * string/memmove.c (memmove): Renamed to ...
15728 (MEMMOVE): ...this. Default to memmove.
15729 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15730 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15731 (END_CHK): Define.
15732 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15733 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15734 mempcpy-ssse3-back memmove-ssse3-back.
15735 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15736 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15737 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15738 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15739 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15740 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15741 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15742 * sysdeps/x86_64/multiarch/memmove.c: New file.
15743 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15744 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15745 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15746 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15747 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15748 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15749 Define.
15750 (index_Fast_Copy_Backward): Define.
15751 (HAS_ARCH_FEATURE): Define.
15752 (HAS_FAST_REP_STRING): Define.
15753 (HAS_FAST_COPY_BACKWARD): Define.
15754
15755 2010-06-21 Andreas Schwab <schwab@redhat.com>
15756
15757 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15758 Restore proper fallback handling.
15759
15760 2010-06-19 Ulrich Drepper <drepper@redhat.com>
15761
15762 [BZ #11701]
15763 * posix/group_member.c (__group_member): Correct checking loop.
15764
15765 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15766 OOM in getpwuid_r correctly. Return error number when the caller
15767 should return, otherwise -1.
15768 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15769 call returning > 0 value.
15770 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15771
15772 2010-06-07 Andreas Schwab <schwab@redhat.com>
15773
15774 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15775 libc_nonshared.a from targets in modules-names.
15776
15777 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15778
15779 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15780 requires it.
15781
15782 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
15783
15784 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15785 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15788
15789 2010-06-02 Andreas Schwab <schwab@redhat.com>
15790
15791 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15792
15793 2010-06-14 Ulrich Drepper <drepper@redhat.com>
15794
15795 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15796 and F_GETPIPE_SZ.
15797 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15798 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15799 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15800 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15801 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15802 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15803
15804 2010-06-14 Roland McGrath <roland@redhat.com>
15805
15806 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15807
15808 2010-06-07 Jakub Jelinek <jakub@redhat.com>
15809
15810 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15811 __REDIRECT followed by __THROW.
15812 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15813 * posix/getopt.h (getopt): Likewise.
15814
15815 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15816
15817 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15818 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15819 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15820 in AT_FLAGS.
15821 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15822 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15823
15824 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
15825
15826 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15827
15828 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15829
15830 [BZ #11640]
15831 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15832 Properly check family and model.
15833
15834 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15835
15836 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15837
15838 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
15839
15840 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15841
15842 2010-05-21 Ulrich Drepper <drepper@redhat.com>
15843
15844 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15845 symbol reference.
15846
15847 2010-05-19 Andreas Schwab <schwab@redhat.com>
15848
15849 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15850 symbol reference.
15851
15852 2010-05-21 Andreas Schwab <schwab@redhat.com>
15853
15854 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15855 and internal_recvmmsg.
15856 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15857 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15858 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15859 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15860
15861 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15862 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15863 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15864
15865 2010-05-20 Andreas Schwab <schwab@redhat.com>
15866
15867 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15868
15869 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
15870
15871 POWER7 optimizations.
15872 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15873 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15874
15875 2010-05-19 Ulrich Drepper <drepper@redhat.com>
15876
15877 * version.h: Update for 2.13 development version.
15878
15879 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
15880
15881 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15882 exceptions. Return 0.
15883
15884 2010-05-07 Roland McGrath <roland@redhat.com>
15885
15886 * elf/ldconfig.c (main): Add a const.
15887
15888 2010-05-06 Ulrich Drepper <drepper@redhat.com>
15889
15890 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15891 (args_options): Add no-idn option.
15892 (ahosts_keys_int): Add idn_flags to ai_flags.
15893 (parse_option): Handle 'i' option to clear idn_flags.
15894
15895 * malloc/malloc.c (_int_free): Possible race in the most recently
15896 added check. Only act on the data if no current modification
15897 happened.
15898
15899 See ChangeLog.17 for earlier changes.
This page took 0.807488 seconds and 6 git commands to generate.