]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
SH: Use fpu_control_t for the temporary FPU control word.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
04fb54b5
TS
12012-05-27 Thomas Schwinge <thomas@codesourcery.com>
2
3 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
4 the temporary FPU control word.
5 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
7 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
9 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
12 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
13 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
14 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16
3f99608f
KK
172012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18
19 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20 fields.
21
65a4de4e
CLT
222012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
23
24 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
25 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28 Likewise.
29 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31 Likewise.
32
15749d40
UD
332012-05-27 Ulrich Drepper <drepper@gmail.com>
34
35 * po/h.po: Update from translation team.
36
25dbcb27
AS
372012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38
3d3f8e55
AS
39 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40
25dbcb27
AS
41 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42 handling of denormals.
43 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
50 Likewise.
51
7ad47a80 522012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
53
54 [BZ #14152]
55 * math/libm-test.inc (fma_test): Don't always expect underflow
56 exception.
57
9c6ea9fa
SP
582012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
59
60 [BZ #12416]
61 * elf/tst-execstack.c: Include stackinfo.h.
62 (do_test): Adjust test case to ensure that pthread_getattr_np
63 behaviour remains the same after marking stack executable.
64
a8239222
JM
652012-05-25 Joseph Myers <joseph@codesourcery.com>
66
67 * sysdeps/unix/sysv/linux/kernel-features.h
68 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
69 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70 kernel-features.h.
71 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
72 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
74 kernel-features.h.
75 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
76 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77
918b5606
L
782012-05-25 H.J. Lu <hongjiu.lu@intel.com>
79
80 * configure.in: Define the default includes to being none.
81 * configure: Regenerated.
82
3a097cc7
RM
832012-05-25 Roland McGrath <roland@hack.frob.com>
84
8422c9a5
RM
85 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
86 * sysdeps/x86_64/setjmp.S: Likewise.
87 * sysdeps/i386/bsd-setjmp.S: Likewise.
88 * sysdeps/i386/bsd-_setjmp.S: Likewise.
89 * sysdeps/i386/setjmp.S: Likewise.
90 * sysdeps/i386/__longjmp.S: Likewise.
91 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
92 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
93
3a097cc7
RM
94 * include/stap-probe.h: New file.
95 * configure.in: Handle --enable-systemtap.
96 * configure: Regenerated.
97 * config.h.in (USE_STAP_PROBE): New #undef.
98 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
99 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
100 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
101
21708942
JM
1022012-05-25 Joseph Myers <joseph@codesourcery.com>
103
104 [BZ #13717]
105 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
106 to 2.4.0 where earlier.
107 * sysdeps/unix/sysv/linux/configure: Regenerated.
108 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
109 <kernel-features.h>.
110 [__ASSUME_32BITUIDS]: Make code unconditional.
111 [!__ASSUME_32BITUIDS]: Remove conditional code.
112 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
113 <kernel-features.h>.
114 [__ASSUME_32BITUIDS]: Make code unconditional.
115 [!__ASSUME_32BITUIDS]: Remove conditional code.
116 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
117 [__ASSUME_32BITUIDS]: Make code unconditional.
118 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
119 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
120 <kernel-features.h>.
121 [__ASSUME_32BITUIDS]: Make code unconditional.
122 [!__ASSUME_32BITUIDS]: Remove conditional code.
123 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
124 <kernel-features.h>.
125 [__ASSUME_32BITUIDS]: Make code unconditional.
126 [!__ASSUME_32BITUIDS]: Remove conditional code.
127 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
128 <kernel-features.h>.
129 [__ASSUME_32BITUIDS]: Make code unconditional.
130 [!__ASSUME_32BITUIDS]: Remove conditional code.
131 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
132 <kernel-features.h>.
133 [__ASSUME_32BITUIDS]: Make code unconditional.
134 [!__ASSUME_32BITUIDS]: Remove conditional code.
135 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
136 <kernel-features.h>.
137 [__ASSUME_32BITUIDS]: Make code unconditional.
138 [!__ASSUME_32BITUIDS]: Remove conditional code.
139 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
140 <kernel-features.h>.
141 [__ASSUME_32BITUIDS]: Make code unconditional.
142 [!__ASSUME_32BITUIDS]: Remove conditional code.
143 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
144 <kernel-features.h>.
145 [__ASSUME_32BITUIDS]: Make code unconditional.
146 [!__ASSUME_32BITUIDS]: Remove conditional code.
147 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
148 <kernel-features.h>.
149 [__ASSUME_32BITUIDS]: Make code unconditional.
150 [!__ASSUME_32BITUIDS]: Remove conditional code.
151 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
152 <kernel-features.h>.
153 [__ASSUME_32BITUIDS]: Make code unconditional.
154 [!__ASSUME_32BITUIDS]: Remove conditional code.
155 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
156 <kernel-features.h>.
157 [__ASSUME_32BITUIDS]: Make code unconditional.
158 [!__ASSUME_32BITUIDS]: Remove conditional code.
159 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
160 <kernel-features.h>.
161 [__NR_setresgid] (__setresgid): Do not declare.
162 [__ASSUME_32BITUIDS]: Make code unconditional.
163 [!__ASSUME_32BITUIDS]: Remove conditional code.
164 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
165 <kernel-features.h>.
166 [__NR_setresuid] (__setresuid): Do not declare.
167 [__ASSUME_32BITUIDS]: Make code unconditional.
168 [!__ASSUME_32BITUIDS]: Remove conditional code.
169 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
170 <kernel-features.h>.
171 [__ASSUME_32BITUIDS]: Make code unconditional.
172 [!__ASSUME_32BITUIDS]: Remove conditional code.
173 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
174 <kernel-features.h>.
175 [__ASSUME_32BITUIDS]: Make code unconditional.
176 [!__ASSUME_32BITUIDS]: Remove conditional code.
177 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
178 <kernel-features.h>.
179 [__ASSUME_32BITUIDS]: Make code unconditional.
180 [!__ASSUME_32BITUIDS]: Remove conditional code.
181 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
182 <kernel-features.h>.
183 [__ASSUME_32BITUIDS]: Make code unconditional.
184 [!__ASSUME_32BITUIDS]: Remove conditional code.
185 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
186 <kernel-features.h>.
187 [__ASSUME_32BITUIDS]: Make code unconditional.
188 [!__ASSUME_32BITUIDS]: Remove conditional code.
189 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
190 <kernel-features.h>.
191 [__ASSUME_32BITUIDS]: Make code unconditional.
192 [!__ASSUME_32BITUIDS]: Remove conditional code.
193 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
194 <kernel-features.h>.
195 [__ASSUME_32BITUIDS]: Make code unconditional.
196 [!__ASSUME_32BITUIDS]: Remove conditional code.
197 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
198 <kernel-features.h>.
199 [__ASSUME_32BITUIDS]: Make code unconditional.
200 [!__ASSUME_32BITUIDS]: Remove conditional code.
201 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
202 <kernel-features.h>.
203 [__ASSUME_32BITUIDS]: Make code unconditional.
204 [!__ASSUME_32BITUIDS]: Remove conditional code.
205 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
206 <kernel-features.h>.
207 [__ASSUME_32BITUIDS]: Make code unconditional.
208 [!__ASSUME_32BITUIDS]: Remove conditional code.
209 * sysdeps/unix/sysv/linux/kernel-features.h
210 (__ASSUME_SETRESUID_SYSCALL): Remove.
211 (__ASSUME_SETRESGID_SYSCALL): Likewise.
212 (__ASSUME_32BITUIDS): Likewise.
213 (__ASSUME_LDT_WORKS): Likewise.
214 (__ASSUME_O_DIRECTORY): Likewise.
215 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
216 architecture but not kernel version.
217 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
218 (__ASSUME_MMAP2_SYSCALL): Likewise.
219 (__ASSUME_STAT64_SYSCALL): Likewise.
220 (__ASSUME_IPC64): Likewise.
221 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
222 <kernel-features.h>.
223 [__ASSUME_32BITUIDS]: Make code unconditional.
224 [!__ASSUME_32BITUIDS]: Remove conditional code.
225 * sysdeps/unix/sysv/linux/opendir.c: Do not include
226 <kernel-features.h>.
227 [__ASSUME_O_DIRECTORY]: Make code unconditional.
228 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
229 132096]: Remove conditional code.
230 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
231 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
232 <kernel-features.h>.
233 [__ASSUME_32BITUIDS]: Make code unconditional.
234 [!__ASSUME_32BITUIDS]: Remove conditional code.
235 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
236 <kernel-features.h>.
237 [__ASSUME_32BITUIDS]: Make code unconditional.
238 [!__ASSUME_32BITUIDS]: Remove conditional code.
239 * sysdeps/unix/sysv/linux/setegid.c: Do not include
240 <kernel-features.h>.
241 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
242 unconditional.
243 (__setresgid): Do not declare.
244 [__ASSUME_32BITUIDS]: Make code unconditional.
245 [!__ASSUME_32BITUIDS]: Remove conditional code.
246 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
247 <kernel-features.h>.
248 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
249 unconditional.
250 (__setresuid): Do not declare.
251 [__ASSUME_32BITUIDS]: Make code unconditional.
252 [!__ASSUME_32BITUIDS]: Remove conditional code.
253 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
254 <kernel-features.h>.
255 [__ASSUME_32BITUIDS]: Make code unconditional.
256 [!__ASSUME_32BITUIDS]: Remove conditional code.
257 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
258 <kernel-features.h>.
259 [__ASSUME_32BITUIDS]: Make code unconditional.
260 [!__ASSUME_32BITUIDS]: Remove conditional code.
261
a386f1cc
RH
2622012-05-25 Richard Henderson <rth@twiddle.net>
263
264 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
265 dl_hwcap to ifunc resolver.
266 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
267 elf_ifunc_invoke.
268 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
269 dl_hwcap to ifunc resolver.
270 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
271
b6550497
JM
2722012-05-24 Joseph Myers <joseph@codesourcery.com>
273
274 [BZ #14153]
275 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
276 for |x| <= 2**-26, not 2**-57.
277 * math/libm-test.inc (acos_test): Do not allow spurious underflow
278 exception.
279
b0bc23a1
JL
2802012-05-24 Jeff Law <law@redhat.com>
281
282 * stdio-common/Makefile (tests): Add bug25.
283 * stdio-common/bug25.c: New test.
284
347c92e9
L
2852012-05-24 H.J. Lu <hongjiu.lu@intel.com>
286
287 [BZ #13576]
288 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
289 multiple of MALLOC_ALIGNMENT in size.
290 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
291
6bcc8b3f
JM
2922012-05-24 Joseph Myers <joseph@codesourcery.com>
293
294 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
295 Require >= 256.
296 (FILENAME_MAX): Use macro-int-constant.
297 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
298 (_IOFBF): Use macro-int-constant.
299 (_IOLBF): Likewise.
300 (_IONBF): Likewise.
301 (SEEK_CUR): Likewise.
302 (SEEK_END): Likewise.
303 (SEEK_SET): Likewise.
304 (TMP_MAX): Likewise.
305 (EOF): Use macro-int-constant. Require < 0.
306 (NULL): Use macro-constant. Require == 0.
307 (stdin): Require type to be FILE *.
308 (stdout): Likewise.
309 (stderr): Likewise.
310 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
311 macro-int-constant.
312 (EXIT_SUCCESS): Likewise.
313 (NULL): Use macro-constant. Require == 0.
314 (RAND_MAX): Use macro-int-constant.
315 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
316 [C99-based standards] (strtof): Require function.
317 [C99-based standards] (strtold): Likewise.
318 [C99-based standards] (strtoll): Likewise.
319 [C99-based standards] (strtoull): Likewise.
320 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
321 [ISO || ISO99 || ISO11] (limits.h): Likewise.
322 [ISO || ISO99 || ISO11] (math.h): Likewise.
323 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
324 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
326
d18ea0c5
AS
3272012-05-24 Andreas Schwab <schwab@linux-m68k.org>
328
329 [BZ #14132]
56d25bb8
AS
330 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
331 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
332 * intl/dgettext.c (DCGETTEXT): Likewise.
333 * intl/gettext.c (DCGETTEXT): Likewise.
334 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
335 * posix/regex_internal.h (gettext): Likewise.
336 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
337 Remove declaration.
338 * include/argz.h (__argz_count_internal)
339 (__argz_stringify_internal): Remove declaration.
340 (__argz_count, __argz_stringify): Declare hidden proto.
341 * intl/dcgettext.c: Remove use of INTDEF.
342 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
343 * string/argz-stringify.c: Likewise.
344 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
345 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
346 Declare hidden proto.
d18ea0c5
AS
347 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
348 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
349 Declare hidden proto.
350 * include/stdio.h (__asprintf_internal): Don't declare.
351 (__asprintf): Don't define as macro. Declare hidden proto.
352 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
353 (__fsetlocking): Declare hidden proto.
354 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
355 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
356 hidden proto.
357 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
358 (_IO_setlinebuf): Remove use of INTUSE.
359 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
360 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
361 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
362 Remove declaration.
363 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
364 (_IO_do_flush): Remove use of INTUSE.
365 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
366 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
367 (_IO_adjust_column, _IO_least_wmarker)
368 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
369 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
370 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
371 (_IO_default_doallocate, _IO_wdefault_doallocate)
372 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
373 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
374 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
375 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
376 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
377 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
378 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
379 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
380 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
381 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
382 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
383 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
384 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
385 proto.
386 (_IO_flush_all_internal, _IO_adjust_column_internal)
387 (_IO_default_uflow_internal, _IO_default_finish_internal)
388 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
389 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
390 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
391 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
392 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
393 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
394 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
395 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
396 (_IO_file_close_internal, _IO_file_close_it_internal)
397 (_IO_file_underflow_internal, _IO_file_overflow_internal)
398 (_IO_file_init_internal, _IO_file_attach_internal)
399 (_IO_file_fopen_internal, _IO_file_read_internal)
400 (_IO_file_sync_internal, _IO_file_seek_internal)
401 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
402 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
403 (_IO_str_underflow_internal, _IO_str_overflow_internal)
404 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
405 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
406 (_IO_list_all_internal, _IO_link_in_internal)
407 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
408 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
409 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
410 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
411 (_IO_do_write_internal, _IO_padn_internal)
412 (_IO_getline_info_internal, _IO_getline_internal)
413 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
414 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
415 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
416 (_IO_vfscanf_internal, _IO_vfprintf_internal)
417 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
418 (_IO_init_internal, _IO_un_link_internal): Don't declare.
419 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
420 with libc_hidden_ver, remove use of INTUSE.
421 * libio/genops.c: Likewise.
422 * libio/freopen.c: Likewise.
423 * libio/freopen64.c: Likewise.
424 * libio/iofclose.c: Likewise.
425 * libio/iofdopen.c: Likewise.
426 * libio/iofflush.c: Likewise.
427 * libio/iofflush_u.c: Likewise.
428 * libio/iofgets.c: Likewise.
429 * libio/iofgets_u.c: Likewise.
430 * libio/iofopen.c: Likewise.
431 * libio/iofopncook.c: Likewise.
432 * libio/iofread.c: Likewise.
433 * libio/iofread_u.c: Likewise.
434 * libio/ioftell.c: Likewise.
435 * libio/iofwrite.c: Likewise.
436 * libio/iogetline.c: Likewise.
437 * libio/iogets.c: Likewise.
438 * libio/iogetwline.c: Likewise.
439 * libio/iopadn.c: Likewise.
440 * libio/iopopen.c: Likewise.
441 * libio/ioseekoff.c: Likewise.
442 * libio/ioseekpos.c: Likewise.
443 * libio/iosetbuffer.c: Likewise.
444 * libio/iosetvbuf.c: Likewise.
445 * libio/ioungetc.c: Likewise.
446 * libio/ioungetwc.c: Likewise.
447 * libio/iovdprintf.c: Likewise.
448 * libio/iovsprintf.c: Likewise.
449 * libio/iovsscanf.c: Likewise.
450 * libio/memstream.c: Likewise.
451 * libio/obprintf.c: Likewise.
452 * libio/oldfileops.c: Likewise.
453 * libio/oldiofclose.c: Likewise.
454 * libio/oldiofdopen.c: Likewise.
455 * libio/oldiofopen.c: Likewise.
456 * libio/oldiopopen.c: Likewise.
457 * libio/oldstdfiles.c: Likewise.
458 * libio/putc.c: Likewise.
459 * libio/setbuf.c: Likewise.
460 * libio/setlinebuf.c: Likewise.
461 * libio/stdfiles.c: Likewise.
462 * libio/strops.c: Likewise.
463 * libio/vasprintf.c: Likewise.
464 * libio/vscanf.c: Likewise.
465 * libio/vsnprintf.c: Likewise.
466 * libio/vswprintf.c: Likewise.
467 * libio/wfiledoalloc.c: Likewise.
468 * libio/wfileops.c: Likewise.
469 * libio/wgenops.c: Likewise.
470 * libio/wmemstream.c: Likewise.
471 * libio/wstrops.c: Likewise.
472 * libio/__fpurge.c: Likewise.
473 * libio/__fsetlocking.c: Likewise.
474 * assert/assert.c: Likewise.
475 * debug/fgets_chk.c: Likewise.
476 * debug/fgets_u_chk.c: Likewise.
477 * debug/fread_chk.c: Likewise.
478 * debug/fread_u_chk.c: Likewise.
479 * debug/gets_chk.c: Likewise.
480 * debug/obprintf_chk.c: Likewise.
481 * debug/vasprintf_chk.c: Likewise.
482 * debug/vdprintf_chk.c: Likewise.
483 * debug/vsnprintf_chk.c: Likewise.
484 * debug/vsprintf_chk.c: Likewise.
485 * malloc/mtrace.c: Likewise.
486 * misc/error.c: Likewise.
487 * misc/syslog.c: Likewise.
488 * stdio-common/asprintf.c: Likewise.
489 * stdio-common/fxprintf.c: Likewise.
490 * stdio-common/getw.c: Likewise.
491 * stdio-common/isoc99_fscanf.c: Likewise.
492 * stdio-common/isoc99_scanf.c: Likewise.
493 * stdio-common/isoc99_vfscanf.c: Likewise.
494 * stdio-common/isoc99_vscanf.c: Likewise.
495 * stdio-common/isoc99_vsscanf.c: Likewise.
496 * stdio-common/printf-prs.c: Likewise.
497 * stdio-common/printf_fp.c: Likewise.
498 * stdio-common/printf_fphex.c: Likewise.
499 * stdio-common/printf_size.c: Likewise.
500 * stdio-common/putw.c: Likewise.
501 * stdio-common/scanf.c: Likewise.
502 * stdio-common/sprintf.c: Likewise.
503 * stdio-common/tmpfile.c: Likewise.
504 * stdio-common/vfprintf.c: Likewise.
505 * stdio-common/vfscanf.c: Likewise.
506 * stdlib/strfmon_l.c: Likewise.
507 * sunrpc/openchild.c: Likewise.
508 * sunrpc/xdr_stdio.c: Likewise.
509 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
510 * sysdeps/mach/hurd/tmpfile.c: Likewise.
511
d6c33fda
RM
5122012-05-24 Roland McGrath <roland@hack.frob.com>
513
c1487492
RM
514 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
515
516 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
517 in the third column, to generate for the shared library an IFUNC
518 that uses _dl_vdso_vsym.
519 * Makerules (COMPILE.c, compile-stdin.c): New variables.
520 * Makeconfig (object-suffixes-noshared): New variable.
521
522 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
523 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
524 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
525 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
526
d6c33fda
RM
527 [BZ #14132]
528 * include/sys/time.h (__gettimeofday): Remove macro.
529 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
530 * time/gettimeofday.c (__gettimeofday): Remove #undef.
531 Remove INTDEF.
532 (__gettimeofday): Add libc_hidden_def.
533 (gettimeofday): Add libc_hidden_weak.
534 * sysdeps/mach/gettimeofday.c: Likewise.
535 * sysdeps/posix/gettimeofday.c: Likewise.
536 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
537 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
538 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
539 (__gettimeofday_internal): Remove strong_alias.
540 (__gettimeofday): Add libc_hidden_def.
541 (gettimeofday): Add libc_hidden_weak.
542 * sysdeps/unix/syscalls.list (gettimeofday):
543 Remove __gettimeofday_internal alias.
544
b5a2bbe6
L
5452012-05-24 Daniel Jacobowitz <drow@false.org>
546 H.J. Lu <hongjiu.lu@intel.com>
547
548 [BZ #12495]
549 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
550 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
551 (largebin_index_32_big): New.
552 (largebin_index): Use it for 16-byte alignment.
553 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
554 correction with front_misalign.
555
cfba4fda
L
5562012-05-24 H.J. Lu <hongjiu.lu@intel.com>
557
7f907421
L
558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
560 Likewise.
561 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
562 Likewise.
563 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
564 Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
566 Likewise.
567 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
568 Likewise.
569 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
570 Likewise.
571 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
572 Likewise.
573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
574 Likewise.
575 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
576 Likewise.
577 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
578 Likewise.
579 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
580 Likewise.
581 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
582 Likewise.
583
cfba4fda
L
584 * scripts/data/c++-types-x32-linux-gnu.data: New file.
585 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
586
80bad0cc
JM
5872012-05-24 Joseph Myers <joseph@codesourcery.com>
588
7a25eb06
JM
589 [BZ #10846]
590 [BZ #14036]
591 * math/libm-test.inc (exp_test): Add test from bug 14036.
592 (pow_test): Add test from bug 10846.
593
795405f9
JM
594 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
595 and other flags.
596 (special_function): Do not include flags in test name.
597 (parse_args): Likewise.
598 * sysdeps/i386/fpu/libm-test-ulps: Update.
599 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
600 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
601 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
80bad0cc
JM
604 * math/gen-libm-test.pl (%beautify): Add entries for underflow
605 exceptions.
606 * math/libm-test.inc ("Philosophy"): Update comment about
607 exception testing.
608 (UNDERFLOW_EXCEPTION): New macro.
609 (UNDERFLOW_EXCEPTION_OK): Likewise.
610 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
611 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
612 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
613 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
614 (INVALID_EXCEPTION_OK): Update value.
615 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
616 (OVERFLOW_EXCEPTION_OK): Likewise.
617 (IGNORE_ZERO_INF_SIGN): Likewise.
618 (test_exceptions): Handle underflow exceptions.
619 (acos_test): Update for underflow exception expectations.
620 (cexp_test): Likewise.
621 (clog_test): Likewise.
622 (clog10_test): Likewise.
623 (csqrt_test): Likewise.
624 (ctan_test): Likewise.
625 (ctanh_test): Likewise.
626 (exp_test): Likewise.
627 (exp10_test): Likewise.
628 (exp2_test): Likewise.
629 (expm1_test): Likewise.
630 (fma_test): Likewise.
631 (j0_test): Likewise.
632 (jn_test): Likewise.
633 (nexttoward_test): Likewise.
634 (pow_test): Likewise.
635 (scalbn_test): Likewise.
636 (scalbln_test): Likewise.
637 (tan_test): Likewise.
638 (y1_test): Likewise.
639 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
641
9e0e3d0b
DM
6422012-05-23 David S. Miller <davem@davemloft.net>
643
644 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
645 (__libc_sigaction): Remove unused local variables.
646
ccd0a08f
L
6472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
648
649 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
650
62bdf9a6
PE
6512012-05-23 Paul Eggert <eggert@cs.ucla.edu>
652
f8591f80
PE
653 mktime: avoid signed integer overflow
654 * time/mktime.c (__mktime_internal): Do not mishandle the case
655 where diff == INT_MIN.
656
94c7d826
PE
657 mktime: simplify computation of average
658 * time/mktime.c (ranged_convert): Use new time_t_avg function
659 instead of rolling our own (probably-slower) code.
660
ce73d683
PE
661 mktime: do not assume signed right shift propagates sign bit
662 * time/mktime.c (isdst_differ): New static function.
663 (__mktime_internal): No need to normalize tm_isdst now.
664 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
665 tm_isdst values.
666
72a22e59
PE
667 mktime: merge another wrapv change from gnulib
668 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
669 from some compilers.
670
68605433
PE
671 mktime: remove incorrect attempt at unusual arithmetics
672 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
673 The code didn't really work on such machines anyway.
674 (TYPE_MINIMUM): Assume two's complement.
675 (twos_complement_arithmetic): Verify that long_int and time_t
676 are two's complement (or unsigned, in the latter case).
677
03cf7fe3
PE
678 mktime: check signed shifts on long_int and time_t, too
679 * time/mktime.c (SHR): Check that shifts work as desired
680 on the types long_int and time_t too, as SHR is used on
681 such types.
682
f04dfbc2
PE
683 mktime: do not assume 'long' is wide enough
684 * time/mktime.c (verify): Move decl up.
685 (long_int): New type.
686 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
687 to remove assumption in the code that 'long' is wide enough to
688 store year values. This assumption is not true on x32 and on
689 some non-glibc platforms.
690
62bdf9a6
PE
691 mktime: merge wrapv change from gnulib
692 * time/mktime.c (WRAPV): New macro.
693 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
694 (guess_time_tm, __mktime_internal): Do not assume that signed
695 integer overflow wraps around; modern compilers generate code
696 where this assumption is no longer valid.
697
5e292e4f
L
6982012-05-23 H.J. Lu <hongjiu.lu@intel.com>
699
700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
701 Replace "jmp L(pseudo_end)" with "ret".
702 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
703 Likewise.
704
8caf8c87
AJ
7052012-05-23 Andreas Jaeger <aj@suse.de>
706
707 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
708 * sysdeps/unix/sysv/linux/poll.c: Remove file.
709
1a09dc56
AJ
7102012-05-23 Andreas Jaeger <aj@suse.de>
711 Maximilian Attems <max@stro.at>
712
713 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
714 New macros.
715
1c87aba0
L
7162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
717
718 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
719 code so that pseudo_end is just ret and the stack pointer is
720 correct also for static library in error case.
721
40e45bd5
JM
7222012-05-23 Joseph Myers <joseph@codesourcery.com>
723
c2670533
JM
724 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
725 move to syscalls.list.
726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
730
40e45bd5
JM
731 * manual/install.texi (Running make install): Do not mention Linux
732 kernel version for which pt_chown is not needed.
733 (Linux): Do not mention problems with nscd with 2.0 kernels.
734 * INSTALL: Regenerated.
735
be08eda5
AJ
7362012-05-23 Andreas Jaeger <aj@suse.de>
737
738 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
739 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
740 macro.
741 * sysdeps/unix/sysv/linux/s390/bits/mman.h
742 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
743 * sysdeps/unix/sysv/linux/sh/bits/mman.h
744 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
745 * sysdeps/unix/sysv/linux/i386/bits/mman.h
746 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
747 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
748 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
749 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
750 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
751 * sysdeps/unix/sysv/linux/bits/in.h
752 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
753
a6a056bb
RM
7542012-05-22 Roland McGrath <roland@hack.frob.com>
755
756 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
757 (PREPARE_VERSION): Just use assert instead, it will be elided
758 under [NDEBUG] anyway.
759
c9009328
L
7602012-05-22 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/unix/sysv/linux/Makefile: Include
763 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 764 (sysdep_routines): Remove sysctl.
c9009328
L
765 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
766 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
768 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
769 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
770
73338355
AJ
7712012-05-22 Andreas Jaeger <aj@suse.de>
772
773 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
774 that pseudo_end is just ret and the stack pointer is correct also
775 for static library in error case.
776
d44638b0
PP
7772012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
778
779 [BZ #14122]
780 * nss/nsswitch.c (defconfig_entries): New variable.
781 (__nss_database_lookup): Don't leak defconfig entries.
782 (nss_parse_service_list): Don't leak on error paths.
783 (free_database_entries): New function.
784 (free_defconfig): New function.
785 (free_mem): Move common code to free_database_entries.
786
31a39bd8
L
7872012-05-22 H.J. Lu <hongjiu.lu@intel.com>
788
da0331a8
L
789 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
790 Add arch_prctl.
791 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
792
31a39bd8
L
793 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
794 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
795 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
796 New macro.
797 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
798 (INTERNAL_SYSCALL_TYPES): Likewise.
799 (LOAD_ARGS_TYPES_[1-6]): Likewise.
800 (LOAD_REGS_TYPES_[1-6]): Likewise.
801 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
802 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
803
45470df3
AZ
8042012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
805
806 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
807 copysignl for GLIBC_2_0.
808 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
809 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
810 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
811 logbl for GLIBC_2_0.
812 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
813 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
814
98a61bcb
L
8152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
816
a4f6e481
L
817 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
819
f63d5db6
L
820 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
821 Use "neg %eax".
822
98a61bcb
L
823 * time/mktime.c: Update copyright years.
824
95770f14
PE
8252012-05-22 Paul Eggert <eggert@cs.ucla.edu>
826
6226efbd
PE
827 mktime: merge comment-quoting-style change from gnulib
828 * time/mktime.c: Quote 'like this' in comments.
829 The GNU coding standards suggest that we no longer quote `like this',
830 as "`" and "'" are typically rendered asymmetrically nowadays.
831 The typical gnulib style is to quote 'like this' when quoting
832 code, and "like this" when quoting English.
833
b99e4f78
PE
834 * time/mktime.c (compile-command): Add "-I.".
835
643e01e6
PE
836 mktime: merge mktime-internal.h change from gnulib
837 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
838
2554247d
PE
839 mktime: merge time_r change from gnulib
840 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
841
826dd0ab
PE
842 mktime: merge DEBUG change from gnulib
843 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
844 case system <time.h> has a #define.
845
bd83aabe
PE
846 mktime: merge <sys/types.h> change from gnulib
847 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
848 since <time.t> is now guaranteed to define time_t.
849
95770f14
PE
850 mktime: merge HAVE_CONFIG_H change from gnulib
851 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
852
5e1a27a9
L
8532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
854
0e44a77e
L
855 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
856 Use "neg %eax".
857
5e1a27a9
L
858 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
859 __rlim_t cast.
860 (struct rusage): Use anonymous union to pad each field to
861 __syscall_slong_t.
862
46259bec
DM
8632012-05-21 David S. Miller <davem@davemloft.net>
864
865 * Makefules (o-iterator): Remove .s cases.
866 (compile-command.s): Delete.
867 (COMPILE.s): Delete.
868 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
869
59f0c22e
JM
8702012-05-21 Joseph Myers <joseph@codesourcery.com>
871
872 * configure.in (libc_cv_predef_stack_protector): Only consider
873 "foobar" and "__stack_chk_fail" lines in libc_undefs.
874 * configure: Regenerated.
875
20c07380
L
8762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
877
bbb3154b
L
878 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
879 New macro. Use R*LP on int and pointer.
880 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
881 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
882 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
883 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
884
20c07380
L
885 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
886 [__WORDSIZE_TIME64_COMPAT32] instead of
887 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
888 (struct utmp): Likewise.
889 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
890 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
891 Renamed to ...
892 (__WORDSIZE_TIME64_COMPAT32): This.
893 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
894 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
895 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
897 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
898 (__WORDSIZE_TIME64_COMPAT32): New macro.
899
d8d1017e
AJ
9002012-05-21 Andreas Jaeger <aj@suse.de>
901
902 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
903 only if [SHARED]. Add prototype for __wcschr_ia32.
904
6c7fb145
RM
9052012-05-21 Roland McGrath <roland@hack.frob.com>
906
907 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
908 of %rbp unmolested in the jmp_buf while mangling the low bits.
909 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
910 unmolested high bits of %rbp while demangling the low bits.
911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
912
66274218
AJ
9132012-05-21 Andreas Jaeger <aj@suse.de>
914
07c58f8f
AJ
915 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
916 * sunrpc/svc_simple.c: Use it for registerrpc.
917 * sunrpc/xcrypt.c: Use it for passwd2des.
918
66274218
AJ
919 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
920
61f65140
L
9212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
922
923 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
924 Don't define if [__SYSCALL_WORDSIZE != 32].
925 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
926 New macro.
927
5fefb436
AJ
9282012-05-21 Bruno Haible <bruno@clisp.org>
929 Andreas Jaeger <aj@suse.de>
930
931 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
932 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
933 inptr and inend for must_buffer_ch.
934 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
935 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
936 * stdio-common/Makefile (tests): Remove bug15.
937 (bug15-ENV): Remove macro.
938 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
939 anymore.
940
d8e272ab
AJ
9412012-05-19 Andreas Jaeger <aj@suse.de>
942 Roland McGrath <roland@hack.frob.com>
943
944 * manual/contrib.texi: Completely rewritten. It contains now an
945 alphabetical list of contributors and their contributions.
946
4a56a162
RH
9472012-05-21 Richard Henderson <rth@twiddle.net>
948
949 * misc/getauxval.c (__getauxval): Use unsigned long int.
950 * misc/sys/auxv.h: Include <sys/cdefs.h>.
951 (getauxval): Use unsigned long int.
952
d024d23c
L
9532012-05-21 H.J. Lu <hongjiu.lu@intel.com>
954
955 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
956
cbc00a03
RM
9572012-05-21 Roland McGrath <roland@hack.frob.com>
958
959 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
960 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
961 __alignof__ (long double).
962
478143fa
AZ
9632012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
964
965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
966
c7683a6d
RH
9672012-05-20 Richard Henderson <rth@twiddle.net>
968
969 * misc/getauxval.c: New file.
970 * misc/sys/auxv.h: New file.
971 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
972 (routines): Add getauxval.
973 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
974 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
975 * elf/dl-sysdep.c (_dl_auxv): Remove.
976 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
977 * elf/dl-support.c (_dl_auxv): New variable.
978 (_dl_aux_init): Initialize it.
979 * manual/startup.texi (Auxiliary Vector): New node.
980 * sysdeps/generic/bits/hwcap.h: New file.
981 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
982 * sysdeps/powerpc/sysdep.h: ... here. Include it.
983 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
984 * sysdeps/sparc/sysdep.h: ... here. Include it.
985 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
986 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
988 Update.
c7683a6d
RH
989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
991 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
992 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
995 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
997
a6f1845d
AZ
9982012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
999
1000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1001
cbcbe830
DM
10022012-05-19 David S. Miller <davem@davemloft.net>
1003
1004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1005
e0b16cc2
JM
10062012-05-19 Joseph Myers <joseph@codesourcery.com>
1007
1008 [BZ #14123]
1009 * math/s_ccosh.c: Include <float.h>
1010 (__ccosh): Avoid internal overflow calculating sinh and cosh
1011 values before multiplying by sin and cos values.
1012 * math/s_ccoshf.c: Likewise.
1013 * math/s_ccoshl.c: Likewise.
1014 * math/s_csin.c: Likewise.
1015 * math/s_csinf.c: Likewise.
1016 * math/s_csinl.c: Likewise.
1017 * math/s_csinh.c: Likewise.
1018 * math/s_csinhf.c: Likewise.
1019 * math/s_csinhl.c: Likewise.
1020 * math/libm-test.inc (ccos_test): Add more tests.
1021 (ccosh_test): Likewise.
1022 (csin_test): Likewise.
1023 (csinh_test): Likewise.
1024 * sysdeps/i386/fpu/libm-test-ulps: Update.
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1026
6ad13e08
L
10272012-05-19 H.J. Lu <hongjiu.lu@intel.com>
1028
f66f0ce8
L
1029 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
1030 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
1031
6ad13e08
L
1032 * sysdeps/x86_64/x32/_itoa.h: Add comment.
1033
b1d072a7
JM
10342012-05-19 Joseph Myers <joseph@codesourcery.com>
1035
1036 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
1037 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1038 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1039 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1040 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1041 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1042 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1043 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1044 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1045 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1046 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1047 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1048 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1049 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1050 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1051 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1052 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1053 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1054 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1055 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1056 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1057 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1058 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1059 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1060 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1061 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1062 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1063 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1064 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1065 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1066 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1067
9eae47cb
AJ
10682012-05-18 Andreas Jaeger <aj@suse.de>
1069
1070 * csu/.gitignore: Delete.
1071
bb07f69f
L
10722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1075 (timex): Use __syscall_slong_t.
1076
e6bdb741
AJ
10772012-05-18 Andreas Jaeger <aj@suse.de>
1078 Carlos O'Donell <carlos_odonell@mentor.com>
1079
1080 * manual/install.texi (Configuring and compiling): Update
1081 description about files modified in the source directory.
d6c33fda 1082 * INSTALL: Regenerated.
e6bdb741 1083
1b74487e
L
10842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1085
1086 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1087 value. Use "or" to set return value to -1.
1088 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1089 negate return value.
1090
a88b64b9
TMQMF
10912012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1092
1093 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1094 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1095 failure if the compiler has Graphite support disabled.
1096 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1097 Likewise.
1098 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1099 CFLAGS-memmove.c): Likewise.
1100 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1101 Likewise.
1102
3707636e
L
11032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1104
610b8622
L
1105 * sysdeps/x86_64/x32/_itoa.h: New file.
1106
7cd195df
L
1107 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1108 getdents system call only if kernel and user dirents have the
1109 same d_ino and d_off.
1110
94b07d20
L
1111 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1112 LLONG_MAX != LONG_MAX.
1113 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1114 (_fitoa_word): Likewise.
1115
18298070
L
1116 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1117 years.
1118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1119 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1121
553c7ea4
L
1122 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1123 include <bits/wordsize.h>. Check __x86_64__ instead of
1124 __WORDSIZE.
1125 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1126 if __x86_64__ is defined. Use anonymous union on fpstate.
1127
3707636e
L
1128 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1129 anonymous union.
1130
b53ef01a
AS
11312012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1132
37fb1dc0
AS
1133 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1134 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1135 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1136 Refer to _rtld_local_ro instead of _rtld_global_ro.
1137 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1138 Likewise.
1139 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1140 Likewise.
1141 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1142 Likewise.
1143 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1144 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1145 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1146
b53ef01a
AS
1147 * sysdeps/powerpc/powerpc32/dl-machine.c
1148 (__elf_machine_runtime_setup) [PROF]: Don't reference
1149 _dl_prof_resolve.
1150
7a185db2
AJ
11512012-05-18 Andreas Jaeger <aj@suse.de>
1152
1153 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1154 function only available for GCCs before 3.4 since GCC 3.4
1155 introduced a builtin.
1156 (lrint): Likewise.
1157 (llrintf): Likewise.
1158 (llrint): Likewise.
1159 (fmaxf): Likewise.
1160 (fmax): Likewise.
1161 (fminf): Likewise.
1162 (fmin): Likewise.
1163 (rint): Likewise.
1164 (rintf): Likewise.
1165 (nearbyint): Likewise.
1166 (nearbyintf): Likewise.
1167 (ceil): Likewise.
1168 (ceilf): Likewise.
1169 (floor): Likewise.
1170 (floorf): Likewise.
1171
3e5aef87
L
11722012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1173
428bd707
L
1174 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1175 on both fields and cast pointer to __syscall_ulong_t.
1176
3e5aef87
L
1177 * bits/types.h (__fsword_t): New type.
1178 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1179 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1181 (__FSWORD_T_TYPE): Likewise.
1182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1183 (__FSWORD_T_TYPE): Likewise.
1184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1185 (__FSWORD_T_TYPE): Likewise.
1186 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1187 (__FSWORD_T_TYPE): Likewise.
1188 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1189 __SWORD_TYPE with __fsword_t.
1190 (statfs64): Likewise.
1191
1ba7c3dc
DM
11922012-05-17 David S. Miller <davem@davemloft.net>
1193
1194 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1195
59910343
AJ
11962012-05-17 Andreas Jaeger <aj@suse.de>
1197
1198 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1199 warning.
1200
2e4c1e9e
L
12012012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1202
1203 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1204
de7f5ce7
AJ
12052012-05-17 Andreas Jaeger <aj@suse.de>
1206
1207 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1208 when it is used.
1209
286abc3d
CM
12102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1211
1212 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1213
477cc68e
L
12142012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1217 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1218
1a0994f5
CD
12192012-05-17 Andreas Jaeger <aj@suse.de>
1220 Carlos O'Donell <carlos_odonell@mentor.com>
1221
1222 [BZ #14059]
1223 * sysdeps/x86_64/multiarch/init-arch.h
1224 (bit_YMM_Usable): Rename to...
1225 (bit_AVX_Usable): ... this.
1226 (bit_FMA4_Usable): New macro.
1227 (bit_XMM_state): New macro.
1228 (bit_YMM_state): New macro.
1229 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1230 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1231 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1232 (CPUID_OSXSAVE): New macro.
1233 (CPUID_AVX): New macro.
1234 (CPUID_FMA4): New macro.
1235 (index_YMM_Usable): Rename to...
1236 (index_AVX_Usable): ... this.
1237 (HAS_AVX): Use HAS_ARCH_FEATURE.
1238 (HAS_FMA4): Likewise.
1239 (HAS_YMM_USABLE): Remove.
1240 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1241 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1242 are present.
1243 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1244 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1245 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1246 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1247 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1248
0af797de
CM
12492012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1250
1251 * math/libm-test.c: Support platforms without multiple rounding modes.
1252 * math/bug-nextafter.c: Support platforms without FP exceptions.
1253 * math/bug-nexttoward.c: Likewise.
1254 * math/test-fenv.c: Likewise.
1255 * math/test-misc.c: Likewise.
1256 * stdlib/bug-getcontext.c: Likewise.
1257
e39745ff
AJ
12582012-05-17 Andreas Jaeger <aj@suse.de>
1259
1260 * manual/examples/search.c (critter_cmp): Change signature to
1261 avoid warnings.
1262 * manual/string.texi (Collation Functions): Likewise.
1263
48970aba
L
12642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1265
1266 * bits/types.h: Fold copyright years.
1267 * bits/typesizes.h: Likewise.
1268 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1269 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1271 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1272 * time/time.h: Likewise.
1273
bedee953
PP
12742012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1275
1276 [BZ #208]
1277 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1278 in instead of returning them. Return void.
1279 (__libc_mallinfo): Accumulate over all arenas.
1280 (__malloc_stats): Adjust for change in int_mallinfo interface.
1281
61653dfb
RM
12822012-05-16 Roland McGrath <roland@hack.frob.com>
1283
30b99d79
RM
1284 [BZ #10375]
1285 * configure.in (NM): Add AC_CHECK_TOOL for it.
1286 (libc_extra_cflags): New substituted variable.
1287 Check for -fstack-protector being used implicitly.
1288 * configure: Regenerated.
1289 * config.make.in (config-extra-cflags): New variable,
1290 gets @libc_extra_cflags@.
1291 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1292
61653dfb
RM
1293 [BZ #10375]
1294 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1295 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1296 * configure: Regenerated.
1297 * config.make.in (CPPUNDEFS): New substituted variable.
1298 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1299 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1300 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1301
661768bb
L
13022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1303
1304 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1305 (mq_attr): Use __syscall_slong_t.
1306
d4261567
L
13072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1308
1309 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1310 Check __x86_64__ instead of __WORDSIZE.
1311 (_STAT_VER_LINUX): Likewise.
1312 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1313 __syscall_ulong_t and __syscall_slong_t.
1314 (stat64): Likewise.
1315
cf3ff365
L
13162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1319
76cf3e4d
L
13202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1323
a637753a
L
13242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1325
1326 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1327 __syscall_ulong_t.
1328
d5e05119
L
1329 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1330 include <bits/wordsize.h>. Check __x86_64__ instead of
1331 __WORDSIZE.
1332 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1333 defined.
1334 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1335
f62ee380
L
1336 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1337 include <bits/wordsize.h>. Check __x86_64__ instead of
1338 __WORDSIZE.
1339 (user_regs_struct): Use "__extension__ unsigned long long"
1340 instead of "unsigned long" if __x86_64__ is defined.
1341 (user): Likewise. Pad after pointer field if __ILP32__ is
1342 defined.
1343
4e124ced
JM
13442012-05-16 Joseph Myers <joseph@codesourcery.com>
1345
6a3951a0
JM
1346 * configure.in (makeinfo): Require version 4.5 or later. Allow
1347 versions 5 to 9.
1348 * configure: Regenerated.
1349 * manual/install.texi (texinfo): Increase version requirement to
1350 4.5 or later.
1351 * INSTALL: Regenerated.
1352
4e124ced
JM
1353 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1354
953ca31a
L
13552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1356
1357 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1358
617aca05
L
1359 * sysdeps/x86_64/x32/ffs.c: New file.
1360
5762f7ae
L
1361 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1362 __syscall_ulong_t.
1363 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1364 defined. Use __syscall_ulong_t.
1365 (shminfo): Use __syscall_ulong_t.
1366 (shm_info): Likewise.
1367
a26b6856
L
1368 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1369 __syscall_ulong_t.
1370
cb2b9ef7
L
1371 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1372 <bits/wordsize.h>.
1373 (msgqnum_t): Use __syscall_ulong_t.
1374 (msglen_t): Likewise.
1375 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1376 __syscall_ulong_t.
1377
34683bb0
L
1378 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1379 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1380
84a68786
L
1381 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1382
48baa5f1
L
1383 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1384 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1385
180be88b
L
1386 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1387 __syscall_slong_t.
1388
5e90c8ad
L
1389 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1390 include <bits/wordsize.h>. Check __x86_64__ instead of
1391 __WORDSIZE.
1392
23dfb58b
L
1393 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1394 "unsigned long long int" if __x86_64__ is defined.
1395 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1396
ce5d54b0
L
1397 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1398 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1399 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1400
13dc9eac
L
1401 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1402 <stdint.h>.
1403 (GET_PC): Cast to uintptr_t first.
1404 (GET_FRAME): Likewise.
1405 (GET_STACK): Likewise.
1406
a7895d15
L
1407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1410 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1412 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1414 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1415 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1417 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1419 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1421 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1423 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1425 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1427 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1429 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1431 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1433 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1435 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1436
656416c9
AS
14372012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1438
5bd66283
AS
1439 * Makerules (+depfiles): Also collect depfiles from .oS in
1440 $(extra-objs).
1441 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1442 .oS, $(libnldbl-routines)).
1443
656416c9
AS
1444 * Makerules (native-compile-mkdep-flags): Define.
1445 * sunrpc/Makefile (extra-objs): Add $(addprefix
1446 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1447 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1448 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1449 calling $(make-target-directory).
1450
a46f2169
L
14512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * bits/types.h (__snseconds_t): Removed.
1454 * time/time.h (struct timespec): Replace __snseconds_t with
1455 __syscall_slong_t.
1456 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1457 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1458 Likewise.
1459 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1460 (__SNSECONDS_T_TYPE): Likewise.
1461 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1462 (__SNSECONDS_T_TYPE): Likewise.
1463 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1464 (__SNSECONDS_T_TYPE): Likewise.
1465
6af6528b
L
14662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1467
1468 * sysdeps/mach/hurd/bits/typesizes.h
1469 (__SYSCALL_SLONG_TYPE): New macro.
1470 (__SYSCALL_ULONG_TYPE): Likewise.
1471
de986b56
L
14722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1473
1474 * bits/types.h (__syscall_slong_t): New type.
1475 (__syscall_ulong_t): Likewise.
1476
1477 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1478 (__SYSCALL_ULONG_TYPE): Likewise.
1479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1480 (__SYSCALL_SLONG_TYPE): Likewise.
1481 (__SYSCALL_ULONG_TYPE): Likewise.
1482 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1483 (__SYSCALL_SLONG_TYPE): Likewise.
1484 (__SYSCALL_ULONG_TYPE): Likewise.
1485 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1486 (__SYSCALL_SLONG_TYPE): Likewise.
1487 (__SYSCALL_ULONG_TYPE): Likewise.
1488
85736dc7
L
14892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1492 Add sigaltstack-offsets.sym.
1493 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1494 <sigaltstack-offsets.h>.
1495 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1496 longjmp_msg pointer.
1497 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1498 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1499 signal stack.
1500 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1501
cc03b296
JM
15022012-05-15 Joseph Myers <joseph@codesourcery.com>
1503
a9538892
JM
1504 * elf/stackguard-macros.h: Remove file.
1505 * sysdeps/generic/stackguard-macros.h: New file.
1506 * sysdeps/i386/stackguard-macros.h: Likewise.
1507 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1508 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1509 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1510 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1511 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1512 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1513 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1514 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1515 <elf/stackguard-macros.h>.
1516
cc03b296
JM
1517 [BZ #14109]
1518 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1519 __aligned__ in attribute.
1520 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1521 (gregset_t): Likewise.
1522
93171016
L
15232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1526 * sysdeps/x86_64/64/Implies-after: Here. New file.
1527 * sysdeps/x86_64/x32/Implies-after: New file.
1528
d86813a0
L
15292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1530
1531 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1532 and access return value for _dl_profile_fixup. Use R10_LP to
1533 load frame size.
1534
2953ec75
L
15352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1536
1537 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1538
3b550e9e
L
15392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1540
1541 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1542 * sysdeps/x86_64/x32/sysdep.h: New file.
1543
eda41706
L
15442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1545
1546 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1547 * sysdeps/x86_64/setjmp.S: Likewise.
1548
9ea01d93
AZ
15492012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1550
1551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1553 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1554 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1555 remove unused global constant.
1556
02a91938
CM
15572012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1558
1559 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1560 include of <not-cancel.h>.
1561
6540185f
RM
15622012-05-15 Roland McGrath <roland@hack.frob.com>
1563
1564 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1565
509072a0
AJ
15662012-05-15 Jeff Law <law@redhat.com>
1567 Andreas Jaeger <aj@suse.de>
1568
1569 [BZ #13594]
1570 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1571 out from...
1572 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1573 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1574 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1575 code changing __hst_map_handle.map.
1576
ba75122d
RM
15772012-05-15 Roland McGrath <roland@hack.frob.com>
1578
1579 * configure.in (sysnames): Look for Implies-before and Implies-after
1580 files.
1581 * configure: Regenerated.
1582
890d8bd8
L
15832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1584
1585 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1586 8-byte data alignment with LP_SIZE alignment.
1587
f6ee6623
L
15882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1589
1590 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1591 into R10_LP.
1592
ea2626f6
L
15932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1594
1595 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1596
085f715e
L
15972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1600 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1601 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1602 Likewise.
1603 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1604
be8498fc
L
16052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1606
1607 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1608 (stackinfo_sub_sp): Likewise.
1609
70bc83b9
L
16102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1611
1612 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1613 RAX_LP.
1614
9bc0b730
L
16152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1616
1617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1618 into R*_LP.
1619
6d2850e7
L
16202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1621
1622 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1623 sizes into R*_LP.
1624
3cb84561
L
16252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1628
54e2ed81
L
16292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1630
1631 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1632 into R11_LP and load __x86_64_shared_cache_size_half into
1633 R8_LP.
1634
8a17f349
L
16352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1636
1637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1638 R8_LP.
1639
777b1eea
AZ
16402012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1641
1642 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1643 logb for POWER7.
1644 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1645 logbf for POWER7.
1646 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1647 logbl for POWER7.
1648 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1649 powerpc32/power7/fpu/s_logb.c via #include.
1650 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1651 powerpc32/power7/fpu/s_logbf.c via #include.
1652 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1653 powerpc32/power7/fpu/s_logbl.c via #include.
1654
d20d4ac2
JM
16552012-05-15 Joseph Myers <joseph@codesourcery.com>
1656
1657 * README.libm: Remove file.
1658
6cdef1ab
L
16592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1660
1661 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1662 count for x32. Use R*_LP and omit operand-size suffix.
1663
0b254d8f
L
16642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1667 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1668 * sysdeps/x86_64/x32/shlib-versions: New file.
1669
ceb809dc
RM
16702012-05-14 Roland McGrath <roland@hack.frob.com>
1671
1672 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1673 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1674 Use _dl_fatal_printf instead.
1675
37f1abd4
JM
16762012-05-14 Joseph Myers <joseph@codesourcery.com>
1677
1678 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1679 set if not set by the user. Do not allow for being unset.
1680 * sysdeps/unix/sysv/linux/configure: Regenerated.
1681
11de3a33
L
16822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1683
1684 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1685 the `q' suffix from lea and replace .quad with ASM_ADDR.
1686
e02f153a
L
16872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1688
1689 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1690 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1691 instead of $17.
1692 (PTR_DEMANGLE): Likewise.
1693
520ae0fd
L
16942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1695
1696 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1697 (LP_OP): Likewise.
1698 (ASM_ADDR): Likewise.
1699 (RAX_LP): Likewise.
1700 (RBP_LP): Likewise.
1701 (RBX_LP): Likewise.
1702 (RCX_LP): Likewise.
1703 (RDI_LP): Likewise.
1704 (RSI_LP): Likewise.
1705 (RSP_LP): Likewise.
1706 (R8_LP): Likewise.
1707 (R9_LP): Likewise.
1708 (R10_LP): Likewise.
1709 (R10_LP): Likewise.
1710 (R11_LP): Likewise.
1711 (R12_LP): Likewise.
1712 (R13_LP): Likewise.
1713 (R14_LP): Likewise.
1714 (R15_LP): Likewise.
1715
b985be81
L
17162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1717
1718 * sysdeps/x86_64/x32/dl-machine.h: New file.
1719
6a4888ff
AJ
17202012-05-14 Andreas Jaeger <aj@suse.de>
1721
1722 * manual/Makefile (subdir): Remove export of subdir.
1723 (all): Remove target.
1724 (.PHONY): Remove all from list.
1725 (mkinstalldirs): Remove.
1726 (.PHONY): Remove installdirs from list.
1727 ($(inst_infodir)/libc.info): Use make-target-directory.
1728 (installdirs): Remove.
1729 (subdir_%): Remove.
1730 (glibc-targets): Remove.
1731 (lib): Remove.
1732 (stubs): Remove.
1733 ($(objpfx)stubs ../po/manual.pot): Remove.
1734 ($(objpfx)stamp%): Remove.
1735 (make-target-directory): Remove.
1736 (subdir_install): Remove.
1737 (routines): Remove.
1738 (aux): Remove.
1739 (sources): Remove.
1740 (objects): Remove.
1741 (headers): Remove.
1742
1743 [BZ #13750]
1744 * manual/.gitignore: Remove, it's not needed anymore.
1745 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1746 all files in it.
1747 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1748 directory.
1749 (texis): Renamed to $(objpfx)texis.
1750 (texis-path): New, contains path to generated files.
1751 (chapters.%): Use texis-path for complete path, add extra argument
1752 libc-texinfo.sh.
1753 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1754 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1755 (summary,texi, stamp-summary): Use complete path of
1756 files. Generate files in build dir.
1757 (dir-add.texi): Build in build dir.
1758 (libm-err.texi,stamp-libm-err): Likewise.
1759 (version.texi, stamp-version): Likewise.
1760 (.%c.texi): Likewise.
1761 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1762 (mostlyclean): Remove target.
1763 (realclean): Remove target.
1764 (generated): Add new variable with contents from mostlyclean and
1765 realclean, remove entries duplicated in common-mostlyclean, add
1766 stamp-libm-err and stamp-version.
1767 (generated-dirs): Add libc directory.
1768 ($(inst_infodir)/libc.info): Install files from build dir.
1769
1770 * manual/install.texi (Configuring and compiling): Adjust since
1771 the info files are not part of the tar ball anymore.
1772
7ac77294
AJ
17732012-05-14 Andreas Jaeger <aj@suse.de>
1774
1775 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1776 variable.
1777
ffb7875d
JM
17782012-05-14 Joseph Myers <joseph@codesourcery.com>
1779
1780 [BZ #13717]
1781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1782 to 2.2.0 where earlier.
1783 * sysdeps/unix/sysv/linux/configure: Regenerated.
1784 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1785 Remove conditional code.
1786 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1787 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1788 Remove conditional code.
1789 [!__NR_lchown]: Likewise.
1790 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1791 [__NR_lchown]: Likewise.
1792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1793 comment referencing __ASSUME_LCHOWN_SYSCALL.
1794 * sysdeps/unix/sysv/linux/i386/sigaction.c
1795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1797 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1798 Remove conditional code.
1799 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1800 (__protocol_available): Remove #if 0 code.
1801 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1802 conditional code.
1803 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1804 * sysdeps/unix/sysv/linux/kernel-features.h
1805 (__ASSUME_GETCWD_SYSCALL): Don't define.
1806 (__ASSUME_REALTIME_SIGNALS): Likewise.
1807 (__ASSUME_PREAD_SYSCALL): Likewise.
1808 (__ASSUME_PWRITE_SYSCALL): Likewise.
1809 (__ASSUME_POLL_SYSCALL): Likewise.
1810 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1811 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1812 non-SPARC.
1813 (__ASSUME_SIOCGIFNAME): Don't define.
1814 (__ASSUME_MSG_NOSIGNAL): Likewise.
1815 (__ASSUME_SENDFILE): Define unconditionally.
1816 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1817 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1818 conditional code.
1819 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1820 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1821 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1822 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1823 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1824 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1825 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1827 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1830 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1833 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1839 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1840 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1842 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1843 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1845 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1846 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1848 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1849 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1850 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1851 Remove conditional code.
1852 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1853 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1854 Remove conditional code.
1855 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1856 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1857 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1858 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1859 Remove conditional code.
1860 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1861 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1862 Remove conditional code.
1863 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1864 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1865 Remove conditional code.
1866 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1867 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1868 Remove conditional code.
1869 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1870 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1871 Remove conditional code.
1872 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1873 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1874 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1875 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1876 * sysdeps/unix/sysv/linux/sigaction.c
1877 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1878 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1879 * sysdeps/unix/sysv/linux/sigpending.c
1880 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1881 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1882 * sysdeps/unix/sysv/linux/sigprocmask.c
1883 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1884 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1885 * sysdeps/unix/sysv/linux/sigsuspend.c
1886 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1887 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1888 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1889 (__libc_missing_rt_sigs): Remove.
1890 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1891 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1892 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1893 Remove conditional code.
1894 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1895 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1896 return 1.
1897 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1898 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1899 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1900 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1901
1bfb7291
AJ
19022012-05-14 Andreas Jaeger <aj@suse.de>
1903
caae5a81
AJ
1904 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1905 it's not used in glibc.
1906 (__coshm1): Likewise.
1907 (__acosh1p): Likewise.
1908 (__sgn): Likewise.
1909
1bfb7291
AJ
1910 * manual/string.texi (Copying and Concatenation): Add missing
1911 variable in concat example.
1912 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1913
c044d724
L
19142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1915
144c5467 1916 [BZ #14103]
c044d724
L
1917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1918 __builtin_clzl with __builtin_clzll.
1919
2523c62b
L
19202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1921
1922 [BZ #14104]
1923 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1924 libc_freeres_ptr.
1925
d7bb4c42
LD
19262012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1927
1928 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1929 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1930 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1931 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1932
9dc4e1fb
MF
19332012-05-14 Mike Frysinger <vapier@gentoo.org>
1934
1935 * NEWS: Update ia64 info.
1936
c7df0112
AS
19372012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1938
1939 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1940 used as bcopy.
1941
dc70356c
TS
19422012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1943
1944 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1945 * sysdeps/unix/syscalls.list (dup3): Likewise.
1946 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1947 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1948
9fb1a21f
L
19492012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1952 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1953
4822a2a5
L
19542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1955
1956 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1957 thread pointer.
1958 (TLS_IE): Use mov/add instead of movq/addq to load thread
1959 pointer.
1960 (TLS_GD_PREFIX): New.
1961 (TLS_GD): Use it.
1962
842b81d6
DM
19632012-05-11 David S. Miller <davem@davemloft.net>
1964
1965 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1966 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1967 (_FPU_SETCW): Likewise.
1968
1cf463cd
L
19692012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1970
1971 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1972 is 32-byte aligned.
1973
60cc4a18
AS
19742012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1975
1976 [BZ #11837]
1977 * iconvdata/gb18030.c: Update tables.
1978 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1979 characters specially.
1980 (BODY for TO_LOOP): Add encoding of missing ranges.
1981
febb44a4
TS
19822012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1983
1984 [BZ #13673]
1985 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1986 * sysdeps/mach/hurd/dup3.c: Likewise.
1987 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1988 * sysdeps/powerpc/memmove.c:: Likewise.
1989
0a10fb9e
L
19902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1991
1992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1993 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1994
df8a552f
L
19952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1996
1997 * elf/elf.h (R_X86_64_RELATIVE64): New.
1998 (R_X86_64_NUM): Updated.
1999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
2000 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
2001 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
2002 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
2003 tst-quad1pie tst-quad2pie
2004 (modules-names): Add tst-quadmod1 tst-quadmod2.
2005 ($(objpfx)tst-quad1): New dependency.
2006 ($(objpfx)tst-quad2): Likewise.
2007 ($(objpfx)tst-quad1pie): Likewise.
2008 ($(objpfx)tst-quad2pie): Likewise.
2009 * sysdeps/x86_64/tst-quad1.c: New file.
2010 * sysdeps/x86_64/tst-quad1pie.c: New file.
2011 * sysdeps/x86_64/tst-quad2.c: Likewise.
2012 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
2013 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
2014 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
2015 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
2016 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
2017
f34d6f84
ST
20182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2019
f42d41d1
ST
2020 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
2021 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
2022 * streams/stropts.h (t_scalar_t): Define type.
2023
3c3571fc
ST
2024 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
2025 (_PATH_PRESERVE): Set to "/var/lib".
2026 (_PATH_RWHODIR): Set to "/var/spool/rwho".
2027
61f06bd3
ST
2028 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
2029 instead of int.
2030
918d4d71
ST
2031 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
2032 if __dir_mkfile succeeded.
2033
f34d6f84
ST
2034 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
2035 checking for _hurd_dtablesize. Unlock it right after having
2036 finished _hurd_dtable allocation.
2037
10589b4a
TS
20382012-05-10 Thomas Schwinge <thomas@schwinge.name>
2039
674cdbc7
TS
2040 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2041 * sysdeps/mach/hurd/configure: Regenerated.
2042 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2043 special-casing to...
2044 * sysdeps/gnu/configure.in: ... this new file.
2045 * sysdeps/unix/sysv/linux/configure: Regenerated.
2046 * sysdeps/gnu/configure: New generated file.
2047
8e41b99f
TS
2048 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2049 for Linux: use nsec instead of usec, as well as:
2050 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2051 members of type struct timespec.
2052 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2053 New macros.
2054 (struct stat64): Likewise.
2055 (_STATBUF_ST_NSEC): New macro.
2056 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2057
10589b4a
TS
2058 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2059 __strtoul_internal rather than strtoul.
2060
63643c85
PT
20612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2062
2063 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2064 and reject them.
2065
3faebe6a
ST
20662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2067
2068 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2069 which preserves existing values.
2070 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2071
c6474b07
PT
20722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2073
2074 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2075 TIMEOUT values. Return EINVAL for NFDS values either negative or
2076 greater than FD_SETSIZE.
2077
1043890b
ST
20782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2079
2080 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2081 allocated, call __vm_protect to finish enabling the existing space, and
2082 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2083 allocate the remainder.
2084
37ed8b9b
PT
20852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2086
2087 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2088 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2089
db653660
ST
20902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2091
37ed8b9b
PT
2092 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2093 sysdeps/mach/hurd/readlink.c.
b29d4053 2094
db653660
ST
2095 * posix/tst-sysconf.c (posix_options): Only use
2096 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2097 _POSIX_SYNCHRONIZED_IO when they are defined
2098 * sysdeps/mach/hurd/bits/posix_opt.h:
2099 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2100 (_XOPEN_REALTIME): Undefine macro.
2101 (_XOPEN_REALTIME_THREADS): Undefine macro.
2102 (_XOPEN_SHM): Undefine macro.
2103 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2104 macro to -1.
2105 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2106 macro to -1.
2107 (_POSIX_ASYNC_IO): Undefine macro.
2108 (_POSIX_PRIORITIZED_IO): Undefine macro.
2109 (_POSIX_SPIN_LOCKS): Define macro to -1.
2110
ee16e894
ST
2111 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2112 SA_NODEFER, SA_RESETHAND.
2113 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2114 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2115 F_DUPFD_CLOEXEC.
2116
6103ae3b
TS
21172012-05-10 Thomas Schwinge <thomas@schwinge.name>
2118
2119 * elf/Makefile (pldd-modules): Define unconditionally.
2120
80b4e5f3
TS
21212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2122
2123 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2124
edadcbd6
ST
21252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2126
2127 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2128 Return ENOENT when name is empty.
2129 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2130
80694780
TS
21312012-05-10 Thomas Schwinge <thomas@schwinge.name>
2132
1792c087
TS
2133 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2134
80694780
TS
2135 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2136
6b645f0d
ST
21372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2138
80694780
TS
2139 Fix mlock in all cases except non-readable pages.
2140 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2141 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2142
6b645f0d
ST
2143 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2144 (__mkdir): When path is `/', just fail with EEXIST.
2145 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2146
e468f8a3
TS
21472012-05-10 Thomas Schwinge <thomas@schwinge.name>
2148
2149 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2150 <sys/uio.h> (for writev).
2151 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2152 and <sys/param.h> (for MIN).
2153
a4186cff
PT
21542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2155
2156 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2157 REQUESTED_TIME. Properly set the remaining time and return EINTR
2158 if interrupted.
2159
510bbf14
TS
21602012-05-10 Thomas Schwinge <thomas@schwinge.name>
2161
2162 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2163 Depend on against $(link-rpcuserlibs).
2164
5d5722e8
ST
21652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2166
a4186cff
PT
2167 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2168 (__libc_stack_end): Do not use attribute_relro.
2169 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2170 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2171 to libthread-provided value.
a4186cff
PT
2172 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2173 attribute_relro.
5d5722e8 2174
37233df9
TS
21752012-05-10 Thomas Schwinge <thomas@schwinge.name>
2176
be971a2b
TS
2177 [BZ #3748]
2178 * bits/libc-lock.h (__libc_once_get): New macro.
2179 * sysdeps/mach/bits/libc-lock.h: Likewise.
2180 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2182 instead of using implementation details.
2183
37233df9
TS
2184 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2185 * libio/freopen.c: Likewise.
2186 * libio/freopen64.c: Likewise.
2187 * misc/syslog.c: Likewise.
2188 * nscd/connections.c: Likewise.
2189 * nscd/netgroupcache.c: Likewise.
2190 * sysdeps/posix/getcwd.c: Likewise.
2191
38de94a5
RM
21922012-05-10 Roland McGrath <roland@hack.frob.com>
2193
2194 * math/w_ilogbf.c: Add #include <limits.h>.
2195
67530489
ST
21962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2197
a4186cff 2198 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2199 path instead of returning without unlocking.
2200
67530489
ST
2201 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2202 immediate-write ioctls.
2203 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2204
5aa3a74a
TS
22052012-05-10 Thomas Schwinge <thomas@schwinge.name>
2206
18bad2ae
TS
2207 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2208 __builtin_frame_address instead of making assumptions about the
2209 location of the return address relative to DATA. Force early load of
2210 the return address.
2211 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2212 __builtin_frame_address.
2213
5aa3a74a
TS
2214 dup3 for GNU Hurd.
2215 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2216 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2217 implement dup3 and do some further code clean-ups.
2218 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2219 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2220
ecd0de9a
ST
22212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2222
cd9fa985
ST
2223 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2224
a4186cff
PT
2225 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2226 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2227 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2228 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2229 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2230 d->port.lock.
802ca5a5 2231
a4186cff
PT
2232 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2233 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2234 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2235
bcf55240
TS
22362012-05-10 Thomas Schwinge <thomas@schwinge.name>
2237
6960eb42
TS
2238 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2239 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2240 definitions.
2241
eb43375f
TS
2242 accept4 for GNU Hurd.
2243 * include/sys/socket.h (__libc_accept4): New prototype.
2244 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2245 to implement __libc_accept4.
2246 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2247 __libc_accept4.
2248 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2249
bcf55240
TS
2250 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2251 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2252 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2253 signal-defines.sym.
2254
6178c55b
ST
22552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2256
a4186cff 2257 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2258
6f080c2f
TS
22592012-05-10 Thomas Schwinge <thomas@schwinge.name>
2260
2261 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2262 assertion on O_CLOEXEC flag.
2263 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2264 * hurd/intern-fd.c: Likewise.
2265 * hurd/port2fd.c: Likewise.
2266
bcfe3a54
ST
22672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2268
2269 [BZ #3906]
2270 * bits/in.h (IPV6_PKTINFO): Define new macro.
2271 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2272
89c9aa49
AZ
22732012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2274
2275 [BZ #13954]
2276 [BZ #13955]
2277 [BZ #13956]
2278 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2279 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2280 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2281 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2284 * math/libm-test.inc (logb_test) : Additional logb tests.
2285
021db4be
AJ
22862012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2287 Andreas Jaeger <aj@suse.de>
2288
2289 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2290 * configure: Regenerated.
2291 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2292 * config.make.in (link-obsolete-rpc): New substituted variable.
2293 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2294 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2295 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2296 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2297 so that libc.a contains the symbols.
2298 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2299 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2300 * sunrpc/auth_none.c: Likewise.
2301 * sunrpc/auth_unix.c: Likewise.
2302 * sunrpc/authdes_prot.c: Likewise.
2303 * sunrpc/authuxprot.c: Likewise.
2304 * sunrpc/clnt_gen.c: Likewise.
2305 * sunrpc/clnt_perr.c: Likewise.
2306 * sunrpc/clnt_raw.c: Likewise.
2307 * sunrpc/clnt_simp.c: Likewise.
2308 * sunrpc/clnt_tcp.c: Likewise.
2309 * sunrpc/clnt_udp.c: Likewise.
2310 * sunrpc/clnt_unix.c: Likewise.
2311 * sunrpc/des_crypt.c: Likewise.
2312 * sunrpc/des_soft.c: Likewise.
2313 * sunrpc/get_myaddr.c: Likewise.
2314 * sunrpc/key_call.c: Likewise.
2315 * sunrpc/key_prot.c: Likewise.
2316 * sunrpc/netname.c: Likewise.
2317 * sunrpc/pm_getmaps.c: Likewise.
2318 * sunrpc/pm_getport.c: Likewise.
2319 * sunrpc/pmap_clnt.c: Likewise.
2320 * sunrpc/pmap_prot.c: Likewise.
2321 * sunrpc/pmap_prot2.c: Likewise.
2322 * sunrpc/pmap_rmt.c: Likewise.
2323 * sunrpc/publickey.c: Likewise.
2324 * sunrpc/rpc_cmsg.c: Likewise.
2325 * sunrpc/rpc_common.c: Likewise.
2326 * sunrpc/rpc_dtable.c: Likewise.
2327 * sunrpc/rpc_prot.c: Likewise.
2328 * sunrpc/rpc_thread.c: Likewise.
2329 * sunrpc/rtime.c: Likewise.
2330 * sunrpc/svc.c: Likewise.
2331 * sunrpc/svc_auth.c: Likewise.
2332 * sunrpc/svc_raw.c: Likewise.
2333 * sunrpc/svc_run.c: Likewise.
2334 * sunrpc/svc_tcp.c: Likewise.
2335 * sunrpc/svc_udp.c: Likewise.
2336 * sunrpc/svc_unix.c: Likewise.
2337 * sunrpc/svcauth_des.c: Likewise.
2338 * sunrpc/xcrypt.c: Likewise.
2339 * sunrpc/xdr.c: Likewise.
2340 * sunrpc/xdr_array.c: Likewise.
2341 * sunrpc/xdr_float.c: Likewise.
2342 * sunrpc/xdr_intXX_t.c: Likewise.
2343 * sunrpc/xdr_mem.c: Likewise.
2344 * sunrpc/xdr_rec.c: Likewise.
2345 * sunrpc/xdr_ref.c: Likewise.
2346 * sunrpc/xdr_sizeof.c: Likewise.
2347 * sunrpc/xdr_stdio.c: Likewise.
2348
b5c086a2
RM
23492012-05-10 Roland McGrath <roland@hack.frob.com>
2350
2351 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2352 change. Update copyright years.
2353
6d74dd09
JM
23542012-05-10 Joseph Myers <joseph@codesourcery.com>
2355
2356 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2357
28e72501
MK
23582012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2359 Joseph Myers <joseph@codesourcery.com>
2360 Paul Pluzhnikov <ppluzhnikov@google.com>
2361
2362 [BZ #14012]
2363 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2364 requiring rpcgen.
2365 [cross-compiling] (extra-libs): Likewise.
2366 [cross-compiling] (extra-libs-others): Likewise.
2367 [cross-compiling] (librpcsvc-routines): Likewise.
2368 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2369 [cross-compiling] (omit-deps): Likewise.
2370 (sunrpc-CPPFLAGS): New variable.
2371 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2372 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2373 (cross-rpcgen-objs): New variable.
2374 (extra-objs): Append $(cross-rpcgen-objs).
2375 ($(cross-rpcgen-objs)): New rule.
2376 ($(objpfx)cross-rpcgen): Likewise.
2377 (rpcgen-cmd): Define to use $(built-program-file). Expand
2378 comment.
2379 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2380 ($(objpfx)x%.stmp): Likewise.
2381 * sunrpc/proto.h [IS_IN_build] (_): Define.
2382 [IS_IN_build] (_libc_intl_domainname): Likewise.
2383
c8c59454
L
23842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2385
2386 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2387 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2388 and R_X86_64_TPOFF64.
2389
6f27cd16
JM
23902012-05-10 Joseph Myers <joseph@codesourcery.com>
2391
2392 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2393 sysdeps/unix/sysv/syscalls.list.
2394 (stime): Likewise.
2395 (utime): Likewise.
2396 * sysdeps/unix/sysv/syscalls.list: Remove file.
2397
02467e1c
PE
23982012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2399
2400 [BZ #3440]
2401 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2402 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2403 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2404 (__LC_IDENTIFICATION): Make these macros useful in #if
2405 expressions, as required by C99.
2406
da392631
AS
24072012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2408
2409 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2410 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2411 after this.
2412
8115f29b
L
24132012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 * stdlib/longlong.h: Updated from GCC.
2416
bdd74070
AJ
24172012-05-09 Andreas Jaeger <aj@suse.de>
2418
edfe0dbe
AJ
2419 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2420 default is first entry.
2421 (run_mode): Set type.
2422 (main): Remove informal message about syslog.
2423 (options): Fix typo.
2424
bcfe3a54
ST
2425 [BZ #14053]
2426 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2427 to asm.
bcfe3a54
ST
2428 (lrint): Likewise.
2429 (llrintf): Likewise.
2430 (llrint): Likewise.
2431 (rint): Likewise.
2432 (rintf): Likewise.
2433 (nearbyint): Likewise.
2434 (nearbyintf): Likewise.
bdd74070 2435
91d8d69e
AJ
24362012-05-09 Andreas Jaeger <aj@suse.de>
2437 Pedro Alves <palves@redhat.com>
2438
2439 * nscd/nscd.c (run_mode): Use enum.
2440 (main): Cleanup coding style issue.
2441
bb90b80b
AJ
24422012-05-09 Alexandre Oliva <aoliva@redhat.com>
2443 Andreas Jaeger <aj@suse.de>
2444
bcfe3a54
ST
2445 * nscd/nscd.c (go_background): Replaced with...
2446 (run_mode): ... this.
bb90b80b 2447 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2448 (options): Add -F --foreground.
2449 (main): Implement it.
2450 (parse_opt): Parse it.
bb90b80b 2451
1a4b75a1
AJ
24522012-05-09 Andreas Jaeger <aj@suse.de>
2453
2454 [BZ #14083]
2455 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2456 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2457 -Wconversion warning.
2458 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2459 Likewise.
2460
b1cc2472
JM
24612012-05-09 Joseph Myers <joseph@codesourcery.com>
2462
2463 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2464 == 0.
2465 (LC_ALL): Use macro-int-constant.
2466 (LC_COLLATE): Likewise.
2467 (LC_CTYPE): Likewise.
2468 (LC_MESSAGES): Likewise.
2469 (LC_MONETARY): Likewise.
2470 (LC_NUMERIC): Likewise.
2471 (LC_TIME): Likewise.
2472 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2473 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2475 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2476 Specify type.
2477 [C99-based standards] (float_t): Expect type.
2478 [C99-based standards] (double_t): Expect type.
2479 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2480 type.
2481 [C99-based standards] (HUGE_VALL): Likewise.
2482 [C99-based standards] (INFINITY): Likewise.
2483 [C99-based standards] (NAN): Likewise.
2484 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2485 [C99-based standards] (FP_NAN): Likewise.
2486 [C99-based standards] (FP_NORMAL): Likewise.
2487 [C99-based standards] (FP_SUBNORMAL): Likewise.
2488 [C99-based standards] (FP_ZERO): Likewise.
2489 [C99-based standards] (FP_FAST_FMA): Use
2490 optional-macro-int-constant. Specify type. Require == 1.
2491 [C99-based standards] (FP_FAST_FMAF): Likewise.
2492 [C99-based standards] (FP_FAST_FMAL): Likewise.
2493 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2494 [C99-based standards] (FP_ILOGBNAN): Likewise.
2495 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2496 Specify type.
2497 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2498 [C99-based standards] (math_errhandling): Specify type.
2499 [ISO99 || ISO11] (signgam): Do not allow.
2500 [non-C99-based standards] (copysignf): Do not allow.
2501 [non-C99-based standards] (exp2f): Likewise.
2502 [non-C99-based standards] (log2f): Likewise.
2503 [non-C99-based standards] (modff): Allow.
2504 [non-C99-based standards] (erff): Do not allow.
2505 [non-C99-based standards] (erfcf): Likewise.
2506 [non-C99-based standards] (gammaf): Likewise.
2507 [non-C99-based standards] (hypotf): Likewise.
2508 [non-C99-based standards] (j0f): Likewise.
2509 [non-C99-based standards] (j1f): Likewise.
2510 [non-C99-based standards] (jnf): Likewise.
2511 [non-C99-based standards] (lgammaf): Likewise.
2512 [non-C99-based standards] (tgammaf): Likewise.
2513 [non-C99-based standards] (y0f): Likewise.
2514 [non-C99-based standards] (y1f): Likewise.
2515 [non-C99-based standards] (ynf): Likewise.
2516 [non-C99-based standards] (isnanf): Likewise.
2517 [non-C99-based standards] (acoshf): Likewise.
2518 [non-C99-based standards] (asinhf): Likewise.
2519 [non-C99-based standards] (atanhf): Likewise.
2520 [non-C99-based standards] (cbrtf): Likewise.
2521 [non-C99-based standards] (expm1f): Likewise.
2522 [non-C99-based standards] (ilogbf): Likewise.
2523 [non-C99-based standards] (log1pf): Likewise.
2524 [non-C99-based standards] (logbf): Likewise.
2525 [non-C99-based standards] (nextafterf): Likewise.
2526 [non-C99-based standards] (remainderf): Likewise.
2527 [non-C99-based standards] (rintf): Likewise.
2528 [non-C99-based standards] (scalbf): Likewise.
2529 [non-C99-based standards] (copysignl): Likewise.
2530 [non-C99-based standards] (exp2l): Likewise.
2531 [non-C99-based standards] (log2l): Likewise.
2532 [non-C99-based standards] (modfl): Allow.
2533 [non-C99-based standards] (erfl): Do not allow.
2534 [non-C99-based standards] (erfcl): Likewise.
2535 [non-C99-based standards] (gammal): Likewise.
2536 [non-C99-based standards] (hypotl): Likewise.
2537 [non-C99-based standards] (j0l): Likewise.
2538 [non-C99-based standards] (j1l): Likewise.
2539 [non-C99-based standards] (jnl): Likewise.
2540 [non-C99-based standards] (lgammal): Likewise.
2541 [non-C99-based standards] (tgammal): Likewise.
2542 [non-C99-based standards] (y0l): Likewise.
2543 [non-C99-based standards] (y1l): Likewise.
2544 [non-C99-based standards] (ynl): Likewise.
2545 [non-C99-based standards] (isnanl): Likewise.
2546 [non-C99-based standards] (acoshl): Likewise.
2547 [non-C99-based standards] (asinhl): Likewise.
2548 [non-C99-based standards] (atanhl): Likewise.
2549 [non-C99-based standards] (cbrtl): Likewise.
2550 [non-C99-based standards] (expm1l): Likewise.
2551 [non-C99-based standards] (ilogbl): Likewise.
2552 [non-C99-based standards] (log1pl): Likewise.
2553 [non-C99-based standards] (logbl): Likewise.
2554 [non-C99-based standards] (nextafterl): Likewise.
2555 [non-C99-based standards] (remainderl): Likewise.
2556 [non-C99-based standards] (rintl): Likewise.
2557 [non-C99-based standards] (scalbl): Likewise.
2558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2559 [non-C99-based standards] (FP_*): Do not allow.
2560 [C99-based standards] (FP_*): Change to
2561 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2562 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2563 allow.
2564 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2565 (SIG_ERR): Likewise.
2566 [X/Open-based standards] (SIG_HOLD): Likewise.
2567 (SIG_IGN): Likewise.
2568 (SIGABRT): Use macro-int-constant. Specify type. Require
2569 positive value.
2570 (SIGFPE): Likewise.
2571 (SIGILL): Likewise.
2572 (SIGINT): Likewise.
2573 (SIGSEGV): Likewise.
2574 (SIGTER): Likewise.
2575 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2576 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2577 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2578 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2579 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2580 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2581 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2582 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2583 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2584 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2585 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2586 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2587 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2588 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2589 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2590 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2591 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2592 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2593 [X/Open-based standards] (SIGTRAP): Likewise.
2594 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2595 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2596 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2597 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2598 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2599 allow.
2600
b9f1922d
IW
26012012-05-08 Ian Wienand <ianw@vmware.com>
2602
2603 [BZ #14080]
2604 * time/tzset.c (__tzset_parse_tz): Update default rules for
2605 daylight time changes in the Energy Policy Act of 2005.
2606
1db86e88
AJ
26072012-05-09 Andreas Jaeger <aj@suse.de>
2608
2609 [BZ #13983]
2610 * elf/ldconfig.c (parse_conf): Change string to make clear that
2611 ldconfig only issued a warning if ld.so.conf does not exist.
2612
dee4a4e3
DM
26132012-05-08 David S. Miller <davem@davemloft.net>
2614
ee0db190
DM
2615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2616 movxtod instead of popping the value on the stack.
2617
dee4a4e3
DM
2618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2619
6a43ec98
CD
26202012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2621
2622 * config.h.in: Add HAVE_ARM_PCS_VFP.
2623
05c2c961
RMG
26242012-05-08 Roland Mc Grath <roland@hack.frob.com>
2625
bcfe3a54
ST
2626 [BZ #13979]
2627 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2628 checking but the checks are disabled for any reason.
05c2c961 2629
4b30f61a
L
26302012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2631
2632 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2633 and ELF64_R_TYPE with ELFW(R_TYPE).
2634
eee2bc67
JM
26352012-05-08 Joseph Myers <joseph@codesourcery.com>
2636
7ea5391a
JM
2637 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2638 (ulimit): Likewise.
2639
eee2bc67
JM
2640 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2641 (settimeofday): Likewise.
2642
abb66a67
MF
26432012-05-08 Mike Frysinger <vapier@gentoo.org>
2644
2645 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2646 a struct th_u2 inside the union, and move tu_block/tu_code into
2647 a new th_u3 union of tu_block/tu_code inside of that. Move
2648 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2649 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2650 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2651 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2652 (th_stuff): Change to th_u1.tu_stuff.
2653 (th_data): Define.
2654 (th_msg): Change to th_u1.th_u2.tu_data.
2655
7f18b530
DM
26562012-05-07 David S. Miller <davem@davemloft.net>
2657
05760585
DM
2658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2659
7f18b530
DM
2660 [BZ #14074]
2661 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2662 (SETUP_PIC_REG): Use it.
2663 (SETUP_PIC_REG_LEAF): Use it.
2664
495fd99f
JM
26652012-05-07 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #13885]
2668 [BZ #13923]
2669 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2670 USE_AS_EXPM1L.
2671 (EXPL_FINITE): Likewise.
2672 (FLDLOG): Likewise.
2673 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2674 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2675 e_expl.S.
2676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2677 USE_AS_EXPM1L.
2678 (EXPL_FINITE): Likewise.
2679 (FLDLOG): Likewise.
2680 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2681 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2682 e_expl.S.
2683 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2684 test of -max_value argument for long double.
2685 * sysdeps/i386/fpu/libm-test-ulps: Update.
2686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2687
6693d694
DM
26882012-05-06 David S. Miller <davem@davemloft.net>
2689
2690 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2691 quad soft-float symbols whose references which are compiler
2692 generated.
2693 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2694
6c23e11c
JM
26952012-05-06 Joseph Myers <joseph@codesourcery.com>
2696
d8b82cad
JM
2697 [BZ #13884]
2698 [BZ #13914]
2699 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2700 USE_AS_EXP10L.
2701 (EXPL_FINITE): Likewise.
2702 (FLDLOG): Likewise.
2703 (c0): Likewise.
2704 (c1): Likewise.
2705 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2706 Adjust comments for base varying.
2707 (__expl_finite): Change alias to EXPL_FINITE.
2708 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2709 e_expl.S.
2710 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2711 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2713 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2714 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2715 USE_AS_EXP10L.
2716 (EXPL_FINITE): Likewise.
2717 (FLDLOG): Likewise.
2718 (c0): Likewise.
2719 (c1): Likewise.
2720 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2721 Adjust comments for base varying.
2722 (__expl_finite): Change alias to EXPL_FINITE.
2723 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2724 tests for bugs.
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2726
6c23e11c
JM
2727 [BZ #14064]
2728 * math/libm-test.inc (check_float_internal): Correct ulp
2729 calculation for subnormal expected results.
2730
29ba805c
AJ
27312012-05-06 Andreas Jaeger <aj@suse.de>
2732
2733 * Makeconfig (+math-flags): New, set to -frounding-math.
2734 (+cflags): Add +math-flags so that all of glibc gets compiled with
2735 it.
2736
2737 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2738
7b17aeda
JM
27392012-05-05 Joseph Myers <joseph@codesourcery.com>
2740
5779f134
JM
2741 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2742 Disable one test.
2743
41498f4d
JM
2744 [BZ #13787]
2745 [BZ #13922]
2746 [BZ #14036]
2747 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2748 (__ieee754_expl): Allow for and saturate large arguments.
2749 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2750 (u_threshold): Likewise.
2751 (__exp): Call __ieee754_exp before checking for overflow and
2752 underflow.
2753 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2754 (u_threshold): Likewise.
2755 (__expf): Call __ieee754_expf before checking for overflow and
2756 underflow.
2757 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2758 (u_threshold): Likewise.
2759 (__expl): Call __ieee754_expl before checking for overflow and
2760 underflow.
2761 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2762 (__ieee754_expl): Allow for and saturate large arguments.
2763 * math/libm-test.inc (exp_test): Add another test. Do not allow
2764 missing overflow exception on overflow.
2765 (expm1_test): Do not allow missing overflow exception on overflow.
2766
6698b8bf
JM
2767 * sysdeps/i386/fpu/e_expl.c: Move to ...
2768 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2769 rather than using inline asm.
2770 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2771 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2772 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2773
7b17aeda
JM
2774 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2775 (nice): Likewise.
2776 (poll): Likewise.
2777 (signal): Likewise.
2778 (time): Likewise.
2779 (times): Likewise.
2780
f7c85819
JM
27812012-05-04 Joseph Myers <joseph@codesourcery.com>
2782
2783 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2784 sysdeps/unix/common/syscalls.list.
2785 (fchmod): Likewise.
2786 (fchown): Likewise.
2787 (ftruncate): Likewise.
2788 (getrusage): Likewise.
2789 (gettimeofday): Likewise.
2790 (setpgid): Likewise.
2791 (setregid): Likewise.
2792 (setreuid): Likewise.
2793 (sigaction): Likewise.
2794 (truncate): Likewise.
2795 (vhangup): Likewise.
2796 * sysdeps/unix/common/syscalls.list: Remove file.
2797 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2798 * sysdeps/unix/sysv/linux/Implies: Likewise.
2799
336270d0
L
28002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2801
2802 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2804 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2805 Moved to ...
2806 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2807 Here.
2808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2809 to ...
2810 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2812 to ...
2813 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2814 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2815 to ...
2816 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2817 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2818 to ...
2819 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2820 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2821 to ...
2822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2823 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2824 to ...
2825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2826 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2827 to ...
2828 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2829 Here.
2830 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2831 to ...
2832 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2833 Here.
2834 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2835 to ...
2836 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2837 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2838 Moved to ...
2839 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2840 Here.
2841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2842 to ...
2843 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2844
d128e450
JM
28452012-05-04 Joseph Myers <joseph@codesourcery.com>
2846
fa8ee516
JM
2847 * sysdeps/unix/common/bits/dirent.h: Remove file.
2848 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2849
d128e450
JM
2850 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2851 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2852 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2853 * sysdeps/unix/bsd/isatty.c: Likewise.
2854 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2855 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2856 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2857
ff8faaf0 28582012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2859
62881be4 2860 [BZ #13563]
31dc8730
AZ
2861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2862 long double comparison inaccuracies.
2863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2865
6fef930c
AS
28662012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2867
2868 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2869 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2870
8f203e6c
JM
28712012-05-04 Joseph Myers <joseph@codesourcery.com>
2872
2873 [BZ #14049]
2874 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2875 nonzero digits before rounding a hex value.
2876 * stdlib/tst-strtod.c (tests): Add another test.
2877
5197d9c2
AK
28782012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2879
2880 * sysdeps/s390/fpu/libm-test-ulps: Update.
2881
f0c1dedf
AJ
28822012-05-03 Andreas Jaeger <aj@suse.de>
2883
2884 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2885 does not get optimized out.
2886 (malloc_opt_barrier): New.
2887
a65ef2ae 28882012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2889 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2890
2b942cb7 2891 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2892 intermediate file deletion.
2b942cb7 2893 (generated): Add .symlist files.
a65ef2ae 2894
54b71e02
JM
28952012-05-03 Joseph Myers <joseph@codesourcery.com>
2896
2897 [BZ #13775]
2898 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2899 Redirect under this condition.
2900 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2901 [__USE_GNU] (__dprintf_chk): Not under this condition.
2902 [__USE_GNU] (__vdprintf_chk): Likewise.
2903 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2904 under this condition.
2905 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2906 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2907 [__USE_XOPEN2K8] (vdprintf): Likewise.
2908 [__USE_GNU] (__dprintf_chk): Not under this condition.
2909 [__USE_GNU] (__vdprintf_chk): Likewise.
2910 [__USE_GNU] (dprintf): Likewise.
2911 [__USE_GNU] (vdprintf): Likewise.
2912
d3dfcc41
RM
29132012-05-03 Roland McGrath <roland@hack.frob.com>
2914
2915 * elf/Makefile (common-generated): Set this instead of generated for
2916 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2917 $(all-built-dso)-derived lists.
2918
7ac30cc5
AJ
29192012-05-03 Andreas Jaeger <aj@suse.de>
2920
0c51e550
AJ
2921 * sysdeps/i386/fpu/libm-test-ulps: Update.
2922
7ac30cc5
AJ
2923 * FAQ: Removed.
2924 * FAQ.in: Likewise.
2925 * scripts/gen-FAQ.pl: Likewise.
2926 * manual/install.texi (Installation): Point to online location of
2927 FAQ.
2928 * Makefile (files-for-dist): Remove FAQ.
2929 (FAQ): Remove.
2930
d4c2917f
AM
29312012-05-02 Allan McRae <allan@archlinux.org>
2932
2933 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2934 (LDFLAGS-reldepmod5.so): Likewise.
2935 (LDFLAGS-reldep6mod1.so): Likewise.
2936 (LDFLAGS-reldep6mod4.so): Likewise.
2937 (LDFLAGS-reldep8mod3.so): Likewise.
2938 (LDFLAGS-unload4mod1.so): Likewise.
2939 (LDFLAGS-unload4mod2.so): Likewise.
2940 (LDFLAGS-tst-initorder): Likewise.
2941 (LDFLAGS-tst-initordera2.so): Likewise.
2942 (LDFLAGS-tst-initordera3.so): Likewise.
2943 (LDFLAGS-tst-initordera4.so): Likewise.
2944 (LDFLAGS-tst-initorderb2.so): Likewise.
2945 (LDFLAGS-noload): Likewise.
2946 (LDFLAGS-next): Likewise.
2947 (LDFLAGS-order2mod1.so): Likewise.
2948 (LDFLAGS-order2mod2.so): Likewise.
2949 (LDFLAGS-tst-initorder2): Likewise.
2950 (LDFLAGS-tst-initorder2a.so): Likewise.
2951 (LDFLAGS-tst-initorder2b.so): Likewise.
2952 (LDFLAGS-tst-initorder2c.so): Likewise.
2953 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2954
d77f993f
DM
29552012-05-02 David S. Miller <davem@davemloft.net>
2956
2957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2958
171a70b4
PP
29592012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2960
2961 [BZ #14055]
2962 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2963
0be196ad
AJ
29642012-05-02 Andreas Jaeger <aj@suse.de>
2965
2966 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2967 since we manipulate rounding mode.
2968 (CPPFLAGS-test-idouble.c): Likewise.
2969 (CPPFLAGS-test-ifloat.c): Likewise.
2970 (CFLAGS-test-ldouble.c): Likewise.
2971 (CFLAGS-test-double.c): Likewise.
2972 (CFLAGS-test-float.c): Likewise.
2973 (CFLAGS-test-misc.c): Likewise.
2974 (CFLAGS-test-test-fenv.c): Likewise.
2975
4f9d04aa
AZ
29762012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2977
2b942cb7
RM
2978 [BZ #2550]
2979 [BZ #2570]
2980 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2981 comparisons to determine direction to adjust input.
4f9d04aa 2982
82a79e7d
RM
29832012-05-01 Roland McGrath <roland@hack.frob.com>
2984
f5a01ca9
RM
2985 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2986 output to the target.
2987
90fe4186
RM
2988 * scripts/localplt.awk: New file.
2989 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2990 (check-localplt-CFLAGS): Variable removed.
2991 ($(all-built-dso:=.jmprel)): New static pattern rule.
2992 (generated): Add those targets.
2993 (localplt-built-dso): New variable.
2994 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2995
2996 * elf/check-localplt.c: File removed.
2997
82397ed6
RM
2998 * scripts/check-execstack.awk: New file.
2999 * elf/Makefile ($(objpfx)check-execstack): Target removed.
3000 (check-execstack-CFLAGS): Variable removed.
3001 ($(objpfx)check-execstack.h): Target removed.
3002 ($(objpfx)execstack-default): New target.
3003 (generated): Add that instead of check-execstack.h.
3004 ($(all-built-dso:=.phdr)): New static pattern rule.
3005 (generated): Add those targets.
3006 * elf/check-execstack.c: File removed.
3007
82a79e7d
RM
3008 * scripts/check-textrel.awk: New file.
3009 * elf/Makefile ($(objpfx)check-textrel): Target removed.
3010 (check-textrel-CFLAGS): Variable removed.
3011 (all-built-dso): Use := to define.o
3012 ($(all-built-dso:=.dyn)): New static pattern rule.
3013 (generated): Add those targets.
3014 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
3015 * config.make.in (READELF): New substituted variable.
3016 * elf/check-textrel.c: File removed.
3017
62fde54f 30182012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 3019
615605c9
JM
3020 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
3021 allow.
3022 * conform/data/ctype.h-data [C99-based standards] (isblank):
3023 Expect function.
3024 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
3025 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
3026 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3027 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
3028 Specify type. Require positive value.
3029 (EILSEQ): Likewise.
3030 (ERANGE): Likewise.
3031 [ISO || POSIX] (EILSEQ): Do not expect.
3032 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
3033 Specify type. Require positive value.
3034 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3046 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3051 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3059 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3064 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3066 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3067 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3068 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3069 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3070 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3071 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3072 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3073 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3074 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3075 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3076 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3077 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3078 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3079 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3080 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3081 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3082 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3083 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3084 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3085 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3086 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3087 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3088 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3089 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3090 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3091 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3092 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3093 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3094 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3095 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3096 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3097 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3098 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3099 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3100 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3101 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3102 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3103 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3104 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3105 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3106 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3107 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3108 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3109 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3110 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3111 Require >= 2.
3112 (FLT_ROUNDS): Expect as macro, not constant.
3113 (FLT_MANT_DIG): Use macro-int-constant.
3114 (DBL_MANT_DIG): Likewise.
3115 (LDBL_MANT_DIG): Likewise.
3116 (FLT_DIG): Likewise.
3117 (DBL_DIG): Likewise.
3118 (LDBL_DIG): Likewise.
3119 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3120 (DBL_MIN_EXP): Likewise.
3121 (LDBL_MIN_EXP): Likewise.
3122 (FLT_MAX_EXP): Use macro-int-constant.
3123 (DBL_MAX_EXP): Likewise.
3124 (LDBL_MAX_EXP): Likewise.
3125 (FLT_MAX_10_EXP): Likewise.
3126 (DBL_MAX_10_EXP): Likewise.
3127 (LDBL_MAX_10_EXP): Likewise.
3128 (FLT_MAX): Use macro-constant.
3129 (DBL_MAX): Likewise.
3130 (LDBL_MAX): Likewise.
3131 (FLT_EPSILON): Use macro-constant. Give upper bound.
3132 (DBL_EPSILON): Likewise.
3133 (LDBL_EPSILON): Likewise.
3134 (FLT_MIN): Likewise.
3135 (DBL_MIN): Likewise.
3136 (LDBL_MIN): Likewise.
3137 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3138 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3139 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3140 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3141 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3142 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3143 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3144 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3145 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3146 [ISO11] (FLT_TRUE_MIN): Likewise.
3147 [ISO11] (LDBL_TRUE_MIN): Likewise.
3148 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3149 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3150 (SCHAR_MIN): Use macro-int-constant. Specify type.
3151 (SCHAR_MAX): Likewise.
3152 (UCHAR_MAX): Likewise.
3153 (CHAR_MIN): Likewise.
3154 (CHAR_MAX): Likewise.
3155 (MB_LEN_MAX): Use macro-int-constant.
3156 (SHRT_MIN): Use macro-int-constant. Specify type.
3157 (SHRT_MAX): Likewise.
3158 (USHRT_MAX): Likewise.
3159 (INT_MAX): Likewise.
3160 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3161 bound negative.
3162 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3163 bound with "U".
3164 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3165 bound with "L".
3166 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3167 bound negative. Suffix upper bound with "L".
3168 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3169 bound with "UL".
3170 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3171 Specify type.
3172 [C99-based standards] (LLONG_MAX): Likewise.
3173 [C99-based standards] (ULLONG_MAX): Likewise.
3174 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3175 == 0.
3176 [ISO11] (max_align_t): Require type.
3177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3178
c9140a62
JM
3179 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3180 from $CFLAGS, without defining away __attribute__ calls.
3181 (checknamespace): Use $CFLAGS_namespace.
3182
9af0bf29
JM
3183 * conform/conformtest.pl (@keywords): Only include C99 keywords
3184 for standards based on C99 or C11.
3185
343222a2
JM
3186 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3187 Disable tests.
3188 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3189 UNIX98]: Likewise.
3190
661f8cf0
JM
3191 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3192 usability of symbols in #if.
3193
ee74b9cb
JM
3194 * conform/conformtest.pl: If macro or constant types start
3195 "promoted:", expect the symbol to be of the following type
3196 promoted by the integer promotions.
62fde54f 3197
aafc49b3
JM
3198 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3199 in one place. Also handle "macro-constant".
3200
fefdf574
JM
3201 * conform/conformtest.pl: Only accept expected macro values with
3202 "==". Parse all "macro" lines in one place.
3203 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3204
f2d922fe
JM
3205 * conform/conformtest.pl: Handle braced types on "constant" lines
3206 instead of handling "typed-constant".
3207 * conform/data/signal.h-data: Use "constant" instead of
3208 "typed-constant".
3209
d22956c9
JM
3210 * conform/conformtest.pl: Handle "optional-" at start of lines in
3211 one place rather than duplicating several cases. Handle each
3212 format of "macro" line with initial "optional-".
3213
028e2e38
JM
3214 * conform/conformtest.pl: Only accept expected constant or
3215 optional-constant values with "==". Parse all "constant" lines in
3216 one place. Parse all "optional-constant" lines in one place.
3217 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3218 * conform/data/fmtmsg.h-data: Likewise.
3219 * conform/data/netinet/in.h-data: Likewise.
3220 * conform/data/tar.h-data: Likewise.
3221 * conform/data/limits.h-data: Use "==" form on "constant" and
3222 "optional-constant" lines.
3223
1b8f2850
JM
3224 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3225 Use -std=c99 for XOPEN2K.
3226 (@knownproblems): Remove.
3227 (newtoken): Don't check %isknown.
3228
a05a144b
JM
3229 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3230 Do not expect macro.
3231 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3234 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3235 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3243 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3244 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3245 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3261 [XPG3] (acosh): Likewise.
3262 [XPG3] (asinh): Likewise.
3263 [XPG3] (atanh): Likewise.
3264 [XPG3] (cbrt): Likewise.
3265 [XPG3] (expm1): Likewise.
3266 [XPG3] (ilogb): Likewise.
3267 [XPG3] (log1p): Likewise.
3268 [XPG3] (logb): Likewise.
3269 [XPG3] (nextafter): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3272 [XPG3] (remainder): Likewise.
3273 [XPG3] (rint): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3281 [UNIX98 || XOPEN2K] (scalb): Expect.
3282 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3283 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3355 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3381 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3382 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3383 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3384 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3385 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3386 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3387 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3388 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3389 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3390 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3391 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3392 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3393 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3394 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3395 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3396 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3397 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3398 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3399 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3400 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3401 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3402 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3403 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3404 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3405 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3406 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3407 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3408 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3409 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3410 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3411 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3412 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3413 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3414 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3415 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3416 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3417 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3418 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3419
73c5ebe3
JM
3420 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3421 _XOPEN_SOURCE_EXTENDED for XPG4.
3422
39c33b6c
JM
3423 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3424
62fde54f
JM
3425 * Makeconfig (localtime): Remove variable.
3426 (inst_localtime-file): Likewise.
3427
0741d64c
AS
34282012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3429
3430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3431 Update.
3432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3433 Update.
3434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3435 Update.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3437 Update.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3439 Update.
3440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3441 Update.
3442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3443 Update.
3444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3445 Update.
3446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3447 Update.
3448
7cb029ee
JM
34492012-05-01 Joseph Myers <joseph@codesourcery.com>
3450
3451 [BZ #2550]
3452 [BZ #2570]
3453 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3454 comparisons to determine direction to adjust input.
3455 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3456 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3457 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3458 Likewise.
3459 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3460 Likewise.
3461 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3462 Likewise.
3463 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3464 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3465 Likewise.
3466 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3467 Likewise.
3468 * math/libm-test.inc (nexttoward_test): Add more tests.
3469
412bd966
AS
34702012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3471
3472 [BZ #14040]
3473 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3474 in version GLIBC_2.1, not GLIBC_2.0.
3475 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3476 Likewise.
3477
9568c0c2
JM
34782012-04-30 Joseph Myers <joseph@codesourcery.com>
3479
adfbc8ac
JM
3480 [BZ #13942]
3481 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3482 (1 - x) * (1 + x).
3483 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3484 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3485 * math/libm-test.inc (acos_test): Add more tests.
3486 (asin_test): Likewise.
3487 * sysdeps/i386/fpu/libm-test-ulps: Update.
3488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3489
5ba3cc69
JM
3490 [BZ #14034]
3491 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3492 of square root.
3493 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3494 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3495 * math/libm-test.inc (acos_test_tonearest): New function.
3496 (acos_test_towardzero): Likewise.
3497 (acos_test_downward): Likewise.
3498 (acos_test_upward): Likewise.
3499 (asin_test_tonearest): Likewise.
3500 (asin_test_towardzero): Likewise.
3501 (asin_test_downward): Likewise.
3502 (asin_test_upward): Likewise.
3503 (main): Call the new functions.
3504 * sysdeps/i386/fpu/libm-test-ulps: Update.
3505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3506
9568c0c2
JM
3507 [BZ #13884]
3508 [BZ #13924]
3509 * math/e_exp10.c: Include <float.h>.
3510 (__ieee754_exp10): Handle underflow here rather than multiplying
3511 large negative argument by M_LN10.
3512 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3513 of __ieee754_expf.
3514 * math/e_exp10l.c: Include <float.h>.
3515 (__ieee754_exp10l): Handle underflow here rather than multiplying
3516 large negative argument by M_LN10l.
3517 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3518 spurious overflow exception on underflow.
3519
5ac3ea17
MP
35202012-04-29 Marek Polacek <polacek@redhat.com>
3521
3522 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3523 (__fortify_function): New macro.
3524 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3525 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3526 __extern_always_inline.
3527 * libio/bits/stdio2.h: Likewise.
3528 * libio/bits/stdio.h: Likewise.
3529 * string/string.h: Likewise.
3530 * string/bits/string3.h: Likewise.
3531 * include/stdio.h: Likewise.
3532 * stdlib/bits/stdlib.h: Likewise.
3533 * stdlib/stdlib.h: Likewise.
3534 * rt/bits/mqueue2.h: Likewise.
3535 * rt/mqueue.h: Likewise.
3536 * posix/bits/unistd.h: Likewise.
3537 * posix/unistd.h: Likewise.
3538 * io/bits/poll2.h: Likewise.
3539 * io/bits/fcntl2.h: Likewise.
3540 * io/fcntl.h: Likewise.
3541 * io/sys/poll.h: Likewise.
3542 * misc/bits/syslog.h: Likewise.
3543 * misc/bits/syslog-ldbl.h: Likewise.
3544 * misc/sys/syslog.h: Likewise.
3545 * socket/bits/socket2.h: Likewise.
3546 * socket/sys/socket.h: Likewise.
3547 * debug/tst-chk1.c: Likewise.
3548 * wcsmbs/bits/wchar2.h: Likewise.
3549 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3550 * wcsmbs/wchar.h: Likewise.
3551
ecf0ebfb
AJ
35522012-04-29 Andreas Jaeger <aj@suse.de>
3553
3554 * Makerules (tests): Remove enable-check-abi protection.
3555 (check-abi-warn): Remove.
3556 (check-abi-%): Remove check-abi-warn usage.
3557
3558 * configure.in: Remove check-abi configure option.
3559 * configure: Regenerated.
3560 * config.make.in (enable-check-abi): Remove.
3561
6d5c57fa
AS
35622012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3563
24c5d07e 3564 [BZ #14033]
ded5180a
AS
3565 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3566 double functions to double *_finite functions.
3567
7e0d315d
AS
3568 [BZ #13941]
3569 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3570 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3571 LDBL_MIN_EXP.
3572 * stdio-common/Makefile (tests): Add tst-sprintf3.
3573 * stdio-common/tst-sprintf3.c: New file.
3574
6d5c57fa
AS
3575 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3576 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3577
0749ff8b
JM
35782012-04-28 Joseph Myers <joseph@codesourcery.com>
3579
3580 * conform/conformtest.pl: Remove duplicate typed-constant
3581 handling.
3582
8dbd5d7b
DM
35832012-04-28 David S. Miller <davem@davemloft.net>
3584
3585 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3586 (check-abi-%): Remove AWK script prerequisite and explicit
3587 abilist directory.
3588 (check-abi): Rewrite to just diff the symlist with the abilist.
3589 (config-tls, config-abi-config): Delete, no longer used.
3590 (update-abi-%): Remove AWK script and explicit abilist directory.
3591 (update-abi): Rewrite to simply compare and conditionally copy the
3592 symlist and the sysdep abilist file. Remove update-abi-config
3593 checks.
3594 * abilist/ld.abilist: Remove.
3595 * abilist/libBrokenLocale.abilist: Remove.
3596 * abilist/libanl.abilist: Remove.
3597 * abilist/libcrypt.abilist: Remove.
3598 * abilist/libdl.abilist: Remove.
3599 * abilist/librt.abilist: Remove.
3600 * abilist/libthread_db.abilist: Remove.
3601 * abilist/libutil.abilist: Remove.
3602 * scripts/extract-abilist.awk: Remove.
3603 * scripts/merge-abilist.awk: Remove.
3604 * sysdeps/generic/libcidn.abilist: New file.
3605 * sysdeps/generic/libnss_compat.abilist: New file.
3606 * sysdeps/generic/libnss_db.abilist: New file.
3607 * sysdeps/generic/libnss_dns.abilist: New file.
3608 * sysdeps/generic/libnss_files.abilist: New file.
3609 * sysdeps/generic/libnss_hesiod.abilist: New file.
3610 * sysdeps/generic/libnss_nis.abilist: New file.
3611 * sysdeps/generic/libnss_nisplus.abilist: New file.
3612 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3613 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3614 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3615 file.
3616 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3617 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3618 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3619 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3620 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3621 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3622 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3623 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3624 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3625 file.
3626 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3627 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3628 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3629 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3630 file.
3631 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3632 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3633 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3634 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3635 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3636 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3637 file.
3638 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3640 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3641 file.
3642 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3643 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3644 New file.
3645 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3646 New file.
3647 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3648 New file.
3649 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3650 New file.
3651 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3652 New file.
3653 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3654 New file.
3655 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3656 New file.
3657 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3658 New file.
3659 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3660 New file.
3661 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3662 New file.
3663 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3664 New file.
3665 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3666 New file.
3667 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3668 New file.
3669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3670 file.
3671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3672 New file.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3674 New file.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3676 file.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3678 New file.
3679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3680 New file.
3681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3682 file.
3683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3684 New file.
3685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3686 New file.
3687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3688 New file.
3689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3690 New file.
3691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3692 New file.
3693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3694 New file.
3695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3697 file.
3698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3699 New file.
3700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3701 file.
3702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3703 file.
3704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3705 file.
3706 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3707 file.
3708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3709 file.
3710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3711 New file.
3712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3713 file.
3714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3715 file.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3717 New file.
3718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3719 file.
3720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3722 file.
3723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3724 New file.
3725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3726 file.
3727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3728 file.
3729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3730 file.
3731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3732 file.
3733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3734 file.
3735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3736 New file.
3737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3738 file.
3739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3740 file.
3741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3742 New file.
3743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3744 file.
3745 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3746 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3747 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3748 file.
3749 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3750 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3751 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3752 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3753 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3754 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3755 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3756 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3757 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3758 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3761 file.
3762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3763 New file.
3764 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3765 file.
3766 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3767 file.
3768 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3769 file.
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3771 file.
3772 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3773 file.
3774 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3775 New file.
3776 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3777 New file.
3778 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3779 file.
3780 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3781 New file.
3782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3783 file.
3784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3786 file.
3787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3788 New file.
3789 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3790 file.
3791 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3792 file.
3793 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3794 file.
3795 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3796 file.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3798 file.
3799 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3800 New file.
3801 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3802 New file.
3803 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3804 file.
3805 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3806 New file.
3807 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3808 file.
3809
41d73a1b
JM
38102012-04-28 Joseph Myers <joseph@codesourcery.com>
3811
3812 * conform/conformtest.pl: Fix typo in handling typed-constant from
3813 allow-header.
3814
28aeeda4
JM
38152012-04-27 Joseph Myers <joseph@codesourcery.com>
3816
adae8f5e
JM
3817 * README: Cut down references to pre-2.6 Linux kernels and
3818 Linuxthreads. Update lists of configurations in libc and ports
3819 and sort alphabetically. Say "or newer" with Linux kernel version
3820 requirements.
3821
28aeeda4
JM
3822 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3823
a462cb63
RA
38242012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3825
3826 [BZ #887]
3827 * math/libm-test.inc (logb_test_downward): New test to expose
3828 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3829 rounding mode.
3830
6ad3493e
JM
38312012-04-27 Joseph Myers <joseph@codesourcery.com>
3832
3833 [BZ #14027]
3834 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3835 to be done.
3836 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3837 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3838
2ce4f015
JM
38392012-04-26 Joseph Myers <joseph@codesourcery.com>
3840
5aeb141a
JM
3841 * sysdeps/unix/i386/brk.S: Remove file.
3842 * sysdeps/unix/i386/dl-brk.S: Likewise.
3843 * sysdeps/unix/i386/pipe.S: Likewise.
3844 * sysdeps/unix/i386/sigreturn.S: Likewise.
3845 * sysdeps/unix/i386/syscall.S: Likewise.
3846 * sysdeps/unix/i386/vfork.S: Likewise.
3847 * sysdeps/unix/i386/wait.S: Likewise.
3848
7143acae
JM
3849 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3850 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3851
2ce4f015
JM
3852 * configure.in (arm*-none*): Do not allow without
3853 --enable-hacker-mode.
3854 (netbsd*): Remove case setting base_os.
3855 (386bsd*): Likewise.
3856 (freebsd*): Likewise.
3857 (bsdi*): Likewise.
3858 (osf*): Likewise.
3859 (sunos*): Likewise.
3860 (ultrix*): Likewise.
3861 (newsos*): Likewise.
3862 (dynix*): Likewise.
3863 (*bsd*): Likewise.
3864 (sysv*): Likewise.
3865 (isc*): Likewise.
3866 (esix*): Likewise.
3867 (sco*): Likewise.
3868 (minix*): Likewise.
3869 (irix4*): Likewise.
3870 (irix6*): Likewise.
3871 (solaris[2-9]*): Likewise.
3872 (none): Likewise.
3873 * configure: Regenerated.
3874
0ac229c8
AZ
38752012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3876
3877 [BZ #11521]
3878 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3879 overflow or cancellation in calculating denominator.
3880 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3881 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3882 down expression to avoid unexpected rounding in newer GCCs.
3883 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3884
33f244f4
DM
38852012-04-26 David S. Miller <davem@davemloft.net>
3886
3887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3888 long-double compat symbols.
3889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3902
cfa1f3e8
DM
39032012-04-25 David S. Miller <davem@davemloft.net>
3904
3905 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3906 HWCAP_* values only after the memory barriers have been defined.
3907 (atomic_full_barrier): Define.
3908 (atomic_read_barrier): Define.
3909 (atomic_write_barrier): Define.
3910
6e236b92
SP
39112012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3912
3913 * shlib-versions: Add libgcc_s version information.
3914 * sysdeps/generic/libgcc_s.h: Remove.
3915 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3916 libgcc_s.h.
3917 * sysdeps/gnu/unwind-resume.c: Likewise.
3918 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3919
aab39a09
DM
39202012-04-25 David S. Miller <davem@davemloft.net>
3921
3922 * sysdeps/unix/sparc/brk.S: Delete.
3923 * sysdeps/unix/sparc/dl-brk.S: Delete.
3924 * sysdeps/unix/sparc/pipe.S: Delete.
3925 * sysdeps/unix/sparc/sysdep.S: Delete.
3926 * sysdeps/unix/sparc/sysdep.h: Delete.
3927 * sysdeps/unix/sparc/vfork.S: Delete.
3928 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3929 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3930 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3931 ret_ERRVAL, r0, r1, MOVE): Define.
3932 (JUMPTARGET): Remove.
3933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3934 sysdeps/unix/sparc/sysdep.h
3935 (ENTRY, END): Remove.
3936 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3937
a3cc4f48
JM
39382012-04-25 Joseph Myers <joseph@codesourcery.com>
3939
2ed8cda2
JM
3940 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3941 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3942 -DIS_IN_build.
3943
35d76d59
JM
3944 * timezone/README: Update upstream location and email address for
3945 tzcode and tzdata.
3946 * timezone/zdump.c: Update from tzcode 2012b.
3947 * timezone/zic.c: Likewise.
3948
a3cc4f48
JM
3949 * configure.in (libc_cv_as_needed): Remove test.
3950 * configure: Regenerated.
3951 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3952 conditional definition.
3953 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3954 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3955 * config.make.in (have-as-needed): Remove variable.
3956
ceab42c3
SP
39572012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3958 Paul Pluzhnikov <ppluzhnikov@google.com>
3959
3960 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3961 strings correctly.
3962
3ce2865f
CLT
39632012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3964
3965 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3966 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3967 * sysdeps/sh/strlen.S: Likewise.
3968
f37e0d68
JM
39692012-04-24 Joseph Myers <joseph@codesourcery.com>
3970
ae186e9a
JM
3971 * sysdeps/unix/fork.S: Remove file.
3972 * sysdeps/unix/i386/fork.S: Likewise.
3973 * sysdeps/unix/sparc/fork.S: Likewise.
3974
b96914af
JM
3975 * sysdeps/unix/system.c: Remove file.
3976 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3977
f37e0d68
JM
3978 * sysdeps/unix/getegid.S: Remove file.
3979 * sysdeps/unix/geteuid.S: Likewise.
3980
87ef29ca
RM
39812012-04-24 Roland McGrath <roland@hack.frob.com>
3982
83bcd236
RM
3983 * scripts/check-localplt.awk: New file.
3984 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3985 of diff.
3986 * scripts/data/localplt-generic.data: Add a comment.
3987
87ef29ca
RM
3988 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3989 NODE when __dir_mkfile failed.
3990 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3991 Reported by Ludovic Courtès <ludo@gnu.org>.
3992
e5a6e567
AJ
39932012-04-24 Andreas Jaeger <aj@suse.de>
3994
3995 * Makerules (common-clean): Also remove gen-as-const-headers
3996 files.
3997
c1820385
JM
39982012-04-24 Joseph Myers <joseph@codesourcery.com>
3999
4000 * Makerules (native-compile): Do not change working directory for
4001 build. Use $(OUTPUT_OPTION) in command.
4002 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
4003
94e02fc4
AZ
40042012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 [BZ #13886]
4007 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
4008 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
4009 * math/libm-test.inc (floor_test): Add more tests.
4010 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
4011
3a533ca3
JM
40122012-04-24 Joseph Myers <joseph@codesourcery.com>
4013
940ab4b3
JM
4014 * sysdeps/unix/getdents.c: Remove file.
4015 * sysdeps/unix/sysv/getdents.c: Likewise.
4016 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
4017
90e037bd
JM
4018 * sysdeps/unix/syscalls.list (madvise): Add syscall from
4019 sysdeps/unix/mman/syscalls.list.
4020 (mmap): Likewise.
4021 (mprotect): Likewise.
4022 (msync): Likewise.
4023 (munmap): Likewise.
4024 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
4025 * sysdeps/unix/mman/syscalls.list: Remove.
4026 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
4027
3a533ca3
JM
4028 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
4029 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
4030 * configure: Regenerated.
4031 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
4032 $(libgcc_s_suffix).
4033 * config.make.in (libgcc_s_suffix): Remove variable.
4034
1ad743de
JM
40352012-04-23 Joseph Myers <joseph@codesourcery.com>
4036
4ad451e2
JM
4037 * sysdeps/unix/sysv/gethostname.c: Move to ...
4038 * sysdeps/posix/gethostname.c: ... here.
4039
5e37ce39
JM
4040 * sysdeps/unix/execve.S: Remove file.
4041
1ad743de
JM
4042 * sysdeps/unix/_exit.S: Remove file.
4043
4e681b5b
AJ
40442012-04-23 Andreas Jaeger <aj@suse.de>
4045
4046 [BZ #13739]
4047 * manual/Makefile: Remove make dist support, there's no
4048 need for a stand-alone documentation tar ball.
4049 (TEXI2DVI): Define always, it's not in Makeconfig.
4050 (dist): Removed.
4051 (tar-it): Removed.
4052 (edition): Removed.
4053 (glibc-doc-$(edition).tar): Removed
4054 (%.Z): Removed.
4055 (%.gz): Removed.
4056 (%.uu): Removed.
4057 (ETAGS): Remove, it's in Makeconfig.
4058 (move-if-change): Remove, it's in Makeconfig.
4059
c0baea34
PE
40602013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4061
4062 [BZ #13970]
4063 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4064 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4065 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4066 (strtod_l, strtof_l, strtold_l): Remove __wur.
4067 It is not necessarily an error to ignore strtol's return value.
4068 One can reliably look at the stored endptr to decide whether
4069 the number had valid syntax.
4070
7c0616fa
AJ
40712012-04-21 Andreas Jaeger <aj@suse.de>
4072
803cb6b7 4073 [BZ #13739]
7c0616fa
AJ
4074 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4075
b0fe253f
JM
40762012-04-21 Joseph Myers <joseph@codesourcery.com>
4077
4078 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4079 * sysdeps/unix/sysv/Versions: Remove file.
4080
8280f22d
MT
40812012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4082
4083 [BZ #13927]
4084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4085
75ce411f 40862012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4087
4088 [BZ #7064]
4089 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4090 version from __vm86.
4091
097d59fa
JM
40922012-04-20 Joseph Myers <joseph@codesourcery.com>
4093
a90f3bcb
JM
4094 * sysdeps/unix/common/lxstat.c: Remove file.
4095 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4096
edc7ea78
JM
4097 * sysdeps/unix/sysv/Makefile: Remove file.
4098
cb78c221
JM
4099 * sysdeps/unix/sysv/direct.h: Remove file.
4100
efa6a45f
JM
4101 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4102 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4103 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4104 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4105 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4106 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4107 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4108
9c9f2d0c
JM
4109 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4110
4541c83b
JM
4111 * sysdeps/unix/xmknod.c: Remove file.
4112 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4113
f5d153a0
JM
4114 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4115
aa746595
JM
4116 * sysdeps/unix/sysv/i386/time.S: Remove file.
4117
cce5905e
JM
4118 * sysdeps/unix/fxstat.c: Remove file.
4119 * sysdeps/unix/xstat.c: Likewise.
4120 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4121
37fa3841
JM
4122 * sysdeps/unix/sysv/sigaction.c: Remove file.
4123
ff1962a3
JM
4124 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4125 (sysdep_headers): Remove variable.
4126 [termio.h not in sysdep_headers] (generated): Likewise.
4127 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4128 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4129 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4130 * sysdeps/unix/sysv/tcflow.c: Likewise.
4131 * sysdeps/unix/sysv/tcflush.c: Likewise.
4132 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4133 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4134 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4135 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4136 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4137
e7740d31
JM
4138 * sysdeps/unix/siglist.c: Remove file.
4139
ee06f18b
JM
4140 * sysdeps/unix/getppid.S: Remove file.
4141
097d59fa
JM
4142 * sysdeps/unix/mkdir.c: Remove file.
4143 * sysdeps/unix/rmdir.c: Likewise.
4144
ff3d51ec
AS
41452012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4146
4147 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4148 ERR_MAX value.
4149 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4150 errlist-compat value.
4151
50f81fd7
DM
41522012-04-18 David S. Miller <davem@davemloft.net>
4153
4154 * sysdeps/generic/memcopy.h (reg_char): Delete.
4155 * debug/strcat_chk.c: Use char, not reg_char.
4156 * debug/strcpy_chk.c: Likewise.
4157 * debug/strncat_chk.c: Likewise.
4158 * debug/strncpy_chk.c: Likewise.
4159 * string/memchr.c: Likewise.
4160 * string/memrchr.c: Likewise.
4161 * string/rawmemchr.c: Likewise.
4162 * string/strcat.c: Likewise.
4163 * string/strchr.c: Likewise.
4164 * string/strchrnul.c: Likewise.
4165 * string/strcmp.c: Likewise.
4166 * string/strcpy.c: Likewise.
4167 * string/strncat.c: Likewise.
4168 * string/strncmp.c: Likewise.
4169 * string/strncpy.c: Likewise.
4170
8ff41c46
WS
41712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4172
4173 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4174 __builtin_memcopy is called when src and dest ranges are known to not
4175 overlap.
4176
6b652f46
WS
41772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4178
4179 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4180 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4181 fwd_align_merge macro call.
4182 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4183 bwd_align_merge macro call.
4184 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4185
b282631e
WS
41862012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4187
4188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4189 bwd_align_merge macros.
4190 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4191 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4192 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4193
95aa737c
DM
41942012-04-18 David S. Miller <davem@davemloft.net>
4195
4196 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4197
7a99a614
AJ
41982012-04-18 Andreas Jaeger <aj@suse.de>
4199
4200 [BZ# 6794]
4201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4202 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4203 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4204
4205 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4206 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4207 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4208
4209 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4210 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4211 Adjust for changed ldbl-128 files.
4212
4213 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4214 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4215 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4216
e5270c23
DM
42172012-04-17 David S. Miller <davem@davemloft.net>
4218
4219 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4220
fb5e92c9
AS
42212012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4222
4223 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4224 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4225 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4226 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4227 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4228 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4229
76da7265
AZ
42302012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4231
4232 [BZ #6794]
4233 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4234 * math/libm-test.inc: Add ilogb errno and exception tests.
4235 * math/w_ilogb.c: New file: ilogb wrapper.
4236 * math/w_ilogbf.c: New file: ilogbf wrapper.
4237 * math/w_ilogbl.c: New file: ilogbl wrapper.
4238 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4239 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4240 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4241 exception being thrown with 0.0 as argument.
4242 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4243 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4244 exception being thrown with 0.0 as argument.
4245 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4246 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4247 exception being thrown with 0.0 as argument.
4248 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4249 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4250 exception being thrown with 0.0 as argument.
4251 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4252 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4253 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4254 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4256 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4257 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4258 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4259 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4260
0396e69d
PB
42612012-04-17 Petr Baudis <pasky@ucw.cz>
4262
4263 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4264 with altivec.
4265
750b5926
MP
42662012-04-16 Marek Polacek <polacek@redhat.com>
4267
4268 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4269
751728a1
MP
42702012-04-16 Marek Polacek <polacek@redhat.com>
4271
4272 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4273 operands of fdivp instruction.
4274
34a27407
L
42752012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4276
4277 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4278 * elf/tst-auditmod3b.c: Likewise.
4279 * elf/tst-auditmod4b.c: Likewise.
4280 * elf/tst-auditmod5b.c: Likewise.
4281 * elf/tst-auditmod6b.c: Likewise.
4282 * elf/tst-auditmod6c.c: Likewise.
4283 * elf/tst-auditmod7b.c: Likewise.
4284 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4285 * sysdeps/x86_64/preconfigure.in: Likewise.
4286 * sysdeps/x86_64/preconfigure: Regenerated.
4287
7e73e17d
L
42882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4289
4290 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4291 __ILP32__.
4292
c7a6ab72
AB
42932012-04-13 Antoine Balestrat <merkil33@gmail.com>
4294
4295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4296 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4297
a9e8e0e0
CL
42982012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4299
4300 [BZ #13973]
4301 * locale/iso-639.def: Fix gl language name. Spotted by
4302 Yaron Shahrabani.
4303
ec98af7d
RM
43042012-04-12 Roland McGrath <roland@hack.frob.com>
4305
4306 [BZ #2074]
4307 * libio/libio.h (__io_write_fn): Update comment.
4308
247c3ede
PB
43092012-04-12 Petr Baudis <pasky@ucw.cz>
4310
4311 [BZ #2074]
4312 * stdio.texi (Hook Functions): The user provided writer function
4313 is not allowed to return -1.
4314
55939d6d
DM
43152012-04-11 David S. Miller <davem@davemloft.net>
4316
4317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4318
90020f5a
MF
43192012-04-11 Mike Frysinger <vapier@gentoo.org>
4320
4321 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4322 Add a leading slash to rtkaio.
4323
288f9098
JM
43242012-04-11 Jim Meyering <meyering@redhat.com>
4325
90020f5a
MF
4326 [BZ #11959]
4327 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4328 It is not necessarily an error to ignore fwrite's return
4329 value. One can reliably use ferror to test for errors after
4330 the fact.
288f9098 4331
4be2b570
L
43322012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4333
4334 * bits/types.h (__snseconds_t): New type.
4335 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4336
4337 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4338 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4339 (__SNSECONDS_T_TYPE): Likewise.
4340 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4341 (__SNSECONDS_T_TYPE): Likewise.
4342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4343 (__SNSECONDS_T_TYPE): Likewise.
4344
288f9098 43452012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4346
4347 [BZ #2636]
4348 * manual/time.texi (Processor Time): Return type of times is
4349 elapsed real time since an arbitrary point in the past.
4350 (CPU Time): Move CLK_TCK from here...
4351 (Processor Time): ...to here. Correct description.
4352 * manual/conf.texi (Constants for Sysconf): Correct description of
4353 _SC_CLK_TCK.
4354
d7dd4413
DM
43552012-04-10 David S. Miller <davem@davemloft.net>
4356
4357 [BZ #13967]
4358 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4359 where the is a gap between DT_REL(A) and DT_JMPREL.
4360
b46068fc
L
43612012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4362
4363 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4364 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4365 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4366
73d65cc3
SP
43672012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4368
4369 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4370 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4371 (dl_main): Handle --inhibit-cache.
4372 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4373 _dl_inhibit_cache.
4374 * elf/dl-load.c (_dl_map_object): Use it.
4375 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4376
bcc8d661
JM
43772012-04-09 Joseph Myers <joseph@codesourcery.com>
4378
8f9a2fae
JM
4379 [BZ #13872]
4380 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4381 (__ieee754_powl): Saturate large exponents rather than testing for
4382 overflow of y*log2(x).
4383 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4384 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4385 exceptions.
4386
bcc8d661
JM
4387 [BZ #11521]
4388 * math/s_ctan.c: Include <float.h>.
4389 (__ctan): Avoid internal overflow or cancellation in calculating
4390 denominator.
4391 * math/s_ctanf.c: Likewise.
4392 * math/s_ctanl.c: Likewise.
4393 * math/s_ctanh.c: Likewise.
4394 * math/s_ctanhf.c: Likewise.
4395 * math/s_ctanhl.c: Likewise.
4396 * math/libm-test.inc (ctan_test): Add more tests.
4397 (ctanh_test): Likewise.
4398 * sysdeps/i386/fpu/libm-test-ulps: Update.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4400
823fbbb4
AJ
44012012-04-09 Andreas Jaeger <aj@suse.de>
4402
03879793
AJ
4403 [BZ #6894]
4404 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4405 is an optional BSD extension.
4406
823fbbb4
AJ
4407 [BZ #10254]
4408 * manual/stdio.texi (Opening Streams): Document additional fopen
4409 parameters.
4410
8de131cb
RM
44112012-04-09 Roland McGrath <roland@hack.frob.com>
4412
4413 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4414 %eax without telling the compiler.
4415
c0ed9d7d
CD
44162012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4417
4418 [BZ # 13963]
4419 * manual/install.texi: Use sourceware.org.
4420
c483f6b4
JM
44212012-04-09 Joseph Myers <joseph@codesourcery.com>
4422
d7dd9453
JM
4423 [BZ #13873]
4424 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4425 (__ieee754_pow): Generate overflow and underflow using huge*huge
4426 and tiny*tiny rather than just returning constant infinity or zero
4427 for large exponents.
4428 * math/libm-test.inc (pow_test): Require overflow exceptions for
4429 applicable cases of large exponents.
4430
c483f6b4
JM
4431 [BZ #706]
4432 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4433 (__ieee754_pow): Use iterative multiplication algorithm only for
4434 integer exponents with absolute value below 1024. Check for odd
4435 integer exponents when using algorithm for real exponents.
4436 * math/libm-test.inc (pow_test): Add more tests.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4438
d2de7579
JM
44392012-04-08 Joseph Myers <joseph@codesourcery.com>
4440
4441 [BZ #13705]
4442 * math/libm-test.inc (exp_test): Do not allow overflow exception
4443 on underflow test.
4444
f77f1232
AJ
44452012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4446
4447 [BZ #13705]
4448 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4449 instead of __kernel_standard_f.
4450
3884932b
MF
44512012-04-08 Mike Frysinger <vapier@gentoo.org>
4452
4453 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4454 * sysdeps/x86_64/memset_chk.S: Likewise.
4455
54472e9c
AJ
44562012-04-08 Andreas Jaeger <aj@suse.de>
4457
6ab0fbfc
AJ
4458 [BZ #10153]
4459 * manual/startup.texi (Environment Access): Describe return value
4460 for putenv and setenv.
4461
61efba8c
AJ
4462 [BZ #6895]
4463 * manual/filesys.texi (Directory Entries): Add description for
4464 DT_LNK.
4465
95c3f29a
AJ
4466 [BZ #6890]
4467 * manual/filesys.texi (Directory Entries): Clarify that it's file
4468 system not operating system in the description of DT_UNKNOWN.
4469
54472e9c
AJ
4470 [BZ #6578]
4471 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4472
624254b1
SC
44732012-04-08 Stephen Compall <s11@member.fsf.org>
4474
4475 [BZ #6649]
4476 * manual/llio.texi (Opening and Closing Files): Add cross
4477 reference to explain mode argument.
4478
1e4920e0
MF
44792012-04-07 Mike Frysinger <vapier@gentoo.org>
4480
4481 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4482 * sysdeps/x86_64/memset_chk.S: Likewise.
4483
5ed848f3
DM
44842012-04-07 David S. Miller <davem@davemloft.net>
4485
4486 * elf/elf.h (R_SPARC_WDISP10): Define.
4487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4488 R_SPARC_SIZE32.
4489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4490 R_SPARC_SIZE64 and R_SPARC_H34.
4491
96154cd8
CD
44922012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4493
4494 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4495 conditions and remove no longer applicable assertion.
4496
9904dc47
L
44972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4498
4499 * bits/byteswap.h: Include <features.h>.
4500 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4501 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4502
f8887d0a
L
45032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4504
4505 * bits/byteswap.h (__bswap_16): Removed.
4506 Include <bits/byteswap-16.h> to get __bswap_16.
4507 * sysdeps/i386/bits/byteswap.h: Likewise.
4508 * sysdeps/s390/bits/byteswap.h: Likewise.
4509 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4510 * bits/byteswap-16.h: New file.
4511 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4512 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4513 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4514 * string/Makefile (headers): Add bits/byteswap-16.h.
4515
62470f60
PP
45162012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4517
4518 [BZ #13895]
4519 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4520 extra indirection.
4521 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4522 * nss/tst-nss-static.c: New.
4523
4dad7bab
RM
45242012-04-06 Robert Millan <rmh@gnu.org>
4525
4526 [BZ #6486]
4527 * manual/llio.texi (File Position Primitive): lseek
4528 refers to WHENCE when it really means OFFSET.
4529
e9142a17
AJ
45302012-04-06 Andreas Jaeger <aj@suse.de>
4531
2c040eff
AJ
4532 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4533 strncmp declarations.
4534
e9142a17
AJ
4535 * abilist/libc.abilist: Add __poll and __ppoll.
4536
ff9f1c5f
DM
45372012-04-05 David S. Miller <davem@davemloft.net>
4538
dcd2ae90
DM
4539 * scripts/check-local-headers.sh: Accept a host triplet in the
4540 path matched by the exclude regexp.
4541
993eb054
DM
4542 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4543 definition.
4544 * sysdeps/powerpc/powerpc32/dl-machine.h
4545 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4546 * sysdeps/s390/s390-32/dl-machine.h
4547 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4548 * sysdeps/sparc/sparc32/dl-machine.h
4549 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4550 * sysdeps/sparc/sparc64/dl-machine.h
4551 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4552
ff9f1c5f
DM
4553 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4554 lazy binding.
48e2e132 4555 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4556 undefined symbol errors.
4557
48e2e132 4558 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4559 DT_NEEDED entries.
4560
e80d6f94
MM
45612012-04-05 Michael Matz <matz@suse.de>
4562
4563 [BZ #13592]
4564 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4565
349fa79f
AJ
45662012-04-05 Andreas Jaeger <aj@suse.de>
4567
4568 [BZ #13908]
4569 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4570 comment.
4571
f402708f
KK
45722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4573
4574 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4575 which ROUND is no valid rounding mode.
4576
2ecccfc9
KK
45772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4578
4579 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4580 read again.
4581 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4582
8a53f50f
KK
45832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4584
4585 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4586 an exception using FPU order intentionally.
4587
45882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4589
4590 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4591 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4592 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4593 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4594
d653abb7
SJ
45952012-04-05 Simon Josefsson <simon@josefsson.org>
4596
4597 [BZ #12340]
4598 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4599 EINVAL when BUFLEN is too smal.
4600
c3b1bf7d
TS
46012012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4602
4603 [BZ #13553]
4604 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4605 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4606
b1aa60f3
AJ
46072012-04-03 Andreas Jaeger <aj@suse.de>
4608
c3b1bf7d 4609 [BZ #13938]
67f60a26
AJ
4610 * manual/setjmp.texi (System V contexts): Fix sentence.
4611
b1aa60f3
AJ
4612 [BZ #13926]
4613 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4614 New macro for this case.
4615 [!__GNUC__] (__bswap_64): New inline function for this case.
4616 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4617 * bits/byteswap.h: Likewise.
4618 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4619 ull, guard with __GLIBC_HAVE_LONG_LONG.
4620
4621 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4622 __GLIBC_HAVE_LONG_LONG.
4623
4624 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4625 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4626
39c59c35
TMQMF
46272012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4628
4629 [BZ #13691]
4630 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4631 inptr and inend, rather than using last_ch.
4632
135ffda8
DM
46332012-04-02 David S. Miller <davem@davemloft.net>
4634
4635 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4636 * stdio-common/printf-parse.h (read_int): Change return type to
4637 'int', return -1 on INT_MAX overflow.
4638 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4639 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4640 overflows INT_MAX. Check for overflow of in-format-string precision
4641 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4642 SIZE_MAX not INT_MAX for integer overflow test.
4643 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4644 skip the construct in the format string but do not record anything.
4645 * stdio-common/bug22.c: Adjust to test both width/prevision
4646 INT_MAX overflow as well as total length INT_MAX overflow. Check
4647 explicitly for proper errno values.
4648
228c019e
TS
46492012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4650
302cadd3
TS
4651 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4652 CHAR_MAX.
4653 * string/test-strcmp.c [! WIDE]: Likewise.
4654 * time/tst-mktime2.c: Likewise for INT_MAX.
4655 * string/test-string.h: #include <sys/param.h> for MIN.
4656
228c019e
TS
4657 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4658 * sysdeps/i386/init-first.c (init): Likewise.
4659 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4660 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4661 * sysdeps/sh/init-first.c (init): Likewise.
4662
cfa633f5
UD
46632012-04-01 Ulrich Drepper <drepper@gmail.com>
4664
4665 * po/ru.po: Update from translation team.
d1635ef8 4666 * po/vi.po: Likewise.
cfa633f5 4667
6cd0a5ea
SP
46682012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 * resolv/nss_dns/dns-host.c: Merge copyright years.
4671
4b43400f
LD
46722012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4673
4674 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4675 Optimize memcpy with prefetch if
4676 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4677 src, dst pointers have unequal 16 byte alignments.
4678
48c41d04
SP
46792012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4680
4681 [BZ #13928]
4682 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4683 from a CNAME entry and return the minimum ttl for the query.
4684 (gaih_getanswer_slice): Likewise.
4685
b8dc394d
JL
46862012-03-30 Jeff Law <law@redhat.com>
4687
4688 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4689 due to long keys.
4690 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4691 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4692
2f5a5ed0
JL
4693 * resolv/nss_dns/dns-host.c: Update copyright year.
4694
1d39e359
UD
46952012-03-30 Ulrich Drepper <drepper@gmail.com>
4696
c030f70c 4697 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4698 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4699
1d39e359
UD
4700 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4701 comments for sendmmsg.
4702
47032012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4704
4705 [BZ #13691]
4706 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4707 with only 1 character between 0x0041 and 0x01b0.
4708 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4709 * wcsmbs/tst-mbsnrtowcs.c: New file.
4710
20fde227
DM
47112012-03-29 David S. Miller <davem@davemloft.net>
4712
4713 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4714 small copies by hand.
4715
984a4237
JL
47162012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4717
4718 [BZ #13761]
4719 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4720 _nss_compat_initgroups_dyn): Fall back to malloc/free
4721 for large group memberships.
4722
18c9d62b
DM
47232012-03-28 David S. Miller <davem@davemloft.net>
4724
88d85d4f
DM
4725 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4726 that branches into memcpy.
4727 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4729 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4730 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4731 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4732 bits.
4733 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4734 implementation too.
4735 * sysdeps/sparc/mempcpy.S: New file.
4736
e5aa83e1
DM
4737 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4738 the IFUNC routine in the libc case.
4739 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4740
88570753
DM
4741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4742 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4743 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4744 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4745 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4746 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4747 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4748 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4749
249d7567
DM
4750 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4751 loop to 256 bytes instead of 64 bytes and fix test signedness.
4752
18c9d62b
DM
4753 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4754 * sysdeps/sparc/sparc32/Makefile: rather than here...
4755 * sysdeps/sparc/sparc64/Makefile: and here.
4756
05f3d1f6
UD
47572012-03-28 Ulrich Drepper <drepper@gmail.com>
4758
4759 * malloc/mallocbug.c: Avoid warnings about unused variables.
4760
86ae07a8
JL
47612012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4762
4763 [BZ #13760]
4764 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4765 in the right place. Discard and retry query if response is
4766 larger than input buffer size.
4767
41bf21a1
JM
47682012-03-28 Joseph Myers <joseph@codesourcery.com>
4769
d6270972
JM
4770 [BZ #369]
4771 [BZ #2678]
4772 [BZ #3866]
4773 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4774 x for large integer exponent.
4775 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4776 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4777 sign of result as needed afterwards.
4778 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4779 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4780 result for underflowing pow the same as for overflow.
4781 (__kernel_standard_l): Handle powl overflow and underflow here
4782 rather than calling __kernel_standard.
4783 * math/libm-test.inc (pow_test): Add more tests.
4784
414fca03 4785 [BZ #3868]
41bf21a1
JM
4786 [BZ #13879]
4787 [BZ #13910]
4788 [BZ #13911]
4789 [BZ #13912]
4790 [BZ #13913]
4791 [BZ #13915]
4792 [BZ #13916]
4793 [BZ #13917]
4794 [BZ #13918]
4795 [BZ #13919]
4796 [BZ #13920]
4797 [BZ #13921]
4798 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4799 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4800 (__kernel_standard_l): New function.
4801 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4802 __kernel_standard.
4803 * math/w_acosl.c (__acosl): Likewise.
4804 * math/w_asinl.c (__asinl): Likewise.
4805 * math/w_atan2l.c (__atan2l): Likewise.
4806 * math/w_atanhl.c (__atanhl): Likewise.
4807 * math/w_coshl.c (__coshl): Likewise.
4808 * math/w_exp10l.c (__exp10l): Likewise.
4809 * math/w_exp2l.c (__exp2l): Likewise.
4810 * math/w_fmodl.c (__fmodl): Likewise.
4811 * math/w_hypotl.c (__hypotl): Likewise.
4812 * math/w_j0l.c (__j0l, __y0l): Likewise.
4813 * math/w_j1l.c (__j1l, __y1l): Likewise.
4814 * math/w_jnl.c (__jnl, __ynl): Likewise.
4815 * math/w_lgammal.c (__lgammal): Likewise.
4816 * math/w_log10l.c (__log10l): Likewise.
4817 * math/w_log2l.c (__log2l): Likewise.
4818 * math/w_logl.c (__logl): Likewise.
4819 * math/w_powl.c (__powl): Likewise.
4820 * math/w_remainderl.c (__remainderl): Likewise.
4821 * math/w_scalbl.c (sysv_scalbl): Likewise.
4822 * math/w_sinhl.c (__sinhl): Likewise.
4823 * math/w_sqrtl.c (__sqrtl): Likewise.
4824 * math/w_tgammal.c (__tgammal): Likewise.
4825 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4826 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4827 * math/libm-test.inc (acos_test): Add more tests.
4828 (acosh_test): Likewise.
4829 (asin_test): Likewise.
4830 (atanh_test): Likewise.
4831 (exp_test): Likewise.
4832 (exp10_test): Likewise.
4833 (exp2_test): Likewise.
4834 (expm1_test): Likewise.
4835 (lgamma_test): Likewise.
4836 (log_test): Likewise.
4837 (log10_test): Likewise.
4838 (log1p_test): Likewise.
4839 (log2_test): Likewise.
4840 (pow_test): Do not allow some spurious overflow exceptions.
4841 (sqrt_test): Add more tests.
4842 (tgamma_test): Likewise.
4843 (y0_test): Likewise.
4844 (y1_test): Likewise.
4845 (yn_test): Likewise.
4846
dd62fda6
AB
48472012-03-27 Anton Blanchard <anton@samba.org>
4848
4849 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4850 MAP_HUGETLB.
4851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4852 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4854
1e3cdfda
AJ
48552012-03-27 David S. Miller <davem@davemloft.net>
4856
b855ab85
DM
4857 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4858
1e3cdfda
AJ
4859 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4860 have-as-vis3 check.
4861
48622012-03-27 Andreas Jaeger <aj@suse.de>
4863
4864 * sysdeps/x86_64/elf/configure.in: Moved to ...
4865 * sysdeps/x86_64/configure.in: ... here.
4866 * sysdeps/x86_64/elf/start.S: Moved to ...
4867 * sysdeps/x86_64/start.S: ... here.
4868 * sysdeps/x86_64/elf/configure: Delete.
4869
4870 * sysdeps/x86_64/configure.in: Merge contents from
4871 sysdeps/i386/configure.in (without i686 check).
4872
4873 * sysdeps/i386/elf/Versions: Merge into ...
4874 * sysdeps/i386/Versions: ... this.
4875 * sysdeps/i386/elf/Versions: Delete file.
4876 * sysdeps/i386/elf/start.S: Moved to ...
4877 * sysdeps/i386/start.S: ...here.
4878 * sysdeps/i386/elf/configure.in: Merge into...
4879 * sysdeps/i386/configure.in: ...here.
4880 * sysdeps/i386/elf/configure.in: Delete file.
4881 * sysdeps/i386/elf/configure: Delete file.
4882
4883 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4884 * debug/backtracesyms.c: ... here.
4885 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4886 * debug/backtracesymsfd.c: ... here.
4887 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4888 * sysdeps/generic/ifunc-sel.h: ... here.
4889
4890 * sysdeps/unix/i386/start.c: Delete file.
4891 * sysdeps/unix/sparc/start.c: Delete file.
4892 * sysdeps/unix/start.c: Delete file.
4893
4894 * sysdeps/sh/elf/configure.in: Moved to ...
4895 * sysdeps/sh/configure.in: ... here.
4896 * sysdeps/sh/elf/start.S: Moved to ...
4897 * sysdeps/sh/start.S: ... here.
4898 * sysdeps/sh/elf/configure: Delete file.
4899
4900 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4901 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4902 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4903 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4904 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4905 * sysdeps/powerpc/powerpc64/start.S: here.
4906 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4907 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4908 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4909 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4910 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4911
4912 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4913 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4914 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4915 * sysdeps/powerpc/powerpc32/start.S: ... here.
4916 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4917 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4918 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4919
4920 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4921 * sysdeps/powerpc/ifunc-sel.h: ... here.
4922 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4923 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4924
4925 * sysdeps/sparc/elf/configure.in: Moved to ...
4926 * sysdeps/sparc/configure.in: ... here.
4927 * sysdeps/sparc/elf/configure: Delete file.
4928 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4929 * sysdeps/sparc/sparc32/start.S: ... here.
4930 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4931 * sysdeps/sparc/sparc64/start.S: ... here.
4932 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4933 * sysdeps/sparc/sparc32/Makefile: ... this.
4934 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4935 * sysdeps/sparc/sparc64/Makefile: ... this.
4936
4937 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4938 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4939 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4940 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4941 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4942 * sysdeps/s390/s390-32/setjmp.S: ... here.
4943 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4944 * sysdeps/s390/s390-32/configure.in: ... here.
4945 * sysdeps/s390/s390-32/elf/configure: Delete file.
4946 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4947 * sysdeps/s390/s390-32/start.S: ... here.
4948
4949 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4950 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4951 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4952 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4953 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4954 * sysdeps/s390/s390-64/setjmp.S: ... here.
4955 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4956 * sysdeps/s390/s390-64/configure.in: ... here
4957 * sysdeps/s390/s390-64/elf/configure: Delete file.
4958 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4959 * sysdeps/s390/s390-64/start.S: ... here.
4960 * sysdeps/s390/s390-64/elf/configure: Delete.
4961
4962 * configure.in: Remove support for elf directories in sysdeps.
4963
4964 * configure: Regenerated.
4965 * sysdeps/i386/configure: Regenerated.
4966 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4967 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4968 * sysdeps/s390/s390-32/configure: Regenerated.
4969 * sysdeps/s390/s390-64/configure: Regenerated.
4970 * sysdeps/sh/configure: Regenerated.
4971 * sysdeps/sparc/configure: Regenerated.
4972 * sysdeps/x86_64/configure: Regenerated.
4973
a3f61311
AS
49742012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4975
c876e002
AS
4976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4977
a3f61311
AS
4978 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4979 denormal result into account.
4980
ac4c54f0
RM
49812012-03-25 Roland McGrath <roland@hack.frob.com>
4982
4983 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4984 Reported by Allan McRae <allan@archlinux.org>.
4985
6a9b9c02
JL
49862012-03-23 Jeff Law <law@redhat.com>
4987
4988 * nss/getnssent.c (__nss_getent): Fix typo.
4989
4c42a0c1
DM
49902012-03-23 David S. Miller <davem@davemloft.net>
4991
4992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4993
1532c7ac
L
49942012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4995
4996 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4997 to pad to uint64_t for each field.
4998 (dl_tls_index): Replace unsigned long with uint64_t.
4999
3ff42526
PP
50002012-03-23 Daniel Jacobowitz <dmj@google.com>
5001 Paul Pluzhnikov <ppluzhnikov@google.com>
5002
5003 [BZ #6528]
5004 * grp/Makefile (otherlibs): Don't set it.
5005 * inet/Makefile (otherlibs): Likewise.
5006 * login/Makefile (otherlibs): Likewise.
5007 * nscd/Makefile (otherlibs): Likewise.
5008 * posix/Makefile (otherlibs): Likewise.
5009 * pwd/Makefile (otherlibs): Likewise.
5010 * rt/Makefile (otherlibs): Likewise.
5011 * sunrpc/Makefile (otherlibs): Likewise.
5012 * nss/Makefile (otherlibs): Likewise.
5013 Add libnss_files to routines and static-only-routines.
5014 ($(objpfx)getent): Remove rule.
5015 * resolv/Makefile: Add libnss_dns and libresolv to routines and
5016 static-only-routines.
5017
7c69cd14
JM
50182012-03-22 Joseph Myers <joseph@codesourcery.com>
5019
5020 [BZ #13892]
5021 * math/s_cexp.c: Include <float.h>.
5022 (__cexp): Handle exp result overflowing not necessarily
5023 overflowing both real and imaginary parts of result.
5024 * math/s_cexpf.c: Likewise.
5025 * math/s_cexpl.c: Likewise.
5026 * math/libm-test.inc (cexp_test): Add more tests.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029
81b035fe
L
50302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5031
5032 * include/link.h (ELFW): New macro.
5033 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
5034 Replace ELF64_R_TYPE with ELFW(R_TYPE).
5035
1da7940c
L
50362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5037
5038 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5039 with uint64_t.
5040
b749dbb9
L
50412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5044 declaration.
5045 (struct La_x32_retval): Likewise.
5046
2ff87f3f
L
50472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5048
5049 * sysdeps/x86_64/preconfigure.in: New file.
5050 * sysdeps/x86_64/preconfigure: New generated file.
5051
c0df8e69
JM
50522012-03-22 Joseph Myers <joseph@codesourcery.com>
5053
48e44791
JM
5054 [BZ #13824]
5055 * math/e_exp2l.c: Include <float.h>.
5056 (__ieee754_exp2l): Handle overflow and underflow cases
5057 separately. Only pass fractional part of argument to
5058 __ieee754_expl.
5059 * math/libm-test.inc (exp2_test): Add more tests.
5060
c0df8e69
JM
5061 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5062 negating x to take absolute value.
5063 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5064 Likewise.
5065 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5066 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5067 Likewise.
5068 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5069 computing low part if x was negated.
5070 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5071
c8e43ba7
L
50722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5073
5074 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5075 la_x32_gnu_pltexit.
5076 (pltexit): Cast int_retval to ptrdiff_t.
5077 * elf/tst-auditmod3b.c: Likewise.
5078 * elf/tst-auditmod4b.c: Likewise.
5079 * elf/tst-auditmod5b.c: Likewise.
5080 * elf/tst-auditmod6b.c: Likewise.
5081 * elf/tst-auditmod6c.c: Likewise.
5082 * elf/tst-auditmod7b.c: Likewise.
5083
5084 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5085 and x32_gnu_pltexit.
5086
5087 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5088 __ELF_NATIVE_CLASS.
5089 (La_x32_regs): New macro.
5090 (La_x32_retval): Likewise.
5091 (la_x32_gnu_pltenter): New function prototype.
5092 (la_x32_gnu_pltexit): Likewise.
5093
7998fa78
AS
50942012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5095
dcb33988
AS
5096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5097 exponent.
5098
233fc563
AS
5099 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5100
7998fa78
AS
5101 * configure.in (libc_cv_cc_nofma): Check for option to disable
5102 generation of FMA instructions.
5103 * configure: Regenerate.
5104 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5105 * sysdeps/ieee754/dbl-64/Makefile: New file.
5106 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5107 Remove brandred-fma4.
5108 (CFLAGS-brandred-fma4.c): Remove.
5109 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5110 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5111 define.
5112 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5113 define.
5114
8e95c99a
L
51152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5116
5117 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5118 LLONG_MAX != LONG_MAX.
5119 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5120 (_fitoa_word): Likewise.
5121 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5122 LLONG_MAX != LONG_MAX.
5123 * stdio-common/_itowa.h: Include <_itoa.h>.
5124 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5125 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5126 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5127 only if not defined.
5128 (_ITOA_WORD_TYPE): Likewise.
5129 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5130 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5131
6f4db457
DM
51322012-03-21 David S. Miller <davem@davemloft.net>
5133
5134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5135
7785fe5a
L
51362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5137
5138 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5139 of x86_64 when setting libc_cv_slibdir, libdir and
5140 libc_cv_localedir.
5141 * sysdeps/unix/sysv/linux/configure: Regenerated.
5142
4535cd55
JM
51432012-03-21 Joseph Myers <joseph@codesourcery.com>
5144
5145 * manual/lang.texi (Old Varargs): Remove section.
5146 (How Variadic): Update menu.
5147 (va_start): Do not mention varargs.h.
5148
17228132
TS
51492012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5150 Joseph Myers <joseph@codesourcery.com>
5151
5152 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5153 link test.
5154 * configure: Regenerated.
5155
8149f976
TS
51562012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5157
05f3d1f6
UD
5158 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5159 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5160 conformtest.pl
8149f976 5161
1a4ac776
JM
51622012-03-21 Joseph Myers <joseph@codesourcery.com>
5163
be22ce65
JM
5164 * NOTES: Remove.
5165 * Makefile (files-for-dist): Remove NOTES.
5166 (NOTES): Remove rule.
5167 * README: Don't refer to NOTES.
5168 * manual/creature.texi: Don't include macros.texi.
5169 * manual/intro.texi (creature.texi): Remove comment referring to
5170 NOTES.
5171
40b601fb
JM
5172 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5173 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5174 * configure: Regenerated.
5175 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5176 LIBC_TRY_CC_OPTION.
5177 (libc_cv_as_i686): Likewise.
5178 (libc_cv_cc_avx): Likewise.
5179 (libc_cv_cc_sse2avx): Likewise.
5180 (libc_cv_cc_fma4): Likewise.
5181 (libc_cv_cc_novzeroupper): Likewise.
5182 * sysdeps/i386/configure: Regenerated.
5183
1a4ac776
JM
5184 [BZ #13883]
5185 * sysdeps/i386/fpu/s_cexp.S: Remove.
5186 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5187 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5188 * math/libm-test.inc (cexp_test): Add more tests.
5189 * sysdeps/i386/fpu/libm-test-ulps: Update.
5190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5191
a458e7fe
AM
51922012-03-21 Allan McRae <allan@archlinux.org>
5193
5194 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5195
0cb7efc5
JM
51962012-03-21 Joseph Myers <joseph@codesourcery.com>
5197
5198 [BZ #13871]
5199 * math/w_exp2.c: Do not include <float.h>.
5200 (o_threshold, u_threshold): Remove.
5201 (__exp2): Calculate result before checking finiteness and calling
5202 __kernel_standard.
5203 * math/w_exp2f.c: Likewise.
5204 * math/w_exp2l.c: Likewise.
5205 * math/libm-test.inc (exp2_test): Require overflow exception for
5206 1e6 input.
2460d3aa
JM
5207
5208 [BZ #3866]
5209 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5210 range of signed 64-bit integers before using fistpll. Remove
5211 checks for whether integers fit in mantissa bits.
5212 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5213 the range of signed 32-bit integers before using fistpl. Remove
5214 checks for whether integers fit in mantissa bits.
5215 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5216 (__ieee754_powl): Test for y outside the range of signed 64-bit
5217 integers before using fistpll. Reduce 64-bit values to 63-bit
5218 ones as needed.
5219 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5220 divide-by-zero is raised for zero to large negative powers.
5221 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5222 (__ieee754_powl): Test for y outside the range of signed 64-bit
5223 integers before using fistpll. Reduce 64-bit values to 63-bit
5224 ones as needed.
5225 * math/libm-test.inc (pow_test): Add more tests.
5226
eb96ffb0
L
52272012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5228
5229 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5230 <stdio-common/_itoa.h>.
5231 * debug/segfault.c: Likewise.
5232 * elf/dl-cache.c: Likewise.
5233 * elf/dl-minimal.c: Likewise.
5234 * elf/dl-misc.c: Likewise.
5235 * elf/dl-sysdep.c: Likewise.
5236 * elf/dl-version.c: Likewise.
5237 * elf/rtld.c: Likewise.
5238 * hurd/hurdsock.c: Likewise.
5239 * hurd/lookup-retry.c: Likewise.
5240 * malloc/malloc.c: Likewise.
5241 * malloc/mtrace.c: Likewise.
5242 * nscd/nscd_getgr_r.c: Likewise.
5243 * nscd/nscd_getpw_r.c: Likewise.
5244 * nscd/nscd_getserv_r.c: Likewise.
5245 * posix/getopt_init.c: Likewise.
5246 * posix/wordexp.c: Likewise.
5247 * stdio-common/_itoa.c: Likewise.
5248 * stdio-common/printf_fphex.c: Likewise.
5249 * stdio-common/vfprintf.c: Likewise.
5250 * string/_strerror.c: Likewise.
5251 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5252 * sysdeps/i386/i686/hp-timing.h: Likewise.
5253 * sysdeps/mach/_strerror.c: Likewise.
5254 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5255 * sysdeps/mach/hurd/sethostid.c: Likewise.
5256 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5257 * sysdeps/mach/xpg-strerror.c: Likewise.
5258 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5259 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5260 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5261 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5262 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5263 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5264 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5265 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5266 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5267 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5268 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5269 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5270 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5271 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5272 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5273 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5274 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5275 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5276 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5277 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5278 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5279
5280 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5281
5282 * stdio-common/_itoa.h: Moved to ...
5283 * sysdeps/generic/_itoa.h: Here.
5284
5285 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5286
5287 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5288 instead of "_itoa.h" and "_itowa.h".
5289 * stdio-common/vfprintf.: Likewise.
5290
d1af992d
L
52912012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5292
5293 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5294 <bits/wordsize.h>.
5295 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5296 (__signbit): Likwise.
5297 (llrintf): Likwise.
5298 (llrint): Likwise.
5299
114883e0
L
53002012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5301
5302 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5303 __WORDSIZE != 64.
5304
c135cc1b
JM
53052012-03-20 Joseph Myers <joseph@codesourcery.com>
5306
5307 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5308 OVERFLOW_EXCEPTION_OK.
5309 * math/libm-test.inc ("Philosophy"): Update comment about
5310 exception testing.
5311 (OVERFLOW_EXCEPTION): Define.
5312 (OVERFLOW_EXCEPTION_OK): Likewise.
5313 (INVALID_EXCEPTION_OK): Renumber.
5314 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5315 (IGNORE_ZERO_INF_SIGN): Likewise.
5316 (test_exceptions): Handle FE_OVERFLOW.
5317 (exp10_test): Expect overflow exceptions.
5318 (exp2_test): Likewise.
5319 (expm1_test): Likewise.
5320 (nextafter_test): Likewise.
5321 (pow_test): Likewise.
5322 (scalbn_test): Likewise.
5323 (scalbln_test): Likewise.
5324
95443d88
L
53252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5326
5327 * sysdeps/x86_64/bits/atomic.h
5328 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5329 64bit integer.
5330 (atomic_exchange_acq): Likewise.
5331 (__arch_exchange_and_add_body): Likewise.
5332 (__arch_add_body): Likewise.
5333 (atomic_add_negative): Likewise.
5334 (atomic_add_zero): Likewise.
5335
490df6c4
L
53362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5337
c2722551 5338 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5339 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5340
5e52b189
L
53412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5342
5343 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5344 Check __x86_64__ instead of __WORDSIZE.
5345
a9879d4c
L
53462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5347
5348 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5349
5df98260
DM
53502012-03-19 David S. Miller <davem@davemloft.net>
5351
e1497744
DM
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5353
5df98260
DM
5354 * sysdeps/sparc/fpu/fenv_private.h: New file.
5355 * sysdeps/sparc/fpu/math_private.h: Use it.
5356 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5357 Remove.
5358 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5359 (libc_feholdexcept_setroundl): Remove.
5360 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5361 Remove.
5362 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5363 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5364
b4c35121
L
53652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5366
5367 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5368 int64_t instead of long int.
5369 (INSERT_WORDS64): Likwise.
5370
56965fd7
L
53712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5372
5373 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5374 _Unwind_GetCFA return to _Unwind_Ptr first.
5375
83d1aec8
JM
53762012-03-19 Joseph Myers <joseph@codesourcery.com>
5377
1897ad44
JM
5378 [BZ #13629]
5379 * math/s_clog.c: Include <float.h>.
5380 (__clog): Scale large or subnormal inputs.
5381 * math/s_clogf.c: Likewise.
5382 * math/s_clogl.c: Likewise.
5383 * math/s_clog10.c: Include <float.h>.
5384 (M_LOG10_2): Define.
5385 (__clog10): Scale large or subnormal inputs.
5386 * math/s_clog10f.c: Likewise.
5387 * math/s_clog10l.c: Likewise.
5388 * math/libm-test.inc (clog_test): Add more tests.
5389 (clog10_test): Likewise.
5390 * sysdeps/i386/fpu/libm-test-ulps: Update.
5391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5392
7726d6a9
JM
5393 [BZ #11451]
5394 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5395 x and y.
5396 * math/libm-test.inc (atan2_test): Add another test.
5397
83d1aec8
JM
5398 * Makerules (common-objdir-compile): Remove.
5399 * sysdeps/unix/Makefile (config-generated): Do not add
5400 $(unix-generated) to variable.
5401 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5402 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5403 Remove rule.
5404 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5405 Likewise.
5406 [generic bits/local_lim.h] (before-compile): Do not append to
5407 variable.
5408 [generic bits/local_lim.h] (common-generated): Likewise.
5409 [generic sys/param.h] (before-compile): Do not append to variable.
5410 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5411 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5413 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5414 include.
5415 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5416 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5417 [generic sys/param.h] ($(addprefix
5418 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5419 [generic sys/param.h] (common-generated): Do not append to
5420 variable.
5421 [generic sys/param.h] (sysdep_headers): Likewise.
5422 [generic bits/errno.h] (before-compile): Do not append to
5423 variable.
5424 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5425 rule.
5426 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5427 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5428 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5429 [generic bits/errno.h] (common-generated): Do not append to
5430 variable.
5431 [generic bits/ioctls.h] (before-compile): Do not append to
5432 variable.
5433 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5434 rule.
5435 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5436 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5437 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5438 rule.
5439 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5440 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5441 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5442 [generic bits/ioctls.h] (common-generated): Do not append to
5443 variable.
5444 [generic sys/syscall.h] (syscall.h): Remove variable.
5445 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5446 rule.
5447 [generic sys/syscall.h] (before-compile): Do not append to
5448 variable.
5449 [generic sys/syscall.h] (common-generated): Likewise.
5450 * sysdeps/unix/errnos-tmpl.c: Remove file.
5451 * sysdeps/unix/errnos.awk: Likewise.
5452 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5453 * sysdeps/unix/ioctls.awk: Likewise.
5454 * sysdeps/unix/mk-local_lim.c: Likewise.
5455 * sysdeps/unix/snarf-ioctls: Likewise.
5456
4851a949
RH
54572012-03-19 Richard Henderson <rth@twiddle.net>
5458
bd37f2ee
RH
5459 * sysdeps/i386/fpu/fenv_private.h: New file.
5460 * sysdeps/i386/fpu/math_private.h: Use it.
5461 (math_opt_barrier, math_force_eval): Remove.
5462 (libc_feholdexcept_setround_53bit): Remove.
5463 (libc_feupdateenv_53bit): Remove.
5464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5465 (math_opt_barrier, math_force_eval): Remove.
5466 (libc_feholdexcept): Remove.
5467 (libc_feholdexcept_setround): Remove.
5468 (libc_fetestexcept, libc_fesetenv): Remove.
5469 (libc_feupdateenv_test): Remove.
5470 (libc_feupdateenv, libc_feholdsetround): Remove.
5471 (libc_feresetround): Remove.
5472
d0adc922
RH
5473 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5474 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5475
0fe0f1f8
RH
5476 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5477 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5478 (libc_feupdateenv_testl): New.
5479 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5480 (libc_feupdateenv_testf): New.
5481 (libc_feupdateenv): Use libc_feupdateenv_test.
5482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5483 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5484
eb92c487
RH
5485 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5486 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5487 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5488 (libc_feresetround_noex): New.
5489 (libc_feresetround_noexf): New.
5490 (libc_feresetround_noexl): New.
5491 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5492 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5493 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5494 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5495 SET_RESTORE_ROUND.
5496 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5497 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5498 (__cos): Likewise.
5499 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5500 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5501 SET_RESTORE_ROUND_NOEX.
5502 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5503 SET_RESTORE_ROUND_NOEXF.
5504 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5505 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5506 (libc_feholdsetroundf): New.
5507 (libc_feresetround, libc_feresetroundf): New.
5508
7d2e8012
RH
5509 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5510 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5511 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5512
b4dabbb4
RH
5513 * sysdeps/generic/math_private.h: Include <fenv.h>.
5514 (default_libc_feholdexcept): New.
5515 (default_libc_feholdexcept_setround): New.
5516 (default_libc_fesetenv, default_libc_feupdateenv): New.
5517 (libc_feholdexcept): Only define if undefined.
5518 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5519 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5520 (libc_feholdexcept_setroundl): Likewise.
5521 (libc_feholdexcept_setround_53bit): Likewise.
5522 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5523 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5524 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5525 (libc_feupdateenv_53bit): Likewise.
5526 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5527 (libc_feholdexcept): Convert from macro to inline function.
5528 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5529 (libc_fesetenv, libc_feupdateenv): Likewise.
5530
4851a949
RH
5531 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5532 not previously defined.
5533 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5534 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5535 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5536 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5537 * sysdeps/ieee754/flt-32/math_private.h: New file.
5538 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5539 math_private.h below SET_FLOAT_WORD.
5540 (__isnan, __isinf_ns, __finite): Remove.
5541 (__isnanf, __isinf_nsf, __finitef): Remove.
5542
e79d442e
AS
55432012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5544
5545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5546
90b80344
DM
55472012-03-17 David S. Miller <davem@davemloft.net>
5548
5549 [BZ #6471]
5550 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5551 for 2.16.
5552
edc21804
DM
55532012-03-16 David S. Miller <davem@davemloft.net>
5554
77e927af
DM
5555 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5556 warnings.
5557
374976dd
DM
5558 [BZ #6471]
5559 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5560 properly.
5561 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5562 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5563 sysdep_routines when subdir is sysvipc.
5564 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5565 __getshmlba helper.
5566
edc21804
DM
5567 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5568
473c3ef3
L
55692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5570
5571 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5572 [__LP64__].
5573
eb0f39b6
L
55742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5575
5576 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5577 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5578 (__lround): Renamed to ...
5579 (__llround): This. Replace long int with long long int.
5580 Define lround functions as aliases of llround functions.
5581 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5582
6b6cd74b
L
55832012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5584
5585 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5586 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5587 adresses to uintptr_t. Replace "long int" and "unsigned long
5588 int" with "greg_t" on va_arg.
5589
f1a77b01
L
55902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5591
5592 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5593 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5594
5595 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5596 Move e_machine check before EI_CLASS check. Handle x32
5597 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5598 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5599 SKIP_EM_IA_64 and include
5600 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5601
5602 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5603 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5604 (add_system_dir): New macro.
5605
5606 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5607 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5608
11b90b9f
JM
56092012-03-16 Joseph Myers <joseph@codesourcery.com>
5610
c36e1d23
JM
5611 [BZ #2551]
5612 [BZ #2552]
5613 [BZ #2553]
5614 [BZ #2554]
5615 [BZ #2562]
5616 [BZ #2563]
5617 [BZ #2565]
5618 [BZ #2566]
5619 [BZ #2576]
5620 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5621 (y0): Likewise.
5622 * math/w_j0f.c (j0f): Likewise.
5623 (y0f): Likewise.
5624 * math/w_j0l.c (__j0l): Likewise.
5625 (__y0l): Likewise.
5626 * math/w_j1.c (j1): Likewise.
5627 (y1): Likewise.
5628 * math/w_j1f.c (j1f): Likewise.
5629 (y1f): Likewise.
5630 * math/w_j1l.c (__j1l): Likewise.
5631 (__y1l): Likewise.
5632 * math/w_jn.c (jn): Likewise.
5633 (yn): Likewise.
5634 * math/w_jnf.c (jnf): Likewise.
5635 (ynf): Likewise.
5636 * math/w_jnl.c (__jnl): Likewise.
5637 (__ynl): Likewise.
5638 * math/libm-test.inc (j0_test): Add more tests.
5639 (j1_test): Likewise.
5640 (jn_test): Likewise. Add trailing semicolon to existing test.
5641 (y0_test): Likewise.
5642 (y1_test): Likewise.
5643 * sysdeps/i386/fpu/libm-test-ulps: Update.
5644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5645
11b90b9f
JM
5646 [BZ #13851]
5647 [BZ #13854]
5648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5649 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5650 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5651 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5652 (__tanl): Set errno for infinite argument.
5653 * sysdeps/i386/fpu/mptan.c: Remove.
5654 * sysdeps/i386/fpu/s_tan.S: Likewise.
5655 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5656 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5657 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5658 * math/libm-test.inc (tan_test): Add more tests and enable more
5659 tests for double and long double.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662
6a1bd2a1
JK
56632012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5664
5665 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5666 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5667
10a803e0
RM
56682012-03-16 Roland McGrath <roland@hack.frob.com>
5669
5670 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5671 * configure.in: Use it for both main tree and add-ons.
5672 * configure: Regenerated.
5673
f196c7f7
L
56742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5675
5676 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5677
8848d99d
JM
56782012-03-16 Joseph Myers <joseph@codesourcery.com>
5679
96cbe7f4
JM
5680 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5681 in comment.
5682
8848d99d
JM
5683 [BZ #13851]
5684 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5685 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5689 infinite argument.
5690 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5691 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5692 != 0 for prec == 2.
5693 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5694 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5695 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5696 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5697 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5698 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5699 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5700 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5701 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5702 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5703 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5704 * math/libm-test.inc (cos_test): Add more tests and enable more
5705 tests for long double.
5706 (sin_test): Likewise.
5707 (sincos_test): Likewise.
5708 * sysdeps/i386/fpu/libm-test-ulps: Update.
5709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5710
dd7f4703
DM
57112012-03-16 David S. Miller <davem@davemloft.net>
5712
5713 * sysdeps/sparc/fpu/math_private.h: New file.
5714
006f1daa
DM
57152012-03-15 David S. Miller <davem@davemloft.net>
5716
c0c83bc8
DM
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5718 file.
e6a62e18 5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5721 file.
e6a62e18
DM
5722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5728 sysdep routines.
5729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5730
88cb87d9
DM
5731 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5732 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5733
006f1daa 5734 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5736 sparc-ifunc.h
006f1daa 5737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5739 Likewise.
5740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5741 Likewise.
006f1daa
DM
5742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5746 Likewise.
006f1daa
DM
5747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5752 Likewise.
5753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5754 Likewise.
006f1daa
DM
5755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5762 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5764 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5768 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5772 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5779
11e0098e
AS
57802012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5781
5782 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5783 scaling.
5784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5785
e85b09d0
AJ
57862012-03-15 Andreas Jaeger <aj@suse.de>
5787
5788 [BZ #13852]
5789 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5790 ieee754/flt-32 implementation for sin, cos and sincos.
5791 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5792 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5793 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5794 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5795 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5796 ieee754/flt-32 implementation for tan.
5797
5798 * math/libm-test.inc (cos_test): Enable some large input tests for
5799 float as well
5800 (sin_test): Likewise.
5801 (sincos_test): Likewise.
5802 (tan_test): Add tests for large input.
5803
5804 * sysdeps/i386/fpu/libm-test-ulps: Update.
5805
81c64153
AJ
58062012-03-15 Andreas Jaeger <aj@suse.de>
5807
5808 [BZ #13658]
5809 * math/libm-test.inc (cos_test): Add more test cases.
5810 (sin_test): Likewise.
5811 (sincos_test): Likewise.
5812
7bbfa5c6
AJ
58132012-03-15 Andreas Jaeger <aj@suse.de>
5814
5815 [BZ #13837]
5816 * math/libm-test.inc (cos_test): Add a test case for large input
5817 value.
5818 (sin_test): Likewise.
5819 (sincos_test): Likewise.
5820
58212012-03-15 Andreas Jaeger <aj@suse.de>,
5822 Joseph Myers <joseph@codesourcery.com>
5823
5824 [BZ #13658]
0671f479 5825 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5826 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5827 * sysdeps/i386/fpu/branred.c: Likewise.
5828 * sysdeps/i386/fpu/dosincos.c: Likewise.
5829 * sysdeps/i386/fpu/mpa.c: Likewise.
5830 * sysdeps/i386/fpu/s_cos.S: Likewise.
5831 * sysdeps/i386/fpu/s_sin.S: Likewise.
5832 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5833 * sysdeps/i386/fpu/sincos32.c: Likewise.
5834
5835 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5836 Define.
5837 (libc_feupdateenv_53bit): Define.
5838 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5839 Define.
5840 (libc_feupdateenv_53bit): Define.
5841
5842 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5843 53 bit (without extend i386 double precision).
5844
5845 * math/libm-test.inc (sincos_test): Add tests for large input.
5846 (sin): Likewise.
5847 (cos): Likewise.
5848
5849 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5850
9cad04ea
AS
58512012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5852
5853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5854
f7062b9a
DM
58552012-03-15 David S. Miller <davem@davemloft.net>
5856
5857 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5873 file.
f7062b9a 5874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5876 file.
f7062b9a 5877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5879 file.
f7062b9a 5880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5882 file.
f7062b9a
DM
5883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5885 fmin/fmax sysdep routines.
5886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5887
7bd951ff
DM
58882012-03-14 David S. Miller <davem@davemloft.net>
5889
559398ab
DM
5890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5893 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5897 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5901 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5909 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5913 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5917 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5918 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5919 routines.
5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5921 file.
559398ab 5922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5924 file.
559398ab 5925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5927 file.
559398ab 5928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5930 file.
559398ab 5931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5933 file.
559398ab 5934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5936 file.
5937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5938 file.
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5940 file.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5942 file.
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5944 New file.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5946 file.
5947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5948 file.
559398ab 5949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5951 file.
559398ab 5952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5954 file.
559398ab 5955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5957 file.
559398ab 5958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5960 VIS3 routines.
559398ab
DM
5961
5962 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5963 New file.
5964
5a1c1e32
DM
5965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5966
eae47a36
DM
5967 * sysdeps/sparc/configure.in: New file.
5968 * sysdeps/sparc/configure: Generate.
5969 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5970 * configure: Regenerate.
5971 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5972 * config.make.in (have-as-vis3): New.
5973 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5974 available use -Av9d instead of -Av9a.
5975 * sysdeps/sparc/sparc64/Makefile: Likewise.
5976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5978 New file.
5979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5980 file.
5981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5982 New file.
5983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5984 file.
eae47a36
DM
5985 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5989 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5990
c0c83bc8
DM
5991 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5992 fzeros/fnegs to load 0x80000000 into a float register instead of
5993 using the stack.
7bd951ff
DM
5994 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5995
bd951ccb
JM
59962012-03-14 Joseph Myers <joseph@codesourcery.com>
5997
5998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5999 bits/syscall.h.
6000 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
6001 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
6002 ($(inst_includedir)/bits/syscall.h): Remove rule.
6003 ($(objpfx)bits/syscall.d): Include instead of
6004 $(objpfx)syscall-list.d.
6005 (generated): Change syscall-list.h and syscall-list.d to
6006 bits/syscall.h and bits/syscall.d.
6007
bb4e6db2
RM
60082012-03-14 Roland McGrath <roland@hack.frob.com>
6009
6010 [BZ #13846]
6011 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
6012
aa4a2ae1
JM
60132012-03-14 Joseph Myers <joseph@codesourcery.com>
6014
e456826d
JM
6015 [BZ #13841]
6016 * math/s_csqrt.c: Include <float.h>.
6017 (__csqrt): Scale large or subnormal inputs.
6018 * math/s_csqrtf.c: Likewise.
6019 * math/s_csqrtl.c: Likewise.
6020 * math/libm-test.inc (csqrt_test): Add more tests.
6021 * sysdeps/i386/fpu/libm-test-ulps: Update.
6022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6023
aa4a2ae1
JM
6024 [BZ #13840]
6025 * math/libm-test.inc (hypot_test): Add more tests.
6026
7c10fd35
DM
60272012-03-13 David S. Miller <davem@davemloft.net>
6028
6029 [BZ #13840]
6030 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
6031 double-precision for the calculation instead of scaling.
6032
f453b98b
JM
60332012-03-13 Joseph Myers <joseph@codesourcery.com>
6034
6035 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
6036 manipulate bits before adding and subtracting TWO52[sx].
6037 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6038 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6039 Likewise.
6040 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6041
09a3453f
DM
60422012-03-13 David S. Miller <davem@davemloft.net>
6043
8e59da90
DM
6044 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6045 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6046 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6047 rtld-global-offsets.h
6048 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6049
2a8ab7f2
DM
6050 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6051 large parameters.
6052
10f62770
DM
6053 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6054
5f0bdb18
DM
6055 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6056 'err' in the ifdef scope in which it is actually used.
6057
09a3453f
DM
6058 * nss/nss_db/db-init.c: Include string.h
6059
b4b2eb5e
DM
60602012-03-12 David S. Miller <davem@davemloft.net>
6061
98bb2f1c
DM
6062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6063 masking out of the most significant byte of random value used.
6064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6065 Fix coding style in previous change.
6066
b4b2eb5e
DM
6067 * sysdeps/unix/sysv/linux/kernel-features.h
6068 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6069 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6070 expression.
6071 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6072 later.
6073
6e226b09
DM
60742012-03-11 David S. Miller <davem@davemloft.net>
6075
a1bcbd40
DM
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6077 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6078 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6079 for 'resultvar' otherwise things get truncated on 64-bit.
6080
cb9d6174
DM
6081 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6082 Fix masking out of the most significant byte of random value used.
6083
6e226b09
DM
6084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6085
058c132d
AS
60862012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6087
6088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6089
2d2cd515
DM
60902012-03-09 David S. Miller <davem@davemloft.net>
6091
6092 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6093 variables with appropriate CPP guards.
6094 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6095 frame pointer, not the stack pointer. Correct layout comments. Fix test
6096 on resulting framesize and the management of the outregs buffer for pltexit.
6097 Preserve floating point return values across _dl_call_pltexit call.
6098 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6099 framesize and the management of the outregs buffer for pltexit.
6100 Preserve floating point return values across _dl_call_pltexit
6101 call.
6102 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6103 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6104 (print_exit): Fix format string for return register value.
6105
9a07f9d0
JM
61062012-03-10 Joseph Myers <joseph@codesourcery.com>
6107
6108 * sunrpc/Makefile (others): Add rpcgen.
6109 ($(objpfx)rpcgen): Remove special build rule and dependency on
6110 libc.
6111 * sunrpc/rpcgen.c: New file.
6112
547b5e30
PE
61132012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6114
c524201a
PE
6115 [BZ #13673]
6116 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6117 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6118 * sysdeps/i386/crti.S: Likewise.
6119 * sysdeps/i386/crtn.S: Likewise.
6120 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6121 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6122 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6123 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6124 * sysdeps/sh/crti.S: Likewise.
6125 * sysdeps/sh/crtn.S: Likewise.
6126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6127
7b6235f2
PE
6128 [BZ #13673]
6129 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6130 with URL.
6131 * locale/programs/locfile-kw.gperf: Likewise.
6132 * locale/programs/charmap-kw.h: Regenerated.
6133 * locale/programs/locfile-kw.h: Likewise.
6134
547b5e30
PE
6135 [BZ #13673]
6136 * intl/plural.y: Replace FSF snail mail address with URL.
6137 * intl/plural.c: Regenerated.
6138
5f0a5dae
RH
61392012-03-09 Richard Henderson <rth@twiddle.net>
6140
6141 * include/math_private.h: Remove file.
6142 * math/math_private.h: Move file ...
6143 * sysdeps/generic/math_private.h: ... here.
6144
b8c03620
RH
6145 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6146 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6147 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6148
4e234f5d 6149 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6150 and <math_private.h>.
6151 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6152 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6153 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6154 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6155 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6201 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6202 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6203 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6204 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6205 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6206 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6207 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6209 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6210 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6211 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6212 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6215 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6216 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6217 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6218 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6219 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6220 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6221 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6222 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6228 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6229 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6230 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6231 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6232 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6233 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6234 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6235 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6237 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6238 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6239 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6240 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6241 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6242 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6243 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6244 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6245 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6246 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6247 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6248 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6249 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6251 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6252 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6253 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6256 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6258 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6259 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6261 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6262 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6263 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6264 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6265 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6266 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6267 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6268 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6269 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6270 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6271 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6272 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6273 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6274 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6275 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6276 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6277 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6278 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6279 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6280 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6281 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6282 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6283 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6284 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6285 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6286 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6287 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6288 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6289 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6290 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6291 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6292 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6293 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6294 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6295 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6296 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6297 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6298 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6299 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6300 * sysdeps/ieee754/k_standard.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6375 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6382 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6383 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6385 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6390 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6394 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6405 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6406 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6420 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6423 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6424 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6425 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6426 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6427 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6428 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6429 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6430 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6431 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6432 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6433 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6434 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6435 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6436 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6437 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6438 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6439 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6440 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6441 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6442 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6443 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6444 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6445 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6446 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6447 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6448 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6449 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6450 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6451 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6452 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6453 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6454 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6455 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6456 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6457 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6458 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6459 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6460 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6461 * sysdeps/ieee754/s_lib_version.c: Likewise.
6462 * sysdeps/ieee754/s_matherr.c: Likewise.
6463 * sysdeps/ieee754/s_signgam.c: Likewise.
6464 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6465 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6466 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6467 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6468 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6469 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6470 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6471 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6472 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6473 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6474 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6475 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6476 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6477 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6478 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6479 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6481 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6482 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6484 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6485
1991fa03
JM
64862012-03-09 Joseph Myers <joseph@codesourcery.com>
6487
6488 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6489 * sunrpc/rpc_main.c: Likewise.
6490 * sunrpc/rpc_svcout.c: Likewise.
6491
60d6f5a6
DM
64922012-03-09 David S. Miller <davem@davemloft.net>
6493
6494 * include/math_private.h: New file.
6495
4962050e
JM
64962012-03-09 Joseph Myers <joseph@codesourcery.com>
6497
02a6f887
JM
6498 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6499 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6500 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6501 from <bits/socket_type.h>.
6502 (enum __socket_type): Don't define here.
6503 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6504 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6505 bits/socket_type.h.
6506
c6e013c1
JM
6507 [BZ #13566]
6508 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6509 checking __USE_GNU.
6510
4962050e
JM
6511 * Makerules ($(inst_includedir)/%.h): New rule.
6512 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6513 (install-others): Remove variable setting.
6514 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6515
38842f45
RH
65162012-03-08 Richard Henderson <rth@twiddle.net>
6517
67bb6da6
RH
6518 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6519 from macro to inline function; merge with the
6520 !__LIBC_INTERNAL_MATH_INLINES version.
6521 (__ieee754_sqrtf): Likewise.
6522
15194b4b
RH
6523 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6524 to inline function.
6525 (__rintf, __floor, __floorf): Likewise.
6526
64e21ede
RH
6527 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6528 macro to inline function.
6529 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6530
38842f45
RH
6531 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6532 not <math/math_private.h>.
6533
c64bf5fe
DM
65342012-03-08 David S. Miller <davem@davemloft.net>
6535
6536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6537 copyright year.
6538 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6539
82d86f28
TS
65402012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6541
6542 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6543 normalization.
6544 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6545 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6546
aea5d727
UD
65472012-03-08 Ulrich Drepper <drepper@gmail.com>
6548
6549 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6550 be defined individually, they must be defined as a block. Define
6551 S for printing a string instead of hidint the different by using a
6552 macro for adding the 'l'.
6553 * stdio-common/tst-fphex-wide.c: Adjust.
6554
70bca0a3
MP
65552012-03-07 Marek Polacek <polacek@redhat.com>
6556
6557 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6558
65b81130
MP
65592012-03-08 Marek Polacek <polacek@redhat.com>
6560
6561 [BZ #13806]
6562 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6563 * stdio-common/tst-fphex.c: Define a few macros to make the
6564 test reusable. Use them.
6565 * stdio-common/tst-fphex-wide.c: New file.
6566
07037eeb
JM
65672012-03-08 Joseph Myers <joseph@codesourcery.com>
6568
a7a93d50
JM
6569 [BZ #6911]
6570 * manual/macros.texi (gnusystems): New macro.
6571 (nongnusystems): Likewise.
6572 (gnulinuxhurdsystems): Likewise.
6573 (gnuhurdsystems): Likewise..
6574 (gnulinuxsystems): Likewise.
6575 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6576 variants of the GNU system, not "GNU system".
6577 * manual/conf.texi: Likewise.
6578 * manual/errno.texi: Likewise. Update example of errno macro
6579 expansion.
6580 * manual/filesys.texi: Likewise.
6581 (getumask): Document as specific to GNU/Hurd.
6582 * manual/install.texi: Likewise. Reword some references to
6583 GNU/Linux.
6584 * manual/intro.texi: Likewise.
6585 * manual/io.texi: Likewise.
6586 (File Name Portability): Detail which constraints are inapplicable
6587 to all GNU systems and which are only inapplicable to GNU/Hurd.
6588 * manual/job.texi: Likewise.
6589 * manual/llio.texi: Likewise.
6590 (O_NOCTTY): Document as present on GNU/Linux.
6591 * manual/maint.texi: Likewise.
6592 * manual/memory.texi: Likewise.
6593 * manual/pattern.texi: Likewise.
6594 * manual/pipe.texi: Likewise.
6595 * manual/process.texi: Likewise.
6596 * manual/resource.texi: Likewise.
6597 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6598 child on GNU/Hurd.
6599 * manual/setjmp.texi: Likewise.
6600 * manual/signal.texi: Likewise.
6601 * manual/startup.texi: Likewise.
6602 * manual/stdio.texi: Likewise.
6603 * manual/terminal.texi: Likewise.
6604 (ONLCR): Document as POSIX.
6605 (OXTABS): Document availability on GNU/Linux as XTABS.
6606 (ONOEOT): Document availability separately from other bits.
6607 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6608 * manual/time.texi: Likewise.
6609 * manual/users.texi: Likewise.
6610 * INSTALL: Regenerated.
6611 * sysdeps/gnu/errlist.c: Regenerated.
6612
07037eeb
JM
6613 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6614 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6615 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6616 puts.
6617 * configure: Regenerated.
6618
d1d3431a
JM
66192012-03-07 Joseph Myers <joseph@codesourcery.com>
6620
af6a1e37
JM
6621 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6622 default includes instead of AC_HEADER_CHECK.
6623 * sysdeps/i386/configure: Regenerated.
6624
d1d3431a
JM
6625 [BZ #10716]
6626 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6627 * math/s_cacoshf.c (__cacoshf): Likewise.
6628 * math/s_cacoshl.c (__cacoshl): Likewise.
6629 * math/s_casinh.c (__casinh): Set signs of result from argument.
6630 * math/s_casinhf.c (__casinhf): Likewise.
6631 * math/s_casinhl.c (__casinhl): Likewise.
6632 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6633 (casinh_test): Add more tests.
6634 * sysdeps/i386/fpu/libm-test-ulps: Update.
6635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6636
482ff4da
UD
66372012-03-07 Ulrich Drepper <drepper@gmail.com>
6638
872fda05
UD
6639 * po/zh_TW.po: Update from translation team.
6640
a4300c7a
UD
6641 * login/Makefile (distribute): Remove variable.
6642 * catgets/Makefile: Likewise.
6643 * mach/Makefile: Likewise.
6644 * malloc/Makefile: Likewise.
6645 * misc/Makefile: Likewise.
6646 * iconv/Makefile: Likewise.
6647 * nscd/Makefile: Likewise.
6648 * hurd/Makefile: Likewise.
6649 * manual/Makefile: Likewise.
6650 * locale/Makefile: Likewise.
6651 * intl/Makefile: Likewise.
6652 * conform/Makefile: Likewise.
6653 * nss/Makefile: Likewise.
6654 * time/Makefile: Likewise.
6655 * soft-fp/Makefile: Likewise.
6656 * dirent/Makefile: Likewise.
6657 * gmon/Makefile: Likewise.
6658 * po/Makefile: Likewise.
6659 * rt/Makefile: Likewise.
6660 * socket/Makefile: Likewise.
6661 * math/Makefile: Likewise.
6662 * signal/Makefile: Likewise.
6663 * debug/Makefile: Likewise.
6664 * elf/Makefile: Likewise.
6665 * timezone/Makefile: Likewise.
6666 * stdlib/Makefile: Likewise.
6667 * iconvdata/Makefile: Likewise.
6668 * sunrpc/Makefile: Likewise.
6669 * io/Makefile: Likewise.
6670 * argp/Makefile: Likewise.
6671 * inet/Makefile: Likewise.
6672 * hesiod/Makefile: Likewise.
6673 * grp/Makefile: Likewise.
6674 * csu/Makefile: Likewise.
6675 * wctype/Makefile: Likewise.
6676 * crypt/Makefile: Likewise.
6677 * libio/Makefile: Likewise.
6678 * string/Makefile: Likewise.
6679 * nis/Makefile: Likewise.
6680 * resolv/Makefile: Likewise.
6681 * stdio-common/Makefile: Likewise.
6682 * wcsmbs/Makefile: Likewise.
6683 * dlfcn/Makefile: Likewise.
6684 * posix/Makefile: Likewise.
6685
3b7c4e74 6686 [BZ #6959]
482ff4da
UD
6687 * timezone/Makefile: Don't install timezone files, just the programs
6688 and scripts.
6689
f72ed77d
UD
66902012-03-06 Ulrich Drepper <drepper@gmail.com>
6691
a000466f
UD
6692 * nss/databases.def: Add missing gshadow entry.
6693
f72ed77d
UD
6694 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6695
a53b7a4e
MP
66962012-03-06 Marek Polacek <polacek@redhat.com>
6697
6698 [BZ #13726]
6699 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6700 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6701 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6702 * stdio-common/tst-long-dbl-fphex.c: New file.
6703
e9258400
DM
67042012-03-06 David S. Miller <davem@davemloft.net>
6705
6706 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6707 (set_obp_int): New function.
6708 (get_obp_int): New function.
6709 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6711 Avoid unused variable warnings on 'val' and use builtin_expect.
6712 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6713 __builtin_expect.
e9258400
DM
6714 (INLINE_CLONE_SYSCALL): Likewise.
6715
3bd2c723
DM
67162012-03-05 David S. Miller <davem@davemloft.net>
6717
6718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6719
bbb78d03
AS
67202012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6721
884c5db4
AS
6722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6723
bbb78d03
AS
6724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6725 only for |x| >= 40.
6726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6727
1c9f702a 67282012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6729
6730 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6731 Replace gettimeofday with __vdso_gettimeofday.
6732
7be16f82
RM
6733 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6734 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6735 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6736
6737 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6738 time with __vdso_time.
6739
ed58a00f
JM
67402012-03-05 Joseph Myers <joseph@codesourcery.com>
6741
6742 * manual/lang.texi (size_t): Note types to which size_t may be
6743 equivalent with the GNU C Library, but do not describe when
6744 differences between them are significant.
6745
30ee4ced
AJ
67462012-03-05 Andreas Jaeger <aj@suse.de>
6747
6748 * sysdeps/i386/fpu/libm-test-ulps: Update.
6749
b7cd39e8
JM
67502012-03-05 Joseph Myers <joseph@codesourcery.com>
6751
6752 [BZ #3976]
6753 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6754 (__ieee754_pow): Save and restore rounding mode and use
6755 round-to-nearest for main computations.
6756 * math/libm-test.inc (pow_test_tonearest): New function.
6757 (pow_test_towardzero): Likewise.
6758 (pow_test_downward): Likewise.
6759 (pow_test_upward): Likewise.
6760 (main): Call the new functions.
6761 * sysdeps/i386/fpu/libm-test-ulps: Update.
6762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6763
6764 [BZ #3976]
6765 * math/libm-test.inc (cosh_test_tonearest): New function.
6766 (cosh_test_towardzero): Likewise.
6767 (cosh_test_downward): Likewise.
6768 (cosh_test_upward): Likewise.
6769 (sinh_test_tonearest): Likewise.
6770 (sinh_test_towardzero): Likewise.
6771 (sinh_test_downward): Likewise.
6772 (sinh_test_upward): Likewise.
6773 (main): Call the new functions.
6774 * sysdeps/i386/fpu/libm-test-ulps: Update.
6775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6776
6c6a98c9
TV
67772012-03-05 Tom de Vries <tom@codesourcery.com>
6778
6779 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6780 default stack guard is set in last bytes.
6781 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6782
21bb2d2e 67832012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6784
21bb2d2e 6785 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6786
21bb2d2e
AJ
6787 [BZ #13656]
6788 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6789 possibly allocate from heap instead of stack.
6790 * stdio-common/bug-vfprintf-nargs.c: New file.
6791 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6792
c6922934
AS
67932012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6794
6795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6796
bc957d53
MP
67972012-03-03 Marek Polacek <polacek@redhat.com>
6798
6799 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6800 * math/math_private.h: Likewise.
6801 * stdlib/tst-strtod.c: Likewise.
6802 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6803 * sysdeps/x86_64/bits/atomic.h: Likewise.
6804
6358490d
DM
68052012-03-02 David S. Miller <davem@davemloft.net>
6806
6807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6811 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6812 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6813 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6814 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6815
01ae168d
RM
68162012-03-02 Roland McGrath <roland@hack.frob.com>
6817
d9a17c07
RM
6818 [BZ #13792]
6819 * manual/examples/README: New file, says the example source files
6820 can be used under GPL>=2.
6821 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6822 line containing just "*/".
6823 * manual/examples/add.c: Add copyright header (GPL>=2).
6824 * manual/examples/argp-ex1.c: Likewise.
6825 * manual/examples/argp-ex2.c: Likewise.
6826 * manual/examples/argp-ex3.c: Likewise.
6827 * manual/examples/argp-ex4.c: Likewise.
6828 * manual/examples/atexit.c: Likewise.
6829 * manual/examples/db.c: Likewise.
6830 * manual/examples/dir.c: Likewise.
6831 * manual/examples/dir2.c: Likewise.
6832 * manual/examples/execinfo.c: Likewise.
6833 * manual/examples/filecli.c: Likewise.
6834 * manual/examples/filesrv.c: Likewise.
6835 * manual/examples/fmtmsgexpl.c: Likewise.
6836 * manual/examples/genpass.c: Likewise.
6837 * manual/examples/inetcli.c: Likewise.
6838 * manual/examples/inetsrv.c: Likewise.
6839 * manual/examples/isockad.c: Likewise.
6840 * manual/examples/longopt.c: Likewise.
6841 * manual/examples/memopen.c: Likewise.
6842 * manual/examples/memstrm.c: Likewise.
6843 * manual/examples/mkfsock.c: Likewise.
6844 * manual/examples/mkisock.c: Likewise.
6845 * manual/examples/mygetpass.c: Likewise.
6846 * manual/examples/pipe.c: Likewise.
6847 * manual/examples/popen.c: Likewise.
6848 * manual/examples/rprintf.c: Likewise.
6849 * manual/examples/search.c: Likewise.
6850 * manual/examples/select.c: Likewise.
6851 * manual/examples/setjmp.c: Likewise.
6852 * manual/examples/sigh1.c: Likewise.
6853 * manual/examples/sigusr.c: Likewise.
6854 * manual/examples/stpcpy.c: Likewise.
6855 * manual/examples/strdupa.c: Likewise.
6856 * manual/examples/strftim.c: Likewise.
6857 * manual/examples/strncat.c: Likewise.
6858 * manual/examples/subopt.c: Likewise.
6859 * manual/examples/swapcontext.c: Likewise.
6860 * manual/examples/termios.c: Likewise.
6861 * manual/examples/testopt.c: Likewise.
6862 * manual/examples/testpass.c: Likewise.
6863 * manual/examples/timeval_subtract.c: Likewise.
6864
01ae168d
RM
6865 [BZ #13792]
6866 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6867 function to ...
6868 * manual/timeval_subtract.c.texi: ... here, new file.
6869
49efa33d
DM
68702012-03-02 David S. Miller <davem@davemloft.net>
6871
6872 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6873
28afd92d
JM
68742012-03-02 Joseph Myers <joseph@codesourcery.com>
6875
804360ed
JM
6876 [BZ #3976]
6877 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6878 (__sin): Save and restore rounding mode and use round-to-nearest
6879 for all computations.
6880 (__cos): Save and restore rounding mode and use round-to-nearest
6881 for all computations.
6882 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6883 <fenv.h>.
6884 (tan): Save and restore rounding mode and use round-to-nearest for
6885 all computations.
6886 * math/libm-test.inc (cos_test_tonearest): New function.
6887 (cos_test_towardzero): Likewise.
6888 (cos_test_downward): Likewise.
6889 (cos_test_upward): Likewise.
6890 (sin_test_tonearest): Likewise.
6891 (sin_test_towardzero): Likewise.
6892 (sin_test_downward): Likewise.
6893 (sin_test_upward): Likewise.
6894 (tan_test_tonearest): Likewise.
6895 (tan_test_towardzero): Likewise.
6896 (tan_test_downward): Likewise.
6897 (tan_test_upward): Likewise.
6898 (main): Call the new functions.
6899 * sysdeps/i386/fpu/libm-test-ulps: Update.
6900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6901
a6d06d7b
JM
6902 [BZ #10135]
6903 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6904 small n, then large n, before computing and testing k+n.
6905 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6907 Likewise.
6908 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6909 Likewise.
6910 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6911 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6912 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6913 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6914 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6915 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6917 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6918 * math/libm-test.inc (scalbn_test): Add more tests.
6919 (scalbln_test): Likewise.
6920
07e12bb3
JM
6921 * manual/filesys.texi (mode_t): Describe constraints on size and
6922 signedness, not exact equivalence to a particular type.
6923 (ino_t): Likewise.
6924 (ino64_t): Likewise.
6925 (dev_t): Likewise.
6926 (nlink_t): Likewise.
6927 (blkcnt_t): Likewise.
6928 (blkcnt64_t): Likewise.
6929 * manual/llio.texi (off_t): Likewise.
6930
28afd92d
JM
6931 [BZ #3976]
6932 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6933 (__ieee754_exp): Save and restore rounding mode and use
6934 round-to-nearest for all computations.
6935 * math/libm-test.inc (exp_test_tonearest): New function.
6936 (exp_test_towardzero): Likewise.
6937 (exp_test_downward): Likewise.
6938 (exp_test_upward): Likewise.
6939 (main): Call the new functions.
6940 * sysdeps/i386/fpu/libm-test-ulps: Update.
6941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6942
b1eeb65d
CD
69432012-03-01 Chris Demetriou <cgd@google.com>
6944
6945 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6946 have predictable order.
6947
53362a4b
DM
69482012-03-01 David S. Miller <davem@davemloft.net>
6949
3c969083
DM
6950 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6951
759707de
DM
6952 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6953 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6954 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6955 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6956
dfdb8ff2
DM
6957 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6958 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6959 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6961 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6962 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6963 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6964 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6965 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6966
ead89f96
DM
6967 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6968
7f66bd07
DM
6969 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6970 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6972
53362a4b
DM
6973 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6974 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6975 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6976 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6977 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6979 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6981 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6982 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6983 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6989 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6990 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6991 * sysdeps/sparc/elf/configure: Regenerated.
6992
7b1902cb
JM
69932012-03-01 Joseph Myers <joseph@codesourcery.com>
6994
bec039bc
JM
6995 * configure.in (AS, LD): Require binutils 2.20 or later.
6996 * configure: Regenerated.
6997 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6998 as required minimum version.
6999 * INSTALL: Regenerated.
7000
7b1902cb
JM
7001 [BZ #2541]
7002 [BZ #4108]
7003 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
7004 before squaring exponent.
7005 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
7006 bottom long double and 27 bits of top long double before squaring
7007 exponent.
7008 * math/libm-test.inc (erfc_test): Add more tests.
7009 * sysdeps/i386/fpu/libm-test-ulps: Update.
7010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012
f775c276
KT
70132012-03-01 Kai Tietz <ktietz@redhat.com>
7014
7015 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
7016 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
7017 containing bit-fields.
7018 * soft-fp/extended.h (_FP_UNION_E): Likewise.
7019 * soft-fp/single.h (_FP_UNION_S): Likewise.
7020 * soft-fp/double.h (_FP_UNION_D): Likewise.
7021
5b8a4d4a
JM
70222012-02-29 Joseph Myers <joseph@codesourcery.com>
7023
0bab47b6
JM
7024 [BZ #13786]
7025 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
7026 not include ../strcmp.S.
7027 [USE_AS_STRNCASECMP_L]: Likewise.
7028 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
7029 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
7030 * sysdeps/i386/i686/multiarch/strncase_l-c.c
7031 (__strncasecmp_l_ia32): Define as alias to
7032 __strncasecmp_l_nonascii.
7033
0fcad3e2
JM
7034 [BZ #5794]
7035 * math/libm-test.inc (expm1_test): Add test for bug 5794.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7038
5b8a4d4a
JM
7039 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7041
8fdceb2e
JL
70422012-02-29 Jeff Law <law@redhat.com>
7043
7044 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7045 out of bounds read.
7046
1f393a11
MP
70472012-02-29 Marek Polacek <polacek@redhat.com>
7048
7049 [BZ #13706]
7050 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7051 * elf/Makefile: Add rules to run tst-unused-dep.out.
7052
8847f037
DM
70532012-02-28 David S. Miller <davem@davemloft.net>
7054
7055 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7056 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7059 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7060 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7061
169d7f11
JM
70622012-02-29 Joseph Myers <joseph@codesourcery.com>
7063
7064 * math/libm-test.inc (llround_test): Move one test from
7065 lround_test. Use TEST_f_L in moved test.
7066 (lround_test): Move misplaced test to llround_test. Add testcase
7067 from bug 2561.
7068
39adf059
UD
70692012-02-28 Ulrich Drepper <drepper@gmail.com>
7070
7071 * sysdeps/x86_64/fpu/e_expf.S: New file.
7072 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7073
71b5d1c5
SB
70742012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7075
7076 [BZ #13637]
7077 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7078 of remain_len that may cause incomplete multi-byte character and
7079 false match.
7080 * posix/bug-regex33.c: New file.
7081 * posix/Makefile (tests): Add bug-regex33.
7082
1f77f049
JM
70832012-02-28 Joseph Myers <joseph@codesourcery.com>
7084
7085 * manual/macros.texi: New file.
7086 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7087 * manual/libc.texinfo: Include macros.texi.
7088 * manual/creatute.texi: Likewise.
7089 * manual/install.texi: Likewise.
7090 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7091 @glibcadj{} in references to the GNU C Library.
7092 * manual/charset.texi: Likewise.
7093 * manual/conf.texi: Likewise.
7094 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7095 when not using those macros.
7096 * manual/creature.texi: Likewise.
7097 * manual/crypt.texi: Likewise.
7098 * manual/errno.texi: Likewise.
7099 * manual/filesys.texi: Likewise.
7100 * manual/header.texi: Likewise.
7101 * manual/install.texi: Likewise.
7102 * manual/intro.texi: Likewise.
7103 * manual/io.texi: Likewise.
7104 * manual/job.texi: Likewise.
7105 * manual/lang.texi: Likewise.
7106 * manual/libc.texiinfo: Likewise.
7107 * manual/llio.texi: Likewise.
7108 * manual/locale.texi: Likewise.
7109 * manual/maint.texi: Likewise.
7110 * manual/math.texi: Likewise.
7111 * manual/memory.texi: Likewise.
7112 * manual/message.texi: Likewise.
7113 * manual/nss.texi: Likewise.
7114 * manual/pattern.texi: Likewise.
7115 * manual/process.texi: Likewise.
7116 * manual/resource.texi: Likewise.
7117 * manual/search.texi: Likewise.
7118 * manual/setjmp.texi: Likewise.
7119 * manual/signal.texi: Likewise.
7120 * manual/socket.texi: Likewise.
7121 * manual/startup.texi: Likewise.
7122 * manual/stdio.texi: Likewise.
7123 * manual/string.texi: Likewise.
7124 * manual/sysinfo.texi: Likewise.
7125 * manual/syslog.texi: Likewise.
7126 * manual/terminal.texi: Likewise.
7127 * manual/time.texi: Likewise.
7128 * manual/users.texi: Likewise.
7129 * INSTALL: Regenerated.
7130 * NOTES: Regenerated.
d40c5d54 7131 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7132
450bf206
AS
71332012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7134
7135 * include/dirent.h: Include <dirstream.h> before
7136 <dirent/dirent.h>.
7137
741a235b
DM
71382012-02-28 David S. Miller <davem@davemloft.net>
7139
7140 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7141 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7142 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7143 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7144
d6b5aa58
DM
71452012-02-27 David S. Miller <davem@davemloft.net>
7146
1aff59a3
DM
7147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7149 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7150 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7151
d6b5aa58
DM
7152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7153 frame pointer instead of stack pointer relative arg slot.
7154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7155 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7156 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7157
433f48bf
CD
71582012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7159
7160 [BZ #3992]
7161 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7162
d674b76d
DM
71632012-02-27 David S. Miller <davem@davemloft.net>
7164
7165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7169 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7170 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7171 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7172 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7173
0e7727f7
JM
71742012-02-27 Joseph Myers <joseph@codesourcery.com>
7175
7176 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7177 later. Allow versions 5-9.
43be4ca2 7178 * configure: Regenerated.
0e7727f7
JM
7179 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7180 required minimum version and 4.6 as recommended version. Do not
7181 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7182 * INSTALL: Regenerated.
0e7727f7 7183
a78bc654
DM
71842012-02-27 David S. Miller <davem@davemloft.net>
7185
428d5830
DM
7186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7190 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7191 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7192 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7193 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7194
a78bc654
DM
7195 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7196 manipulate bits before adding and subtracting TWO112[sx].
7197 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7198
4579f81c
RM
71992012-02-27 Roland McGrath <roland@hack.frob.com>
7200
36c8acb4
RM
7201 [BZ #13775]
7202 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7203 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7204 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7205 being in POSIX, because they are in 1003.1-2008.
7206
84ad622b
RM
7207 * rt/tst-aio.c: Include <fcntl.h>.
7208 * rt/tst-aio7.c: Likewise.
7209 * rt/tst-aio64.c: Likewise.
7210
4579f81c
RM
7211 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7212
abd923db
JM
72132012-02-27 Joseph Myers <joseph@codesourcery.com>
7214
7215 * manual/install.texi (--with-headers): Describe headers as
7216 interface headers, not private headers.
7217 (Specific advice for GNU/Linux systems): Describe use of headers
7218 from "make headers_install", not private headers from older
7219 kernels.
43be4ca2 7220 * INSTALL: Regenerated.
abd923db
JM
7221 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7222 Change to 2.6.19.
7223 * sysdeps/unix/sysv/linux/configure: Regenerated.
7224
6664049b
JM
7225 * manual/llio.texi (fclean): Remove documentation.
7226
bb8b6697
JM
7227 * manual/Makefile (libc-texi-generated): New variable. Include
7228 version.texi.
7229 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7230 $(libc-texi-generated), not duplicated list of files.
7231 (version.texi, stamp-version): New rules.
7232 (realclean): Remove $(libc-texi-generated), not individual files
7233 from that list. Do not remove dir-add.texinfo.
7234 * manual/libc.texinfo: Comment out uses of edition numbers and
7235 references to printed manual. Remove last-updated dates.
7236 (EDITION): Comment out.
7237 (ISBN): Likewise.
7238 (VERSION, UPDATED): Remove.
7239 (version.texi): Include.
7240
12e5c3b9
AS
72412012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7242
7243 * sysdeps/posix/spawni.c: Include <signal.h>.
7244 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7245 * sysdeps/pthread/aio_fsync.c: Likewise.
7246
4efeffc1 72472012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7248
ba63ba08
UD
7249 * conform/Makefile (tests): Run only when not cross-compiling and
7250 when fast-check is not defined.
7251
d94a4670
UD
7252 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7253 * conform/data/limits.h-data: Fixes for POSIX2008.
7254 * conform/run-conformtest.sh: Run all tests.
7255 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7256 headers.
7257 * include/bits/dlfcn.h: Likewise.
7258 * include/langinfo.h: Likewise.
7259 * include/monetary.h: Likewise.
7260 * include/sys/poll.h: Likewise.
7261
7262 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7263 for __USE_GNU.
7264 * posix/spawn.h: Define __need_sigset_t.
7265 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7266 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7267 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7268 to get sigevent_t only.
7269 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7270 only for __USE_GNU.
7271 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7272 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7273 process_vm_writev only for __USE_GNU.
7274 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7275
7276 * conform/Makefile: For now ignore errors from run-conformtest.
7277 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7278 POSIX to avoid namespace pollution. Don't prepend headers.
7279 * conform/data/aio.h-data: Fixes for POSIX testing.
7280 * conform/data/fcntl.h-data: Likewise.
7281 * conform/data/glob.h-data: Likewise.
7282 * conform/data/grp.h-data: Likewise.
7283 * conform/data/pthread.h-data: Likewise.
7284 * conform/data/pwd.h-data: Likewise.
7285 * conform/data/signal.h-data: Likewise.
7286 * conform/data/spawn.h-data: Likewise.
7287 * conform/data/stdio.h-data: Likewise.
7288 * conform/data/stdlib.h-data: Likewise.
7289 * conform/data/stropts.h-data: Likewise.
7290 * conform/data/sys/mman.h-data: Likewise.
7291 * conform/data/sys/stat.h-data: Likewise.
7292 * conform/data/sys/types.h-data: Likewise.
7293 * conform/data/sys/wait.h-data: Likewise.
7294 * conform/data/time.h-data: Likewise.
7295 * conform/data/unistd.h-data: Likewise.
7296 * conform/data/utime.h-data: Likewise.
7297
7298 * io/sys/stat.h: fchmod was always in POSIX.
7299 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7300 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7301 * rt/aio.h: Define __need_timespec before including <time.h>.
7302 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7303 struct. Add forward declaration of pthread_attr_t and use it in
7304 sigevent.
7305 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7307 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7308 always remove CLK_TCK definition.
7309
c20105c3
AS
73102012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7311
7312 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7313
7a270350
UD
73142012-02-25 Ulrich Drepper <drepper@gmail.com>
7315
31341567
UD
7316 * conform/run-conformtest.sh: New file.
7317 * conform/Makefile: Run run-conformtest for tests.
7318 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7319 support.
7320
7321 * conform/data/uchar.h-data: New file.
7322 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7323 * conform/data/arpa/inet.h-data: Likewise.
7324 * conform/data/assert.h-data: Likewise.
7325 * conform/data/complex.h-data: Likewise.
7326 * conform/data/cpio.h-data: Likewise.
7327 * conform/data/ctype.h-data: Likewise.
7328 * conform/data/dirent.h-data: Likewise.
7329 * conform/data/dlfcn.h-data: Likewise.
7330 * conform/data/errno.h-data: Likewise.
7331 * conform/data/fcntl.h-data: Likewise.
7332 * conform/data/float.h-data: Likewise.
7333 * conform/data/fmtmsg.h-data: Likewise.
7334 * conform/data/fnmatch.h-data: Likewise.
7335 * conform/data/ftw.h-data: Likewise.
7336 * conform/data/glob.h-data: Likewise.
7337 * conform/data/grp.h-data: Likewise.
7338 * conform/data/iconv.h-data: Likewise.
7339 * conform/data/inttypes.h-data: Likewise.
7340 * conform/data/langinfo.h-data: Likewise.
7341 * conform/data/libgen.h-data: Likewise.
7342 * conform/data/limits.h-data: Likewise.
7343 * conform/data/locale.h-data: Likewise.
7344 * conform/data/math.h-data: Likewise.
7345 * conform/data/monetary.h-data: Likewise.
7346 * conform/data/mqueue.h-data: Likewise.
7347 * conform/data/ndbm.h-data: Likewise.
7348 * conform/data/net/if.h-data: Likewise.
7349 * conform/data/netdb.h-data: Likewise.
7350 * conform/data/netinet/in.h-data: Likewise.
7351 * conform/data/nl_types.h-data: Likewise.
7352 * conform/data/poll.h-data: Likewise.
7353 * conform/data/pthread.h-data: Likewise.
7354 * conform/data/pwd.h-data: Likewise.
7355 * conform/data/regex.h-data: Likewise.
7356 * conform/data/sched.h-data: Likewise.
7357 * conform/data/search.h-data: Likewise.
7358 * conform/data/semaphore.h-data: Likewise.
7359 * conform/data/setjmp.h-data: Likewise.
7360 * conform/data/signal.h-data: Likewise.
7361 * conform/data/spawn.h-data: Likewise.
7362 * conform/data/stdarg.h-data: Likewise.
7363 * conform/data/stdio.h-data: Likewise.
7364 * conform/data/stdlib.h-data: Likewise.
7365 * conform/data/string.h-data: Likewise.
7366 * conform/data/strings.h-data: Likewise.
7367 * conform/data/stropts.h-data: Likewise.
7368 * conform/data/sys/ipc.h-data: Likewise.
7369 * conform/data/sys/mman.h-data: Likewise.
7370 * conform/data/sys/msg.h-data: Likewise.
7371 * conform/data/sys/resource.h-data: Likewise.
7372 * conform/data/sys/select.h-data: Likewise.
7373 * conform/data/sys/sem.h-data: Likewise.
7374 * conform/data/sys/shm.h-data: Likewise.
7375 * conform/data/sys/socket.h-data: Likewise.
7376 * conform/data/sys/stat.h-data: Likewise.
7377 * conform/data/sys/statvfs.h-data: Likewise.
7378 * conform/data/sys/time.h-data: Likewise.
7379 * conform/data/sys/timeb.h-data: Likewise.
7380 * conform/data/sys/times.h-data: Likewise.
7381 * conform/data/sys/types.h-data: Likewise.
7382 * conform/data/sys/uio.h-data: Likewise.
7383 * conform/data/sys/un.h-data: Likewise.
7384 * conform/data/sys/utsname.h-data: Likewise.
7385 * conform/data/sys/wait.h-data: Likewise.
7386 * conform/data/syslog.h-data: Likewise.
7387 * conform/data/tar.h-data: Likewise.
7388 * conform/data/termios.h-data: Likewise.
7389 * conform/data/utime.h-data: Likewise.
7390 * conform/data/utmpx.h-data: Likewise.
7391 * conform/data/varargs.h-data: Likewise.
7392 * conform/data/wchar.h-data: Likewise.
7393 * conform/data/wctype.h-data: Likewise.
7394 * conform/data/wordexp.h-data: Likewise.
7395
7396 * include/stropts.h: New file.
7397 * include/uchar.h: New file.
7398 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7399 * include/assert.h: Likewise.
7400 * include/ctype.h: Likewise.
7401 * include/dirent.h: Likewise.
7402 * include/dlfcn.h: Likewise.
7403 * include/fcntl.h: Likewise.
7404 * include/fnmatch.h: Likewise.
7405 * include/glob.h: Likewise.
7406 * include/grp.h: Likewise.
7407 * include/libio.h: Likewise.
7408 * include/locale.h: Likewise.
7409 * include/math.h: Likewise.
7410 * include/net/if.h: Likewise.
7411 * include/netdb.h: Likewise.
7412 * include/netinet/in.h: Likewise.
7413 * include/pthread.h: Likewise.
7414 * include/pwd.h: Likewise.
7415 * include/regex.h: Likewise.
7416 * include/sched.h: Likewise.
7417 * include/search.h: Likewise.
7418 * include/setjmp.h: Likewise.
7419 * include/signal.h: Likewise.
7420 * include/stdio.h: Likewise.
7421 * include/stdlib.h: Likewise.
7422 * include/string.h: Likewise.
7423 * include/sys/cdefs.h: Likewise.
7424 * include/sys/mman.h: Likewise.
7425 * include/sys/msg.h: Likewise.
7426 * include/sys/resource.h: Likewise.
7427 * include/sys/select.h: Likewise.
7428 * include/sys/socket.h: Likewise.
7429 * include/sys/stat.h: Likewise.
7430 * include/sys/statvfs.h: Likewise.
7431 * include/sys/time.h: Likewise.
7432 * include/sys/times.h: Likewise.
7433 * include/sys/uio.h: Likewise.
7434 * include/sys/utsname.h: Likewise.
7435 * include/sys/wait.h: Likewise.
7436 * include/termios.h: Likewise.
7437 * include/time.h: Likewise.
7438 * include/ulimit.h: Likewise.
7439 * include/unistd.h: Likewise.
7440 * include/utime.h: Likewise.
7441 * include/wchar.h: Likewise.
7442 * include/wctype.h: Likewise.
7443 * include/wordexp.h: Likewise.
7444
7445 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7446
7a270350
UD
7447 * time/time.h: TIME_UTC must be a macro.
7448 Make timespec_get available for ISO C11 only as well.
7449
7724defc
UD
74502012-02-24 Ulrich Drepper <drepper@gmail.com>
7451
7452 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7453 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7454
6b1d1d46
JM
74552012-02-24 Joseph Myers <joseph@codesourcery.com>
7456
7457 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7458
0f8bbd69
JM
74592012-02-24 Joseph Myers <joseph@codesourcery.com>
7460
7461 * manual/texinfo.tex: Update to version 2012-01-19.16.
7462
66ab80bc
JM
74632012-02-24 Joseph Myers <joseph@codesourcery.com>
7464
7465 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7466
74981cc5
RM
74672012-02-24 Roland McGrath <roland@hack.frob.com>
7468
ee968201
RM
7469 [BZ #13738]
7470 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7471 * manual/fdl-1.3.texi: New file.
7472 * manual/fdl-1.1.texi: File removed.
7473
74981cc5
RM
7474 [BZ #13738]
7475 * manual/libc.texinfo (FDL_VERSION): New @set.
7476 Use it for mention of FDL in cover text.
7477 (Documentation License): Use it in @include file name.
7478
7bb764bc
JM
74792012-02-22 Joseph Myers <joseph@codesourcery.com>
7480 Roland McGrath <roland@hack.frob.com>
7481
7482 [BZ #5461]
7483 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7484 not LONG_LONG_MAX and LONG_LONG_MIN.
7485 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7486 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7487 name.
7488 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7489
6cbeae47
JM
74902012-02-22 Joseph Myers <joseph@codesourcery.com>
7491
7492 [BZ #2547]
7493 [BZ #11365]
7494 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7495 manipulate bits before adding and subtracting TWO23[sx].
7496 * math/libm-test.inc (nearbyint_test): Add more tests.
7497
fe45ce09
JM
74982012-02-22 Joseph Myers <joseph@codesourcery.com>
7499
7500 [BZ #2548]
7501 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7502 bits before adding and subtracting TWO23[sx].
7503 * math/libm-test.inc (rint_test): Add more tests.
7504 (rint_test_tonearest): Likewise.
7505 (rint_test_towardzero): Likewise.
7506 (rint_test_downward): Likewise.
7507 (rint_test_upward: Likewise.
7508
ff3b3d82
JM
75092012-02-22 Joseph Myers <joseph@codesourcery.com>
7510
7511 [BZ #10110]
7512 * include/stdc-predef.h: New file. Extracted from features.h.
7513 * include/features.h: Include stdc-predef.h.
7514 * Makefile (headers): Add stdc-predef.h.
7515 * CONFORMANCE (Compiler limitations): Update.
7516
ef0aab35
JM
75172012-02-22 Joseph Myers <joseph@codesourcery.com>
7518
7519 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7520
58639409
DM
75212012-02-21 David S. Miller <davem@davemloft.net>
7522
7523 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7524 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7525
c0e70b25
DM
75262012-02-20 David S. Miller <davem@davemloft.net>
7527
7528 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7529 using a normal save/restore sequence, rather than allocating a
7530 dummy stack frame just to store a frame pointer and restore.
7531 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7532
fb06851d
JM
75332012-02-21 Joseph Myers <joseph@codesourcery.com>
7534
7535 * manual/install.texi: Fix stray word in line-wrapped comment.
7536
7a8b71c3
DM
75372012-02-20 David S. Miller <davem@davemloft.net>
7538
d510c123
DM
7539 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7540 both binutils and gcc support GOTDATA.
7541
0722d7c2
DM
7542 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7543 "rd %pc" in the PIC register setup sequences.
7544
3d2b3019
DM
7545 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7546 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7547 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7548 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7549 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7550 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7551 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7552 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7554 (SYSCALL_ERROR_HANDLER): Likewise.
7555 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7556 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7558 (SYSCALL_ERROR_HANDLER): Likewise.
7559
c80098a9
DM
7560 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7561 (HAVE_GCC_GOTDATA): New.
7562 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7563 relocation support in both binutils and gcc.
7564 * sysdeps/sparc/elf/configure: Regenerate.
7565
3a2545a0
DM
7566 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7567 * sysdeps/sparc/sparc32/elf/configure: Delete.
7568 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7569 * sysdeps/sparc/sparc64/elf/configure: Delete.
7570 * sysdeps/sparc/elf/configure.in: New file.
7571 * sysdeps/sparc/elf/configure: Generate.
7572
7a8b71c3
DM
7573 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7574 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7575 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7576 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7577 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7578
f1e86fca
JM
75792012-02-21 Joseph Myers <joseph@codesourcery.com>
7580
7581 * manual/install.texi: Do not mention specific glibc version
7582 numbers.
7583 * manual/libc.texinfo (VERSION, UPDATED): Update.
7584 (@copying): Use @copyright{} and range of years.
7585
0e7dfaef
JM
75862012-02-21 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #13695]
7589 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7590 [crti.S not in sysdirs] (generated): Do not append.
7591 [crti.S not in sysdirs] (omit-deps): Likewise.
7592 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7593 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7594 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7595 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7596 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7597 Likewise.
7598 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7599 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7600 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7601 * csu/defs.awk: Remove file.
7602 * sysdeps/generic/initfini.c: Likewise.
7603 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7604 variable.
7605 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7606 Likewise.
7607
599af3ca
JM
76082012-02-20 Joseph Myers <joseph@codesourcery.com>
7609
7610 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7611 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7612 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7613 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7614 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7615 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7616 <bits/epoll.h>.
7617 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7618 (__EPOLL_PACKED): Define to empty if not defined by
7619 <bits/epoll.h>.
7620 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7621 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7622 bits/epoll.h.
7623
0e499750
JM
76242012-02-20 Joseph Myers <joseph@codesourcery.com>
7625
7626 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7627 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7628 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7629 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7630 <bits/timerfd.h>.
7631 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7633 bits/timerfd.h.
7634
5ad91f6e
JM
76352012-02-20 Joseph Myers <joseph@codesourcery.com>
7636
7637 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7638 in C locale.
7639 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7640 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7641 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7643
06b99b02
AJ
76442012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7645
7646 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7648
7638c0fd
AS
76492012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7650
7651 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7652 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7653 defined.
7654 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7655 Likewise.
7656 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7657 entry for 2.16.
7658
92221550
AJ
76592012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7660
7661 * math/w_acos.c: Use non-signaling floating-point comparisons.
7662 * math/w_acosf.c: Likewise.
7663 * math/w_acosh.c: Likewise.
7664 * math/w_acoshf.c: Likewise.
7665 * math/w_acoshl.c: Likewise.
7666 * math/w_acosl.c: Likewise.
7667 * math/w_asin.c: Likewise.
7668 * math/w_asinf.c: Likewise.
7669 * math/w_asinl.c: Likewise.
7670 * math/w_atanh.c: Likewise.
7671 * math/w_atanhf.c: Likewise.
7672 * math/w_atanhl.c: Likewise.
7673 * math/w_exp2.c: Likewise.
7674 * math/w_exp2f.c: Likewise.
7675 * math/w_exp2l.c: Likewise.
7676 * math/w_j0.c: Likewise.
7677 * math/w_j0f.c: Likewise.
7678 * math/w_j0l.c: Likewise.
7679 * math/w_j1.c: Likewise.
7680 * math/w_j1f.c: Likewise.
7681 * math/w_j1l.c: Likewise.
7682 * math/w_jn.c: Likewise.
7683 * math/w_jnf.c: Likewise.
7684 * math/w_log.c: Likewise.
7685 * math/w_log10.c: Likewise.
7686 * math/w_log10f.c: Likewise.
7687 * math/w_log10l.c: Likewise.
7688 * math/w_log2.c: Likewise.
7689 * math/w_log2f.c: Likewise.
7690 * math/w_log2l.c: Likewise.
7691 * math/w_logf.c: Likewise.
7692 * math/w_logl.c: Likewise.
7693 * math/w_sqrt.c: Likewise.
7694 * math/w_sqrtf.c: Likewise.
7695 * math/w_sqrtl.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7698 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7699 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7700 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7701
ebaf36eb
JM
77022012-02-19 Joseph Myers <joseph@codesourcery.com>
7703
7704 [BZ #9739]
7705 * manual/string.texi (strnlen): Use correct parameter name in
7706 equivalent expression.
7707
71c254a6
JM
77082012-02-19 Joseph Myers <joseph@codesourcery.com>
7709
7710 [BZ #11174]
7711 * manual/users.texi (seteuid): Consistently use neweuid for
7712 argument name.
7713
16d2c631
JM
77142012-02-19 Joseph Myers <joseph@codesourcery.com>
7715
7716 [BZ #13704]
7717 * manual/nss.texi (Services in the NSS configuration): Correct
7718 list of services in example configuration file.
7719
cd837b09
NB
77202012-02-19 Nick Bowler <nbowler@draconx.ca>
7721
7722 [BZ #11322]
7723 * manual/arith.texi: Remove statements about negative zero
7724 behaving identically to zero.
7725
02c4bbad
JM
77262012-02-18 Joseph Myers <joseph@codesourcery.com>
7727
7728 [BZ #5993]
7729 * manual/install.texi: Do not document upgrading from libc5.
7730
366842e7
JM
77312012-02-18 Joseph Myers <joseph@codesourcery.com>
7732
7733 [BZ #4596]
7734 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7735
dd54084d
DM
77362012-02-18 David S. Miller <davem@davemloft.net>
7737
7738 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7739 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7740 %o7 across the call.
7741 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7742 instead.
7743 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7744 SETUP_PIC_REG_LEAF.
7745 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7746 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7747 * sysdeps/sparc/crtn.S: Likewise.
7748
2bcc53a3
UD
77492012-02-17 Ulrich Drepper <drepper@gmail.com>
7750
7751 * aout/Makefile: Remove.
7752
09c093b5
RK
77532012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7754
7755 [BZ #13058]
7756 * manual/examples/argp-ex1.c (main): Format definition in GNU
7757 style.
7758 * manual/examples/argp-ex2.c (main): Likewise.
7759 * manual/examples/argp-ex3.c (main): Likewise.
7760 * manual/examples/argp-ex4.c (main): Likewise.
7761 * manual/examples/longopt.c (main): Use new-style prototype
7762 definition.
7763 * manual/examples/strncat.c (main): Specify return type and use
7764 (void) for arguments.
7765 * manual/examples/subopt.c (main): Use char **argv argument.
7766
2ee633a2
JM
77672012-02-17 Joseph Myers <joseph@codesourcery.com>
7768
7769 [BZ #5077]
7770 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7771 rounding modes.
7772
0520adde
FB
77732012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7774
7775 [BZ #6907]
7776 * manual/string.texi (strchr): Change when strchrnul is
7777 recommended.
7778
3f4081cd
DGM
77792012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7780
7781 [BZ #174]
7782 * manual/locale.texi (setlocale): Document LOCPATH.
7783
d1b10e78
JM
77842012-02-17 Joseph Myers <joseph@codesourcery.com>
7785
7786 [BZ #10210]
7787 * manual/process.texi (execle): Move @dots{} before last argument.
7788
79c6869c
PB
77892012-02-17 Paul Bolle <pebolle@tiscali.nl>
7790
7791 [BZ #12047]
7792 * manual/charset.texi (Generic Charset Conversion): Fix typo
7793 (LC_TYPE -> LC_CTYPE).
7794
cc6e48bc
NB
77952012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7796
7797 [BZ #5805]
7798 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7799 (scalbnf): Likewise.
7800 (scalbnl): Likewise.
7801 (scalbln): Likewise.
7802 (scalblnf): Likewise.
7803 (scalblnl): Likewise.
7804 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7805 (vwarnx): Likewise.
7806 (verr): Likewise.
7807 (verrx): Likewise.
7808 * manual/filesys.texi (telldir): Use braces around return type.
7809 * manual/llio.texi (mmap): Add space after comma.
7810 (mmap64): Likewise.
7811 * manual/math.texi (jn): Use @var{} on parameter names.
7812 (jnf): Likewise.
7813 (jnl): Likewise.
7814 (yn): Likewise.
7815 (ynf): Likewise.
7816 (ynl): Likewise.
7817 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7818 line.
7819 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7820 "...".
7821 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7822 (sched_get_priority_max): Likewise.
7823 * manual/signal.texi (sigvec): Add space after comma.
7824 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7825 names.
7826 (if_indextoname): Likewise.
7827 (if_freenameindex): Likewise.
7828 (sendto): Use ',' instead of '.' in prototype.
7829 * manual/startup.texi (syscall): Use @dots{} instead of literal
7830 "...".
7831 * manual/stdio.texi (__fpending): Separate initial words of
7832 paragraph from @deftypefun line.
7833 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7834 "...".
7835 (vsyslog): Use @var{} on parameter names.
7836 * manual/terminal.texi (stty): Use @var{} on parameter names.
7837 * manual/users.texi (getutmp): Use @var{} on parameter names.
7838 (getutmpx): Likewise.
7839
5b23062f
JM
78402012-02-17 Joseph Myers <joseph@codesourcery.com>
7841
7842 [BZ #6884]
7843 * manual/stdio.texi (fopen): Fix typos in description of
7844 ",ccs=STRING".
7845
8dee4833
AJ
78462012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7847
7848 [BZ #4026]
7849 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7850 get clock_id definition.
7851
9078ce93
TS
78522012-02-17 Thomas Schwinge <thomas@schwinge.name>
7853
7854 [BZ #4822]
7855 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7856 (madvise): Cast every argument to void on its own.
7857
3835c55f
JM
78582012-02-17 Joseph Myers <joseph@codesourcery.com>
7859
7860 [BZ #9902]
7861 * manual/startup.texi (Exit Status): Fix typo.
7862
35c47e37
JM
78632012-02-17 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #10140]
7866 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7867 * manual/examples/argp-ex2.c: Likewise.
7868 * manual/examples/argp-ex3.c: Likewise.
7869
e3b69ca7
RH
78702012-02-16 Richard Henderson <rth@redhat.com>
7871
7872 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7873 * sysdeps/s390/s390-32/initfini.c: Remove.
7874 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7875 * sysdeps/s390/s390-64/initfini.c: Remove.
7876
df83af67
KK
78772012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7878
7879 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7880 compiler output for sysdeps/generic/initfini.c.
7881 * sysdeps/sh/elf/initfini.c: Remove file.
7882
f63f3380
DM
78832012-02-16 David S. Miller <davem@davemloft.net>
7884
fb59b3a4
DM
7885 [BZ #11494]
7886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7887
f63f3380
DM
7888 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7889 * sysdeps/sparc/crti.S: New file.
7890 * sysdeps/sparc/crtn.S: New file.
7891 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7892 * sysdeps/sparc/sparc64/Makefile: Likewise.
7893
df6a4a4a
MF
78942012-02-15 Mike Frysinger <vapier@gentoo.org>
7895
6dd8f3dc 7896 [BZ #3335]
df6a4a4a
MF
7897 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7898
1cac7236
RM
78992012-02-15 Roland McGrath <roland@hack.frob.com>
7900
d2c736f8
RM
7901 [BZ #4822]
7902 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7903
1cac7236
RM
7904 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7905 (write, read, close): Likewise.
7906 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7907
8e475601
JM
79082012-02-15 Joseph Myers <joseph@codesourcery.com>
7909
7910 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7911 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7912 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7913 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7914 <bits/signalfd.h>.
7915 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7917 bits/signalfd.h.
7918
ed656b40
MP
79192012-02-14 Marek Polacek <polacek@redhat.com>
7920
7921 * sysdeps/x86_64/crti.S: New file.
7922 * sysdeps/x86_64/crtn.S: New file.
7923 * sysdeps/x86_64/elf/initfini.c: Remove file.
7924
2a979d3a
JM
79252012-02-13 Joseph Myers <joseph@codesourcery.com>
7926
7927 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7928 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7929 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7930 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7931 <bits/inotify.h>.
7932 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7933 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7934 bits/inotify.h.
7935
2a418ac3
JM
79362012-02-13 Joseph Myers <joseph@codesourcery.com>
7937
7938 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7939 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7940 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7941 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7942 <bits/eventfd.h>.
7943 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7944 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7945 bits/eventfd.h.
7946
fb779be7
TS
79472012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7948
e19e83c5
RM
7949 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7950 __feraiseexcept instead of feraiseexcept.
7c35ffed 7951
fb779be7
TS
7952 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7953 nanosleep invocations.
7954 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7955 strings, and add error checking for a nanosleep invocations.
7956
59ba27a6
PE
79572012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7958
7959 Replace FSF snail mail address with URLs, as per GNU coding standards.
7960 Most of the snail mail addresses were wrong anyway, and omitting
7961 them makes the source code easier to maintain. Almost all of the
7962 changes are to license notices and to locale LC_IDENTIFICATION
7963 addresses, except for this one:
7964 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7965 not its snail mail address.
7966
57b957eb
RH
79672012-02-09 Richard Henderson <rth@twiddle.net>
7968
af850b1c
RH
7969 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7970 of kernel-features.h.
7971
57b957eb
RH
7972 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7973
6b73181a
MP
79742012-02-08 Marek Polacek <polacek@redhat.com>
7975
7976 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7977 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7978 * sysdeps/gnu/_G_config.h: Likewise.
7979 * sysdeps/generic/_G_config.h: Likewise.
7980
26ecc33a
AS
79812012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7982
6c6dbc63
AS
7983 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7984 tests.
7985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7986
e216c012
AS
7987 * sysdeps/powerpc/powerpc32/crti.S: New file.
7988 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7989 * sysdeps/powerpc/powerpc64/crti.S: New file.
7990 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7991
26ecc33a
AS
7992 * Makeconfig (have-initfini): Don't set.
7993 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7994 * configure.in (nopic_initfini): Don't substitute.
7995 * config.h.in (HAVE_INITFINI): Don't #undef.
7996 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7997 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7998
3add8e13
JM
79992012-02-08 Joseph Myers <joseph@codesourcery.com>
8000
8001 Support crti.S and crtn.S provided directly by architectures.
8002 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
8003 [crti.S in sysdirs] (omit-deps): Likewise.
8004 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
8005 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
8006 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
8007 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
8008 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
8009 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
8010 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
8011 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
8012 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
8013 compiler output for sysdeps/generic/initfini.c.
8014 * sysdeps/i386/elf/Makefile: Remove file.
8015 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
8016
a22f12b4
MP
80172012-02-07 Marek Polacek <polacek@redhat.com>
8018
8019 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
8020 * sysdeps/gnu/_G_config.h: Likewise.
8021 * sysdeps/mach/hurd/_G_config.h: Likewise.
8022
148cf100
MP
80232012-02-07 Marek Polacek <polacek@redhat.com>
8024
8025 * math/Makefile (tests): Add tst-CMPLX2.
8026 * math/tst-CMPLX2.c: New file.
8027
cfdc0dd7
AS
80282012-02-07 Andreas Schwab <schwab@linux-m68k.org>
8029
84ba42c4
AS
8030 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8031
cfdc0dd7
AS
8032 * math/libm-test.inc (jn_test): Add missing L suffix.
8033
622c86f4
MP
80342012-02-06 Marek Polacek <polacek@redhat.com>
8035
8036 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
8037 * sysdeps/i386/fpu/e_powf.S: Likewise.
8038 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8039 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8040 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8041 * sysdeps/i386/fpu/e_pow.S: Likewise.
8042 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8043 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8044 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8045 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8046 * sysdeps/i386/fpu/e_log2.S: Likewise.
8047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8048 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8049 * sysdeps/i386/fpu/e_powl.S: Likewise.
8050 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8051 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8052 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8053 * sysdeps/i386/fpu/e_logl.S: Likewise.
8054 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8055 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8056 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8057 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8058 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8059 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8060 * sysdeps/i386/fpu/e_log.S: Likewise.
8061 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8063 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8064 * sysdeps/i386/fpu/e_logf.S: Likewise.
8065 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8066 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8067 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8068 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8069 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8070 * sysdeps/i386/fpu/e_log10.S: Likewise.
8071 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8072 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8073 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8074 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8075 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8076 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8077 * sysdeps/i386/asm-syntax.h: Likewise.
8078 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8079 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8080 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8081 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8082 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8083 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8084 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8085 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8086 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8087 * sysdeps/powerpc/sysdep.h: Likewise.
8088 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8089 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8090
d4a54ac6
JM
80912012-02-06 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #411]
8094 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8095
314054ea
JM
80962012-02-06 Joseph Myers <joseph@codesourcery.com>
8097
8098 * sysdeps/i386/sysdep.h: Include <features.h>.
8099 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8100 version.
8101
d8e0ca50
JM
81022012-02-05 Joseph Myers <joseph@codesourcery.com>
8103
8104 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8105 Define.
8106 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8107 LOAD_PIC_REG_STR.
8108
b1da7dd9
JM
81092012-02-03 Joseph Myers <joseph@codesourcery.com>
8110
8111 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8112 (SETUP_PIC_REG): Use GET_PC_THUNK.
8113 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8114 macro.
8115
9a1d9254
JM
81162012-02-03 Joseph Myers <joseph@codesourcery.com>
8117
8118 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8119 for non-PIC compilation.
8120 (SETUP_PIC_REG): Add .p2align directive.
8121 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8122 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8124 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8125 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8127 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8128 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8129 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8130 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8131 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8132 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8133 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8134 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8135 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8136 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8137 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8138 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8139 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8140 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8141 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8142 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8143 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8144 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8145 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8146 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8147 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8151 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8152 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8153 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8154 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8155 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8156 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8157 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8158 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8159 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8160 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8161 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8162
65dc3b75
JM
81632012-02-03 Joseph Myers <joseph@codesourcery.com>
8164
8165 * math/tst-CMPLX.c: Include <stdio.h>.
8166
d55bf177
JM
81672012-01-31 Joseph Myers <joseph@codesourcery.com>
8168
8169 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8170 float.
8171 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8172 * sysdeps/sparc/bits/mathdef.h: Likewise.
8173
69db4f8f
MP
81742012-01-31 Marek Polacek <polacek@redhat.com>
8175
8176 * libio/libio.h: Don't define _PARAMS.
8177 * locale/programs/config.h: Don't define PARAMS.
8178 * stdlib/strtol_l.c: Likewise.
8179 (__strtol_l): Remove PARAMS from the prototype.
8180
41b81892
UD
81812012-01-31 Ulrich Drepper <drepper@gmail.com>
8182
3b49edc0
UD
8183 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8184 names. Just use the correct names. Remove unnecessary wrapper
8185 functions.
8186 * malloc/arena.c: Likewise.
8187 * malloc/hooks.c: Likewise.
8188
41b81892
UD
8189 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8190 ARENA_TEST says not to. Simplify test for creation of a new arena.
8191 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8192
27a25b6e
UD
81932012-01-30 Ulrich Drepper <drepper@gmail.com>
8194
8195 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8196 into tail calls.
8197 (update_get_addr): New function.
8198 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8199 GET_ADDR_MODULE parameter.
8200
c8a89e7d
JM
82012012-01-30 Joseph Myers <joseph@codesourcery.com>
8202
8203 * crypt/cert.c: Remove __STDC__ conditionals.
8204 * crypt/crypt-entry.c: Likewise.
8205 * crypt/crypt_util.c: Likewise.
8206 * libio/filedoalloc.c: Likewise.
8207 * libio/fileops.c: Likewise.
8208 * libio/genops.c: Likewise.
8209 * libio/iofclose.c: Likewise.
8210 * libio/iofdopen.c: Likewise.
8211 * libio/iofopen.c: Likewise.
8212 * libio/iofopen64.c: Likewise.
8213 * libio/iogetdelim.c: Likewise.
8214 * libio/iopopen.c: Likewise.
8215 * libio/obprintf.c: Likewise.
8216 * libio/oldfileops.c: Likewise.
8217 * libio/oldiofclose.c: Likewise.
8218 * libio/oldiofdopen.c: Likewise.
8219 * libio/oldiofopen.c: Likewise.
8220 * libio/oldiopopen.c: Likewise.
8221 * libio/wfiledoalloc.c: Likewise.
8222 * libio/wgenops.c: Likewise.
8223 * locale/programs/xmalloc.c: Likewise.
8224 * misc/syslog.c: Likewise.
8225 * stdio-common/xbug.c: Likewise.
8226 * string/memchr.c: Likewise.
8227 * string/memcmp.c: Likewise.
8228 * string/memrchr.c: Likewise.
8229 * string/rawmemchr.c: Likewise.
8230 * sysdeps/posix/getcwd.c: Likewise.
8231 * time/strftime_l.c: Likewise.
8232
3b100462
JM
82332012-01-30 Joseph Myers <joseph@codesourcery.com>
8234
8235 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8236 * config.make.in (config-cflags-sse2avx): Define.
8237 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8238 Fix typo.
8239
607998af
CM
82402012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8241
8242 * scripts/config.guess: Update from upstream config git repository.
8243 * scripts/config.sub: Likewise.
8244
3601428f
CM
82452012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8246
3ac8b282
CM
8247 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8248 (EM_NUM): Update.
8249 (R_TILEPRO_*, R_TILEGX_*): New macros.
8250
e034841e
CM
8251 * scripts/firstversions.awk: Fix bug in version range handling.
8252
540d7568
CM
8253 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8254
3601428f
CM
8255 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8256
463de862
CM
8257 * include/sys/epoll.h: New file.
8258 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8259 libc_hidden_def.
8260
73139a76
UD
82612012-01-28 Ulrich Drepper <drepper@gmail.com>
8262
96bc5b45
UD
8263 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8264 Avoid unnecessary __WORDSIZE == 64 test.
8265 (fmaxf): Use VEX format if possible.
8266 (fmax): Likewise.
8267 (fminf): Likewise.
8268 (fmin): Likewise.
8269
56f6f6a2
UD
8270 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8271 * math/math_private.h: Remove libc_fegetround* and
8272 libc_fesetround*.
8273 * sysdeps/i386/configure.in: Check for -msse2avx.
8274 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8275 also if SSE2AVX is defined.
8276 Remove libc_fegetround* and libc_fesetround*.
8277 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8278 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8280 of HAS_YMM_USABLE.
8281 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8282 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8283 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8284 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8285 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8286
73139a76
UD
8287 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8288
d73f93a4
AZ
82892012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8290
8291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8292 size is not set.
8293 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8294
6ee65ed6
UD
82952012-01-27 Ulrich Drepper <drepper@gmail.com>
8296
8297 [BZ #13618]
8298 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8299 relocation.
8300 * Makeconfig (libm): Define.
8301 * elf/Makefile: Add rules to build and run tst-relsort1.
8302 * elf/tst-relsort1.c: New file.
8303 * elf/tst-relsort1mod1.c: New file.
8304 * elf/tst-relsort1mod2.c: New file.
8305
8db21882
JM
83062012-01-27 Joseph Myers <joseph@codesourcery.com>
8307
8308 * math/s_ldexp.c: Remove __STDC__ conditionals.
8309 * math/s_ldexpf.c: Likewise.
8310 * math/s_ldexpl.c: Likewise.
8311 * math/s_nextafter.c: Likewise.
8312 * math/s_nexttowardf.c: Likewise.
8313 * math/s_significand.c: Likewise.
8314 * math/s_significandf.c: Likewise.
8315 * math/s_significandl.c: Likewise.
8316 * math/w_jnl.c: Likewise.
8317 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8318 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8319 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8320 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8321 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8336 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8337 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8344 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8345 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8346 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8347 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8348 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8349 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8350 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8351 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8352 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8353 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8354 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8355 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8356 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8357 * sysdeps/ieee754/k_standard.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8377 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8390 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8394 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8404 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8405 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8406 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8409 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8410 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8411 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8412 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8413 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8414 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8415 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8416 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8417 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8418 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8419 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8420 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8421 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8422 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8423 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8424 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8425 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8426 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8427 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8428 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8429 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8430 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8431 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8432 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8433 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8434 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8435 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8436 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8437 * sysdeps/ieee754/s_matherr.c: Likewise.
8438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8441 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8442
965a54a4
JM
84432012-01-26 Joseph Myers <joseph@codesourcery.com>
8444
8445 * crypt/md5.h: Remove __STDC__ conditionals.
8446 * libio/libioP.h: Likewise.
8447 * locale/programs/config.h: Likewise.
8448 * sysdeps/generic/sysdep.h: Likewise.
8449 * sysdeps/i386/asm-syntax.h: Likewise.
8450 * sysdeps/s390/asm-syntax.h: Likewise.
8451 * sysdeps/unix/sysdep.h: Likewise.
8452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8454
7071ad79
JM
84552012-01-26 Joseph Myers <joseph@codesourcery.com>
8456
8457 * libio/libio.h: Remove __STDC__ conditionals.
8458 * malloc/obstack.h: Likewise.
8459 * math/complex.h: Likewise.
8460 * math/math.h: Likewise.
8461 * sysdeps/generic/_G_config.h: Likewise.
8462 * sysdeps/gnu/_G_config.h: Likewise.
8463 * sysdeps/mach/hurd/_G_config.h: Likewise.
8464 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8465 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8466 * sysdeps/sparc/bits/mathdef.h: Likewise.
8467
afc5ed09
UD
84682012-01-26 Ulrich Drepper <drepper@gmail.com>
8469
8470 [BZ #13583]
8471 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8472 Clean up HAS_* macros.
afc5ed09 8473 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8474 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8475 possible.
8476 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8477 HAS_AVX.
8478 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8479 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8480 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8481 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8482 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8483
bdb6de1d
JM
84842012-01-25 Joseph Myers <joseph@codesourcery.com>
8485
8486 * elf/tst-unique3.cc (gets): Remove declaration.
8487 * elf/tst-unique3lib.cc (gets): Likewise.
8488 * elf/tst-unique3lib2.cc (gets): Likewise.
8489 * elf/tst-unique4.cc (gets): Likewise.
8490
b15549e6
UD
84912012-01-24 Ulrich Drepper <drepper@gmail.com>
8492
8493 * include/stdio.h: Add C++ protection. Add gets declarations and
8494 definitions.
8495 * debug/tst-chk1.c: Don't declare gets here.
8496 * stdio-common/tst-gets.c: Likewise.
8497
a037381f
JM
84982012-01-24 Joseph Myers <joseph@codesourcery.com>
8499
8500 * posix/glob: Remove directory.
8501
f1d4aa75
JM
85022012-01-24 Joseph Myers <joseph@codesourcery.com>
8503
8504 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8505
81c0c964
PT
85062012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8507
8508 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8509 of the non-standard EPFNOSUPPORT.
8510
0ea698ae
ST
85112011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8512
8513 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8514 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8515 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8516
d220b117
UD
85172012-01-21 Ulrich Drepper <drepper@gmail.com>
8518
8519 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8520
3e1aa84e
UD
85212012-01-20 Ulrich Drepper <drepper@gmail.com>
8522
8523 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8524 transient errors.
8525 * nscd/grpcache.c (cache_addgr): Likewise.
8526 * nscd/hstcache.c (cache_addhst): Likewise.
8527 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8528 * nscd/pwdcache.c (cache_addpw): Likewise.
8529 * nscd/servicescache.c (cache_addserv): Likewise.
8530
400aa020
UD
85312012-01-16 Ulrich Drepper <drepper@gmail.com>
8532
d77e7869
UD
8533 * malloc/malloc.c: Various cleanups.
8534 * malloc/hooks.c: Likewise.
8535
400aa020
UD
8536 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8537 * stdlib/bug-fmtmsg1.c: New file.
8538
8539 * stdlib/fmtmsg.c (init): Add missing unlock.
8540 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8541
e0a309cf
MP
85422012-01-12 Marek Polacek <polacek@redhat.com>
8543
8544 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8545 and _GNU_SOURCE.
8546
929d11c7
WS
85472012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8548
8549 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8550 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8551 macro to ensure uniqueness of label name.
8552 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8553 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8554
41d0e869
UD
85552012-01-11 Ulrich Drepper <drepper@gmail.com>
8556
0cc5ed3b
UD
8557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8558
41d0e869
UD
8559 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8560 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8562 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8563
a47a831a
UD
85642012-01-10 Ulrich Drepper <drepper@gmail.com>
8565
daa891c0
UD
8566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8567
8568 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8570 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8571
e58ef0f2
UD
8572 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8573
a47a831a 8574 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8575 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8576 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8577 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8578
8579 * math/bits/math-finite.h: Add ldexp support.
8580
a0bfc9c7
MP
85812012-01-10 Marek Polacek <polacek@redhat.com>
8582
8583 * locale/programs/localedef.h (show_archive_content): Add noreturn
8584 attribute.
8585
d6e97a1d
UD
85862012-01-09 Ulrich Drepper <drepper@gmail.com>
8587
8588 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8589
d5835c26
UD
85902012-01-08 Ulrich Drepper <drepper@gmail.com>
8591
e5f484c6
UD
8592 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8593
d5835c26
UD
8594 * io/Makefile (headers): Add bits/poll2.h.
8595
d1f741e9
WS
85962011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8597
8598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8599 typo #include statement.
8600
ec09c1c4
UD
86012012-01-08 Ulrich Drepper <drepper@gmail.com>
8602
8603 * include/sys/cdefs.h: Define __attribute_alloc_size.
8604 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8605 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8606 * elf/pldd.c: Likewise.
8607 * iconv/iconv_charmap.c: Likewise.
8608 * iconv/iconvconfig.c: Likewise.
8609 * iconv/strtab.c: Likewise.
8610 * locale/programs/locale.c: Likewise.
8611 * locale/programs/localedef.h: Likewise.
8612 * locale/programs/simple-hash.c: Likewise.
8613 * nscd/nscd.h: Likewise.
8614 * nss/makedb.c: Likewise.
8615 * sysdeps/generic/ldconfig.h: Likewise.
8616 * locale/programs/localedef.c: Remove xmalloc prototype.
8617 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8618
20b38e03
PP
86192012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8620
8621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8622 appropriate.
8623
a0da5fe1
UD
86242012-01-08 Ulrich Drepper <drepper@gmail.com>
8625
1d5a644a 8626 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8627 * math/tst-CMPLX.c: New file.
1d5a644a 8628
8784a6db
UD
8629 * math/complex.h (CMPLXL): Fix typo.
8630
d9a216c0
UD
8631 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8632 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8633 GLIBC_2.16.
8634 * debug/tst-chk1.c: Add poll and ppoll tests.
8635 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8636 * include/sys/poll.h: Add hidden proto for ppoll.
8637 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8638 * sysdeps/mach/hurd/ppoll.c: Likewise.
8639 * io/ppoll.c: Likewise.
8640 * debug/poll_chk.c: New file.
8641 * debug/ppoll_chk.c: New file.
8642 * include/bits/poll2.h: New file.
8643 * io/bits/poll2.h: New file.
8644
ac097f5c
UD
8645 [BZ #1350]
8646 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8647
2119dcfa
UD
8648 * configure.in: static is always set to yes. Remove.
8649 * config.make.in: Don't set build-static.
8650 * Makeconfig: Remove use of build-static.
8651 * dlfcn/Makefile: Likewise.
8652 * elf/Makefile: Likewise.
8653 * math/Makefile: Likewise.
8654 * misc/Makefile: Likewise.
8655 * nptl/Makefile: Likewise.
8656 * sysdeps/mach/hurd/Makefile: Likewise.
8657
121766a9
UD
8658 * configure.in: PWD_P is not used anymore.
8659 * config.make.in: Remove PWD_P entry.
8660
51a1d39c 8661 * configure.in: Remove last remnants of RANLIB.
8720d066 8662 No need to check for signed size_t anymore.
215f4bdc
UD
8663 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8664 and IA-64.
3857022a 8665 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8666 * aclocal.m4: Likewise.
8667
d3ed7225
UD
8668 * wcsmbs/mbrtoc16.c: Implement using towc function.
8669 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8670 * wcsmbs/wcsmbsload.c: Likewise.
8671 * iconv/gconv_simple.c: Likewise.
8672 * iconv/gconv_int.h: Likewise.
8673 * iconv/gconv_builtin.h: Likewise.
8674 * iconv/iconv_prog.c: Remove CHAR16 handling.
8675
8676 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8677
8678 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8679
a0da5fe1
UD
8680 * configure.in: Remove --with-elf and --enable-bounded options.
8681 Dont set base_machine for ia64. More non-ELF conditions removed.
8682 Remove testing and setting of leading underscore information.
8683 * config.make.in (build-bounded): Set to no.
8684 * config.h.in: Remove NO_UNDERSCORES entry.
8685 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8686 them.
8687 * csu/start.c: Remove !NO_UNDERSCORE code.
8688 * locale/localeinfo.h: Likewise.
8689 * sysdeps/generic/machine-gmon.h: Likewise.
8690 * sysdeps/generic/sysdep.h: Likewise.
8691 * sysdeps/i386/sysdep.h: Likewise.
8692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8693 * sysdeps/mach/sysdep.h: Likewise.
8694 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8695 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8696 * sysdeps/sh/sysdep.h: Likewise.
8697 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8698 * sysdeps/unix/i386/sysdep.S: Likewise.
8699 * sysdeps/unix/sparc/start.c: Likewise.
8700 * sysdeps/unix/sparc/sysdep.S: Likewise.
8701 * sysdeps/unix/sparc/sysdep.h: Likewise.
8702 * sysdeps/unix/start.c: Likewise.
8703 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8704 * sysdeps/x86_64/sysdep.h: Likewise.
8705
df78418a
UD
87062012-01-07 Ulrich Drepper <drepper@gmail.com>
8707
a784e502
UD
8708 [BZ #13553]
8709 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8710 for non-gcc.
8711 * argp/argp-fmtstream.h: Use const instead __const.
8712 * argp/argp.h: Likewise.
8713 * assert/assert.h: Likewise.
8714 * bits/fenv.h: Likewise.
8715 * bits/sched.h: Likewise.
8716 * bits/sigset.h: Likewise.
8717 * bits/sigthread.h: Likewise.
8718 * catgets/nl_types.h: Likewise.
8719 * conform/data/pthread.h-data: Likewise.
8720 * crypt/crypt-private.h: Likewise.
8721 * crypt/crypt.h: Likewise.
8722 * crypt/crypt_util.c: Likewise.
8723 * ctype/ctype.h: Likewise.
8724 * debug/execinfo.h: Likewise.
8725 * debug/mbsnrtowcs_chk.c: Likewise.
8726 * debug/mbsrtowcs_chk.c: Likewise.
8727 * debug/wcsnrtombs_chk.c: Likewise.
8728 * debug/wcsrtombs_chk.c: Likewise.
8729 * debug/wcstombs_chk.c: Likewise.
8730 * dirent/dirent.h: Likewise.
8731 * dlfcn/dlfcn.h: Likewise.
8732 * elf/neededtest4.c: Likewise.
8733 * grp/grp.h: Likewise.
8734 * gshadow/gshadow.h: Likewise.
8735 * iconv/gconv.h: Likewise.
8736 * iconv/gconv_int.h: Likewise.
8737 * iconv/gconv_simple.c: Likewise.
8738 * iconv/iconv.h: Likewise.
8739 * iconv/loop.c: Likewise.
8740 * iconv/skeleton.c: Likewise.
8741 * include/aio.h: Likewise.
8742 * include/aliases.h: Likewise.
8743 * include/argz.h: Likewise.
8744 * include/arpa/inet.h: Likewise.
8745 * include/assert.h: Likewise.
8746 * include/dirent.h: Likewise.
8747 * include/dlfcn.h: Likewise.
8748 * include/execinfo.h: Likewise.
8749 * include/fcntl.h: Likewise.
8750 * include/fenv.h: Likewise.
8751 * include/glob.h: Likewise.
8752 * include/grp.h: Likewise.
8753 * include/libintl.h: Likewise.
8754 * include/mntent.h: Likewise.
8755 * include/netdb.h: Likewise.
8756 * include/pwd.h: Likewise.
8757 * include/rpc/netdb.h: Likewise.
8758 * include/sched.h: Likewise.
8759 * include/search.h: Likewise.
8760 * include/shadow.h: Likewise.
8761 * include/signal.h: Likewise.
8762 * include/stdio.h: Likewise.
8763 * include/stdlib.h: Likewise.
8764 * include/string.h: Likewise.
8765 * include/sys/socket.h: Likewise.
8766 * include/sys/stat.h: Likewise.
8767 * include/sys/statfs.h: Likewise.
8768 * include/sys/statvfs.h: Likewise.
8769 * include/sys/syslog.h: Likewise.
8770 * include/sys/time.h: Likewise.
8771 * include/sys/uio.h: Likewise.
8772 * include/time.h: Likewise.
8773 * include/unistd.h: Likewise.
8774 * include/utmp.h: Likewise.
8775 * include/wchar.h: Likewise.
8776 * include/wctype.h: Likewise.
8777 * inet/aliases.h: Likewise.
8778 * inet/arpa/inet.h: Likewise.
8779 * inet/netinet/ether.h: Likewise.
8780 * inet/netinet/in.h: Likewise.
8781 * intl/libintl.h: Likewise.
8782 * io/bits/fcntl2.h: Likewise.
8783 * io/fcntl.h: Likewise.
8784 * io/ftw.h: Likewise.
8785 * io/sys/poll.h: Likewise.
8786 * io/sys/stat.h: Likewise.
8787 * io/sys/statfs.h: Likewise.
8788 * io/sys/statvfs.h: Likewise.
8789 * io/utime.h: Likewise.
8790 * libio/bits/stdio.h: Likewise.
8791 * libio/bits/stdio2.h: Likewise.
8792 * libio/libio.h: Likewise.
8793 * libio/libioP.h: Likewise.
8794 * libio/stdio.h: Likewise.
8795 * locale/lc-ctype.c: Likewise.
8796 * locale/locale.h: Likewise.
8797 * login/utmp.h: Likewise.
8798 * malloc/arena.c: Likewise.
8799 * malloc/malloc.c: Likewise.
8800 * malloc/malloc.h: Likewise.
8801 * malloc/mcheck.c: Likewise.
8802 * malloc/mtrace.c: Likewise.
8803 * math/bits/mathcalls.h: Likewise.
8804 * math/fenv.h: Likewise.
8805 * math/math_private.h: Likewise.
8806 * misc/bits/error.h: Likewise.
8807 * misc/bits/syslog.h: Likewise.
8808 * misc/err.h: Likewise.
8809 * misc/error.h: Likewise.
8810 * misc/fstab.h: Likewise.
8811 * misc/mntent.h: Likewise.
8812 * misc/regexp.h: Likewise.
8813 * misc/search.h: Likewise.
8814 * misc/sgtty.h: Likewise.
8815 * misc/sys/mman.h: Likewise.
8816 * misc/sys/syslog.h: Likewise.
8817 * misc/sys/uio.h: Likewise.
8818 * misc/sys/xattr.h: Likewise.
8819 * misc/ttyent.h: Likewise.
8820 * nis/rpcsvc/ypclnt.h: Likewise.
8821 * nss/nss.h: Likewise.
8822 * posix/bits/unistd.h: Likewise.
8823 * posix/fnmatch.h: Likewise.
8824 * posix/glob.h: Likewise.
8825 * posix/sched.h: Likewise.
8826 * posix/spawn.h: Likewise.
8827 * posix/sys/wait.h: Likewise.
8828 * posix/unistd.h: Likewise.
8829 * posix/wordexp.h: Likewise.
8830 * pwd/pwd.h: Likewise.
8831 * resolv/netdb.h: Likewise.
8832 * resource/sys/resource.h: Likewise.
8833 * rt/aio.h: Likewise.
8834 * rt/bits/mqueue2.h: Likewise.
8835 * rt/mqueue.h: Likewise.
8836 * shadow/shadow.h: Likewise.
8837 * signal/signal.h: Likewise.
8838 * socket/send.c: Likewise.
8839 * socket/sendto.c: Likewise.
8840 * socket/sys/socket.h: Likewise.
8841 * stdio-common/printf.h: Likewise.
8842 * stdlib/bits/stdlib.h: Likewise.
8843 * stdlib/fmtmsg.h: Likewise.
8844 * stdlib/monetary.h: Likewise.
8845 * stdlib/stdlib.h: Likewise.
8846 * stdlib/ucontext.h: Likewise.
8847 * streams/stropts.h: Likewise.
8848 * string/argz.h: Likewise.
8849 * string/bits/string2.h: Likewise.
8850 * string/string.h: Likewise.
8851 * string/strings.h: Likewise.
8852 * sunrpc/rpc/auth.h: Likewise.
8853 * sunrpc/rpc/auth_des.h: Likewise.
8854 * sunrpc/rpc/clnt.h: Likewise.
8855 * sunrpc/rpc/netdb.h: Likewise.
8856 * sunrpc/rpc/pmap_clnt.h: Likewise.
8857 * sunrpc/rpc/xdr.h: Likewise.
8858 * sysdeps/generic/inttypes.h: Likewise.
8859 * sysdeps/generic/net/if.h: Likewise.
8860 * sysdeps/generic/sys/swap.h: Likewise.
8861 * sysdeps/gnu/net/if.h: Likewise.
8862 * sysdeps/gnu/utmpx.h: Likewise.
8863 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8864 * sysdeps/i386/i486/bits/string.h: Likewise.
8865 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8866 * sysdeps/s390/bits/string.h: Likewise.
8867 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8868 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8869 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8870 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8871 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8872 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8873 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8874 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8875 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8876 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8877 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8879 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8880 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8881 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8882 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8883 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8887 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8888 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8889 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8890 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8891 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8892 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8893 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8895 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8896 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8897 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8898 * sysvipc/sys/ipc.h: Likewise.
8899 * sysvipc/sys/msg.h: Likewise.
8900 * sysvipc/sys/sem.h: Likewise.
8901 * sysvipc/sys/shm.h: Likewise.
8902 * termios/termios.h: Likewise.
8903 * time/sys/time.h: Likewise.
8904 * time/time.h: Likewise.
8905 * wcsmbs/bits/wchar2.h: Likewise.
8906 * wcsmbs/uchar.h: Likewise.
8907 * wcsmbs/wchar.h: Likewise.
8908 * wctype/wctype.h: Likewise.
8909
0269750c
UD
8910 [BZ #13551]
8911 * Makeconfig: Remove all but ELF support including AIX support.
8912 * Makerules: Likewise.
8913 * config.h.in: Likewise.
8914 * config.make.in: Likewise.
8915 * configure: Likewise.
8916 * configure.in: Likewise.
8917 * csu/Makefile: Likewise.
8918 * csu/version.c: Likewise.
8919 * debug/Makefile: Likewise.
8920 * dlfcn/Makefile: Likewise.
8921 * elf/Makefile: Likewise.
8922 * extra-lib.mk: Likewise.
8923 * iconv/Makefile: Likewise.
8924 * include/libc-symbols.h: Likewise.
8925 * include/shlib-compat.h: Likewise.
8926 * resolv/Makefile: Likewise.
8927 * resolv/res_libc.c: Likewise.
8928 * rt/Makefile: Likewise.
8929 * sysdeps/i386/asm-syntax.h: Likewise.
8930 * sysdeps/i386/sysdep.h: Likewise.
8931 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8932 * sysdeps/mach/sysdep.h: Likewise.
8933 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8934 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8935 * sysdeps/s390/asm-syntax.h: Likewise.
8936 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8937 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8938 * sysdeps/sh/sysdep.h: Likewise.
8939 * sysdeps/unix/sparc/sysdep.h: Likewise.
8940 * sysdeps/wordsize-32/divdi3.c: Likewise.
8941 * sysdeps/x86_64/sysdep.h: Likewise.
8942
00bbd29b
UD
8943 * argp/Versions: Remove _argp_unlock_xxx.
8944
8945 [BZ #13559]
8946 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8947 * abilist/libBrokenLocale.abilist: Likewise.
8948 * abilist/libanl.abilist: Likewise.
8949 * abilist/libc.abilist: Likewise.
8950 * abilist/libcrypt.abilist: Likewise.
8951 * abilist/libdl.abilist: Likewise.
8952 * abilist/libm.abilist: Likewise.
8953 * abilist/libnsl.abilist: Likewise.
8954 * abilist/libpthread.abilist: Likewise.
8955 * abilist/libresolv.abilist: Likewise.
8956 * abilist/librt.abilist: Likewise.
8957 * abilist/libthread_db.abilist: Likewise.
8958 * abilist/libutil.abilist: Likewise.
8959 * abilist/libnss_db.abilist: New file.
8960
8961 * scripts/abilist.awk: Add support for indirect functions.
8962
a2693a0e
UD
8963 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8964
3f05895f
UD
8965 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8966
ecb6fb48
UD
8967 * shlib-versions: Remove entries for ports architectures.
8968
664f8cb9
UD
8969 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8970 files in ports.
8971 * elf/stackguard-macros.h: Remove support for IA-64.
8972 * elf/tst-auditmod1.c: Likewise.
8973 * sysdeps/generic/ldsodefs.h: Likewise.
8974
7ae81d88
UD
8975 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8976 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8977 configure files.
8978
bdeba135
UD
8979 [BZ #13552]
8980 * configure.in: Remove --enable-omitfp support.
8981 * FAQ.in: Adjust.
8982 * config.make.in: Likewise.
8983 * Makeconfig: Likewise.
8984 * manual/install.texi: Likewise.
8985
d75a0a62
UD
8986 In case anyone cares, the IA-64 architecture could move to ports.
8987 * sysdeps/ia64/*: Removed.
8988 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8989 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8990
dcc9756b
UD
8991 [BZ #13555]
8992 * configure.in: Remove entries for unsupported architectures.
8993
d3761ebc 8994 [BZ #13533]
9954432e
UD
8995 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8996 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8997 routines.
8998 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8999 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
9000 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
9001 fall back to using wcrtomb.
9002 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
9003 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
9004 renaming.
9005 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
9006 * wcsmbs/tst-c16c32-1.c: New file.
9007
9008 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
9009 local variable.
9010
c3a87236
UD
9011 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
9012
28926a1b
UD
9013 * elf/tst-unique3.cc: Add explicit declaration of gets.
9014 * elf/tst-unique3lib.cc: Likewise.
9015 * elf/tst-unique3lib2.cc: Likewise.
9016 * elf/tst-unique4.cc: Likewise.
9017
df78418a
UD
9018 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
9019
8ecd6b2a
JM
90202012-01-06 Joseph Myers <joseph@codesourcery.com>
9021
9022 [BZ #13566]
9023 * assert/assert.h (static_assert): Don't define for C++.
9024 * libio/stdio.h (gets): Do declare for C++ <= C++11.
9025 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
9026
9f115170
UD
90272012-01-03 Ulrich Drepper <drepper@gmail.com>
9028
5e0d0300
UD
9029 * iconv/loop.c (single loop): Fix assertion in storing of
9030 remaining bytes.
9031
9f115170
UD
9032 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
9033
81fb02b0
UD
90342012-01-01 Ulrich Drepper <drepper@gmail.com>
9035
9036 * posix/getconf.c: Update copyright year.
9037 * nss/getent.c: Likewise.
a316c1f6 9038 * nss/makedb.c: Likewise.
81fb02b0
UD
9039 * iconv/iconvconfig.c: Likewise.
9040 * iconv/iconv_prog.c: Likewise.
9041 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9042 * elf/pldd.c: Likewise.
9043 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9044 * catgets/gencat.c: Likewise.
9045 * csu/version.c: Likewise.
9046 * elf/ldd.bash.in: Likewise.
9047 * elf/sprof.c (print_version): Likewise.
9048 * locale/programs/locale.c: Likewise.
9049 * locale/programs/localedef.c: Likewise.
a316c1f6 9050 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9051 * nscd/nscd.c (print_version): Likewise.
9052 * debug/xtrace.sh: Likewise.
9053 * malloc/memusage.sh: Likewise.
9054 * malloc/mtrace.pl: Likewise.
9055 * debug/catchsegv.sh: Likewise.
9056
2ba92745
JJ
90572011-12-30 Jakub Jelinek <jakub@redhat.com>
9058
9059 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9060 pure attribute.
9061
dadebdae
UD
90622011-12-24 Ulrich Drepper <drepper@gmail.com>
9063
d3761ebc 9064 [BZ #13533]
db6af3eb
UD
9065 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9066 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9067 transformations.
9068 * iconv/gconv_int.h: Likewise.
9069 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9070 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9071 from libc for GLIBC_2.16.
9072 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9073 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9074 * wcsmbs/uchar.h: Really define mbstate_t.
9075 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9076 * wcsmbs/c16rtomb.c: New file.
9077 * wcsmbs/mbrtoc16.c: New file.
9078 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9079 for C/POSIX locale.
9080 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9081 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9082
dadebdae
UD
9083 * wcsmbs/wchar.h: Add missing __restrict.
9084
67371b56
UD
90852011-12-23 Ulrich Drepper <drepper@gmail.com>
9086
74033a25
UD
9087 [BZ #13532]
9088 * time/Makefile (routines): Add timespec_get.
9089 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9090 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9091 timespec for ISO C11.
9092 * time/timespec_get.c: New file.
9093 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9094 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9095
380d7e87
UD
9096 [BZ #13531]
9097 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9098 * stdlib/stdlib.h: Declare aligned_alloc.
9099 * Versions.def: Add GLIBC_2.16 for libc.
9100 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9101
4e9e7a35
UD
9102 [BZ 13527]
9103 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9104 ISO C11.
9105
380d7e87 9106 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9107 code.
9108
03a71829
UD
9109 [BZ #13528]
9110 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9111
839e283e
UD
9112 [BZ #13529]
9113 * assert/assert.h (static_assert): Define.
9114
ce5294e2 9115 * version.h: Update for 2.16 development version.
90fa7312 9116
8d44e150 9117 [BZ #13526]
d7809905
UD
9118 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9119 _ISOC11_SOURCE.
9120
c0da14cd
UD
9121 * version.h (RELEASE): Bump for 2.15 release.
9122 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9123
530a3249
MP
9124 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9125 Patch by Marek Polacek <mpolacek@redhat.com>.
9126
67371b56
UD
9127 * bits/byteswap.h: Protect long long constants with __extension__.
9128 * sysdeps/i386/bits/byteswap.h: Likewise.
9129 * sysdeps/ia64/bits/byteswap.h: Likewise.
9130 * sysdeps/s390/bits/byteswap.h: Likewise.
9131 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9132
15db4de1
LD
91332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9134
9135 [BZ #13540]
bbe315ea
LD
9136 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9137 destination buffer.
15db4de1
LD
9138 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9139
2b2596b1
MP
91402011-12-23 Marek Polacek <polacek@redhat.com>
9141
9142 * elf/dl-addr.c (determine_info): Add inline keyword.
9143 * elf/tst-auditmod4b.c (check_avx): Likewise.
9144 * elf/tst-auditmod6b.c (check_avx): Likewise.
9145 * elf/tst-auditmod6c.c (check_avx): Likewise.
9146 * elf/tst-auditmod7b.c (check_avx): Likewise.
9147
70c6c246
UD
91482011-12-23 Ulrich Drepper <drepper@gmail.com>
9149
9150 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9151 !__SSE_MATH__.
9152
c044cf14
LD
91532011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9154
15db4de1 9155 [BZ #13540]
c044cf14
LD
9156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9157 processing for last bytes.
9158
6b13d9d9
BH
91592011-08-06 Bruno Haible <bruno@clisp.org>
9160
d455f537
BH
9161 [BZ #13061]
9162 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9163 U+0385, not to U+1FEE.
9164
6b13d9d9
BH
9165 [BZ #13062]
9166 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9167 entry for U+00A5 U+0301.
9168
db910efd
UD
91692011-12-22 Ulrich Drepper <drepper@gmail.com>
9170
27deeafc
UD
9171 [BZ #13166]
9172 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9173 buffer for the output is too small.
9174
aed9d171
UD
9175 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9176 optimization.
9177
db910efd
UD
9178 [BZ #13185]
9179 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9180 SSE flags if possible.
9181
2bd779ae
LD
91822011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9183
e7f9dac3 9184 [BZ #13540]
2bd779ae
LD
9185 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9186 processing for last bytes.
9187
154bfc16
JM
91882011-12-22 Joseph Myers <joseph@codesourcery.com>
9189
9190 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9191 (syscall-list-default-options, syscall-list-default-condition)
9192 (syscall-list-includes): Define.
9193 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9194 list of ABIs and options and #if conditions for each ABI. Do not
9195 handle common syscalls between ABIs specially.
9196 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9197 Remove.
9198 (syscall-list-variants, syscall-list-32bit-options)
9199 (syscall-list-32bit-condition, syscall-list-64bit-options)
9200 (syscall-list-64bit-condition): Define.
9201 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9202 (syscall-list-variants, syscall-list-32bit-options)
9203 (syscall-list-32bit-condition, syscall-list-64bit-options)
9204 (syscall-list-64bit-condition): Define.
9205 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9206 Remove.
9207 (syscall-list-variants, syscall-list-32bit-options)
9208 (syscall-list-32bit-condition, syscall-list-64bit-options)
9209 (syscall-list-64bit-condition): Define.
9210 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9211 Remove.
9212 (syscall-list-variants, syscall-list-32bit-options)
9213 (syscall-list-32bit-condition, syscall-list-64bit-options)
9214 (syscall-list-64bit-condition): Define.
9215
21eaf3a5
UD
92162011-12-22 Ulrich Drepper <drepper@gmail.com>
9217
16c6f992
UD
9218 * locale/iso-639.def: Add brx entry.
9219
41043168
UD
9220 [BZ #13328]
9221 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9222 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9223
21eaf3a5
UD
9224 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9225 __feraiseexcept_renamed.
9226
e3a851a2
UD
92272011-12-21 Ulrich Drepper <drepper@gmail.com>
9228
4920765e
UD
9229 [BZ #13538]
9230 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9231 EPOLLET with unsigned values.
9232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9233 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9234
e3a851a2
UD
9235 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9236 to large cancellation.
9237 * math/s_cacoshf.c: Likewise.
9238 * math/s_cacoshl.c: Likewise.
9239
b27e24b8
RK
92402011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9241
9242 [BZ #13305]
aebefeee 9243 [BZ #12786]
b27e24b8
RK
9244 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9245 * math/s_cacoshf.c: Likewise.
9246 * math/s_cacoshl.c: Likewise.
9247
ee190f67
UD
92482011-12-21 Ulrich Drepper <drepper@gmail.com>
9249
9250 [BZ #13439]
9251 * iconv/gconv.h: Define __GCONV_SWAP.
9252 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9253 * iconvdata/utf-16.c: Likewise.
9254 * iconvdata/utf-32.c: Likewise.
9255
707f25df
AS
92562011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9257
9258 [BZ #13524]
9259 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9260 numerator after shifting it by one limb.
9261
d2daaa1e
RÁE
92622011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9263
9264 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9265 under [__USE_EXTERN_INLINES].
9266
a4647e72
UD
92672011-12-17 Ulrich Drepper <drepper@gmail.com>
9268
9269 [BZ #13446]
9270 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9271
f0b264f1
AZ
92722011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9273
9274 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9275 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9276 optimized code.
9277 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9278 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9279 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9280 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9281 for strncasecmp/strncasecmp_l compilation.
9282 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9283 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9284
8ef4f244
MP
92852011-12-08 Marek Polacek <mpolacek@redhat.com>
9286
9287 [BZ #13484]
9288 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9289 of __asm__.
9290
97ac2654
UD
92912011-12-17 Ulrich Drepper <drepper@gmail.com>
9292
9293 [BZ #13506]
9294 * time/tzfile.c (__tzfile_read): Check values from file header.
9295
91d2a845
WS
92962011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9297
9298 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9299 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9300 * powerpc/powerpc32/dl-start.S: Likewise.
9301 * powerpc/powerpc32/elf/start.S: Likewise.
9302 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9303 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9304 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9305 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9306 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9307 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9308 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9309 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9310 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9311 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9312 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9313 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9314 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9315 * powerpc/powerpc32/memset.S: Likewise.
9316 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9317 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9318 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9319 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9320 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9321 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9322 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9323 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9324 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9325 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9326 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9327 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9328 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9329
a1267ba1
AZ
93302011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9331
9332 * math/libm-test.inc: Added more nearbyint tests.
9333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9337
ad8ac1bd
RL
93382011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9339
9340 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9341 FD_CLOEXEC.
9342
1d3e4b61
UD
93432011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9344
9345 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9346 Add wcscpy-ssse3 wcscpy-c.
9347 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9348 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9349 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9350 * sysdeps/x86_64/wcschr.S: New file.
9351 * sysdeps/x86_64/wcsrchr.S: New file.
9352 * string/test-strcmp.c: Remove checking of wcscmp function for
9353 wrong alignments.
9354 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9355 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9356 wcsrchr-sse2 wcsrchr-c.
9357 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9358 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9360 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9361 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9362 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9363 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9364 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9365 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9366 * wcsmbc/wcschr.c (WCSCHR): New macro.
9367
5b330a2d
UD
93682011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9369
9370 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9371 * wcsmbs/test-wcsrchr.c: New file.
9372 * string/test-strrchr.c: Add wcsrchr support.
9373 (WIDE): New macro.
9374 * wcsmbs/test-wcscpy.c: New file.
9375 * string/test-strcpy.c: Add wcscpy support.
9376 (WIDE): New macro.
26428b7c 9377
f039c043
UD
93782011-12-10 Ulrich Drepper <drepper@gmail.com>
9379
9380 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9381 the inner loop.
9382
850fb039
AS
93832011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9384
9385 [BZ #13472]
9386 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9387
4efbd5cb
UD
93882011-12-04 Ulrich Drepper <drepper@gmail.com>
9389
52ff5dd0 9390 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9391 Minor optimizations.
52ff5dd0 9392
4efbd5cb
UD
9393 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9394 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9395 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9396
8a426e12
UD
93972011-12-03 Ulrich Drepper <drepper@gmail.com>
9398
aff2453d
UD
9399 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9400 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9401 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9402 for gcc to avoid warnings.
9403 * inet/Makefile (tests): Add tst-checks.
9404 * inet/tst-checks.c: New file.
9405
9406 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9407 warning.
9408
9409 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9410 __wmemcmp_sse2.
9411
9412 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9413 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9414
8a426e12
UD
9415 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9416
9bea3473
UD
94172011-12-02 Ulrich Drepper <drepper@gmail.com>
9418
3a965496
UD
9419 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9420 problem.
9421
9bea3473
UD
9422 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9423
f101631b
UD
94242011-11-29 Joseph Myers <joseph@codesourcery.com>
9425
9426 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9427 conditional on GCC version.
9428 (__arch_compare_and_exchange_val_8_acq)
9429 (__arch_compare_and_exchange_val_16_acq)
9430 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9431 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9432 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9433
a98275aa
UD
94342011-12-02 Joseph Myers <joseph@codesourcery.com>
9435
9436 * sysdeps/sh/backtrace.c: New file.
9437
d4cc29a2
AS
94382011-12-02 Andreas Schwab <schwab@redhat.com>
9439
9440 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9441 parenthesis.
9442
6257af2d
AS
94432011-12-01 Andreas Schwab <schwab@redhat.com>
9444
9445 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9446 falling back to utime.
9447
b5f44c1a
AS
94482011-11-30 Andreas Schwab <schwab@redhat.com>
9449
9450 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9451 expectations for float.
9452
f3a6cc0a
AS
94532011-11-29 Andreas Schwab <schwab@redhat.com>
9454
9455 * locale/weight.h (findidx): Add parameter len.
9456 * locale/weightwc.h (findidx): Likewise.
9457 * posix/fnmatch_loop.c (FCT): Adjust caller.
9458 * posix/regcomp.c (build_equiv_class): Likewise.
9459 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9460 * posix/regexec.c (check_node_accept_bytes): Likewise.
9461 * string/strcoll_l.c (STRCOLL): Likewise.
9462 * string/strxfrm_l.c (STRXFRM): Likewise.
9463
9d65ea3a
UD
94642011-11-17 Ulrich Drepper <drepper@gmail.com>
9465
9466 * Makefile.in: Remove CVSOPT handling.
9467 * configure.in: Remove use of AC_REVISION.
9468 * iconvdata/Makefile (distribute): No need to filter out CVS.
9469 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9470 handling.
9471
5583a086
AS
94722011-11-16 Andreas Schwab <schwab@redhat.com>
9473
9474 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9475 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9476 [USE_AS_STRNCASECMP_L]: Likewise.
9477 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9478 NO_TLS_DIRECT_SEG_REFS.
9479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9480 Fix argument offsets for non-PIC.
9481 [USE_AS_STRNCASECMP_L]: Likewise.
9482 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9483 NO_TLS_DIRECT_SEG_REFS.
9484
d62a8200
UD
94852011-11-15 Ulrich Drepper <drepper@gmail.com>
9486
9d65ea3a 9487 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9488 O_CLOEXEC.
9489 * locale/loadlocale.c (_nl_load_locale): Likewise.
9490
09f93bd3
AS
94912011-11-15 Andreas Schwab <schwab@redhat.com>
9492
446514f9
AS
9493 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9494 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9495 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9496 (SYSCALL_GETTIME): Set errno on error.
9497
09f93bd3
AS
9498 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9499 count references to noai6ai_cached.
9500
312be3f9
UD
95012011-11-15 Ulrich Drepper <drepper@gmail.com>
9502
9503 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9504
9505 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9506 FD_CLOEXEC for /proc/self/maps.
9507
9508 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9509 FD_CLOEXEC for /proc/meminfo.
9510
9511 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9512 gai.conf.
9513
9514 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9515 FD_CLOEXEC for given file.
9516
9517 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9518
9519 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9520 FD_CLOEXEC for /etc/hosts.
9521 (_gethtent): Likewise.
9522
9523 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9524
9525 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9526 cancellation and set FD_CLOEXEC for /etc/netgroup.
9527
9528 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9529 reading /etc/publickey.
9530
9531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9532 allow cancellation when reading /etc/group.
9533
9534 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9535 cancellation.
9536 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9537
9538 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9539 when using data file.
9540
9541 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9542
9543 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9544 (write_nis_obj): Use "c" and "e" in fopen.
9545
9546 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9547
9548 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9549
9550 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9551
9552 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9553
9554 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9555 locale.alias.
9556
9557 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9558
9559 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9560
9561 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9562
9563 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9564 file parsing and set FD_CLOEXEC.
9565
82af0fa8
UD
95662011-11-14 Ulrich Drepper <drepper@gmail.com>
9567
9568 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9569
a5fb313c
AS
95702011-11-14 Andreas Schwab <schwab@redhat.com>
9571
9572 * malloc/arena.c (arena_get2): Don't call reused_arena when
9573 _int_new_arena failed.
9574
6abf3465
UD
95752011-11-14 Ulrich Drepper <drepper@gmail.com>
9576
9577 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9578 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9579 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9580 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9581 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9582 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9583 to compile strcasecmp and strncasecmp.
9584 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9585 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9586
9587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9588
76e3966e
UD
95892011-11-13 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9592 locale-defines.sym to gen-as-const-headers.
9593 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9594 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9595 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9596 to compile strcasecmp and strncasecmp.
9597 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9598 strcasecmp_l and strncasecmp_l.
9599 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9600 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9601 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9602 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9603 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9604 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9605 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9606 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9607 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9608 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9609 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9610
ab26144e
UD
96112011-11-12 Ulrich Drepper <drepper@gmail.com>
9612
7edb22ef
UD
9613 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9614 result of SYSDEP_GETTIME_CPU to retval.
9615 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9616 parameter list to macro. Remove trailing semicolon. Adjust users.
9617
9694fc44
UD
9618 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9619 variable.
9620
8ad89ef8
UD
9621 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9622 mantissa words.
9623 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9624
0c822ef9
UD
9625 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9626 from unused variable.
9627
874e0564
UD
9628 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9629 DWARF definitions.
9630 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9631 for assembling.
9632
3a2edc79
UD
9633 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9634 over namespaces.
9635
f3c2577f
UD
9636 * sunrpc/rpc_prot.c (rejected): Fix case value.
9637
294ce126
UD
9638 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9639 unsigned long long int to avoid warnings in shift.
9640
5e2b63c6
UD
9641 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9642 of use of trans.
9643 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9644 variable tmp.
9645
e7f4b08e
UD
9646 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9647 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9648 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9649
ab26144e
UD
9650 * nis/nis_table.c (nis_list): Use variable of correct type for
9651 result of __follow_path call.
9652
8a6d5255
AZ
96532011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9654
9655 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9656 of math functions ceil, trunc, floor, round, and sqrt, when
9657 avaliable on the platform.
9658 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9659 name clash.
9660 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9661 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9662 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9663
aaddc98c
MP
96642011-10-30 Marek Polacek <mpolacek@redhat.com>
9665
9666 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9667 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9668
95b7042b
RM
96692011-11-11 Roland McGrath <roland@hack.frob.com>
9670
9671 * include/unistd.h: Fix __readlink return type.
9672 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9673
57769839
UD
96742011-11-11 Ulrich Drepper <drepper@gmail.com>
9675
9676 * stdlib/ucontext.h: Undo last change for makecontext.
9677
edc5984d
AS
96782011-11-11 Andreas Schwab <schwab@redhat.com>
9679
98591e58
AS
9680 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9681
edc5984d
AS
9682 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9683 * setjmp/setjmp.h: Mark functions as non-leaf.
9684 * setjmp/bits/setjmp2.h: Likewise.
9685 * stdlib/ucontext.h: Likewise.
9686
77cdc054
AS
96872011-11-10 Andreas Schwab <schwab@redhat.com>
9688
9689 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9690 (reused_arena): Don't check arena limit.
9691 (arena_get2): Atomically check arena limit.
9692
fe72eebd
UD
96932011-11-08 Ulrich Drepper <drepper@gmail.com>
9694
5f078c32
UD
9695 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9696 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9697
fe72eebd
UD
9698 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9699 instructions.
9700
ae1bc2fa
AS
97012011-11-07 Andreas Schwab <schwab@redhat.com>
9702
7583a88d
AS
9703 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9704 handler when locking.
9705
ae1bc2fa
AS
9706 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9707 Fix size of allocated buffer.
9708
10fb0bfa
AS
97092011-11-04 Andreas Schwab <schwab@redhat.com>
9710
998832a4
AS
9711 [BZ #10103]
9712 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9713 declarations for long double functions.
9714 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9715
10fb0bfa
AS
9716 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9717
3d7ba52b
AS
97182011-11-03 Andreas Schwab <schwab@redhat.com>
9719
a9ae54a1
AS
9720 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9721 installed.
9722
3d7ba52b
AS
9723 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9724 is disabled.
9725
bc8db248
ST
97262011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9727
9728 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9729
45b96dd6
AS
97302011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9731
647776f6
AS
9732 * include/alloca.h (stackinfo_alloca_round): Define.
9733 (extend_alloca): Use it.
9734 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9735 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9736 here.
9737
d91a8b93
AS
9738 * scripts/check-local-headers.sh: Ignore libaudit.h.
9739
45b96dd6
AS
9740 * nscd/Makefile (extra-objs): Make recursively expanded.
9741
432d41ce
UD
97422011-11-01 Ulrich Drepper <drepper@gmail.com>
9743
34372fc6
UD
9744 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9745 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9746
fadb59f8
UD
9747 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9748 * posix/tst-rfc3484-2.c: Likewise.
9749 * posix/tst-rfc3484-3.c: Likewise.
9750
78239589
UD
9751 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9752 process_vm_writev.
9753 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9754 process_vm_writev.
9755 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9756 process_vm_writev from libc using GLIBC_2.15 version.
9757
432d41ce
UD
9758 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9759
02f9c6cf
PP
97602011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9761
9762 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9763 stack usage.
9764
3a2c0242
UD
97652011-10-31 Ulrich Drepper <drepper@gmail.com>
9766
f4ec4833
UD
9767 [BZ #13367]
9768 * nss/getent.c (initgroups_keys): Show error message in case no group
9769 names are given.
9770
3a2c0242
UD
9771 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9772 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9773 __bump_nl_timestamp.
9774 * nscd/connections (nscd_init): When host database is served open
9775 netlink socket and request notification about configuration changes.
9776 (main_loop_poll): Track netlink file descriptor and bump timestamp
9777 in case data becomes available.
9778 (main_loop_epoll): Likewise.
9779 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9780 (database_pers_head): Add extra_data fileds.
9781 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9782 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9783 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9784 Adjust caller.
9785 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9786 in6ai data, call __free_in6ai.
9787 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9788 Add -DHAVE_NETLINK.
9789 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9790 interface information. Reuse previous data if netlink timestamp
9791 is not changed.
9792 (__bump_nl_timestamp): New function.
9793 (__free_in6ai): New function.
9794
636064eb
UD
97952011-10-30 Ulrich Drepper <drepper@gmail.com>
9796
9797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9798 close_not_cancel_no_status here.
9799 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9800
9beb2334
UD
98012011-10-29 Ulrich Drepper <drepper@gmail.com>
9802
6ef76f3b
UD
9803 [BZ #13276]
9804 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9805 return value.
9806
0ffc4f3e 9807 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9808 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9809 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9810
cb95113e
UD
98112011-07-03 Andreas Jaeger <aj@suse.de>
9812
9813 [BZ #10709]
9814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9815 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9816 * math/libm-test.inc (sin_test): Add test case.
9817
a1b560ff
UD
98182011-10-29 Ulrich Drepper <drepper@gmail.com>
9819
c9aaface
UD
9820 [BZ #13337]
9821 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9822 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9823
d272e7f1
UD
9824 * elf/chroot_canon.c (chroot_canon): Cleanups.
9825
1bc33071
UD
9826 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9827
1760874d
TJ
9828 [BZ #13335]
9829 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9830 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9831
51d91b18
UD
9832 * string/test-strchr.c: Make usable for strchrnul testing.
9833 * string/test-strchrnul.c: New file.
9834 * string/Makefile (strop-tests): Add strchrnul.
9835
a1b560ff 9836 * po/it.po: Update from translation team.
b611fb81 9837 * po/es.po: Likewise.
a1b560ff 9838
a5b81e1f
UD
98392011-10-28 Ulrich Drepper <drepper@gmail.com>
9840
fd52bc6d
UD
9841 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9842 the three constants needed as parameters. Drop the others.
9843 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9844 __m128i_strloadu_tolower.
52e4b9eb
UD
9845 Create and initialize variable zero and use it in all the places
9846 where _mm_setzero_si128 was used.
fd52bc6d 9847
a5b81e1f
UD
9848 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9849 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9850 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9851 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9852 anymore.
9853 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9854 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9855 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9856 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9857 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9858 __mpranred, __mptan.
9859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9863 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9864 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9865 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9866 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9867 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9868
b4343346
AS
98692011-10-28 Andreas Schwab <schwab@redhat.com>
9870
0c92d8a8
AS
9871 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9872 redefine if SHARED.
9873 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9874
b4343346
AS
9875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9876 wide char related routines to wcsmbs subdir.
9877
3871f58f
AS
98782011-10-27 Andreas Schwab <schwab@redhat.com>
9879
9880 [BZ #13344]
9881 * misc/sys/cdefs.h (__THROWNL): Define.
9882 * posix/unistd.h: Use __THREADNL instead of __THREAD
9883 for memory synchronization functions.
9884
94d44d9f
RM
98852011-10-26 Roland McGrath <roland@hack.frob.com>
9886
21b64b15 9887 [BZ #13349]
94d44d9f
RM
9888 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9889 doesn't exist.
9890 * manual/stdio.texi (Obstack Streams): Node removed.
9891
f6ce9294
AS
98922011-10-26 Andreas Schwab <schwab@redhat.com>
9893
80479147
AS
9894 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9895 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9896 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9897
f6ce9294
AS
9898 * math/math_private.h (math_force_eval): Allow non-addressable
9899 arguments.
9900 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9901
618280a1
UD
99022011-10-25 Ulrich Drepper <drepper@gmail.com>
9903
e0016b11
UD
9904 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9905 file is not needed.
9906
9907 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9908 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9914 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9915 Add AVX variants.
9916 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9917 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9918 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9919 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9920 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9921 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9922 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9923 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9924 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9925 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9926 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9927 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9928 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9929 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9930 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9931 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9932 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9933 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9934 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9935
9936 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9937 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9938
618280a1
UD
9939 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9940 place. Use VEX encoding when compiling for AVX.
9941
37822576
AS
99422011-10-25 Andreas Schwab <schwab@redhat.com>
9943
1f1e1947
AS
9944 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9945 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9946
37822576
AS
9947 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9948
31ea014d
UD
99492011-10-25 Ulrich Drepper <drepper@gmail.com>
9950
d7826aa1 9951 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9952 useless if() expression.
d7826aa1
UD
9953 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9957 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9959 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9962 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9963 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9964 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9965 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9966 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9967 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9968 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9970 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9971 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9972
31ea014d
UD
9973 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9974
16437fec
AS
99752011-10-25 Andreas Schwab <schwab@redhat.com>
9976
9977 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9978 condition.
9979 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9980
31d3cc00
UD
99812011-10-25 Ulrich Drepper <drepper@gmail.com>
9982
9983 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9984 .text section. Avoid duplicate constants.
9985 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9986 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9987 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9988 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9989 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9990 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9991 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9992 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9993 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9994 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9996 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9997 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9998 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9999 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10000 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10001 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10002 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10008 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
10009 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
10010 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
10011 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
10012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
10013 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
10014 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
10015 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
10016 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
10017 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10018 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
10019 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
10020 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
10021 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
10022 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
10023 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
10024 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
10025 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
10026 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
10027 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
10028 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
10029 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
10030
58985aa9
UD
100312011-10-24 Ulrich Drepper <drepper@gmail.com>
10032
202c9deb
UD
10033 * sysdeps/x86_64/dla.h: Move to ...
10034 * sysdeps/x86_64/fpu/dla.h: ...here.
10035 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
10036 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 10037
af968f62
UD
10038 * config.make.in: Add have-mfma4 entry.
10039 * configure.in: Substitute libc_cv_cc_fma4.
10040 * math/Makefile (dbl-only-routines): Add sincostab.
10041 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10042 Use __sincostab not sincos.
10043 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10044 name is a macro.
10045 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10048 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10049 using __copysign.
10050 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10051 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10052 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10053 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10054 and __inv.
10055 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10056 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10057 __copysign.
10058 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10059 define aliases when function name is a macro.
10060 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10061 sysdeps/ieee754/dbl-64/sincos.tbl.
10062 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10063 fma4-enabled routines.
10064 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10065 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10066 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10067 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10068 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10069 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10070 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10071 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10072 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10073 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10074 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10075 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10076 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10077 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10078 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10079 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10080 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10081 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10082 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10083 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10084 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10085 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10087 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10088 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10089 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10094
58985aa9
UD
10095 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10096 rename.
10097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10099 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10100 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10102 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10103 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10104 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10105
a201fbcf
AS
101062011-10-24 Andreas Schwab <schwab@redhat.com>
10107
10108 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10109
fc2ee42a
LD
101102011-10-23 Ulrich Drepper <drepper@gmail.com>
10111
bb3129bd
UD
10112 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10113
0275fff8
UD
10114 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10115 prediction.
10116 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10117
2fa2ae85
UD
10118 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10119 Remove unused variable magic_bits.
10120 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10121
fc2ee42a
LD
10122 * string/strnlen.c: Define and use STRNLEN macro.
10123 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10124 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10126 * wcsmbs/wcslen.c: Define and use WCSLEN.
10127 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10128 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10129 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10130 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10131 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10132 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10133 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10134
ce7dd29f
LD
101352011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10136
10137 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10138 strnlen-sse2-no-bsf.
10139 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10140 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10142 Add strnlen support.
10143 (USE_AS_STRNLEN): New macro.
10144 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10145 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10146 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10147 * sysdeps/x86_64/wcslen.S: New file.
10148
979c70a3
MZ
101492011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10150
10151 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10152 XMM-moves are used for copying on small sizes.
10153
2d09f82f
LD
101542011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10155
10156 * wcsmbs/Makefile (strop-tests): Add wcschr.
10157 * wcsmbs/test-wcschr.c: New file.
10158 * string/test-strchr.c: Update.
10159 Add wcschr support.
10160 (WIDE): New macro.
10161
619fccca
LD
101622011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10163
2d09f82f 10164 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10165 * wcsmbs/test-wcslen.c: New file.
10166 * string/test-strlen.c: Update.
10167 Add wcslen support.
10168 (WIDE): New macro.
10169
09f699ea
UD
101702011-10-23 Ulrich Drepper <drepper@gmail.com>
10171
10172 * po/it.po: Update from translation team.
10173
95584d3b
LD
101742011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10175
10176 * sysdeps/x86_64/wcscmp.S: Update.
10177 Fix wrong comparison semantics.
10178 wcscmp shall use signed comparison not unsigned.
10179 Don't use substraction to avoid overflow bug.
10180 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10181 * wcsmbc/wcscmp.c: Likewise.
10182 * string/test-strcmp.c: Likewise.
10183 Add new tests to check cases with negative values.
10184
c8b3296b
UD
101852011-10-23 Ulrich Drepper <drepper@gmail.com>
10186
10187 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10188 * sysdeps/x86_64/dla.h: ...here. New file.
10189 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10190 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10191 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10194 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10195 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10196 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10198
246ad57a
AS
101992011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10200
10201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10202 __ynl_finite aliases.
10203
a1a87169
UD
102042011-10-22 Ulrich Drepper <drepper@gmail.com>
10205
0d355eb7
UD
10206 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10207
a1a87169
UD
10208 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10209 define DLA_FMA.
10210 [DLA_FMA] (EMULV): Use DLA_FMA.
10211 [DLA_FMA] (MUL12): Use EMULV.
10212 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10213 that are not needed.
10214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10215 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10216 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10217 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10218 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10219 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10220 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10221
ee2aafe0
AS
102222011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 * math/s_nan.c: Undef __nan.
10225 * math/s_nanf.c: Undef __nanf.
10226 * math/s_nanl.c: Undef __nanl.
10227 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10228 "math_private.h".
10229
bc62c2fb
UD
102302011-10-22 Ulrich Drepper <drepper@gmail.com>
10231
77425c63
UD
10232 * math/s_catan.c: Add branch predictions.
10233 * math/s_catanf.c: Likewise.
10234 * math/s_catanh.c: Likewise.
10235 * math/s_catanhf.c: Likewise.
10236 * math/s_catanhl.c: Likewise.
10237 * math/s_catanl.c: Likewise.
10238 * math/s_cexp.c: Likewise.
10239 * math/s_cexpf.c: Likewise.
10240 * math/s_cexpl.c: Likewise.
10241 * math/s_clog.c: Likewise.
10242 * math/s_clog10.c: Likewise.
10243 * math/s_clog10f.c: Likewise.
10244 * math/s_clog10l.c: Likewise.
10245 * math/s_clogf.c: Likewise.
10246 * math/s_clogl.c: Likewise.
10247 * math/s_csqrt.c: Likewise.
10248 * math/s_csqrtf.c: Likewise.
10249 * math/s_csqrtl.c: Likewise.
10250 * math/s_ctanf.c: Likewise.
10251 * math/s_ctanh.c: Likewise.
10252 * math/s_ctanhf.c: Likewise.
10253 * math/s_ctanhl.c: Likewise.
10254 * math/s_ctanl.c: Likewise.
10255
bc62c2fb
UD
10256 * math/math_private.h: Define __nan, __nanf, __nanl.
10257 * math/s_cacosh.c: Include <math_private.h>.
10258 * math/s_cacoshl.c: Likewise.
10259 * math/s_casinh.c: Likewise.
10260 * math/s_casinhf.c: Likewise.
10261 * math/s_casinhl.c: Likewise.
10262 * math/s_ccos.c: Rely entire on ccosh.
10263 * math/s_ccosf.c: Rely entire on ccoshf.
10264 * math/s_ccosl.c: Rely entirely on ccoshl.
10265 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10266 Remove tests for FE_INVALID.
10267 * math/s_ccoshf.c: Likewise.
10268 * math/s_ccoshl.c: Likewise.
10269 * math/s_csin.c: Likewise.
10270 * math/s_csinf.c: Likewise.
10271 * math/s_csinh.c Likewise.
10272 * math/s_csinhf.c: Likewise.
10273 * math/s_csinhl.c: Likewise.
10274 * math/s_csinl.c: Likewise.
10275 * math/s_ctan.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10277 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10278 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10279
8ec250a4
UD
102802011-10-21 Ulrich Drepper <drepper@gmail.com>
10281
c196fed8
UD
10282 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10283 compilation problems.
10284
8ec250a4
UD
10285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10286 __builtin_expect.
10287
8d4f46c6
UD
102882011-10-20 Ulrich Drepper <drepper@gmail.com>
10289
ed72b654
UD
10290 * sysdeps/i386/configure.in: Test for -mfma4 option.
10291 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10292 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10293 COMMON_CPUID_INDEX_80000001.
10294 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10295 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10296 use it if FMA3 is not supported.
10297 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10298
8d4f46c6
UD
10299 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10300 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10301
d45c60c2
AS
103022011-10-20 Andreas Schwab <schwab@redhat.com>
10303
10304 [BZ #12892]
10305 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10306 it would create a cycle with a link time dependency.
10307
d9a4d2ab
UD
103082011-10-19 Ulrich Drepper <drepper@gmail.com>
10309
855d1560
UD
10310 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10311 instruction.
10312 * string/Makefile (strop-tests): Add rawmemchr.
10313 * string/test-rawmemchr.c: New file.
10314
d9a4d2ab
UD
10315 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10316 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10317 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10318 when compiling str{,n}casecmp and when AVX is available. Hook up
10319 new optimized code in initializers.
10320
8f3b1ffe
AS
103212011-10-19 Andreas Schwab <schwab@redhat.com>
10322
10323 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10324 __feraiseexcept instead of feraiseexcept.
10325
d38f1dba
UD
103262011-10-18 Ulrich Drepper <drepper@gmail.com>
10327
d9a8d0ab
UD
10328 * math/math_private.h: Define defaults for libc_fetestexcept and
10329 libc_feupdateenv.
10330 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10331 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10332 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10333 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10334 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10335 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10336 libc_fetestexcept and libc_feupdateenv.
10337
4855e3dd
UD
10338 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10339 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10340 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10341 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10342 libc_feholdexcept_setround.
10343
581d30e3
UD
10344 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10345 Add s_nearbyint-c and s_nearbyintf-c.
10346 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10347 nearbyintf inlines.
10348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10349 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10351 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10352
d38f1dba
UD
10353 * math/math_private.h: Define defaults for libc_fegetround,
10354 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10355 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10356 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10358 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10359 standard functions.
10360 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10361 Remove comments and hacks for old compiler versions.
10362 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10363 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10364 libc_feholdexceptl.
10365
caa6c9d8
AS
103662011-10-18 Andreas Schwab <schwab@redhat.com>
10367
10368 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10369 (__feraiseexcept_renamed): Add __NTH.
10370 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10371 namespace violations.
10372
97c066e6
UD
103732011-10-17 Ulrich Drepper <drepper@gmail.com>
10374
99ce7b04
UD
10375 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10376
1004d182
UD
10377 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10378
228a984d
UD
10379 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10380 recently added interfaces.
10381 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10382
c8553a6a
UD
10383 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10384 about macro parameter expansion.
10385
ed22dcf6
UD
10386 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10387 __NO_MATH_INLINES is defined. Cleanups.
10388
10389 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10390 and __floorf is target has SSE4.1.
10391 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10392 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10394 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10395
b171c137
UD
10396 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10397 name.
10398 (floorf): Likewise.
10399
97c066e6
UD
10400 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10401
629f62ef
AS
104022011-10-17 Andreas Schwab <schwab@redhat.com>
10403
49a43d80
AS
10404 * misc/sys/cdefs.h: Fix last change.
10405
629f62ef
AS
10406 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10407 database lookup.
10408
e453f6cd
UD
104092011-10-16 Ulrich Drepper <drepper@gmail.com>
10410
aa78043a
UD
10411 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10412
ad0f5cad
UD
10413 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10414 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10415 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10418 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10419 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10420 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10421 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10422 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10423 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10424 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10425 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10426 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10427 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10428 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10429 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10430 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10431 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10432 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10433 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10434 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10435
10436 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10437 ceil, ceilf, floor, floorf.
10438
10439 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10440 Perform IRELATIVE relocations last.
10441
e453f6cd
UD
10442 * elf/do-rel.h: Add another parameter nrelative, replacing the
10443 local variable with the same name. Change name of the function
10444 to end in Rel or Rela (uppercase).
10445 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10446 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10447 elf_dynamic_do_##reloc function.
10448
fd5bdc09
UD
104492011-10-15 Ulrich Drepper <drepper@gmail.com>
10450
79b195b5
UD
10451 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10452 is sufficient, at least on modern CPUs.
10453
d4a28569
UD
10454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10455
b61099b5
UD
10456 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10457 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10458
bcf01e6d
UD
10459 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10460 __expl_finite.
10461 * math/bits/math-finite.h: Add entries for exp.
10462 * math/e_expl.c: Add __*_finite alias.
10463 * sysdeps/i386/fpu/e_exp.S: Likewise.
10464 * sysdeps/i386/fpu/e_expf.S: Likewise.
10465 * sysdeps/i386/fpu/e_expl.c: Likewise.
10466 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10467 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10468 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10469 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10470 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10471 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10472 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10473
ba1a0d59
UD
10474 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10475 is sufficient, at least on modern CPUs.
10476
fd5bdc09
UD
10477 * ctype/ctype-info.c (__ctype_init): Define.
10478 * include/ctype.h (__ctype_init): Declare.
10479 (__ctype_b_loc): The variable is always initialized.
10480 (__ctype_toupper_loc): Likewise.
10481 (__ctype_tolower_loc): Likewise.
10482 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10483 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10484
7872cfb0
AS
104852011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10486
b468825a
AS
10487 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10488
7872cfb0
AS
10489 * configure.in: Also look in $cxxmachine/include for C++ system
10490 headers.
10491
be13f7bf
LD
104922011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10493
10494 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10495 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10496 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10497 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10499 (USE_AS_WMEMCMP): New macro.
10500 Fixing indents.
10501 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10502 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10503 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10504 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10505 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10506 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10507 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10508 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10509 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10510 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10511 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10512 (USE_AS_WMEMCMP): New macro.
10513 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10514 * sysdeps/string/test-memcmp.c: Update.
10515 Fix simple_wmemcmp.
10516 Add new tests.
10517 * wcsmbs/wmemcmp.c: Update.
10518 (WMEMCMP): New macro.
10519 Fix overflow bug.
10520
556a2007
AJ
105212011-10-12 Andreas Jaeger <aj@suse.de>
10522
10523 [BZ #13268]
10524 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10525
538faaa7
UD
105262011-10-15 Ulrich Drepper <drepper@gmail.com>
10527
ab6737ff
UD
10528 * libio/iofwide.c (do_length): Avoid warning.
10529
538faaa7
UD
10530 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10531
396a21b1
UD
105322011-10-14 Ulrich Drepper <drepper@gmail.com>
10533
cdf2901f
UD
10534 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10535
38ad40ce
UD
10536 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10537 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10538 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10539 * sysdeps/i386/i686/fpu/e_log.S: New file.
10540 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10541 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10542
396a21b1
UD
10543 * ctype/ctype.h: Add support for inlined isXXX functions when
10544 compiling C++ code.
10545
6b1f68c9
AS
105462011-10-14 Andreas Schwab <schwab@redhat.com>
10547
349290c0
AS
10548 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10549
6b1f68c9
AS
10550 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10551
f2282d42
RM
105522011-10-13 Roland McGrath <roland@hack.frob.com>
10553
10554 [BZ #13291]
10555 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10556
5298ffa8
AS
105572011-10-13 Andreas Schwab <schwab@redhat.com>
10558
714fad23
AS
10559 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10560 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10561 feraiseexcept.
10562
81dcc7fb
AS
10563 * sysdeps/x86_64/memrchr.S: Check for zero size.
10564
5298ffa8
AS
10565 * string/stratcliff.c: Add memrchr tests.
10566
951fbcec
LD
105672011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10568
10569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10570 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10571 rawmemchr-sse2 rawmemchr-sse2-bsf.
10572 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10573 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10574 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10575 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10576 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10577 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10578 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10579 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10581 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10582 * string/memrchr.c (MEMRCHR): New macro.
10583
0ac5ae23
UD
105842011-10-12 Ulrich Drepper <drepper@gmail.com>
10585
10586 Add integration with gcc's -ffinite-math-only and optimize wrapper
10587 functions in libm.
10588 * Versions.def: Define GLIBC_2.15 version for libm.
10589 * math/Makefile (headers): Add bits/math-finite.h.
10590 * math/bits/math-finite.h: New file.
10591 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10592 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10593 * math/e_acoshl.c: Add __*_finite alias.
10594 * math/e_acosl.c: Likewise.
10595 * math/e_asinl.c: Likewise.
10596 * math/e_atan2l.c: Likewise.
10597 * math/e_atanhl.c: Likewise.
10598 * math/e_coshl.c: Likewise.
10599 * math/e_exp10.c: Likewise.
10600 * math/e_exp10f.c: Likewise.
10601 * math/e_exp10l.c: Likewise.
10602 * math/e_exp2l.c: Likewise.
10603 * math/e_fmodl.c: Likewise.
10604 * math/e_gammal_r.c: Likewise.
10605 * math/e_hypotl.c: Likewise.
10606 * math/e_j0l.c: Likewise.
10607 * math/e_j1l.c: Likewise.
10608 * math/e_jnl.c: Likewise.
10609 * math/e_lgammal_r.c: Likewise.
10610 * math/e_log10l.c: Likewise.
10611 * math/e_log2l.c: Likewise.
10612 * math/e_logl.c: Likewise.
10613 * math/e_powl.c: Likewise.
10614 * math/e_sinhl.c: Likewise.
10615 * math/e_sqrtl.c: Likewise.
10616 * math/e_scalb.c: Completely rewritten and optimized.
10617 * math/e_scalbf.c: Likewise.
10618 * math/e_scalbl.c: Likewise.
10619 * math/w_acos.c: Likewise.
10620 * math/w_acosf.c: Likewise.
10621 * math/w_acosl.c: Likewise.
10622 * math/w_acosh.c: Likewise.
10623 * math/w_acoshf.c: Likewise.
10624 * math/w_acoshl.c: Likewise.
10625 * math/w_asin.c: Likewise.
10626 * math/w_asinf.c: Likewise.
10627 * math/w_asinl.c: Likewise.
10628 * math/w_atan2.c: Likewise.
10629 * math/w_atan2f.c: Likewise.
10630 * math/w_atan2l.c: Likewise.
10631 * math/w_atanh.c: Likewise.
10632 * math/w_atanhf.c: Likewise.
10633 * math/w_atanhl.c: Likewise.
10634 * math/w_exp10.c: Likewise.
10635 * math/w_exp10f.c: Likewise.
10636 * math/w_exp10l.c: Likewise.
10637 * math/w_fmod.c: Likewise.
10638 * math/w_fmodf.c: Likewise.
10639 * math/w_fmodl.c: Likewise.
10640 * math/w_j0.c: Likewise.
10641 * math/w_j0f.c: Likewise.
10642 * math/w_j0l.c: Likewise.
10643 * math/w_j1.c: Likewise.
10644 * math/w_j1f.c: Likewise.
10645 * math/w_j1l.c: Likewise.
10646 * math/w_jn.c: Likewise.
10647 * math/w_jnf.c: Likewise.
10648 * math/w_log.c: Likewise.
10649 * math/w_logf.c: Likewise.
10650 * math/w_logl.c: Likewise.
10651 * math/w_log10.c: Likewise.
10652 * math/w_log10f.c: Likewise.
10653 * math/w_log10l.c: Likewise.
10654 * math/w_log2.c: Likewise.
10655 * math/w_log2f.c: Likewise.
10656 * math/w_log2l.c: Likewise.
10657 * math/w_pow.c: Likewise.
10658 * math/w_powf.c: Likewise.
10659 * math/w_powl.c: Likewise.
10660 * math/w_remainder.c: Likewise.
10661 * math/w_remainderf.c: Likewise.
10662 * math/w_remainderl.c: Likewise.
10663 * math/w_scalb.c: Likewise.
10664 * math/w_scalbf.c: Likewise.
10665 * math/w_scalbl.c: Likewise.
10666 * math/w_sqrt.c: Likewise.
10667 * math/w_sqrtf.c: Likewise.
10668 * math/w_sqrtl.c: Likewise.
10669 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10670 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10671 used.
10672 * math/math_private.h: Declare __kernel_standard_f.
10673 * math/w_cosh.c: Remove cruft and optimize a bit.
10674 * math/w_coshf.c: Likewise.
10675 * math/w_coshl.c: Likewise.
10676 * math/w_exp2.c: Likewise.
10677 * math/w_exp2f.c: Likewise.
10678 * math/w_exp2l.c: Likewise.
10679 * math/w_hypot.c: Likewise.
10680 * math/w_hypotf.c: Likewise.
10681 * math/w_hypotl.c: Likewise.
10682 * math/w_lgamma.c: Likewise.
10683 * math/w_lgamma_r.c: Likewise.
10684 * math/w_lgammaf.c: Likewise.
10685 * math/w_lgammaf_r.c: Likewise.
10686 * math/w_lgammal.c: Likewise.
10687 * math/w_lgammal_r.c: Likewise.
10688 * math/w_sinh.c: Likewise.
10689 * math/w_sinhf.c: Likewise.
10690 * math/w_sinhl.c: Likewise.
10691 * math/w_tgamma.c: Likewise.
10692 * math/w_tgammaf.c: Likewise.
10693 * math/w_tgammal.c: Likewise.
10694 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10695 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10696 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10697 Minor optimizations. Pretty printing. Remove cruft.
10698 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10699 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10700 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10701 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10702 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10703 * sysdeps/i386/fpu/e_asin.S: Likewise.
10704 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10705 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10706 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10707 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10709 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10710 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10711 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10712 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10713 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10714 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10715 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10716 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10717 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10718 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10719 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10720 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10721 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10722 * sysdeps/i386/fpu/e_log.S: Likewise.
10723 * sysdeps/i386/fpu/e_log10.S: Likewise.
10724 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10725 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10726 * sysdeps/i386/fpu/e_log2.S: Likewise.
10727 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10728 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10729 * sysdeps/i386/fpu/e_logf.S: Likewise.
10730 * sysdeps/i386/fpu/e_logl.S: Likewise.
10731 * sysdeps/i386/fpu/e_pow.S: Likewise.
10732 * sysdeps/i386/fpu/e_powf.S: Likewise.
10733 * sysdeps/i386/fpu/e_powl.S: Likewise.
10734 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10735 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10736 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10737 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10739 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10740 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10741 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10742 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10743 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10744 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10745 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10746 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10747 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10748 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10749 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10750 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10751 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10753 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10754 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10756 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10757 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10758 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10759 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10760 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10761 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10763 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10764 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10765 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10766 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10767 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10768 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10769 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10770 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10771 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10772 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10773 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10776 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10777 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10778 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10779 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10780 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10781 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10782 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10783 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10784 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10785 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10788 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10789 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10790 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10791 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10793 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10795 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10796 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10797 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10798 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10799 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10800 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10801 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10802 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10803 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10804 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10805 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10810 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10811 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10813 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10814 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10818 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10819 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10820 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10821 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10822 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10823 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10824 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10825 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10826 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10827 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10828 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10829 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10830 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10831 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10832 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10833 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10834 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10835 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10836 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10837 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10838 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10839 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10840 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10841 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10842 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10843 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10844 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10845 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10846 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10847 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10850 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10851 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10852 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10853 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10854 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10855 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10856 (__isnanf): Likewise.
10857 (__isinf_ns): Likewise.
10858 (__isinf_nsf): Likewise.
10859 (__finite): Likewise.
10860 (__finitef): Likewise.
10861 (__ieee754_sqrt): Define as macro.
10862 (__ieee754_sqrtf): Define as macro.
10863 (__ieee754_sqrtl): Define as macro.
10864 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10865 inlined copy.
10866 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10867 __FINITE_MATH_ONLY__ consistent.
10868 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10869
12cc2fcd
AS
108702011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10871
a843a204
AS
10872 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10873 of rawmemchr.
10874
12cc2fcd
AS
10875 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10876
c853acd5
UD
108772011-10-09 Ulrich Drepper <drepper@gmail.com>
10878
10879 * po/ja.po: Update from translation team.
10880
c658d255
RM
108812011-10-08 Roland McGrath <roland@hack.frob.com>
10882
110946e4
RM
10883 * locale/programs/locarchive.c (prepare_address_space): New function.
10884 (create_archive, enlarge_archive, open_archive): Use it.
10885
50604220
RM
10886 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10887 inside [SHARED], where it is used.
10888
c658d255
RM
10889 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10890
10891 * nss/getent.c (netgroup_keys): Remove unused variable.
10892 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10893
6a621eb7
UD
108942011-10-08 Ulrich Drepper <drepper@gmail.com>
10895
7edb55ce
UD
10896 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10897 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10899 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10900 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10901 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10902 * math/Makefile (libm-calls): Add s_isinf_ns.
10903 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10904 * math/multc3.c: Likewise.
10905 * math/s_casin.c: Likewise.
10906 * math/s_casinf.c: Likewise.
10907 * math/s_casinl.c: Likewise.
10908 * math/s_ccos.c: Likewise.
10909 * math/s_ccosf.c: Likewise.
10910 * math/s_ccosl.c: Likewise.
10911 * math/s_ctan.c: Likewise.
10912 * math/s_ctanf.c: Likewise.
10913 * math/s_ctanh.c: Likewise.
10914 * math/s_ctanhf.c: Likewise.
10915 * math/s_ctanhl.c: Likewise.
10916 * math/s_ctanl.c: Likewise.
10917 * math/w_fmod.c: Likewise.
10918 * math/w_fmodf.c: Likewise.
10919 * math/w_fmodl.c: Likewise.
10920 * math/w_remainder.c: Likewise.
10921 * math/w_remainderf.c: Likewise.
10922 * math/w_remainderl.c: Likewise.
10923 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10924 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10926 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10927 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10928 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10929 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10930 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10931
187da0ae
UD
10932 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10933 of the number.
10934 * stdio-common/printf_fphex.c: Likewise.
10935 * stdio-common/printf_size.c: Likewise.
10936
9277c064
UD
10937 * math/e_exp10.c: Include math_private.h using <...> not "...".
10938 * math/e_exp10f.c: Likewise.
10939 * math/e_exp10l.c: Likewise.
10940 * math/e_exp2l.c: Likewise.
10941 * math/e_j0l.c: Likewise.
10942 * math/e_j1l.c: Likewise.
10943 * math/e_jnl.c: Likewise.
10944 * math/e_lgammal_r.c: Likewise.
10945 * math/e_rem_pio2l.c: Likewise.
10946 * math/e_scalb.c: Likewise.
10947 * math/e_scalbf.c: Likewise.
10948 * math/e_scalbl.c: Likewise.
10949 * math/k_cosl.c: Likewise.
10950 * math/k_sinl.c: Likewise.
10951 * math/k_tanl.c: Likewise.
10952 * math/s_cacoshf.c: Likewise.
10953 * math/s_catan.c: Likewise.
10954 * math/s_catanf.c: Likewise.
10955 * math/s_catanh.c: Likewise.
10956 * math/s_catanhf.c: Likewise.
10957 * math/s_catanhl.c: Likewise.
10958 * math/s_catanl.c: Likewise.
10959 * math/s_ccosh.c: Likewise.
10960 * math/s_ccoshf.c: Likewise.
10961 * math/s_ccoshl.c: Likewise.
10962 * math/s_cexp.c: Likewise.
10963 * math/s_cexpf.c: Likewise.
10964 * math/s_cexpl.c: Likewise.
10965 * math/s_clog.c: Likewise.
10966 * math/s_clog10.c: Likewise.
10967 * math/s_clog10f.c: Likewise.
10968 * math/s_clog10l.c: Likewise.
10969 * math/s_clogf.c: Likewise.
10970 * math/s_clogl.c: Likewise.
10971 * math/s_csin.c: Likewise.
10972 * math/s_csinf.c: Likewise.
10973 * math/s_csinh.c: Likewise.
10974 * math/s_csinhf.c: Likewise.
10975 * math/s_csinhl.c: Likewise.
10976 * math/s_csinl.c: Likewise.
10977 * math/s_csqrt.c: Likewise.
10978 * math/s_csqrtf.c: Likewise.
10979 * math/s_csqrtl.c: Likewise.
10980 * math/s_ctan.c: Likewise.
10981 * math/s_ctanf.c: Likewise.
10982 * math/s_ctanh.c: Likewise.
10983 * math/s_ctanhf.c: Likewise.
10984 * math/s_ctanhl.c: Likewise.
10985 * math/s_ctanl.c: Likewise.
10986 * math/s_ldexp.c: Likewise.
10987 * math/s_ldexpf.c: Likewise.
10988 * math/s_ldexpl.c: Likewise.
10989 * math/s_significand.c: Likewise.
10990 * math/s_significandf.c: Likewise.
10991 * math/s_significandl.c: Likewise.
10992 * math/w_acos.c: Likewise.
10993 * math/w_acosf.c: Likewise.
10994 * math/w_acosh.c: Likewise.
10995 * math/w_acoshf.c: Likewise.
10996 * math/w_acoshl.c: Likewise.
10997 * math/w_acosl.c: Likewise.
10998 * math/w_asin.c: Likewise.
10999 * math/w_asinf.c: Likewise.
11000 * math/w_asinl.c: Likewise.
11001 * math/w_atan2.c: Likewise.
11002 * math/w_atan2f.c: Likewise.
11003 * math/w_atan2l.c: Likewise.
11004 * math/w_atanh.c: Likewise.
11005 * math/w_atanhf.c: Likewise.
11006 * math/w_atanhl.c: Likewise.
11007 * math/w_cosh.c: Likewise.
11008 * math/w_coshf.c: Likewise.
11009 * math/w_coshl.c: Likewise.
11010 * math/w_dremf.c: Likewise.
11011 * math/w_exp10.c: Likewise.
11012 * math/w_exp10f.c: Likewise.
11013 * math/w_exp10l.c: Likewise.
11014 * math/w_exp2.c: Likewise.
11015 * math/w_exp2f.c: Likewise.
11016 * math/w_fmod.c: Likewise.
11017 * math/w_fmodf.c: Likewise.
11018 * math/w_fmodl.c: Likewise.
11019 * math/w_hypot.c: Likewise.
11020 * math/w_hypotf.c: Likewise.
11021 * math/w_hypotl.c: Likewise.
11022 * math/w_j0.c: Likewise.
11023 * math/w_j0f.c: Likewise.
11024 * math/w_j0l.c: Likewise.
11025 * math/w_j1.c: Likewise.
11026 * math/w_j1f.c: Likewise.
11027 * math/w_j1l.c: Likewise.
11028 * math/w_jn.c: Likewise.
11029 * math/w_jnf.c: Likewise.
11030 * math/w_jnl.c: Likewise.
11031 * math/w_lgamma.c: Likewise.
11032 * math/w_lgamma_r.c: Likewise.
11033 * math/w_lgammaf.c: Likewise.
11034 * math/w_lgammaf_r.c: Likewise.
11035 * math/w_lgammal.c: Likewise.
11036 * math/w_lgammal_r.c: Likewise.
11037 * math/w_log.c: Likewise.
11038 * math/w_log10.c: Likewise.
11039 * math/w_log10f.c: Likewise.
11040 * math/w_log10l.c: Likewise.
11041 * math/w_log2.c: Likewise.
11042 * math/w_log2f.c: Likewise.
11043 * math/w_log2l.c: Likewise.
11044 * math/w_logf.c: Likewise.
11045 * math/w_logl.c: Likewise.
11046 * math/w_pow.c: Likewise.
11047 * math/w_powf.c: Likewise.
11048 * math/w_powl.c: Likewise.
11049 * math/w_remainder.c: Likewise.
11050 * math/w_remainderf.c: Likewise.
11051 * math/w_remainderl.c: Likewise.
11052 * math/w_scalb.c: Likewise.
11053 * math/w_scalbf.c: Likewise.
11054 * math/w_scalbl.c: Likewise.
11055 * math/w_sinh.c: Likewise.
11056 * math/w_sinhf.c: Likewise.
11057 * math/w_sinhl.c: Likewise.
11058 * math/w_sqrt.c: Likewise.
11059 * math/w_sqrtf.c: Likewise.
11060 * math/w_sqrtl.c: Likewise.
11061 * math/w_tgamma.c: Likewise.
11062 * math/w_tgammaf.c: Likewise.
11063 * math/w_tgammal.c: Likewise.
11064
6a621eb7
UD
11065 * po/ja.po: Update from translation team.
11066
bf582445
AJ
110672011-09-29 Andreas Jaeger <aj@suse.de>
11068
f9efbf3a
AJ
11069 [BZ #13179]
11070 * sunrpc/netname.c (netname2host): Fix logic.
11071
bf582445
AJ
11072 [BZ #6779]
11073 [BZ #6783]
11074 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11075 correctly.
11076 * math/w_remainder.c (__remainder): Likewise.
11077 * math/w_remainderf.c (__remainderf): Likewise.
11078 * math/libm-test.inc (remainder_test): Add test cases.
11079
48693bea
AK
110802011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11081
11082 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11083 sdiv_qrnnd.
11084
42622229
LD
110852011-10-07 Ulrich Drepper <drepper@gmail.com>
11086
11087 * string/test-memcmp.c: Avoid unncessary #defines.
11088 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11089
093ecf92
LD
110902011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11091
11092 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11093 Use new sse2 version for core i3 - i7 as it's faster
11094 than sse42 version.
11095 (bit_Prefer_PMINUB_for_stringop): New.
11096 * sysdeps/x86_64/rawmemchr.S: Update.
11097 Replace with faster SSE2 version.
11098 * sysdeps/x86_64/memrchr.S: New file.
11099 * sysdeps/x86_64/memchr.S: Update.
11100 Replace with faster SSE2 version.
11101
fde56e5c
MP
111022011-09-12 Marek Polacek <mpolacek@redhat.com>
11103
11104 * elf/dl-load.c (lose): Add cast to avoid warning.
11105
21fd49a9
UD
111062011-10-07 Ulrich Drepper <drepper@gmail.com>
11107
5a06e643
UD
11108 * po/ca.po: Update from translation team.
11109
684ae515
UD
11110 * inet/getnetgrent_r.c: Hook up nscd.
11111 * nscd/Makefile (routines): Add nscd_netgroup.
11112 (nscd-modules): Add netgroupcache.
11113 (CFLAGS-netgroupcache.c): Define.
11114 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11115 (cache_search): Add const to second parameter.
11116 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11117 INNETGR.
11118 (dbs): Add netgrdb entry.
11119 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11120 (verify_persistent_db): Handle netgrdb.
11121 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11122 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11123 GETFDNETGR.
11124 (netgroup_response_header): Define.
11125 (innetgroup_response_header): Define.
11126 (datahead): Add netgroup_response_header and innetgroup_response_header
11127 elements.
11128 * nscd/nscd.conf: Add entries for netgroup cache.
11129 * nscd/nscd.h (dbtype): Add netgrdb.
11130 (_PATH_NSCD_NETGROUP_DB): Define.
11131 (netgroup_iov_disabled): Declare.
11132 (xmalloc, xcalloc, xrealloc): Move declarations here.
11133 (cache_search): Adjust prototype.
11134 Add netgroup-related prototypes.
11135 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11136 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11137 (__nscd_innetgr): Declare.
11138 * nscd/selinux.c (perms): Use access_vector_t as element type and
11139 add netgroup-related initializers.
11140 * nscd/netgroupcache.c: New file.
11141 * nscd/nscd_netgroup.c: New file.
11142 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11143 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11144 For four parameters use innetgr.
11145 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11146 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11147 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11148 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11149
21fd49a9
UD
11150 * nscd/connections.c (register_traced_file): Don't register file
11151 for disabled databases.
11152
054c0457
UD
111532011-10-06 Ulrich Drepper <drepper@gmail.com>
11154
32b63198
UD
11155 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11156
054c0457
UD
11157 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11158 from tree and freeing node.
11159
64031225
JO
111602011-09-25 Jiri Olsa <jolsa@redhat.com>
11161
11162 * nss/nsswitch.c (__nss_database_lookup): Handle
11163 nss_parse_service_list out of memory case.
11164
0490345c
JO
111652011-09-15 Jiri Olsa <jolsa@redhat.com>
11166
11167 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11168 out of memory case.
11169
3a62d00d
AS
111702011-10-04 Andreas Schwab <schwab@redhat.com>
11171
11172 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11173 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11174 pass it down.
11175 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11176 elf_machine_rela, elf_machine_lazy_rel.
11177 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11178 (ELF_DYNAMIC_DO_REL): Likewise.
11179 (ELF_DYNAMIC_DO_RELA): Likewise.
11180 (ELF_DYNAMIC_RELOCATE): Likewise.
11181 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11182 to ELF_DYNAMIC_DO_REL.
11183 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11184 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11185 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11186 elf_machine_rela.
11187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11188 skip_ifunc, don't call ifunc function if non-zero.
11189 (elf_machine_rela): Likewise.
11190 (elf_machine_lazy_rel): Likewise.
11191 (elf_machine_lazy_rela): Likewise.
11192 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11193 (elf_machine_lazy_rel): Likewise.
11194 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11195 Likewise.
11196 (elf_machine_lazy_rel): Likewise.
11197 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11198 Likewise.
11199 (elf_machine_lazy_rel): Likewise.
11200 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11201 (elf_machine_lazy_rel): Likewise.
11202 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11203 (elf_machine_lazy_rel): Likewise.
11204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11205 (elf_machine_lazy_rel): Likewise.
11206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11207 (elf_machine_lazy_rel): Likewise.
11208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11209 (elf_machine_lazy_rel): Likewise.
11210 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11211 (elf_machine_lazy_rel): Likewise.
11212
68577918
UD
112132011-09-28 Ulrich Drepper <drepper@gmail.com>
11214
11215 * nss/nss_files/files-init.c (_nss_files_init): Use static
11216 initialization for all the *_traced_file variables.
11217
68822d74
AS
112182011-09-28 Andreas Schwab <schwab@redhat.com>
11219
11220 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11221
2056100b
RM
112222011-09-27 Roland McGrath <roland@hack.frob.com>
11223
11224 [BZ #13226]
11225 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11226
32c76b63
AS
112272011-09-27 Andreas Schwab <schwab@redhat.com>
11228
11229 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11230 Reread the line before reparsing it.
11231
bf972c9d
AS
112322011-09-26 Andreas Schwab <schwab@redhat.com>
11233
11234 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11235
e057a1b5
JM
112362011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11237 Maxim Kuvyrkov <maxim@codesourcery.com>
11238 Joseph Myers <joseph@codesourcery.com>
11239
11240 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11241 if needed for __stack_chk_guard.
11242
bc7e1c36
RM
112432011-09-19 Roland McGrath <roland@hack.frob.com>
11244
ecb1482f
RM
11245 * sysdeps/posix/spawni.c (script_execute): Always define it.
11246 It will be optimized away if unused.
11247 (maybe_script_execute): New function.
11248 (__spawni): Call it.
11249
bc7e1c36
RM
11250 * Makerules: Don't include tls.make.
11251 (config-tls): Always set to thread.
11252 * tls.make.c: File removed.
11253
1c3b002b
MF
112542011-09-19 Mike Frysinger <vapier@gentoo.org>
11255
11256 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11257 * config.make.in (CPPFLAGS-config): New substituted variable.
11258
2840865d
UD
112592011-09-15 Ulrich Drepper <drepper@gmail.com>
11260
88738eb6
UD
11261 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11262
cbf645a6 11263 [BZ #13192]
2840865d
UD
11264 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11265 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11266
b402e91a
RM
112672011-09-15 Roland McGrath <roland@hack.frob.com>
11268
11269 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11270 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11271 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11272 (CALL_FAIL): Likewise.
11273 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11274 (CALL_FAIL): Macro removed.
11275 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11276
4c1a1f71
UD
112772011-09-15 Ulrich Drepper <drepper@gmail.com>
11278
11279 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11280 for __FINITE_MATH_ONLY__ == 1.
11281
edc121be
AS
112822011-09-15 Andreas Schwab <schwab@redhat.com>
11283
11284 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11285 __ieee754_sqrt instead of sqrt.
11286 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11287 __ieee754_sqrtf instead of sqrtf.
11288 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11289 __floorf instead of floorf.
11290 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11291 __floorf, __truncf instead of floorf, truncf.
11292
cd205654
UD
112932011-09-14 Ulrich Drepper <drepper@gmail.com>
11294
ee4d0315
UD
11295 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11296
cd205654
UD
11297 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11298 __extern_always_inline.
11299 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11300 32-bit.
11301
48b67d71
AS
113022011-09-14 Andreas Schwab <schwab@redhat.com>
11303
11304 * elf/rtld.c (dl_main): Also relocate in dependency order when
11305 doing symbol dependency testing.
11306
1ae12c75
AS
113072011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11308
11309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11310 Always define `refsym'.
11311
995a80df
AS
113122011-09-13 Andreas Schwab <schwab@redhat.com>
11313
e529793b
AS
11314 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11315 (__FD_ELT): Renamed from __FDELT.
11316 * misc/bits/select2.h (__FD_ELT): Likewise.
11317 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11318 __FD_MASK instead of __FDELT, __FDMASK.
11319 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11320 Likewise.
11321 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11322 Likewise.
11323
52d4fef8
AS
11324 * elf/Makefile (gen-ldd): Fix pattern.
11325
995a80df
AS
11326 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11327 (init_tls): Likewise.
11328
8682f8b0
UD
113292011-09-12 Ulrich Drepper <drepper@gmail.com>
11330
11331 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11332
de82006d
AS
113332011-09-12 Andreas Schwab <schwab@redhat.com>
11334
a7c8e6a1
AS
11335 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11336 `struct cmsghdr *' instead of `void *'.
11337 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11338 Likewise.
11339
0f31fe77
AS
113402011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11341
11342 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11343 if non-absolute.
11344 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11345 ldd_rewrite_script.
0f31fe77 11346
32b4c839
UD
113472011-09-11 Ulrich Drepper <drepper@gmail.com>
11348
83cd1420
UD
11349 * configure.in: Remove --with-tls option.
11350 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11351 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11352 out in case it is missing.
11353 * sysdeps/ia64/elf/configure.in: Likewise.
11354 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11355 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11356 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11357 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11358 * sysdeps/sh/elf/configure.in: Likewise.
11359 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11360 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11361 * sysdeps/x86_64/elf/configure.in: Likewise.
11362 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11363 * sysdeps/mach/hurd/tls.h: Likewise.
11364
633f745d
UD
11365 [BZ #13067]
11366 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11367
f318beb8
UD
11368 [BZ #13090]
11369 * configure.in: Fix use of AC_INIT.
11370
32b4c839
UD
11371 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11372
3ce1f295
UD
113732011-09-10 Ulrich Drepper <drepper@gmail.com>
11374
bb016596
UD
11375 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11376 __set_errno.
8e58439c
UD
11377 * malloc/hooks.c: Likewise.
11378
aebae053 11379 [BZ #11929]
02d46fc4
UD
11380 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11381 variables statically.
11382 (narenas): Initialize.
11383 (list_lock): Initialize.
bb016596
UD
11384 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11385 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11386 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11387 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11388 Add initializers to main_arena and mp_.
11389 (malloc_state): Remove pagesize member. Change all users to use
11390 GLRO(dl_pagesize).
11391
11392 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11393 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11394 is always initialized.
11395
22a89187
UD
11396 * malloc/malloc.c: Removed unused configurations and dead code.
11397 * malloc/arena.c: Likewise.
11398 * malloc/hooks.c: Likewise.
02d46fc4 11399 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11400
d063d164
UD
11401 * include/tls.h: Removed. USE___THREAD must always be defined.
11402 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11403 * elf/dl-libc.c: Likewise.
11404 * elf/dl-tsd.c: Likewise.
11405 * include/errno.h: Likewise.
11406 * include/netdb.h: Likewise.
11407 * include/resolv.h: Likewise.
11408 * inet/herrno-loc.c: Likewise.
11409 * inet/herrno.c: Likewise.
11410 * malloc/arena.c: Likewise.
11411 * malloc/hooks.c: Likewise.
11412 * malloc/malloc.c: Likewise.
11413 * resolv/res-state.c: Likewise.
11414 * resolv/res_libc.c: Likewise.
11415 * sysdeps/i386/dl-machine.h: Likewise.
11416 * sysdeps/ia64/dl-machine.h: Likewise.
11417 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11418 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11419 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11420 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11421 * sysdeps/sh/dl-machine.h: Likewise.
11422 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11423 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11424 * sysdeps/unix/i386/sysdep.S: Likewise.
11425 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11426 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11428 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11430 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11431 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11432 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11433 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11434 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11435 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11436 * sysdeps/x86_64/dl-machine.h: Likewise.
11437 * tls.make.c: Likewise.
11438
3ce1f295
UD
11439 * configure.in: Remove --with-__thread option. Make tests for
11440 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11441 tls_model attribute fail if no support is available. Remove
11442 USE_IN_LIBIO.
11443 * Makeconfig: Adjust for dropped configure option. All features are
11444 now mandatory.
11445 * Makerules: Likewise.
11446 * Versions.def: Likewise.
11447 * argp/argp-fmtstream.c: Likewise.
11448 * argp/argp-fmtstream.h: Likewise.
11449 * argp/argp-help.c: Likewise.
11450 * assert/assert.c: Likewise.
11451 * config.h.in: Likewise.
11452 * config.make.in: Likewise.
11453 * configure: Likewise.
11454 * configure.in: Likewise.
11455 * csu/Versions: Likewise.
11456 * csu/init.c: Likewise.
11457 * elf/tst-audit2.c: Likewise.
11458 * elf/tst-tls10.c: Likewise.
11459 * elf/tst-tls10.h: Likewise.
11460 * elf/tst-tls11.c: Likewise.
11461 * elf/tst-tls12.c: Likewise.
11462 * elf/tst-tls14.c: Likewise.
11463 * elf/tst-tlsmod11.c: Likewise.
11464 * elf/tst-tlsmod12.c: Likewise.
11465 * elf/tst-tlsmod13.c: Likewise.
11466 * elf/tst-tlsmod13a.c: Likewise.
11467 * elf/tst-tlsmod14a.c: Likewise.
11468 * elf/tst-tlsmod15b.c: Likewise.
11469 * elf/tst-tlsmod16a.c: Likewise.
11470 * elf/tst-tlsmod16b.c: Likewise.
11471 * elf/tst-tlsmod7.c: Likewise.
11472 * elf/tst-tlsmod8.c: Likewise.
11473 * elf/tst-tlsmod9.c: Likewise.
11474 * gmon/gmon.c: Likewise.
11475 * grp/fgetgrent_r.c: Likewise.
11476 * grp/putgrent.c: Likewise.
11477 * hurd/fopenport.c: Likewise.
11478 * include/libc-symbols.h: Likewise.
11479 * include/tls.h: Likewise.
11480 * intl/gettextP.h: Likewise.
11481 * intl/loadinfo.h: Likewise.
11482 * locale/global-locale.c: Likewise.
11483 * locale/localeinfo.h: Likewise.
11484 * mach/devstream.c: Likewise.
11485 * malloc/arena.c: Likewise.
11486 * malloc/set-freeres.c: Likewise.
11487 * misc/err.c: Likewise.
11488 * misc/getttyent.c: Likewise.
11489 * misc/mntent_r.c: Likewise.
11490 * posix/getopt.c: Likewise.
11491 * posix/wordexp.c: Likewise.
11492 * pwd/fgetpwent_r.c: Likewise.
11493 * resolv/Versions: Likewise.
11494 * resolv/res_hconf.c: Likewise.
11495 * shadow/fgetspent_r.c: Likewise.
11496 * shadow/putspent.c: Likewise.
11497 * stdio-common/printf_fphex.c: Likewise.
11498 * stdio-common/tmpfile.c: Likewise.
11499 * stdlib/abort.c: Likewise.
11500 * stdlib/fmtmsg.c: Likewise.
11501 * sunrpc/auth_unix.c: Likewise.
11502 * sunrpc/clnt_perr.c: Likewise.
11503 * sunrpc/clnt_tcp.c: Likewise.
11504 * sunrpc/clnt_udp.c: Likewise.
11505 * sunrpc/clnt_unix.c: Likewise.
11506 * sunrpc/openchild.c: Likewise.
11507 * sunrpc/svc_simple.c: Likewise.
11508 * sunrpc/svc_tcp.c: Likewise.
11509 * sunrpc/svc_udp.c: Likewise.
11510 * sunrpc/svc_unix.c: Likewise.
11511 * sunrpc/xdr.c: Likewise.
11512 * sunrpc/xdr_array.c: Likewise.
11513 * sunrpc/xdr_rec.c: Likewise.
11514 * sunrpc/xdr_ref.c: Likewise.
11515 * sunrpc/xdr_stdio.c: Likewise.
11516
1248c1c4
PB
115172011-09-09 Ulrich Drepper <drepper@gmail.com>
11518
11519 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11520
115212011-07-03 Andreas Jaeger <aj@suse.de>
11522
11523 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11525 regenerate with gen-libm-tests.pl.
11526
115272010-05-12 Petr Baudis <pasky@suse.cz>
11528
11529 [BZ #11589]
11530 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11531 around j0() zero points by switching to j1().
11532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11533 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11534 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11535 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11536
f22e1074
UD
115372011-09-09 Ulrich Drepper <drepper@gmail.com>
11538
f19009c1
UD
11539 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11540 instead of 0.
11541 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11542 instead of 0. .
11543 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11544 Patch in part by Pavel Roskin <proski@gnu.org>.
11545
3f8cc204
UD
11546 [BZ #13138]
11547 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11548 realloc.
11549 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11550 Free memory block if necessary.
11551
f22e1074
UD
11552 [BZ #12847]
11553 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11554 be NULL. Don't lock in this case.
11555
0a2349f9
RM
115562011-09-09 Roland McGrath <roland@hack.frob.com>
11557
11558 * elf/elf.h (ELFOSABI_GNU): New macro.
11559 (ELFOSABI_LINUX): Define to that.
11560
f3cdd467
DZ
115612011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11562
11563 * string/strncat.c (strncat): Undef the symbol in case it has been
11564 defined in bits/string.h.
11565
74718d13
UD
115662011-09-09 Ulrich Drepper <drepper@gmail.com>
11567
633e9e0f
UD
11568 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11569
0a2349f9 11570 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11571 link map.
11572
f9924780
AJ
115732011-08-17 Andreas Jaeger <aj@suse.de>
11574
11575 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11576
7f5517aa
PP
115772011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11578 Ian Lance Taylor <iant@google.com>
11579
11580 * math/libm-test.inc (lround_test): New testcase.
11581 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11582
762011fe
UD
115832011-09-08 Ulrich Drepper <drepper@gmail.com>
11584
92963737
UD
11585 * Makefile: Remove support for automatic cvs check-ins.
11586 * Makerules: Likewise.
11587 * config.make.in: Likewise.
11588 * configure.in: Likewise.
11589 * intl/Makefile: Likewise.
11590 * locale/Makefile: Likewise.
11591 * po/Makefile: Likewise.
11592 * posix/Makefile: Likewise.
11593 * sysdeps/gnu/Makefile: Likewise.
11594 * sysdeps/mach/hurd/Makefile: Likewise.
11595 * sysdeps/sparc/sparc32/Makefile: Likewise.
11596
b0727fd8
JS
11597 [BZ #13118]
11598 * posix/Makefile (bug-regex32-ENV): Define.
11599 Patch by John Stanley <jpsinthemix@verizon.net>.
11600
a0f33f99
UD
11601 * misc/Makefile (headers): Add bits/select2.h.
11602 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11603 * misc/bits/select2.h: New file.
11604 * include/bits/select2.h: New file.
11605 * debug/Makefile (routines): Add fdelt_chk.
11606 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11607 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11608 FD_ISSET.
11609 * debug/fdelt_chk.c: New file.
11610
762011fe
UD
11611 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11612 * wcsmbs/test-wmemcmp.c: Likewise.
11613 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11614 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11615
116162011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11617
11618 * string/Makefile (strop-tests): Add memcmp.
11619 * string/test-wmemcmp.c: New file.
11620 * string/test-memcmp.c: Add wmemcmp support.
11621
7f513ec8
RM
116222011-09-08 Roland McGrath <roland@hack.frob.com>
11623
0442afb4
RM
11624 [BZ #13153]
11625 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11626 2011-07-19 change.
11627
7f513ec8
RM
11628 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11629 garbage value in a __mach_port_mod_refs call in the cases of the
11630 task-self and thread-self ports.
11631
a12b2239
ST
116322011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11633
11634 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11635
610f9ab4
AS
116362011-09-08 Andreas Schwab <schwab@redhat.com>
11637
7f513ec8 11638 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11639
48882a1a
LD
116402011-09-07 Ulrich Drepper <drepper@gmail.com>
11641
b49865be
UD
11642 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11643
fdc86bc9
UD
11644 * elf/dl-libc.c (dlerror_run): Pass back error code from
11645 dl_catch_error.
11646
c966526a
UD
11647 [BZ #13123]
11648 * elf/dl-load.c (lose): Free l_origin if it is valid.
11649
48882a1a
LD
11650 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11651 names.
11652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11653 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11654 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11655 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11656 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11657 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11658
77a2a8b4
AZ
116592011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11660
11661 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11662 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11663 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11664 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11665 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11666 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11667 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11668 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11669 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11670 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11671
24f579d8
AM
116722011-08-15 Alan Modra <amodra@gmail.com>
11673
11674 [BZ #13092]
11675 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11676 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11677 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11678 ppc_mcount to static-only-routines.
11679 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11680 __mcount_internal.
11681 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11682 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11683
3d4837df
UD
116842011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11685
11686 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11687 for finite and infinity parameters.
11688
22700377
WS
116892011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11690
11691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11692 and add nop instructions for throughput optimization.
11693 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11694
5025581e
WS
116952011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11696
11697 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11698 aligned copy for power7 with vector-scalar instructions.
11699 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11700
08a300c9
L
117012011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11702
11703 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11704 AVX check.
11705
59178ef9
AS
117062011-09-07 Andreas Schwab <schwab@redhat.com>
11707
11708 [BZ #13144]
11709 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11710 last change.
11711
e38ba7ab
UD
117122011-09-07 Ulrich Drepper <drepper@gmail.com>
11713
11714 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11715 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11716 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11717 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11718 clock_gettime.
11719
d53a73ac
UD
117202011-09-06 Ulrich Drepper <drepper@gmail.com>
11721
fc8bffcc
UD
11722 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11723 Forgot to demangle the pointer.
11724
ceaa0c5d
UD
11725 * sysdeps/i386/sysdep.h: Define atom_text_section.
11726 * sysdeps/x86_64/sysdep.h: Likewise.
11727 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11728 section with atom_text_section.
11729 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11730 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11731 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11732 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11733 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11734
a77d3c17
UD
11735 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11736 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11737 already be defined. Change to take two parameters and don't assign
11738 result to variable. Adjust all users.
11739 Define INTERNAL_GETTIME if not already defined.
11740 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11741 call.
11742 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11743 HAVE_CLOCK_GETTIME_VSYSCALL.
11744 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11745
d53a73ac
UD
11746 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11747 gettimeofday vsyscall, just use time.
11748
a8f84144
AS
117492011-09-06 Andreas Schwab <schwab@redhat.com>
11750
11751 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11752 <errno.h>.
11753
ef606249
UD
117542011-09-06 Ulrich Drepper <drepper@gmail.com>
11755
11756 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11757 syscall on x86-64.
11758 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11759 syscall.
11760 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11761 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11762 syscall if possible.
11763
6585cb60
UD
117642011-09-05 Ulrich Drepper <drepper@gmail.com>
11765
11766 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11767 e_ident. Don't pass to find_mapsXX.
11768 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11769
a5f524e4
LD
117702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11771
11772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11773 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11774 * sysdeps/x86_64/multiarch/strchr.S: Update.
11775 Check bit_slow_BSF bit.
11776 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11777 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11778 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11779
554881ef
UD
117802011-09-05 Ulrich Drepper <drepper@gmail.com>
11781
d96de963
UD
11782 [BZ #13134]
11783 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11784 before glibc 2.15.
11785 (tryshell): Define.
11786 (__spawni): Change last parameter to be flag. Test
11787 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11788 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11789 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11790 * posix/spawni.c: Likewise.
11791 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11792 * posix/spawnp.c: Likewise. Change normal version to use
11793 SPAWN_XFLAGS_USE_PATH.
11794 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11795 SPAWN_XFLAGS_TRY_SHELL.
11796
d48e5868
UD
11797 [BZ #13150]
11798 * posix/glob.h: Remove gcc 1.x support.
11799
554881ef
UD
11800 [BZ #13068]
11801 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11802
693fb948
LD
118032011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11804
11805 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11806 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11807 strrchr-sse2-bsf
11808 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11809 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11810 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11811 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11812 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11813 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11814
1b48c537
UD
118152011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11816
49d42c37
UD
11817 * sysdeps/x86_64/wcscmp.S: New file.
11818
1b48c537
UD
11819 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11820 wcscmp-c wcscmp-sse2
11821 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11822 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11823 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11824 * wcsmbs/wcscmp.c: Allow renaming.
11825
15c95c5d
DM
118262011-09-05 David S. Miller <davem@davemloft.net>
11827
11828 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11829 stack slot, rather than the struct return pointer slot.
11830 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11831 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11833 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11834
2f0ad8f3
UD
118352011-09-05 Ulrich Drepper <drepper@gmail.com>
11836
d88ae418
UD
11837 * po/ja.po: Update from translation team.
11838
2f0ad8f3
UD
11839 [BZ #13144]
11840 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11841 kernel in 64-bit binaries.
11842
5f4318d1
DM
118432011-09-01 David S. Miller <davem@davemloft.net>
11844
11845 * elf/elf.h (HWCAP_SPARC_*): Move to..
11846 * sysdeps/sparc/sysdep.h: this new file and add new values.
11847 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11848 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11849 _DL_HWCAP_COUNT to 24.
11850 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11851 entries.
11852 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11853 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11854 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11855 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11856 instead of magic constants.
11857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11858
3ba57516
DM
118592011-08-31 David S. Miller <davem@davemloft.net>
11860
11861 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11862 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11863 Reimplement to do errno handling inline.
11864 (SYSCALL_ERROR_HANDLER): New macro.
11865 (__SYSCALL_STRING): Do not do errno handling in asm.
11866 (__CLONE_SYSCALL_STRING): Delete.
11867 (__INTERNAL_SYSCALL_STRING): Delete.
11868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11869 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11870 (PSEUDO): Reimplement to do errno handling inline.
11871 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11872 (SYSCALL_ERROR_HANDLER): New macro.
11873 (__SYSCALL_STRING): Do not do errno handling in asm.
11874 (__CLONE_SYSCALL_STRING): Delete.
11875 (__INTERNAL_SYSCALL_STRING): Delete.
11876 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11877 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11878 i386.
11879 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11880 (inline_syscall*): Add 'err' argument.
11881 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11882 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11883 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11884 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11885
11886 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11887 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11888
2bc17433
AS
118892011-08-30 Andreas Schwab <schwab@redhat.com>
11890
11891 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11892
fbeb5f4d
JO
118932011-08-29 Jiri Olsa <jolsa@redhat.com>
11894
11895 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11896 directive.
11897
ad69cc26
DM
118982011-08-24 David S. Miller <davem@davemloft.net>
11899
11900 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11901
39dd69df
AS
119022011-08-24 Andreas Schwab <schwab@redhat.com>
11903
11904 * elf/Makefile: Add rules to build and run unload8 test.
11905 * elf/unload8.c: New file.
11906 * elf/unload8mod1.c: New file.
11907 * elf/unload8mod1x.c: New file.
11908 * elf/unload8mod2.c: New file.
11909 * elf/unload8mod3.c: New file.
11910
11911 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11912 it wasn't used.
11913
2c0b250a
DM
119142011-08-23 David S. Miller <davem@davemloft.net>
11915
11916 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11917 subtract stack bias.
11918 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11919 %sp not %fp in calculations.
11920 (_JMPBUF_UNWINDS_ADJ): Likewise.
11921
22044b48
DM
11922 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11923 (aio_suspend): Call it to force an exception region around the
11924 AIO_MISC_WAIT() invocation.
11925
2cae4995
AS
119262011-08-23 Andreas Schwab <schwab@redhat.com>
11927
11928 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11929 backslash.
11930
873a772e
AJ
119312011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11932
11933 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11934 protection macro.
11935 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11936 and <dl-machine.h>.
11937 (Elf64_FuncDesc): Remove.
11938
25ad0df1
DM
119392011-08-22 David S. Miller <davem@davemloft.net>
11940
11941 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11942 sigaltstack check, add missing cfi directives.
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11944 missing cfi directives, and sigaltstack handling.
11945
e888bcbe
AS
119462011-08-16 Andreas Schwab <schwab@redhat.com>
11947
11948 [BZ #11724]
11949 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11950 object is seen twice.
11951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11952
11953 * elf/Makefile (distribute): Add tst-initorder2.c.
11954 (tests): Add tst-initorder2.
11955 (modules-names): Add tst-initorder2a tst-initorder2b
11956 tst-initorder2c tst-initorder2d. Add rules to build them.
11957 ($(objpfx)tst-initorder2.out): New rule.
11958 * elf/tst-initorder2.c: New file.
11959 * elf/tst-initorder2.exp: New file.
11960
87162f46
AS
119612011-08-22 Andreas Schwab <schwab@redhat.com>
11962
70538b7f
AS
11963 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11964
f55ffe58
AS
11965 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11966 dependencies back to end of function.
11967
87162f46
AS
11968 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11969 $(elfobjdir)/ld.so.
11970
91b392a4
UD
119712011-08-21 Ulrich Drepper <drepper@gmail.com>
11972
11973 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11974 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11975 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11976 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11977 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11978 of __vdso_gettimeofday.
11979 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11980 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11981 attribute_hidden.
11982 (_libc_vdso_platform_setup): Remove initialization of
11983 __vdso_gettimeofday and __vdso_time.
11984
5c43483f
UD
119852011-08-20 Ulrich Drepper <drepper@gmail.com>
11986
775a77e7
UD
11987 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11988 and fgetc_unlocked.
11989 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11990 getc_unlocked.
89f447ed 11991
49c74ba9
UD
11992 * elf/dl-open.c (add_to_global): Report additions to the global scope
11993 for LD_DEBUG=scopes.
11994 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11995 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11996
5c43483f
UD
11997 [BZ #13114]
11998 * stdio-common/Makefile (tests): Add bug24.
11999 * stdio-common/bug24.c: New file.
12000
a101b025
AJ
120012011-08-19 Andreas Jaeger <aj@suse.de>
12002
12003 [BZ #13114]
12004 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
12005 non-existant file when using close-on-exec mode.
12006
c88f1766
UD
120072011-08-20 Ulrich Drepper <drepper@gmail.com>
12008
0276a718
UD
12009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
12010 the very first instruction.
12011
c88f1766
UD
12012 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
12013 the CFI state in the end.
12014 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
12015 inclusion of dl-trampoline.h.
12016 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
12017
51ccffa0
AS
120182011-08-19 Andreas Schwab <schwab@redhat.com>
12019
94d7165f
AS
12020 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
12021 expectations for long double.
12022
51ccffa0
AS
12023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
12024 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
12025
fd708658 120262011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
12027
12028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
12029 artificual limit depends upon the system page size.
12030
44f0a71e
UD
120312011-08-17 Ulrich Drepper <drepper@gmail.com>
12032
12033 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
12034 * resolv/Makefile: Define CFLAGS-libresolv.
12035
8de79a24
AS
120362011-08-17 Andreas Schwab <schwab@redhat.com>
12037
12038 * nss/makedb.c (compute_tables): Make variables used in nested
12039 function static.
12040
27724598
UD
120412011-08-17 Ulrich Drepper <drepper@gmail.com>
12042
c5305d88
UD
12043 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12044 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12045 if buffer was too small.
12046
27724598
UD
12047 * elf/pldd.c (main): Attach to all threads in the process.
12048 Rewrite /proc handling to use *at functions.
12049
076fe015
UD
120502011-08-16 Ulrich Drepper <drepper@gmail.com>
12051
174baab3
UD
12052 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12053 specifies first scope to show.
12054 (dl_open_worker): Update callers. Move printing scope of new
12055 object to before the relocation.
44f0a71e 12056 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12057 * sysdeps/generic/ldsodefs.h: Update declaration.
12058
076fe015
UD
12059 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12060 string for the scope number.
12061
a60df2c3
UD
120622011-08-14 Ulrich Drepper <drepper@gmail.com>
12063
12064 * nscd/servicescache.c (cache_addserv): Make sure written is always
12065 initialized.
12066
5e4287d1
RM
120672011-08-14 Roland McGrath <roland@hack.frob.com>
12068
85ae0589
RM
12069 * sysdeps/i386/i486/bits/atomic.h
12070 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12071 statement expression, so as to suppress "set but not used" warning.
12072 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12073
69f63097
RM
12074 * string/strncat.c (STRNCAT): Use prototype definition.
12075
675456ef
RM
12076 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12077 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12078 -Iprograms here.
12079 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12080 (localedef-modules): Add localedef.
12081 (locale-modules): Add locale.
12082
5e4287d1
RM
12083 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12084 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12085 to avoid a warning.
12086
9c96ff23
DM
120872011-08-14 David S. Miller <davem@davemloft.net>
12088
12089 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12090 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12091
f9ddf089
UD
120922011-08-13 Ulrich Drepper <drepper@gmail.com>
12093
44f0a71e 12094 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12095 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12096 * elf/rtld.c (dl_main): Set l_name of vDSO.
12097 Call _dl_show_scope when DL_DEBUG_SCOPES.
12098 (process_dl_debug): Recognize scopes flag and also set it for all.
12099 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12100 Declare _dl_show_scope.
12101
1dc27704
UD
12102 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12103 (do_dlopen): Pass caller_dlopen to dl_open.
12104 (__libc_dlopen_mode): Initialize caller_dlopen.
12105
f9ddf089
UD
12106 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12107 of libc. Make tolower call locale-independent. Optimize a bit by
12108 using isdigit instead of isalnum.
12109 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12110
9ac533d3
UD
121112011-08-12 Ulrich Drepper <drepper@gmail.com>
12112
12113 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12114 was a dependency or dynamically loaded.
12115
89edf2e9
UD
121162011-08-11 Ulrich Drepper <drepper@gmail.com>
12117
8e999d29
UD
12118 * intl/l10nflist.c: Allow architecture-specific pop function.
12119 * sysdeps/x86_64/l10nflist.c: New file.
12120
89edf2e9
UD
12121 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12122 classification.
12123
14d96785
AS
121242011-08-10 Andreas Schwab <schwab@redhat.com>
12125
12126 * include/dirent.h: Add libc_hidden_proto for scandirat and
12127 scandirat64. Don't declare __scandirat64.
12128 * dirent/scandirat.c: Add libc_hidden_def.
12129 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12130 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12131
6761ac04
DM
121322011-08-10 David S. Miller <davem@davemloft.net>
12133
12134 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12135 enum.
12136 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12138 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12139
c55fbd1e
UD
121402011-08-09 Ulrich Drepper <drepper@gmail.com>
12141
12142 * Versions.def [libc]: Add GLIBC_2.15.
12143 * dirent/Makefile (routines): Add scandirat and scandirat64.
12144 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12145 GLIBC_2.15.
12146 * dirent/dirent.h: Declare scandirat and scandirat64.
12147 * dirent/scandirat.c: New file.
12148 * dirent/scandirat64.c: New file.
12149 * sysdeps/wordsize-64/scandirat.c: New file.
12150 * sysdeps/wordsize-64/scandirat64.c: New file.
12151 * dirent/opendir.c: Define opendirat.
12152 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12153 using scandirat.
12154 * dirent/scandir64.c: Adjust for scandir.c change.
12155 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12156 __scandirat64, and __scandir_cancel_handler.
12157 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12158 additional parameter and use openat instead of open (outside of ld.so).
12159 Add new __opendir as wrapper around __opendirat.
12160 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12161 here without requiring old scandirat implementation.
12162
879165f2
UD
121632011-08-08 Ulrich Drepper <drepper@gmail.com>
12164
12165 * dirent/scandir.c (cancel_handler): Renamed to
12166 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12167 defined. Adjust users.
12168 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12169 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12170
cb7e923b
UD
121712011-08-04 Ulrich Drepper <drepper@gmail.com>
12172
16292edd
UD
12173 * string/test-string.h (IMPL): Use __STRING to expand name and then
12174 stringify it.
12175
cb7e923b
UD
12176 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12177 of cleanups.
12178
cff82933
LD
121792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12180
12181 * string/Makefile: Update.
12182 (strop-tests): Append strncat.
12183 * string/test-wcscmp.c: New file.
12184 New comprehensive test for wcscmp.
12185 * string/test-strcmp.c: Update.
12186 (WIDE): New define.
12187
9be9bfcc
AS
121882011-07-22 Andreas Schwab <schwab@redhat.com>
12189
12190 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12191 line.
12192
2e96f1c7
AS
121932011-07-26 Andreas Schwab <schwab@redhat.com>
12194
12195 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12196 encoding to ACE if AI_IDN.
12197
85188888
JJ
121982011-08-01 Jakub Jelinek <jakub@redhat.com>
12199
12200 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12201 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12202
5fa16e9b
LD
122032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12204
12205 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12206 Fix overflow bug in strncat.
12207 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12208
12209 * string/test-strncat.c: Update.
12210 Add new tests for checking overflow bugs.
12211
122122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12213
12214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12215 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12216 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12217 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12219 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12220 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12221 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12222 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12223
12224 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12225 (USE_AS_STRCAT): Define.
12226 Add strcat and strncat support.
12227 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12228
8c1a459f
AS
122292011-07-25 Andreas Schwab <schwab@redhat.com>
12230
12231 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12232 __n bigger than INT_MAX+1.
12233 (__strncmp_g): Likewise.
12234
bba33c28
UD
122352011-07-23 Ulrich Drepper <drepper@gmail.com>
12236
798be72d
UD
12237 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12238 * libio/stido.h: Likewise.
12239
8accd4dc
UD
12240 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12241 (AF_NFC): Define.
12242 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12243 (AF_NFC): Define.
12244
cbff0d96
UD
12245 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12246 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12247 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12248 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12250
9191c04a
UD
12251 [BZ #13021]
12252 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12253 installed.
12254
bba33c28
UD
12255 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12256 typo.
12257 (_dl_x86_64_save_sse): Likewise.
12258
90f139dd
UD
122592011-07-22 Ulrich Drepper <drepper@gmail.com>
12260
1aae088a
UD
12261 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12262 OSXSAVE.
12263 (_dl_x86_64_save_sse): Likewise.
12264
8e2045f5
UD
12265 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12266
90f139dd
UD
12267 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12268
1d002f25
AS
122692011-07-21 Andreas Schwab <schwab@redhat.com>
12270
12271 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12272 change.
12273 (_dl_x86_64_save_sse): Use correct AVX check.
12274
21137f89
UD
122752011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12276
12277 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12278 bug in strncpy/strncat.
12279 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12280
a65c0b7a
UD
122812011-07-21 Ulrich Drepper <drepper@gmail.com>
12282
12283 * string/tester.c (test_strcat): Add tests for different alignments
12284 of source and destination.
12285 (test_strncat): Likewise.
12286
6986b98a
UD
122872011-07-20 Ulrich Drepper <drepper@gmail.com>
12288
90bb2039
UD
12289 [BZ #12852]
12290 * posix/glob.c (glob): Check passed in values before using them in
12291 expressions to avoid some overflows.
12292 (glob_in_dir): Likewise.
12293
5644ef54
UD
12294 [BZ #13007]
12295 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12296 check for AVX enablement so that we don't crash with old kernels and
12297 new hardware.
12298 * elf/tst-audit4.c: Add same checks here.
12299 * elf/tst-audit6.c: Likewise.
12300
12301 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12302
bfc9dc9b
AS
123032011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12304
12305 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12306
702e64bb
UD
123072011-07-20 Ulrich Drepper <drepper@gmail.com>
12308
12309 * po/cs.po: Update from translation team.
12310 * po/bg.po: Likewise.
12311
295e904f
MP
123122011-07-12 Marek Polacek <mpolacek@redhat.com>
12313
12314 * misc/sys/cdefs.h: Add support for const attribute.
12315 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12316 to gnu_dev_{major,minor,makedev} functions.
12317
3ff94596
MP
123182011-07-20 Marek Polacek <mpolacek@redhat.com>
12319
12320 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12321
28b59fca
AS
123222011-07-20 Andreas Schwab <schwab@redhat.com>
12323
12324 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12325 strlen results.
12326
19df733e
AK
123272011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12328
12329 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12330 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12331 register in order to avoid conflicts with the soft frame pointer
12332 being held in r11 when necessary.
12333 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12334 (INTERNAL_VSYSCALL_NCS): Likewise.
12335
c8835729
MP
123362011-07-14 Marek Polacek <mpolacek@redhat.com>
12337
12338 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12339 * elf/dl-fini.c (_dl_fini): Adjust caller.
12340 * elf/dl-close.c (_dl_close_worker): Likewise.
12341 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12342
b902330c
MP
123432011-07-15 Marek Polacek <mpolacek@redhat.com>
12344
8991e135
MP
12345 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12346 "aux_cache->nlibs < 0".
12347
b902330c
MP
12348 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12349 in the reload-count case.
12350
99710781
LD
123512011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12352
12353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12354 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12355 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12356 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12357 * sysdeps/x86_64/multiarch/strcat.S: New file.
12358 * sysdeps/x86_64/multiarch/strncat.S: New file.
12359 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12360 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12361 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12362 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12364 (USE_AS_STRCAT): Define.
12365 Add strcat and strncat support.
12366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12367 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12368 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12369 * string/strncat.c: Update.
12370 (USE_AS_STRNCAT): Define.
12371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12372 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12373 and i7.
12374 * sysdeps/x86_64/multiarch/init-arch.h
12375 (bit_Prefer_PMINUB_for_stringop): New.
12376 (index_Prefer_PMINUB_for_stringop): Likewise.
12377 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12378 bit_Prefer_PMINUB_for_stringop.
12379
7dc6bd90
UD
123802011-07-19 Ulrich Drepper <drepper@gmail.com>
12381
12382 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12383 buffer64.
12384 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12385 of casting of buffer.
12386 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12387 buffer32 and buffer64.
12388 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12389 writes instead of casting of buffer.
12390 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12391 buffer32.
12392 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12393 casting of buffer.
12394
e0e72284
AS
123952011-07-19 Andreas Schwab <schwab@redhat.com>
12396
12397 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12398
feb1eb0b
UD
123992011-07-19 Ulrich Drepper <drepper@gmail.com>
12400
12401 * nscd/nscd.c (termination_handler): Don't do anything for a database
12402 if it has not yet been initialized.
12403
298711ff
UD
124042011-07-18 Ulrich Drepper <drepper@gmail.com>
12405
12406 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12407
124082011-07-15 Marek Polacek <mpolacek@redhat.com>
12409
12410 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12411
f9d68389
UD
124122011-07-18 Ulrich Drepper <drepper@gmail.com>
12413
12414 * po/nl.po: Update from translation team.
12415 * po/sv.po: Likewise.
12416
db290cf5
RM
124172011-07-16 Roland McGrath <roland@hack.frob.com>
12418
12419 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12420 now disallowed by GCC.
5c550700 12421
fd5e21c7
RM
12422 * configure.in (use-default-link): Default to yes if a test -shared
12423 link meets our qualifications.
12424 * configure: Regenerated.
12425
5c550700
RM
12426 * config.make.in (output-format): New variable.
12427 * configure.in: Check for ld --print-output-format support.
12428 * configure: Regenerated.
12429 * Makerules ($(common-objpfx)format.lds)
12430 [$(output-format) != unknown]: Just use $(output-format),
12431 instead of the linker-script munging.
12432
9fa2c032
RM
124332011-07-14 Roland McGrath <roland@hack.frob.com>
12434
a6928d51
RM
12435 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12436 of $(common-objpfx)shlib.lds.
12437 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12438
661607b3
RM
12439 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12440 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12441
9fa2c032
RM
12442 * configure.in (-z relro check): Adjust test code to add a large
12443 writable data section after it.
12444 * configure: Regenerated.
12445
defe9061
RM
124462011-07-11 Roland McGrath <roland@hack.frob.com>
12447
12448 * configure.in (-z relro check): Fix test code to make the variable
12449 truly const.
12450 * configure: Regenerated.
12451
319b9ad4
UD
124522011-07-11 Ulrich Drepper <drepper@gmail.com>
12453
12454 * nscd/nscd.h (struct traced_file): Define.
12455 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12456 elements. Add traced_files.
12457 (inotify_fd): Declare.
12458 (register_traced_file): Declare.
12459 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12460 (inotify_fd): Export.
12461 (resolv_conf_descr): Remove.
12462 (nscd_init): Move inotify descriptor creation to main.
12463 Don't register files for notification here.
12464 (register_traced_file): New function.
12465 (invalidate_cache): Don't use reset_res to determine whether to call
12466 res_init, go through the list of registered files.
12467 (main_loop_poll): The inotify descriptors are now stored in the
12468 structures for the traced files.
12469 (main_loop_epoll): Likewise
12470 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12471 to __nss_disable_nscd.
12472 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12473 for a database anymore. Check the records for all the registered
12474 files instead.
12475 * nss/Makefile (libnss_files-routines): Add files-init.
12476 (libnss_db-routines): Add db-init.
12477 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12478 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12479 * nss/nss_db/db-init.c: New file.
12480 * nss/nss_files/files-init.c: New file.
12481 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12482 __nss_lookup_function.
12483 (__nss_lookup_function): Call nss_load_library.
12484 (nss_load_all_libraries): New function.
12485 (__nss_disable_nscd): Take parameter with callback function for files
12486 to register. Set is_nscd. Load all the DSOs for the NSS modules
12487 used for the cached services.
12488 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12489 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12490 options for features to all the files in nscd.
12491
12492 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12493
23bee3e8
RM
124942011-07-10 Roland McGrath <roland@hack.frob.com>
12495
12496 * csu/elf-init.c (__libc_csu_init): Comment typo.
12497
46a5b7f0
UD
124982011-07-09 Ulrich Drepper <drepper@gmail.com>
12499
12500 * po/pl.po: Update from translation team.
12501 * po/ja.po: Likewise.
12502 * po/ru.po: Likewise.
12503 * po/ko.po: Likewise.
12504 * po/fr.po: Likewise.
12505
d30cf5bb
RM
125062011-07-09 Roland McGrath <roland@hack.frob.com>
12507
113ddea4
RM
12508 * configure.in (.ctors/.dtors header and trailer check):
12509 Use an empirical test on a built program.
12510 * configure: Regenerated.
12511
574920b4
RM
12512 * configure.in (-z relro check): Use an empirical test on a built DSO.
12513 Detect, but do not require, on ia64.
12514 * configure: Regenerated.
12515
d30cf5bb
RM
12516 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12517 Update tests that use readelf to use $READELF instead.
12518 * configure: Regenerated.
12519
8538fdb3
UD
125202011-07-08 Ulrich Drepper <drepper@gmail.com>
12521
12522 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12523 if the result is not used.
12524
04d08991
AJ
125252011-07-05 Andreas Jaeger <aj@suse.de>
12526
12527 [BZ#9696]
12528 * stdlib/tst-strtod.c: Add testcase.
12529
de283087
AD
125302011-07-07 Ulrich Drepper <drepper@gmail.com>
12531
4e5f31c8 12532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12533 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12534 The latter has a higher limit. Take additional parameter to pass to
12535 the new function.
12536 (__pathconf): Pass file to __statfs_link_max.
12537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12538 __statfs_link_max.
12539 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12540 __statfs_link_max.
12541
de283087
AD
12542 [BZ #12868]
12543 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12544 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12545 Handle Lustre.
12546 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12547 (__statfs_filesize_max): Likewise.
12548 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12549
c75fa153
AJ
125502011-07-05 Andreas Jaeger <aj@suse.de>
12551
12552 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12553
1a544854
UD
125542011-07-06 Marek Polacek <mpolacek@redhat.com>
12555
12556 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12557 `status' variable.
12558 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12559 Likewise.
12560
6f0eec67
UD
125612011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12562
12563 * Makefile (strop-tests): Add strncat.
12564 * string/test-strncat.c: New file.
12565
aae30307
UD
125662011-06-30 Marek Polacek <mpolacek@redhat.com>
12567
12568 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12569
c0cfb5eb
UD
125702011-06-21 Andreas Jaeger <aj@suse.de>
12571
12572 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12573 Copy rule from iconvdata/Makefile.
12574
01636b21
UD
125752011-07-06 Ulrich Drepper <drepper@gmail.com>
12576
12577 [BZ #12922]
12578 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12579 but no long options are defined, just return 'W'.
12580
9895c8bc
UD
125812011-06-22 Marek Polacek <mpolacek@redhat.com>
12582
12583 [BZ #9696]
12584 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12585
5d4cf042
UD
125862011-07-06 Ulrich Drepper <drepper@gmail.com>
12587
12588 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12589 netgroups to read.
960e5535 12590 (innetgr): Likewise.
5d4cf042 12591
751eb97e
RM
125922011-07-05 Roland McGrath <roland@hack.frob.com>
12593
12594 * config.make.in (install_root): Default to $(DESTDIR).
12595
f15f1e45
UD
125962011-07-05 Ulrich Drepper <drepper@gmail.com>
12597
12598 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12599
4e34ac6a
RM
126002011-07-02 Roland McGrath <roland@hack.frob.com>
12601
5e9b6af4
RM
12602 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12603
84f9ea0f
RM
12604 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12605 containing directory rather than embedding absolute directory names.
12606
ea5ee9f7
RM
12607 * scripts/check-local-headers.sh: Rewritten using awk.
12608 Match by word, not by line. Print error messages for matches.
12609 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12610
1b74661a
RM
12611 * Makerules [shlib-lds-flags empty]:
12612 ($(common-objpfx)libc_pic.opts): New target.
12613 ($(common-objpfx)libc_pic.os.clean): New target.
12614 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12615
12616 * config.make.in (OBJCOPY): New variable.
12617 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12618 * configure: Regenerated.
12619
f781ef40
RM
12620 * config.make.in (use-default-link): New variable.
12621 * configure.in (use_default_link): Grok --with-default-link to set it.
12622 * configure: Regenerated.
12623 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12624 (shlib-lds, shlib-lds-flags): Define to empty.
12625
2d4fa81e
RM
12626 * Makerules (shlib-lds): New variable.
12627 (shlib-lds-flags): New variable.
12628 (build-shlib, build-moduile, build-module-asneeded): Use it.
12629 ($(common-objpfx)libc.so): Use $(shlib-lds).
12630 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12631 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12632
31fffa6b
RM
12633 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12634 DT_FLAGS/DT_FLAGS_1 with zero flags.
12635
4e34ac6a
RM
12636 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12637 linker script munging.
12638
fcfc776b
UD
126392011-07-02 Ulrich Drepper <drepper@gmail.com>
12640
12641 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12642 as 128-bit value.
12643 * crypt/sha512.c (sha512_process_block): Perform total addition using
12644 128-bit if possible.
12645 (__sha512_finish_ctx): Likewise.
12646 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12647 as 64-bit value.
12648 * crypt/sha256.c (SWAP64): Define.
12649 (sha256_process_block): Perform total addition using 64-bit if
12650 possible.
12651 (__sha256_finish_ctx): Likewise.
12652
99231d9a
UD
126532011-07-01 Ulrich Drepper <drepper@gmail.com>
12654
12655 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12657 * nscd/hstcache.c (cache_addhst): Likewise.
12658 * nscd/grpcache.c (cache_addgr): Likewise.
12659 * nscd/aicache.c (addhstaiX): Likewise
12660 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12661
445b4a53
TK
126622011-07-01 Thorsten Kukuk <kukuk@suse.de>
12663
12664 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12665 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12666 * nscd/hstcache.c (cache_addhst): Likewise.
12667 * nscd/grpcache.c (cache_addgr): Likewise.
12668 * nscd/aicache.c (addhstaiX): Likewise
12669
6d4d8e8e
AS
126702011-07-01 Andreas Schwab <schwab@redhat.com>
12671
12672 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12673 domain only when needed.
12674
89f654c5
AS
126752011-06-30 Andreas Schwab <schwab@redhat.com>
12676
12677 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12678 is always restored.
12679
cf3b23ff
UD
126802011-06-29 Ulrich Drepper <drepper@gmail.com>
12681
12682 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12683 are re-adding the entry.
12684 * nscd/servicescache.c (cache_addserv): Likewise.
12685
751626f9
AJ
126862011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12687
12688 * sysdeps/generic/dl-irel.h: fix protection against multiple
12689 inclusions.
12690 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12691
9113ea1f
UD
126922011-06-28 Ulrich Drepper <drepper@gmail.com>
12693
5c0b8d90
UD
12694 [BZ #12935]
12695 * malloc/memusage.sh: Fix quoting in message.
12696 * debug/xtrace.sh: Likewise.
12697
9113ea1f
UD
12698 * configure.in: Remove support for --experimental-malloc option, make
12699 it the default.
12700 * config.make.in: Likewise.
12701 * malloc/Makefile: Likewise.
12702
a4172181
AS
127032011-06-27 Andreas Schwab <schwab@redhat.com>
12704
12705 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12706 two-byte characters.
12707
78a7eee7
RM
127082011-06-27 Roland McGrath <roland@hack.frob.com>
12709
62bede13
RM
12710 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12711 AC_CACHE_CHECK invocation.
12712 * configure: Regenerated.
12713
78a7eee7
RM
12714 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12715
5ce33a62
UD
127162011-06-27 Ulrich Drepper <drepper@gmail.com>
12717
034807a9
UD
12718 [BZ #12350]
12719 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12720 bit from old_res_options.
12721
4902da17
UD
12722 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12723
5ce33a62
UD
12724 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12725 value type for setfct.
12726
c2344f56
L
127272011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12730 __gettimeofday instead of gettimeofday.
12731
68468076
UD
127322011-06-26 Ulrich Drepper <drepper@gmail.com>
12733
12734 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12735
acb0d739
L
127362011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12737
12738 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12739
12740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12741 info.
12742
8912479f
L
127432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12744
12745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12746 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12747 strcpy-sse2-unaligned strncpy-sse2-unaligned
12748 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12749 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12750 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12751 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12752 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12753 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12754 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12755 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12756 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12757 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12758 (STRCPY): Support SSE2 and SSSE3 versions.
12759
d5495a11
UD
127602011-06-24 Ulrich Drepper <drepper@gmail.com>
12761
12762 [BZ #12874]
12763 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12764 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12765 kernels which artificially limit size of requests.
12766
0b1cbaae
L
127672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12768
12769 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12770 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12771 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12772 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12773 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12774 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12775 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12776 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12777 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12778 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12779 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12780 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12781 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12782 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12783 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12785 Enable unaligned load optimization for Intel Core i3, i5 and i7
12786 processors.
12787 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12788 Define.
12789 (index_Fast_Unaligned_Load): Define.
12790 (HAS_FAST_UNALIGNED_LOAD): Define.
12791
07f494a0
MP
127922011-06-23 Marek Polacek <mpolacek@redhat.com>
12793
12794 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12795
fa3fc0fe
UD
127962011-06-22 Ulrich Drepper <drepper@gmail.com>
12797
12798 [BZ #12907]
12799 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12800 until it is clear that the information is realy needed.
12801 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12802
e12df166
AS
128032011-06-22 Andreas Schwab <schwab@redhat.com>
12804
12805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12806
852eb34d
UD
128072011-06-22 Ulrich Drepper <drepper@gmail.com>
12808
84e2a551
UD
12809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12810 /sys/devices/system/cpu/online if it is usable.
12811
852eb34d
UD
12812 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12813 reading the information from the /proc filesystem to once a second.
12814
6e502e19
UD
128152011-06-21 Andreas Jaeger <aj@suse.de>
12816
12817 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12818 NULL after inclusion of kernel headers.
12819
75d39ff2
UD
128202011-06-21 Ulrich Drepper <drepper@gmail.com>
12821
51f9aa6a
UD
12822 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12823 calls to internal_setent.
12824
c0244a9d
UD
12825 [BZ #12885]
12826 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12827 addresses using gethostbyname4_r ignore IPv4 addresses.
12828
c5e3c2ae
UD
12829 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12830 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12831
75d39ff2
UD
12832 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12833
42675c6f
DM
128342011-06-20 David S. Miller <davem@davemloft.net>
12835
12836 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12837 inclusions.
12838 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12839
12840 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12841 (elf_irel): Use it.
12842 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12843 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12844 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12845 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12846 * sysdeps/x86_64/dl-irel.h: Likewise.
12847
12848 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12849 * elf/dl-sym.c: Likewise.
12850
57912a71
UD
128512011-06-15 Ulrich Drepper <drepper@gmail.com>
12852
12853 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12854 need to dereference resplen2.
12855
ee22793d
AS
128562011-06-14 Andreas Schwab <schwab@redhat.com>
12857
12858 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12859
a9e836b0
UD
128602011-06-15 Ulrich Drepper <drepper@gmail.com>
12861
77fb9117
UD
12862 * Makeconfig: Define vardbdir and inst_vardbdir.
12863 * nss/Makefile: Add rules to install db-Makefile.
12864
40c1b22c
UD
12865 * nss/nss_db/db-XXX.c: Cleanup.
12866
9f2da732
UD
12867 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12868 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12869 GLIBC_PRIVATE.
12870 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12871 * nss/makedb.c: Implement -g option to specify that value strings
12872 are generated and should not be added to table iterated over for
12873 get*ent calls.
12874 * nss/nss_db/db-initgroups.c: New file.
12875
82e9a1f7
UD
12876 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12877 interface.
12878
c41af17e
UD
12879 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12880 (internal_getgrouplist): Adjust to name change.
12881 Update use_initgroups_entry if this is not the first call.
12882 * nss/databases.def: Add initgroups entry.
12883
a9e836b0
UD
12884 * nss/makedb.c (compute_tables): Check result of multiple hash table
12885 sizes to minimize maximum chain length.
12886
2666d441
UD
128872011-06-14 Ulrich Drepper <drepper@gmail.com>
12888
12889 * Versions.def: Add entry for libnss_db.
12890 * shlib-versions: Likewise.
12891 * nss/Makefile: Add rules to build libnss_db.
12892 * nss/Versions: Add libnss_db information. Organize libnss_files
12893 entries better.
12894 * nss/db-Makefile: Add gshadow support. Change rules for the new
12895 makedb progra. Some minor improvements to generate smaller files.
12896 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12897 here from...
12898 * nss/makedb.c: ...here.
12899 Improve database format to be smaller and require less memory at
12900 runtime.
12901 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12902 db anymore.
12903 * nss/nss_db/db-netgrp.c: Likewise.
12904 * nss/nss_db/db-open.c: Likewise.
12905 * nss/nss_files/flies-XXX.x: Adjust comments.
12906 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12907 * nss/nss_files/files-grp.c: Likewise.
12908 * nss/nss_files/files-hosts.c: Likewise.
12909 * nss/nss_files/files-network.c: Likewise.
12910 * nss/nss_files/files-proto.c: Likewise.
12911 * nss/nss_files/files-pwd.c: Likewise.
12912 * nss/nss_files/files-rpc.c: Likewise.
12913 * nss/nss_files/files-service.c: Likewise.
12914 * nss/nss_files/files-sgrp.c: Likewise.
12915 * nss/nss_files/files-spwd.c: Likewise.
12916 * nss/nss_db/db-alias.c: Removed.
12917 * nss/nss_db/dummy-db.h: Removed.
12918
9ee76b5a
UD
129192011-06-02 Ulrich Drepper <drepper@gmail.com>
12920
12921 * nss/makedb.c: Rewritten to not use database library.
12922 * nss/Makefile: Update to build new makedb program.
12923
c71ca1f8
AJ
129242011-06-14 Andreas Jaeger <aj@suse.de>
12925
12926 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12927 memset declaration.
12928
3154bfb8
UD
129292011-06-10 Andreas Schwab <schwab@redhat.com>
12930
12931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12932 tmpbuf.
12933
b350afab
RM
129342011-06-10 Roland McGrath <roland@hack.frob.com>
12935
decd4e50
RM
12936 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12937 * elf/Makefile ($(objpfx)ld.so): Likewise.
12938
5615eaf2
RM
12939 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12940 Don't list ld.so twice in dependencies.
12941
12942 * posix/bug-regex31.c: Include <stdlib.h>.
12943
12944 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12945
12946 * nis/nss_compat/compat-spwd.c
12947 (getspent_next_nss_netgr): Remove unused variable.
12948 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12949
12950 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12951 nonmembers" output to use the right array.
12952
12953 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12954
12955 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12956
12957 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12958 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12959 * catgets/gencat.c (read_input_file): Likewise.
12960 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12961
12962 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12963 variable definition inside #if's controlling its use.
12964
12965 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12966
12967 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12968
12969 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12970
12971 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12972 unreachable code.
12973
12974 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12975
b68e08db
RM
12976 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12977 * configure: Regenerated.
12978
b350afab
RM
12979 * Makerules: Revert last change.
12980 * elf/Makefile: Likewise.
12981
28368601
RM
129822011-06-09 Roland McGrath <roland@hack.frob.com>
12983
12984 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12985 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12986 (reloc-link): Likewise.
12987
11988f8f
UD
129882011-06-09 Ulrich Drepper <drepper@gmail.com>
12989
12990 * elf/Makefile: Add rules to build pldd.
12991 * elf/pldd.c: New file.
12992 * elf/pldd-xx.c: New file.
12993
e80fab37
UD
129942011-06-07 Ulrich Drepper <drepper@gmail.com>
12995
12996 * version.h: Update for 2.15 development version.
12997
9b849836
DM
129982011-06-07 David S. Miller <davem@davemloft.net>
12999
13000 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
13001 ifuncs.
13002 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
13003 elf_machine_lazy_rel): Likewise.
13004 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
13005 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
13006 elf_machine_lazy_rel): Likewise.
13007 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
13008 dl_hwcap via passed in argument.
13009 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
13010 Likewise.
13011
5a31b283
AK
130122011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13013
13014 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
13015
069e52f8
RM
130162011-06-06 Roland McGrath <roland@hack.frob.com>
13017
13018 [BZ #12849]
13019 * manual/fdl-1.1.texi: New file, verbatim from:
13020 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
13021 * manual/lgpl-2.1.texi: New file, verbatim from:
13022 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
13023 * manual/Makefile (licenses): New variable, list those new file names.
13024 (texis): Use it.
13025 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
13026
13027 * manual/fdl.texi: File removed.
13028 * manual/lesser.texi: File removed.
13029 * manual/libc.texinfo (Copying, Documentation License):
13030 Use new @include file names, put @appendix directive before @include.
13031
f16846a5
JJ
130322011-06-04 Jakub Jelinek <jakub@redhat.com>
13033
13034 [BZ #12841]
13035 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
13036 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
13037 (mq_open): Add __NTH.
13038
3d29045b
L
130392011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13040
13041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13042 Assume Intel Core i3/i5/i7 processor if AVX is available.
13043
8c297311
UD
130442011-05-31 Ulrich Drepper <drepper@gmail.com>
13045
13046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13047 typo.
13048
c8fc0c91
UD
130492011-05-31 Andreas Schwab <schwab@redhat.com>
13050
13051 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13052 memory. Use alloca_account. Fix memory leak when retrying.
13053
5b27a807
UD
130542011-05-31 Ulrich Drepper <drepper@gmail.com>
13055
356f8bc6
UD
13056 * version.h (RELEASE): Bump for 2.14 release.
13057 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13058
5b27a807
UD
13059 * config.make.in (RANLIB): Remove entry.
13060
01f16ab0
UD
130612011-05-30 Ulrich Drepper <drepper@gmail.com>
13062
41fce8bd
UD
13063 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13064 (libc.pot): Work around missing support for .ksh extension in xgettext.
13065
4769ae77
UD
13066 [BZ #12684]
13067 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13068 if both request failed.
13069 (send_dg): In case of server errors clear resplen or *resplen2.
13070
6b1e7d19
UD
13071 [BZ #12454]
13072 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13073 when there are multiple maps.
13074 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13075 (_dl_fini): Remove test here.
13076
01f16ab0
UD
13077 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13078
b1ebd700
UD
130792011-05-29 Ulrich Drepper <drepper@gmail.com>
13080
7ae22829
UD
13081 [BZ #12350]
13082 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13083 bit from old_res_options.
13084 (gaih_inet): Likewise.
13085
553149f6 13086 [BZ #11099]
18a84741 13087 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13088 as signed.
13089
652ffab1
UD
13090 * resolv/res_init.c (res_setoptions): Make the code more compact.
13091
16985fd0
UD
13092 [BZ #11558]
13093 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13094 set RES_USEVC.
13095
0464f746
UD
13096 [BZ #11634]
13097 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13098
7d17596c
UD
13099 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13100
cf6bbbd7
UD
13101 [BZ #11781]
13102 * malloc/malloc.h: Declare malloc hook variables as volatile.
13103
13f1ab36
UD
13104 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13105 in last patch.
13106
b1ebd700
UD
13107 [BZ #11799]
13108 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13109 raise in the comment.
80e2212d
UD
13110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13112 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13113
ce67228d
UD
131142011-05-28 Ulrich Drepper <drepper@gmail.com>
13115
8887a920
UD
13116 [BZ #12811]
13117 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13118 grow the buffers more if it already has to be sufficient.
13119 (build_wcs_upper_buffer): Likewise.
13120 * posix/regexec.c (check_matching): Likewise.
13121 (clean_state_log_if_needed): Likewise.
13122 (extend_buffers): Don't enlarge buffers beyond size of the input
13123 buffer.
13124 Patches mostly by Emil Wojak <emil@wojak.eu>.
13125 * posix/bug-regex32.c: New file.
13126 * posix/Makefile (tests): Add bug-regex32.
13127
4f031072
UD
13128 * locale/findlocale.c (_nl_find_locale): Return right away if
13129 _nl_explode_name failed.
13130 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13131
d0478f0c
UD
13132 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13133
de81b246
UD
13134 * debug/xtrace.sh: Unify messages.
13135 * malloc/memusage.sh: Likewise.
13136
c738465a
UD
13137 [BZ #12813]
13138 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13139 time symbol from vDSO. Substitute with vsyscall if not available.
13140 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13141 __vdso_time.
13142
f1f929d7
UD
13143 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13144 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13146 Add sendmmsg and internal_sendmmsg.
13147 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13148 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13149 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13150
ce67228d
UD
13151 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13152 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13153 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13154
e57420c6
UD
131552011-05-27 Ulrich Drepper <drepper@gmail.com>
13156
a8509ca5
UD
13157 [BZ #12813]
13158 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13159 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13160 available.
13161 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13162 __vdso_getcpu.
13163
e57420c6
UD
13164 [BZ #12814]
13165 * iconvdata/Makefile (tests): Add bug-iconv9.
13166 * iconvdata/bug-iconv9.c: New file.
13167
4d07db15
AS
131682011-05-27 Andreas Schwab <schwab@redhat.com>
13169
13170 [BZ #12814]
13171 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13172
ea486f69
JJ
131732011-05-25 Jakub Jelinek <jakub@redhat.com>
13174
13175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13176 (struct user_regs_struct): Change intcs field back to cs.
13177
6f038433
UD
131782011-05-25 Ulrich Drepper <drepper@gmail.com>
13179
13180 * po/ja.po: Update from translation team.
13181
67f86a25
UD
131822011-05-23 Ulrich Drepper <drepper@gmail.com>
13183
13184 [BZ #12795]
13185 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13186 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13187
def7fbd6
AS
131882011-05-20 Andreas Schwab <schwab@redhat.com>
13189
13190 * stdlib/longlong.h: Update from GCC.
13191
f50ef8f1
AS
131922011-05-23 Andreas Schwab <schwab@redhat.com>
13193
13194 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13195 parameter name.
13196 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13197 Add parameter name.
13198 (__sysconf): Pass it down.
13199
de7ce8f1
UD
132002011-05-22 Ulrich Drepper <drepper@gmail.com>
13201
f2962a71
UD
13202 [BZ #12671]
13203 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13204 some situations.
13205 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13206 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13207 add in in __libc_use_alloca calls. Adjust callers.
13208 (glob): Use malloc in some situations.
13209
de7ce8f1
UD
13210 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13211 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13212 pltexit.
13213
aec84f53
UD
132142011-05-21 Ulrich Drepper <drepper@gmail.com>
13215
05bb4a68
UD
13216 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13217 and CLOCK_BOOTTIME_ALARM.
13218
7ea72f99
UD
13219 [BZ #12782]
13220 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13221 is returned.
13222
7e4afad5
UD
13223 * string/_strerror.c (__strerror_r): Print negative errors as signed
13224 numbers.
13225
8e211fec
UD
13226 [BZ #12777]
13227 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13228 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13229 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13230
f7d82dc9
UD
13231 * configure.in: Fix typo in redirection and correct removal of test
13232 files in two cases.
13233
cc9e536d
UD
13234 [BZ #12788]
13235 * locale/setlocale.c (new_composite_name): Fix test to check for
13236 identical name of all categories.
13237
aec84f53
UD
13238 [BZ #12792]
13239 * libio/filedoalloc.c (local_isatty): New function.
13240 (_IO_file_doallocate): Use local_isatty.
13241 * stdio-common/perror.c (perror): In case a new stream is used
13242 forward the stream error.
13243 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13244 error flag.
13245
78e64fdc
RT
132462011-05-20 Ulrich Drepper <drepper@gmail.com>
13247
34a9094f
UD
13248 [BZ #11869]
13249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13250 alloca.
13251 * include/alloca.h (extend_alloca_account): Define.
13252
78e64fdc
RT
13253 [BZ #11857]
13254 * posix/regex.h: Fix comments with documentation of user-accessible
13255 fields after compilation and describe correct free'ing of pattern
13256 after re_compile_pattern.
13257 Patch by Reuben Thomas <rrt@sc3d.org>.
13258
457bddfc
RA
132592011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13260
13261 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13262 and -mno-altivec to prevent the compiler from using Altivec and/or
13263 VSX instructions when the corresponding registers are not available.
13264
a4527b51
AS
132652011-05-19 Andreas Schwab <schwab@redhat.com>
13266
13267 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13268
ed690b2f
UD
132692011-05-19 Ulrich Drepper <drepper@gmail.com>
13270
13271 * libio/freopen.c (freopen): Use __dup2, not dup2.
13272 * libio/freopen64.c (freopen64): Likewise.
13273
8db73634
L
132742011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13275
13276 [BZ #12775]
13277 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13278 * math/Makefile (tests): Add test-powl.
13279 (CFLAGS-test-powl.c): Define.
13280 * math/test-powl.c: New file.
13281
0a197a9d
L
132822011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13283
13284 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13285
ee30c380
UD
132862011-05-17 Ulrich Drepper <drepper@gmail.com>
13287
13288 [BZ #11837]
13289 * iconvdata/gb18030.c: Update to GB18020-2005.
13290
6ce75379
UD
132912011-05-16 Ulrich Drepper <drepper@gmail.com>
13292
a4b89fd8
AR
13293 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13294 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13295 Patch by Aharon Robbins <arnold@skeeve.com>.
13296
ea389b12
UD
13297 [BZ #11892]
13298 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13299 on the stack.
13300
68a3f91f
UD
13301 [BZ #11895]
13302 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13303 through underflows.
13304
15cc7dd1
UD
13305 [BZ #12766]
13306 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13307 point to strings before performing equality test for error_one_per_line
13308 mode.
13309
f3799213
UD
13310 [BZ #11697]
13311 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13312
d79a9c94
UD
13313 [BZ #11820]
13314 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13315 (struct user_fpregs_struct): Avoid __uint*_t types.
13316
56e5eb46
UD
13317 [BZ #6420]
13318 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13319 symbol info. Use it instead of calling _dl_addr locally.
13320 (lock_and_info): New function.
13321 (tr_freehook): Call lock_and_info and pass symbol info as additional
13322 parameter to tr_where.
13323 (tr_mallochook): Likewise.
13324 (tr_reallochook): Likewise.
13325 (tr_memalignhook): Likewise.
13326
6ce75379
UD
13327 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13328 used and couldn't be at all thread-safe.
13329
f8a3b5bf
UD
133302011-05-15 Ulrich Drepper <drepper@gmail.com>
13331
94b7cc37
UD
13332 * libio/freopen.c (freopen): Don't close old file descriptor
13333 before the new one is opened. Instead dup the new file descriptor
13334 to the old one after the new stream is created.
13335 * libio/freopen64.c (freopen64): Likewise.
13336 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13337 * libio/fileops.c (_IO_new_file_close_it): Handle new
13338 _IO_FLAGS2_NOCLOSE flag.
13339 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13340 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13341 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13342 _IO_FLAGS2_NOCLOSE flag.
13343 * include/unistd.h: Add hidden_proto for dup3.
13344 Define __have_dup3.
13345 * io/dup3.c: Define hidden symbol.
13346 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13347
bd25564e
UD
13348 [BZ #7101]
13349 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13350 when an incomplete long option is used.
13351 * posix/tst-getopt_long1.c: New file.
13352 * posix/Makefile (tests): Add tst-getopt_long1.
13353
c84cfef4
UD
13354 [BZ #10138]
13355 * scripts/config.guess: Update from autoconf-2.68.
13356 * scripts/config.sub: Likewise.
13357
3b85df27
UD
13358 [BZ #10157]
13359 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13360 tests into ...
13361 (has_cpuclock): ...this. New function.
13362 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13363 macro here based on has_cpuclock code.
13364
15a856b1
UD
13365 [BZ #10149]
13366 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13367 First byte (not low byte) is now always NUL.
13368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13369
05f399e6
UD
13370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13371 Use non-cancelable interfaces.
13372
10a52685 13373 [BZ #9809]
94ecc67d
UD
13374 * locale/iso-639.def: Add entry for Sorani.
13375
f8a3b5bf
UD
13376 [BZ #11901]
13377 * include/stdlib.h: Move include protection to the right place.
13378 Define abort_msg_s. Declare __abort_msg with it.
13379 * stdlib/abort.c (__abort_msg): Adjust type.
13380 * assert/assert.c (__assert_fail_base): New function. Majority
13381 of code from __assert_fail. Allocate memory for __abort_msg with
13382 mmap.
13383 (__assert_fail): Now call __assert_fail_base.
13384 * assert/assert-perr.c: Remove bulk of implementation. Use
13385 __assert_fail_base.
13386 * include/assert.hL Declare __assert_fail_base.
13387 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13388 mmap.
13389 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13390
1af4e298
UD
133912011-05-14 Ulrich Drepper <drepper@gmail.com>
13392
f8a3b5bf 13393 [BZ #11952]
d26dfc60
MG
13394 [BZ #12453]
13395 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13396 until all modules are registered in the DTV.
13397 * elf/Makefile: Add rules to build and run tst-tls19.
13398 * elf/tst-tls19.c: New file.
13399 * elf/tst-tls19mod1.c: New file.
13400 * elf/tst-tls19mod2.c: New file.
13401 * elf/tst-tls19mod3.c: New file.
13402 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13403
2fc54d6f
UD
13404 [BZ #12083]
13405 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13406 correctly.
13407
98d76b46
UD
13408 [BZ #12601]
13409 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13410 two-byte sequence errors.
13411 * iconvdata/Makefile (tests): Add bug-iconv8.
13412 * iconvdata/bug-iconv8.c: New file.
13413
da3c19ef
UD
13414 [BZ #12626]
13415 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13416 buf2 definition.
13417
ca408c15
UD
13418 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13419
d6f67f7d
UD
13420 [BZ #12432]
13421 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13422 (dummy_getcfa): New function.
13423 (init): Get _Unwind_GetCFA address, use dummy if not found.
13424 (backtrace_helper): In recursion check, also check whether CFA changes.
13425 (__backtrace): Completely initialize arg.
13426
1af4e298 13427 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13428 storing incomplete byte sequence in state object. Avoid testing for
13429 guaranteed too small input if we know there is enough data available.
1af4e298 13430
da62f81b
AS
134312011-05-11 Andreas Schwab <schwab@redhat.com>
13432
13433 * Makeconfig (+link-pie): Indent.
13434 * Rules (binaries-pie): Define if $(have-fpie) and
13435 $(build-shared).
13436 (binaries-shared): Also filter out $(binaries-pie).
13437 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13438 * nscd/Makefile (others-pie): Add nscd.
13439 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13440 ($(objpfx)nscd): Remove command override.
13441 * login/Makefile (others-pie): Add pt_chown.
13442 ($(objpfx)pt_chown): Remove command override.
13443 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13444 remove command overrides.
13445
fcabc0f8
UD
134462011-05-13 Ulrich Drepper <drepper@gmail.com>
13447
20030ae6
UD
13448 * libio/tst_putwc.c: Fix error messages.
13449
fcabc0f8
UD
13450 [BZ #12724]
13451 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13452 currently writing and seek to current position when not.
13453 * libio/Makefile (tests): Add bug-fclose1.
13454 * libio/bug-fclose1.c: New file.
13455
320a5dc0
PB
134562011-05-12 Ulrich Drepper <drepper@gmail.com>
13457
13458 [BZ #12511]
13459 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13460 don't set DF_1_NODELETE here.
13461 (do_lookup_x): When entering new entry test for copy relocation
13462 and if necessary set DF_1_NODELETE flag.
13463 * elf/tst-unique4.cc: New file.
13464 * elf/tst-unique4.h: New file.
13465 * elf/tst-unique4lib.cc: New file.
13466 * elf/Makefile: Add rules to build and run tst-unique4.
13467 Patch by Piotr Bury <pbury@goahead.com>.
13468
22836f52
UD
134692011-05-11 Ulrich Drepper <drepper@gmail.com>
13470
f574184a
UD
13471 [BZ #12052]
13472 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13473
e1fb097f
UD
13474 [BZ #12625]
13475 * misc/mntent_r.c (addmntent): Flush the stream after the output
13476
22836f52
UD
13477 [BZ #12393]
13478 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13479 (is_trusted_path_normalize): Skip initial colon. Append slash
13480 to empty buffer. Duplicate is_trusted_path code but allow
13481 constructed patch to be prefix.
13482 (is_dst): Allow $ORIGIN followed by /.
13483 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13484 Correct testing of result of is_trusted_path_normalize
13485 (decompose_rpath): Fix warning.
13486
7b3b0b2a
UD
134872011-05-10 Ulrich Drepper <drepper@gmail.com>
13488
13489 [BZ #11257]
13490 * grp/initgroups.c (internal_getgrouplist): When we found the service
13491 list through the initgroups entry in nsswitch.conf do not always
13492 continue on a successful lookup. Don't always use the
eac80ce2 13493 __nss_group_database value if it is set.
7b3b0b2a
UD
13494 * nss/nsswitch.conf (initgroups): Change action for successful db
13495 lookup to continue for compatibility.
13496
2a81eaa5
UD
134972011-05-09 Ulrich Drepper <drepper@gmail.com>
13498
be97a69e
UD
13499 [BZ #11532]
13500 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13501 and CP774 modules.
13502 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13503 and CP774 modules.
13504 * iconvdata/tst-tables.sh: Likewise.
13505 * iconvdata/cp770.c: New file.
13506 * iconvdata/cp771.c: New file.
13507 * iconvdata/cp772.c: New file.
13508 * iconvdata/cp773.c: New file.
13509 * iconvdata/cp774.c: New file.
13510 * iconvdata/testdata/CP770: New file.
13511 * iconvdata/testdata/CP770..UTF8: New file.
13512 * iconvdata/testdata/CP771: New file.
13513 * iconvdata/testdata/CP771..UTF8: New file.
13514 * iconvdata/testdata/CP772: New file.
13515 * iconvdata/testdata/CP772..UTF8: New file.
13516 * iconvdata/testdata/CP773: New file.
13517 * iconvdata/testdata/CP773..UTF8: New file.
13518 * iconvdata/testdata/CP774: New file.
13519 * iconvdata/testdata/CP774..UTF8: New file.
13520
13521 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13522 END CHARMAP line.
13523 * iconvdata/gen-8bit-gap.sh: Likewise.
13524 * iconvdata/gen-8bit.sh: Likewise.
13525
c1e9e399
UD
13526 * locale/iso-639.def: Add ary entry.
13527
24c55fb3 13528 [BZ #11258]
96b4b1b0
UD
13529 * locale/C-translit.h.in: Add U20A1 transliteration.
13530
bdc2f971
KB
13531 [BZ #12178]
13532 * locale/iso-639.def: Add wae entry.
13533 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13534
2952b117
UD
13535 [BZ #12545]
13536 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13537 for n.
13538
2a81eaa5
UD
13539 [BZ #12711]
13540 * locale/C-translit.h.in: Add entry for U20B9.
13541 Patch by pravin.d.s@gmail.com.
13542
28377d1b
UD
135432011-05-08 Ulrich Drepper <drepper@gmail.com>
13544
7fb90fb8
UD
13545 [BZ #12713]
13546 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13547 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13548 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13549 in rtld. Use *stat64.
7fb90fb8 13550 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13551 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13552 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13553 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13554 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13555 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13556 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13557 __fstatat64 macros.
7fb90fb8
UD
13558 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13559 * dirent/rewinddir.c: Add libc_hidden_def.
13560 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13561 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13562
28377d1b
UD
13563 * include/dirent.h (__alloc_dir): Add flags parameter.
13564 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13565 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13566 __alloc_dir.
13567 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13568 from fdopendir if O_CLOEXEC is already set.
13569
66bdbaa4
AM
135702011-03-15 Alan Modra <amodra@gmail.com>
13571
13572 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13573 l_tls_firstbyte_offset non-zero. Save padding offset in
13574 l_tls_firstbyte_offset for later use.
13575 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13576 freeing static tls block.
13577
95721191
JN
135782011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13579
13580 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13581 where #ifdef was intended. The intent is to prevent ARG_MAX from
13582 being defined by the kernel headers.
13583
f87dfb1f
UD
135842011-05-07 Ulrich Drepper <drepper@gmail.com>
13585
13586 [BZ #12734]
13587 * resolv/resolv.h: Define RES_NOTLDQUERY.
13588 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13589 no-tld-query and set RES_NOTLDQUERY.
13590 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13591 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13592 modern BIND to search name as TLD unless forbidden.
13593
47c3cd7a
UD
135942011-05-07 Petr Baudis <pasky@suse.cz>
13595 Ulrich Drepper <drepper@gmail.com>
13596
13597 [BZ #12393]
13598 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13599 (is_trusted_path): ...to here.
c1e9ea35 13600 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13601 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13602 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13603
8a35c912
PP
136042011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13605
13606 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13607 __BEGIN/__END_DECLS.
13608
acd41f47
UD
136092011-05-06 Ulrich Drepper <drepper@gmail.com>
13610
13611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13612 NSS_STATUS_NOTFOUND if no record was found.
13613
597df647
AS
136142011-05-05 Andreas Schwab <schwab@redhat.com>
13615
13616 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13617 (headers-not-in-tirpc): Remove rpc/netdb.h
13618 * resolv/netdb.h: Revert last change.
13619
b9af1301
PP
136202011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13621
13622 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13623 circular dependency between libgcc.a and libc.a.
13624
4e34d5f5
AS
136252011-05-05 Andreas Schwab <schwab@redhat.com>
13626
13627 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13628 * nis/Makefile: Don't install rpcsvc/*.
13629 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13630 instead of <rpc/types.h>.
13631 (MAXHOSTNAMELEN): Define.
13632
00ee369c
AS
136332011-05-03 Andreas Schwab <schwab@redhat.com>
13634
13635 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13636
0b592a30
MB
136372011-04-28 Maciej Babinski <mbabinski@google.com>
13638
13639 [BZ #12714]
13640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13641 gethostbyname4_r when IPv6 results are possible.
13642
6e04cbbe
UD
136432011-05-02 Ulrich Drepper <drepper@gmail.com>
13644
13645 [BZ #12723]
13646 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13647 _PC_PIPE_BUF handling.
13648
e4ecafe0
BH
136492011-04-30 Bruno Haible <bruno@clisp.org>
13650
13651 [BZ #12717]
13652 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13653 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13654 to 'int'.
13655 * inet/getnameinfo.c (getnameinfo): Likewise.
13656
125ee683
UD
136572011-04-29 Ulrich Drepper <drepper@gmail.com>
13658
13659 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13660 to groups setting in database lookup.
13661 * nss/nsswitch.conf: Add initgroups entry.
13662
b722481a
EB
136632011-04-22 Ulrich Drepper <drepper@gmail.com>
13664
13665 [BZ #12685]
13666 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13667 mode string.
13668 Patch by Eric Blake <eblake@redhat.com>.
13669
4df46dbd
L
136702011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13671
13672 * sunrpc/Makefile (need-export-routines): Add svc_run.
13673 (routines): Remove svc_run.
13674 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13675 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13676 * sunrpc/svc_run.c (svc_run): Likewise.
13677 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13678
e84142d2
UD
136792011-04-21 Ulrich Drepper <drepper@gmail.com>
13680
13681 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13682 problem in reallocation in last patch.
13683
877175d8
UD
136842011-04-20 Ulrich Drepper <drepper@gmail.com>
13685
13686 * sunrpc/Makefile: Move inclusion of Rules.
13687
ab8eed78
UD
136882011-04-19 Ulrich Drepper <drepper@gmail.com>
13689
13690 * nss/nss_files/files-initgroups.c: New file.
13691 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13692 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13693 _nss_files_initgroups_dyn.
13694
e3d8f584
RS
136952011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13696
13697 * elf/elf.h (R_ARM_IRELATIVE): Define.
13698
af190f45
UD
136992011-04-19 Ulrich Drepper <drepper@gmail.com>
13700
13701 * po/ru.po: Update from translation team.
13702
53cf59ef
UD
137032011-04-17 Ulrich Drepper <drepper@gmail.com>
13704
13705 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13706 dependencies.
13707
4c559bcd
MF
137082011-02-06 Mike Frysinger <vapier@gentoo.org>
13709
13710 [BZ #12653]
13711 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13712 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13713 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13714 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13715 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13716
4420675c
AS
137172011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13718
13719 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13720 differing bytes.
13721 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13722 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13723 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13724
75ea32ab
UD
137252011-04-17 Ulrich Drepper <drepper@gmail.com>
13726
13727 [BZ #12420]
13728 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13729 storing it.
13730 * stdlib/bug-getcontext.c: New file.
13731 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13732
27390476
AK
137332011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13734
13735 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13736 instructions into .machine "z9-109".
13737 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13738 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13739
10442705
AK
137402011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13741
13742 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13743 between environment variables and auxiliary vector.
13744
7b57bfe5
UD
137452011-04-16 Ulrich Drepper <drepper@gmail.com>
13746
13747 * Makefile: Add rules to build linkobj/libc.so.
13748 * include/libc-symbols.h: Define libc_hidden_nolink.
13749 * include/rpc/auth.h: Mark functions which are to be hidden.
13750 * include/rpc/auth_des.h: Likewise.
13751 * include/rpc/auth_unix.h: Likewise.
13752 * include/rpc/clnt.h: Likewise.
13753 * include/rpc/des_crypt.h: Likewise.
13754 * include/rpc/key_prot.h: Likewise.
13755 * include/rpc/pmap_clnt.h: Likewise.
13756 * include/rpc/pmap_prot.h: Likewise.
13757 * include/rpc/pmap_rmt.h: Likewise.
13758 * include/rpc/rpc_msg.h: Likewise.
13759 * include/rpc/svc.h: Likewise.
13760 * include/rpc/svc_auth.h: Likewise.
13761 * include/rpc/xdr.h: Likewise.
13762 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13763 * nss/Makefile: Likewise.
13764 * sunrpc/Makefile: Don't install headers. Build library with normal
13765 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13766 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13767 for the compat linking library. Remove use of INTDEF/INTUSE.
13768 * sunrpc/auth_none.c: Likewise.
13769 * sunrpc/auth_unix.c: Likewise.
13770 * sunrpc/authdes_prot.c: Likewise.
13771 * sunrpc/authuxprot.c: Likewise.
13772 * sunrpc/clnt_gen.c: Likewise.
13773 * sunrpc/clnt_perr.c: Likewise.
13774 * sunrpc/clnt_raw.c: Likewise.
13775 * sunrpc/clnt_simp.c: Likewise.
13776 * sunrpc/clnt_tcp.c: Likewise.
13777 * sunrpc/clnt_udp.c: Likewise.
13778 * sunrpc/clnt_unix.c: Likewise.
13779 * sunrpc/des_crypt.c: Likewise.
13780 * sunrpc/des_soft.c: Likewise.
13781 * sunrpc/get_myaddr.c: Likewise.
13782 * sunrpc/key_call.c: Likewise.
13783 * sunrpc/key_prot.c: Likewise.
13784 * sunrpc/netname.c: Likewise.
13785 * sunrpc/pm_getmaps.c: Likewise.
13786 * sunrpc/pm_getport.c: Likewise.
13787 * sunrpc/pmap_clnt.c: Likewise.
13788 * sunrpc/pmap_prot.c: Likewise.
13789 * sunrpc/pmap_prot2.c: Likewise.
13790 * sunrpc/pmap_rmt.c: Likewise.
13791 * sunrpc/publickey.c: Likewise.
13792 * sunrpc/rpc_cmsg.c: Likewise.
13793 * sunrpc/rpc_common.c: Likewise.
13794 * sunrpc/rpc_dtable.c: Likewise.
13795 * sunrpc/rpc_prot.c: Likewise.
13796 * sunrpc/rpc_thread.c: Likewise.
13797 * sunrpc/rtime.c: Likewise.
13798 * sunrpc/svc.c: Likewise.
13799 * sunrpc/svc_auth.c: Likewise.
13800 * sunrpc/svc_authux.c: Likewise.
13801 * sunrpc/svc_raw.c: Likewise.
13802 * sunrpc/svc_run.c: Likewise.
13803 * sunrpc/svc_simple.c: Likewise.
13804 * sunrpc/svc_tcp.c: Likewise.
13805 * sunrpc/svc_udp.c: Likewise.
13806 * sunrpc/svc_unix.c: Likewise.
13807 * sunrpc/svcauth_des.c: Likewise.
13808 * sunrpc/xcrypt.c: Likewise.
13809 * sunrpc/xdr.c: Likewise.
13810 * sunrpc/xdr_array.c: Likewise.
13811 * sunrpc/xdr_float.c: Likewise.
13812 * sunrpc/xdr_intXX_t.c: Likewise.
13813 * sunrpc/xdr_mem.c: Likewise.
13814 * sunrpc/xdr_rec.c: Likewise.
13815 * sunrpc/xdr_ref.c: Likewise.
13816 * sunrpc/xdr_sizeof.c: Likewise.
13817 * sunrpc/xdr_stdio.c: Likewise.
13818
e6c61494
UD
138192011-04-10 Ulrich Drepper <drepper@gmail.com>
13820
13821 [BZ #12650]
13822 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13823 * sysdeps/ia64/dl-tls.h: Likewise.
13824 * sysdeps/powerpc/dl-tls.h: Likewise.
13825 * sysdeps/s390/dl-tls.h: Likewise.
13826 * sysdeps/sh/dl-tls.h: Likewise.
13827 * sysdeps/sparc/dl-tls.h: Likewise.
13828 * sysdeps/x86_64/dl-tls.h: Likewise.
13829 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13830
34fe483e
AS
138312011-03-14 Andreas Schwab <schwab@redhat.com>
13832
13833 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13834 rpath element also skip the following colon.
13835 (expand_dynamic_string_token): Add is_path parameter and pass
13836 down to DL_DST_REQUIRED and _dl_dst_substitute.
13837 (decompose_rpath): Call expand_dynamic_string_token with
13838 non-zero is_path. Ignore empty rpaths.
13839 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13840 with zero is_path.
13841
f12a32e6
AS
138422011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13843
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13845 Make cancelable.
13846
38a7d692
UD
138472011-04-09 Ulrich Drepper <drepper@gmail.com>
13848
13849 [BZ #12655]
13850 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13851 Patch by Filipe David Manana <fdmanana@apache.org>.
13852
e451d22b
AS
138532011-04-07 Andreas Schwab <schwab@redhat.com>
13854
13855 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13856 Maintain aligned stack.
13857 (CHECK_RSP): Remove unused macro.
13858
dedc7c7b
UD
138592011-04-03 Ulrich Drepper <drepper@gmail.com>
13860
13861 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13862 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13863
94521213
UD
138642011-04-02 Ulrich Drepper <drepper@gmail.com>
13865
13866 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13867
8cb700c0 13868 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13869
0354e355
L
138702011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13871
13872 [BZ #12518]
13873 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13874 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13875 * sysdeps/x86_64/memmove.c: New file.
13876 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13877 (memcpy): Renamed to ...
13878 (__new_memcpy): This.
13879 (memcpy): Provide GLIBC_2_14 memcpy.
13880 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13881 (memcpy): Provide GLIBC_2_2_5 memcpy.
13882
8593482f
UD
138832011-04-01 Ulrich Drepper <drepper@gmail.com>
13884
13885 [BZ #12631]
13886 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13887
81a5726b
AS
138882011-03-30 Andreas Schwab <schwab@redhat.com>
13889
13890 * misc/syncfs.c: New file.
13891 * misc/Makefile (routines): Add syncfs.
13892 * posix/unistd.h: Declare syncfs.
13893 * sysdeps/unix/syscalls.list: Add syncfs.
13894
00e5419f
AS
138952011-04-01 Andreas Schwab <schwab@redhat.com>
13896
13897 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13898 open_by_handle_at.
13899 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13900 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13901 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13902 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13903 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13904 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13905 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13906
748876bf
UD
139072011-04-01 Ulrich Drepper <drepper@gmail.com>
13908
658e451d
UD
13909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13910 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13911 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13913 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13915 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13916
748876bf
UD
13917 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13918 sync_file_range.c with -fexceptions.
13919 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13920 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13921 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13922 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13923 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13924 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13925 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13926 sync_file_range as cancellation point
13927 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13928 now a wrapper around __call_sync_file_range with cancellation handling.
13929 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13930 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13931 function name to __call_sync_file_range.
13932 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13933 Add call_sync_file_range.
748876bf 13934
6e63d5e1
AS
139352011-04-01 Andreas Schwab <schwab@redhat.com>
13936
13937 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13938 bits/timex.h.
6e63d5e1 13939
46998f74
UD
139402011-04-01 Ulrich Drepper <drepper@gmail.com>
13941
4c1423ed
UD
13942 * iconv/iconv.h: Fix typo in comment.
13943 * io/fcntl.h: Likewise.
13944 * libio/stdio.h: Likewise.
13945 * posix/spawn.h: Likewise.
13946 * posix/unistd.h: Likewise.
13947 * stdlib/stdlib.h: Likewise.
13948 * time/time.h: Likewise.
13949 * wcsmbs/wchar.h: Likewise.
13950
158648c0
UD
13951 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13952 open_by_handle): Add.
13953 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13954 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13955 Augment a few comments.
13956 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13959 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13960 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13961 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13962 open_by_handle.
13963
46998f74
UD
13964 * io/fcntl.h (AT_EMPTY_PATH): Define.
13965
83fe108b
UD
139662011-03-30 Ulrich Drepper <drepper@gmail.com>
13967
13968 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13969 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13970 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13971 to...
13972 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13973 * Versions.def: Add GLIBC_2.14.
13974 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13975 Export.
83fe108b 13976
bb242059
UD
139772011-03-22 Ulrich Drepper <drepper@gmail.com>
13978
13979 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13980 round counter.
13981 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13982
c97a1282
L
139832011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13984
13985 [BZ #12597]
13986 * string/test-strncmp.c (do_page_test): New function.
13987 (check2): Likewise.
13988 (test_main): Call check2.
13989 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13990
2a115601
UD
139912011-03-20 Ulrich Drepper <drepper@gmail.com>
13992
13993 [BZ #12587]
13994 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13995 Handle cache information in CPU leaf 4.
13996 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13997
8126d904
UD
139982011-03-18 Ulrich Drepper <drepper@gmail.com>
13999
042c49c6 14000 [BZ #12583]
8126d904
UD
14001 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
14002 character representation.
14003 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
14004
ccfe366e
RA
140052011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
14006
14007 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
14008 END(__isnan) to END(__isnanf) to match function entry point/label
14009 EALIGN(__isnanf,...).
14010
c6e13027
JJ
140112011-03-10 Jakub Jelinek <jakub@redhat.com>
14012
14013 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
14014
33f85a3f
UD
140152011-03-10 Ulrich Drepper <drepper@gmail.com>
14016
028478fa
UD
14017 [BZ #12510]
14018 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
14019 copy from the symbol referenced in the relocation to initialize the
14020 used variable.
14021 Patch by Piotr Bury <pbury@goahead.com>.
14022 * elf/Makefile: Add rules to build and tst-unique3.
14023 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
14024 * elf/tst-unique3.cc: New file.
14025 * elf/tst-unique3.h: New file.
14026 * elf/tst-unique3lib.cc: New file.
14027 * elf/tst-unique3lib2.cc: New file.
14028
33f85a3f
UD
14029 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
14030
03592fc7
MF
140312011-03-10 Mike Frysinger <vapier@gentoo.org>
14032
14033 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
14034 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
14035 to _start.
03592fc7 14036
6a5ee102
UD
140372011-03-06 Ulrich Drepper <drepper@gmail.com>
14038
14039 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14040 to-be-loaded object along a path to loader is ld.so.
14041
7e4ba49c
HJ
140422011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14043 Ulrich Drepper <drepper@gmail.com>
14044
14045 * sysdeps/x86_64/memset.S: After aligning destination, code
14046 branches to different locations depending on the value of
14047 misalignment, when multiarch is enabled. Fix this.
14048
140492011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14050
14051 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14052 Set _x86_64_preferred_memory_instruction for AMD processsors.
14053 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14054 Set bit_Prefer_SSE_for_memop for AMD processors.
14055
13a804de
UD
140562011-03-04 Ulrich Drepper <drepper@gmail.com>
14057
14058 * libio/fmemopen.c (fmemopen): Optimize a bit.
14059
9d25c392
AS
140602011-03-03 Andreas Schwab <schwab@redhat.com>
14061
14062 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14063
a5543c6a
RM
140642011-03-03 Roland McGrath <roland@redhat.com>
14065
14066 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14067
012d35f7
DM
140682011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14069
7e4ba49c 14070 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14071 __bzero_ultra1 instead of __memset_ultra1.
14072
4bff6e01
AS
140732011-02-23 Andreas Schwab <schwab@redhat.com>
14074 Ulrich Drepper <drepper@gmail.com>
14075
14076 [BZ #12509]
14077 * include/link.h (struct link_map): Add l_orig_initfini.
14078 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14079 returning unsuccessfully.
14080 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14081 close of a file loaded at startup, restore the original l_initfini
14082 list.
14083 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14084 list, store the pointer.
14085 * elf/Makefile ($(objpfx)noload-mem): New rule.
14086 (noload-ENV): Define.
14087 (tests): Add $(objpfx)noload-mem.
14088 * elf/noload.c: Include <memcheck.h>.
14089 (main): Call mtrace. Close all opened handles.
14090
f2092faf
AS
140912011-02-17 Andreas Schwab <schwab@redhat.com>
14092
14093 [BZ #12454]
14094 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14095 dependencies are missing.
14096
6c8a2e88
ST
140972011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14098
f2092faf 14099 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14100 Hurd needs munmap.
14101 * sysdeps/mach/hurd/ifreq.h: New file.
14102
84a42118
PB
141032011-01-27 Petr Baudis <pasky@suse.cz>
14104 Ulrich Drepper <drepper@gmail.com>
14105
071f805e 14106 [BZ 12445]#
84a42118
PB
14107 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14108 to extend_alloca().
14109 * stdio-common/bug23.c: New file.
14110 * stdio-common/Makefile (tests): Add bug23.
14111
e23fe25b
AS
141122010-09-28 Andreas Schwab <schwab@redhat.com>
14113 Ulrich Drepper <drepper@gmail.com>
14114
14115 [BZ #12489]
14116 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14117 before performing relro protection. At old place add assertion
14118 to make sure nothing changed.
14119
d3f02e10
NS
141202011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14121 Glauber de Oliveira Costa <glommer@gmail.com>
14122
14123 * elf/elf.h: Add new ARM TLS relocs.
14124
d55fd7a5
RA
141252011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14126
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14128 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14129 cast from r3.
14130 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14131 'tests' variable.
14132 * sysdeps/wordsize-64/tst-writev.c: New file.
14133
2206397e
RA
141342011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14135
14136 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14137 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14138 insns in _dl_start to prevent a TOC reference before relocs are
14139 resolved.
14140
e9433893
UD
141412011-02-15 Ulrich Drepper <drepper@gmail.com>
14142
14143 [BZ #12469]
14144 * Makeconfig: Remove RANLIB definition.
14145 * Makerules: Don't use RANLIB.
14146 * aclocal.m4: Remove ranlib test.
14147 * configure.in: No need to check for ranlib.
14148 * elf/rtld-Rules: Don't use RANLIB.
14149
f75286c6
ST
141502011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14151
8e31c82d
ST
14152 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14153 protection macro.
14154 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14155 inclusion protection macro.
14156
f75286c6
ST
14157 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14158 SIGRTMIN and SIGRTMAX and print information in that case only when
14159 SIGRTMIN is defined.
14160
c1d0e639
JJ
141612011-02-11 Jakub Jelinek <jakub@redhat.com>
14162
14163 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14164 arginfo fn returning -1.
14165
14166 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14167 and thousands string is zero terminated.
14168
edf9294e
AS
141692011-02-03 Andreas Schwab <schwab@redhat.com>
14170
14171 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14172 sysdeps/unix/sysv/linux/bits/socket.h.
14173
2b7e92df
ST
141742011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14175
edf9294e
AS
14176 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14177 (__CPU_COUNT): Remove old macros.
14178 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14179 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14180 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14181 (__sched_cpualloc, __sched_cpufree): Add declarations.
14182
a4c7ea7b
UD
141832011-02-05 Ulrich Drepper <drepper@gmail.com>
14184
14185 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14186 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14187 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14188 (readdhstai): Return value of addhstaiX call.
14189 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14190 (addgrbyX): Return value returned by cache_addgr.
14191 (readdgrbyname): Return value returned by addgrbyX.
14192 (readdgrbygid): Likewise.
14193 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14194 (addpwbyX): Return value returned by cache_addpw.
14195 (readdpwbyname): Return value returned by addhstbyX.
14196 (readdpwbyuid): Likewise.
14197 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14198 (addservbyX): Return value returned by cache_addserv.
14199 (readdservbyname): Return value returned by addservbyX:
14200 (readdservbyport): Likewise.
14201 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14202 (addhstbyX): Return value returned by cache_addhst.
14203 (readdhstbyname): Return value returned by addhstbyX.
14204 (readdhstbyaddr): Likewise.
14205 (readdhstbynamev6): Likewise.
14206 (readdhstbyaddrv6): Likewise.
14207 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14208 (readdinitgroups): Return value returned by addinitgroupsX.
14209 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14210 (prune_cache): Keep track of timeout value of re-added entries.
14211 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14212 * nscd/nscd.h: Adjust prototypes of readd* functions.
14213
a0bf67cc
RM
142142011-02-04 Roland McGrath <roland@redhat.com>
14215
14216 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14217 (nis_stats): Likewise.
14218 * nis/nis_modify.c (nis_modify): Likewise.
14219 * nis/nis_remove.c (nis_remove): Likewise.
14220 * nis/nis_add.c (nis_add): Likewise.
14221
14222 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14223
14224 * posix/fnmatch_loop.c: Add some consts.
14225
14226 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14227
435b95eb
L
142282011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14229
14230 [BZ #12460]
14231 * config.make.in (config-cflags-novzeroupper): Define.
14232 * configure.in: Substitute libc_cv_cc_novzeroupper.
14233 * elf/Makefile (AVX-CFLAGS): Define.
14234 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14235 (CFLAGS-tst-auditmod4a.c): Likewise.
14236 (CFLAGS-tst-auditmod4b.c): Likewise.
14237 (CFLAGS-tst-auditmod6b.c): Likewise.
14238 (CFLAGS-tst-auditmod6c.c): Likewise.
14239 (CFLAGS-tst-auditmod7b.c): Likewise.
14240 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14241
8517b15e
UD
142422011-02-02 Ulrich Drepper <drepper@gmail.com>
14243
14244 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14245 function to the callback.
14246 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14247
10a656fe
AS
142482011-02-02 Andreas Schwab <schwab@redhat.com>
14249
14250 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14251 of errno.
14252
968dad0a
UD
142532011-01-19 Ulrich Drepper <drepper@gmail.com>
14254
9f94d2ea 14255 [BZ #11724]
968dad0a
UD
14256 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14257 of constructors.
14258 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14259 of destructors.
14260 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14261
14262 [BZ #11724]
14263 * elf/Makefile: Add rules to build and run new test.
14264 * elf/tst-initorder.c: New file.
14265 * elf/tst-initorder.exp: New file.
14266 * elf/tst-initordera1.c: New file.
14267 * elf/tst-initordera2.c: New file.
14268 * elf/tst-initordera3.c: New file.
14269 * elf/tst-initordera4.c: New file.
14270 * elf/tst-initorderb1.c: New file.
14271 * elf/tst-initorderb2.c: New file.
14272 * elf/tst-order-a1.c: New file.
14273 * elf/tst-order-a2.c: New file.
14274 * elf/tst-order-a3.c: New file.
14275 * elf/tst-order-a4.c: New file.
14276 * elf/tst-order-b1.c: New file.
14277 * elf/tst-order-b2.c: New file.
14278 * elf/tst-order-main.c: New file.
14279 New test case by George Gensure <werkt0@gmail.com>.
14280
86e92359
UD
142812010-10-01 Andreas Schwab <schwab@redhat.com>
14282
14283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14284 decoding ACE if AI_CANONIDN.
14285
5d5732b0
UD
142862011-01-18 Ulrich Drepper <drepper@gmail.com>
14287
14288 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14289
a77e8cbc
UD
142902011-01-17 Ulrich Drepper <drepper@gmail.com>
14291
6392473f
UD
14292 * version.h (RELEASE): Bump for 2.13 release.
14293 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14294
620a0529
UD
14295 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14296
18ba70a5
UD
14297 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14298 MADV_NOHUGEPAGE.
32465c3e
UD
14299 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14300 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14301 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14302 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14303 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14304 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14305
c0dafcf1
UD
14306 * posix/getconf.c: Update copyright year.
14307 * catgets/gencat.c: Likewise.
14308 * csu/version.c: Likewise.
14309 * debug/catchsegv.sh: Likewise.
14310 * debug/xtrace.sh: Likewise.
14311 * elf/ldconfig.c: Likewise.
14312 * elf/ldd.bash.in: Likewise.
14313 * elf/sprof.c (print_version): Likewise.
14314 * iconv/iconv_prog.c: Likewise.
14315 * iconv/iconvconfig.c: Likewise.
14316 * locale/programs/locale.c: Likewise.
14317 * locale/programs/localedef.c: Likewise.
14318 * malloc/memusage.sh: Likewise.
14319 * malloc/mtrace.pl: Likewise.
14320 * nscd/nscd.c (print_version): Likewise.
14321 * nss/getent.c: Likewise.
14322
a77e8cbc
UD
14323 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14324 PF_CAIF, and PF_ALG.
14325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14326
77e8bddf
AS
143272011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14328
1f20b93a
AS
14329 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14330 (modules-names): Use them.
14331 (ifunc-test-modules, ifunc-pie-tests): Define.
14332 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14333 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14334 (test-extras): Likewise.
14335 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14336 $(compile-command.c).
14337 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14338 (all-built-dso): Define.
14339 (check-textrel.out, check-execstack.out): Depend on it.
14340
77e8bddf
AS
14341 * configure.in: Don't override --enable-multi-arch.
14342
bc425b33
UD
143432011-01-15 Ulrich Drepper <drepper@gmail.com>
14344
14345 [BZ #6812]
14346 * nscd/hstcache.c (tryagain): Define.
14347 (cache_addhst): Return tryagain not notfound for temporary errors.
14348 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14349 failed.
14350
794c3ad3
UD
143512011-01-14 Ulrich Drepper <drepper@gmail.com>
14352
70181fdd
UD
14353 [BZ #10563]
14354 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14355 to make the syscall.
14356 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14357
794c3ad3
UD
14358 [BZ #12378]
14359 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14360 and fall back to matching as normal character if the string ends before
14361 the matching ']' is found. This is what POSIX requires.
14362 * posix/testfnm.c: Adjust test result.
14363 * posix/globtest.sh: Adjust test result. Add new test.
14364 * posix/tst-fnmatch.input: Likewise.
14365 * posix/tst-fnmatch2.c: Add new test.
14366
68dc9497
AS
143672010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14368
14369 * elf/Makefile (check-execstack): Revert last change. Depend on
14370 check-execstack.h.
14371 (check-execstack.h): New target.
14372 (generated): Add check-execstack.h.
14373 * elf/check-execstack.c: Include "check-execstack.h".
14374 (main): Revert last change.
14375 (handle_file): Return zero if GNU_STACK is absent and
14376 DEFAULT_STACK_PERMS doesn't include PF_X.
14377
451f001b
UD
143782011-01-13 Ulrich Drepper <drepper@gmail.com>
14379
cfa28e56
UD
14380 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14381 in child fails because the descriptor is already closed.
8cf8ce17
UD
14382 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14383 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14384 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14385
1086d70d
UD
14386 [BZ #12397]
14387 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14388 syscall.
14389
451f001b
UD
14390 [BZ #10484]
14391 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14392 temporary buffer used to handle multi lookups locally.
a85b5cb4 14393 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14394
08769175
UD
143952011-01-12 Ulrich Drepper <drepper@gmail.com>
14396
14397 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14398 loader is ld.so.
14399
5e49c52e
UD
144002011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14401
14402 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14403 alignment for SSE2.
14404
60522a5f
UD
144052011-01-12 Ulrich Drepper <drepper@gmail.com>
14406
14407 [BZ #12394]
14408 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14409 characters. When rounding increased number of integer digits recompute
14410 number of groups.
14411 * stdio-common/tst-grouping.c: New file.
14412 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14413
f257bbd7
UD
144142011-01-09 Ulrich Drepper <drepper@gmail.com>
14415
14416 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14417 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14418
14419 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14420 void.
14421 * bits/select.h: Likewise.
14422
fa9c15cb
UD
144232011-01-08 Ulrich Drepper <drepper@gmail.com>
14424
14425 * po/ja.po: Update from translation team.
14426
16c2895f
DM
144272011-01-04 David S. Miller <davem@sunset.davemloft.net>
14428
14429 [BZ #11155]
14430 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14431 implementation just like for lxstat, fxstatat, et al.
14432
2543fef2
JM
144332010-12-27 Jim Meyering <meyering@redhat.com>
14434
14435 [BZ #12348]
14436 * posix/regexec.c (build_trtable): Return failure indication upon
14437 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14438
98727dbe
UD
144392010-12-25 Ulrich Drepper <drepper@gmail.com>
14440
5bd6dc5c
UD
14441 [BZ #12201]
14442 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14443 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14444 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14445 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14446
97983464
UD
14447 [BZ #12207]
14448 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14449
98727dbe
UD
14450 [BZ #12204]
14451 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14452 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14453
4a531bb0
L
144542010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14455
14456 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14457 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14458 script has SORT_BY_INIT_PRIORITY.
14459 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14460 NO_CTORS_DTORS_SECTIONS is defined.
14461 * elf/soinit.c: Likewise.
14462 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14463 NO_CTORS_DTORS_SECTIONS is defined.
14464 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14465 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14466 * sysdeps/sh/init-first.c: Likewise.
14467 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14468
07eb4b71
UD
144692010-12-24 Ulrich Drepper <drepper@gmail.com>
14470
14471 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14472 always use the slow path.
14473
30950a5f
RA
144742010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14475
14476 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14477 similar rule which adds the sysdep directories to the header search in
14478 order to pick up the correct platform stackinfo.h.
14479 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14480 perform test if it is, otherwise return successfully without testing.
14481 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14482 DEFAULT_STACK_PERMS define in stackinfo.h.
14483 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14484 defined in stackinfo.h.
14485 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14486 DEFAULT_STACK_PERMS defined in stackinfo.h.
14487 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14488 * sysdeps/ia64/stackinfo.h: Likewise.
14489 * sysdeps/s390/stackinfo.h: Likewise.
14490 * sysdeps/sh/stackinfo.h: Likewise.
14491 * sysdeps/sparc/stackinfo.h: Likewise.
14492 * sysdeps/x86_64/stackinfo.h: Likewise.
14493 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14494 PF_X for powerpc64. Retain PF_X for powerpc32.
14495
db753e2c
UD
144962010-12-19 Ulrich Drepper <drepper@gmail.com>
14497
14b697f7
UD
14498 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14499 accurately.
db753e2c
UD
14500 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14501 GETDENTS_64BIT_ALIGNED.
14502
28300719
UD
145032010-12-14 Ulrich Drepper <dreper@gmail.com>
14504
14b697f7 14505 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14506
4f197237
AS
145072010-12-10 Andreas Schwab <schwab@redhat.com>
14508
dbb0472f
AS
14509 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14510 _GNU_SOURCE.
14511
4f197237
AS
14512 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14513 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14514 Remove __restrict.
14515 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14516 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14517
fb88ac72
UD
145182010-12-09 Ulrich Drepper <drepper@gmail.com>
14519
14520 [BZ #11655]
14521 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14522 are initialized.
14523
42acbb92
JJ
145242010-12-09 Jakub Jelinek <jakub@redhat.com>
14525
14526 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14527
c038d98d
UD
145282010-12-03 Ulrich Drepper <drepper@gmail.com>
14529
14530 * po/it.po: Update from translation team.
14531
3a4a2499
L
145322010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14533
14534 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14535 unused codes.
14536
1e24cf6e
UD
145372010-11-30 Ulrich Drepper <drepper@gmail.com>
14538
14539 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14540
a7690819
AS
145412010-11-24 Andreas Schwab <schwab@redhat.com>
14542
14543 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14544 specially.
14545 (gaih_getanswer_slice): Likewise.
14546
3bf8d1b1
JJ
145472010-10-20 Jakub Jelinek <jakub@redhat.com>
14548
14549 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14550
6db52fbb
PB
145512010-05-31 Petr Baudis <pasky@suse.cz>
14552
14553 [BZ #11149]
14554 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14555 silently even in the chroot mode.
14556
eaca7569
UD
145572010-11-22 Ulrich Drepper <drepper@gmail.com>
14558
14559 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14560 last patch a bit. Pretty printing
14561
3056dcdb
UD
145622010-05-31 Petr Baudis <pasky@suse.cz>
14563
14564 [BZ #10085]
14565 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14566 initialization of skip_initgroups_dyn.
14567
cf7c9078
UD
145682010-11-19 Ulrich Drepper <drepper@gmail.com>
14569
14570 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14571 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14572
a1fb5e3e
UD
145732010-11-16 Ulrich Drepper <drepper@gmail.com>
14574
14575 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14576
3540d66b
AS
145772010-11-11 Andreas Schwab <schwab@redhat.com>
14578
14579 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14580 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14581 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14582 ($(objpfx)tst-fnmatch-mem): New rule.
14583 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14584 * posix/tst-fnmatch.c (main): Call mtrace.
14585
13b69574
L
145862010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14587
14588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14589 Support Intel processor model 6 and model 0x2c.
14590
da93d214
LM
145912010-11-10 Luis Machado <luisgpm@br.ibm.com>
14592
14593 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14594 signed comparison.
14595
8ca52c6e
L
145962010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14597
14598 [BZ #12205]
14599 * string/test-strncasecmp.c (check_result): New function.
14600 (do_one_test): Use it.
14601 (check1): New function.
14602 (test_main): Use it.
14603 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14604 Support strcasecmp and strncasecmp.
14605
69da074d
UD
146062010-11-08 Ulrich Drepper <drepper@gmail.com>
14607
14608 [BZ #12194]
14609 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14610 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14611
ff02d528
L
146122010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14613
14614 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14615 IFUNC support.
14616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14617 memset-x86-64.
14618 * sysdeps/x86_64/multiarch/bzero.S: New file.
14619 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14620 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14621 * sysdeps/x86_64/multiarch/memset.S: New file.
14622 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14624 Set bit_Prefer_SSE_for_memop for Intel processors.
14625 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14626 Define.
14627 (index_Prefer_SSE_for_memop): Define.
14628 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14629
344d0b54
LM
146302010-11-04 Luis Machado <luisgpm@br.ibm.com>
14631
14632 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14633 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14634
c0dde15b
UD
146352010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14636
14637 [BZ #12191]
14638 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14639 (__x86_64_raw_data_cache_size_half): Likewise.
14640 (__x86_64_raw_shared_cache_size): Likewise.
14641 (__x86_64_raw_shared_cache_size_half): Likewise.
14642
14643 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14644 (__x86_64_raw_data_cache_size_half): Likewise.
14645 (__x86_64_raw_shared_cache_size): Likewise.
14646 (__x86_64_raw_shared_cache_size_half): Likewise.
14647 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14648 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14649 and __x86_64_raw_shared_cache_size_half. Round
14650 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14651 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14652 to multiple of 256 bytes.
14653
0e516e0e
MS
146542010-11-03 Ulrich Drepper <drepper@gmail.com>
14655
14656 [BZ #12167]
14657 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14658 of inacessible symlinks. Verify result of symlink before returning it.
14659 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14660 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14661
0e012e87
ER
146622010-10-28 Erich Ritz <erichritz@gmail.com>
14663
14664 * math/math.h (isinf): Fix typo in comment.
14665
de0ff7bc
UD
146662010-11-01 Ulrich Drepper <drepper@gmail.com>
14667
14668 * po/da.po: Update from translation team.
14669
fa41c84d
UD
146702010-10-26 Ulrich Drepper <drepper@gmail.com>
14671
14672 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14673 is added to the list.
14674
f0967738
AK
146752010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14676 Ulrich Drepper <drepper@gmail.com>
14677
14678 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14679 the global list here. Move code to...
14680 (_dl_add_to_namespace_list): ...here. New function.
14681 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14682 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14683 * elf/dl-load.c (lose): Don't remove the element from the list.
14684 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14685 (_dl_map_object): Likewise.
14686
146872010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14688
14689 [BZ #12159]
14690 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14691 into all bytes of SSE register.
14692 Patch by Richard Li <richardpku@gmail.com>.
14693
f0967738 146942010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14695
14696 [BZ #12140]
14697 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14698 perturbing.
14699
d0b9e94f
MB
147002010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14701
14702 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14703 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14705 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14707 submachine.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14709
8e9f92e9
AS
147102010-10-22 Andreas Schwab <schwab@redhat.com>
14711
14712 * include/dlfcn.h (__RTLD_SECURE): Define.
14713 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14714 mode & __RTLD_SECURE instead.
14715 (open_path): Rename preloaded parameter to secure.
14716 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14717 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14718 * elf/dl-deps.c (openaux): Likewise.
14719 * elf/rtld.c (struct map_args): Remove is_preloaded.
14720 (map_doit): Don't use it.
14721 (dl_main): Likewise.
14722 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14723 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14724
bc96fbda
AS
147252010-09-09 Andreas Schwab <schwab@redhat.com>
14726
14727 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14728 (sysd-rules-targets): Remove duplicates.
14729 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14730 rtld-%.$o dependency.
14731
22cd1c9b
AS
147322010-10-18 Andreas Schwab <schwab@redhat.com>
14733
14734 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14735 _dl_map_object do it.
14736
18edac48
UD
147372010-10-19 Ulrich Drepper <drepper@gmail.com>
14738
14739 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14740 fast fma builtins, define the macros in the C99 standard.
14741 (FP_FAST_FMAF): Likewise.
14742 (FP_FAST_FMAL): Likewise.
14743 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14744
14745 * bits/mathdef.h: Update copyright year.
14746 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14747
d2050124
MM
147482010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14749
14750 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14751 builtins, define the macros in the C99 standard.
14752 (FP_FAST_FMAF): Likewise.
14753 (FP_FAST_FMAL): Likewise.
14754 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14755 multiply/add.
14756 (FP_FAST_FMAF): Likewise.
14757
475facd1
JJ
147582010-10-15 Jakub Jelinek <jakub@redhat.com>
14759
14760 [BZ #3268]
14761 * math/libm-test.inc (fma_test): Some new testcases.
14762 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14763 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14764 y and infinite z. Do multiplication by C already in long double.
14765 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14766 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14767 y and infinite z. Do bitwise or of inexact bit into u.d.
14768 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14769 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14770 * sysdeps/i386/fpu/s_fma.S: Removed.
14771 * sysdeps/i386/fpu/s_fmal.S: Removed.
14772
7c08a05c
JJ
147732010-10-16 Jakub Jelinek <jakub@redhat.com>
14774
14775 [BZ #3268]
14776 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14777 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14778 computation is not scheduled after fetestexcept. Fix value
14779 of minimum denormal long double.
14780
f3f7372d
JJ
147812010-10-14 Jakub Jelinek <jakub@redhat.com>
14782
14783 [BZ #3268]
14784 * math/libm-test.inc (fma_test): Add some more tests.
14785 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14786 correctly.
14787
14d43591
AS
147882010-10-15 Andreas Schwab <schwab@redhat.com>
14789
14790 * scripts/data/localplt-s390-linux-gnu.data: New file.
14791 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14792
5e908464
JJ
147932010-10-13 Jakub Jelinek <jakub@redhat.com>
14794
14795 [BZ #3268]
14796 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14797 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14798 instead of dbl-64.
14799 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14800 inlines.
14801 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14802 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14803 if one of x and y is very large and the other is subnormal.
14804 * sysdeps/s390/fpu/s_fmaf.c: New file.
14805 * sysdeps/s390/fpu/s_fma.c: New file.
14806 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14807 * sysdeps/powerpc/fpu/s_fma.S: New file.
14808 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14809 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14810 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14811
148122010-10-12 Jakub Jelinek <jakub@redhat.com>
14813
14814 [BZ #3268]
14815 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14816 fma tests.
14817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14818 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14819 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14820 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14821 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14822 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14823 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14824
b833d51f
UD
148252010-10-12 Ulrich Drepper <drepper@redhat.com>
14826
14827 [BZ #12078]
14828 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14829 * posix/bug-regex31.input: Add test case.
14830
1751705d
UD
148312010-10-11 Ulrich Drepper <drepper@gmail.com>
14832
e9b9cbf5
UD
14833 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14834 * posix/bug-regex31.input: New file.
14835
14836 [BZ #12078]
14837 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14838 (parse_sub_exp): Fix last change, use postorder.
14839
ef06edbe
UD
14840 * posix/bug-regex31.c: New file.
14841 * posix/Makefile: Add rules to build and run bug-regex31.
14842
a129c80d
UD
14843 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14844
14845 [BZ #12078]
14846 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14847
b76b818e
UD
14848 [BZ #12108]
14849 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14850 to have entries in sys_siglist.
14851
1751705d
UD
14852 [BZ #12093]
14853 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14854 be NULL.
14855
9ff8d36f
JJ
148562010-10-07 Jakub Jelinek <jakub@redhat.com>
14857
14858 [BZ #3268]
14859 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14860 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14861 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14862 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14863 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14864 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14865 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14866 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14867 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14868 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14869 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14870 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14871 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14872 * math/ftestexcept.c (fetestexcept): Likewise.
14873 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14874 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14875 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14876 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14877 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14878 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14879 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14880
af325969
UD
148812010-10-11 Ulrich Drepper <drepper@gmail.com>
14882
c579b202 14883 [BZ #12107]
af325969
UD
14884 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14885 newline.
14886
67a67b95
UD
148872010-10-06 Ulrich Drepper <drepper@gmail.com>
14888
14889 * string/bug-strstr1.c: New file.
14890 * string/Makefile: Add rules to build and run bug-strstr1.
14891
5fb308bc
EB
148922010-10-05 Eric Blake <eblake@redhat.com>
14893
14894 [BZ #12092]
14895 * string/str-two-way.h (two_way_long_needle): Always clear memory
14896 when skipping input due to the shift table.
14897
45db99c7
UD
148982010-10-03 Ulrich Drepper <drepper@gmail.com>
14899
3b111893
UD
14900 [BZ #12005]
14901 * malloc/mcheck.c: Handle large requests.
14902
45db99c7
UD
14903 [BZ #12077]
14904 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14905 for strncmp and strncasecmp.
14906 * string/stratcliff.c: Add tests for strcmp and strncmp.
14907 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14908
cf7a1eb8
NI
149092010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14910
14911 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14912 __set_fpscr.
14913
6484ba5e
AJ
149142010-09-30 Andreas Jaeger <aj@suse.de>
14915
14916 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14917 (CGROUP_SUPER_MAGIC): Define.
14918 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14919 Handle btrfs and cgroup file systems.
14920 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14921 Likewise.
14922
91c42559
LM
149232010-09-27 Luis Machado <luisgpm@br.ibm.com>
14924
14925 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14926 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14927
87a97932
AK
149282010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14929
14930 [BZ #12067]
14931 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14932 trying to locate the ELF header.
14933
c21cc9bc
AS
149342010-09-27 Andreas Schwab <schwab@redhat.com>
14935
14936 [BZ #11611]
14937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14938 Mask out sign-bit copies when constructing f_fsid.
14939
315970f6
PB
149402010-09-24 Petr Baudis <pasky@suse.cz>
14941
14942 * debug/stack_chk_fail_local.c: Add missing licence exception.
14943 * debug/warning-nop.c: Likewise.
14944
1ac7a2c7
JM
149452010-09-15 Joseph Myers <joseph@codesourcery.com>
14946
14947 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14948 implementing getdents64 using getdents syscall, set d_type if
14949 __ASSUME_GETDENTS32_D_TYPE.
14950
56801c50
AS
149512010-09-16 Andreas Schwab <schwab@redhat.com>
14952
14953 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14954 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14955
dda51327
UD
149562010-09-21 Ulrich Drepper <drepper@redhat.com>
14957
14958 [BZ #12037]
14959 * posix/unistd.h: Undo change of feature selection for ftruncate from
14960 2010-01-11.
14961
8ffcee4a
UD
149622010-09-20 Ulrich Drepper <drepper@redhat.com>
14963
a545ecd9 14964 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14965 detection.
14966
e24f0a8b
AS
149672010-09-20 Andreas Schwab <schwab@redhat.com>
14968
14969 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14970 fanotify_mark.
14971 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14972
7291c56f
AS
149732010-09-14 Andreas Schwab <schwab@redhat.com>
14974
14975 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14976 variables after CHECK_SP call.
14977 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14978
bc5fb037
AS
149792010-09-13 Andreas Schwab <schwab@redhat.com>
14980 Ulrich Drepper <drepper@redhat.com>
14981
14982 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14983 re-relocationg ld.so.
14984 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14985 _dl_init_paths call.
14986 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14987 here anymore.
14988
e66e7419
UD
149892010-09-14 Ulrich Drepper <drepper@redhat.com>
14990
14991 * resolv/res_init.c (__res_vinit): Count the default server we added.
14992
c044aa75
CLT
149932010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14994 Ulrich Drepper <drepper@redhat.com>
14995
14996 [BZ #11968]
14997 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14998 (____longjmp_chk): Use %ebx for saving value across system call.
14999 Add unwind info.
15000
32cf4069
AS
150012010-09-06 Andreas Schwab <schwab@redhat.com>
15002
15003 * manual/Makefile: Don't mix pattern rules with normal rules.
15004
817328ee
AS
150052010-09-05 Andreas Schwab <schwab@linux-m68k.org>
15006
15007 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
15008 operation.
15009 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15010 * libio/iofopncook.c (_IO_cookie_init): Likewise.
15011 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15012 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15013 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15014 Likewise.
15015
29fddf61
UD
150162010-09-04 Ulrich Drepper <drepper@redhat.com>
15017
15018 [BZ #11979]
15019 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
15020 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
15021
0959ffc9
UD
150222010-09-02 Ulrich Drepper <drepper@redhat.com>
15023
15024 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
15025 * sysdeps/x86_64/addmul_1.S: Likewise.
15026 * sysdeps/x86_64/lshift.S: Likewise.
15027 * sysdeps/x86_64/mul_1.S: Likewise.
15028 * sysdeps/x86_64/rshift.S: Likewise.
15029 * sysdeps/x86_64/sub_n.S: Likewise.
15030 * sysdeps/x86_64/submul_1.S: Likewise.
15031
ece29840
ST
150322010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
15033
0959ffc9
UD
15034 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
15035 Define __sched_param instead of SCHED_* and sched_param when
ece29840 15036 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 15037 * bits/sched.h [__need_schedparam]
ece29840 15038 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15039 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15040 (__defined_schedparam): Define to 1.
ece29840
ST
15041 (__sched_param): New structure, identical to sched_param.
15042 (__need_schedparam): Undefine.
15043
e53a31fe
MF
150442010-08-31 Mike Frysinger <vapier@gentoo.org>
15045
fdc0c10d
MF
15046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15047 (epoll_create1): Declare.
15048
e53a31fe
MF
15049 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15050
a726d796
AS
150512010-08-31 Andreas Schwab <schwab@redhat.com>
15052
15053 [BZ #7066]
15054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15055 shifting retval into place.
15056
2f3e3dc7
UD
150572010-09-01 Ulrich Drepper <drepper@redhat.com>
15058
f2933da9
UD
15059 * nis/rpcsvc/nis.h: Update copyright notice.
15060 * nis/rpcsvc/nis.x: Likewise.
15061 * nis/rpcsvc/nis_callback.h: Likewise.
15062 * nis/rpcsvc/nis_callback.x: Likewise.
15063 * nis/rpcsvc/nis_object.x: Likewise.
15064 * nis/rpcsvc/nis_tags.h: Likewise.
15065 * nis/rpcsvc/yp.h: Likewise.
15066 * nis/rpcsvc/yp.x: Likewise.
15067 * nis/rpcsvc/ypupd.h: Likewise.
15068 * nis/yp_xdr.c: Likewise.
15069 * nis/ypupdate_xdr.c: Likewise.
15070
2f3e3dc7
UD
15071 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15072 mainly the body of pmap_getport. Add parameters to specify timeouts.
15073 (pmap_getport): Use __libc_rpc_getport.
15074 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15075 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15076 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15077
f3dcc2f9
AS
150782010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15079
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15081 fanotify_mark.
15082
6d34eb5b
RM
150832010-08-27 Roland McGrath <roland@redhat.com>
15084
15085 * sysdeps/i386/i686/multiarch/Makefile
15086 (CFLAGS-varshift.c): New variable.
15087
9ea3de11
UD
150882010-08-27 Ulrich Drepper <drepper@redhat.com>
15089
c96d23fc
UD
15090 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15091 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15092
9ea3de11
UD
15093 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15094
15095 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15096
623aac7f
L
150972010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15098
15099 * sysdeps/x86_64/strlen.S: Unroll the loop.
15100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15101 strlen-sse2 strlen-sse2-bsf.
15102 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15103 __strlen_no_bsf if bit_Slow_BSF is set.
15104 (__strlen_sse42): Removed.
15105 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15106 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15107
8b2b7715
RM
151082010-08-25 Roland McGrath <roland@redhat.com>
15109
15110 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15111 * sysdeps/x86_64/multiarch/varshift.c: New file.
15112 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15113 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15114 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15115 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15116
e73015f2
L
151172010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15118
15119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15120 strlen-sse2 strlen-sse2-bsf.
15121 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15122 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15123 (__strlen_sse2): Removed.
15124 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15125 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15127 bit_Slow_BSF for Atom.
15128 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15129 (index_Slow_BSF): Define.
15130 (HAS_SLOW_BSF): Define.
15131
df24a73e
UD
151322010-08-25 Ulrich Drepper <drepper@redhat.com>
15133
15134 [BZ #10851]
15135 * resolv/res_init.c (__res_vinit): When no server address at all
15136 is given default to loopback.
15137
f2ac4868
RM
151382010-08-24 Roland McGrath <roland@redhat.com>
15139
09055553
RM
15140 * configure.in: Remove config-name.h generation.
15141 * configure: Regenerated.
15142 * config-name.in: File removed.
15143 * scripts/config-uname.sh: New file.
15144 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15145 ($(objdir)config-name.h): New target.
15146
f2ac4868
RM
15147 * sunrpc/rpc_parse.h: Avoid nested comment.
15148
73f27d5e
RH
151492010-08-24 Richard Henderson <rth@redhat.com>
15150 Ulrich Drepper <drepper@redhat.com>
15151 H.J. Lu <hongjiu.lu@intel.com>
15152
15153 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15154 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15155 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15156 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15157 _mm_alignr_epi8 with _mm_loadu_si128.
15158 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15159 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15160 (__m128i_shift_right): Removed.
15161 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15162 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15163 * sysdeps/x86_64/multiarch/varshift.h: New file.
15164 * sysdeps/x86_64/multiarch/varshift.S: New file.
15165
84b9230c
MF
151662010-08-21 Mike Frysinger <vapier@gentoo.org>
15167
15168 * configure.in: Move assembler checks to before sysdep dir checking.
15169
9bbd0ddc
PB
151702010-08-20 Petr Baudis <pasky@suse.cz>
15171
15172 * LICENSES: Sync the sunrpc license.
15173
9da4bb31
UD
151742010-08-19 Ulrich Drepper <drepper@redhat.com>
15175
a7ab6ec8
UD
15176 * sunrpc/auth_des.c: Update copyright notice once again.
15177 * sunrpc/auth_none.c: Likewise.
15178 * sunrpc/auth_unix.c: Likewise.
15179 * sunrpc/authdes_prot.c: Likewise.
15180 * sunrpc/authuxprot.c: Likewise.
15181 * sunrpc/bindrsvprt.c: Likewise.
15182 * sunrpc/clnt_gen.c: Likewise.
15183 * sunrpc/clnt_perr.c: Likewise.
15184 * sunrpc/clnt_raw.c: Likewise.
15185 * sunrpc/clnt_simp.c: Likewise.
15186 * sunrpc/clnt_tcp.c: Likewise.
15187 * sunrpc/clnt_udp.c: Likewise.
15188 * sunrpc/clnt_unix.c: Likewise.
15189 * sunrpc/des_crypt.c: Likewise.
15190 * sunrpc/des_soft.c: Likewise.
15191 * sunrpc/get_myaddr.c: Likewise.
15192 * sunrpc/getrpcport.c: Likewise.
15193 * sunrpc/key_call.c: Likewise.
15194 * sunrpc/key_prot.c: Likewise.
15195 * sunrpc/openchild.c: Likewise.
15196 * sunrpc/pm_getmaps.c: Likewise.
15197 * sunrpc/pm_getport.c: Likewise.
15198 * sunrpc/pmap_clnt.c: Likewise.
15199 * sunrpc/pmap_prot.c: Likewise.
15200 * sunrpc/pmap_prot2.c: Likewise.
15201 * sunrpc/pmap_rmt.c: Likewise.
15202 * sunrpc/rpc/auth.h: Likewise.
15203 * sunrpc/rpc/auth_unix.h: Likewise.
15204 * sunrpc/rpc/clnt.h: Likewise.
15205 * sunrpc/rpc/des_crypt.h: Likewise.
15206 * sunrpc/rpc/key_prot.h: Likewise.
15207 * sunrpc/rpc/netdb.h: Likewise.
15208 * sunrpc/rpc/pmap_clnt.h: Likewise.
15209 * sunrpc/rpc/pmap_prot.h: Likewise.
15210 * sunrpc/rpc/pmap_rmt.h: Likewise.
15211 * sunrpc/rpc/rpc.h: Likewise.
15212 * sunrpc/rpc/rpc_des.h: Likewise.
15213 * sunrpc/rpc/rpc_msg.h: Likewise.
15214 * sunrpc/rpc/svc.h: Likewise.
15215 * sunrpc/rpc/svc_auth.h: Likewise.
15216 * sunrpc/rpc/types.h: Likewise.
15217 * sunrpc/rpc/xdr.h: Likewise.
15218 * sunrpc/rpc_clntout.c: Likewise.
15219 * sunrpc/rpc_cmsg.c: Likewise.
15220 * sunrpc/rpc_common.c: Likewise.
15221 * sunrpc/rpc_cout.c: Likewise.
15222 * sunrpc/rpc_dtable.c: Likewise.
15223 * sunrpc/rpc_hout.c: Likewise.
15224 * sunrpc/rpc_main.c: Likewise.
15225 * sunrpc/rpc_parse.c: Likewise.
15226 * sunrpc/rpc_parse.h: Likewise.
15227 * sunrpc/rpc_prot.c: Likewise.
15228 * sunrpc/rpc_sample.c: Likewise.
15229 * sunrpc/rpc_scan.c: Likewise.
15230 * sunrpc/rpc_scan.h: Likewise.
15231 * sunrpc/rpc_svcout.c: Likewise.
15232 * sunrpc/rpc_tblout.c: Likewise.
15233 * sunrpc/rpc_util.c: Likewise.
15234 * sunrpc/rpc_util.h: Likewise.
15235 * sunrpc/rpcinfo.c: Likewise.
15236 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15237 * sunrpc/rpcsvc/key_prot.x: Likewise.
15238 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15239 * sunrpc/rpcsvc/mount.x: Likewise.
15240 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15241 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15242 * sunrpc/rpcsvc/rex.x: Likewise.
15243 * sunrpc/rpcsvc/rstat.x: Likewise.
15244 * sunrpc/rpcsvc/rusers.x: Likewise.
15245 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15246 * sunrpc/rpcsvc/spray.x: Likewise.
15247 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15248 * sunrpc/rtime.c: Likewise.
15249 * sunrpc/svc.c: Likewise.
15250 * sunrpc/svc_auth.c: Likewise.
15251 * sunrpc/svc_authux.c: Likewise.
15252 * sunrpc/svc_raw.c: Likewise.
15253 * sunrpc/svc_run.c: Likewise.
15254 * sunrpc/svc_simple.c: Likewise.
15255 * sunrpc/svc_tcp.c: Likewise.
15256 * sunrpc/svc_udp.c: Likewise.
15257 * sunrpc/svc_unix.c: Likewise.
15258 * sunrpc/svcauth_des.c: Likewise.
15259 * sunrpc/xcrypt.c: Likewise.
15260 * sunrpc/xdr.c: Likewise.
15261 * sunrpc/xdr_array.c: Likewise.
15262 * sunrpc/xdr_float.c: Likewise.
15263 * sunrpc/xdr_mem.c: Likewise.
15264 * sunrpc/xdr_rec.c: Likewise.
15265 * sunrpc/xdr_ref.c: Likewise.
15266 * sunrpc/xdr_sizeof.c: Likewise.
15267 * sunrpc/xdr_stdio.c: Likewise.
15268
9da4bb31
UD
15269 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15270 handling.
15271
bdaa77bc
AS
152722010-08-19 Andreas Schwab <schwab@redhat.com>
15273
15274 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15275
fe2f79db
LM
152762010-08-19 Luis Machado <luisgpm@br.ibm.com>
15277
15278 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15279 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15281 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15282 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15283 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15284 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15285 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15287 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15288 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15289 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15290 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15291 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15292
b9b42ee0
AB
152932010-07-26 Anton Blanchard <anton@samba.org>
15294
15295 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15296 * malloc/arena.c (heap_trim): Likewise.
15297
1c06ba31
UD
152982010-08-16 Ulrich Drepper <drepper@redhat.com>
15299
15300 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15301 here. Not...
15302 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15303 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15304
f8392f40
L
153052010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15306
15307 * sysdeps/i386/elf/Makefile: New file.
15308
3162f12e
AS
153092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15310
15311 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15312 from fanotify_init.
15313 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15314 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15315
28c90b2c
UD
153162010-08-15 Ulrich Drepper <drepper@redhat.com>
15317
15318 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15319 of strncasecmp_l.
1feccb6c 15320 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15321
ca6bb004
UD
153222010-08-14 Ulrich Drepper <drepper@redhat.com>
15323
e9f82e0d
UD
15324 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15325 strncase_l-nonascii.
15326 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15327 Add strncase_l-ssse3.
15328 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15329 * sysdeps/x86_64/strcmp.S: Likewise.
15330 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15331 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15332 * sysdeps/x86_64/strncase.S: New file.
15333 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15334 * sysdeps/x86_64/strncase_l.S: New file.
15335 * string/Makefile (strop-tests): Add strncasecmp.
15336 * string/test-strncasecmp.c: New file.
15337
15338 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15339 warning.
15340
ca6bb004
UD
15341 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15342 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15343
052fa7b3
AS
153442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15345
15346 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15347
962dba78
UD
153482010-08-12 Ulrich Drepper <drepper@redhat.com>
15349
15350 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15353
bebff237
AM
153542010-05-01 Alan Modra <amodra@gmail.com>
15355
15356 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15357 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15358 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15359 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15360 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15361 tidying. Don't tail-call __sigjmp_save for static lib.
15362 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15363 save location.
15364 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15365 (CALL_MCOUNT): Add eh info, and nop after bl.
15366 (TAIL_CALL_SYSCALL_ERROR): New macro.
15367 (PSEUDO_RET): Use it.
15368 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15369 Correct save location of integer regs and cr.
15370 (_dl_profile_resolve): Correct cr save location. Delete nops
15371 after bl when SHARED. Reduce cfi size a little by better
15372 placement of cfi directives.
15373 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15374 make a stack frame. Instead use parm save area as a temp.
15375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15376 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15378 Don't make a stack frame for parent, use parm save area.
15379 Increase child stack frame to 112 bytes. Don't save unused reg,
15380 and adjust reg usage. Set up cfi on error recovery and
15381 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15383 (__makecontext): Add dummy nop after jump to exit.
15384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15385 Use correct parm save area and cr save, reduce stack frame.
15386 Correct cfi for possible PSEUDO_RET frame setup.
15387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15388 Branch to local label emitted by PSEUDO_RET rather than
15389 __syscall_error.
15390
02637374
AS
153912010-08-12 Andreas Schwab <schwab@redhat.com>
15392
15393 [BZ #11904]
15394 * locale/programs/locale.c (print_assignment): New function.
15395 (show_locale_vars): Use it.
15396
c3e2f19b
UD
153972010-08-11 Ulrich Drepper <drepper@redhat.com>
15398
3cdaa6ad
UD
15399 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15400 field.
15401 (struct statfs64): Likewise.
15402 (_STATFS_F_FLAGS): Define.
15403 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15404 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15405 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15406 (ST_VALID): Define locally.
15407 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15408 __statvfs_getflags, use the provided value.
15409 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15410 __ASSUME_STATFS_F_FLAGS.
15411
754f7da3
UD
15412 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15413
10b3bedc
UD
15414 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15415 Add sys/fanotify.h.
15416 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15417 fanotify_mask for GLIBC_2.13.
15418 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15419 fanotify_init and fanotify_mark.
15420 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15421 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15422
c08fb0d7
UD
15423 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15424 Add prlimit.
15425 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15426 prlimit64 for GLIBC_2.13.
15427 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15428 prlimit64.
15429 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15430 syscall.
15431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15432 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15433 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15434 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15435 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15436 add prlimit alias.
15437 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15438
15bac72b
UD
15439 [BZ #11903]
15440 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15441 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15442
c3e2f19b
UD
15443 * nss/Makefile: Add rules to build and run tst-nss-test1.
15444 * shlib-versions: Add entry for libnss_test1.
15445 * nss/nss_test1.c: New file.
15446 * nss/tst-nss-test1.c: New file.
15447
15448 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15449 (__nss_configure_lookup): Set appropriate entry in
15450 __nss_configure_lookup to true.
15451 * nss/nsswitch.h: Define enum with indeces of databases in
15452 databases and __nss_database_custom arrays. Declare
15453 __nss_database_custom.
15454 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15455 to avoid using nscd when custom rules are installed.
15456 * nss/getXXbyYY_r.c: Likewise.
15457 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15458
15459 * nss/nss_files/files-parse.c: Whitespace fixes.
15460
f15ce4d8
UD
154612010-08-09 Ulrich Drepper <drepper@redhat.com>
15462
15463 [BZ #11883]
15464 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15465 * posix/fnmatch_loop.c: Likewise.
15466
d22e4cc9
AK
154672010-07-17 Andi Kleen <ak@linux.intel.com>
15468
15469 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15470 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15471 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15472 * Versions.def [GLIBC_2.13]: Add.
15473
805bc17d
UD
154742010-08-06 Ulrich Drepper <drepper@redhat.com>
15475
15476 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15477 Also fail if tpwd after pwuid call is NULL.
15478
5a42321d
ST
154792010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15480
15481 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15482 when converting to ms.
15483
fd3ebeda
ST
154842010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15485
15486 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15487 EOPNOTSUPP errors with ENOTTY.
15488 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15489 EOPNOTSUPP errors with ENOTTY.
15490
73507d3a
UD
154912010-07-31 Ulrich Drepper <drepper@redhat.com>
15492
15493 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15494 Add strcasecmp_l-ssse3.
15495 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15496 strcasecmp.
15497 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15498 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15499 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15500
fe36dd02
UD
155012010-07-30 Ulrich Drepper <drepper@redhat.com>
15502
66f6765a
UD
15503 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15504
42e08a54
UD
15505 * string/Makefile (strop-tests): Add strcasecmp.
15506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15507 strcasecmp_l-nonascii.
15508 (gen-as-const-headers): Add locale-defines.sym.
15509 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15510 * sysdeps/x86_64/strcasecmp.S: New file.
15511 * sysdeps/x86_64/strcasecmp_l.S: New file.
15512 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15513 * sysdeps/x86_64/locale-defines.sym: New file.
15514 * string/test-strcasecmp.c: New file.
15515
fe36dd02
UD
15516 * string/test-strcasestr.c: Test both ends of the range of characters.
15517 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15518
48cbc0d6
RM
155192010-07-29 Roland McGrath <roland@redhat.com>
15520
76e6d6bc 15521 [BZ #11856]
48cbc0d6
RM
15522 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15523
880113d9
UD
155242010-07-27 Ulrich Drepper <drepper@redhat.com>
15525
15526 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15527 for ld.so.
15528
deb9cabb
AS
155292010-07-27 Andreas Schwab <schwab@redhat.com>
15530
15531 * manual/memory.texi (Malloc Tunable Parameters): Document
15532 M_PERTURB.
15533
1c7570ff
RM
155342010-07-26 Roland McGrath <roland@redhat.com>
15535
15536 [BZ #11840]
15537 * configure.in (-fgnu89-inline check): Set and substitute
15538 gnu89_inline, not libc_cv_gnu89_inline.
15539 * configure: Regenerated.
15540 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15541
24fb0f88
UD
155422010-07-26 Ulrich Drepper <drepper@redhat.com>
15543
15544 * string/test-strnlen.c: New file.
15545 * string/Makefile (strop-tests): Add strnlen.
15546 * string/tester.c (test_strnlen): Add a few more test cases.
15547 * string/tst-strlen.c: Better error reporting.
15548
15549 * sysdeps/x86_64/strnlen.S: New file.
15550
8e96b93a
UD
155512010-07-24 Ulrich Drepper <drepper@redhat.com>
15552
15553 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15554 lower-latency instructions.
15555
dbc676d4
UD
155562010-07-23 Ulrich Drepper <drepper@redhat.com>
15557
15558 * string/test-strcasestr.c: New file.
15559 * string/test-strstr.c: New file.
15560 * string/Makefile (strop-tests): Add strstr and strcasestr.
15561 * string/str-two-way.h: Don't undefine MAX.
15562 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15563
f6a31e0e
AS
155642010-07-21 Andreas Schwab <schwab@redhat.com>
15565
15566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15567 strcasestr-nonascii.
15568 (CFLAGS-strcasestr-nonascii.c): Define.
15569 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15570 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15571 Remove unused attribute.
15572
5dbc3b6c
RM
155732010-07-20 Roland McGrath <roland@redhat.com>
15574
15575 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15576 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15577 ld.so.cache was broken. With it, there is no way to disable dsocaps
15578 like LD_HWCAP_MASK can disable hwcaps.
15579
23d101d8
EPM
155802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15581
15582 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15583
cc9f2e47
UD
155842010-07-16 Ulrich Drepper <drepper@redhat.com>
15585
15586 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15587 call in strcasestr.
15588 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15589 __strcasestr_sse42_nonascii.
15590 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15591 strcasestr-nonascii.c.
15592 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15593
77c1b069
LM
155942010-06-15 Luis Machado <luisgpm@br.ibm.com>
15595
15596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15597 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15599 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15600
440566c3
UD
156012010-07-09 Ulrich Drepper <drepper@redhat.com>
15602
15603 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15604 fcntl.
15605
5be9d05d
AS
156062010-07-06 Andreas Schwab <schwab@redhat.com>
15607
c30b7ee2 15608 [BZ #11577]
5be9d05d
AS
15609 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15610 dl_signal_cerror.
15611
8a492a67
UD
156122010-07-06 Ulrich Drepper <drepper@redhat.com>
15613
15614 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15615 _PC_PIPE_BUF using F_GETPIPE_SZ.
15616
713df3d5
RM
156172010-07-05 Roland McGrath <roland@redhat.com>
15618
15619 * manual/arith.texi (Rounding Functions): Fix rint description
15620 implicit in round description.
15621
702e8f14
UD
156222010-07-02 Ulrich Drepper <drepper@redhat.com>
15623
15624 * elf/Makefile: Fix linking for a few tests to make recent linker
15625 happy.
15626
52ed8be9
AS
156272010-06-30 Andreas Schwab <schwab@redhat.com>
15628
15629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15630 $(common-objpfx)libc_nonshared.a.
15631
f47c9a11
LM
156322010-06-21 Luis Machado <luisgpm@br.ibm.com>
15633
15634 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15635 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15636 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15637 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15638 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15639 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15640 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15641 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15656 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15657 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15658 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15659 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15660 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15661 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15662 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15663 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15664 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15665 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15666 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15667 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15682
6fb8cbcb
L
156832010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15684
15685 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15686 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15687 * string/memmove.c (memmove): Renamed to ...
15688 (MEMMOVE): ...this. Default to memmove.
15689 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15690 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15691 (END_CHK): Define.
15692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15693 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15694 mempcpy-ssse3-back memmove-ssse3-back.
15695 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15696 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15697 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15698 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15699 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15700 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15701 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15702 * sysdeps/x86_64/multiarch/memmove.c: New file.
15703 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15704 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15705 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15706 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15707 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15708 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15709 Define.
15710 (index_Fast_Copy_Backward): Define.
15711 (HAS_ARCH_FEATURE): Define.
15712 (HAS_FAST_REP_STRING): Define.
15713 (HAS_FAST_COPY_BACKWARD): Define.
15714
4e733bac 157152010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15716
15717 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15718 Restore proper fallback handling.
15719
63c4ed22
UD
157202010-06-19 Ulrich Drepper <drepper@redhat.com>
15721
ac2b484c
UD
15722 [BZ #11701]
15723 * posix/group_member.c (__group_member): Correct checking loop.
15724
63c4ed22
UD
15725 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15726 OOM in getpwuid_r correctly. Return error number when the caller
15727 should return, otherwise -1.
15728 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15729 call returning > 0 value.
15730 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15731
765ade4b
AS
157322010-06-07 Andreas Schwab <schwab@redhat.com>
15733
15734 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15735 libc_nonshared.a from targets in modules-names.
15736
80da2e09
KS
157372010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15738
15739 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15740 requires it.
15741
158db122
LM
157422010-06-10 Luis Machado <luisgpm@br.ibm.com>
15743
15744 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15745 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15746 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15747 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15748
caa78cf8
AS
157492010-06-02 Andreas Schwab <schwab@redhat.com>
15750
15751 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15752
b2ef2c01
UD
157532010-06-14 Ulrich Drepper <drepper@redhat.com>
15754
15755 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15756 and F_GETPIPE_SZ.
15757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15758 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15759 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15760 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15762 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15763
fbd643b6
RM
157642010-06-14 Roland McGrath <roland@redhat.com>
15765
15766 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15767
f32f2869
JJ
157682010-06-07 Jakub Jelinek <jakub@redhat.com>
15769
15770 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15771 __REDIRECT followed by __THROW.
15772 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15773 * posix/getopt.h (getopt): Likewise.
15774
2a50c078
EPM
157752010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15776
15777 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15778 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15779 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15780 in AT_FLAGS.
15781 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15782 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15783
eb5ad2eb
LM
157842010-05-28 Luis Machado <luisgpm@br.ibm.com>
15785
15786 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15787
3c88fe1e
L
157882010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15789
15790 [BZ #11640]
15791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15792 Properly check family and model.
15793
d2f73151
TY
157942010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15795
15796 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15797
ebd2e13d
LM
157982010-05-24 Luis Machado <luisgpm@br.ibm.com>
15799
15800 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15801
b32b8b45
UD
158022010-05-21 Ulrich Drepper <drepper@redhat.com>
15803
15804 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15805 symbol reference.
15806
9acbe24d
AS
158072010-05-19 Andreas Schwab <schwab@redhat.com>
15808
15809 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15810 symbol reference.
15811
f0ccf6ea
AS
158122010-05-21 Andreas Schwab <schwab@redhat.com>
15813
3d04ff3a
AS
15814 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15815 and internal_recvmmsg.
15816 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15817 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15818 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15819 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15820
f0ccf6ea
AS
15821 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15822 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15823 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15824
5b08ac57
AS
158252010-05-20 Andreas Schwab <schwab@redhat.com>
15826
15827 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15828
4828935d
LM
158292010-05-17 Luis Machado <luisgpm@br.ibm.com>
15830
15831 POWER7 optimizations.
15832 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15833 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15834
373d545e
UD
158352010-05-19 Ulrich Drepper <drepper@redhat.com>
15836
15837 * version.h: Update for 2.13 development version.
15838
21a2b1ae
AS
158392010-05-12 Andrew Stubbs <ams@codesourcery.com>
15840
15841 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15842 exceptions. Return 0.
15843
3f7dcb2b
RM
158442010-05-07 Roland McGrath <roland@redhat.com>
15845
15846 * elf/ldconfig.c (main): Add a const.
15847
5f24d53a 158482010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15849
a160f8d8
UD
15850 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15851 (args_options): Add no-idn option.
15852 (ahosts_keys_int): Add idn_flags to ai_flags.
15853 (parse_option): Handle 'i' option to clear idn_flags.
15854
5f24d53a
UD
15855 * malloc/malloc.c (_int_free): Possible race in the most recently
15856 added check. Only act on the data if no current modification
15857 happened.
265bb1ce
UD
15858
15859See ChangeLog.17 for earlier changes.