]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Optimize handling of denormals in logb/logbf/logbl
[thirdparty/glibc.git] / ChangeLog
CommitLineData
25dbcb27
AS
12012-05-26 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
4 handling of denormals.
5 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
9 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12 Likewise.
13
d81dcb35
MP
142012-05-25 Marek Polacek <polacek@redhat.com>
15
16 [BZ #14152]
17 * math/libm-test.inc (fma_test): Don't always expect underflow
18 exception.
19
9c6ea9fa
SP
202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
21
22 [BZ #12416]
23 * elf/tst-execstack.c: Include stackinfo.h.
24 (do_test): Adjust test case to ensure that pthread_getattr_np
25 behaviour remains the same after marking stack executable.
26
a8239222
JM
272012-05-25 Joseph Myers <joseph@codesourcery.com>
28
29 * sysdeps/unix/sysv/linux/kernel-features.h
30 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32 kernel-features.h.
33 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
35 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36 kernel-features.h.
37 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39
918b5606
L
402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41
42 * configure.in: Define the default includes to being none.
43 * configure: Regenerated.
44
3a097cc7
RM
452012-05-25 Roland McGrath <roland@hack.frob.com>
46
8422c9a5
RM
47 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
48 * sysdeps/x86_64/setjmp.S: Likewise.
49 * sysdeps/i386/bsd-setjmp.S: Likewise.
50 * sysdeps/i386/bsd-_setjmp.S: Likewise.
51 * sysdeps/i386/setjmp.S: Likewise.
52 * sysdeps/i386/__longjmp.S: Likewise.
53 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
54 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
55
3a097cc7
RM
56 * include/stap-probe.h: New file.
57 * configure.in: Handle --enable-systemtap.
58 * configure: Regenerated.
59 * config.h.in (USE_STAP_PROBE): New #undef.
60 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
61 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63
21708942
JM
642012-05-25 Joseph Myers <joseph@codesourcery.com>
65
66 [BZ #13717]
67 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
68 to 2.4.0 where earlier.
69 * sysdeps/unix/sysv/linux/configure: Regenerated.
70 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71 <kernel-features.h>.
72 [__ASSUME_32BITUIDS]: Make code unconditional.
73 [!__ASSUME_32BITUIDS]: Remove conditional code.
74 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75 <kernel-features.h>.
76 [__ASSUME_32BITUIDS]: Make code unconditional.
77 [!__ASSUME_32BITUIDS]: Remove conditional code.
78 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
79 [__ASSUME_32BITUIDS]: Make code unconditional.
80 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
81 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
82 <kernel-features.h>.
83 [__ASSUME_32BITUIDS]: Make code unconditional.
84 [!__ASSUME_32BITUIDS]: Remove conditional code.
85 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
86 <kernel-features.h>.
87 [__ASSUME_32BITUIDS]: Make code unconditional.
88 [!__ASSUME_32BITUIDS]: Remove conditional code.
89 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
90 <kernel-features.h>.
91 [__ASSUME_32BITUIDS]: Make code unconditional.
92 [!__ASSUME_32BITUIDS]: Remove conditional code.
93 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
94 <kernel-features.h>.
95 [__ASSUME_32BITUIDS]: Make code unconditional.
96 [!__ASSUME_32BITUIDS]: Remove conditional code.
97 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
98 <kernel-features.h>.
99 [__ASSUME_32BITUIDS]: Make code unconditional.
100 [!__ASSUME_32BITUIDS]: Remove conditional code.
101 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
102 <kernel-features.h>.
103 [__ASSUME_32BITUIDS]: Make code unconditional.
104 [!__ASSUME_32BITUIDS]: Remove conditional code.
105 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
106 <kernel-features.h>.
107 [__ASSUME_32BITUIDS]: Make code unconditional.
108 [!__ASSUME_32BITUIDS]: Remove conditional code.
109 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
110 <kernel-features.h>.
111 [__ASSUME_32BITUIDS]: Make code unconditional.
112 [!__ASSUME_32BITUIDS]: Remove conditional code.
113 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
114 <kernel-features.h>.
115 [__ASSUME_32BITUIDS]: Make code unconditional.
116 [!__ASSUME_32BITUIDS]: Remove conditional code.
117 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
118 <kernel-features.h>.
119 [__ASSUME_32BITUIDS]: Make code unconditional.
120 [!__ASSUME_32BITUIDS]: Remove conditional code.
121 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
122 <kernel-features.h>.
123 [__NR_setresgid] (__setresgid): Do not declare.
124 [__ASSUME_32BITUIDS]: Make code unconditional.
125 [!__ASSUME_32BITUIDS]: Remove conditional code.
126 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
127 <kernel-features.h>.
128 [__NR_setresuid] (__setresuid): Do not declare.
129 [__ASSUME_32BITUIDS]: Make code unconditional.
130 [!__ASSUME_32BITUIDS]: Remove conditional code.
131 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.c: Do not include
160 <kernel-features.h>.
161 [__ASSUME_32BITUIDS]: Make code unconditional.
162 [!__ASSUME_32BITUIDS]: Remove conditional code.
163 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
164 <kernel-features.h>.
165 [__ASSUME_32BITUIDS]: Make code unconditional.
166 [!__ASSUME_32BITUIDS]: Remove conditional code.
167 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
168 <kernel-features.h>.
169 [__ASSUME_32BITUIDS]: Make code unconditional.
170 [!__ASSUME_32BITUIDS]: Remove conditional code.
171 * sysdeps/unix/sysv/linux/kernel-features.h
172 (__ASSUME_SETRESUID_SYSCALL): Remove.
173 (__ASSUME_SETRESGID_SYSCALL): Likewise.
174 (__ASSUME_32BITUIDS): Likewise.
175 (__ASSUME_LDT_WORKS): Likewise.
176 (__ASSUME_O_DIRECTORY): Likewise.
177 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
178 architecture but not kernel version.
179 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
180 (__ASSUME_MMAP2_SYSCALL): Likewise.
181 (__ASSUME_STAT64_SYSCALL): Likewise.
182 (__ASSUME_IPC64): Likewise.
183 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
184 <kernel-features.h>.
185 [__ASSUME_32BITUIDS]: Make code unconditional.
186 [!__ASSUME_32BITUIDS]: Remove conditional code.
187 * sysdeps/unix/sysv/linux/opendir.c: Do not include
188 <kernel-features.h>.
189 [__ASSUME_O_DIRECTORY]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
191 132096]: Remove conditional code.
192 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
202 <kernel-features.h>.
203 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
204 unconditional.
205 (__setresgid): Do not declare.
206 [__ASSUME_32BITUIDS]: Make code unconditional.
207 [!__ASSUME_32BITUIDS]: Remove conditional code.
208 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
209 <kernel-features.h>.
210 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
211 unconditional.
212 (__setresuid): Do not declare.
213 [__ASSUME_32BITUIDS]: Make code unconditional.
214 [!__ASSUME_32BITUIDS]: Remove conditional code.
215 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
216 <kernel-features.h>.
217 [__ASSUME_32BITUIDS]: Make code unconditional.
218 [!__ASSUME_32BITUIDS]: Remove conditional code.
219 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
220 <kernel-features.h>.
221 [__ASSUME_32BITUIDS]: Make code unconditional.
222 [!__ASSUME_32BITUIDS]: Remove conditional code.
223
a386f1cc
RH
2242012-05-25 Richard Henderson <rth@twiddle.net>
225
226 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
227 dl_hwcap to ifunc resolver.
228 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
229 elf_ifunc_invoke.
230 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
231 dl_hwcap to ifunc resolver.
232 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
233
b6550497
JM
2342012-05-24 Joseph Myers <joseph@codesourcery.com>
235
236 [BZ #14153]
237 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
238 for |x| <= 2**-26, not 2**-57.
239 * math/libm-test.inc (acos_test): Do not allow spurious underflow
240 exception.
241
b0bc23a1
JL
2422012-05-24 Jeff Law <law@redhat.com>
243
244 * stdio-common/Makefile (tests): Add bug25.
245 * stdio-common/bug25.c: New test.
246
347c92e9
L
2472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
248
249 [BZ #13576]
250 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
251 multiple of MALLOC_ALIGNMENT in size.
252 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
253
6bcc8b3f
JM
2542012-05-24 Joseph Myers <joseph@codesourcery.com>
255
256 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
257 Require >= 256.
258 (FILENAME_MAX): Use macro-int-constant.
259 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
260 (_IOFBF): Use macro-int-constant.
261 (_IOLBF): Likewise.
262 (_IONBF): Likewise.
263 (SEEK_CUR): Likewise.
264 (SEEK_END): Likewise.
265 (SEEK_SET): Likewise.
266 (TMP_MAX): Likewise.
267 (EOF): Use macro-int-constant. Require < 0.
268 (NULL): Use macro-constant. Require == 0.
269 (stdin): Require type to be FILE *.
270 (stdout): Likewise.
271 (stderr): Likewise.
272 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
273 macro-int-constant.
274 (EXIT_SUCCESS): Likewise.
275 (NULL): Use macro-constant. Require == 0.
276 (RAND_MAX): Use macro-int-constant.
277 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
278 [C99-based standards] (strtof): Require function.
279 [C99-based standards] (strtold): Likewise.
280 [C99-based standards] (strtoll): Likewise.
281 [C99-based standards] (strtoull): Likewise.
282 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
283 [ISO || ISO99 || ISO11] (limits.h): Likewise.
284 [ISO || ISO99 || ISO11] (math.h): Likewise.
285 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
286 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
287 [ISO || ISO99 || ISO11] (*_t): Do not allow.
288
d18ea0c5
AS
2892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
290
291 [BZ #14132]
56d25bb8
AS
292 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
293 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
294 * intl/dgettext.c (DCGETTEXT): Likewise.
295 * intl/gettext.c (DCGETTEXT): Likewise.
296 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
297 * posix/regex_internal.h (gettext): Likewise.
298 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
299 Remove declaration.
300 * include/argz.h (__argz_count_internal)
301 (__argz_stringify_internal): Remove declaration.
302 (__argz_count, __argz_stringify): Declare hidden proto.
303 * intl/dcgettext.c: Remove use of INTDEF.
304 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
305 * string/argz-stringify.c: Likewise.
306 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
307 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
308 Declare hidden proto.
d18ea0c5
AS
309 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
310 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
311 Declare hidden proto.
312 * include/stdio.h (__asprintf_internal): Don't declare.
313 (__asprintf): Don't define as macro. Declare hidden proto.
314 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
315 (__fsetlocking): Declare hidden proto.
316 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
317 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
318 hidden proto.
319 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
320 (_IO_setlinebuf): Remove use of INTUSE.
321 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
322 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
323 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
324 Remove declaration.
325 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
326 (_IO_do_flush): Remove use of INTUSE.
327 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
328 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
329 (_IO_adjust_column, _IO_least_wmarker)
330 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
331 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
332 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
333 (_IO_default_doallocate, _IO_wdefault_doallocate)
334 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
335 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
336 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
337 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
338 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
339 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
340 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
341 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
342 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
343 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
344 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
345 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
346 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
347 proto.
348 (_IO_flush_all_internal, _IO_adjust_column_internal)
349 (_IO_default_uflow_internal, _IO_default_finish_internal)
350 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
351 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
352 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
353 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
354 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
355 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
356 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
357 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
358 (_IO_file_close_internal, _IO_file_close_it_internal)
359 (_IO_file_underflow_internal, _IO_file_overflow_internal)
360 (_IO_file_init_internal, _IO_file_attach_internal)
361 (_IO_file_fopen_internal, _IO_file_read_internal)
362 (_IO_file_sync_internal, _IO_file_seek_internal)
363 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
364 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
365 (_IO_str_underflow_internal, _IO_str_overflow_internal)
366 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
367 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
368 (_IO_list_all_internal, _IO_link_in_internal)
369 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
370 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
371 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
372 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
373 (_IO_do_write_internal, _IO_padn_internal)
374 (_IO_getline_info_internal, _IO_getline_internal)
375 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
376 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
377 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
378 (_IO_vfscanf_internal, _IO_vfprintf_internal)
379 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
380 (_IO_init_internal, _IO_un_link_internal): Don't declare.
381 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
382 with libc_hidden_ver, remove use of INTUSE.
383 * libio/genops.c: Likewise.
384 * libio/freopen.c: Likewise.
385 * libio/freopen64.c: Likewise.
386 * libio/iofclose.c: Likewise.
387 * libio/iofdopen.c: Likewise.
388 * libio/iofflush.c: Likewise.
389 * libio/iofflush_u.c: Likewise.
390 * libio/iofgets.c: Likewise.
391 * libio/iofgets_u.c: Likewise.
392 * libio/iofopen.c: Likewise.
393 * libio/iofopncook.c: Likewise.
394 * libio/iofread.c: Likewise.
395 * libio/iofread_u.c: Likewise.
396 * libio/ioftell.c: Likewise.
397 * libio/iofwrite.c: Likewise.
398 * libio/iogetline.c: Likewise.
399 * libio/iogets.c: Likewise.
400 * libio/iogetwline.c: Likewise.
401 * libio/iopadn.c: Likewise.
402 * libio/iopopen.c: Likewise.
403 * libio/ioseekoff.c: Likewise.
404 * libio/ioseekpos.c: Likewise.
405 * libio/iosetbuffer.c: Likewise.
406 * libio/iosetvbuf.c: Likewise.
407 * libio/ioungetc.c: Likewise.
408 * libio/ioungetwc.c: Likewise.
409 * libio/iovdprintf.c: Likewise.
410 * libio/iovsprintf.c: Likewise.
411 * libio/iovsscanf.c: Likewise.
412 * libio/memstream.c: Likewise.
413 * libio/obprintf.c: Likewise.
414 * libio/oldfileops.c: Likewise.
415 * libio/oldiofclose.c: Likewise.
416 * libio/oldiofdopen.c: Likewise.
417 * libio/oldiofopen.c: Likewise.
418 * libio/oldiopopen.c: Likewise.
419 * libio/oldstdfiles.c: Likewise.
420 * libio/putc.c: Likewise.
421 * libio/setbuf.c: Likewise.
422 * libio/setlinebuf.c: Likewise.
423 * libio/stdfiles.c: Likewise.
424 * libio/strops.c: Likewise.
425 * libio/vasprintf.c: Likewise.
426 * libio/vscanf.c: Likewise.
427 * libio/vsnprintf.c: Likewise.
428 * libio/vswprintf.c: Likewise.
429 * libio/wfiledoalloc.c: Likewise.
430 * libio/wfileops.c: Likewise.
431 * libio/wgenops.c: Likewise.
432 * libio/wmemstream.c: Likewise.
433 * libio/wstrops.c: Likewise.
434 * libio/__fpurge.c: Likewise.
435 * libio/__fsetlocking.c: Likewise.
436 * assert/assert.c: Likewise.
437 * debug/fgets_chk.c: Likewise.
438 * debug/fgets_u_chk.c: Likewise.
439 * debug/fread_chk.c: Likewise.
440 * debug/fread_u_chk.c: Likewise.
441 * debug/gets_chk.c: Likewise.
442 * debug/obprintf_chk.c: Likewise.
443 * debug/vasprintf_chk.c: Likewise.
444 * debug/vdprintf_chk.c: Likewise.
445 * debug/vsnprintf_chk.c: Likewise.
446 * debug/vsprintf_chk.c: Likewise.
447 * malloc/mtrace.c: Likewise.
448 * misc/error.c: Likewise.
449 * misc/syslog.c: Likewise.
450 * stdio-common/asprintf.c: Likewise.
451 * stdio-common/fxprintf.c: Likewise.
452 * stdio-common/getw.c: Likewise.
453 * stdio-common/isoc99_fscanf.c: Likewise.
454 * stdio-common/isoc99_scanf.c: Likewise.
455 * stdio-common/isoc99_vfscanf.c: Likewise.
456 * stdio-common/isoc99_vscanf.c: Likewise.
457 * stdio-common/isoc99_vsscanf.c: Likewise.
458 * stdio-common/printf-prs.c: Likewise.
459 * stdio-common/printf_fp.c: Likewise.
460 * stdio-common/printf_fphex.c: Likewise.
461 * stdio-common/printf_size.c: Likewise.
462 * stdio-common/putw.c: Likewise.
463 * stdio-common/scanf.c: Likewise.
464 * stdio-common/sprintf.c: Likewise.
465 * stdio-common/tmpfile.c: Likewise.
466 * stdio-common/vfprintf.c: Likewise.
467 * stdio-common/vfscanf.c: Likewise.
468 * stdlib/strfmon_l.c: Likewise.
469 * sunrpc/openchild.c: Likewise.
470 * sunrpc/xdr_stdio.c: Likewise.
471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
472 * sysdeps/mach/hurd/tmpfile.c: Likewise.
473
d6c33fda
RM
4742012-05-24 Roland McGrath <roland@hack.frob.com>
475
c1487492
RM
476 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
477
478 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
479 in the third column, to generate for the shared library an IFUNC
480 that uses _dl_vdso_vsym.
481 * Makerules (COMPILE.c, compile-stdin.c): New variables.
482 * Makeconfig (object-suffixes-noshared): New variable.
483
484 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
485 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
486 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
487 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
488
d6c33fda
RM
489 [BZ #14132]
490 * include/sys/time.h (__gettimeofday): Remove macro.
491 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
492 * time/gettimeofday.c (__gettimeofday): Remove #undef.
493 Remove INTDEF.
494 (__gettimeofday): Add libc_hidden_def.
495 (gettimeofday): Add libc_hidden_weak.
496 * sysdeps/mach/gettimeofday.c: Likewise.
497 * sysdeps/posix/gettimeofday.c: Likewise.
498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
499 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
501 (__gettimeofday_internal): Remove strong_alias.
502 (__gettimeofday): Add libc_hidden_def.
503 (gettimeofday): Add libc_hidden_weak.
504 * sysdeps/unix/syscalls.list (gettimeofday):
505 Remove __gettimeofday_internal alias.
506
b5a2bbe6
L
5072012-05-24 Daniel Jacobowitz <drow@false.org>
508 H.J. Lu <hongjiu.lu@intel.com>
509
510 [BZ #12495]
511 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
512 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
513 (largebin_index_32_big): New.
514 (largebin_index): Use it for 16-byte alignment.
515 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
516 correction with front_misalign.
517
cfba4fda
L
5182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
519
7f907421
L
520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
522 Likewise.
523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
524 Likewise.
525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
526 Likewise.
527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
528 Likewise.
529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
530 Likewise.
531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
532 Likewise.
533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
534 Likewise.
535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
536 Likewise.
537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
538 Likewise.
539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
540 Likewise.
541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
542 Likewise.
543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
544 Likewise.
545
cfba4fda
L
546 * scripts/data/c++-types-x32-linux-gnu.data: New file.
547 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
548
80bad0cc
JM
5492012-05-24 Joseph Myers <joseph@codesourcery.com>
550
7a25eb06
JM
551 [BZ #10846]
552 [BZ #14036]
553 * math/libm-test.inc (exp_test): Add test from bug 14036.
554 (pow_test): Add test from bug 10846.
555
795405f9
JM
556 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
557 and other flags.
558 (special_function): Do not include flags in test name.
559 (parse_args): Likewise.
560 * sysdeps/i386/fpu/libm-test-ulps: Update.
561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
562 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
563 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
565
80bad0cc
JM
566 * math/gen-libm-test.pl (%beautify): Add entries for underflow
567 exceptions.
568 * math/libm-test.inc ("Philosophy"): Update comment about
569 exception testing.
570 (UNDERFLOW_EXCEPTION): New macro.
571 (UNDERFLOW_EXCEPTION_OK): Likewise.
572 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
573 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
574 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
575 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
576 (INVALID_EXCEPTION_OK): Update value.
577 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
578 (OVERFLOW_EXCEPTION_OK): Likewise.
579 (IGNORE_ZERO_INF_SIGN): Likewise.
580 (test_exceptions): Handle underflow exceptions.
581 (acos_test): Update for underflow exception expectations.
582 (cexp_test): Likewise.
583 (clog_test): Likewise.
584 (clog10_test): Likewise.
585 (csqrt_test): Likewise.
586 (ctan_test): Likewise.
587 (ctanh_test): Likewise.
588 (exp_test): Likewise.
589 (exp10_test): Likewise.
590 (exp2_test): Likewise.
591 (expm1_test): Likewise.
592 (fma_test): Likewise.
593 (j0_test): Likewise.
594 (jn_test): Likewise.
595 (nexttoward_test): Likewise.
596 (pow_test): Likewise.
597 (scalbn_test): Likewise.
598 (scalbln_test): Likewise.
599 (tan_test): Likewise.
600 (y1_test): Likewise.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
603
9e0e3d0b
DM
6042012-05-23 David S. Miller <davem@davemloft.net>
605
606 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
607 (__libc_sigaction): Remove unused local variables.
608
ccd0a08f
L
6092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
610
611 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
612
62bdf9a6
PE
6132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
614
f8591f80
PE
615 mktime: avoid signed integer overflow
616 * time/mktime.c (__mktime_internal): Do not mishandle the case
617 where diff == INT_MIN.
618
94c7d826
PE
619 mktime: simplify computation of average
620 * time/mktime.c (ranged_convert): Use new time_t_avg function
621 instead of rolling our own (probably-slower) code.
622
ce73d683
PE
623 mktime: do not assume signed right shift propagates sign bit
624 * time/mktime.c (isdst_differ): New static function.
625 (__mktime_internal): No need to normalize tm_isdst now.
626 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
627 tm_isdst values.
628
72a22e59
PE
629 mktime: merge another wrapv change from gnulib
630 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
631 from some compilers.
632
68605433
PE
633 mktime: remove incorrect attempt at unusual arithmetics
634 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
635 The code didn't really work on such machines anyway.
636 (TYPE_MINIMUM): Assume two's complement.
637 (twos_complement_arithmetic): Verify that long_int and time_t
638 are two's complement (or unsigned, in the latter case).
639
03cf7fe3
PE
640 mktime: check signed shifts on long_int and time_t, too
641 * time/mktime.c (SHR): Check that shifts work as desired
642 on the types long_int and time_t too, as SHR is used on
643 such types.
644
f04dfbc2
PE
645 mktime: do not assume 'long' is wide enough
646 * time/mktime.c (verify): Move decl up.
647 (long_int): New type.
648 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
649 to remove assumption in the code that 'long' is wide enough to
650 store year values. This assumption is not true on x32 and on
651 some non-glibc platforms.
652
62bdf9a6
PE
653 mktime: merge wrapv change from gnulib
654 * time/mktime.c (WRAPV): New macro.
655 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
656 (guess_time_tm, __mktime_internal): Do not assume that signed
657 integer overflow wraps around; modern compilers generate code
658 where this assumption is no longer valid.
659
5e292e4f
L
6602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
661
662 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
663 Replace "jmp L(pseudo_end)" with "ret".
664 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
665 Likewise.
666
8caf8c87
AJ
6672012-05-23 Andreas Jaeger <aj@suse.de>
668
669 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
670 * sysdeps/unix/sysv/linux/poll.c: Remove file.
671
1a09dc56
AJ
6722012-05-23 Andreas Jaeger <aj@suse.de>
673 Maximilian Attems <max@stro.at>
674
675 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
676 New macros.
677
1c87aba0
L
6782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
679
680 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
681 code so that pseudo_end is just ret and the stack pointer is
682 correct also for static library in error case.
683
40e45bd5
JM
6842012-05-23 Joseph Myers <joseph@codesourcery.com>
685
c2670533
JM
686 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
687 move to syscalls.list.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
692
40e45bd5
JM
693 * manual/install.texi (Running make install): Do not mention Linux
694 kernel version for which pt_chown is not needed.
695 (Linux): Do not mention problems with nscd with 2.0 kernels.
696 * INSTALL: Regenerated.
697
be08eda5
AJ
6982012-05-23 Andreas Jaeger <aj@suse.de>
699
700 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
701 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
702 macro.
703 * sysdeps/unix/sysv/linux/s390/bits/mman.h
704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
705 * sysdeps/unix/sysv/linux/sh/bits/mman.h
706 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
707 * sysdeps/unix/sysv/linux/i386/bits/mman.h
708 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
710 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
711 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
712 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
713 * sysdeps/unix/sysv/linux/bits/in.h
714 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
715
a6a056bb
RM
7162012-05-22 Roland McGrath <roland@hack.frob.com>
717
718 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
719 (PREPARE_VERSION): Just use assert instead, it will be elided
720 under [NDEBUG] anyway.
721
c9009328
L
7222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
723
724 * sysdeps/unix/sysv/linux/Makefile: Include
725 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 726 (sysdep_routines): Remove sysctl.
c9009328
L
727 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
728 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
729 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
730 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
731 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
732
73338355
AJ
7332012-05-22 Andreas Jaeger <aj@suse.de>
734
735 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
736 that pseudo_end is just ret and the stack pointer is correct also
737 for static library in error case.
738
d44638b0
PP
7392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
740
741 [BZ #14122]
742 * nss/nsswitch.c (defconfig_entries): New variable.
743 (__nss_database_lookup): Don't leak defconfig entries.
744 (nss_parse_service_list): Don't leak on error paths.
745 (free_database_entries): New function.
746 (free_defconfig): New function.
747 (free_mem): Move common code to free_database_entries.
748
31a39bd8
L
7492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
750
da0331a8
L
751 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
752 Add arch_prctl.
753 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
754
31a39bd8
L
755 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
756 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
758 New macro.
759 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
760 (INTERNAL_SYSCALL_TYPES): Likewise.
761 (LOAD_ARGS_TYPES_[1-6]): Likewise.
762 (LOAD_REGS_TYPES_[1-6]): Likewise.
763 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
764 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
765
45470df3
AZ
7662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
767
768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
769 copysignl for GLIBC_2_0.
770 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
771 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
773 logbl for GLIBC_2_0.
774 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
775 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
776
98a61bcb
L
7772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
778
a4f6e481
L
779 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
780 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
781
f63d5db6
L
782 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
783 Use "neg %eax".
784
98a61bcb
L
785 * time/mktime.c: Update copyright years.
786
95770f14
PE
7872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
788
6226efbd
PE
789 mktime: merge comment-quoting-style change from gnulib
790 * time/mktime.c: Quote 'like this' in comments.
791 The GNU coding standards suggest that we no longer quote `like this',
792 as "`" and "'" are typically rendered asymmetrically nowadays.
793 The typical gnulib style is to quote 'like this' when quoting
794 code, and "like this" when quoting English.
795
b99e4f78
PE
796 * time/mktime.c (compile-command): Add "-I.".
797
643e01e6
PE
798 mktime: merge mktime-internal.h change from gnulib
799 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
800
2554247d
PE
801 mktime: merge time_r change from gnulib
802 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
803
826dd0ab
PE
804 mktime: merge DEBUG change from gnulib
805 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
806 case system <time.h> has a #define.
807
bd83aabe
PE
808 mktime: merge <sys/types.h> change from gnulib
809 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
810 since <time.t> is now guaranteed to define time_t.
811
95770f14
PE
812 mktime: merge HAVE_CONFIG_H change from gnulib
813 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
814
5e1a27a9
L
8152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
816
0e44a77e
L
817 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
818 Use "neg %eax".
819
5e1a27a9
L
820 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
821 __rlim_t cast.
822 (struct rusage): Use anonymous union to pad each field to
823 __syscall_slong_t.
824
46259bec
DM
8252012-05-21 David S. Miller <davem@davemloft.net>
826
827 * Makefules (o-iterator): Remove .s cases.
828 (compile-command.s): Delete.
829 (COMPILE.s): Delete.
830 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
831
59f0c22e
JM
8322012-05-21 Joseph Myers <joseph@codesourcery.com>
833
834 * configure.in (libc_cv_predef_stack_protector): Only consider
835 "foobar" and "__stack_chk_fail" lines in libc_undefs.
836 * configure: Regenerated.
837
20c07380
L
8382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
839
bbb3154b
L
840 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
841 New macro. Use R*LP on int and pointer.
842 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
843 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
844 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
845 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
846
20c07380
L
847 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
848 [__WORDSIZE_TIME64_COMPAT32] instead of
849 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
850 (struct utmp): Likewise.
851 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
852 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
853 Renamed to ...
854 (__WORDSIZE_TIME64_COMPAT32): This.
855 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
856 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
857 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
858 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
859 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
860 (__WORDSIZE_TIME64_COMPAT32): New macro.
861
d8d1017e
AJ
8622012-05-21 Andreas Jaeger <aj@suse.de>
863
864 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
865 only if [SHARED]. Add prototype for __wcschr_ia32.
866
6c7fb145
RM
8672012-05-21 Roland McGrath <roland@hack.frob.com>
868
869 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
870 of %rbp unmolested in the jmp_buf while mangling the low bits.
871 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
872 unmolested high bits of %rbp while demangling the low bits.
873 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
874
66274218
AJ
8752012-05-21 Andreas Jaeger <aj@suse.de>
876
07c58f8f
AJ
877 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
878 * sunrpc/svc_simple.c: Use it for registerrpc.
879 * sunrpc/xcrypt.c: Use it for passwd2des.
880
66274218
AJ
881 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
882
61f65140
L
8832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
884
885 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
886 Don't define if [__SYSCALL_WORDSIZE != 32].
887 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
888 New macro.
889
5fefb436
AJ
8902012-05-21 Bruno Haible <bruno@clisp.org>
891 Andreas Jaeger <aj@suse.de>
892
893 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
894 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
895 inptr and inend for must_buffer_ch.
896 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
897 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
898 * stdio-common/Makefile (tests): Remove bug15.
899 (bug15-ENV): Remove macro.
900 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
901 anymore.
902
d8e272ab
AJ
9032012-05-19 Andreas Jaeger <aj@suse.de>
904 Roland McGrath <roland@hack.frob.com>
905
906 * manual/contrib.texi: Completely rewritten. It contains now an
907 alphabetical list of contributors and their contributions.
908
4a56a162
RH
9092012-05-21 Richard Henderson <rth@twiddle.net>
910
911 * misc/getauxval.c (__getauxval): Use unsigned long int.
912 * misc/sys/auxv.h: Include <sys/cdefs.h>.
913 (getauxval): Use unsigned long int.
914
d024d23c
L
9152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
916
917 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
918
cbc00a03
RM
9192012-05-21 Roland McGrath <roland@hack.frob.com>
920
921 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
922 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
923 __alignof__ (long double).
924
478143fa
AZ
9252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
926
927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
928
c7683a6d
RH
9292012-05-20 Richard Henderson <rth@twiddle.net>
930
931 * misc/getauxval.c: New file.
932 * misc/sys/auxv.h: New file.
933 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
934 (routines): Add getauxval.
935 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
936 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
937 * elf/dl-sysdep.c (_dl_auxv): Remove.
938 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
939 * elf/dl-support.c (_dl_auxv): New variable.
940 (_dl_aux_init): Initialize it.
941 * manual/startup.texi (Auxiliary Vector): New node.
942 * sysdeps/generic/bits/hwcap.h: New file.
943 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
944 * sysdeps/powerpc/sysdep.h: ... here. Include it.
945 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
946 * sysdeps/sparc/sysdep.h: ... here. Include it.
947 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
948 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
950 Update.
c7683a6d
RH
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
953 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
959
a6f1845d
AZ
9602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
961
962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
963
cbcbe830
DM
9642012-05-19 David S. Miller <davem@davemloft.net>
965
966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
967
e0b16cc2
JM
9682012-05-19 Joseph Myers <joseph@codesourcery.com>
969
970 [BZ #14123]
971 * math/s_ccosh.c: Include <float.h>
972 (__ccosh): Avoid internal overflow calculating sinh and cosh
973 values before multiplying by sin and cos values.
974 * math/s_ccoshf.c: Likewise.
975 * math/s_ccoshl.c: Likewise.
976 * math/s_csin.c: Likewise.
977 * math/s_csinf.c: Likewise.
978 * math/s_csinl.c: Likewise.
979 * math/s_csinh.c: Likewise.
980 * math/s_csinhf.c: Likewise.
981 * math/s_csinhl.c: Likewise.
982 * math/libm-test.inc (ccos_test): Add more tests.
983 (ccosh_test): Likewise.
984 (csin_test): Likewise.
985 (csinh_test): Likewise.
986 * sysdeps/i386/fpu/libm-test-ulps: Update.
987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
988
6ad13e08
L
9892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
990
f66f0ce8
L
991 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
992 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
993
6ad13e08
L
994 * sysdeps/x86_64/x32/_itoa.h: Add comment.
995
b1d072a7
JM
9962012-05-19 Joseph Myers <joseph@codesourcery.com>
997
998 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
999 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
1000 * sysdeps/powerpc/soft-fp/Versions: Likewise.
1001 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
1002 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
1003 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
1004 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
1005 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
1006 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
1007 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
1008 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
1009 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
1010 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
1011 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
1012 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
1013 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
1014 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
1015 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
1016 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
1017 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
1018 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
1019 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
1020 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
1021 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
1022 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
1023 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
1024 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
1025 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
1026 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
1027 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
1028 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
1029
9eae47cb
AJ
10302012-05-18 Andreas Jaeger <aj@suse.de>
1031
1032 * csu/.gitignore: Delete.
1033
bb07f69f
L
10342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
1037 (timex): Use __syscall_slong_t.
1038
e6bdb741
AJ
10392012-05-18 Andreas Jaeger <aj@suse.de>
1040 Carlos O'Donell <carlos_odonell@mentor.com>
1041
1042 * manual/install.texi (Configuring and compiling): Update
1043 description about files modified in the source directory.
d6c33fda 1044 * INSTALL: Regenerated.
e6bdb741 1045
1b74487e
L
10462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1047
1048 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
1049 value. Use "or" to set return value to -1.
1050 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
1051 negate return value.
1052
a88b64b9
TMQMF
10532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1054
1055 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
1056 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
1057 failure if the compiler has Graphite support disabled.
1058 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
1059 Likewise.
1060 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
1061 CFLAGS-memmove.c): Likewise.
1062 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
1063 Likewise.
1064
3707636e
L
10652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
1066
610b8622
L
1067 * sysdeps/x86_64/x32/_itoa.h: New file.
1068
7cd195df
L
1069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
1070 getdents system call only if kernel and user dirents have the
1071 same d_ino and d_off.
1072
94b07d20
L
1073 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1074 LLONG_MAX != LONG_MAX.
1075 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1076 (_fitoa_word): Likewise.
1077
18298070
L
1078 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
1079 years.
1080 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
1081 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
1082 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
1083
553c7ea4
L
1084 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
1085 include <bits/wordsize.h>. Check __x86_64__ instead of
1086 __WORDSIZE.
1087 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
1088 if __x86_64__ is defined. Use anonymous union on fpstate.
1089
3707636e
L
1090 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
1091 anonymous union.
1092
b53ef01a
AS
10932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1094
37fb1dc0
AS
1095 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1096 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
1097 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
1098 Refer to _rtld_local_ro instead of _rtld_global_ro.
1099 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
1100 Likewise.
1101 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
1102 Likewise.
1103 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
1104 Likewise.
1105 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
1106 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
1107 of _rtld_global, and rtld_progname instead of _dl_argv[0].
1108
b53ef01a
AS
1109 * sysdeps/powerpc/powerpc32/dl-machine.c
1110 (__elf_machine_runtime_setup) [PROF]: Don't reference
1111 _dl_prof_resolve.
1112
7a185db2
AJ
11132012-05-18 Andreas Jaeger <aj@suse.de>
1114
1115 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
1116 function only available for GCCs before 3.4 since GCC 3.4
1117 introduced a builtin.
1118 (lrint): Likewise.
1119 (llrintf): Likewise.
1120 (llrint): Likewise.
1121 (fmaxf): Likewise.
1122 (fmax): Likewise.
1123 (fminf): Likewise.
1124 (fmin): Likewise.
1125 (rint): Likewise.
1126 (rintf): Likewise.
1127 (nearbyint): Likewise.
1128 (nearbyintf): Likewise.
1129 (ceil): Likewise.
1130 (ceilf): Likewise.
1131 (floor): Likewise.
1132 (floorf): Likewise.
1133
3e5aef87
L
11342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1135
428bd707
L
1136 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
1137 on both fields and cast pointer to __syscall_ulong_t.
1138
3e5aef87
L
1139 * bits/types.h (__fsword_t): New type.
1140 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
1141 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
1142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1143 (__FSWORD_T_TYPE): Likewise.
1144 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1145 (__FSWORD_T_TYPE): Likewise.
1146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1147 (__FSWORD_T_TYPE): Likewise.
1148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
1149 (__FSWORD_T_TYPE): Likewise.
1150 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
1151 __SWORD_TYPE with __fsword_t.
1152 (statfs64): Likewise.
1153
1ba7c3dc
DM
11542012-05-17 David S. Miller <davem@davemloft.net>
1155
1156 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
1157
59910343
AJ
11582012-05-17 Andreas Jaeger <aj@suse.de>
1159
1160 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
1161 warning.
1162
2e4c1e9e
L
11632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
1166
de7f5ce7
AJ
11672012-05-17 Andreas Jaeger <aj@suse.de>
1168
1169 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
1170 when it is used.
1171
286abc3d
CM
11722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1173
1174 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
1175
477cc68e
L
11762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
1179 * sysdeps/x86_64/tst-mallocalign1.c: New file.
1180
1a0994f5
CD
11812012-05-17 Andreas Jaeger <aj@suse.de>
1182 Carlos O'Donell <carlos_odonell@mentor.com>
1183
1184 [BZ #14059]
1185 * sysdeps/x86_64/multiarch/init-arch.h
1186 (bit_YMM_Usable): Rename to...
1187 (bit_AVX_Usable): ... this.
1188 (bit_FMA4_Usable): New macro.
1189 (bit_XMM_state): New macro.
1190 (bit_YMM_state): New macro.
1191 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
1192 [__ASSEMBLER__] (index_AVX_Usable): ... this.
1193 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
1194 (CPUID_OSXSAVE): New macro.
1195 (CPUID_AVX): New macro.
1196 (CPUID_FMA4): New macro.
1197 (index_YMM_Usable): Rename to...
1198 (index_AVX_Usable): ... this.
1199 (HAS_AVX): Use HAS_ARCH_FEATURE.
1200 (HAS_FMA4): Likewise.
1201 (HAS_YMM_USABLE): Remove.
1202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1203 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
1204 are present.
1205 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
1206 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
1207 * sysdeps/x86_64/multiarch/Makefile: Likewise.
1208 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
1209 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
1210
0af797de
CM
12112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
1212
1213 * math/libm-test.c: Support platforms without multiple rounding modes.
1214 * math/bug-nextafter.c: Support platforms without FP exceptions.
1215 * math/bug-nexttoward.c: Likewise.
1216 * math/test-fenv.c: Likewise.
1217 * math/test-misc.c: Likewise.
1218 * stdlib/bug-getcontext.c: Likewise.
1219
e39745ff
AJ
12202012-05-17 Andreas Jaeger <aj@suse.de>
1221
1222 * manual/examples/search.c (critter_cmp): Change signature to
1223 avoid warnings.
1224 * manual/string.texi (Collation Functions): Likewise.
1225
48970aba
L
12262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1227
1228 * bits/types.h: Fold copyright years.
1229 * bits/typesizes.h: Likewise.
1230 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
1231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
1232 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
1233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
1234 * time/time.h: Likewise.
1235
bedee953
PP
12362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
1237
1238 [BZ #208]
1239 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
1240 in instead of returning them. Return void.
1241 (__libc_mallinfo): Accumulate over all arenas.
1242 (__malloc_stats): Adjust for change in int_mallinfo interface.
1243
61653dfb
RM
12442012-05-16 Roland McGrath <roland@hack.frob.com>
1245
30b99d79
RM
1246 [BZ #10375]
1247 * configure.in (NM): Add AC_CHECK_TOOL for it.
1248 (libc_extra_cflags): New substituted variable.
1249 Check for -fstack-protector being used implicitly.
1250 * configure: Regenerated.
1251 * config.make.in (config-extra-cflags): New variable,
1252 gets @libc_extra_cflags@.
1253 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
1254
61653dfb
RM
1255 [BZ #10375]
1256 * configure.in: Check for _FORTIFY_SOURCE being predefined.
1257 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
1258 * configure: Regenerated.
1259 * config.make.in (CPPUNDEFS): New substituted variable.
1260 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
1261 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
1262 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
1263
661768bb
L
12642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1265
1266 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
1267 (mq_attr): Use __syscall_slong_t.
1268
d4261567
L
12692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
1272 Check __x86_64__ instead of __WORDSIZE.
1273 (_STAT_VER_LINUX): Likewise.
1274 (stat): Check __x86_64__ instead of __WORDSIZE. Use
1275 __syscall_ulong_t and __syscall_slong_t.
1276 (stat64): Likewise.
1277
cf3ff365
L
12782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1279
1280 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
1281
76cf3e4d
L
12822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1283
1284 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
1285
a637753a
L
12862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
1289 __syscall_ulong_t.
1290
d5e05119
L
1291 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
1292 include <bits/wordsize.h>. Check __x86_64__ instead of
1293 __WORDSIZE.
1294 (greg_t): Use "__extension__ long long int" if __x86_64__ is
1295 defined.
1296 (mcontext_t): Replace "unsigned long" with "unsigned long long".
1297
f62ee380
L
1298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
1299 include <bits/wordsize.h>. Check __x86_64__ instead of
1300 __WORDSIZE.
1301 (user_regs_struct): Use "__extension__ unsigned long long"
1302 instead of "unsigned long" if __x86_64__ is defined.
1303 (user): Likewise. Pad after pointer field if __ILP32__ is
1304 defined.
1305
4e124ced
JM
13062012-05-16 Joseph Myers <joseph@codesourcery.com>
1307
6a3951a0
JM
1308 * configure.in (makeinfo): Require version 4.5 or later. Allow
1309 versions 5 to 9.
1310 * configure: Regenerated.
1311 * manual/install.texi (texinfo): Increase version requirement to
1312 4.5 or later.
1313 * INSTALL: Regenerated.
1314
4e124ced
JM
1315 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
1316
953ca31a
L
13172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
1318
1319 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
1320
617aca05
L
1321 * sysdeps/x86_64/x32/ffs.c: New file.
1322
5762f7ae
L
1323 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
1324 __syscall_ulong_t.
1325 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
1326 defined. Use __syscall_ulong_t.
1327 (shminfo): Use __syscall_ulong_t.
1328 (shm_info): Likewise.
1329
a26b6856
L
1330 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
1331 __syscall_ulong_t.
1332
cb2b9ef7
L
1333 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
1334 <bits/wordsize.h>.
1335 (msgqnum_t): Use __syscall_ulong_t.
1336 (msglen_t): Likewise.
1337 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
1338 __syscall_ulong_t.
1339
34683bb0
L
1340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
1341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1342
84a68786
L
1343 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
1344
48baa5f1
L
1345 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
1346 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
1347
180be88b
L
1348 * sysvipc/sys/msg.h (msgbuf): Replace long int with
1349 __syscall_slong_t.
1350
5e90c8ad
L
1351 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
1352 include <bits/wordsize.h>. Check __x86_64__ instead of
1353 __WORDSIZE.
1354
23dfb58b
L
1355 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
1356 "unsigned long long int" if __x86_64__ is defined.
1357 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
1358
ce5d54b0
L
1359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
1360 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
1361 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
1362
13dc9eac
L
1363 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
1364 <stdint.h>.
1365 (GET_PC): Cast to uintptr_t first.
1366 (GET_FRAME): Likewise.
1367 (GET_STACK): Likewise.
1368
a7895d15
L
1369 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
1370 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
1371 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
1372 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
1373 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
1374 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
1375 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
1376 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
1377 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
1378 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
1379 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
1380 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
1381 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
1382 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
1383 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
1384 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
1385 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
1386 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
1387 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
1388 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
1389 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
1390 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
1391 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
1392 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
1393 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
1394 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
1395 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
1396 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
1397 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
1398
656416c9
AS
13992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
1400
5bd66283
AS
1401 * Makerules (+depfiles): Also collect depfiles from .oS in
1402 $(extra-objs).
1403 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
1404 .oS, $(libnldbl-routines)).
1405
656416c9
AS
1406 * Makerules (native-compile-mkdep-flags): Define.
1407 * sunrpc/Makefile (extra-objs): Add $(addprefix
1408 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
1409 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
1410 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
1411 calling $(make-target-directory).
1412
a46f2169
L
14132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1414
1415 * bits/types.h (__snseconds_t): Removed.
1416 * time/time.h (struct timespec): Replace __snseconds_t with
1417 __syscall_slong_t.
1418 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
1419 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
1420 Likewise.
1421 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1422 (__SNSECONDS_T_TYPE): Likewise.
1423 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1424 (__SNSECONDS_T_TYPE): Likewise.
1425 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1426 (__SNSECONDS_T_TYPE): Likewise.
1427
6af6528b
L
14282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1429
1430 * sysdeps/mach/hurd/bits/typesizes.h
1431 (__SYSCALL_SLONG_TYPE): New macro.
1432 (__SYSCALL_ULONG_TYPE): Likewise.
1433
de986b56
L
14342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1435
1436 * bits/types.h (__syscall_slong_t): New type.
1437 (__syscall_ulong_t): Likewise.
1438
1439 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
1440 (__SYSCALL_ULONG_TYPE): Likewise.
1441 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1442 (__SYSCALL_SLONG_TYPE): Likewise.
1443 (__SYSCALL_ULONG_TYPE): Likewise.
1444 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1445 (__SYSCALL_SLONG_TYPE): Likewise.
1446 (__SYSCALL_ULONG_TYPE): Likewise.
1447 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1448 (__SYSCALL_SLONG_TYPE): Likewise.
1449 (__SYSCALL_ULONG_TYPE): Likewise.
1450
85736dc7
L
14512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1452
1453 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
1454 Add sigaltstack-offsets.sym.
1455 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
1456 <sigaltstack-offsets.h>.
1457 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
1458 longjmp_msg pointer.
1459 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
1460 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
1461 signal stack.
1462 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
1463
cc03b296
JM
14642012-05-15 Joseph Myers <joseph@codesourcery.com>
1465
a9538892
JM
1466 * elf/stackguard-macros.h: Remove file.
1467 * sysdeps/generic/stackguard-macros.h: New file.
1468 * sysdeps/i386/stackguard-macros.h: Likewise.
1469 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1470 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1471 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1472 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1473 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1474 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1475 * sysdeps/x86_64/stackguard-macros.h: Likewise.
1476 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
1477 <elf/stackguard-macros.h>.
1478
cc03b296
JM
1479 [BZ #14109]
1480 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
1481 __aligned__ in attribute.
1482 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
1483 (gregset_t): Likewise.
1484
93171016
L
14852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1486
1487 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
1488 * sysdeps/x86_64/64/Implies-after: Here. New file.
1489 * sysdeps/x86_64/x32/Implies-after: New file.
1490
d86813a0
L
14912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1492
1493 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
1494 and access return value for _dl_profile_fixup. Use R10_LP to
1495 load frame size.
1496
2953ec75
L
14972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1498
1499 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
1500
3b550e9e
L
15012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1502
1503 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
1504 * sysdeps/x86_64/x32/sysdep.h: New file.
1505
eda41706
L
15062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1507
1508 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
1509 * sysdeps/x86_64/setjmp.S: Likewise.
1510
9ea01d93
AZ
15112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1512
1513 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
1514 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
1515 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
1516 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
1517 remove unused global constant.
1518
02a91938
CM
15192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
1520
1521 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
1522 include of <not-cancel.h>.
1523
6540185f
RM
15242012-05-15 Roland McGrath <roland@hack.frob.com>
1525
1526 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
1527
509072a0
AJ
15282012-05-15 Jeff Law <law@redhat.com>
1529 Andreas Jaeger <aj@suse.de>
1530
1531 [BZ #13594]
1532 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
1533 out from...
1534 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
1535 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
1536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
1537 code changing __hst_map_handle.map.
1538
ba75122d
RM
15392012-05-15 Roland McGrath <roland@hack.frob.com>
1540
1541 * configure.in (sysnames): Look for Implies-before and Implies-after
1542 files.
1543 * configure: Regenerated.
1544
890d8bd8
L
15452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1546
1547 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
1548 8-byte data alignment with LP_SIZE alignment.
1549
f6ee6623
L
15502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1551
1552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
1553 into R10_LP.
1554
ea2626f6
L
15552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1556
1557 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
1558
085f715e
L
15592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
1562 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
1563 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
1564 Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1566
be8498fc
L
15672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1568
1569 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
1570 (stackinfo_sub_sp): Likewise.
1571
70bc83b9
L
15722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1573
1574 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
1575 RAX_LP.
1576
9bc0b730
L
15772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1578
1579 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
1580 into R*_LP.
1581
6d2850e7
L
15822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1583
1584 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
1585 sizes into R*_LP.
1586
3cb84561
L
15872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1588
1589 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
1590
54e2ed81
L
15912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1592
1593 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
1594 into R11_LP and load __x86_64_shared_cache_size_half into
1595 R8_LP.
1596
8a17f349
L
15972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
1598
1599 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
1600 R8_LP.
1601
777b1eea
AZ
16022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1603
1604 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
1605 logb for POWER7.
1606 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
1607 logbf for POWER7.
1608 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
1609 logbl for POWER7.
1610 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
1611 powerpc32/power7/fpu/s_logb.c via #include.
1612 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
1613 powerpc32/power7/fpu/s_logbf.c via #include.
1614 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
1615 powerpc32/power7/fpu/s_logbl.c via #include.
1616
d20d4ac2
JM
16172012-05-15 Joseph Myers <joseph@codesourcery.com>
1618
1619 * README.libm: Remove file.
1620
6cdef1ab
L
16212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1622
1623 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
1624 count for x32. Use R*_LP and omit operand-size suffix.
1625
0b254d8f
L
16262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1627
1628 * shlib-versions: Move x86_64-.*-linux.* entries to ...
1629 * sysdeps/x86_64/64/shlib-versions: Here. New file.
1630 * sysdeps/x86_64/x32/shlib-versions: New file.
1631
ceb809dc
RM
16322012-05-14 Roland McGrath <roland@hack.frob.com>
1633
1634 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
1635 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
1636 Use _dl_fatal_printf instead.
1637
37f1abd4
JM
16382012-05-14 Joseph Myers <joseph@codesourcery.com>
1639
1640 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
1641 set if not set by the user. Do not allow for being unset.
1642 * sysdeps/unix/sysv/linux/configure: Regenerated.
1643
11de3a33
L
16442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
1647 the `q' suffix from lea and replace .quad with ASM_ADDR.
1648
e02f153a
L
16492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1650
1651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
1652 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
1653 instead of $17.
1654 (PTR_DEMANGLE): Likewise.
1655
520ae0fd
L
16562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1657
1658 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
1659 (LP_OP): Likewise.
1660 (ASM_ADDR): Likewise.
1661 (RAX_LP): Likewise.
1662 (RBP_LP): Likewise.
1663 (RBX_LP): Likewise.
1664 (RCX_LP): Likewise.
1665 (RDI_LP): Likewise.
1666 (RSI_LP): Likewise.
1667 (RSP_LP): Likewise.
1668 (R8_LP): Likewise.
1669 (R9_LP): Likewise.
1670 (R10_LP): Likewise.
1671 (R10_LP): Likewise.
1672 (R11_LP): Likewise.
1673 (R12_LP): Likewise.
1674 (R13_LP): Likewise.
1675 (R14_LP): Likewise.
1676 (R15_LP): Likewise.
1677
b985be81
L
16782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 * sysdeps/x86_64/x32/dl-machine.h: New file.
1681
6a4888ff
AJ
16822012-05-14 Andreas Jaeger <aj@suse.de>
1683
1684 * manual/Makefile (subdir): Remove export of subdir.
1685 (all): Remove target.
1686 (.PHONY): Remove all from list.
1687 (mkinstalldirs): Remove.
1688 (.PHONY): Remove installdirs from list.
1689 ($(inst_infodir)/libc.info): Use make-target-directory.
1690 (installdirs): Remove.
1691 (subdir_%): Remove.
1692 (glibc-targets): Remove.
1693 (lib): Remove.
1694 (stubs): Remove.
1695 ($(objpfx)stubs ../po/manual.pot): Remove.
1696 ($(objpfx)stamp%): Remove.
1697 (make-target-directory): Remove.
1698 (subdir_install): Remove.
1699 (routines): Remove.
1700 (aux): Remove.
1701 (sources): Remove.
1702 (objects): Remove.
1703 (headers): Remove.
1704
1705 [BZ #13750]
1706 * manual/.gitignore: Remove, it's not needed anymore.
1707 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
1708 all files in it.
1709 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
1710 directory.
1711 (texis): Renamed to $(objpfx)texis.
1712 (texis-path): New, contains path to generated files.
1713 (chapters.%): Use texis-path for complete path, add extra argument
1714 libc-texinfo.sh.
1715 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
1716 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
1717 (summary,texi, stamp-summary): Use complete path of
1718 files. Generate files in build dir.
1719 (dir-add.texi): Build in build dir.
1720 (libm-err.texi,stamp-libm-err): Likewise.
1721 (version.texi, stamp-version): Likewise.
1722 (.%c.texi): Likewise.
1723 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
1724 (mostlyclean): Remove target.
1725 (realclean): Remove target.
1726 (generated): Add new variable with contents from mostlyclean and
1727 realclean, remove entries duplicated in common-mostlyclean, add
1728 stamp-libm-err and stamp-version.
1729 (generated-dirs): Add libc directory.
1730 ($(inst_infodir)/libc.info): Install files from build dir.
1731
1732 * manual/install.texi (Configuring and compiling): Adjust since
1733 the info files are not part of the tar ball anymore.
1734
7ac77294
AJ
17352012-05-14 Andreas Jaeger <aj@suse.de>
1736
1737 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
1738 variable.
1739
ffb7875d
JM
17402012-05-14 Joseph Myers <joseph@codesourcery.com>
1741
1742 [BZ #13717]
1743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1744 to 2.2.0 where earlier.
1745 * sysdeps/unix/sysv/linux/configure: Regenerated.
1746 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
1747 Remove conditional code.
1748 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
1749 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
1750 Remove conditional code.
1751 [!__NR_lchown]: Likewise.
1752 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1753 [__NR_lchown]: Likewise.
1754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
1755 comment referencing __ASSUME_LCHOWN_SYSCALL.
1756 * sysdeps/unix/sysv/linux/i386/sigaction.c
1757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1759 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
1760 Remove conditional code.
1761 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
1762 (__protocol_available): Remove #if 0 code.
1763 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
1764 conditional code.
1765 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
1766 * sysdeps/unix/sysv/linux/kernel-features.h
1767 (__ASSUME_GETCWD_SYSCALL): Don't define.
1768 (__ASSUME_REALTIME_SIGNALS): Likewise.
1769 (__ASSUME_PREAD_SYSCALL): Likewise.
1770 (__ASSUME_PWRITE_SYSCALL): Likewise.
1771 (__ASSUME_POLL_SYSCALL): Likewise.
1772 (__ASSUME_LCHOWN_SYSCALL): Likewise.
1773 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
1774 non-SPARC.
1775 (__ASSUME_SIOCGIFNAME): Don't define.
1776 (__ASSUME_MSG_NOSIGNAL): Likewise.
1777 (__ASSUME_SENDFILE): Define unconditionally.
1778 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
1779 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
1780 conditional code.
1781 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
1782 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
1783 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1784 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1785 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
1786 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
1787 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
1789 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1790 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1792 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1793 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
1795 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1796 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1798 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1799 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
1801 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1802 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1804 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
1805 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
1807 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1808 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1810 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1811 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1812 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
1813 Remove conditional code.
1814 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1815 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1816 Remove conditional code.
1817 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1818 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
1819 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
1820 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1821 Remove conditional code.
1822 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1823 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
1824 Remove conditional code.
1825 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1826 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
1827 Remove conditional code.
1828 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1829 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
1830 Remove conditional code.
1831 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
1832 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
1833 Remove conditional code.
1834 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1835 * sysdeps/unix/sysv/linux/sh/pwrite64.c
1836 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
1837 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
1838 * sysdeps/unix/sysv/linux/sigaction.c
1839 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1840 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1841 * sysdeps/unix/sysv/linux/sigpending.c
1842 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1843 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1844 * sysdeps/unix/sysv/linux/sigprocmask.c
1845 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1846 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1847 * sysdeps/unix/sysv/linux/sigsuspend.c
1848 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
1849 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
1850 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1851 (__libc_missing_rt_sigs): Remove.
1852 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
1853 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
1854 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
1855 Remove conditional code.
1856 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
1857 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
1858 return 1.
1859 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
1860 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
1861 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
1862 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
1863
1bfb7291
AJ
18642012-05-14 Andreas Jaeger <aj@suse.de>
1865
caae5a81
AJ
1866 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
1867 it's not used in glibc.
1868 (__coshm1): Likewise.
1869 (__acosh1p): Likewise.
1870 (__sgn): Likewise.
1871
1bfb7291
AJ
1872 * manual/string.texi (Copying and Concatenation): Add missing
1873 variable in concat example.
1874 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1875
c044d724
L
18762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1877
144c5467 1878 [BZ #14103]
c044d724
L
1879 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
1880 __builtin_clzl with __builtin_clzll.
1881
2523c62b
L
18822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
1883
1884 [BZ #14104]
1885 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
1886 libc_freeres_ptr.
1887
d7bb4c42
LD
18882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1889
1890 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
1891 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
1892 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
1893 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
1894
9dc4e1fb
MF
18952012-05-14 Mike Frysinger <vapier@gentoo.org>
1896
1897 * NEWS: Update ia64 info.
1898
c7df0112
AS
18992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
1900
1901 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
1902 used as bcopy.
1903
dc70356c
TS
19042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
1905
1906 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
1907 * sysdeps/unix/syscalls.list (dup3): Likewise.
1908 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
1909 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
1910
9fb1a21f
L
19112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1912
1913 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
1914 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
1915
4822a2a5
L
19162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
1917
1918 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
1919 thread pointer.
1920 (TLS_IE): Use mov/add instead of movq/addq to load thread
1921 pointer.
1922 (TLS_GD_PREFIX): New.
1923 (TLS_GD): Use it.
1924
842b81d6
DM
19252012-05-11 David S. Miller <davem@davemloft.net>
1926
1927 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
1928 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
1929 (_FPU_SETCW): Likewise.
1930
1cf463cd
L
19312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1932
1933 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
1934 is 32-byte aligned.
1935
60cc4a18
AS
19362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
1937
1938 [BZ #11837]
1939 * iconvdata/gb18030.c: Update tables.
1940 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
1941 characters specially.
1942 (BODY for TO_LOOP): Add encoding of missing ranges.
1943
febb44a4
TS
19442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
1945
1946 [BZ #13673]
1947 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
1948 * sysdeps/mach/hurd/dup3.c: Likewise.
1949 * sysdeps/mach/hurd/readlinkat.c: Likewise.
1950 * sysdeps/powerpc/memmove.c:: Likewise.
1951
0a10fb9e
L
19522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1953
1954 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
1955 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
1956
df8a552f
L
19572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1958
1959 * elf/elf.h (R_X86_64_RELATIVE64): New.
1960 (R_X86_64_NUM): Updated.
1961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
1962 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
1963 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
1964 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
1965 tst-quad1pie tst-quad2pie
1966 (modules-names): Add tst-quadmod1 tst-quadmod2.
1967 ($(objpfx)tst-quad1): New dependency.
1968 ($(objpfx)tst-quad2): Likewise.
1969 ($(objpfx)tst-quad1pie): Likewise.
1970 ($(objpfx)tst-quad2pie): Likewise.
1971 * sysdeps/x86_64/tst-quad1.c: New file.
1972 * sysdeps/x86_64/tst-quad1pie.c: New file.
1973 * sysdeps/x86_64/tst-quad2.c: Likewise.
1974 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
1975 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
1976 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
1977 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
1978 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
1979
f34d6f84
ST
19802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
1981
f42d41d1
ST
1982 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
1983 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
1984 * streams/stropts.h (t_scalar_t): Define type.
1985
3c3571fc
ST
1986 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
1987 (_PATH_PRESERVE): Set to "/var/lib".
1988 (_PATH_RWHODIR): Set to "/var/spool/rwho".
1989
61f06bd3
ST
1990 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
1991 instead of int.
1992
918d4d71
ST
1993 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
1994 if __dir_mkfile succeeded.
1995
f34d6f84
ST
1996 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
1997 checking for _hurd_dtablesize. Unlock it right after having
1998 finished _hurd_dtable allocation.
1999
10589b4a
TS
20002012-05-10 Thomas Schwinge <thomas@schwinge.name>
2001
674cdbc7
TS
2002 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
2003 * sysdeps/mach/hurd/configure: Regenerated.
2004 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
2005 special-casing to...
2006 * sysdeps/gnu/configure.in: ... this new file.
2007 * sysdeps/unix/sysv/linux/configure: Regenerated.
2008 * sysdeps/gnu/configure: New generated file.
2009
8e41b99f
TS
2010 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
2011 for Linux: use nsec instead of usec, as well as:
2012 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
2013 members of type struct timespec.
2014 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
2015 New macros.
2016 (struct stat64): Likewise.
2017 (_STATBUF_ST_NSEC): New macro.
2018 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
2019
10589b4a
TS
2020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
2021 __strtoul_internal rather than strtoul.
2022
63643c85
PT
20232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2024
2025 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
2026 and reject them.
2027
3faebe6a
ST
20282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2029
2030 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
2031 which preserves existing values.
2032 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
2033
c6474b07
PT
20342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2035
2036 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
2037 TIMEOUT values. Return EINVAL for NFDS values either negative or
2038 greater than FD_SETSIZE.
2039
1043890b
ST
20402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2041
2042 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
2043 allocated, call __vm_protect to finish enabling the existing space, and
2044 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
2045 allocate the remainder.
2046
37ed8b9b
PT
20472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2048
2049 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
2050 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
2051
db653660
ST
20522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2053
37ed8b9b
PT
2054 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
2055 sysdeps/mach/hurd/readlink.c.
b29d4053 2056
db653660
ST
2057 * posix/tst-sysconf.c (posix_options): Only use
2058 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
2059 _POSIX_SYNCHRONIZED_IO when they are defined
2060 * sysdeps/mach/hurd/bits/posix_opt.h:
2061 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
2062 (_XOPEN_REALTIME): Undefine macro.
2063 (_XOPEN_REALTIME_THREADS): Undefine macro.
2064 (_XOPEN_SHM): Undefine macro.
2065 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
2066 macro to -1.
2067 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
2068 macro to -1.
2069 (_POSIX_ASYNC_IO): Undefine macro.
2070 (_POSIX_PRIORITIZED_IO): Undefine macro.
2071 (_POSIX_SPIN_LOCKS): Define macro to -1.
2072
ee16e894
ST
2073 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
2074 SA_NODEFER, SA_RESETHAND.
2075 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
2076 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
2077 F_DUPFD_CLOEXEC.
2078
6103ae3b
TS
20792012-05-10 Thomas Schwinge <thomas@schwinge.name>
2080
2081 * elf/Makefile (pldd-modules): Define unconditionally.
2082
80b4e5f3
TS
20832012-05-10 Thomas Schwinge <thomas@schwinge.name>
2084
2085 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
2086
edadcbd6
ST
20872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2088
2089 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
2090 Return ENOENT when name is empty.
2091 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
2092
80694780
TS
20932012-05-10 Thomas Schwinge <thomas@schwinge.name>
2094
1792c087
TS
2095 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
2096
80694780
TS
2097 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
2098
6b645f0d
ST
20992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2100
80694780
TS
2101 Fix mlock in all cases except non-readable pages.
2102 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
2103 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 2104
6b645f0d
ST
2105 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
2106 (__mkdir): When path is `/', just fail with EEXIST.
2107 * sysdeps/mach/hurd/mkdirat.c: Likewise.
2108
e468f8a3
TS
21092012-05-10 Thomas Schwinge <thomas@schwinge.name>
2110
2111 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
2112 <sys/uio.h> (for writev).
2113 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
2114 and <sys/param.h> (for MIN).
2115
a4186cff
PT
21162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
2117
2118 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
2119 REQUESTED_TIME. Properly set the remaining time and return EINTR
2120 if interrupted.
2121
510bbf14
TS
21222012-05-10 Thomas Schwinge <thomas@schwinge.name>
2123
2124 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
2125 Depend on against $(link-rpcuserlibs).
2126
5d5722e8
ST
21272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2128
a4186cff
PT
2129 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
2130 (__libc_stack_end): Do not use attribute_relro.
2131 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
2132 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 2133 to libthread-provided value.
a4186cff
PT
2134 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
2135 attribute_relro.
5d5722e8 2136
37233df9
TS
21372012-05-10 Thomas Schwinge <thomas@schwinge.name>
2138
be971a2b
TS
2139 [BZ #3748]
2140 * bits/libc-lock.h (__libc_once_get): New macro.
2141 * sysdeps/mach/bits/libc-lock.h: Likewise.
2142 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
2143 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
2144 instead of using implementation details.
2145
37233df9
TS
2146 * libio/fileops.c: Unconditionally include <kernel-features.h>.
2147 * libio/freopen.c: Likewise.
2148 * libio/freopen64.c: Likewise.
2149 * misc/syslog.c: Likewise.
2150 * nscd/connections.c: Likewise.
2151 * nscd/netgroupcache.c: Likewise.
2152 * sysdeps/posix/getcwd.c: Likewise.
2153
38de94a5
RM
21542012-05-10 Roland McGrath <roland@hack.frob.com>
2155
2156 * math/w_ilogbf.c: Add #include <limits.h>.
2157
67530489
ST
21582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2159
a4186cff 2160 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
2161 path instead of returning without unlocking.
2162
67530489
ST
2163 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
2164 immediate-write ioctls.
2165 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
2166
5aa3a74a
TS
21672012-05-10 Thomas Schwinge <thomas@schwinge.name>
2168
18bad2ae
TS
2169 * sysdeps/mach/hurd/i386/init-first.c (init): Use
2170 __builtin_frame_address instead of making assumptions about the
2171 location of the return address relative to DATA. Force early load of
2172 the return address.
2173 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
2174 __builtin_frame_address.
2175
5aa3a74a
TS
2176 dup3 for GNU Hurd.
2177 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
2178 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
2179 implement dup3 and do some further code clean-ups.
2180 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
2181 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
2182
ecd0de9a
ST
21832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2184
cd9fa985
ST
2185 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
2186
a4186cff
PT
2187 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
2188 HURD_CRITICAL_END around holding _hurd_dtable_lock.
2189 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
2190 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
2191 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
2192 d->port.lock.
802ca5a5 2193
a4186cff
PT
2194 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
2195 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
2196 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 2197
bcf55240
TS
21982012-05-10 Thomas Schwinge <thomas@schwinge.name>
2199
6960eb42
TS
2200 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
2201 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
2202 definitions.
2203
eb43375f
TS
2204 accept4 for GNU Hurd.
2205 * include/sys/socket.h (__libc_accept4): New prototype.
2206 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
2207 to implement __libc_accept4.
2208 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
2209 __libc_accept4.
2210 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
2211
bcf55240
TS
2212 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
2213 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
2214 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
2215 signal-defines.sym.
2216
6178c55b
ST
22172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2218
a4186cff 2219 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 2220
6f080c2f
TS
22212012-05-10 Thomas Schwinge <thomas@schwinge.name>
2222
2223 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
2224 assertion on O_CLOEXEC flag.
2225 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
2226 * hurd/intern-fd.c: Likewise.
2227 * hurd/port2fd.c: Likewise.
2228
bcfe3a54
ST
22292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
2230
2231 [BZ #3906]
2232 * bits/in.h (IPV6_PKTINFO): Define new macro.
2233 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
2234
89c9aa49
AZ
22352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2236
2237 [BZ #13954]
2238 [BZ #13955]
2239 [BZ #13956]
2240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
2241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
2242 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
2243 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2245 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
2246 * math/libm-test.inc (logb_test) : Additional logb tests.
2247
021db4be
AJ
22482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
2249 Andreas Jaeger <aj@suse.de>
2250
2251 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
2252 * configure: Regenerated.
2253 * config.h.in (LINK_OBSOLETE_RPC): New macro.
2254 * config.make.in (link-obsolete-rpc): New substituted variable.
2255 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
2256 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
2257 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2258 (shared-only-routines): Don't set it under [link-obsolete-rpc],
2259 so that libc.a contains the symbols.
2260 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
2261 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
2262 * sunrpc/auth_none.c: Likewise.
2263 * sunrpc/auth_unix.c: Likewise.
2264 * sunrpc/authdes_prot.c: Likewise.
2265 * sunrpc/authuxprot.c: Likewise.
2266 * sunrpc/clnt_gen.c: Likewise.
2267 * sunrpc/clnt_perr.c: Likewise.
2268 * sunrpc/clnt_raw.c: Likewise.
2269 * sunrpc/clnt_simp.c: Likewise.
2270 * sunrpc/clnt_tcp.c: Likewise.
2271 * sunrpc/clnt_udp.c: Likewise.
2272 * sunrpc/clnt_unix.c: Likewise.
2273 * sunrpc/des_crypt.c: Likewise.
2274 * sunrpc/des_soft.c: Likewise.
2275 * sunrpc/get_myaddr.c: Likewise.
2276 * sunrpc/key_call.c: Likewise.
2277 * sunrpc/key_prot.c: Likewise.
2278 * sunrpc/netname.c: Likewise.
2279 * sunrpc/pm_getmaps.c: Likewise.
2280 * sunrpc/pm_getport.c: Likewise.
2281 * sunrpc/pmap_clnt.c: Likewise.
2282 * sunrpc/pmap_prot.c: Likewise.
2283 * sunrpc/pmap_prot2.c: Likewise.
2284 * sunrpc/pmap_rmt.c: Likewise.
2285 * sunrpc/publickey.c: Likewise.
2286 * sunrpc/rpc_cmsg.c: Likewise.
2287 * sunrpc/rpc_common.c: Likewise.
2288 * sunrpc/rpc_dtable.c: Likewise.
2289 * sunrpc/rpc_prot.c: Likewise.
2290 * sunrpc/rpc_thread.c: Likewise.
2291 * sunrpc/rtime.c: Likewise.
2292 * sunrpc/svc.c: Likewise.
2293 * sunrpc/svc_auth.c: Likewise.
2294 * sunrpc/svc_raw.c: Likewise.
2295 * sunrpc/svc_run.c: Likewise.
2296 * sunrpc/svc_tcp.c: Likewise.
2297 * sunrpc/svc_udp.c: Likewise.
2298 * sunrpc/svc_unix.c: Likewise.
2299 * sunrpc/svcauth_des.c: Likewise.
2300 * sunrpc/xcrypt.c: Likewise.
2301 * sunrpc/xdr.c: Likewise.
2302 * sunrpc/xdr_array.c: Likewise.
2303 * sunrpc/xdr_float.c: Likewise.
2304 * sunrpc/xdr_intXX_t.c: Likewise.
2305 * sunrpc/xdr_mem.c: Likewise.
2306 * sunrpc/xdr_rec.c: Likewise.
2307 * sunrpc/xdr_ref.c: Likewise.
2308 * sunrpc/xdr_sizeof.c: Likewise.
2309 * sunrpc/xdr_stdio.c: Likewise.
2310
b5c086a2
RM
23112012-05-10 Roland McGrath <roland@hack.frob.com>
2312
2313 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
2314 change. Update copyright years.
2315
6d74dd09
JM
23162012-05-10 Joseph Myers <joseph@codesourcery.com>
2317
2318 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
2319
28e72501
MK
23202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
2321 Joseph Myers <joseph@codesourcery.com>
2322 Paul Pluzhnikov <ppluzhnikov@google.com>
2323
2324 [BZ #14012]
2325 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
2326 requiring rpcgen.
2327 [cross-compiling] (extra-libs): Likewise.
2328 [cross-compiling] (extra-libs-others): Likewise.
2329 [cross-compiling] (librpcsvc-routines): Likewise.
2330 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
2331 [cross-compiling] (omit-deps): Likewise.
2332 (sunrpc-CPPFLAGS): New variable.
2333 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
2334 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
2335 (cross-rpcgen-objs): New variable.
2336 (extra-objs): Append $(cross-rpcgen-objs).
2337 ($(cross-rpcgen-objs)): New rule.
2338 ($(objpfx)cross-rpcgen): Likewise.
2339 (rpcgen-cmd): Define to use $(built-program-file). Expand
2340 comment.
2341 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
2342 ($(objpfx)x%.stmp): Likewise.
2343 * sunrpc/proto.h [IS_IN_build] (_): Define.
2344 [IS_IN_build] (_libc_intl_domainname): Likewise.
2345
c8c59454
L
23462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
2347
2348 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
2349 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
2350 and R_X86_64_TPOFF64.
2351
6f27cd16
JM
23522012-05-10 Joseph Myers <joseph@codesourcery.com>
2353
2354 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
2355 sysdeps/unix/sysv/syscalls.list.
2356 (stime): Likewise.
2357 (utime): Likewise.
2358 * sysdeps/unix/sysv/syscalls.list: Remove file.
2359
02467e1c
PE
23602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
2361
2362 [BZ #3440]
2363 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
2364 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
2365 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
2366 (__LC_IDENTIFICATION): Make these macros useful in #if
2367 expressions, as required by C99.
2368
da392631
AS
23692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
2370
2371 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
2372 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
2373 after this.
2374
8115f29b
L
23752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
2376
2377 * stdlib/longlong.h: Updated from GCC.
2378
bdd74070
AJ
23792012-05-09 Andreas Jaeger <aj@suse.de>
2380
edfe0dbe
AJ
2381 * nscd/nscd.c (run_modes): Make named enum, reorder so that
2382 default is first entry.
2383 (run_mode): Set type.
2384 (main): Remove informal message about syslog.
2385 (options): Fix typo.
2386
bcfe3a54
ST
2387 [BZ #14053]
2388 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 2389 to asm.
bcfe3a54
ST
2390 (lrint): Likewise.
2391 (llrintf): Likewise.
2392 (llrint): Likewise.
2393 (rint): Likewise.
2394 (rintf): Likewise.
2395 (nearbyint): Likewise.
2396 (nearbyintf): Likewise.
bdd74070 2397
91d8d69e
AJ
23982012-05-09 Andreas Jaeger <aj@suse.de>
2399 Pedro Alves <palves@redhat.com>
2400
2401 * nscd/nscd.c (run_mode): Use enum.
2402 (main): Cleanup coding style issue.
2403
bb90b80b
AJ
24042012-05-09 Alexandre Oliva <aoliva@redhat.com>
2405 Andreas Jaeger <aj@suse.de>
2406
bcfe3a54
ST
2407 * nscd/nscd.c (go_background): Replaced with...
2408 (run_mode): ... this.
bb90b80b 2409 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
2410 (options): Add -F --foreground.
2411 (main): Implement it.
2412 (parse_opt): Parse it.
bb90b80b 2413
1a4b75a1
AJ
24142012-05-09 Andreas Jaeger <aj@suse.de>
2415
2416 [BZ #14083]
2417 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
2418 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
2419 -Wconversion warning.
2420 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
2421 Likewise.
2422
b1cc2472
JM
24232012-05-09 Joseph Myers <joseph@codesourcery.com>
2424
2425 * conform/data/locale.h-data (NULL): Use macro-constant. Require
2426 == 0.
2427 (LC_ALL): Use macro-int-constant.
2428 (LC_COLLATE): Likewise.
2429 (LC_CTYPE): Likewise.
2430 (LC_MESSAGES): Likewise.
2431 (LC_MONETARY): Likewise.
2432 (LC_NUMERIC): Likewise.
2433 (LC_TIME): Likewise.
2434 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
2435 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2436 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2437 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
2438 Specify type.
2439 [C99-based standards] (float_t): Expect type.
2440 [C99-based standards] (double_t): Expect type.
2441 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
2442 type.
2443 [C99-based standards] (HUGE_VALL): Likewise.
2444 [C99-based standards] (INFINITY): Likewise.
2445 [C99-based standards] (NAN): Likewise.
2446 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
2447 [C99-based standards] (FP_NAN): Likewise.
2448 [C99-based standards] (FP_NORMAL): Likewise.
2449 [C99-based standards] (FP_SUBNORMAL): Likewise.
2450 [C99-based standards] (FP_ZERO): Likewise.
2451 [C99-based standards] (FP_FAST_FMA): Use
2452 optional-macro-int-constant. Specify type. Require == 1.
2453 [C99-based standards] (FP_FAST_FMAF): Likewise.
2454 [C99-based standards] (FP_FAST_FMAL): Likewise.
2455 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
2456 [C99-based standards] (FP_ILOGBNAN): Likewise.
2457 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
2458 Specify type.
2459 [C99-based standards] (MATH_ERREXCEPT): Likewise.
2460 [C99-based standards] (math_errhandling): Specify type.
2461 [ISO99 || ISO11] (signgam): Do not allow.
2462 [non-C99-based standards] (copysignf): Do not allow.
2463 [non-C99-based standards] (exp2f): Likewise.
2464 [non-C99-based standards] (log2f): Likewise.
2465 [non-C99-based standards] (modff): Allow.
2466 [non-C99-based standards] (erff): Do not allow.
2467 [non-C99-based standards] (erfcf): Likewise.
2468 [non-C99-based standards] (gammaf): Likewise.
2469 [non-C99-based standards] (hypotf): Likewise.
2470 [non-C99-based standards] (j0f): Likewise.
2471 [non-C99-based standards] (j1f): Likewise.
2472 [non-C99-based standards] (jnf): Likewise.
2473 [non-C99-based standards] (lgammaf): Likewise.
2474 [non-C99-based standards] (tgammaf): Likewise.
2475 [non-C99-based standards] (y0f): Likewise.
2476 [non-C99-based standards] (y1f): Likewise.
2477 [non-C99-based standards] (ynf): Likewise.
2478 [non-C99-based standards] (isnanf): Likewise.
2479 [non-C99-based standards] (acoshf): Likewise.
2480 [non-C99-based standards] (asinhf): Likewise.
2481 [non-C99-based standards] (atanhf): Likewise.
2482 [non-C99-based standards] (cbrtf): Likewise.
2483 [non-C99-based standards] (expm1f): Likewise.
2484 [non-C99-based standards] (ilogbf): Likewise.
2485 [non-C99-based standards] (log1pf): Likewise.
2486 [non-C99-based standards] (logbf): Likewise.
2487 [non-C99-based standards] (nextafterf): Likewise.
2488 [non-C99-based standards] (remainderf): Likewise.
2489 [non-C99-based standards] (rintf): Likewise.
2490 [non-C99-based standards] (scalbf): Likewise.
2491 [non-C99-based standards] (copysignl): Likewise.
2492 [non-C99-based standards] (exp2l): Likewise.
2493 [non-C99-based standards] (log2l): Likewise.
2494 [non-C99-based standards] (modfl): Allow.
2495 [non-C99-based standards] (erfl): Do not allow.
2496 [non-C99-based standards] (erfcl): Likewise.
2497 [non-C99-based standards] (gammal): Likewise.
2498 [non-C99-based standards] (hypotl): Likewise.
2499 [non-C99-based standards] (j0l): Likewise.
2500 [non-C99-based standards] (j1l): Likewise.
2501 [non-C99-based standards] (jnl): Likewise.
2502 [non-C99-based standards] (lgammal): Likewise.
2503 [non-C99-based standards] (tgammal): Likewise.
2504 [non-C99-based standards] (y0l): Likewise.
2505 [non-C99-based standards] (y1l): Likewise.
2506 [non-C99-based standards] (ynl): Likewise.
2507 [non-C99-based standards] (isnanl): Likewise.
2508 [non-C99-based standards] (acoshl): Likewise.
2509 [non-C99-based standards] (asinhl): Likewise.
2510 [non-C99-based standards] (atanhl): Likewise.
2511 [non-C99-based standards] (cbrtl): Likewise.
2512 [non-C99-based standards] (expm1l): Likewise.
2513 [non-C99-based standards] (ilogbl): Likewise.
2514 [non-C99-based standards] (log1pl): Likewise.
2515 [non-C99-based standards] (logbl): Likewise.
2516 [non-C99-based standards] (nextafterl): Likewise.
2517 [non-C99-based standards] (remainderl): Likewise.
2518 [non-C99-based standards] (rintl): Likewise.
2519 [non-C99-based standards] (scalbl): Likewise.
2520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2521 [non-C99-based standards] (FP_*): Do not allow.
2522 [C99-based standards] (FP_*): Change to
2523 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
2524 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2525 allow.
2526 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
2527 (SIG_ERR): Likewise.
2528 [X/Open-based standards] (SIG_HOLD): Likewise.
2529 (SIG_IGN): Likewise.
2530 (SIGABRT): Use macro-int-constant. Specify type. Require
2531 positive value.
2532 (SIGFPE): Likewise.
2533 (SIGILL): Likewise.
2534 (SIGINT): Likewise.
2535 (SIGSEGV): Likewise.
2536 (SIGTER): Likewise.
2537 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
2538 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
2539 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
2540 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
2541 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
2542 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
2543 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
2544 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
2545 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
2546 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
2547 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
2548 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
2549 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
2550 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
2551 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
2552 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
2553 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
2554 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
2555 [X/Open-based standards] (SIGTRAP): Likewise.
2556 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
2557 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
2558 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
2559 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
2560 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2561 allow.
2562
b9f1922d
IW
25632012-05-08 Ian Wienand <ianw@vmware.com>
2564
2565 [BZ #14080]
2566 * time/tzset.c (__tzset_parse_tz): Update default rules for
2567 daylight time changes in the Energy Policy Act of 2005.
2568
1db86e88
AJ
25692012-05-09 Andreas Jaeger <aj@suse.de>
2570
2571 [BZ #13983]
2572 * elf/ldconfig.c (parse_conf): Change string to make clear that
2573 ldconfig only issued a warning if ld.so.conf does not exist.
2574
dee4a4e3
DM
25752012-05-08 David S. Miller <davem@davemloft.net>
2576
ee0db190
DM
2577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
2578 movxtod instead of popping the value on the stack.
2579
dee4a4e3
DM
2580 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2581
6a43ec98
CD
25822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
2583
2584 * config.h.in: Add HAVE_ARM_PCS_VFP.
2585
05c2c961
RMG
25862012-05-08 Roland Mc Grath <roland@hack.frob.com>
2587
bcfe3a54
ST
2588 [BZ #13979]
2589 * include/features.h: Warn if user requests __FORTIFY_SOURCE
2590 checking but the checks are disabled for any reason.
05c2c961 2591
4b30f61a
L
25922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
2593
2594 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
2595 and ELF64_R_TYPE with ELFW(R_TYPE).
2596
eee2bc67
JM
25972012-05-08 Joseph Myers <joseph@codesourcery.com>
2598
7ea5391a
JM
2599 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
2600 (ulimit): Likewise.
2601
eee2bc67
JM
2602 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
2603 (settimeofday): Likewise.
2604
abb66a67
MF
26052012-05-08 Mike Frysinger <vapier@gentoo.org>
2606
2607 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
2608 a struct th_u2 inside the union, and move tu_block/tu_code into
2609 a new th_u3 union of tu_block/tu_code inside of that. Move
2610 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
2611 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
2612 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
2613 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
2614 (th_stuff): Change to th_u1.tu_stuff.
2615 (th_data): Define.
2616 (th_msg): Change to th_u1.th_u2.tu_data.
2617
7f18b530
DM
26182012-05-07 David S. Miller <davem@davemloft.net>
2619
05760585
DM
2620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2621
7f18b530
DM
2622 [BZ #14074]
2623 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
2624 (SETUP_PIC_REG): Use it.
2625 (SETUP_PIC_REG_LEAF): Use it.
2626
495fd99f
JM
26272012-05-07 Joseph Myers <joseph@codesourcery.com>
2628
2629 [BZ #13885]
2630 [BZ #13923]
2631 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2632 USE_AS_EXPM1L.
2633 (EXPL_FINITE): Likewise.
2634 (FLDLOG): Likewise.
2635 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2636 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2637 e_expl.S.
2638 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2639 USE_AS_EXPM1L.
2640 (EXPL_FINITE): Likewise.
2641 (FLDLOG): Likewise.
2642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
2643 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
2644 e_expl.S.
2645 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
2646 test of -max_value argument for long double.
2647 * sysdeps/i386/fpu/libm-test-ulps: Update.
2648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2649
6693d694
DM
26502012-05-06 David S. Miller <davem@davemloft.net>
2651
2652 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
2653 quad soft-float symbols whose references which are compiler
2654 generated.
2655 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
2656
6c23e11c
JM
26572012-05-06 Joseph Myers <joseph@codesourcery.com>
2658
d8b82cad
JM
2659 [BZ #13884]
2660 [BZ #13914]
2661 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2662 USE_AS_EXP10L.
2663 (EXPL_FINITE): Likewise.
2664 (FLDLOG): Likewise.
2665 (c0): Likewise.
2666 (c1): Likewise.
2667 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2668 Adjust comments for base varying.
2669 (__expl_finite): Change alias to EXPL_FINITE.
2670 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
2671 e_expl.S.
2672 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
2673 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2674 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2675 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
2676 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
2677 USE_AS_EXP10L.
2678 (EXPL_FINITE): Likewise.
2679 (FLDLOG): Likewise.
2680 (c0): Likewise.
2681 (c1): Likewise.
2682 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
2683 Adjust comments for base varying.
2684 (__expl_finite): Change alias to EXPL_FINITE.
2685 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
2686 tests for bugs.
2687 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2688
6c23e11c
JM
2689 [BZ #14064]
2690 * math/libm-test.inc (check_float_internal): Correct ulp
2691 calculation for subnormal expected results.
2692
29ba805c
AJ
26932012-05-06 Andreas Jaeger <aj@suse.de>
2694
2695 * Makeconfig (+math-flags): New, set to -frounding-math.
2696 (+cflags): Add +math-flags so that all of glibc gets compiled with
2697 it.
2698
2699 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
2700
7b17aeda
JM
27012012-05-05 Joseph Myers <joseph@codesourcery.com>
2702
5779f134
JM
2703 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
2704 Disable one test.
2705
41498f4d
JM
2706 [BZ #13787]
2707 [BZ #13922]
2708 [BZ #14036]
2709 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
2710 (__ieee754_expl): Allow for and saturate large arguments.
2711 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
2712 (u_threshold): Likewise.
2713 (__exp): Call __ieee754_exp before checking for overflow and
2714 underflow.
2715 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
2716 (u_threshold): Likewise.
2717 (__expf): Call __ieee754_expf before checking for overflow and
2718 underflow.
2719 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
2720 (u_threshold): Likewise.
2721 (__expl): Call __ieee754_expl before checking for overflow and
2722 underflow.
2723 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
2724 (__ieee754_expl): Allow for and saturate large arguments.
2725 * math/libm-test.inc (exp_test): Add another test. Do not allow
2726 missing overflow exception on overflow.
2727 (expm1_test): Do not allow missing overflow exception on overflow.
2728
6698b8bf
JM
2729 * sysdeps/i386/fpu/e_expl.c: Move to ...
2730 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
2731 rather than using inline asm.
2732 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
2733 * sysdeps/x86_64/fpu/e_expl.S: Copy from
2734 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
2735
7b17aeda
JM
2736 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
2737 (nice): Likewise.
2738 (poll): Likewise.
2739 (signal): Likewise.
2740 (time): Likewise.
2741 (times): Likewise.
2742
f7c85819
JM
27432012-05-04 Joseph Myers <joseph@codesourcery.com>
2744
2745 * sysdeps/unix/syscalls.list (adjtime): Add entry from
2746 sysdeps/unix/common/syscalls.list.
2747 (fchmod): Likewise.
2748 (fchown): Likewise.
2749 (ftruncate): Likewise.
2750 (getrusage): Likewise.
2751 (gettimeofday): Likewise.
2752 (setpgid): Likewise.
2753 (setregid): Likewise.
2754 (setreuid): Likewise.
2755 (sigaction): Likewise.
2756 (truncate): Likewise.
2757 (vhangup): Likewise.
2758 * sysdeps/unix/common/syscalls.list: Remove file.
2759 * sysdeps/unix/bsd/Implies: Don't include unix/common.
2760 * sysdeps/unix/sysv/linux/Implies: Likewise.
2761
336270d0
L
27622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
2763
2764 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
2765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
2766 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
2767 Moved to ...
2768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2769 Here.
2770 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
2771 to ...
2772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
2773 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
2774 to ...
2775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
2776 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
2777 to ...
2778 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
2779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
2780 to ...
2781 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
2782 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
2783 to ...
2784 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
2785 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
2786 to ...
2787 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
2788 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
2789 to ...
2790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2791 Here.
2792 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
2793 to ...
2794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
2795 Here.
2796 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
2797 to ...
2798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
2799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
2800 Moved to ...
2801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
2802 Here.
2803 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
2804 to ...
2805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
2806
d128e450
JM
28072012-05-04 Joseph Myers <joseph@codesourcery.com>
2808
fa8ee516
JM
2809 * sysdeps/unix/common/bits/dirent.h: Remove file.
2810 * sysdeps/unix/common/bits/fcntl.h: Likewise.
2811
d128e450
JM
2812 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
2813 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
2814 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
2815 * sysdeps/unix/bsd/isatty.c: Likewise.
2816 * sysdeps/unix/bsd/tcdrain.c: Likewise.
2817 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
2818 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
2819
ff8faaf0 28202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 2821
62881be4 2822 [BZ #13563]
31dc8730
AZ
2823 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
2824 long double comparison inaccuracies.
2825 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2827
6fef930c
AS
28282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
2829
2830 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
2831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
2832
8f203e6c
JM
28332012-05-04 Joseph Myers <joseph@codesourcery.com>
2834
2835 [BZ #14049]
2836 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
2837 nonzero digits before rounding a hex value.
2838 * stdlib/tst-strtod.c (tests): Add another test.
2839
5197d9c2
AK
28402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2841
2842 * sysdeps/s390/fpu/libm-test-ulps: Update.
2843
f0c1dedf
AJ
28442012-05-03 Andreas Jaeger <aj@suse.de>
2845
2846 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
2847 does not get optimized out.
2848 (malloc_opt_barrier): New.
2849
a65ef2ae 28502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 2851 Roland McGrath <roland@hack.frob.com>
a65ef2ae 2852
2b942cb7 2853 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 2854 intermediate file deletion.
2b942cb7 2855 (generated): Add .symlist files.
a65ef2ae 2856
54b71e02
JM
28572012-05-03 Joseph Myers <joseph@codesourcery.com>
2858
2859 [BZ #13775]
2860 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
2861 Redirect under this condition.
2862 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2863 [__USE_GNU] (__dprintf_chk): Not under this condition.
2864 [__USE_GNU] (__vdprintf_chk): Likewise.
2865 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
2866 under this condition.
2867 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
2868 [__USE_XOPEN2K8] (dprintf): Define under this condition.
2869 [__USE_XOPEN2K8] (vdprintf): Likewise.
2870 [__USE_GNU] (__dprintf_chk): Not under this condition.
2871 [__USE_GNU] (__vdprintf_chk): Likewise.
2872 [__USE_GNU] (dprintf): Likewise.
2873 [__USE_GNU] (vdprintf): Likewise.
2874
d3dfcc41
RM
28752012-05-03 Roland McGrath <roland@hack.frob.com>
2876
2877 * elf/Makefile (common-generated): Set this instead of generated for
2878 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
2879 $(all-built-dso)-derived lists.
2880
7ac30cc5
AJ
28812012-05-03 Andreas Jaeger <aj@suse.de>
2882
0c51e550
AJ
2883 * sysdeps/i386/fpu/libm-test-ulps: Update.
2884
7ac30cc5
AJ
2885 * FAQ: Removed.
2886 * FAQ.in: Likewise.
2887 * scripts/gen-FAQ.pl: Likewise.
2888 * manual/install.texi (Installation): Point to online location of
2889 FAQ.
2890 * Makefile (files-for-dist): Remove FAQ.
2891 (FAQ): Remove.
2892
d4c2917f
AM
28932012-05-02 Allan McRae <allan@archlinux.org>
2894
2895 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
2896 (LDFLAGS-reldepmod5.so): Likewise.
2897 (LDFLAGS-reldep6mod1.so): Likewise.
2898 (LDFLAGS-reldep6mod4.so): Likewise.
2899 (LDFLAGS-reldep8mod3.so): Likewise.
2900 (LDFLAGS-unload4mod1.so): Likewise.
2901 (LDFLAGS-unload4mod2.so): Likewise.
2902 (LDFLAGS-tst-initorder): Likewise.
2903 (LDFLAGS-tst-initordera2.so): Likewise.
2904 (LDFLAGS-tst-initordera3.so): Likewise.
2905 (LDFLAGS-tst-initordera4.so): Likewise.
2906 (LDFLAGS-tst-initorderb2.so): Likewise.
2907 (LDFLAGS-noload): Likewise.
2908 (LDFLAGS-next): Likewise.
2909 (LDFLAGS-order2mod1.so): Likewise.
2910 (LDFLAGS-order2mod2.so): Likewise.
2911 (LDFLAGS-tst-initorder2): Likewise.
2912 (LDFLAGS-tst-initorder2a.so): Likewise.
2913 (LDFLAGS-tst-initorder2b.so): Likewise.
2914 (LDFLAGS-tst-initorder2c.so): Likewise.
2915 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
2916
d77f993f
DM
29172012-05-02 David S. Miller <davem@davemloft.net>
2918
2919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2920
171a70b4
PP
29212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2922
2923 [BZ #14055]
2924 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
2925
0be196ad
AJ
29262012-05-02 Andreas Jaeger <aj@suse.de>
2927
2928 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
2929 since we manipulate rounding mode.
2930 (CPPFLAGS-test-idouble.c): Likewise.
2931 (CPPFLAGS-test-ifloat.c): Likewise.
2932 (CFLAGS-test-ldouble.c): Likewise.
2933 (CFLAGS-test-double.c): Likewise.
2934 (CFLAGS-test-float.c): Likewise.
2935 (CFLAGS-test-misc.c): Likewise.
2936 (CFLAGS-test-test-fenv.c): Likewise.
2937
4f9d04aa
AZ
29382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939
2b942cb7
RM
2940 [BZ #2550]
2941 [BZ #2570]
2942 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
2943 comparisons to determine direction to adjust input.
4f9d04aa 2944
82a79e7d
RM
29452012-05-01 Roland McGrath <roland@hack.frob.com>
2946
f5a01ca9
RM
2947 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
2948 output to the target.
2949
90fe4186
RM
2950 * scripts/localplt.awk: New file.
2951 * elf/Makefile ($(objpfx)check-localplt): Target removed.
2952 (check-localplt-CFLAGS): Variable removed.
2953 ($(all-built-dso:=.jmprel)): New static pattern rule.
2954 (generated): Add those targets.
2955 (localplt-built-dso): New variable.
2956 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
2957
2958 * elf/check-localplt.c: File removed.
2959
82397ed6
RM
2960 * scripts/check-execstack.awk: New file.
2961 * elf/Makefile ($(objpfx)check-execstack): Target removed.
2962 (check-execstack-CFLAGS): Variable removed.
2963 ($(objpfx)check-execstack.h): Target removed.
2964 ($(objpfx)execstack-default): New target.
2965 (generated): Add that instead of check-execstack.h.
2966 ($(all-built-dso:=.phdr)): New static pattern rule.
2967 (generated): Add those targets.
2968 * elf/check-execstack.c: File removed.
2969
82a79e7d
RM
2970 * scripts/check-textrel.awk: New file.
2971 * elf/Makefile ($(objpfx)check-textrel): Target removed.
2972 (check-textrel-CFLAGS): Variable removed.
2973 (all-built-dso): Use := to define.o
2974 ($(all-built-dso:=.dyn)): New static pattern rule.
2975 (generated): Add those targets.
2976 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
2977 * config.make.in (READELF): New substituted variable.
2978 * elf/check-textrel.c: File removed.
2979
62fde54f 29802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 2981
615605c9
JM
2982 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
2983 allow.
2984 * conform/data/ctype.h-data [C99-based standards] (isblank):
2985 Expect function.
2986 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
2987 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
2988 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2989 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
2990 Specify type. Require positive value.
2991 (EILSEQ): Likewise.
2992 (ERANGE): Likewise.
2993 [ISO || POSIX] (EILSEQ): Do not expect.
2994 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
2995 Specify type. Require positive value.
2996 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
2997 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
2998 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
2999 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
3000 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
3001 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
3002 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
3003 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
3004 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
3005 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
3006 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
3007 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
3008 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
3009 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
3010 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
3011 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
3012 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
3013 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
3014 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
3015 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
3016 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
3017 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
3018 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
3019 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
3020 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
3021 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
3022 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
3023 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
3024 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
3025 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
3026 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
3027 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
3028 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
3029 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
3030 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
3031 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
3032 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
3033 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
3034 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
3035 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
3036 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
3037 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
3038 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
3039 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
3040 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
3041 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
3042 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
3043 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
3044 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
3045 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
3046 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
3047 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
3048 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
3049 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
3050 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
3051 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
3052 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
3053 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
3054 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
3055 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
3056 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
3057 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
3058 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
3059 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
3060 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
3061 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
3062 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
3063 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
3064 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
3065 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
3066 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
3067 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
3068 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
3069 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
3070 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
3071 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
3072 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
3073 Require >= 2.
3074 (FLT_ROUNDS): Expect as macro, not constant.
3075 (FLT_MANT_DIG): Use macro-int-constant.
3076 (DBL_MANT_DIG): Likewise.
3077 (LDBL_MANT_DIG): Likewise.
3078 (FLT_DIG): Likewise.
3079 (DBL_DIG): Likewise.
3080 (LDBL_DIG): Likewise.
3081 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
3082 (DBL_MIN_EXP): Likewise.
3083 (LDBL_MIN_EXP): Likewise.
3084 (FLT_MAX_EXP): Use macro-int-constant.
3085 (DBL_MAX_EXP): Likewise.
3086 (LDBL_MAX_EXP): Likewise.
3087 (FLT_MAX_10_EXP): Likewise.
3088 (DBL_MAX_10_EXP): Likewise.
3089 (LDBL_MAX_10_EXP): Likewise.
3090 (FLT_MAX): Use macro-constant.
3091 (DBL_MAX): Likewise.
3092 (LDBL_MAX): Likewise.
3093 (FLT_EPSILON): Use macro-constant. Give upper bound.
3094 (DBL_EPSILON): Likewise.
3095 (LDBL_EPSILON): Likewise.
3096 (FLT_MIN): Likewise.
3097 (DBL_MIN): Likewise.
3098 (LDBL_MIN): Likewise.
3099 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
3100 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
3101 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
3102 [ISO11] (FLT_HAS_SUBNORM): Likewise.
3103 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
3104 [ISO11] (DBL_DECIMAL_DIG): Likewise.
3105 [ISO11] (FLT_DECIMAL_DIG): Likewise.
3106 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
3107 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
3108 [ISO11] (FLT_TRUE_MIN): Likewise.
3109 [ISO11] (LDBL_TRUE_MIN): Likewise.
3110 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3111 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
3112 (SCHAR_MIN): Use macro-int-constant. Specify type.
3113 (SCHAR_MAX): Likewise.
3114 (UCHAR_MAX): Likewise.
3115 (CHAR_MIN): Likewise.
3116 (CHAR_MAX): Likewise.
3117 (MB_LEN_MAX): Use macro-int-constant.
3118 (SHRT_MIN): Use macro-int-constant. Specify type.
3119 (SHRT_MAX): Likewise.
3120 (USHRT_MAX): Likewise.
3121 (INT_MAX): Likewise.
3122 (INT_MIN): Use macro-int-constant. Specify type. Make upper
3123 bound negative.
3124 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
3125 bound with "U".
3126 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3127 bound with "L".
3128 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
3129 bound negative. Suffix upper bound with "L".
3130 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
3131 bound with "UL".
3132 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
3133 Specify type.
3134 [C99-based standards] (LLONG_MAX): Likewise.
3135 [C99-based standards] (ULLONG_MAX): Likewise.
3136 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
3137 == 0.
3138 [ISO11] (max_align_t): Require type.
3139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3140
c9140a62
JM
3141 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
3142 from $CFLAGS, without defining away __attribute__ calls.
3143 (checknamespace): Use $CFLAGS_namespace.
3144
9af0bf29
JM
3145 * conform/conformtest.pl (@keywords): Only include C99 keywords
3146 for standards based on C99 or C11.
3147
343222a2
JM
3148 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
3149 Disable tests.
3150 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
3151 UNIX98]: Likewise.
3152
661f8cf0
JM
3153 * conform/conformtest.pl: Handle "macro-int-constant" and test for
3154 usability of symbols in #if.
3155
ee74b9cb
JM
3156 * conform/conformtest.pl: If macro or constant types start
3157 "promoted:", expect the symbol to be of the following type
3158 promoted by the integer promotions.
62fde54f 3159
aafc49b3
JM
3160 * conform/conformtest.pl: Parse all "constant" and "macro" lines
3161 in one place. Also handle "macro-constant".
3162
fefdf574
JM
3163 * conform/conformtest.pl: Only accept expected macro values with
3164 "==". Parse all "macro" lines in one place.
3165 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
3166
f2d922fe
JM
3167 * conform/conformtest.pl: Handle braced types on "constant" lines
3168 instead of handling "typed-constant".
3169 * conform/data/signal.h-data: Use "constant" instead of
3170 "typed-constant".
3171
d22956c9
JM
3172 * conform/conformtest.pl: Handle "optional-" at start of lines in
3173 one place rather than duplicating several cases. Handle each
3174 format of "macro" line with initial "optional-".
3175
028e2e38
JM
3176 * conform/conformtest.pl: Only accept expected constant or
3177 optional-constant values with "==". Parse all "constant" lines in
3178 one place. Parse all "optional-constant" lines in one place.
3179 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
3180 * conform/data/fmtmsg.h-data: Likewise.
3181 * conform/data/netinet/in.h-data: Likewise.
3182 * conform/data/tar.h-data: Likewise.
3183 * conform/data/limits.h-data: Use "==" form on "constant" and
3184 "optional-constant" lines.
3185
1b8f2850
JM
3186 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
3187 Use -std=c99 for XOPEN2K.
3188 (@knownproblems): Remove.
3189 (newtoken): Don't check %isknown.
3190
a05a144b
JM
3191 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
3192 Do not expect macro.
3193 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
3194 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
3195 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
3196 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
3197 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
3198 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
3199 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
3200 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
3201 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
3202 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
3203 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
3204 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
3205 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
3206 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
3207 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
3208 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
3209 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
3210 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
3211 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
3212 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
3213 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
3214 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
3215 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
3216 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
3217 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
3218 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
3219 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
3220 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
3221 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
3222 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
3223 [XPG3] (acosh): Likewise.
3224 [XPG3] (asinh): Likewise.
3225 [XPG3] (atanh): Likewise.
3226 [XPG3] (cbrt): Likewise.
3227 [XPG3] (expm1): Likewise.
3228 [XPG3] (ilogb): Likewise.
3229 [XPG3] (log1p): Likewise.
3230 [XPG3] (logb): Likewise.
3231 [XPG3] (nextafter): Likewise.
3232 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
3233 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
3234 [XPG3] (remainder): Likewise.
3235 [XPG3] (rint): Likewise.
3236 [XPG3 || XPG4 || UNIX98] (round): Likewise.
3237 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
3238 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
3239 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
3240 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
3241 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
3242 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
3243 [UNIX98 || XOPEN2K] (scalb): Expect.
3244 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
3245 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
3246 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
3247 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
3248 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
3249 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
3250 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
3251 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
3252 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
3253 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
3254 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
3255 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
3256 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
3257 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
3258 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
3259 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
3260 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
3261 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
3262 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
3263 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
3264 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
3265 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
3266 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
3267 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
3268 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
3269 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
3270 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
3271 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
3272 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
3273 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
3274 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
3275 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
3276 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
3277 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
3278 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
3279 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
3280 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
3281 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
3282 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
3283 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
3284 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
3285 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
3286 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
3287 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
3288 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
3289 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
3290 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
3291 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
3292 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
3293 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
3294 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
3295 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
3296 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
3297 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
3298 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
3299 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
3300 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
3301 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
3302 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
3303 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
3304 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
3305 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
3306 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
3307 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
3308 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
3309 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
3310 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
3311 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
3312 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
3313 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
3314 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
3315 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
3316 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
3317 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
3318 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
3319 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
3320 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
3321 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
3322 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
3323 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
3324 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
3325 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
3326 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
3327 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
3328 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
3329 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
3330 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
3331 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
3332 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
3333 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
3334 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
3335 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
3336 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
3337 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
3338 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
3339 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
3340 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
3341 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
3342 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
3343 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
3344 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
3345 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
3346 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
3347 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
3348 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
3349 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
3350 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
3351 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
3352 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
3353 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
3354 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
3355 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
3356 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
3357 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
3358 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
3359 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
3360 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
3361 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
3362 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
3363 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
3364 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
3365 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
3366 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
3367 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
3368 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
3369 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
3370 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
3371 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
3372 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
3373 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
3374 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
3375 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
3376 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
3377 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
3378 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
3379 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
3380 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
3381
73c5ebe3
JM
3382 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
3383 _XOPEN_SOURCE_EXTENDED for XPG4.
3384
39c33b6c
JM
3385 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
3386
62fde54f
JM
3387 * Makeconfig (localtime): Remove variable.
3388 (inst_localtime-file): Likewise.
3389
0741d64c
AS
33902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3391
3392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
3393 Update.
3394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3395 Update.
3396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
3397 Update.
3398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3399 Update.
3400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
3401 Update.
3402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
3403 Update.
3404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3405 Update.
3406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
3407 Update.
3408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3409 Update.
3410
7cb029ee
JM
34112012-05-01 Joseph Myers <joseph@codesourcery.com>
3412
3413 [BZ #2550]
3414 [BZ #2570]
3415 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
3416 comparisons to determine direction to adjust input.
3417 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
3418 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
3419 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
3420 Likewise.
3421 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
3422 Likewise.
3423 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3424 Likewise.
3425 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
3426 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
3427 Likewise.
3428 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
3429 Likewise.
3430 * math/libm-test.inc (nexttoward_test): Add more tests.
3431
412bd966
AS
34322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
3433
3434 [BZ #14040]
3435 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
3436 in version GLIBC_2.1, not GLIBC_2.0.
3437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
3438 Likewise.
3439
9568c0c2
JM
34402012-04-30 Joseph Myers <joseph@codesourcery.com>
3441
adfbc8ac
JM
3442 [BZ #13942]
3443 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
3444 (1 - x) * (1 + x).
3445 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3446 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
3447 * math/libm-test.inc (acos_test): Add more tests.
3448 (asin_test): Likewise.
3449 * sysdeps/i386/fpu/libm-test-ulps: Update.
3450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3451
5ba3cc69
JM
3452 [BZ #14034]
3453 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
3454 of square root.
3455 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
3456 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
3457 * math/libm-test.inc (acos_test_tonearest): New function.
3458 (acos_test_towardzero): Likewise.
3459 (acos_test_downward): Likewise.
3460 (acos_test_upward): Likewise.
3461 (asin_test_tonearest): Likewise.
3462 (asin_test_towardzero): Likewise.
3463 (asin_test_downward): Likewise.
3464 (asin_test_upward): Likewise.
3465 (main): Call the new functions.
3466 * sysdeps/i386/fpu/libm-test-ulps: Update.
3467 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3468
9568c0c2
JM
3469 [BZ #13884]
3470 [BZ #13924]
3471 * math/e_exp10.c: Include <float.h>.
3472 (__ieee754_exp10): Handle underflow here rather than multiplying
3473 large negative argument by M_LN10.
3474 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
3475 of __ieee754_expf.
3476 * math/e_exp10l.c: Include <float.h>.
3477 (__ieee754_exp10l): Handle underflow here rather than multiplying
3478 large negative argument by M_LN10l.
3479 * math/libm-test.inc (exp10_test): Add another test. Do not allow
3480 spurious overflow exception on underflow.
3481
5ac3ea17
MP
34822012-04-29 Marek Polacek <polacek@redhat.com>
3483
3484 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
3485 (__fortify_function): New macro.
3486 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
3487 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
3488 __extern_always_inline.
3489 * libio/bits/stdio2.h: Likewise.
3490 * libio/bits/stdio.h: Likewise.
3491 * string/string.h: Likewise.
3492 * string/bits/string3.h: Likewise.
3493 * include/stdio.h: Likewise.
3494 * stdlib/bits/stdlib.h: Likewise.
3495 * stdlib/stdlib.h: Likewise.
3496 * rt/bits/mqueue2.h: Likewise.
3497 * rt/mqueue.h: Likewise.
3498 * posix/bits/unistd.h: Likewise.
3499 * posix/unistd.h: Likewise.
3500 * io/bits/poll2.h: Likewise.
3501 * io/bits/fcntl2.h: Likewise.
3502 * io/fcntl.h: Likewise.
3503 * io/sys/poll.h: Likewise.
3504 * misc/bits/syslog.h: Likewise.
3505 * misc/bits/syslog-ldbl.h: Likewise.
3506 * misc/sys/syslog.h: Likewise.
3507 * socket/bits/socket2.h: Likewise.
3508 * socket/sys/socket.h: Likewise.
3509 * debug/tst-chk1.c: Likewise.
3510 * wcsmbs/bits/wchar2.h: Likewise.
3511 * wcsmbs/bits/wchar-ldbl.h: Likewise.
3512 * wcsmbs/wchar.h: Likewise.
3513
ecf0ebfb
AJ
35142012-04-29 Andreas Jaeger <aj@suse.de>
3515
3516 * Makerules (tests): Remove enable-check-abi protection.
3517 (check-abi-warn): Remove.
3518 (check-abi-%): Remove check-abi-warn usage.
3519
3520 * configure.in: Remove check-abi configure option.
3521 * configure: Regenerated.
3522 * config.make.in (enable-check-abi): Remove.
3523
6d5c57fa
AS
35242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
3525
24c5d07e 3526 [BZ #14033]
ded5180a
AS
3527 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
3528 double functions to double *_finite functions.
3529
7e0d315d
AS
3530 [BZ #13941]
3531 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
3532 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
3533 LDBL_MIN_EXP.
3534 * stdio-common/Makefile (tests): Add tst-sprintf3.
3535 * stdio-common/tst-sprintf3.c: New file.
3536
6d5c57fa
AS
3537 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
3538 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
3539
0749ff8b
JM
35402012-04-28 Joseph Myers <joseph@codesourcery.com>
3541
3542 * conform/conformtest.pl: Remove duplicate typed-constant
3543 handling.
3544
8dbd5d7b
DM
35452012-04-28 David S. Miller <davem@davemloft.net>
3546
3547 * Makerules (%.abilist): Add vpath on sysdep_dirs.
3548 (check-abi-%): Remove AWK script prerequisite and explicit
3549 abilist directory.
3550 (check-abi): Rewrite to just diff the symlist with the abilist.
3551 (config-tls, config-abi-config): Delete, no longer used.
3552 (update-abi-%): Remove AWK script and explicit abilist directory.
3553 (update-abi): Rewrite to simply compare and conditionally copy the
3554 symlist and the sysdep abilist file. Remove update-abi-config
3555 checks.
3556 * abilist/ld.abilist: Remove.
3557 * abilist/libBrokenLocale.abilist: Remove.
3558 * abilist/libanl.abilist: Remove.
3559 * abilist/libcrypt.abilist: Remove.
3560 * abilist/libdl.abilist: Remove.
3561 * abilist/librt.abilist: Remove.
3562 * abilist/libthread_db.abilist: Remove.
3563 * abilist/libutil.abilist: Remove.
3564 * scripts/extract-abilist.awk: Remove.
3565 * scripts/merge-abilist.awk: Remove.
3566 * sysdeps/generic/libcidn.abilist: New file.
3567 * sysdeps/generic/libnss_compat.abilist: New file.
3568 * sysdeps/generic/libnss_db.abilist: New file.
3569 * sysdeps/generic/libnss_dns.abilist: New file.
3570 * sysdeps/generic/libnss_files.abilist: New file.
3571 * sysdeps/generic/libnss_hesiod.abilist: New file.
3572 * sysdeps/generic/libnss_nis.abilist: New file.
3573 * sysdeps/generic/libnss_nisplus.abilist: New file.
3574 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
3575 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
3576 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
3577 file.
3578 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
3579 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
3580 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
3581 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
3582 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
3583 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
3584 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
3585 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
3586 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
3587 file.
3588 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
3589 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
3590 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
3591 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
3592 file.
3593 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
3594 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
3595 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
3596 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
3597 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
3598 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
3599 file.
3600 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
3601 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
3602 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
3603 file.
3604 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
3605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
3606 New file.
3607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
3608 New file.
3609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
3610 New file.
3611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
3612 New file.
3613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
3614 New file.
3615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
3616 New file.
3617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
3618 New file.
3619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
3620 New file.
3621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
3622 New file.
3623 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
3624 New file.
3625 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
3626 New file.
3627 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
3628 New file.
3629 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
3630 New file.
3631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
3632 file.
3633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
3634 New file.
3635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
3636 New file.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
3638 file.
3639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
3640 New file.
3641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
3642 New file.
3643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
3644 file.
3645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
3646 New file.
3647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3648 New file.
3649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
3650 New file.
3651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
3652 New file.
3653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
3654 New file.
3655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
3656 New file.
3657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
3658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
3659 file.
3660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
3661 New file.
3662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
3663 file.
3664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
3665 file.
3666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
3667 file.
3668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
3669 file.
3670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
3671 file.
3672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3673 New file.
3674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
3675 file.
3676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
3677 file.
3678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
3679 New file.
3680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
3681 file.
3682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
3683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
3684 file.
3685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
3686 New file.
3687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
3688 file.
3689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
3690 file.
3691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
3692 file.
3693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
3694 file.
3695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
3696 file.
3697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3698 New file.
3699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
3700 file.
3701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
3702 file.
3703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
3704 New file.
3705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
3706 file.
3707 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
3708 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
3709 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
3710 file.
3711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
3712 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
3713 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
3714 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
3715 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
3716 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
3717 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
3718 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
3719 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
3720 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
3721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
3722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
3723 file.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
3725 New file.
3726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
3727 file.
3728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
3729 file.
3730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
3731 file.
3732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
3733 file.
3734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
3735 file.
3736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3737 New file.
3738 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
3739 New file.
3740 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
3741 file.
3742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
3743 New file.
3744 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
3745 file.
3746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
3747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
3748 file.
3749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
3750 New file.
3751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
3752 file.
3753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
3754 file.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
3756 file.
3757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
3758 file.
3759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
3760 file.
3761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3762 New file.
3763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
3764 New file.
3765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
3766 file.
3767 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
3768 New file.
3769 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
3770 file.
3771
41d73a1b
JM
37722012-04-28 Joseph Myers <joseph@codesourcery.com>
3773
3774 * conform/conformtest.pl: Fix typo in handling typed-constant from
3775 allow-header.
3776
28aeeda4
JM
37772012-04-27 Joseph Myers <joseph@codesourcery.com>
3778
adae8f5e
JM
3779 * README: Cut down references to pre-2.6 Linux kernels and
3780 Linuxthreads. Update lists of configurations in libc and ports
3781 and sort alphabetically. Say "or newer" with Linux kernel version
3782 requirements.
3783
28aeeda4
JM
3784 * config.h.in [IS_IN_build]: Allow compiling without optimization.
3785
a462cb63
RA
37862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3787
3788 [BZ #887]
3789 * math/libm-test.inc (logb_test_downward): New test to expose
3790 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
3791 rounding mode.
3792
6ad3493e
JM
37932012-04-27 Joseph Myers <joseph@codesourcery.com>
3794
3795 [BZ #14027]
3796 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
3797 to be done.
3798 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
3799 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
3800
2ce4f015
JM
38012012-04-26 Joseph Myers <joseph@codesourcery.com>
3802
5aeb141a
JM
3803 * sysdeps/unix/i386/brk.S: Remove file.
3804 * sysdeps/unix/i386/dl-brk.S: Likewise.
3805 * sysdeps/unix/i386/pipe.S: Likewise.
3806 * sysdeps/unix/i386/sigreturn.S: Likewise.
3807 * sysdeps/unix/i386/syscall.S: Likewise.
3808 * sysdeps/unix/i386/vfork.S: Likewise.
3809 * sysdeps/unix/i386/wait.S: Likewise.
3810
7143acae
JM
3811 * sysdeps/unix/common/tcsendbrk.c: Move to ...
3812 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
3813
2ce4f015
JM
3814 * configure.in (arm*-none*): Do not allow without
3815 --enable-hacker-mode.
3816 (netbsd*): Remove case setting base_os.
3817 (386bsd*): Likewise.
3818 (freebsd*): Likewise.
3819 (bsdi*): Likewise.
3820 (osf*): Likewise.
3821 (sunos*): Likewise.
3822 (ultrix*): Likewise.
3823 (newsos*): Likewise.
3824 (dynix*): Likewise.
3825 (*bsd*): Likewise.
3826 (sysv*): Likewise.
3827 (isc*): Likewise.
3828 (esix*): Likewise.
3829 (sco*): Likewise.
3830 (minix*): Likewise.
3831 (irix4*): Likewise.
3832 (irix6*): Likewise.
3833 (solaris[2-9]*): Likewise.
3834 (none): Likewise.
3835 * configure: Regenerated.
3836
0ac229c8
AZ
38372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3838
3839 [BZ #11521]
3840 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
3841 overflow or cancellation in calculating denominator.
3842 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
3843 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
3844 down expression to avoid unexpected rounding in newer GCCs.
3845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
3846
33f244f4
DM
38472012-04-26 David S. Miller <davem@davemloft.net>
3848
3849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
3850 long-double compat symbols.
3851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
3853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
3854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
3855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
3856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
3857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
3858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
3859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
3860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
3862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
3863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3864
cfa1f3e8
DM
38652012-04-25 David S. Miller <davem@davemloft.net>
3866
3867 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
3868 HWCAP_* values only after the memory barriers have been defined.
3869 (atomic_full_barrier): Define.
3870 (atomic_read_barrier): Define.
3871 (atomic_write_barrier): Define.
3872
6e236b92
SP
38732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3874
3875 * shlib-versions: Add libgcc_s version information.
3876 * sysdeps/generic/libgcc_s.h: Remove.
3877 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
3878 libgcc_s.h.
3879 * sysdeps/gnu/unwind-resume.c: Likewise.
3880 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
3881
aab39a09
DM
38822012-04-25 David S. Miller <davem@davemloft.net>
3883
3884 * sysdeps/unix/sparc/brk.S: Delete.
3885 * sysdeps/unix/sparc/dl-brk.S: Delete.
3886 * sysdeps/unix/sparc/pipe.S: Delete.
3887 * sysdeps/unix/sparc/sysdep.S: Delete.
3888 * sysdeps/unix/sparc/sysdep.h: Delete.
3889 * sysdeps/unix/sparc/vfork.S: Delete.
3890 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
3891 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
3892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
3893 ret_ERRVAL, r0, r1, MOVE): Define.
3894 (JUMPTARGET): Remove.
3895 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
3896 sysdeps/unix/sparc/sysdep.h
3897 (ENTRY, END): Remove.
3898 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3899
a3cc4f48
JM
39002012-04-25 Joseph Myers <joseph@codesourcery.com>
3901
2ed8cda2
JM
3902 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
3903 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
3904 -DIS_IN_build.
3905
35d76d59
JM
3906 * timezone/README: Update upstream location and email address for
3907 tzcode and tzdata.
3908 * timezone/zdump.c: Update from tzcode 2012b.
3909 * timezone/zic.c: Likewise.
3910
a3cc4f48
JM
3911 * configure.in (libc_cv_as_needed): Remove test.
3912 * configure: Regenerated.
3913 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
3914 conditional definition.
3915 [$(have-as-needed) != yes] (no-as-needed): Likewise.
3916 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
3917 * config.make.in (have-as-needed): Remove variable.
3918
ceab42c3
SP
39192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 Paul Pluzhnikov <ppluzhnikov@google.com>
3921
3922 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
3923 strings correctly.
3924
3ce2865f
CLT
39252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
3926
3927 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
3928 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
3929 * sysdeps/sh/strlen.S: Likewise.
3930
f37e0d68
JM
39312012-04-24 Joseph Myers <joseph@codesourcery.com>
3932
ae186e9a
JM
3933 * sysdeps/unix/fork.S: Remove file.
3934 * sysdeps/unix/i386/fork.S: Likewise.
3935 * sysdeps/unix/sparc/fork.S: Likewise.
3936
b96914af
JM
3937 * sysdeps/unix/system.c: Remove file.
3938 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
3939
f37e0d68
JM
3940 * sysdeps/unix/getegid.S: Remove file.
3941 * sysdeps/unix/geteuid.S: Likewise.
3942
87ef29ca
RM
39432012-04-24 Roland McGrath <roland@hack.frob.com>
3944
83bcd236
RM
3945 * scripts/check-localplt.awk: New file.
3946 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
3947 of diff.
3948 * scripts/data/localplt-generic.data: Add a comment.
3949
87ef29ca
RM
3950 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
3951 NODE when __dir_mkfile failed.
3952 * sysdeps/mach/hurd/symlinkat.c: Likewise.
3953 Reported by Ludovic Courtès <ludo@gnu.org>.
3954
e5a6e567
AJ
39552012-04-24 Andreas Jaeger <aj@suse.de>
3956
3957 * Makerules (common-clean): Also remove gen-as-const-headers
3958 files.
3959
c1820385
JM
39602012-04-24 Joseph Myers <joseph@codesourcery.com>
3961
3962 * Makerules (native-compile): Do not change working directory for
3963 build. Use $(OUTPUT_OPTION) in command.
3964 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
3965
94e02fc4
AZ
39662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3967
3968 [BZ #13886]
3969 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
3970 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
3971 * math/libm-test.inc (floor_test): Add more tests.
3972 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
3973
3a533ca3
JM
39742012-04-24 Joseph Myers <joseph@codesourcery.com>
3975
940ab4b3
JM
3976 * sysdeps/unix/getdents.c: Remove file.
3977 * sysdeps/unix/sysv/getdents.c: Likewise.
3978 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
3979
90e037bd
JM
3980 * sysdeps/unix/syscalls.list (madvise): Add syscall from
3981 sysdeps/unix/mman/syscalls.list.
3982 (mmap): Likewise.
3983 (mprotect): Likewise.
3984 (msync): Likewise.
3985 (munmap): Likewise.
3986 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
3987 * sysdeps/unix/mman/syscalls.list: Remove.
3988 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
3989
3a533ca3
JM
3990 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
3991 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
3992 * configure: Regenerated.
3993 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
3994 $(libgcc_s_suffix).
3995 * config.make.in (libgcc_s_suffix): Remove variable.
3996
1ad743de
JM
39972012-04-23 Joseph Myers <joseph@codesourcery.com>
3998
4ad451e2
JM
3999 * sysdeps/unix/sysv/gethostname.c: Move to ...
4000 * sysdeps/posix/gethostname.c: ... here.
4001
5e37ce39
JM
4002 * sysdeps/unix/execve.S: Remove file.
4003
1ad743de
JM
4004 * sysdeps/unix/_exit.S: Remove file.
4005
4e681b5b
AJ
40062012-04-23 Andreas Jaeger <aj@suse.de>
4007
4008 [BZ #13739]
4009 * manual/Makefile: Remove make dist support, there's no
4010 need for a stand-alone documentation tar ball.
4011 (TEXI2DVI): Define always, it's not in Makeconfig.
4012 (dist): Removed.
4013 (tar-it): Removed.
4014 (edition): Removed.
4015 (glibc-doc-$(edition).tar): Removed
4016 (%.Z): Removed.
4017 (%.gz): Removed.
4018 (%.uu): Removed.
4019 (ETAGS): Remove, it's in Makeconfig.
4020 (move-if-change): Remove, it's in Makeconfig.
4021
c0baea34
PE
40222013-04-23 Paul Eggert <eggert@cs.ucla.edu>
4023
4024 [BZ #13970]
4025 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
4026 (strtod, strtof, strtold, strtol, strtoul, strtoq)
4027 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
4028 (strtod_l, strtof_l, strtold_l): Remove __wur.
4029 It is not necessarily an error to ignore strtol's return value.
4030 One can reliably look at the stored endptr to decide whether
4031 the number had valid syntax.
4032
7c0616fa
AJ
40332012-04-21 Andreas Jaeger <aj@suse.de>
4034
803cb6b7 4035 [BZ #13739]
7c0616fa
AJ
4036 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
4037
b0fe253f
JM
40382012-04-21 Joseph Myers <joseph@codesourcery.com>
4039
4040 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
4041 * sysdeps/unix/sysv/Versions: Remove file.
4042
8280f22d
MT
40432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4044
4045 [BZ #13927]
4046 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4047
75ce411f 40482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
4049
4050 [BZ #7064]
4051 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
4052 version from __vm86.
4053
097d59fa
JM
40542012-04-20 Joseph Myers <joseph@codesourcery.com>
4055
a90f3bcb
JM
4056 * sysdeps/unix/common/lxstat.c: Remove file.
4057 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
4058
edc7ea78
JM
4059 * sysdeps/unix/sysv/Makefile: Remove file.
4060
cb78c221
JM
4061 * sysdeps/unix/sysv/direct.h: Remove file.
4062
efa6a45f
JM
4063 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
4064 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
4065 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
4066 * sysdeps/unix/sysv/bits/signum.h: Likewise.
4067 * sysdeps/unix/sysv/bits/stat.h: Likewise.
4068 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
4069 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
4070
9c9f2d0c
JM
4071 * sysdeps/unix/sysv/setrlimit.c: Remove file.
4072
4541c83b
JM
4073 * sysdeps/unix/xmknod.c: Remove file.
4074 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
4075
f5d153a0
JM
4076 * sysdeps/unix/sysv/settimeofday.c: Remove file.
4077
aa746595
JM
4078 * sysdeps/unix/sysv/i386/time.S: Remove file.
4079
cce5905e
JM
4080 * sysdeps/unix/fxstat.c: Remove file.
4081 * sysdeps/unix/xstat.c: Likewise.
4082 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
4083
37fa3841
JM
4084 * sysdeps/unix/sysv/sigaction.c: Remove file.
4085
ff1962a3
JM
4086 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
4087 (sysdep_headers): Remove variable.
4088 [termio.h not in sysdep_headers] (generated): Likewise.
4089 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
4090 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
4091 * sysdeps/unix/sysv/tcdrain.c: Likewise.
4092 * sysdeps/unix/sysv/tcflow.c: Likewise.
4093 * sysdeps/unix/sysv/tcflush.c: Likewise.
4094 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
4095 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
4096 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
4097 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
4098 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
4099
e7740d31
JM
4100 * sysdeps/unix/siglist.c: Remove file.
4101
ee06f18b
JM
4102 * sysdeps/unix/getppid.S: Remove file.
4103
097d59fa
JM
4104 * sysdeps/unix/mkdir.c: Remove file.
4105 * sysdeps/unix/rmdir.c: Likewise.
4106
ff3d51ec
AS
41072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
4108
4109 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4110 ERR_MAX value.
4111 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
4112 errlist-compat value.
4113
50f81fd7
DM
41142012-04-18 David S. Miller <davem@davemloft.net>
4115
4116 * sysdeps/generic/memcopy.h (reg_char): Delete.
4117 * debug/strcat_chk.c: Use char, not reg_char.
4118 * debug/strcpy_chk.c: Likewise.
4119 * debug/strncat_chk.c: Likewise.
4120 * debug/strncpy_chk.c: Likewise.
4121 * string/memchr.c: Likewise.
4122 * string/memrchr.c: Likewise.
4123 * string/rawmemchr.c: Likewise.
4124 * string/strcat.c: Likewise.
4125 * string/strchr.c: Likewise.
4126 * string/strchrnul.c: Likewise.
4127 * string/strcmp.c: Likewise.
4128 * string/strcpy.c: Likewise.
4129 * string/strncat.c: Likewise.
4130 * string/strncmp.c: Likewise.
4131 * string/strncpy.c: Likewise.
4132
8ff41c46
WS
41332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4134
4135 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
4136 __builtin_memcopy is called when src and dest ranges are known to not
4137 overlap.
4138
6b652f46
WS
41392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4140
4141 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
4142 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
4143 fwd_align_merge macro call.
4144 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
4145 bwd_align_merge macro call.
4146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4147
b282631e
WS
41482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
4149
4150 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
4151 bwd_align_merge macros.
4152 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
4153 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
4154 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4155
95aa737c
DM
41562012-04-18 David S. Miller <davem@davemloft.net>
4157
4158 * sysdeps/sparc/sparc64/memcopy.h: Delete.
4159
7a99a614
AJ
41602012-04-18 Andreas Jaeger <aj@suse.de>
4161
4162 [BZ# 6794]
4163 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
4164 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
4165 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4166
4167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
4168 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
4169 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4170
4171 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
4172 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
4173 Adjust for changed ldbl-128 files.
4174
4175 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
4176 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
4177 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
4178
e5270c23
DM
41792012-04-17 David S. Miller <davem@davemloft.net>
4180
4181 * sysdeps/sparc/sparc32/memcopy.h: Delete.
4182
fb5e92c9
AS
41832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
4184
4185 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
4186 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
4187 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
4188 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
4189 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
4190 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
4191
76da7265
AZ
41922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4193
4194 [BZ #6794]
4195 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
4196 * math/libm-test.inc: Add ilogb errno and exception tests.
4197 * math/w_ilogb.c: New file: ilogb wrapper.
4198 * math/w_ilogbf.c: New file: ilogbf wrapper.
4199 * math/w_ilogbl.c: New file: ilogbl wrapper.
4200 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
4201 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
4202 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
4203 exception being thrown with 0.0 as argument.
4204 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
4205 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
4206 exception being thrown with 0.0 as argument.
4207 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
4208 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4209 exception being thrown with 0.0 as argument.
4210 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
4211 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
4212 exception being thrown with 0.0 as argument.
4213 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
4214 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 4215 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
4216 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
4217 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
4218 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
4219 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
4220 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
4221 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
4222
0396e69d
PB
42232012-04-17 Petr Baudis <pasky@ucw.cz>
4224
4225 * include/sys/uio.h: Change __vector to __iovec to avoid clash
4226 with altivec.
4227
750b5926
MP
42282012-04-16 Marek Polacek <polacek@redhat.com>
4229
4230 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
4231
751728a1
MP
42322012-04-16 Marek Polacek <polacek@redhat.com>
4233
4234 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
4235 operands of fdivp instruction.
4236
34a27407
L
42372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4238
4239 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4240 * elf/tst-auditmod3b.c: Likewise.
4241 * elf/tst-auditmod4b.c: Likewise.
4242 * elf/tst-auditmod5b.c: Likewise.
4243 * elf/tst-auditmod6b.c: Likewise.
4244 * elf/tst-auditmod6c.c: Likewise.
4245 * elf/tst-auditmod7b.c: Likewise.
4246 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
4247 * sysdeps/x86_64/preconfigure.in: Likewise.
4248 * sysdeps/x86_64/preconfigure: Regenerated.
4249
7e73e17d
L
42502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
4251
4252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
4253 __ILP32__.
4254
c7a6ab72
AB
42552012-04-13 Antoine Balestrat <merkil33@gmail.com>
4256
4257 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4258 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
4259
a9e8e0e0
CL
42602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
4261
4262 [BZ #13973]
4263 * locale/iso-639.def: Fix gl language name. Spotted by
4264 Yaron Shahrabani.
4265
ec98af7d
RM
42662012-04-12 Roland McGrath <roland@hack.frob.com>
4267
4268 [BZ #2074]
4269 * libio/libio.h (__io_write_fn): Update comment.
4270
247c3ede
PB
42712012-04-12 Petr Baudis <pasky@ucw.cz>
4272
4273 [BZ #2074]
4274 * stdio.texi (Hook Functions): The user provided writer function
4275 is not allowed to return -1.
4276
55939d6d
DM
42772012-04-11 David S. Miller <davem@davemloft.net>
4278
4279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4280
90020f5a
MF
42812012-04-11 Mike Frysinger <vapier@gentoo.org>
4282
4283 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
4284 Add a leading slash to rtkaio.
4285
288f9098
JM
42862012-04-11 Jim Meyering <meyering@redhat.com>
4287
90020f5a
MF
4288 [BZ #11959]
4289 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
4290 It is not necessarily an error to ignore fwrite's return
4291 value. One can reliably use ferror to test for errors after
4292 the fact.
288f9098 4293
4be2b570
L
42942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4295
4296 * bits/types.h (__snseconds_t): New type.
4297 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
4298
4299 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
4300 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4301 (__SNSECONDS_T_TYPE): Likewise.
4302 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4303 (__SNSECONDS_T_TYPE): Likewise.
4304 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4305 (__SNSECONDS_T_TYPE): Likewise.
4306
288f9098 43072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
4308
4309 [BZ #2636]
4310 * manual/time.texi (Processor Time): Return type of times is
4311 elapsed real time since an arbitrary point in the past.
4312 (CPU Time): Move CLK_TCK from here...
4313 (Processor Time): ...to here. Correct description.
4314 * manual/conf.texi (Constants for Sysconf): Correct description of
4315 _SC_CLK_TCK.
4316
d7dd4413
DM
43172012-04-10 David S. Miller <davem@davemloft.net>
4318
4319 [BZ #13967]
4320 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
4321 where the is a gap between DT_REL(A) and DT_JMPREL.
4322
b46068fc
L
43232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
4324
4325 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
4326 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4327 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4328
73d65cc3
SP
43292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4330
4331 * elf/dl-support.c (_dl_inhibit_cache): New variable.
4332 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
4333 (dl_main): Handle --inhibit-cache.
4334 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
4335 _dl_inhibit_cache.
4336 * elf/dl-load.c (_dl_map_object): Use it.
4337 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
4338
bcc8d661
JM
43392012-04-09 Joseph Myers <joseph@codesourcery.com>
4340
8f9a2fae
JM
4341 [BZ #13872]
4342 * sysdeps/i386/fpu/e_powl.S (p78): New object.
4343 (__ieee754_powl): Saturate large exponents rather than testing for
4344 overflow of y*log2(x).
4345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
4346 * math/libm-test.inc (pow_test): Do not permit spurious overflow
4347 exceptions.
4348
bcc8d661
JM
4349 [BZ #11521]
4350 * math/s_ctan.c: Include <float.h>.
4351 (__ctan): Avoid internal overflow or cancellation in calculating
4352 denominator.
4353 * math/s_ctanf.c: Likewise.
4354 * math/s_ctanl.c: Likewise.
4355 * math/s_ctanh.c: Likewise.
4356 * math/s_ctanhf.c: Likewise.
4357 * math/s_ctanhl.c: Likewise.
4358 * math/libm-test.inc (ctan_test): Add more tests.
4359 (ctanh_test): Likewise.
4360 * sysdeps/i386/fpu/libm-test-ulps: Update.
4361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4362
823fbbb4
AJ
43632012-04-09 Andreas Jaeger <aj@suse.de>
4364
03879793
AJ
4365 [BZ #6894]
4366 * manual/filesys.texi (Directory Entries): Mention that d_namlen
4367 is an optional BSD extension.
4368
823fbbb4
AJ
4369 [BZ #10254]
4370 * manual/stdio.texi (Opening Streams): Document additional fopen
4371 parameters.
4372
8de131cb
RM
43732012-04-09 Roland McGrath <roland@hack.frob.com>
4374
4375 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
4376 %eax without telling the compiler.
4377
c0ed9d7d
CD
43782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
4379
4380 [BZ # 13963]
4381 * manual/install.texi: Use sourceware.org.
4382
c483f6b4
JM
43832012-04-09 Joseph Myers <joseph@codesourcery.com>
4384
d7dd9453
JM
4385 [BZ #13873]
4386 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
4387 (__ieee754_pow): Generate overflow and underflow using huge*huge
4388 and tiny*tiny rather than just returning constant infinity or zero
4389 for large exponents.
4390 * math/libm-test.inc (pow_test): Require overflow exceptions for
4391 applicable cases of large exponents.
4392
c483f6b4
JM
4393 [BZ #706]
4394 * sysdeps/i386/fpu/e_pow.S (p10): New object.
4395 (__ieee754_pow): Use iterative multiplication algorithm only for
4396 integer exponents with absolute value below 1024. Check for odd
4397 integer exponents when using algorithm for real exponents.
4398 * math/libm-test.inc (pow_test): Add more tests.
4399 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4400
d2de7579
JM
44012012-04-08 Joseph Myers <joseph@codesourcery.com>
4402
4403 [BZ #13705]
4404 * math/libm-test.inc (exp_test): Do not allow overflow exception
4405 on underflow test.
4406
f77f1232
AJ
44072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
4408
4409 [BZ #13705]
4410 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
4411 instead of __kernel_standard_f.
4412
3884932b
MF
44132012-04-08 Mike Frysinger <vapier@gentoo.org>
4414
4415 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
4416 * sysdeps/x86_64/memset_chk.S: Likewise.
4417
54472e9c
AJ
44182012-04-08 Andreas Jaeger <aj@suse.de>
4419
6ab0fbfc
AJ
4420 [BZ #10153]
4421 * manual/startup.texi (Environment Access): Describe return value
4422 for putenv and setenv.
4423
61efba8c
AJ
4424 [BZ #6895]
4425 * manual/filesys.texi (Directory Entries): Add description for
4426 DT_LNK.
4427
95c3f29a
AJ
4428 [BZ #6890]
4429 * manual/filesys.texi (Directory Entries): Clarify that it's file
4430 system not operating system in the description of DT_UNKNOWN.
4431
54472e9c
AJ
4432 [BZ #6578]
4433 * manual/syslog.texi (closelog): Fix reference, it's openlog.
4434
624254b1
SC
44352012-04-08 Stephen Compall <s11@member.fsf.org>
4436
4437 [BZ #6649]
4438 * manual/llio.texi (Opening and Closing Files): Add cross
4439 reference to explain mode argument.
4440
1e4920e0
MF
44412012-04-07 Mike Frysinger <vapier@gentoo.org>
4442
4443 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
4444 * sysdeps/x86_64/memset_chk.S: Likewise.
4445
5ed848f3
DM
44462012-04-07 David S. Miller <davem@davemloft.net>
4447
4448 * elf/elf.h (R_SPARC_WDISP10): Define.
4449 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
4450 R_SPARC_SIZE32.
4451 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
4452 R_SPARC_SIZE64 and R_SPARC_H34.
4453
96154cd8
CD
44542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
4455
4456 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
4457 conditions and remove no longer applicable assertion.
4458
9904dc47
L
44592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4460
4461 * bits/byteswap.h: Include <features.h>.
4462 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
4463 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
4464
f8887d0a
L
44652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
4466
4467 * bits/byteswap.h (__bswap_16): Removed.
4468 Include <bits/byteswap-16.h> to get __bswap_16.
4469 * sysdeps/i386/bits/byteswap.h: Likewise.
4470 * sysdeps/s390/bits/byteswap.h: Likewise.
4471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4472 * bits/byteswap-16.h: New file.
4473 * sysdeps/i386/bits/byteswap-16.h: Likewise.
4474 * sysdeps/s390/bits/byteswap-16.h: Likewise.
4475 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
4476 * string/Makefile (headers): Add bits/byteswap-16.h.
4477
62470f60
PP
44782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4479
4480 [BZ #13895]
4481 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
4482 extra indirection.
4483 * nss/Makefile (tests-static, tests): Add tst-nss-static.
4484 * nss/tst-nss-static.c: New.
4485
4dad7bab
RM
44862012-04-06 Robert Millan <rmh@gnu.org>
4487
4488 [BZ #6486]
4489 * manual/llio.texi (File Position Primitive): lseek
4490 refers to WHENCE when it really means OFFSET.
4491
e9142a17
AJ
44922012-04-06 Andreas Jaeger <aj@suse.de>
4493
2c040eff
AJ
4494 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
4495 strncmp declarations.
4496
e9142a17
AJ
4497 * abilist/libc.abilist: Add __poll and __ppoll.
4498
ff9f1c5f
DM
44992012-04-05 David S. Miller <davem@davemloft.net>
4500
dcd2ae90
DM
4501 * scripts/check-local-headers.sh: Accept a host triplet in the
4502 path matched by the exclude regexp.
4503
993eb054
DM
4504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
4505 definition.
4506 * sysdeps/powerpc/powerpc32/dl-machine.h
4507 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
4508 * sysdeps/s390/s390-32/dl-machine.h
4509 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4510 * sysdeps/sparc/sparc32/dl-machine.h
4511 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4512 * sysdeps/sparc/sparc64/dl-machine.h
4513 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
4514
ff9f1c5f
DM
4515 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
4516 lazy binding.
48e2e132 4517 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
4518 undefined symbol errors.
4519
48e2e132 4520 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
4521 DT_NEEDED entries.
4522
e80d6f94
MM
45232012-04-05 Michael Matz <matz@suse.de>
4524
4525 [BZ #13592]
4526 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
4527
349fa79f
AJ
45282012-04-05 Andreas Jaeger <aj@suse.de>
4529
4530 [BZ #13908]
4531 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
4532 comment.
4533
f402708f
KK
45342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4535
4536 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
4537 which ROUND is no valid rounding mode.
4538
2ecccfc9
KK
45392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4540
4541 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
4542 read again.
4543 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
4544
8a53f50f
KK
45452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4546
4547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
4548 an exception using FPU order intentionally.
4549
45502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
4551
4552 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
4553 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
4554 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
4555 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
4556
d653abb7
SJ
45572012-04-05 Simon Josefsson <simon@josefsson.org>
4558
4559 [BZ #12340]
4560 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
4561 EINVAL when BUFLEN is too smal.
4562
c3b1bf7d
TS
45632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
4564
4565 [BZ #13553]
4566 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
4567 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
4568
b1aa60f3
AJ
45692012-04-03 Andreas Jaeger <aj@suse.de>
4570
c3b1bf7d 4571 [BZ #13938]
67f60a26
AJ
4572 * manual/setjmp.texi (System V contexts): Fix sentence.
4573
b1aa60f3
AJ
4574 [BZ #13926]
4575 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
4576 New macro for this case.
4577 [!__GNUC__] (__bswap_64): New inline function for this case.
4578 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4579 * bits/byteswap.h: Likewise.
4580 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
4581 ull, guard with __GLIBC_HAVE_LONG_LONG.
4582
4583 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
4584 __GLIBC_HAVE_LONG_LONG.
4585
4586 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
4587 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
4588
39c59c35
TMQMF
45892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4590
4591 [BZ #13691]
4592 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
4593 inptr and inend, rather than using last_ch.
4594
135ffda8
DM
45952012-04-02 David S. Miller <davem@davemloft.net>
4596
4597 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4598 * stdio-common/printf-parse.h (read_int): Change return type to
4599 'int', return -1 on INT_MAX overflow.
4600 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
4601 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
4602 overflows INT_MAX. Check for overflow of in-format-string precision
4603 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
4604 SIZE_MAX not INT_MAX for integer overflow test.
4605 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
4606 skip the construct in the format string but do not record anything.
4607 * stdio-common/bug22.c: Adjust to test both width/prevision
4608 INT_MAX overflow as well as total length INT_MAX overflow. Check
4609 explicitly for proper errno values.
4610
228c019e
TS
46112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
4612
302cadd3
TS
4613 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
4614 CHAR_MAX.
4615 * string/test-strcmp.c [! WIDE]: Likewise.
4616 * time/tst-mktime2.c: Likewise for INT_MAX.
4617 * string/test-string.h: #include <sys/param.h> for MIN.
4618
228c019e
TS
4619 * csu/init-first.c (__libc_init_first): Call __ctype_init.
4620 * sysdeps/i386/init-first.c (init): Likewise.
4621 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
4622 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
4623 * sysdeps/sh/init-first.c (init): Likewise.
4624
cfa633f5
UD
46252012-04-01 Ulrich Drepper <drepper@gmail.com>
4626
4627 * po/ru.po: Update from translation team.
d1635ef8 4628 * po/vi.po: Likewise.
cfa633f5 4629
6cd0a5ea
SP
46302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4631
4632 * resolv/nss_dns/dns-host.c: Merge copyright years.
4633
4b43400f
LD
46342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4635
4636 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
4637 Optimize memcpy with prefetch if
4638 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
4639 src, dst pointers have unequal 16 byte alignments.
4640
48c41d04
SP
46412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4642
4643 [BZ #13928]
4644 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
4645 from a CNAME entry and return the minimum ttl for the query.
4646 (gaih_getanswer_slice): Likewise.
4647
b8dc394d
JL
46482012-03-30 Jeff Law <law@redhat.com>
4649
4650 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
4651 due to long keys.
4652 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4653 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4654
2f5a5ed0
JL
4655 * resolv/nss_dns/dns-host.c: Update copyright year.
4656
1d39e359
UD
46572012-03-30 Ulrich Drepper <drepper@gmail.com>
4658
c030f70c 4659 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 4660 requests to save a system call. Fix check that all bytes are sent.
c030f70c 4661
1d39e359
UD
4662 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
4663 comments for sendmmsg.
4664
46652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
4666
4667 [BZ #13691]
4668 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
4669 with only 1 character between 0x0041 and 0x01b0.
4670 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
4671 * wcsmbs/tst-mbsnrtowcs.c: New file.
4672
20fde227
DM
46732012-03-29 David S. Miller <davem@davemloft.net>
4674
4675 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
4676 small copies by hand.
4677
984a4237
JL
46782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4679
4680 [BZ #13761]
4681 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
4682 _nss_compat_initgroups_dyn): Fall back to malloc/free
4683 for large group memberships.
4684
18c9d62b
DM
46852012-03-28 David S. Miller <davem@davemloft.net>
4686
88d85d4f
DM
4687 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
4688 that branches into memcpy.
4689 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4692 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
4694 bits.
4695 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
4696 implementation too.
4697 * sysdeps/sparc/mempcpy.S: New file.
4698
e5aa83e1
DM
4699 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
4700 the IFUNC routine in the libc case.
4701 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4702
88570753
DM
4703 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
4704 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
4705 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
4706 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
4707 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
4708 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
4709 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
4710 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
4711
249d7567
DM
4712 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
4713 loop to 256 bytes instead of 64 bytes and fix test signedness.
4714
18c9d62b
DM
4715 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
4716 * sysdeps/sparc/sparc32/Makefile: rather than here...
4717 * sysdeps/sparc/sparc64/Makefile: and here.
4718
05f3d1f6
UD
47192012-03-28 Ulrich Drepper <drepper@gmail.com>
4720
4721 * malloc/mallocbug.c: Avoid warnings about unused variables.
4722
86ae07a8
JL
47232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
4725 [BZ #13760]
4726 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
4727 in the right place. Discard and retry query if response is
4728 larger than input buffer size.
4729
41bf21a1
JM
47302012-03-28 Joseph Myers <joseph@codesourcery.com>
4731
d6270972
JM
4732 [BZ #369]
4733 [BZ #2678]
4734 [BZ #3866]
4735 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
4736 x for large integer exponent.
4737 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
4738 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
4739 sign of result as needed afterwards.
4740 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
4741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
4742 result for underflowing pow the same as for overflow.
4743 (__kernel_standard_l): Handle powl overflow and underflow here
4744 rather than calling __kernel_standard.
4745 * math/libm-test.inc (pow_test): Add more tests.
4746
414fca03 4747 [BZ #3868]
41bf21a1
JM
4748 [BZ #13879]
4749 [BZ #13910]
4750 [BZ #13911]
4751 [BZ #13912]
4752 [BZ #13913]
4753 [BZ #13915]
4754 [BZ #13916]
4755 [BZ #13917]
4756 [BZ #13918]
4757 [BZ #13919]
4758 [BZ #13920]
4759 [BZ #13921]
4760 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
4761 * sysdeps/ieee754/k_standard.c: Include <float.h>.
4762 (__kernel_standard_l): New function.
4763 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
4764 __kernel_standard.
4765 * math/w_acosl.c (__acosl): Likewise.
4766 * math/w_asinl.c (__asinl): Likewise.
4767 * math/w_atan2l.c (__atan2l): Likewise.
4768 * math/w_atanhl.c (__atanhl): Likewise.
4769 * math/w_coshl.c (__coshl): Likewise.
4770 * math/w_exp10l.c (__exp10l): Likewise.
4771 * math/w_exp2l.c (__exp2l): Likewise.
4772 * math/w_fmodl.c (__fmodl): Likewise.
4773 * math/w_hypotl.c (__hypotl): Likewise.
4774 * math/w_j0l.c (__j0l, __y0l): Likewise.
4775 * math/w_j1l.c (__j1l, __y1l): Likewise.
4776 * math/w_jnl.c (__jnl, __ynl): Likewise.
4777 * math/w_lgammal.c (__lgammal): Likewise.
4778 * math/w_log10l.c (__log10l): Likewise.
4779 * math/w_log2l.c (__log2l): Likewise.
4780 * math/w_logl.c (__logl): Likewise.
4781 * math/w_powl.c (__powl): Likewise.
4782 * math/w_remainderl.c (__remainderl): Likewise.
4783 * math/w_scalbl.c (sysv_scalbl): Likewise.
4784 * math/w_sinhl.c (__sinhl): Likewise.
4785 * math/w_sqrtl.c (__sqrtl): Likewise.
4786 * math/w_tgammal.c (__tgammal): Likewise.
4787 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
4788 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
4789 * math/libm-test.inc (acos_test): Add more tests.
4790 (acosh_test): Likewise.
4791 (asin_test): Likewise.
4792 (atanh_test): Likewise.
4793 (exp_test): Likewise.
4794 (exp10_test): Likewise.
4795 (exp2_test): Likewise.
4796 (expm1_test): Likewise.
4797 (lgamma_test): Likewise.
4798 (log_test): Likewise.
4799 (log10_test): Likewise.
4800 (log1p_test): Likewise.
4801 (log2_test): Likewise.
4802 (pow_test): Do not allow some spurious overflow exceptions.
4803 (sqrt_test): Add more tests.
4804 (tgamma_test): Likewise.
4805 (y0_test): Likewise.
4806 (y1_test): Likewise.
4807 (yn_test): Likewise.
4808
dd62fda6
AB
48092012-03-27 Anton Blanchard <anton@samba.org>
4810
4811 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
4812 MAP_HUGETLB.
4813 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
4814 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
4815 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
4816
1e3cdfda
AJ
48172012-03-27 David S. Miller <davem@davemloft.net>
4818
b855ab85
DM
4819 * conform/Makefile: Run run-conformtest.sh using $(BASH).
4820
1e3cdfda
AJ
4821 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
4822 have-as-vis3 check.
4823
48242012-03-27 Andreas Jaeger <aj@suse.de>
4825
4826 * sysdeps/x86_64/elf/configure.in: Moved to ...
4827 * sysdeps/x86_64/configure.in: ... here.
4828 * sysdeps/x86_64/elf/start.S: Moved to ...
4829 * sysdeps/x86_64/start.S: ... here.
4830 * sysdeps/x86_64/elf/configure: Delete.
4831
4832 * sysdeps/x86_64/configure.in: Merge contents from
4833 sysdeps/i386/configure.in (without i686 check).
4834
4835 * sysdeps/i386/elf/Versions: Merge into ...
4836 * sysdeps/i386/Versions: ... this.
4837 * sysdeps/i386/elf/Versions: Delete file.
4838 * sysdeps/i386/elf/start.S: Moved to ...
4839 * sysdeps/i386/start.S: ...here.
4840 * sysdeps/i386/elf/configure.in: Merge into...
4841 * sysdeps/i386/configure.in: ...here.
4842 * sysdeps/i386/elf/configure.in: Delete file.
4843 * sysdeps/i386/elf/configure: Delete file.
4844
4845 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
4846 * debug/backtracesyms.c: ... here.
4847 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
4848 * debug/backtracesymsfd.c: ... here.
4849 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
4850 * sysdeps/generic/ifunc-sel.h: ... here.
4851
4852 * sysdeps/unix/i386/start.c: Delete file.
4853 * sysdeps/unix/sparc/start.c: Delete file.
4854 * sysdeps/unix/start.c: Delete file.
4855
4856 * sysdeps/sh/elf/configure.in: Moved to ...
4857 * sysdeps/sh/configure.in: ... here.
4858 * sysdeps/sh/elf/start.S: Moved to ...
4859 * sysdeps/sh/start.S: ... here.
4860 * sysdeps/sh/elf/configure: Delete file.
4861
4862 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
4863 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
4864 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
4865 * sysdeps/powerpc/powerpc64/entry.h: ... here.
4866 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
4867 * sysdeps/powerpc/powerpc64/start.S: here.
4868 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
4869 * sysdeps/powerpc/powerpc64/Makefile: ... this.
4870 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
4871 * sysdeps/powerpc/powerpc64/configure.in: ... this.
4872 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
4873
4874 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
4875 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
4876 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
4877 * sysdeps/powerpc/powerpc32/start.S: ... here.
4878 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
4879 * sysdeps/powerpc/powerpc32/configure.in: ... this.
4880 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
4881
4882 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
4883 * sysdeps/powerpc/ifunc-sel.h: ... here.
4884 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
4885 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
4886
4887 * sysdeps/sparc/elf/configure.in: Moved to ...
4888 * sysdeps/sparc/configure.in: ... here.
4889 * sysdeps/sparc/elf/configure: Delete file.
4890 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
4891 * sysdeps/sparc/sparc32/start.S: ... here.
4892 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
4893 * sysdeps/sparc/sparc64/start.S: ... here.
4894 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
4895 * sysdeps/sparc/sparc32/Makefile: ... this.
4896 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
4897 * sysdeps/sparc/sparc64/Makefile: ... this.
4898
4899 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
4900 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
4901 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
4902 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
4903 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
4904 * sysdeps/s390/s390-32/setjmp.S: ... here.
4905 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
4906 * sysdeps/s390/s390-32/configure.in: ... here.
4907 * sysdeps/s390/s390-32/elf/configure: Delete file.
4908 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
4909 * sysdeps/s390/s390-32/start.S: ... here.
4910
4911 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
4912 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
4913 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
4914 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
4915 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
4916 * sysdeps/s390/s390-64/setjmp.S: ... here.
4917 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
4918 * sysdeps/s390/s390-64/configure.in: ... here
4919 * sysdeps/s390/s390-64/elf/configure: Delete file.
4920 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
4921 * sysdeps/s390/s390-64/start.S: ... here.
4922 * sysdeps/s390/s390-64/elf/configure: Delete.
4923
4924 * configure.in: Remove support for elf directories in sysdeps.
4925
4926 * configure: Regenerated.
4927 * sysdeps/i386/configure: Regenerated.
4928 * sysdeps/powerpc/powerpc32/configure: Regenerated.
4929 * sysdeps/powerpc/powerpc64/configure: Regenerated.
4930 * sysdeps/s390/s390-32/configure: Regenerated.
4931 * sysdeps/s390/s390-64/configure: Regenerated.
4932 * sysdeps/sh/configure: Regenerated.
4933 * sysdeps/sparc/configure: Regenerated.
4934 * sysdeps/x86_64/configure: Regenerated.
4935
a3f61311
AS
49362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
4937
c876e002
AS
4938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4939
a3f61311
AS
4940 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
4941 denormal result into account.
4942
ac4c54f0
RM
49432012-03-25 Roland McGrath <roland@hack.frob.com>
4944
4945 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
4946 Reported by Allan McRae <allan@archlinux.org>.
4947
6a9b9c02
JL
49482012-03-23 Jeff Law <law@redhat.com>
4949
4950 * nss/getnssent.c (__nss_getent): Fix typo.
4951
4c42a0c1
DM
49522012-03-23 David S. Miller <davem@davemloft.net>
4953
4954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4955
1532c7ac
L
49562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
4959 to pad to uint64_t for each field.
4960 (dl_tls_index): Replace unsigned long with uint64_t.
4961
3ff42526
PP
49622012-03-23 Daniel Jacobowitz <dmj@google.com>
4963 Paul Pluzhnikov <ppluzhnikov@google.com>
4964
4965 [BZ #6528]
4966 * grp/Makefile (otherlibs): Don't set it.
4967 * inet/Makefile (otherlibs): Likewise.
4968 * login/Makefile (otherlibs): Likewise.
4969 * nscd/Makefile (otherlibs): Likewise.
4970 * posix/Makefile (otherlibs): Likewise.
4971 * pwd/Makefile (otherlibs): Likewise.
4972 * rt/Makefile (otherlibs): Likewise.
4973 * sunrpc/Makefile (otherlibs): Likewise.
4974 * nss/Makefile (otherlibs): Likewise.
4975 Add libnss_files to routines and static-only-routines.
4976 ($(objpfx)getent): Remove rule.
4977 * resolv/Makefile: Add libnss_dns and libresolv to routines and
4978 static-only-routines.
4979
7c69cd14
JM
49802012-03-22 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #13892]
4983 * math/s_cexp.c: Include <float.h>.
4984 (__cexp): Handle exp result overflowing not necessarily
4985 overflowing both real and imaginary parts of result.
4986 * math/s_cexpf.c: Likewise.
4987 * math/s_cexpl.c: Likewise.
4988 * math/libm-test.inc (cexp_test): Add more tests.
4989 * sysdeps/i386/fpu/libm-test-ulps: Update.
4990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4991
81b035fe
L
49922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4993
4994 * include/link.h (ELFW): New macro.
4995 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
4996 Replace ELF64_R_TYPE with ELFW(R_TYPE).
4997
1da7940c
L
49982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
4999
5000 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
5001 with uint64_t.
5002
b749dbb9
L
50032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5004
5005 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
5006 declaration.
5007 (struct La_x32_retval): Likewise.
5008
2ff87f3f
L
50092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
5010
5011 * sysdeps/x86_64/preconfigure.in: New file.
5012 * sysdeps/x86_64/preconfigure: New generated file.
5013
c0df8e69
JM
50142012-03-22 Joseph Myers <joseph@codesourcery.com>
5015
48e44791
JM
5016 [BZ #13824]
5017 * math/e_exp2l.c: Include <float.h>.
5018 (__ieee754_exp2l): Handle overflow and underflow cases
5019 separately. Only pass fractional part of argument to
5020 __ieee754_expl.
5021 * math/libm-test.inc (exp2_test): Add more tests.
5022
c0df8e69
JM
5023 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
5024 negating x to take absolute value.
5025 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
5026 Likewise.
5027 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
5028 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
5029 Likewise.
5030 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
5031 computing low part if x was negated.
5032 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
5033
c8e43ba7
L
50342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5035
5036 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
5037 la_x32_gnu_pltexit.
5038 (pltexit): Cast int_retval to ptrdiff_t.
5039 * elf/tst-auditmod3b.c: Likewise.
5040 * elf/tst-auditmod4b.c: Likewise.
5041 * elf/tst-auditmod5b.c: Likewise.
5042 * elf/tst-auditmod6b.c: Likewise.
5043 * elf/tst-auditmod6c.c: Likewise.
5044 * elf/tst-auditmod7b.c: Likewise.
5045
5046 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
5047 and x32_gnu_pltexit.
5048
5049 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
5050 __ELF_NATIVE_CLASS.
5051 (La_x32_regs): New macro.
5052 (La_x32_retval): Likewise.
5053 (la_x32_gnu_pltenter): New function prototype.
5054 (la_x32_gnu_pltexit): Likewise.
5055
7998fa78
AS
50562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
5057
dcb33988
AS
5058 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
5059 exponent.
5060
233fc563
AS
5061 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5062
7998fa78
AS
5063 * configure.in (libc_cv_cc_nofma): Check for option to disable
5064 generation of FMA instructions.
5065 * configure: Regenerate.
5066 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
5067 * sysdeps/ieee754/dbl-64/Makefile: New file.
5068 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
5069 Remove brandred-fma4.
5070 (CFLAGS-brandred-fma4.c): Remove.
5071 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
5072 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
5073 define.
5074 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
5075 define.
5076
8e95c99a
L
50772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5078
5079 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
5080 LLONG_MAX != LONG_MAX.
5081 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5082 (_fitoa_word): Likewise.
5083 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
5084 LLONG_MAX != LONG_MAX.
5085 * stdio-common/_itowa.h: Include <_itoa.h>.
5086 (_itowa_word): Use _ITOA_WORD_TYPE on value.
5087 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
5088 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
5089 only if not defined.
5090 (_ITOA_WORD_TYPE): Likewise.
5091 (_itoa_word): Use _ITOA_WORD_TYPE on value.
5092 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
5093
6f4db457
DM
50942012-03-21 David S. Miller <davem@davemloft.net>
5095
5096 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5097
7785fe5a
L
50982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
5099
5100 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
5101 of x86_64 when setting libc_cv_slibdir, libdir and
5102 libc_cv_localedir.
5103 * sysdeps/unix/sysv/linux/configure: Regenerated.
5104
4535cd55
JM
51052012-03-21 Joseph Myers <joseph@codesourcery.com>
5106
5107 * manual/lang.texi (Old Varargs): Remove section.
5108 (How Variadic): Update menu.
5109 (va_start): Do not mention varargs.h.
5110
17228132
TS
51112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5112 Joseph Myers <joseph@codesourcery.com>
5113
5114 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
5115 link test.
5116 * configure: Regenerated.
5117
8149f976
TS
51182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
5119
05f3d1f6
UD
5120 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
5121 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
5122 conformtest.pl
8149f976 5123
1a4ac776
JM
51242012-03-21 Joseph Myers <joseph@codesourcery.com>
5125
be22ce65
JM
5126 * NOTES: Remove.
5127 * Makefile (files-for-dist): Remove NOTES.
5128 (NOTES): Remove rule.
5129 * README: Don't refer to NOTES.
5130 * manual/creature.texi: Don't include macros.texi.
5131 * manual/intro.texi (creature.texi): Remove comment referring to
5132 NOTES.
5133
40b601fb
JM
5134 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
5135 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
5136 * configure: Regenerated.
5137 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
5138 LIBC_TRY_CC_OPTION.
5139 (libc_cv_as_i686): Likewise.
5140 (libc_cv_cc_avx): Likewise.
5141 (libc_cv_cc_sse2avx): Likewise.
5142 (libc_cv_cc_fma4): Likewise.
5143 (libc_cv_cc_novzeroupper): Likewise.
5144 * sysdeps/i386/configure: Regenerated.
5145
1a4ac776
JM
5146 [BZ #13883]
5147 * sysdeps/i386/fpu/s_cexp.S: Remove.
5148 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5149 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5150 * math/libm-test.inc (cexp_test): Add more tests.
5151 * sysdeps/i386/fpu/libm-test-ulps: Update.
5152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5153
a458e7fe
AM
51542012-03-21 Allan McRae <allan@archlinux.org>
5155
5156 * timezone/Makefile: Do not install iso3166.tab and zone.tab
5157
0cb7efc5
JM
51582012-03-21 Joseph Myers <joseph@codesourcery.com>
5159
5160 [BZ #13871]
5161 * math/w_exp2.c: Do not include <float.h>.
5162 (o_threshold, u_threshold): Remove.
5163 (__exp2): Calculate result before checking finiteness and calling
5164 __kernel_standard.
5165 * math/w_exp2f.c: Likewise.
5166 * math/w_exp2l.c: Likewise.
5167 * math/libm-test.inc (exp2_test): Require overflow exception for
5168 1e6 input.
2460d3aa
JM
5169
5170 [BZ #3866]
5171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
5172 range of signed 64-bit integers before using fistpll. Remove
5173 checks for whether integers fit in mantissa bits.
5174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
5175 the range of signed 32-bit integers before using fistpl. Remove
5176 checks for whether integers fit in mantissa bits.
5177 * sysdeps/i386/fpu/e_powl.S (p64): New object.
5178 (__ieee754_powl): Test for y outside the range of signed 64-bit
5179 integers before using fistpll. Reduce 64-bit values to 63-bit
5180 ones as needed.
5181 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
5182 divide-by-zero is raised for zero to large negative powers.
5183 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
5184 (__ieee754_powl): Test for y outside the range of signed 64-bit
5185 integers before using fistpll. Reduce 64-bit values to 63-bit
5186 ones as needed.
5187 * math/libm-test.inc (pow_test): Add more tests.
5188
eb96ffb0
L
51892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5190
5191 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
5192 <stdio-common/_itoa.h>.
5193 * debug/segfault.c: Likewise.
5194 * elf/dl-cache.c: Likewise.
5195 * elf/dl-minimal.c: Likewise.
5196 * elf/dl-misc.c: Likewise.
5197 * elf/dl-sysdep.c: Likewise.
5198 * elf/dl-version.c: Likewise.
5199 * elf/rtld.c: Likewise.
5200 * hurd/hurdsock.c: Likewise.
5201 * hurd/lookup-retry.c: Likewise.
5202 * malloc/malloc.c: Likewise.
5203 * malloc/mtrace.c: Likewise.
5204 * nscd/nscd_getgr_r.c: Likewise.
5205 * nscd/nscd_getpw_r.c: Likewise.
5206 * nscd/nscd_getserv_r.c: Likewise.
5207 * posix/getopt_init.c: Likewise.
5208 * posix/wordexp.c: Likewise.
5209 * stdio-common/_itoa.c: Likewise.
5210 * stdio-common/printf_fphex.c: Likewise.
5211 * stdio-common/vfprintf.c: Likewise.
5212 * string/_strerror.c: Likewise.
5213 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
5214 * sysdeps/i386/i686/hp-timing.h: Likewise.
5215 * sysdeps/mach/_strerror.c: Likewise.
5216 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
5217 * sysdeps/mach/hurd/sethostid.c: Likewise.
5218 * sysdeps/mach/hurd/xmknodat.c: Likewise.
5219 * sysdeps/mach/xpg-strerror.c: Likewise.
5220 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5221 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5222 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
5223 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
5224 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5225 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
5226 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5227 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5228 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
5229 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
5230 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
5231 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
5232 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
5233 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5234 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5235 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
5236 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
5237 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
5238 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5239 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5240 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
5241
5242 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
5243
5244 * stdio-common/_itoa.h: Moved to ...
5245 * sysdeps/generic/_itoa.h: Here.
5246
5247 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
5248
5249 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
5250 instead of "_itoa.h" and "_itowa.h".
5251 * stdio-common/vfprintf.: Likewise.
5252
d1af992d
L
52532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5254
5255 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
5256 <bits/wordsize.h>.
5257 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
5258 (__signbit): Likwise.
5259 (llrintf): Likwise.
5260 (llrint): Likwise.
5261
114883e0
L
52622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
5263
5264 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
5265 __WORDSIZE != 64.
5266
c135cc1b
JM
52672012-03-20 Joseph Myers <joseph@codesourcery.com>
5268
5269 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
5270 OVERFLOW_EXCEPTION_OK.
5271 * math/libm-test.inc ("Philosophy"): Update comment about
5272 exception testing.
5273 (OVERFLOW_EXCEPTION): Define.
5274 (OVERFLOW_EXCEPTION_OK): Likewise.
5275 (INVALID_EXCEPTION_OK): Renumber.
5276 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5277 (IGNORE_ZERO_INF_SIGN): Likewise.
5278 (test_exceptions): Handle FE_OVERFLOW.
5279 (exp10_test): Expect overflow exceptions.
5280 (exp2_test): Likewise.
5281 (expm1_test): Likewise.
5282 (nextafter_test): Likewise.
5283 (pow_test): Likewise.
5284 (scalbn_test): Likewise.
5285 (scalbln_test): Likewise.
5286
95443d88
L
52872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5288
5289 * sysdeps/x86_64/bits/atomic.h
5290 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
5291 64bit integer.
5292 (atomic_exchange_acq): Likewise.
5293 (__arch_exchange_and_add_body): Likewise.
5294 (__arch_add_body): Likewise.
5295 (atomic_add_negative): Likewise.
5296 (atomic_add_zero): Likewise.
5297
490df6c4
L
52982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5299
c2722551 5300 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
5301 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
5302
5e52b189
L
53032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5304
5305 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
5306 Check __x86_64__ instead of __WORDSIZE.
5307
a9879d4c
L
53082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5309
5310 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
5311
5df98260
DM
53122012-03-19 David S. Miller <davem@davemloft.net>
5313
e1497744
DM
5314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5315
5df98260
DM
5316 * sysdeps/sparc/fpu/fenv_private.h: New file.
5317 * sysdeps/sparc/fpu/math_private.h: Use it.
5318 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
5319 Remove.
5320 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
5321 (libc_feholdexcept_setroundl): Remove.
5322 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
5323 Remove.
5324 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
5325 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
5326
b4c35121
L
53272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5328
5329 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
5330 int64_t instead of long int.
5331 (INSERT_WORDS64): Likwise.
5332
56965fd7
L
53332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
5334
5335 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
5336 _Unwind_GetCFA return to _Unwind_Ptr first.
5337
83d1aec8
JM
53382012-03-19 Joseph Myers <joseph@codesourcery.com>
5339
1897ad44
JM
5340 [BZ #13629]
5341 * math/s_clog.c: Include <float.h>.
5342 (__clog): Scale large or subnormal inputs.
5343 * math/s_clogf.c: Likewise.
5344 * math/s_clogl.c: Likewise.
5345 * math/s_clog10.c: Include <float.h>.
5346 (M_LOG10_2): Define.
5347 (__clog10): Scale large or subnormal inputs.
5348 * math/s_clog10f.c: Likewise.
5349 * math/s_clog10l.c: Likewise.
5350 * math/libm-test.inc (clog_test): Add more tests.
5351 (clog10_test): Likewise.
5352 * sysdeps/i386/fpu/libm-test-ulps: Update.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5354
7726d6a9
JM
5355 [BZ #11451]
5356 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
5357 x and y.
5358 * math/libm-test.inc (atan2_test): Add another test.
5359
83d1aec8
JM
5360 * Makerules (common-objdir-compile): Remove.
5361 * sysdeps/unix/Makefile (config-generated): Do not add
5362 $(unix-generated) to variable.
5363 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
5364 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
5365 Remove rule.
5366 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
5367 Likewise.
5368 [generic bits/local_lim.h] (before-compile): Do not append to
5369 variable.
5370 [generic bits/local_lim.h] (common-generated): Likewise.
5371 [generic sys/param.h] (before-compile): Do not append to variable.
5372 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
5373 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
5374 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
5375 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
5376 include.
5377 [generic sys/param.h] (sys/param.h-includes): Remove variable.
5378 [generic sys/param.h] (sys/param.h-includes): Remove rule.
5379 [generic sys/param.h] ($(addprefix
5380 $(common-objpfx),$(sys/param.h-includes))): Likewise.
5381 [generic sys/param.h] (common-generated): Do not append to
5382 variable.
5383 [generic sys/param.h] (sysdep_headers): Likewise.
5384 [generic bits/errno.h] (before-compile): Do not append to
5385 variable.
5386 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
5387 rule.
5388 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
5389 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
5390 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
5391 [generic bits/errno.h] (common-generated): Do not append to
5392 variable.
5393 [generic bits/ioctls.h] (before-compile): Do not append to
5394 variable.
5395 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
5396 rule.
5397 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
5398 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
5399 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
5400 rule.
5401 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
5402 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
5403 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
5404 [generic bits/ioctls.h] (common-generated): Do not append to
5405 variable.
5406 [generic sys/syscall.h] (syscall.h): Remove variable.
5407 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
5408 rule.
5409 [generic sys/syscall.h] (before-compile): Do not append to
5410 variable.
5411 [generic sys/syscall.h] (common-generated): Likewise.
5412 * sysdeps/unix/errnos-tmpl.c: Remove file.
5413 * sysdeps/unix/errnos.awk: Likewise.
5414 * sysdeps/unix/ioctls-tmpl.c: Likewise.
5415 * sysdeps/unix/ioctls.awk: Likewise.
5416 * sysdeps/unix/mk-local_lim.c: Likewise.
5417 * sysdeps/unix/snarf-ioctls: Likewise.
5418
4851a949
RH
54192012-03-19 Richard Henderson <rth@twiddle.net>
5420
bd37f2ee
RH
5421 * sysdeps/i386/fpu/fenv_private.h: New file.
5422 * sysdeps/i386/fpu/math_private.h: Use it.
5423 (math_opt_barrier, math_force_eval): Remove.
5424 (libc_feholdexcept_setround_53bit): Remove.
5425 (libc_feupdateenv_53bit): Remove.
5426 * sysdeps/x86_64/fpu/math_private.h: Likewise.
5427 (math_opt_barrier, math_force_eval): Remove.
5428 (libc_feholdexcept): Remove.
5429 (libc_feholdexcept_setround): Remove.
5430 (libc_fetestexcept, libc_fesetenv): Remove.
5431 (libc_feupdateenv_test): Remove.
5432 (libc_feupdateenv, libc_feholdsetround): Remove.
5433 (libc_feresetround): Remove.
5434
d0adc922
RH
5435 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
5436 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5437
0fe0f1f8
RH
5438 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
5439 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
5440 (libc_feupdateenv_testl): New.
5441 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
5442 (libc_feupdateenv_testf): New.
5443 (libc_feupdateenv): Use libc_feupdateenv_test.
5444 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
5445 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
5446
eb92c487
RH
5447 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
5448 (libc_feholdsetroundf, libc_feholdsetroundl): New.
5449 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
5450 (libc_feresetround_noex): New.
5451 (libc_feresetround_noexf): New.
5452 (libc_feresetround_noexl): New.
5453 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
5454 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
5455 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
5456 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
5457 SET_RESTORE_ROUND.
5458 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
5459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
5460 (__cos): Likewise.
5461 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
5462 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
5463 SET_RESTORE_ROUND_NOEX.
5464 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
5465 SET_RESTORE_ROUND_NOEXF.
5466 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
5467 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
5468 (libc_feholdsetroundf): New.
5469 (libc_feresetround, libc_feresetroundf): New.
5470
7d2e8012
RH
5471 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
5472 (libc_feholdexcept_setround_53bit): Convert from macro to function.
5473 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
5474
b4dabbb4
RH
5475 * sysdeps/generic/math_private.h: Include <fenv.h>.
5476 (default_libc_feholdexcept): New.
5477 (default_libc_feholdexcept_setround): New.
5478 (default_libc_fesetenv, default_libc_feupdateenv): New.
5479 (libc_feholdexcept): Only define if undefined.
5480 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
5481 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
5482 (libc_feholdexcept_setroundl): Likewise.
5483 (libc_feholdexcept_setround_53bit): Likewise.
5484 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
5485 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
5486 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
5487 (libc_feupdateenv_53bit): Likewise.
5488 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
5489 (libc_feholdexcept): Convert from macro to inline function.
5490 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
5491 (libc_fesetenv, libc_feupdateenv): Likewise.
5492
4851a949
RH
5493 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
5494 not previously defined.
5495 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
5496 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
5497 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
5498 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
5499 * sysdeps/ieee754/flt-32/math_private.h: New file.
5500 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
5501 math_private.h below SET_FLOAT_WORD.
5502 (__isnan, __isinf_ns, __finite): Remove.
5503 (__isnanf, __isinf_nsf, __finitef): Remove.
5504
e79d442e
AS
55052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
5506
5507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5508
90b80344
DM
55092012-03-17 David S. Miller <davem@davemloft.net>
5510
5511 [BZ #6471]
5512 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
5513 for 2.16.
5514
edc21804
DM
55152012-03-16 David S. Miller <davem@davemloft.net>
5516
77e927af
DM
5517 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
5518 warnings.
5519
374976dd
DM
5520 [BZ #6471]
5521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
5522 properly.
5523 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
5524 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
5525 sysdep_routines when subdir is sysvipc.
5526 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
5527 __getshmlba helper.
5528
edc21804
DM
5529 * sysdeps/sparc/fpu/libm-test/ulps: Update.
5530
473c3ef3
L
55312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5532
5533 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
5534 [__LP64__].
5535
eb0f39b6
L
55362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5537
5538 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
5539 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
5540 (__lround): Renamed to ...
5541 (__llround): This. Replace long int with long long int.
5542 Define lround functions as aliases of llround functions.
5543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
5544
6b6cd74b
L
55452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5546
5547 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
5548 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
5549 adresses to uintptr_t. Replace "long int" and "unsigned long
5550 int" with "greg_t" on va_arg.
5551
f1a77b01
L
55522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5553
5554 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
5555 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
5556
5557 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
5558 Move e_machine check before EI_CLASS check. Handle x32
5559 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
5560 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
5561 SKIP_EM_IA_64 and include
5562 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
5563
5564 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
5565 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
5566 (add_system_dir): New macro.
5567
5568 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
5569 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
5570
11b90b9f
JM
55712012-03-16 Joseph Myers <joseph@codesourcery.com>
5572
c36e1d23
JM
5573 [BZ #2551]
5574 [BZ #2552]
5575 [BZ #2553]
5576 [BZ #2554]
5577 [BZ #2562]
5578 [BZ #2563]
5579 [BZ #2565]
5580 [BZ #2566]
5581 [BZ #2576]
5582 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
5583 (y0): Likewise.
5584 * math/w_j0f.c (j0f): Likewise.
5585 (y0f): Likewise.
5586 * math/w_j0l.c (__j0l): Likewise.
5587 (__y0l): Likewise.
5588 * math/w_j1.c (j1): Likewise.
5589 (y1): Likewise.
5590 * math/w_j1f.c (j1f): Likewise.
5591 (y1f): Likewise.
5592 * math/w_j1l.c (__j1l): Likewise.
5593 (__y1l): Likewise.
5594 * math/w_jn.c (jn): Likewise.
5595 (yn): Likewise.
5596 * math/w_jnf.c (jnf): Likewise.
5597 (ynf): Likewise.
5598 * math/w_jnl.c (__jnl): Likewise.
5599 (__ynl): Likewise.
5600 * math/libm-test.inc (j0_test): Add more tests.
5601 (j1_test): Likewise.
5602 (jn_test): Likewise. Add trailing semicolon to existing test.
5603 (y0_test): Likewise.
5604 (y1_test): Likewise.
5605 * sysdeps/i386/fpu/libm-test-ulps: Update.
5606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5607
11b90b9f
JM
5608 [BZ #13851]
5609 [BZ #13854]
5610 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
5611 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
5612 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
5613 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
5614 (__tanl): Set errno for infinite argument.
5615 * sysdeps/i386/fpu/mptan.c: Remove.
5616 * sysdeps/i386/fpu/s_tan.S: Likewise.
5617 * sysdeps/i386/fpu/s_tanl.S: Likewise.
5618 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
5619 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
5620 * math/libm-test.inc (tan_test): Add more tests and enable more
5621 tests for double and long double.
5622 * sysdeps/i386/fpu/libm-test-ulps: Update.
5623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5624
6a1bd2a1
JK
56252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
5626
5627 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
5628 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
5629
10a803e0
RM
56302012-03-16 Roland McGrath <roland@hack.frob.com>
5631
5632 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
5633 * configure.in: Use it for both main tree and add-ons.
5634 * configure: Regenerated.
5635
f196c7f7
L
56362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
5637
5638 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
5639
8848d99d
JM
56402012-03-16 Joseph Myers <joseph@codesourcery.com>
5641
96cbe7f4
JM
5642 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
5643 in comment.
5644
8848d99d
JM
5645 [BZ #13851]
5646 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
5647 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
5648 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
5649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
5650 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
5651 infinite argument.
5652 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
5653 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
5654 != 0 for prec == 2.
5655 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
5656 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
5657 * sysdeps/i386/fpu/s_cosl.S: Likewise.
5658 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
5659 * sysdeps/i386/fpu/s_sinl.S: Likewise.
5660 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
5661 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
5662 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
5663 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
5664 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
5665 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
5666 * math/libm-test.inc (cos_test): Add more tests and enable more
5667 tests for long double.
5668 (sin_test): Likewise.
5669 (sincos_test): Likewise.
5670 * sysdeps/i386/fpu/libm-test-ulps: Update.
5671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5672
dd7f4703
DM
56732012-03-16 David S. Miller <davem@davemloft.net>
5674
5675 * sysdeps/sparc/fpu/math_private.h: New file.
5676
006f1daa
DM
56772012-03-15 David S. Miller <davem@davemloft.net>
5678
c0c83bc8
DM
5679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
5680 file.
e6a62e18 5681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
5682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
5683 file.
e6a62e18
DM
5684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
5685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
5686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
5687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
5688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
5689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
5690 sysdep routines.
5691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5692
88cb87d9
DM
5693 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
5694 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
5695
006f1daa 5696 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
5697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
5698 sparc-ifunc.h
006f1daa 5699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
5700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
5701 Likewise.
5702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
5703 Likewise.
006f1daa
DM
5704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
5705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
5706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
5707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
5708 Likewise.
006f1daa
DM
5709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
5711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
5713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
5714 Likewise.
5715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
5716 Likewise.
006f1daa
DM
5717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
5719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5723 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
5724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
5725 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5726 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
5728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
5729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
5730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
5731 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
5732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
5733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
5734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
5735 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
5736 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
5737 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
5738 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
5739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
5740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
5741
11e0098e
AS
57422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5743
5744 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
5745 scaling.
5746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5747
e85b09d0
AJ
57482012-03-15 Andreas Jaeger <aj@suse.de>
5749
5750 [BZ #13852]
5751 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
5752 ieee754/flt-32 implementation for sin, cos and sincos.
5753 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
5754 * sysdeps/i386/fpu/s_cosf.S: Likewise.
5755 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
5756 * sysdeps/i386/fpu/s_sinf.S: Likewise.
5757 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
5758 ieee754/flt-32 implementation for tan.
5759
5760 * math/libm-test.inc (cos_test): Enable some large input tests for
5761 float as well
5762 (sin_test): Likewise.
5763 (sincos_test): Likewise.
5764 (tan_test): Add tests for large input.
5765
5766 * sysdeps/i386/fpu/libm-test-ulps: Update.
5767
81c64153
AJ
57682012-03-15 Andreas Jaeger <aj@suse.de>
5769
5770 [BZ #13658]
5771 * math/libm-test.inc (cos_test): Add more test cases.
5772 (sin_test): Likewise.
5773 (sincos_test): Likewise.
5774
7bbfa5c6
AJ
57752012-03-15 Andreas Jaeger <aj@suse.de>
5776
5777 [BZ #13837]
5778 * math/libm-test.inc (cos_test): Add a test case for large input
5779 value.
5780 (sin_test): Likewise.
5781 (sincos_test): Likewise.
5782
57832012-03-15 Andreas Jaeger <aj@suse.de>,
5784 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #13658]
0671f479 5787 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
5788 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
5789 * sysdeps/i386/fpu/branred.c: Likewise.
5790 * sysdeps/i386/fpu/dosincos.c: Likewise.
5791 * sysdeps/i386/fpu/mpa.c: Likewise.
5792 * sysdeps/i386/fpu/s_cos.S: Likewise.
5793 * sysdeps/i386/fpu/s_sin.S: Likewise.
5794 * sysdeps/i386/fpu/s_sincos.S: Likewise.
5795 * sysdeps/i386/fpu/sincos32.c: Likewise.
5796
5797 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
5798 Define.
5799 (libc_feupdateenv_53bit): Define.
5800 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
5801 Define.
5802 (libc_feupdateenv_53bit): Define.
5803
5804 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
5805 53 bit (without extend i386 double precision).
5806
5807 * math/libm-test.inc (sincos_test): Add tests for large input.
5808 (sin): Likewise.
5809 (cos): Likewise.
5810
5811 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5812
9cad04ea
AS
58132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
5814
5815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5816
f7062b9a
DM
58172012-03-15 David S. Miller <davem@davemloft.net>
5818
5819 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
5820 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
5821 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
5822 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
5823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
5824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
5825 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
5826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
5827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
5828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
5829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
5830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
5831 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
5832 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
5833 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
5834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
5835 file.
f7062b9a 5836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
5837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
5838 file.
f7062b9a 5839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
5841 file.
f7062b9a 5842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
5843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
5844 file.
f7062b9a
DM
5845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
5846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
5847 fmin/fmax sysdep routines.
5848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5849
7bd951ff
DM
58502012-03-14 David S. Miller <davem@davemloft.net>
5851
559398ab
DM
5852 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
5853 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
5854 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
5855 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
5856 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
5857 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
5858 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
5859 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
5860 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
5861 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
5862 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
5863 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
5864 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
5865 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
5866 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
5867 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
5868 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
5869 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
5870 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
5871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
5872 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
5873 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
5874 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
5875 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
5876 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
5877 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
5878 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
5879 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
5881 routines.
5882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
5883 file.
559398ab 5884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
5885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
5886 file.
559398ab 5887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
5888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
5889 file.
559398ab 5890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
5891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
5892 file.
559398ab 5893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
5894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
5895 file.
559398ab 5896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
5897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
5898 file.
5899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
5900 file.
5901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
5902 file.
5903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
5904 file.
5905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
5906 New file.
5907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
5908 file.
5909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
5910 file.
559398ab 5911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
5912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
5913 file.
559398ab 5914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
5915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
5916 file.
559398ab 5917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
5918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
5919 file.
559398ab 5920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
5921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
5922 VIS3 routines.
559398ab
DM
5923
5924 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
5925 New file.
5926
5a1c1e32
DM
5927 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5928
eae47a36
DM
5929 * sysdeps/sparc/configure.in: New file.
5930 * sysdeps/sparc/configure: Generate.
5931 * configure.in (libc_cv_sparc_as_vis3): Substitute.
5932 * configure: Regenerate.
5933 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
5934 * config.make.in (have-as-vis3): New.
5935 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
5936 available use -Av9d instead of -Av9a.
5937 * sysdeps/sparc/sparc64/Makefile: Likewise.
5938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
5939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
5940 New file.
5941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
5942 file.
5943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
5944 New file.
5945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
5946 file.
eae47a36
DM
5947 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
5948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
5949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
5950 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
5951 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
5952
c0c83bc8
DM
5953 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
5954 fzeros/fnegs to load 0x80000000 into a float register instead of
5955 using the stack.
7bd951ff
DM
5956 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
5957
bd951ccb
JM
59582012-03-14 Joseph Myers <joseph@codesourcery.com>
5959
5960 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5961 bits/syscall.h.
5962 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
5963 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
5964 ($(inst_includedir)/bits/syscall.h): Remove rule.
5965 ($(objpfx)bits/syscall.d): Include instead of
5966 $(objpfx)syscall-list.d.
5967 (generated): Change syscall-list.h and syscall-list.d to
5968 bits/syscall.h and bits/syscall.d.
5969
bb4e6db2
RM
59702012-03-14 Roland McGrath <roland@hack.frob.com>
5971
5972 [BZ #13846]
5973 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
5974
aa4a2ae1
JM
59752012-03-14 Joseph Myers <joseph@codesourcery.com>
5976
e456826d
JM
5977 [BZ #13841]
5978 * math/s_csqrt.c: Include <float.h>.
5979 (__csqrt): Scale large or subnormal inputs.
5980 * math/s_csqrtf.c: Likewise.
5981 * math/s_csqrtl.c: Likewise.
5982 * math/libm-test.inc (csqrt_test): Add more tests.
5983 * sysdeps/i386/fpu/libm-test-ulps: Update.
5984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5985
aa4a2ae1
JM
5986 [BZ #13840]
5987 * math/libm-test.inc (hypot_test): Add more tests.
5988
7c10fd35
DM
59892012-03-13 David S. Miller <davem@davemloft.net>
5990
5991 [BZ #13840]
5992 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
5993 double-precision for the calculation instead of scaling.
5994
f453b98b
JM
59952012-03-13 Joseph Myers <joseph@codesourcery.com>
5996
5997 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
5998 manipulate bits before adding and subtracting TWO52[sx].
5999 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
6000 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
6001 Likewise.
6002 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
6003
09a3453f
DM
60042012-03-13 David S. Miller <davem@davemloft.net>
6005
8e59da90
DM
6006 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
6007 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
6008 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
6009 rtld-global-offsets.h
6010 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6011
2a8ab7f2
DM
6012 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
6013 large parameters.
6014
10f62770
DM
6015 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
6016
5f0bdb18
DM
6017 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
6018 'err' in the ifdef scope in which it is actually used.
6019
09a3453f
DM
6020 * nss/nss_db/db-init.c: Include string.h
6021
b4b2eb5e
DM
60222012-03-12 David S. Miller <davem@davemloft.net>
6023
98bb2f1c
DM
6024 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
6025 masking out of the most significant byte of random value used.
6026 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6027 Fix coding style in previous change.
6028
b4b2eb5e
DM
6029 * sysdeps/unix/sysv/linux/kernel-features.h
6030 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
6031 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
6032 expression.
6033 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
6034 later.
6035
6e226b09
DM
60362012-03-11 David S. Miller <davem@davemloft.net>
6037
a1bcbd40
DM
6038 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
6039 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
6040 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
6041 for 'resultvar' otherwise things get truncated on 64-bit.
6042
cb9d6174
DM
6043 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6044 Fix masking out of the most significant byte of random value used.
6045
6e226b09
DM
6046 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6047
058c132d
AS
60482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
6049
6050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6051
2d2cd515
DM
60522012-03-09 David S. Miller <davem@davemloft.net>
6053
6054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
6055 variables with appropriate CPP guards.
6056 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
6057 frame pointer, not the stack pointer. Correct layout comments. Fix test
6058 on resulting framesize and the management of the outregs buffer for pltexit.
6059 Preserve floating point return values across _dl_call_pltexit call.
6060 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
6061 framesize and the management of the outregs buffer for pltexit.
6062 Preserve floating point return values across _dl_call_pltexit
6063 call.
6064 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
6065 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
6066 (print_exit): Fix format string for return register value.
6067
9a07f9d0
JM
60682012-03-10 Joseph Myers <joseph@codesourcery.com>
6069
6070 * sunrpc/Makefile (others): Add rpcgen.
6071 ($(objpfx)rpcgen): Remove special build rule and dependency on
6072 libc.
6073 * sunrpc/rpcgen.c: New file.
6074
547b5e30
PE
60752012-03-09 Paul Eggert <eggert@cs.ucla.edu>
6076
c524201a
PE
6077 [BZ #13673]
6078 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
6079 * stdio-common/bug-vfprintf-nargs.c: Likewise.
6080 * sysdeps/i386/crti.S: Likewise.
6081 * sysdeps/i386/crtn.S: Likewise.
6082 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
6083 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
6084 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
6085 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
6086 * sysdeps/sh/crti.S: Likewise.
6087 * sysdeps/sh/crtn.S: Likewise.
6088 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6089
7b6235f2
PE
6090 [BZ #13673]
6091 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
6092 with URL.
6093 * locale/programs/locfile-kw.gperf: Likewise.
6094 * locale/programs/charmap-kw.h: Regenerated.
6095 * locale/programs/locfile-kw.h: Likewise.
6096
547b5e30
PE
6097 [BZ #13673]
6098 * intl/plural.y: Replace FSF snail mail address with URL.
6099 * intl/plural.c: Regenerated.
6100
5f0a5dae
RH
61012012-03-09 Richard Henderson <rth@twiddle.net>
6102
6103 * include/math_private.h: Remove file.
6104 * math/math_private.h: Move file ...
6105 * sysdeps/generic/math_private.h: ... here.
6106
b8c03620
RH
6107 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
6108 * sysdeps/powerpc/fpu/math_private.h: Likewise.
6109 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6110
4e234f5d 6111 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
6112 and <math_private.h>.
6113 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6114 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6115 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6116 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6117 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6132 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6133 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6144 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6145 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6146 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6147 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6148 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6149 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6150 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6152 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6153 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
6154 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6156 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6157 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6158 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6159 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
6160 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6162 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6163 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6164 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
6165 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6166 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6167 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6168 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6169 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
6170 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6171 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6172 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
6173 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6174 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
6178 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
6179 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
6180 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
6181 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
6182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
6183 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6184 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6185 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6187 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
6188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
6189 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
6190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
6192 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6194 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6196 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6197 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6199 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
6200 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
6201 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6202 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6203 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6204 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6205 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6206 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6207 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6208 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6209 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6210 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6211 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6212 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6213 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6214 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6215 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6216 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6217 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6218 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6219 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6220 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6221 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6222 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6223 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6224 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6225 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6226 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6227 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
6228 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6229 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6230 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6231 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6232 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
6233 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6234 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6235 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6236 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
6237 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6238 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6239 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6240 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
6241 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6242 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
6243 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
6244 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
6245 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6246 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
6247 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
6248 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6249 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6250 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6251 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
6252 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
6254 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6255 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6256 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
6257 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
6258 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6259 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6260 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6261 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
6262 * sysdeps/ieee754/k_standard.c: Likewise.
6263 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6264 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6265 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6266 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6267 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6268 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6269 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6270 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6271 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6272 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6273 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6274 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6275 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6276 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6277 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6278 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6279 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6280 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6281 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6282 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6283 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6284 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6285 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6286 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6287 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6288 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6289 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6290 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6291 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6292 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6293 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6294 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6295 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6296 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6297 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6298 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6299 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6300 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
6301 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
6302 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6303 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6304 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6305 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6306 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6309 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6310 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6311 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6312 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6313 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6314 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6315 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6318 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6319 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
6320 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6321 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6322 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6325 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6326 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6329 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6330 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6331 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6332 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6334 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6335 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6336 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6337 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6338 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6339 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
6340 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6341 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6342 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6343 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6345 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
6348 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6349 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6350 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6351 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6352 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6353 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
6354 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
6356 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6357 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6359 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
6360 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
6361 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
6362 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
6363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6364 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6365 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6366 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6367 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
6368 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6369 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6370 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
6371 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
6372 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6373 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6374 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6375 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6376 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6377 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6378 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6379 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6380 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6381 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6382 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6384 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6385 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6387 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
6389 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6390 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6392 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6393 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6394 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6395 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6396 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6397 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6398 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6399 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
6400 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6401 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6402 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
6403 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
6404 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6405 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
6406 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
6407 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6408 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6409 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6410 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6411 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6412 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
6413 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6414 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
6415 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6416 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6417 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
6418 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
6419 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6420 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6421 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6422 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6423 * sysdeps/ieee754/s_lib_version.c: Likewise.
6424 * sysdeps/ieee754/s_matherr.c: Likewise.
6425 * sysdeps/ieee754/s_signgam.c: Likewise.
6426 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6427 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6428 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
6429 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
6430 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
6431 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
6432 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
6433 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
6434 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
6435 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
6436 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6437 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
6438 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6439 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6440 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
6442 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
6443 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
6444 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
6445 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6446 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 6447
1991fa03
JM
64482012-03-09 Joseph Myers <joseph@codesourcery.com>
6449
6450 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
6451 * sunrpc/rpc_main.c: Likewise.
6452 * sunrpc/rpc_svcout.c: Likewise.
6453
60d6f5a6
DM
64542012-03-09 David S. Miller <davem@davemloft.net>
6455
6456 * include/math_private.h: New file.
6457
4962050e
JM
64582012-03-09 Joseph Myers <joseph@codesourcery.com>
6459
02a6f887
JM
6460 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
6461 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
6462 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
6463 from <bits/socket_type.h>.
6464 (enum __socket_type): Don't define here.
6465 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
6466 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6467 bits/socket_type.h.
6468
c6e013c1
JM
6469 [BZ #13566]
6470 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
6471 checking __USE_GNU.
6472
4962050e
JM
6473 * Makerules ($(inst_includedir)/%.h): New rule.
6474 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
6475 (install-others): Remove variable setting.
6476 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
6477
38842f45
RH
64782012-03-08 Richard Henderson <rth@twiddle.net>
6479
67bb6da6
RH
6480 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
6481 from macro to inline function; merge with the
6482 !__LIBC_INTERNAL_MATH_INLINES version.
6483 (__ieee754_sqrtf): Likewise.
6484
15194b4b
RH
6485 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
6486 to inline function.
6487 (__rintf, __floor, __floorf): Likewise.
6488
64e21ede
RH
6489 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
6490 macro to inline function.
6491 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
6492
38842f45
RH
6493 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
6494 not <math/math_private.h>.
6495
c64bf5fe
DM
64962012-03-08 David S. Miller <davem@davemloft.net>
6497
6498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
6499 copyright year.
6500 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6501
82d86f28
TS
65022012-03-08 Thomas Schwinge <thomas@codesourcery.com>
6503
6504 * resolv/gai_misc.c (handle_requests): Fix struct timespec
6505 normalization.
6506 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
6507 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6508
aea5d727
UD
65092012-03-08 Ulrich Drepper <drepper@gmail.com>
6510
6511 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
6512 be defined individually, they must be defined as a block. Define
6513 S for printing a string instead of hidint the different by using a
6514 macro for adding the 'l'.
6515 * stdio-common/tst-fphex-wide.c: Adjust.
6516
70bca0a3
MP
65172012-03-07 Marek Polacek <polacek@redhat.com>
6518
6519 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
6520
65b81130
MP
65212012-03-08 Marek Polacek <polacek@redhat.com>
6522
6523 [BZ #13806]
6524 * stdio-common/Makefile (tests): Add tst-fphex-wide.
6525 * stdio-common/tst-fphex.c: Define a few macros to make the
6526 test reusable. Use them.
6527 * stdio-common/tst-fphex-wide.c: New file.
6528
07037eeb
JM
65292012-03-08 Joseph Myers <joseph@codesourcery.com>
6530
a7a93d50
JM
6531 [BZ #6911]
6532 * manual/macros.texi (gnusystems): New macro.
6533 (nongnusystems): Likewise.
6534 (gnulinuxhurdsystems): Likewise.
6535 (gnuhurdsystems): Likewise..
6536 (gnulinuxsystems): Likewise.
6537 * manual/charset.texi: Use new macros or @theglibc{} to refer to
6538 variants of the GNU system, not "GNU system".
6539 * manual/conf.texi: Likewise.
6540 * manual/errno.texi: Likewise. Update example of errno macro
6541 expansion.
6542 * manual/filesys.texi: Likewise.
6543 (getumask): Document as specific to GNU/Hurd.
6544 * manual/install.texi: Likewise. Reword some references to
6545 GNU/Linux.
6546 * manual/intro.texi: Likewise.
6547 * manual/io.texi: Likewise.
6548 (File Name Portability): Detail which constraints are inapplicable
6549 to all GNU systems and which are only inapplicable to GNU/Hurd.
6550 * manual/job.texi: Likewise.
6551 * manual/llio.texi: Likewise.
6552 (O_NOCTTY): Document as present on GNU/Linux.
6553 * manual/maint.texi: Likewise.
6554 * manual/memory.texi: Likewise.
6555 * manual/pattern.texi: Likewise.
6556 * manual/pipe.texi: Likewise.
6557 * manual/process.texi: Likewise.
6558 * manual/resource.texi: Likewise.
6559 (RUSAGE_CHILDREN): Remove statement about specifying a particular
6560 child on GNU/Hurd.
6561 * manual/setjmp.texi: Likewise.
6562 * manual/signal.texi: Likewise.
6563 * manual/startup.texi: Likewise.
6564 * manual/stdio.texi: Likewise.
6565 * manual/terminal.texi: Likewise.
6566 (ONLCR): Document as POSIX.
6567 (OXTABS): Document availability on GNU/Linux as XTABS.
6568 (ONOEOT): Document availability separately from other bits.
6569 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
6570 * manual/time.texi: Likewise.
6571 * manual/users.texi: Likewise.
6572 * INSTALL: Regenerated.
6573 * sysdeps/gnu/errlist.c: Regenerated.
6574
07037eeb
JM
6575 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
6576 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
6577 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
6578 puts.
6579 * configure: Regenerated.
6580
d1d3431a
JM
65812012-03-07 Joseph Myers <joseph@codesourcery.com>
6582
af6a1e37
JM
6583 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
6584 default includes instead of AC_HEADER_CHECK.
6585 * sysdeps/i386/configure: Regenerated.
6586
d1d3431a
JM
6587 [BZ #10716]
6588 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
6589 * math/s_cacoshf.c (__cacoshf): Likewise.
6590 * math/s_cacoshl.c (__cacoshl): Likewise.
6591 * math/s_casinh.c (__casinh): Set signs of result from argument.
6592 * math/s_casinhf.c (__casinhf): Likewise.
6593 * math/s_casinhl.c (__casinhl): Likewise.
6594 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
6595 (casinh_test): Add more tests.
6596 * sysdeps/i386/fpu/libm-test-ulps: Update.
6597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6598
482ff4da
UD
65992012-03-07 Ulrich Drepper <drepper@gmail.com>
6600
872fda05
UD
6601 * po/zh_TW.po: Update from translation team.
6602
a4300c7a
UD
6603 * login/Makefile (distribute): Remove variable.
6604 * catgets/Makefile: Likewise.
6605 * mach/Makefile: Likewise.
6606 * malloc/Makefile: Likewise.
6607 * misc/Makefile: Likewise.
6608 * iconv/Makefile: Likewise.
6609 * nscd/Makefile: Likewise.
6610 * hurd/Makefile: Likewise.
6611 * manual/Makefile: Likewise.
6612 * locale/Makefile: Likewise.
6613 * intl/Makefile: Likewise.
6614 * conform/Makefile: Likewise.
6615 * nss/Makefile: Likewise.
6616 * time/Makefile: Likewise.
6617 * soft-fp/Makefile: Likewise.
6618 * dirent/Makefile: Likewise.
6619 * gmon/Makefile: Likewise.
6620 * po/Makefile: Likewise.
6621 * rt/Makefile: Likewise.
6622 * socket/Makefile: Likewise.
6623 * math/Makefile: Likewise.
6624 * signal/Makefile: Likewise.
6625 * debug/Makefile: Likewise.
6626 * elf/Makefile: Likewise.
6627 * timezone/Makefile: Likewise.
6628 * stdlib/Makefile: Likewise.
6629 * iconvdata/Makefile: Likewise.
6630 * sunrpc/Makefile: Likewise.
6631 * io/Makefile: Likewise.
6632 * argp/Makefile: Likewise.
6633 * inet/Makefile: Likewise.
6634 * hesiod/Makefile: Likewise.
6635 * grp/Makefile: Likewise.
6636 * csu/Makefile: Likewise.
6637 * wctype/Makefile: Likewise.
6638 * crypt/Makefile: Likewise.
6639 * libio/Makefile: Likewise.
6640 * string/Makefile: Likewise.
6641 * nis/Makefile: Likewise.
6642 * resolv/Makefile: Likewise.
6643 * stdio-common/Makefile: Likewise.
6644 * wcsmbs/Makefile: Likewise.
6645 * dlfcn/Makefile: Likewise.
6646 * posix/Makefile: Likewise.
6647
3b7c4e74 6648 [BZ #6959]
482ff4da
UD
6649 * timezone/Makefile: Don't install timezone files, just the programs
6650 and scripts.
6651
f72ed77d
UD
66522012-03-06 Ulrich Drepper <drepper@gmail.com>
6653
a000466f
UD
6654 * nss/databases.def: Add missing gshadow entry.
6655
f72ed77d
UD
6656 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
6657
a53b7a4e
MP
66582012-03-06 Marek Polacek <polacek@redhat.com>
6659
6660 [BZ #13726]
6661 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
6662 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
6663 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
6664 * stdio-common/tst-long-dbl-fphex.c: New file.
6665
e9258400
DM
66662012-03-06 David S. Miller <davem@davemloft.net>
6667
6668 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6669 (set_obp_int): New function.
6670 (get_obp_int): New function.
6671 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
6672 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
6673 Avoid unused variable warnings on 'val' and use builtin_expect.
6674 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
6675 __builtin_expect.
e9258400
DM
6676 (INLINE_CLONE_SYSCALL): Likewise.
6677
3bd2c723
DM
66782012-03-05 David S. Miller <davem@davemloft.net>
6679
6680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6681
bbb78d03
AS
66822012-03-05 Andreas Schwab <schwab@linux-m68k.org>
6683
884c5db4
AS
6684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6685
bbb78d03
AS
6686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
6687 only for |x| >= 40.
6688 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6689
1c9f702a 66902012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
6691
6692 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
6693 Replace gettimeofday with __vdso_gettimeofday.
6694
7be16f82
RM
6695 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6696 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
6697 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
6698
6699 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
6700 time with __vdso_time.
6701
ed58a00f
JM
67022012-03-05 Joseph Myers <joseph@codesourcery.com>
6703
6704 * manual/lang.texi (size_t): Note types to which size_t may be
6705 equivalent with the GNU C Library, but do not describe when
6706 differences between them are significant.
6707
30ee4ced
AJ
67082012-03-05 Andreas Jaeger <aj@suse.de>
6709
6710 * sysdeps/i386/fpu/libm-test-ulps: Update.
6711
b7cd39e8
JM
67122012-03-05 Joseph Myers <joseph@codesourcery.com>
6713
6714 [BZ #3976]
6715 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
6716 (__ieee754_pow): Save and restore rounding mode and use
6717 round-to-nearest for main computations.
6718 * math/libm-test.inc (pow_test_tonearest): New function.
6719 (pow_test_towardzero): Likewise.
6720 (pow_test_downward): Likewise.
6721 (pow_test_upward): Likewise.
6722 (main): Call the new functions.
6723 * sysdeps/i386/fpu/libm-test-ulps: Update.
6724 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
6725
6726 [BZ #3976]
6727 * math/libm-test.inc (cosh_test_tonearest): New function.
6728 (cosh_test_towardzero): Likewise.
6729 (cosh_test_downward): Likewise.
6730 (cosh_test_upward): Likewise.
6731 (sinh_test_tonearest): Likewise.
6732 (sinh_test_towardzero): Likewise.
6733 (sinh_test_downward): Likewise.
6734 (sinh_test_upward): Likewise.
6735 (main): Call the new functions.
6736 * sysdeps/i386/fpu/libm-test-ulps: Update.
6737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6738
6c6a98c9
TV
67392012-03-05 Tom de Vries <tom@codesourcery.com>
6740
6741 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
6742 default stack guard is set in last bytes.
6743 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
6744
21bb2d2e 67452012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 6746
21bb2d2e 6747 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 6748
21bb2d2e
AJ
6749 [BZ #13656]
6750 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
6751 possibly allocate from heap instead of stack.
6752 * stdio-common/bug-vfprintf-nargs.c: New file.
6753 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 6754
c6922934
AS
67552012-03-03 Andreas Schwab <schwab@linux-m68k.org>
6756
6757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6758
bc957d53
MP
67592012-03-03 Marek Polacek <polacek@redhat.com>
6760
6761 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
6762 * math/math_private.h: Likewise.
6763 * stdlib/tst-strtod.c: Likewise.
6764 * sysdeps/i386/i486/bits/atomic.h: Likewise.
6765 * sysdeps/x86_64/bits/atomic.h: Likewise.
6766
6358490d
DM
67672012-03-02 David S. Miller <davem@davemloft.net>
6768
6769 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
6770 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
6771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
6772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
6773 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
6774 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
6775 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
6776 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
6777
01ae168d
RM
67782012-03-02 Roland McGrath <roland@hack.frob.com>
6779
d9a17c07
RM
6780 [BZ #13792]
6781 * manual/examples/README: New file, says the example source files
6782 can be used under GPL>=2.
6783 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
6784 line containing just "*/".
6785 * manual/examples/add.c: Add copyright header (GPL>=2).
6786 * manual/examples/argp-ex1.c: Likewise.
6787 * manual/examples/argp-ex2.c: Likewise.
6788 * manual/examples/argp-ex3.c: Likewise.
6789 * manual/examples/argp-ex4.c: Likewise.
6790 * manual/examples/atexit.c: Likewise.
6791 * manual/examples/db.c: Likewise.
6792 * manual/examples/dir.c: Likewise.
6793 * manual/examples/dir2.c: Likewise.
6794 * manual/examples/execinfo.c: Likewise.
6795 * manual/examples/filecli.c: Likewise.
6796 * manual/examples/filesrv.c: Likewise.
6797 * manual/examples/fmtmsgexpl.c: Likewise.
6798 * manual/examples/genpass.c: Likewise.
6799 * manual/examples/inetcli.c: Likewise.
6800 * manual/examples/inetsrv.c: Likewise.
6801 * manual/examples/isockad.c: Likewise.
6802 * manual/examples/longopt.c: Likewise.
6803 * manual/examples/memopen.c: Likewise.
6804 * manual/examples/memstrm.c: Likewise.
6805 * manual/examples/mkfsock.c: Likewise.
6806 * manual/examples/mkisock.c: Likewise.
6807 * manual/examples/mygetpass.c: Likewise.
6808 * manual/examples/pipe.c: Likewise.
6809 * manual/examples/popen.c: Likewise.
6810 * manual/examples/rprintf.c: Likewise.
6811 * manual/examples/search.c: Likewise.
6812 * manual/examples/select.c: Likewise.
6813 * manual/examples/setjmp.c: Likewise.
6814 * manual/examples/sigh1.c: Likewise.
6815 * manual/examples/sigusr.c: Likewise.
6816 * manual/examples/stpcpy.c: Likewise.
6817 * manual/examples/strdupa.c: Likewise.
6818 * manual/examples/strftim.c: Likewise.
6819 * manual/examples/strncat.c: Likewise.
6820 * manual/examples/subopt.c: Likewise.
6821 * manual/examples/swapcontext.c: Likewise.
6822 * manual/examples/termios.c: Likewise.
6823 * manual/examples/testopt.c: Likewise.
6824 * manual/examples/testpass.c: Likewise.
6825 * manual/examples/timeval_subtract.c: Likewise.
6826
01ae168d
RM
6827 [BZ #13792]
6828 * manual/time.texi (Elapsed Time): Move timeval_subtract example
6829 function to ...
6830 * manual/timeval_subtract.c.texi: ... here, new file.
6831
49efa33d
DM
68322012-03-02 David S. Miller <davem@davemloft.net>
6833
6834 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
6835
28afd92d
JM
68362012-03-02 Joseph Myers <joseph@codesourcery.com>
6837
804360ed
JM
6838 [BZ #3976]
6839 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
6840 (__sin): Save and restore rounding mode and use round-to-nearest
6841 for all computations.
6842 (__cos): Save and restore rounding mode and use round-to-nearest
6843 for all computations.
6844 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
6845 <fenv.h>.
6846 (tan): Save and restore rounding mode and use round-to-nearest for
6847 all computations.
6848 * math/libm-test.inc (cos_test_tonearest): New function.
6849 (cos_test_towardzero): Likewise.
6850 (cos_test_downward): Likewise.
6851 (cos_test_upward): Likewise.
6852 (sin_test_tonearest): Likewise.
6853 (sin_test_towardzero): Likewise.
6854 (sin_test_downward): Likewise.
6855 (sin_test_upward): Likewise.
6856 (tan_test_tonearest): Likewise.
6857 (tan_test_towardzero): Likewise.
6858 (tan_test_downward): Likewise.
6859 (tan_test_upward): Likewise.
6860 (main): Call the new functions.
6861 * sysdeps/i386/fpu/libm-test-ulps: Update.
6862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863
a6d06d7b
JM
6864 [BZ #10135]
6865 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
6866 small n, then large n, before computing and testing k+n.
6867 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
6868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
6869 Likewise.
6870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
6871 Likewise.
6872 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
6873 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
6874 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
6875 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
6878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
6880 * math/libm-test.inc (scalbn_test): Add more tests.
6881 (scalbln_test): Likewise.
6882
07e12bb3
JM
6883 * manual/filesys.texi (mode_t): Describe constraints on size and
6884 signedness, not exact equivalence to a particular type.
6885 (ino_t): Likewise.
6886 (ino64_t): Likewise.
6887 (dev_t): Likewise.
6888 (nlink_t): Likewise.
6889 (blkcnt_t): Likewise.
6890 (blkcnt64_t): Likewise.
6891 * manual/llio.texi (off_t): Likewise.
6892
28afd92d
JM
6893 [BZ #3976]
6894 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
6895 (__ieee754_exp): Save and restore rounding mode and use
6896 round-to-nearest for all computations.
6897 * math/libm-test.inc (exp_test_tonearest): New function.
6898 (exp_test_towardzero): Likewise.
6899 (exp_test_downward): Likewise.
6900 (exp_test_upward): Likewise.
6901 (main): Call the new functions.
6902 * sysdeps/i386/fpu/libm-test-ulps: Update.
6903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6904
b1eeb65d
CD
69052012-03-01 Chris Demetriou <cgd@google.com>
6906
6907 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
6908 have predictable order.
6909
53362a4b
DM
69102012-03-01 David S. Miller <davem@davemloft.net>
6911
3c969083
DM
6912 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
6913
759707de
DM
6914 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
6915 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
6916 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
6917 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
6918
dfdb8ff2
DM
6919 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
6920 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
6921 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
6922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
6923 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
6924 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
6925 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
6926 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
6927 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
6928
ead89f96
DM
6929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6930
7f66bd07
DM
6931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
6932 * sysdeps/sparc/fpu/libm-test-ulps: to here.
6933 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
6934
53362a4b
DM
6935 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
6936 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6937 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6938 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
6939 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
6940 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
6941 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
6942 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6943 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6944 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
6945 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
6946 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6947 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6950 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6951 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
6952 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
6953 * sysdeps/sparc/elf/configure: Regenerated.
6954
7b1902cb
JM
69552012-03-01 Joseph Myers <joseph@codesourcery.com>
6956
bec039bc
JM
6957 * configure.in (AS, LD): Require binutils 2.20 or later.
6958 * configure: Regenerated.
6959 * manual/install.texi (Tools for Compilation): Give binutils 2.20
6960 as required minimum version.
6961 * INSTALL: Regenerated.
6962
7b1902cb
JM
6963 [BZ #2541]
6964 [BZ #4108]
6965 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
6966 before squaring exponent.
6967 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
6968 bottom long double and 27 bits of top long double before squaring
6969 exponent.
6970 * math/libm-test.inc (erfc_test): Add more tests.
6971 * sysdeps/i386/fpu/libm-test-ulps: Update.
6972 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6974
f775c276
KT
69752012-03-01 Kai Tietz <ktietz@redhat.com>
6976
6977 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
6978 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
6979 containing bit-fields.
6980 * soft-fp/extended.h (_FP_UNION_E): Likewise.
6981 * soft-fp/single.h (_FP_UNION_S): Likewise.
6982 * soft-fp/double.h (_FP_UNION_D): Likewise.
6983
5b8a4d4a
JM
69842012-02-29 Joseph Myers <joseph@codesourcery.com>
6985
0bab47b6
JM
6986 [BZ #13786]
6987 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
6988 not include ../strcmp.S.
6989 [USE_AS_STRNCASECMP_L]: Likewise.
6990 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
6991 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
6992 * sysdeps/i386/i686/multiarch/strncase_l-c.c
6993 (__strncasecmp_l_ia32): Define as alias to
6994 __strncasecmp_l_nonascii.
6995
0fcad3e2
JM
6996 [BZ #5794]
6997 * math/libm-test.inc (expm1_test): Add test for bug 5794.
6998 * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000
5b8a4d4a
JM
7001 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
7002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7003
8fdceb2e
JL
70042012-02-29 Jeff Law <law@redhat.com>
7005
7006 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
7007 out of bounds read.
7008
1f393a11
MP
70092012-02-29 Marek Polacek <polacek@redhat.com>
7010
7011 [BZ #13706]
7012 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
7013 * elf/Makefile: Add rules to run tst-unused-dep.out.
7014
8847f037
DM
70152012-02-28 David S. Miller <davem@davemloft.net>
7016
7017 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
7018 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
7019 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
7020 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
7021 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
7022 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
7023
169d7f11
JM
70242012-02-29 Joseph Myers <joseph@codesourcery.com>
7025
7026 * math/libm-test.inc (llround_test): Move one test from
7027 lround_test. Use TEST_f_L in moved test.
7028 (lround_test): Move misplaced test to llround_test. Add testcase
7029 from bug 2561.
7030
39adf059
UD
70312012-02-28 Ulrich Drepper <drepper@gmail.com>
7032
7033 * sysdeps/x86_64/fpu/e_expf.S: New file.
7034 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
7035
71b5d1c5
SB
70362012-02-28 Stanislav Brabec <sbrabec@suse.cz>
7037
7038 [BZ #13637]
7039 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
7040 of remain_len that may cause incomplete multi-byte character and
7041 false match.
7042 * posix/bug-regex33.c: New file.
7043 * posix/Makefile (tests): Add bug-regex33.
7044
1f77f049
JM
70452012-02-28 Joseph Myers <joseph@codesourcery.com>
7046
7047 * manual/macros.texi: New file.
7048 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
7049 * manual/libc.texinfo: Include macros.texi.
7050 * manual/creatute.texi: Likewise.
7051 * manual/install.texi: Likewise.
7052 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
7053 @glibcadj{} in references to the GNU C Library.
7054 * manual/charset.texi: Likewise.
7055 * manual/conf.texi: Likewise.
7056 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
7057 when not using those macros.
7058 * manual/creature.texi: Likewise.
7059 * manual/crypt.texi: Likewise.
7060 * manual/errno.texi: Likewise.
7061 * manual/filesys.texi: Likewise.
7062 * manual/header.texi: Likewise.
7063 * manual/install.texi: Likewise.
7064 * manual/intro.texi: Likewise.
7065 * manual/io.texi: Likewise.
7066 * manual/job.texi: Likewise.
7067 * manual/lang.texi: Likewise.
7068 * manual/libc.texiinfo: Likewise.
7069 * manual/llio.texi: Likewise.
7070 * manual/locale.texi: Likewise.
7071 * manual/maint.texi: Likewise.
7072 * manual/math.texi: Likewise.
7073 * manual/memory.texi: Likewise.
7074 * manual/message.texi: Likewise.
7075 * manual/nss.texi: Likewise.
7076 * manual/pattern.texi: Likewise.
7077 * manual/process.texi: Likewise.
7078 * manual/resource.texi: Likewise.
7079 * manual/search.texi: Likewise.
7080 * manual/setjmp.texi: Likewise.
7081 * manual/signal.texi: Likewise.
7082 * manual/socket.texi: Likewise.
7083 * manual/startup.texi: Likewise.
7084 * manual/stdio.texi: Likewise.
7085 * manual/string.texi: Likewise.
7086 * manual/sysinfo.texi: Likewise.
7087 * manual/syslog.texi: Likewise.
7088 * manual/terminal.texi: Likewise.
7089 * manual/time.texi: Likewise.
7090 * manual/users.texi: Likewise.
7091 * INSTALL: Regenerated.
7092 * NOTES: Regenerated.
d40c5d54 7093 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 7094
450bf206
AS
70952012-02-28 Andreas Schwab <schwab@linux-m68k.org>
7096
7097 * include/dirent.h: Include <dirstream.h> before
7098 <dirent/dirent.h>.
7099
741a235b
DM
71002012-02-28 David S. Miller <davem@davemloft.net>
7101
7102 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
7103 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
7104 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
7105 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
7106
d6b5aa58
DM
71072012-02-27 David S. Miller <davem@davemloft.net>
7108
1aff59a3
DM
7109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
7110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
7111 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
7112 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
7113
d6b5aa58
DM
7114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
7115 frame pointer instead of stack pointer relative arg slot.
7116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7117 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7118 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7119
433f48bf
CD
71202012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
7121
7122 [BZ #3992]
7123 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
7124
d674b76d
DM
71252012-02-27 David S. Miller <davem@davemloft.net>
7126
7127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
7128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
7129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
7130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
7131 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
7132 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
7133 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
7134 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
7135
0e7727f7
JM
71362012-02-27 Joseph Myers <joseph@codesourcery.com>
7137
7138 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
7139 later. Allow versions 5-9.
43be4ca2 7140 * configure: Regenerated.
0e7727f7
JM
7141 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
7142 required minimum version and 4.6 as recommended version. Do not
7143 mention bugs in GCC 2.7 and 2.8.
43be4ca2 7144 * INSTALL: Regenerated.
0e7727f7 7145
a78bc654
DM
71462012-02-27 David S. Miller <davem@davemloft.net>
7147
428d5830
DM
7148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
7149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
7150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
7151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
7152 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
7153 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
7154 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
7155 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
7156
a78bc654
DM
7157 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
7158 manipulate bits before adding and subtracting TWO112[sx].
7159 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
7160
4579f81c
RM
71612012-02-27 Roland McGrath <roland@hack.frob.com>
7162
36c8acb4
RM
7163 [BZ #13775]
7164 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
7165 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
7166 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
7167 being in POSIX, because they are in 1003.1-2008.
7168
84ad622b
RM
7169 * rt/tst-aio.c: Include <fcntl.h>.
7170 * rt/tst-aio7.c: Likewise.
7171 * rt/tst-aio64.c: Likewise.
7172
4579f81c
RM
7173 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
7174
abd923db
JM
71752012-02-27 Joseph Myers <joseph@codesourcery.com>
7176
7177 * manual/install.texi (--with-headers): Describe headers as
7178 interface headers, not private headers.
7179 (Specific advice for GNU/Linux systems): Describe use of headers
7180 from "make headers_install", not private headers from older
7181 kernels.
43be4ca2 7182 * INSTALL: Regenerated.
abd923db
JM
7183 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
7184 Change to 2.6.19.
7185 * sysdeps/unix/sysv/linux/configure: Regenerated.
7186
6664049b
JM
7187 * manual/llio.texi (fclean): Remove documentation.
7188
bb8b6697
JM
7189 * manual/Makefile (libc-texi-generated): New variable. Include
7190 version.texi.
7191 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
7192 $(libc-texi-generated), not duplicated list of files.
7193 (version.texi, stamp-version): New rules.
7194 (realclean): Remove $(libc-texi-generated), not individual files
7195 from that list. Do not remove dir-add.texinfo.
7196 * manual/libc.texinfo: Comment out uses of edition numbers and
7197 references to printed manual. Remove last-updated dates.
7198 (EDITION): Comment out.
7199 (ISBN): Likewise.
7200 (VERSION, UPDATED): Remove.
7201 (version.texi): Include.
7202
12e5c3b9
AS
72032012-02-27 Andreas Schwab <schwab@linux-m68k.org>
7204
7205 * sysdeps/posix/spawni.c: Include <signal.h>.
7206 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
7207 * sysdeps/pthread/aio_fsync.c: Likewise.
7208
4efeffc1 72092012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 7210
ba63ba08
UD
7211 * conform/Makefile (tests): Run only when not cross-compiling and
7212 when fast-check is not defined.
7213
d94a4670
UD
7214 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
7215 * conform/data/limits.h-data: Fixes for POSIX2008.
7216 * conform/run-conformtest.sh: Run all tests.
7217 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
7218 headers.
7219 * include/bits/dlfcn.h: Likewise.
7220 * include/langinfo.h: Likewise.
7221 * include/monetary.h: Likewise.
7222 * include/sys/poll.h: Likewise.
7223
7224 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
7225 for __USE_GNU.
7226 * posix/spawn.h: Define __need_sigset_t.
7227 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
7228 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
7229 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
7230 to get sigevent_t only.
7231 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
7232 only for __USE_GNU.
7233 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7234 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
7235 process_vm_writev only for __USE_GNU.
7236 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
7237
7238 * conform/Makefile: For now ignore errors from run-conformtest.
7239 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
7240 POSIX to avoid namespace pollution. Don't prepend headers.
7241 * conform/data/aio.h-data: Fixes for POSIX testing.
7242 * conform/data/fcntl.h-data: Likewise.
7243 * conform/data/glob.h-data: Likewise.
7244 * conform/data/grp.h-data: Likewise.
7245 * conform/data/pthread.h-data: Likewise.
7246 * conform/data/pwd.h-data: Likewise.
7247 * conform/data/signal.h-data: Likewise.
7248 * conform/data/spawn.h-data: Likewise.
7249 * conform/data/stdio.h-data: Likewise.
7250 * conform/data/stdlib.h-data: Likewise.
7251 * conform/data/stropts.h-data: Likewise.
7252 * conform/data/sys/mman.h-data: Likewise.
7253 * conform/data/sys/stat.h-data: Likewise.
7254 * conform/data/sys/types.h-data: Likewise.
7255 * conform/data/sys/wait.h-data: Likewise.
7256 * conform/data/time.h-data: Likewise.
7257 * conform/data/unistd.h-data: Likewise.
7258 * conform/data/utime.h-data: Likewise.
7259
7260 * io/sys/stat.h: fchmod was always in POSIX.
7261 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
7262 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
7263 * rt/aio.h: Define __need_timespec before including <time.h>.
7264 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
7265 struct. Add forward declaration of pthread_attr_t and use it in
7266 sigevent.
7267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
7268 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7269 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
7270 always remove CLK_TCK definition.
7271
c20105c3
AS
72722012-02-26 Andreas Schwab <schwab@linux-m68k.org>
7273
7274 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
7275
7a270350
UD
72762012-02-25 Ulrich Drepper <drepper@gmail.com>
7277
31341567
UD
7278 * conform/run-conformtest.sh: New file.
7279 * conform/Makefile: Run run-conformtest for tests.
7280 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
7281 support.
7282
7283 * conform/data/uchar.h-data: New file.
7284 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
7285 * conform/data/arpa/inet.h-data: Likewise.
7286 * conform/data/assert.h-data: Likewise.
7287 * conform/data/complex.h-data: Likewise.
7288 * conform/data/cpio.h-data: Likewise.
7289 * conform/data/ctype.h-data: Likewise.
7290 * conform/data/dirent.h-data: Likewise.
7291 * conform/data/dlfcn.h-data: Likewise.
7292 * conform/data/errno.h-data: Likewise.
7293 * conform/data/fcntl.h-data: Likewise.
7294 * conform/data/float.h-data: Likewise.
7295 * conform/data/fmtmsg.h-data: Likewise.
7296 * conform/data/fnmatch.h-data: Likewise.
7297 * conform/data/ftw.h-data: Likewise.
7298 * conform/data/glob.h-data: Likewise.
7299 * conform/data/grp.h-data: Likewise.
7300 * conform/data/iconv.h-data: Likewise.
7301 * conform/data/inttypes.h-data: Likewise.
7302 * conform/data/langinfo.h-data: Likewise.
7303 * conform/data/libgen.h-data: Likewise.
7304 * conform/data/limits.h-data: Likewise.
7305 * conform/data/locale.h-data: Likewise.
7306 * conform/data/math.h-data: Likewise.
7307 * conform/data/monetary.h-data: Likewise.
7308 * conform/data/mqueue.h-data: Likewise.
7309 * conform/data/ndbm.h-data: Likewise.
7310 * conform/data/net/if.h-data: Likewise.
7311 * conform/data/netdb.h-data: Likewise.
7312 * conform/data/netinet/in.h-data: Likewise.
7313 * conform/data/nl_types.h-data: Likewise.
7314 * conform/data/poll.h-data: Likewise.
7315 * conform/data/pthread.h-data: Likewise.
7316 * conform/data/pwd.h-data: Likewise.
7317 * conform/data/regex.h-data: Likewise.
7318 * conform/data/sched.h-data: Likewise.
7319 * conform/data/search.h-data: Likewise.
7320 * conform/data/semaphore.h-data: Likewise.
7321 * conform/data/setjmp.h-data: Likewise.
7322 * conform/data/signal.h-data: Likewise.
7323 * conform/data/spawn.h-data: Likewise.
7324 * conform/data/stdarg.h-data: Likewise.
7325 * conform/data/stdio.h-data: Likewise.
7326 * conform/data/stdlib.h-data: Likewise.
7327 * conform/data/string.h-data: Likewise.
7328 * conform/data/strings.h-data: Likewise.
7329 * conform/data/stropts.h-data: Likewise.
7330 * conform/data/sys/ipc.h-data: Likewise.
7331 * conform/data/sys/mman.h-data: Likewise.
7332 * conform/data/sys/msg.h-data: Likewise.
7333 * conform/data/sys/resource.h-data: Likewise.
7334 * conform/data/sys/select.h-data: Likewise.
7335 * conform/data/sys/sem.h-data: Likewise.
7336 * conform/data/sys/shm.h-data: Likewise.
7337 * conform/data/sys/socket.h-data: Likewise.
7338 * conform/data/sys/stat.h-data: Likewise.
7339 * conform/data/sys/statvfs.h-data: Likewise.
7340 * conform/data/sys/time.h-data: Likewise.
7341 * conform/data/sys/timeb.h-data: Likewise.
7342 * conform/data/sys/times.h-data: Likewise.
7343 * conform/data/sys/types.h-data: Likewise.
7344 * conform/data/sys/uio.h-data: Likewise.
7345 * conform/data/sys/un.h-data: Likewise.
7346 * conform/data/sys/utsname.h-data: Likewise.
7347 * conform/data/sys/wait.h-data: Likewise.
7348 * conform/data/syslog.h-data: Likewise.
7349 * conform/data/tar.h-data: Likewise.
7350 * conform/data/termios.h-data: Likewise.
7351 * conform/data/utime.h-data: Likewise.
7352 * conform/data/utmpx.h-data: Likewise.
7353 * conform/data/varargs.h-data: Likewise.
7354 * conform/data/wchar.h-data: Likewise.
7355 * conform/data/wctype.h-data: Likewise.
7356 * conform/data/wordexp.h-data: Likewise.
7357
7358 * include/stropts.h: New file.
7359 * include/uchar.h: New file.
7360 * include/aio.h: Changes to allow conformtest.pl to use the headers.
7361 * include/assert.h: Likewise.
7362 * include/ctype.h: Likewise.
7363 * include/dirent.h: Likewise.
7364 * include/dlfcn.h: Likewise.
7365 * include/fcntl.h: Likewise.
7366 * include/fnmatch.h: Likewise.
7367 * include/glob.h: Likewise.
7368 * include/grp.h: Likewise.
7369 * include/libio.h: Likewise.
7370 * include/locale.h: Likewise.
7371 * include/math.h: Likewise.
7372 * include/net/if.h: Likewise.
7373 * include/netdb.h: Likewise.
7374 * include/netinet/in.h: Likewise.
7375 * include/pthread.h: Likewise.
7376 * include/pwd.h: Likewise.
7377 * include/regex.h: Likewise.
7378 * include/sched.h: Likewise.
7379 * include/search.h: Likewise.
7380 * include/setjmp.h: Likewise.
7381 * include/signal.h: Likewise.
7382 * include/stdio.h: Likewise.
7383 * include/stdlib.h: Likewise.
7384 * include/string.h: Likewise.
7385 * include/sys/cdefs.h: Likewise.
7386 * include/sys/mman.h: Likewise.
7387 * include/sys/msg.h: Likewise.
7388 * include/sys/resource.h: Likewise.
7389 * include/sys/select.h: Likewise.
7390 * include/sys/socket.h: Likewise.
7391 * include/sys/stat.h: Likewise.
7392 * include/sys/statvfs.h: Likewise.
7393 * include/sys/time.h: Likewise.
7394 * include/sys/times.h: Likewise.
7395 * include/sys/uio.h: Likewise.
7396 * include/sys/utsname.h: Likewise.
7397 * include/sys/wait.h: Likewise.
7398 * include/termios.h: Likewise.
7399 * include/time.h: Likewise.
7400 * include/ulimit.h: Likewise.
7401 * include/unistd.h: Likewise.
7402 * include/utime.h: Likewise.
7403 * include/wchar.h: Likewise.
7404 * include/wctype.h: Likewise.
7405 * include/wordexp.h: Likewise.
7406
7407 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
7408
7a270350
UD
7409 * time/time.h: TIME_UTC must be a macro.
7410 Make timespec_get available for ISO C11 only as well.
7411
7724defc
UD
74122012-02-24 Ulrich Drepper <drepper@gmail.com>
7413
7414 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
7415 Reported by Peng Haitao <penght@cn.fujitsu.com>.
7416
6b1d1d46
JM
74172012-02-24 Joseph Myers <joseph@codesourcery.com>
7418
7419 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 7420
0f8bbd69
JM
74212012-02-24 Joseph Myers <joseph@codesourcery.com>
7422
7423 * manual/texinfo.tex: Update to version 2012-01-19.16.
7424
66ab80bc
JM
74252012-02-24 Joseph Myers <joseph@codesourcery.com>
7426
7427 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
7428
74981cc5
RM
74292012-02-24 Roland McGrath <roland@hack.frob.com>
7430
ee968201
RM
7431 [BZ #13738]
7432 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
7433 * manual/fdl-1.3.texi: New file.
7434 * manual/fdl-1.1.texi: File removed.
7435
74981cc5
RM
7436 [BZ #13738]
7437 * manual/libc.texinfo (FDL_VERSION): New @set.
7438 Use it for mention of FDL in cover text.
7439 (Documentation License): Use it in @include file name.
7440
7bb764bc
JM
74412012-02-22 Joseph Myers <joseph@codesourcery.com>
7442 Roland McGrath <roland@hack.frob.com>
7443
7444 [BZ #5461]
7445 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
7446 not LONG_LONG_MAX and LONG_LONG_MIN.
7447 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
7448 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
7449 name.
7450 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
7451
6cbeae47
JM
74522012-02-22 Joseph Myers <joseph@codesourcery.com>
7453
7454 [BZ #2547]
7455 [BZ #11365]
7456 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
7457 manipulate bits before adding and subtracting TWO23[sx].
7458 * math/libm-test.inc (nearbyint_test): Add more tests.
7459
fe45ce09
JM
74602012-02-22 Joseph Myers <joseph@codesourcery.com>
7461
7462 [BZ #2548]
7463 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
7464 bits before adding and subtracting TWO23[sx].
7465 * math/libm-test.inc (rint_test): Add more tests.
7466 (rint_test_tonearest): Likewise.
7467 (rint_test_towardzero): Likewise.
7468 (rint_test_downward): Likewise.
7469 (rint_test_upward: Likewise.
7470
ff3b3d82
JM
74712012-02-22 Joseph Myers <joseph@codesourcery.com>
7472
7473 [BZ #10110]
7474 * include/stdc-predef.h: New file. Extracted from features.h.
7475 * include/features.h: Include stdc-predef.h.
7476 * Makefile (headers): Add stdc-predef.h.
7477 * CONFORMANCE (Compiler limitations): Update.
7478
ef0aab35
JM
74792012-02-22 Joseph Myers <joseph@codesourcery.com>
7480
7481 * manual/libc.texinfo (VERSION, UPDATED): Revert.
7482
58639409
DM
74832012-02-21 David S. Miller <davem@davemloft.net>
7484
7485 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
7486 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7487
c0e70b25
DM
74882012-02-20 David S. Miller <davem@davemloft.net>
7489
7490 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
7491 using a normal save/restore sequence, rather than allocating a
7492 dummy stack frame just to store a frame pointer and restore.
7493 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7494
fb06851d
JM
74952012-02-21 Joseph Myers <joseph@codesourcery.com>
7496
7497 * manual/install.texi: Fix stray word in line-wrapped comment.
7498
7a8b71c3
DM
74992012-02-20 David S. Miller <davem@davemloft.net>
7500
d510c123
DM
7501 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
7502 both binutils and gcc support GOTDATA.
7503
0722d7c2
DM
7504 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
7505 "rd %pc" in the PIC register setup sequences.
7506
3d2b3019
DM
7507 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
7508 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
7509 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
7510 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
7511 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
7512 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7513 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7514 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
7515 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
7516 (SYSCALL_ERROR_HANDLER): Likewise.
7517 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
7518 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7519 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
7520 (SYSCALL_ERROR_HANDLER): Likewise.
7521
c80098a9
DM
7522 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
7523 (HAVE_GCC_GOTDATA): New.
7524 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
7525 relocation support in both binutils and gcc.
7526 * sysdeps/sparc/elf/configure: Regenerate.
7527
3a2545a0
DM
7528 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
7529 * sysdeps/sparc/sparc32/elf/configure: Delete.
7530 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
7531 * sysdeps/sparc/sparc64/elf/configure: Delete.
7532 * sysdeps/sparc/elf/configure.in: New file.
7533 * sysdeps/sparc/elf/configure: Generate.
7534
7a8b71c3
DM
7535 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
7536 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
7537 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7538 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
7539 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
7540
f1e86fca
JM
75412012-02-21 Joseph Myers <joseph@codesourcery.com>
7542
7543 * manual/install.texi: Do not mention specific glibc version
7544 numbers.
7545 * manual/libc.texinfo (VERSION, UPDATED): Update.
7546 (@copying): Use @copyright{} and range of years.
7547
0e7dfaef
JM
75482012-02-21 Joseph Myers <joseph@codesourcery.com>
7549
7550 [BZ #13695]
7551 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
7552 [crti.S not in sysdirs] (generated): Do not append.
7553 [crti.S not in sysdirs] (omit-deps): Likewise.
7554 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
7555 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
7556 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
7557 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
7558 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
7559 Likewise.
7560 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
7561 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
7562 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
7563 * csu/defs.awk: Remove file.
7564 * sysdeps/generic/initfini.c: Likewise.
7565 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
7566 variable.
7567 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
7568 Likewise.
7569
599af3ca
JM
75702012-02-20 Joseph Myers <joseph@codesourcery.com>
7571
7572 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
7573 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
7574 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
7575 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
7576 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7577 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
7578 <bits/epoll.h>.
7579 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
7580 (__EPOLL_PACKED): Define to empty if not defined by
7581 <bits/epoll.h>.
7582 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
7583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7584 bits/epoll.h.
7585
0e499750
JM
75862012-02-20 Joseph Myers <joseph@codesourcery.com>
7587
7588 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
7589 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
7590 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
7591 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
7592 <bits/timerfd.h>.
7593 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
7594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7595 bits/timerfd.h.
7596
5ad91f6e
JM
75972012-02-20 Joseph Myers <joseph@codesourcery.com>
7598
7599 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
7600 in C locale.
7601 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7602 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605
06b99b02
AJ
76062012-02-20 Aurelien Jarno <aurelien@aurel32.net>
7607
7608 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7609 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
7610
7638c0fd
AS
76112012-02-19 Andreas Schwab <schwab@linux-m68k.org>
7612
7613 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
7614 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
7615 defined.
7616 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
7617 Likewise.
7618 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
7619 entry for 2.16.
7620
92221550
AJ
76212012-02-19 Aurelien Jarno <aurelien@aurel32.net>
7622
7623 * math/w_acos.c: Use non-signaling floating-point comparisons.
7624 * math/w_acosf.c: Likewise.
7625 * math/w_acosh.c: Likewise.
7626 * math/w_acoshf.c: Likewise.
7627 * math/w_acoshl.c: Likewise.
7628 * math/w_acosl.c: Likewise.
7629 * math/w_asin.c: Likewise.
7630 * math/w_asinf.c: Likewise.
7631 * math/w_asinl.c: Likewise.
7632 * math/w_atanh.c: Likewise.
7633 * math/w_atanhf.c: Likewise.
7634 * math/w_atanhl.c: Likewise.
7635 * math/w_exp2.c: Likewise.
7636 * math/w_exp2f.c: Likewise.
7637 * math/w_exp2l.c: Likewise.
7638 * math/w_j0.c: Likewise.
7639 * math/w_j0f.c: Likewise.
7640 * math/w_j0l.c: Likewise.
7641 * math/w_j1.c: Likewise.
7642 * math/w_j1f.c: Likewise.
7643 * math/w_j1l.c: Likewise.
7644 * math/w_jn.c: Likewise.
7645 * math/w_jnf.c: Likewise.
7646 * math/w_log.c: Likewise.
7647 * math/w_log10.c: Likewise.
7648 * math/w_log10f.c: Likewise.
7649 * math/w_log10l.c: Likewise.
7650 * math/w_log2.c: Likewise.
7651 * math/w_log2f.c: Likewise.
7652 * math/w_log2l.c: Likewise.
7653 * math/w_logf.c: Likewise.
7654 * math/w_logl.c: Likewise.
7655 * math/w_sqrt.c: Likewise.
7656 * math/w_sqrtf.c: Likewise.
7657 * math/w_sqrtl.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7660 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7661 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7662 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7663
ebaf36eb
JM
76642012-02-19 Joseph Myers <joseph@codesourcery.com>
7665
7666 [BZ #9739]
7667 * manual/string.texi (strnlen): Use correct parameter name in
7668 equivalent expression.
7669
71c254a6
JM
76702012-02-19 Joseph Myers <joseph@codesourcery.com>
7671
7672 [BZ #11174]
7673 * manual/users.texi (seteuid): Consistently use neweuid for
7674 argument name.
7675
16d2c631
JM
76762012-02-19 Joseph Myers <joseph@codesourcery.com>
7677
7678 [BZ #13704]
7679 * manual/nss.texi (Services in the NSS configuration): Correct
7680 list of services in example configuration file.
7681
cd837b09
NB
76822012-02-19 Nick Bowler <nbowler@draconx.ca>
7683
7684 [BZ #11322]
7685 * manual/arith.texi: Remove statements about negative zero
7686 behaving identically to zero.
7687
02c4bbad
JM
76882012-02-18 Joseph Myers <joseph@codesourcery.com>
7689
7690 [BZ #5993]
7691 * manual/install.texi: Do not document upgrading from libc5.
7692
366842e7
JM
76932012-02-18 Joseph Myers <joseph@codesourcery.com>
7694
7695 [BZ #4596]
7696 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
7697
dd54084d
DM
76982012-02-18 David S. Miller <davem@davemloft.net>
7699
7700 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
7701 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
7702 %o7 across the call.
7703 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
7704 instead.
7705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
7706 SETUP_PIC_REG_LEAF.
7707 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7708 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
7709 * sysdeps/sparc/crtn.S: Likewise.
7710
2bcc53a3
UD
77112012-02-17 Ulrich Drepper <drepper@gmail.com>
7712
7713 * aout/Makefile: Remove.
7714
09c093b5
RK
77152012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
7716
7717 [BZ #13058]
7718 * manual/examples/argp-ex1.c (main): Format definition in GNU
7719 style.
7720 * manual/examples/argp-ex2.c (main): Likewise.
7721 * manual/examples/argp-ex3.c (main): Likewise.
7722 * manual/examples/argp-ex4.c (main): Likewise.
7723 * manual/examples/longopt.c (main): Use new-style prototype
7724 definition.
7725 * manual/examples/strncat.c (main): Specify return type and use
7726 (void) for arguments.
7727 * manual/examples/subopt.c (main): Use char **argv argument.
7728
2ee633a2
JM
77292012-02-17 Joseph Myers <joseph@codesourcery.com>
7730
7731 [BZ #5077]
7732 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
7733 rounding modes.
7734
0520adde
FB
77352012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
7736
7737 [BZ #6907]
7738 * manual/string.texi (strchr): Change when strchrnul is
7739 recommended.
7740
3f4081cd
DGM
77412012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
7742
7743 [BZ #174]
7744 * manual/locale.texi (setlocale): Document LOCPATH.
7745
d1b10e78
JM
77462012-02-17 Joseph Myers <joseph@codesourcery.com>
7747
7748 [BZ #10210]
7749 * manual/process.texi (execle): Move @dots{} before last argument.
7750
79c6869c
PB
77512012-02-17 Paul Bolle <pebolle@tiscali.nl>
7752
7753 [BZ #12047]
7754 * manual/charset.texi (Generic Charset Conversion): Fix typo
7755 (LC_TYPE -> LC_CTYPE).
7756
cc6e48bc
NB
77572012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
7758
7759 [BZ #5805]
7760 * manual/arith.texi (scalbn): Use @var{} on parameter names.
7761 (scalbnf): Likewise.
7762 (scalbnl): Likewise.
7763 (scalbln): Likewise.
7764 (scalblnf): Likewise.
7765 (scalblnl): Likewise.
7766 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
7767 (vwarnx): Likewise.
7768 (verr): Likewise.
7769 (verrx): Likewise.
7770 * manual/filesys.texi (telldir): Use braces around return type.
7771 * manual/llio.texi (mmap): Add space after comma.
7772 (mmap64): Likewise.
7773 * manual/math.texi (jn): Use @var{} on parameter names.
7774 (jnf): Likewise.
7775 (jnl): Likewise.
7776 (yn): Likewise.
7777 (ynf): Likewise.
7778 (ynl): Likewise.
7779 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
7780 line.
7781 * manual/resource.texi (ulimit): Use @dots{} instead of literal
7782 "...".
7783 (sched_get_priority_min): Remove semicolon on @deftypefun line.
7784 (sched_get_priority_max): Likewise.
7785 * manual/signal.texi (sigvec): Add space after comma.
7786 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
7787 names.
7788 (if_indextoname): Likewise.
7789 (if_freenameindex): Likewise.
7790 (sendto): Use ',' instead of '.' in prototype.
7791 * manual/startup.texi (syscall): Use @dots{} instead of literal
7792 "...".
7793 * manual/stdio.texi (__fpending): Separate initial words of
7794 paragraph from @deftypefun line.
7795 * manual/syslog.texi (syslog): Use @dots{} instead of literal
7796 "...".
7797 (vsyslog): Use @var{} on parameter names.
7798 * manual/terminal.texi (stty): Use @var{} on parameter names.
7799 * manual/users.texi (getutmp): Use @var{} on parameter names.
7800 (getutmpx): Likewise.
7801
5b23062f
JM
78022012-02-17 Joseph Myers <joseph@codesourcery.com>
7803
7804 [BZ #6884]
7805 * manual/stdio.texi (fopen): Fix typos in description of
7806 ",ccs=STRING".
7807
8dee4833
AJ
78082012-02-17 Aurelien Jarno <aurelien@aurel32.net>
7809
7810 [BZ #4026]
7811 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
7812 get clock_id definition.
7813
9078ce93
TS
78142012-02-17 Thomas Schwinge <thomas@schwinge.name>
7815
7816 [BZ #4822]
7817 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
7818 (madvise): Cast every argument to void on its own.
7819
3835c55f
JM
78202012-02-17 Joseph Myers <joseph@codesourcery.com>
7821
7822 [BZ #9902]
7823 * manual/startup.texi (Exit Status): Fix typo.
7824
35c47e37
JM
78252012-02-17 Joseph Myers <joseph@codesourcery.com>
7826
7827 [BZ #10140]
7828 * manual/examples/argp-ex1.c: Include <stdlib.h>.
7829 * manual/examples/argp-ex2.c: Likewise.
7830 * manual/examples/argp-ex3.c: Likewise.
7831
e3b69ca7
RH
78322012-02-16 Richard Henderson <rth@redhat.com>
7833
7834 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
7835 * sysdeps/s390/s390-32/initfini.c: Remove.
7836 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
7837 * sysdeps/s390/s390-64/initfini.c: Remove.
7838
df83af67
KK
78392012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7840
7841 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
7842 compiler output for sysdeps/generic/initfini.c.
7843 * sysdeps/sh/elf/initfini.c: Remove file.
7844
f63f3380
DM
78452012-02-16 David S. Miller <davem@davemloft.net>
7846
fb59b3a4
DM
7847 [BZ #11494]
7848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
7849
f63f3380
DM
7850 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
7851 * sysdeps/sparc/crti.S: New file.
7852 * sysdeps/sparc/crtn.S: New file.
7853 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
7854 * sysdeps/sparc/sparc64/Makefile: Likewise.
7855
df6a4a4a
MF
78562012-02-15 Mike Frysinger <vapier@gentoo.org>
7857
6dd8f3dc 7858 [BZ #3335]
df6a4a4a
MF
7859 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
7860
1cac7236
RM
78612012-02-15 Roland McGrath <roland@hack.frob.com>
7862
d2c736f8
RM
7863 [BZ #4822]
7864 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
7865
1cac7236
RM
7866 * mach/devstream.c (cookie_io_functions_t): Macro removed.
7867 (write, read, close): Likewise.
7868 Patch by Aurelien Jarno <aurelien@aurel32.net>.
7869
8e475601
JM
78702012-02-15 Joseph Myers <joseph@codesourcery.com>
7871
7872 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
7873 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
7874 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
7875 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
7876 <bits/signalfd.h>.
7877 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
7878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7879 bits/signalfd.h.
7880
ed656b40
MP
78812012-02-14 Marek Polacek <polacek@redhat.com>
7882
7883 * sysdeps/x86_64/crti.S: New file.
7884 * sysdeps/x86_64/crtn.S: New file.
7885 * sysdeps/x86_64/elf/initfini.c: Remove file.
7886
2a979d3a
JM
78872012-02-13 Joseph Myers <joseph@codesourcery.com>
7888
7889 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
7890 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
7891 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
7892 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
7893 <bits/inotify.h>.
7894 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
7895 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7896 bits/inotify.h.
7897
2a418ac3
JM
78982012-02-13 Joseph Myers <joseph@codesourcery.com>
7899
7900 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
7901 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
7902 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
7903 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
7904 <bits/eventfd.h>.
7905 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
7906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7907 bits/eventfd.h.
7908
fb779be7
TS
79092012-02-10 Thomas Schwinge <thomas@codesourcery.com>
7910
e19e83c5
RM
7911 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
7912 __feraiseexcept instead of feraiseexcept.
7c35ffed 7913
fb779be7
TS
7914 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
7915 nanosleep invocations.
7916 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
7917 strings, and add error checking for a nanosleep invocations.
7918
59ba27a6
PE
79192012-02-09 Paul Eggert <eggert@cs.ucla.edu>
7920
7921 Replace FSF snail mail address with URLs, as per GNU coding standards.
7922 Most of the snail mail addresses were wrong anyway, and omitting
7923 them makes the source code easier to maintain. Almost all of the
7924 changes are to license notices and to locale LC_IDENTIFICATION
7925 addresses, except for this one:
7926 * manual/libc.texinfo: In "Published by", give the FSF's URL,
7927 not its snail mail address.
7928
57b957eb
RH
79292012-02-09 Richard Henderson <rth@twiddle.net>
7930
af850b1c
RH
7931 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
7932 of kernel-features.h.
7933
57b957eb
RH
7934 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
7935
6b73181a
MP
79362012-02-08 Marek Polacek <polacek@redhat.com>
7937
7938 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
7939 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
7940 * sysdeps/gnu/_G_config.h: Likewise.
7941 * sysdeps/generic/_G_config.h: Likewise.
7942
26ecc33a
AS
79432012-02-08 Andreas Schwab <schwab@linux-m68k.org>
7944
6c6dbc63
AS
7945 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
7946 tests.
7947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7948
e216c012
AS
7949 * sysdeps/powerpc/powerpc32/crti.S: New file.
7950 * sysdeps/powerpc/powerpc32/crtn.S: New file.
7951 * sysdeps/powerpc/powerpc64/crti.S: New file.
7952 * sysdeps/powerpc/powerpc64/crtn.S: New file.
7953
26ecc33a
AS
7954 * Makeconfig (have-initfini): Don't set.
7955 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
7956 * configure.in (nopic_initfini): Don't substitute.
7957 * config.h.in (HAVE_INITFINI): Don't #undef.
7958 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
7959 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
7960
3add8e13
JM
79612012-02-08 Joseph Myers <joseph@codesourcery.com>
7962
7963 Support crti.S and crtn.S provided directly by architectures.
7964 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
7965 [crti.S in sysdirs] (omit-deps): Likewise.
7966 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
7967 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
7968 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
7969 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
7970 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
7971 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
7972 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
7973 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
7974 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
7975 compiler output for sysdeps/generic/initfini.c.
7976 * sysdeps/i386/elf/Makefile: Remove file.
7977 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
7978
a22f12b4
MP
79792012-02-07 Marek Polacek <polacek@redhat.com>
7980
7981 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
7982 * sysdeps/gnu/_G_config.h: Likewise.
7983 * sysdeps/mach/hurd/_G_config.h: Likewise.
7984
148cf100
MP
79852012-02-07 Marek Polacek <polacek@redhat.com>
7986
7987 * math/Makefile (tests): Add tst-CMPLX2.
7988 * math/tst-CMPLX2.c: New file.
7989
cfdc0dd7
AS
79902012-02-07 Andreas Schwab <schwab@linux-m68k.org>
7991
84ba42c4
AS
7992 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7993
cfdc0dd7
AS
7994 * math/libm-test.inc (jn_test): Add missing L suffix.
7995
622c86f4
MP
79962012-02-06 Marek Polacek <polacek@redhat.com>
7997
7998 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
7999 * sysdeps/i386/fpu/e_powf.S: Likewise.
8000 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8001 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
8002 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8003 * sysdeps/i386/fpu/e_pow.S: Likewise.
8004 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
8005 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8006 * sysdeps/i386/fpu/s_expm1.S: Likewise.
8007 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
8008 * sysdeps/i386/fpu/e_log2.S: Likewise.
8009 * sysdeps/i386/fpu/e_log2l.S: Likewise.
8010 * sysdeps/i386/fpu/e_scalb.S: Likewise.
8011 * sysdeps/i386/fpu/e_powl.S: Likewise.
8012 * sysdeps/i386/fpu/s_log1p.S: Likewise.
8013 * sysdeps/i386/fpu/e_log10f.S: Likewise.
8014 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
8015 * sysdeps/i386/fpu/e_logl.S: Likewise.
8016 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
8017 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
8018 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
8019 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
8020 * sysdeps/i386/fpu/e_log2f.S: Likewise.
8021 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8022 * sysdeps/i386/fpu/e_log.S: Likewise.
8023 * sysdeps/i386/fpu/s_cexp.S: Likewise.
8024 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
8025 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
8026 * sysdeps/i386/fpu/e_logf.S: Likewise.
8027 * sysdeps/i386/fpu/e_log10l.S: Likewise.
8028 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8029 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
8030 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
8031 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
8032 * sysdeps/i386/fpu/e_log10.S: Likewise.
8033 * sysdeps/i386/fpu/s_frexp.S: Likewise.
8034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8035 * sysdeps/i386/fpu/s_asinh.S: Likewise.
8036 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
8037 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
8038 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
8039 * sysdeps/i386/asm-syntax.h: Likewise.
8040 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8041 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8042 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8043 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
8044 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
8045 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8046 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
8047 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
8048 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8049 * sysdeps/powerpc/sysdep.h: Likewise.
8050 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
8051 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8052
d4a54ac6
JM
80532012-02-06 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #411]
8056 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
8057
314054ea
JM
80582012-02-06 Joseph Myers <joseph@codesourcery.com>
8059
8060 * sysdeps/i386/sysdep.h: Include <features.h>.
8061 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
8062 version.
8063
d8e0ca50
JM
80642012-02-05 Joseph Myers <joseph@codesourcery.com>
8065
8066 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
8067 Define.
8068 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
8069 LOAD_PIC_REG_STR.
8070
b1da7dd9
JM
80712012-02-03 Joseph Myers <joseph@codesourcery.com>
8072
8073 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
8074 (SETUP_PIC_REG): Use GET_PC_THUNK.
8075 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
8076 macro.
8077
9a1d9254
JM
80782012-02-03 Joseph Myers <joseph@codesourcery.com>
8079
8080 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
8081 for non-PIC compilation.
8082 (SETUP_PIC_REG): Add .p2align directive.
8083 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
8084 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8085 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8086 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8087 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8088 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8089 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8090 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8091 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8092 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8093 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8094 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8095 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8096 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8097 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8098 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8099 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8100 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8101 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8102 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8103 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8104 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8105 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8106 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8107 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8109 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8110 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8111 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8112 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8113 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8114 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8115 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8116 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8117 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8118 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8119 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8120 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8121 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8122 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8123 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8124
65dc3b75
JM
81252012-02-03 Joseph Myers <joseph@codesourcery.com>
8126
8127 * math/tst-CMPLX.c: Include <stdio.h>.
8128
d55bf177
JM
81292012-01-31 Joseph Myers <joseph@codesourcery.com>
8130
8131 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
8132 float.
8133 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8134 * sysdeps/sparc/bits/mathdef.h: Likewise.
8135
69db4f8f
MP
81362012-01-31 Marek Polacek <polacek@redhat.com>
8137
8138 * libio/libio.h: Don't define _PARAMS.
8139 * locale/programs/config.h: Don't define PARAMS.
8140 * stdlib/strtol_l.c: Likewise.
8141 (__strtol_l): Remove PARAMS from the prototype.
8142
41b81892
UD
81432012-01-31 Ulrich Drepper <drepper@gmail.com>
8144
3b49edc0
UD
8145 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
8146 names. Just use the correct names. Remove unnecessary wrapper
8147 functions.
8148 * malloc/arena.c: Likewise.
8149 * malloc/hooks.c: Likewise.
8150
41b81892
UD
8151 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
8152 ARENA_TEST says not to. Simplify test for creation of a new arena.
8153 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
8154
27a25b6e
UD
81552012-01-30 Ulrich Drepper <drepper@gmail.com>
8156
8157 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
8158 into tail calls.
8159 (update_get_addr): New function.
8160 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
8161 GET_ADDR_MODULE parameter.
8162
c8a89e7d
JM
81632012-01-30 Joseph Myers <joseph@codesourcery.com>
8164
8165 * crypt/cert.c: Remove __STDC__ conditionals.
8166 * crypt/crypt-entry.c: Likewise.
8167 * crypt/crypt_util.c: Likewise.
8168 * libio/filedoalloc.c: Likewise.
8169 * libio/fileops.c: Likewise.
8170 * libio/genops.c: Likewise.
8171 * libio/iofclose.c: Likewise.
8172 * libio/iofdopen.c: Likewise.
8173 * libio/iofopen.c: Likewise.
8174 * libio/iofopen64.c: Likewise.
8175 * libio/iogetdelim.c: Likewise.
8176 * libio/iopopen.c: Likewise.
8177 * libio/obprintf.c: Likewise.
8178 * libio/oldfileops.c: Likewise.
8179 * libio/oldiofclose.c: Likewise.
8180 * libio/oldiofdopen.c: Likewise.
8181 * libio/oldiofopen.c: Likewise.
8182 * libio/oldiopopen.c: Likewise.
8183 * libio/wfiledoalloc.c: Likewise.
8184 * libio/wgenops.c: Likewise.
8185 * locale/programs/xmalloc.c: Likewise.
8186 * misc/syslog.c: Likewise.
8187 * stdio-common/xbug.c: Likewise.
8188 * string/memchr.c: Likewise.
8189 * string/memcmp.c: Likewise.
8190 * string/memrchr.c: Likewise.
8191 * string/rawmemchr.c: Likewise.
8192 * sysdeps/posix/getcwd.c: Likewise.
8193 * time/strftime_l.c: Likewise.
8194
3b100462
JM
81952012-01-30 Joseph Myers <joseph@codesourcery.com>
8196
8197 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
8198 * config.make.in (config-cflags-sse2avx): Define.
8199 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
8200 Fix typo.
8201
607998af
CM
82022012-01-29 Chris Metcalf <cmetcalf@tilera.com>
8203
8204 * scripts/config.guess: Update from upstream config git repository.
8205 * scripts/config.sub: Likewise.
8206
3601428f
CM
82072012-01-28 Chris Metcalf <cmetcalf@tilera.com>
8208
3ac8b282
CM
8209 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
8210 (EM_NUM): Update.
8211 (R_TILEPRO_*, R_TILEGX_*): New macros.
8212
e034841e
CM
8213 * scripts/firstversions.awk: Fix bug in version range handling.
8214
540d7568
CM
8215 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
8216
3601428f
CM
8217 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
8218
463de862
CM
8219 * include/sys/epoll.h: New file.
8220 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
8221 libc_hidden_def.
8222
73139a76
UD
82232012-01-28 Ulrich Drepper <drepper@gmail.com>
8224
96bc5b45
UD
8225 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
8226 Avoid unnecessary __WORDSIZE == 64 test.
8227 (fmaxf): Use VEX format if possible.
8228 (fmax): Likewise.
8229 (fminf): Likewise.
8230 (fmin): Likewise.
8231
56f6f6a2
UD
8232 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
8233 * math/math_private.h: Remove libc_fegetround* and
8234 libc_fesetround*.
8235 * sysdeps/i386/configure.in: Check for -msse2avx.
8236 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
8237 also if SSE2AVX is defined.
8238 Remove libc_fegetround* and libc_fesetround*.
8239 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
8240 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
8241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
8242 of HAS_YMM_USABLE.
8243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8248
73139a76
UD
8249 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
8250
d73f93a4
AZ
82512012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8252
8253 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
8254 size is not set.
8255 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
8256
6ee65ed6
UD
82572012-01-27 Ulrich Drepper <drepper@gmail.com>
8258
8259 [BZ #13618]
8260 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
8261 relocation.
8262 * Makeconfig (libm): Define.
8263 * elf/Makefile: Add rules to build and run tst-relsort1.
8264 * elf/tst-relsort1.c: New file.
8265 * elf/tst-relsort1mod1.c: New file.
8266 * elf/tst-relsort1mod2.c: New file.
8267
8db21882
JM
82682012-01-27 Joseph Myers <joseph@codesourcery.com>
8269
8270 * math/s_ldexp.c: Remove __STDC__ conditionals.
8271 * math/s_ldexpf.c: Likewise.
8272 * math/s_ldexpl.c: Likewise.
8273 * math/s_nextafter.c: Likewise.
8274 * math/s_nexttowardf.c: Likewise.
8275 * math/s_significand.c: Likewise.
8276 * math/s_significandf.c: Likewise.
8277 * math/s_significandl.c: Likewise.
8278 * math/w_jnl.c: Likewise.
8279 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8280 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8281 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8282 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8283 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8288 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8289 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8298 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8299 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8301 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8303 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8306 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8307 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8308 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8309 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8310 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8311 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8312 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8313 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8314 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8315 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8316 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8317 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8318 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8319 * sysdeps/ieee754/k_standard.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8359 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
8363 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
8364 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8366 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8368 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8369 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8376 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8399 * sysdeps/ieee754/s_matherr.c: Likewise.
8400 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8401 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8402 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
8404
965a54a4
JM
84052012-01-26 Joseph Myers <joseph@codesourcery.com>
8406
8407 * crypt/md5.h: Remove __STDC__ conditionals.
8408 * libio/libioP.h: Likewise.
8409 * locale/programs/config.h: Likewise.
8410 * sysdeps/generic/sysdep.h: Likewise.
8411 * sysdeps/i386/asm-syntax.h: Likewise.
8412 * sysdeps/s390/asm-syntax.h: Likewise.
8413 * sysdeps/unix/sysdep.h: Likewise.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8416
7071ad79
JM
84172012-01-26 Joseph Myers <joseph@codesourcery.com>
8418
8419 * libio/libio.h: Remove __STDC__ conditionals.
8420 * malloc/obstack.h: Likewise.
8421 * math/complex.h: Likewise.
8422 * math/math.h: Likewise.
8423 * sysdeps/generic/_G_config.h: Likewise.
8424 * sysdeps/gnu/_G_config.h: Likewise.
8425 * sysdeps/mach/hurd/_G_config.h: Likewise.
8426 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8427 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8428 * sysdeps/sparc/bits/mathdef.h: Likewise.
8429
afc5ed09
UD
84302012-01-26 Ulrich Drepper <drepper@gmail.com>
8431
8432 [BZ #13583]
8433 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 8434 Clean up HAS_* macros.
afc5ed09 8435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
8436 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
8437 possible.
8438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
8439 HAS_AVX.
8440 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8442 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 8445
bdb6de1d
JM
84462012-01-25 Joseph Myers <joseph@codesourcery.com>
8447
8448 * elf/tst-unique3.cc (gets): Remove declaration.
8449 * elf/tst-unique3lib.cc (gets): Likewise.
8450 * elf/tst-unique3lib2.cc (gets): Likewise.
8451 * elf/tst-unique4.cc (gets): Likewise.
8452
b15549e6
UD
84532012-01-24 Ulrich Drepper <drepper@gmail.com>
8454
8455 * include/stdio.h: Add C++ protection. Add gets declarations and
8456 definitions.
8457 * debug/tst-chk1.c: Don't declare gets here.
8458 * stdio-common/tst-gets.c: Likewise.
8459
a037381f
JM
84602012-01-24 Joseph Myers <joseph@codesourcery.com>
8461
8462 * posix/glob: Remove directory.
8463
f1d4aa75
JM
84642012-01-24 Joseph Myers <joseph@codesourcery.com>
8465
8466 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
8467
81c0c964
PT
84682012-01-22 Pino Toscano <toscano.pino@tiscali.it>
8469
8470 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
8471 of the non-standard EPFNOSUPPORT.
8472
0ea698ae
ST
84732011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
8474
8475 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
8476 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
8477 ANYWHERE set to 1 only on KERN_NO_SPACE error.
8478
d220b117
UD
84792012-01-21 Ulrich Drepper <drepper@gmail.com>
8480
8481 * wcsmbs/uchar.h: Test __STDC_VERSION__.
8482
3e1aa84e
UD
84832012-01-20 Ulrich Drepper <drepper@gmail.com>
8484
8485 * nscd/aicache.c (addhstaiX): Do not cache negative results of
8486 transient errors.
8487 * nscd/grpcache.c (cache_addgr): Likewise.
8488 * nscd/hstcache.c (cache_addhst): Likewise.
8489 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8490 * nscd/pwdcache.c (cache_addpw): Likewise.
8491 * nscd/servicescache.c (cache_addserv): Likewise.
8492
400aa020
UD
84932012-01-16 Ulrich Drepper <drepper@gmail.com>
8494
d77e7869
UD
8495 * malloc/malloc.c: Various cleanups.
8496 * malloc/hooks.c: Likewise.
8497
400aa020
UD
8498 * stdlib/Makefile (tests): Add bug-fmtmsg1.
8499 * stdlib/bug-fmtmsg1.c: New file.
8500
8501 * stdlib/fmtmsg.c (init): Add missing unlock.
8502 Patch by Peng Haitao <penght@cn.fujitsu.com>.
8503
e0a309cf
MP
85042012-01-12 Marek Polacek <polacek@redhat.com>
8505
8506 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
8507 and _GNU_SOURCE.
8508
929d11c7
WS
85092012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8510
8511 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
8512 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
8513 macro to ensure uniqueness of label name.
8514 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
8515 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
8516
41d0e869
UD
85172012-01-11 Ulrich Drepper <drepper@gmail.com>
8518
0cc5ed3b
UD
8519 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
8520
41d0e869
UD
8521 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
8522 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8523 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
8525
a47a831a
UD
85262012-01-10 Ulrich Drepper <drepper@gmail.com>
8527
daa891c0
UD
8528 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
8529
8530 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
8531 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8532 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8533
e58ef0f2
UD
8534 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
8535
a47a831a 8536 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
8537 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8538 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 8539 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
8540
8541 * math/bits/math-finite.h: Add ldexp support.
8542
a0bfc9c7
MP
85432012-01-10 Marek Polacek <polacek@redhat.com>
8544
8545 * locale/programs/localedef.h (show_archive_content): Add noreturn
8546 attribute.
8547
d6e97a1d
UD
85482012-01-09 Ulrich Drepper <drepper@gmail.com>
8549
8550 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
8551
d5835c26
UD
85522012-01-08 Ulrich Drepper <drepper@gmail.com>
8553
e5f484c6
UD
8554 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
8555
d5835c26
UD
8556 * io/Makefile (headers): Add bits/poll2.h.
8557
d1f741e9
WS
85582011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
8559
8560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
8561 typo #include statement.
8562
ec09c1c4
UD
85632012-01-08 Ulrich Drepper <drepper@gmail.com>
8564
8565 * include/sys/cdefs.h: Define __attribute_alloc_size.
8566 * catgets/gencat.c: Add alloc_size attribute and apply consistently
8567 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
8568 * elf/pldd.c: Likewise.
8569 * iconv/iconv_charmap.c: Likewise.
8570 * iconv/iconvconfig.c: Likewise.
8571 * iconv/strtab.c: Likewise.
8572 * locale/programs/locale.c: Likewise.
8573 * locale/programs/localedef.h: Likewise.
8574 * locale/programs/simple-hash.c: Likewise.
8575 * nscd/nscd.h: Likewise.
8576 * nss/makedb.c: Likewise.
8577 * sysdeps/generic/ldconfig.h: Likewise.
8578 * locale/programs/localedef.c: Remove xmalloc prototype.
8579 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
8580
20b38e03
PP
85812012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8582
8583 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
8584 appropriate.
8585
a0da5fe1
UD
85862012-01-08 Ulrich Drepper <drepper@gmail.com>
8587
1d5a644a 8588 * math/Makefile (tests): Add tst-CMPLX.
669704fd 8589 * math/tst-CMPLX.c: New file.
1d5a644a 8590
8784a6db
UD
8591 * math/complex.h (CMPLXL): Fix typo.
8592
d9a216c0
UD
8593 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
8594 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
8595 GLIBC_2.16.
8596 * debug/tst-chk1.c: Add poll and ppoll tests.
8597 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
8598 * include/sys/poll.h: Add hidden proto for ppoll.
8599 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
8600 * sysdeps/mach/hurd/ppoll.c: Likewise.
8601 * io/ppoll.c: Likewise.
8602 * debug/poll_chk.c: New file.
8603 * debug/ppoll_chk.c: New file.
8604 * include/bits/poll2.h: New file.
8605 * io/bits/poll2.h: New file.
8606
ac097f5c
UD
8607 [BZ #1350]
8608 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
8609
2119dcfa
UD
8610 * configure.in: static is always set to yes. Remove.
8611 * config.make.in: Don't set build-static.
8612 * Makeconfig: Remove use of build-static.
8613 * dlfcn/Makefile: Likewise.
8614 * elf/Makefile: Likewise.
8615 * math/Makefile: Likewise.
8616 * misc/Makefile: Likewise.
8617 * nptl/Makefile: Likewise.
8618 * sysdeps/mach/hurd/Makefile: Likewise.
8619
121766a9
UD
8620 * configure.in: PWD_P is not used anymore.
8621 * config.make.in: Remove PWD_P entry.
8622
51a1d39c 8623 * configure.in: Remove last remnants of RANLIB.
8720d066 8624 No need to check for signed size_t anymore.
215f4bdc
UD
8625 Don't set libc_commonpagesize and libc_relro_required here for Alpha
8626 and IA-64.
3857022a 8627 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
8628 * aclocal.m4: Likewise.
8629
d3ed7225
UD
8630 * wcsmbs/mbrtoc16.c: Implement using towc function.
8631 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
8632 * wcsmbs/wcsmbsload.c: Likewise.
8633 * iconv/gconv_simple.c: Likewise.
8634 * iconv/gconv_int.h: Likewise.
8635 * iconv/gconv_builtin.h: Likewise.
8636 * iconv/iconv_prog.c: Remove CHAR16 handling.
8637
8638 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
8639
8640 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
8641
a0da5fe1
UD
8642 * configure.in: Remove --with-elf and --enable-bounded options.
8643 Dont set base_machine for ia64. More non-ELF conditions removed.
8644 Remove testing and setting of leading underscore information.
8645 * config.make.in (build-bounded): Set to no.
8646 * config.h.in: Remove NO_UNDERSCORES entry.
8647 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
8648 them.
8649 * csu/start.c: Remove !NO_UNDERSCORE code.
8650 * locale/localeinfo.h: Likewise.
8651 * sysdeps/generic/machine-gmon.h: Likewise.
8652 * sysdeps/generic/sysdep.h: Likewise.
8653 * sysdeps/i386/sysdep.h: Likewise.
8654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8655 * sysdeps/mach/sysdep.h: Likewise.
8656 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8658 * sysdeps/sh/sysdep.h: Likewise.
8659 * sysdeps/sparc/sparc32/alloca.S: Likewise.
8660 * sysdeps/unix/i386/sysdep.S: Likewise.
8661 * sysdeps/unix/sparc/start.c: Likewise.
8662 * sysdeps/unix/sparc/sysdep.S: Likewise.
8663 * sysdeps/unix/sparc/sysdep.h: Likewise.
8664 * sysdeps/unix/start.c: Likewise.
8665 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8666 * sysdeps/x86_64/sysdep.h: Likewise.
8667
df78418a
UD
86682012-01-07 Ulrich Drepper <drepper@gmail.com>
8669
a784e502
UD
8670 [BZ #13553]
8671 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
8672 for non-gcc.
8673 * argp/argp-fmtstream.h: Use const instead __const.
8674 * argp/argp.h: Likewise.
8675 * assert/assert.h: Likewise.
8676 * bits/fenv.h: Likewise.
8677 * bits/sched.h: Likewise.
8678 * bits/sigset.h: Likewise.
8679 * bits/sigthread.h: Likewise.
8680 * catgets/nl_types.h: Likewise.
8681 * conform/data/pthread.h-data: Likewise.
8682 * crypt/crypt-private.h: Likewise.
8683 * crypt/crypt.h: Likewise.
8684 * crypt/crypt_util.c: Likewise.
8685 * ctype/ctype.h: Likewise.
8686 * debug/execinfo.h: Likewise.
8687 * debug/mbsnrtowcs_chk.c: Likewise.
8688 * debug/mbsrtowcs_chk.c: Likewise.
8689 * debug/wcsnrtombs_chk.c: Likewise.
8690 * debug/wcsrtombs_chk.c: Likewise.
8691 * debug/wcstombs_chk.c: Likewise.
8692 * dirent/dirent.h: Likewise.
8693 * dlfcn/dlfcn.h: Likewise.
8694 * elf/neededtest4.c: Likewise.
8695 * grp/grp.h: Likewise.
8696 * gshadow/gshadow.h: Likewise.
8697 * iconv/gconv.h: Likewise.
8698 * iconv/gconv_int.h: Likewise.
8699 * iconv/gconv_simple.c: Likewise.
8700 * iconv/iconv.h: Likewise.
8701 * iconv/loop.c: Likewise.
8702 * iconv/skeleton.c: Likewise.
8703 * include/aio.h: Likewise.
8704 * include/aliases.h: Likewise.
8705 * include/argz.h: Likewise.
8706 * include/arpa/inet.h: Likewise.
8707 * include/assert.h: Likewise.
8708 * include/dirent.h: Likewise.
8709 * include/dlfcn.h: Likewise.
8710 * include/execinfo.h: Likewise.
8711 * include/fcntl.h: Likewise.
8712 * include/fenv.h: Likewise.
8713 * include/glob.h: Likewise.
8714 * include/grp.h: Likewise.
8715 * include/libintl.h: Likewise.
8716 * include/mntent.h: Likewise.
8717 * include/netdb.h: Likewise.
8718 * include/pwd.h: Likewise.
8719 * include/rpc/netdb.h: Likewise.
8720 * include/sched.h: Likewise.
8721 * include/search.h: Likewise.
8722 * include/shadow.h: Likewise.
8723 * include/signal.h: Likewise.
8724 * include/stdio.h: Likewise.
8725 * include/stdlib.h: Likewise.
8726 * include/string.h: Likewise.
8727 * include/sys/socket.h: Likewise.
8728 * include/sys/stat.h: Likewise.
8729 * include/sys/statfs.h: Likewise.
8730 * include/sys/statvfs.h: Likewise.
8731 * include/sys/syslog.h: Likewise.
8732 * include/sys/time.h: Likewise.
8733 * include/sys/uio.h: Likewise.
8734 * include/time.h: Likewise.
8735 * include/unistd.h: Likewise.
8736 * include/utmp.h: Likewise.
8737 * include/wchar.h: Likewise.
8738 * include/wctype.h: Likewise.
8739 * inet/aliases.h: Likewise.
8740 * inet/arpa/inet.h: Likewise.
8741 * inet/netinet/ether.h: Likewise.
8742 * inet/netinet/in.h: Likewise.
8743 * intl/libintl.h: Likewise.
8744 * io/bits/fcntl2.h: Likewise.
8745 * io/fcntl.h: Likewise.
8746 * io/ftw.h: Likewise.
8747 * io/sys/poll.h: Likewise.
8748 * io/sys/stat.h: Likewise.
8749 * io/sys/statfs.h: Likewise.
8750 * io/sys/statvfs.h: Likewise.
8751 * io/utime.h: Likewise.
8752 * libio/bits/stdio.h: Likewise.
8753 * libio/bits/stdio2.h: Likewise.
8754 * libio/libio.h: Likewise.
8755 * libio/libioP.h: Likewise.
8756 * libio/stdio.h: Likewise.
8757 * locale/lc-ctype.c: Likewise.
8758 * locale/locale.h: Likewise.
8759 * login/utmp.h: Likewise.
8760 * malloc/arena.c: Likewise.
8761 * malloc/malloc.c: Likewise.
8762 * malloc/malloc.h: Likewise.
8763 * malloc/mcheck.c: Likewise.
8764 * malloc/mtrace.c: Likewise.
8765 * math/bits/mathcalls.h: Likewise.
8766 * math/fenv.h: Likewise.
8767 * math/math_private.h: Likewise.
8768 * misc/bits/error.h: Likewise.
8769 * misc/bits/syslog.h: Likewise.
8770 * misc/err.h: Likewise.
8771 * misc/error.h: Likewise.
8772 * misc/fstab.h: Likewise.
8773 * misc/mntent.h: Likewise.
8774 * misc/regexp.h: Likewise.
8775 * misc/search.h: Likewise.
8776 * misc/sgtty.h: Likewise.
8777 * misc/sys/mman.h: Likewise.
8778 * misc/sys/syslog.h: Likewise.
8779 * misc/sys/uio.h: Likewise.
8780 * misc/sys/xattr.h: Likewise.
8781 * misc/ttyent.h: Likewise.
8782 * nis/rpcsvc/ypclnt.h: Likewise.
8783 * nss/nss.h: Likewise.
8784 * posix/bits/unistd.h: Likewise.
8785 * posix/fnmatch.h: Likewise.
8786 * posix/glob.h: Likewise.
8787 * posix/sched.h: Likewise.
8788 * posix/spawn.h: Likewise.
8789 * posix/sys/wait.h: Likewise.
8790 * posix/unistd.h: Likewise.
8791 * posix/wordexp.h: Likewise.
8792 * pwd/pwd.h: Likewise.
8793 * resolv/netdb.h: Likewise.
8794 * resource/sys/resource.h: Likewise.
8795 * rt/aio.h: Likewise.
8796 * rt/bits/mqueue2.h: Likewise.
8797 * rt/mqueue.h: Likewise.
8798 * shadow/shadow.h: Likewise.
8799 * signal/signal.h: Likewise.
8800 * socket/send.c: Likewise.
8801 * socket/sendto.c: Likewise.
8802 * socket/sys/socket.h: Likewise.
8803 * stdio-common/printf.h: Likewise.
8804 * stdlib/bits/stdlib.h: Likewise.
8805 * stdlib/fmtmsg.h: Likewise.
8806 * stdlib/monetary.h: Likewise.
8807 * stdlib/stdlib.h: Likewise.
8808 * stdlib/ucontext.h: Likewise.
8809 * streams/stropts.h: Likewise.
8810 * string/argz.h: Likewise.
8811 * string/bits/string2.h: Likewise.
8812 * string/string.h: Likewise.
8813 * string/strings.h: Likewise.
8814 * sunrpc/rpc/auth.h: Likewise.
8815 * sunrpc/rpc/auth_des.h: Likewise.
8816 * sunrpc/rpc/clnt.h: Likewise.
8817 * sunrpc/rpc/netdb.h: Likewise.
8818 * sunrpc/rpc/pmap_clnt.h: Likewise.
8819 * sunrpc/rpc/xdr.h: Likewise.
8820 * sysdeps/generic/inttypes.h: Likewise.
8821 * sysdeps/generic/net/if.h: Likewise.
8822 * sysdeps/generic/sys/swap.h: Likewise.
8823 * sysdeps/gnu/net/if.h: Likewise.
8824 * sysdeps/gnu/utmpx.h: Likewise.
8825 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
8826 * sysdeps/i386/i486/bits/string.h: Likewise.
8827 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
8828 * sysdeps/s390/bits/string.h: Likewise.
8829 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
8830 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
8831 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
8832 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
8833 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
8834 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
8835 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
8836 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
8837 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
8838 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
8839 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
8840 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
8841 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
8842 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
8843 * sysdeps/unix/sysv/linux/readv.c: Likewise.
8844 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
8845 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8847 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
8850 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
8851 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
8852 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
8853 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
8854 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
8855 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
8856 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
8857 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
8858 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
8859 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
8860 * sysvipc/sys/ipc.h: Likewise.
8861 * sysvipc/sys/msg.h: Likewise.
8862 * sysvipc/sys/sem.h: Likewise.
8863 * sysvipc/sys/shm.h: Likewise.
8864 * termios/termios.h: Likewise.
8865 * time/sys/time.h: Likewise.
8866 * time/time.h: Likewise.
8867 * wcsmbs/bits/wchar2.h: Likewise.
8868 * wcsmbs/uchar.h: Likewise.
8869 * wcsmbs/wchar.h: Likewise.
8870 * wctype/wctype.h: Likewise.
8871
0269750c
UD
8872 [BZ #13551]
8873 * Makeconfig: Remove all but ELF support including AIX support.
8874 * Makerules: Likewise.
8875 * config.h.in: Likewise.
8876 * config.make.in: Likewise.
8877 * configure: Likewise.
8878 * configure.in: Likewise.
8879 * csu/Makefile: Likewise.
8880 * csu/version.c: Likewise.
8881 * debug/Makefile: Likewise.
8882 * dlfcn/Makefile: Likewise.
8883 * elf/Makefile: Likewise.
8884 * extra-lib.mk: Likewise.
8885 * iconv/Makefile: Likewise.
8886 * include/libc-symbols.h: Likewise.
8887 * include/shlib-compat.h: Likewise.
8888 * resolv/Makefile: Likewise.
8889 * resolv/res_libc.c: Likewise.
8890 * rt/Makefile: Likewise.
8891 * sysdeps/i386/asm-syntax.h: Likewise.
8892 * sysdeps/i386/sysdep.h: Likewise.
8893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
8894 * sysdeps/mach/sysdep.h: Likewise.
8895 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
8896 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
8897 * sysdeps/s390/asm-syntax.h: Likewise.
8898 * sysdeps/s390/s390-32/sysdep.h: Likewise.
8899 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8900 * sysdeps/sh/sysdep.h: Likewise.
8901 * sysdeps/unix/sparc/sysdep.h: Likewise.
8902 * sysdeps/wordsize-32/divdi3.c: Likewise.
8903 * sysdeps/x86_64/sysdep.h: Likewise.
8904
00bbd29b
UD
8905 * argp/Versions: Remove _argp_unlock_xxx.
8906
8907 [BZ #13559]
8908 * abilist/ld.abilist: Update. Adjust for removal of tls option.
8909 * abilist/libBrokenLocale.abilist: Likewise.
8910 * abilist/libanl.abilist: Likewise.
8911 * abilist/libc.abilist: Likewise.
8912 * abilist/libcrypt.abilist: Likewise.
8913 * abilist/libdl.abilist: Likewise.
8914 * abilist/libm.abilist: Likewise.
8915 * abilist/libnsl.abilist: Likewise.
8916 * abilist/libpthread.abilist: Likewise.
8917 * abilist/libresolv.abilist: Likewise.
8918 * abilist/librt.abilist: Likewise.
8919 * abilist/libthread_db.abilist: Likewise.
8920 * abilist/libutil.abilist: Likewise.
8921 * abilist/libnss_db.abilist: New file.
8922
8923 * scripts/abilist.awk: Add support for indirect functions.
8924
a2693a0e
UD
8925 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
8926
3f05895f
UD
8927 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
8928
ecb6fb48
UD
8929 * shlib-versions: Remove entries for ports architectures.
8930
664f8cb9
UD
8931 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
8932 files in ports.
8933 * elf/stackguard-macros.h: Remove support for IA-64.
8934 * elf/tst-auditmod1.c: Likewise.
8935 * sysdeps/generic/ldsodefs.h: Likewise.
8936
7ae81d88
UD
8937 * sysdeps/unix/sysv/linux/configure.in: Ports should define
8938 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
8939 configure files.
8940
bdeba135
UD
8941 [BZ #13552]
8942 * configure.in: Remove --enable-omitfp support.
8943 * FAQ.in: Adjust.
8944 * config.make.in: Likewise.
8945 * Makeconfig: Likewise.
8946 * manual/install.texi: Likewise.
8947
d75a0a62
UD
8948 In case anyone cares, the IA-64 architecture could move to ports.
8949 * sysdeps/ia64/*: Removed.
8950 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 8951 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 8952
dcc9756b
UD
8953 [BZ #13555]
8954 * configure.in: Remove entries for unsupported architectures.
8955
d3761ebc 8956 [BZ #13533]
9954432e
UD
8957 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
8958 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
8959 routines.
8960 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
8961 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
8962 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
8963 fall back to using wcrtomb.
8964 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
8965 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
8966 renaming.
8967 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
8968 * wcsmbs/tst-c16c32-1.c: New file.
8969
8970 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
8971 local variable.
8972
c3a87236
UD
8973 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
8974
28926a1b
UD
8975 * elf/tst-unique3.cc: Add explicit declaration of gets.
8976 * elf/tst-unique3lib.cc: Likewise.
8977 * elf/tst-unique3lib2.cc: Likewise.
8978 * elf/tst-unique4.cc: Likewise.
8979
df78418a
UD
8980 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
8981
8ecd6b2a
JM
89822012-01-06 Joseph Myers <joseph@codesourcery.com>
8983
8984 [BZ #13566]
8985 * assert/assert.h (static_assert): Don't define for C++.
8986 * libio/stdio.h (gets): Do declare for C++ <= C++11.
8987 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
8988
9f115170
UD
89892012-01-03 Ulrich Drepper <drepper@gmail.com>
8990
5e0d0300
UD
8991 * iconv/loop.c (single loop): Fix assertion in storing of
8992 remaining bytes.
8993
9f115170
UD
8994 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
8995
81fb02b0
UD
89962012-01-01 Ulrich Drepper <drepper@gmail.com>
8997
8998 * posix/getconf.c: Update copyright year.
8999 * nss/getent.c: Likewise.
a316c1f6 9000 * nss/makedb.c: Likewise.
81fb02b0
UD
9001 * iconv/iconvconfig.c: Likewise.
9002 * iconv/iconv_prog.c: Likewise.
9003 * elf/ldconfig.c: Likewise.
a316c1f6
UD
9004 * elf/pldd.c: Likewise.
9005 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
9006 * catgets/gencat.c: Likewise.
9007 * csu/version.c: Likewise.
9008 * elf/ldd.bash.in: Likewise.
9009 * elf/sprof.c (print_version): Likewise.
9010 * locale/programs/locale.c: Likewise.
9011 * locale/programs/localedef.c: Likewise.
a316c1f6 9012 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
9013 * nscd/nscd.c (print_version): Likewise.
9014 * debug/xtrace.sh: Likewise.
9015 * malloc/memusage.sh: Likewise.
9016 * malloc/mtrace.pl: Likewise.
9017 * debug/catchsegv.sh: Likewise.
9018
2ba92745
JJ
90192011-12-30 Jakub Jelinek <jakub@redhat.com>
9020
9021 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
9022 pure attribute.
9023
dadebdae
UD
90242011-12-24 Ulrich Drepper <drepper@gmail.com>
9025
d3761ebc 9026 [BZ #13533]
db6af3eb
UD
9027 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
9028 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
9029 transformations.
9030 * iconv/gconv_int.h: Likewise.
9031 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
9032 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
9033 from libc for GLIBC_2.16.
9034 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
9035 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
9036 * wcsmbs/uchar.h: Really define mbstate_t.
9037 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
9038 * wcsmbs/c16rtomb.c: New file.
9039 * wcsmbs/mbrtoc16.c: New file.
9040 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
9041 for C/POSIX locale.
9042 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
9043 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
9044
dadebdae
UD
9045 * wcsmbs/wchar.h: Add missing __restrict.
9046
67371b56
UD
90472011-12-23 Ulrich Drepper <drepper@gmail.com>
9048
74033a25
UD
9049 [BZ #13532]
9050 * time/Makefile (routines): Add timespec_get.
9051 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
9052 * time/time.h: Define TIME_UTC and declare timespec_get. Define
9053 timespec for ISO C11.
9054 * time/timespec_get.c: New file.
9055 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
9056 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
9057
380d7e87
UD
9058 [BZ #13531]
9059 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
9060 * stdlib/stdlib.h: Declare aligned_alloc.
9061 * Versions.def: Add GLIBC_2.16 for libc.
9062 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
9063
4e9e7a35
UD
9064 [BZ 13527]
9065 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
9066 ISO C11.
9067
380d7e87 9068 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
9069 code.
9070
03a71829
UD
9071 [BZ #13528]
9072 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
9073
839e283e
UD
9074 [BZ #13529]
9075 * assert/assert.h (static_assert): Define.
9076
ce5294e2 9077 * version.h: Update for 2.16 development version.
90fa7312 9078
8d44e150 9079 [BZ #13526]
d7809905
UD
9080 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
9081 _ISOC11_SOURCE.
9082
c0da14cd
UD
9083 * version.h (RELEASE): Bump for 2.15 release.
9084 * include/features.h (__GLIBC_MINOR__): Bump to 15.
9085
530a3249
MP
9086 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
9087 Patch by Marek Polacek <mpolacek@redhat.com>.
9088
67371b56
UD
9089 * bits/byteswap.h: Protect long long constants with __extension__.
9090 * sysdeps/i386/bits/byteswap.h: Likewise.
9091 * sysdeps/ia64/bits/byteswap.h: Likewise.
9092 * sysdeps/s390/bits/byteswap.h: Likewise.
9093 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9094
15db4de1
LD
90952011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9096
9097 [BZ #13540]
bbe315ea
LD
9098 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
9099 destination buffer.
15db4de1
LD
9100 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9101
2b2596b1
MP
91022011-12-23 Marek Polacek <polacek@redhat.com>
9103
9104 * elf/dl-addr.c (determine_info): Add inline keyword.
9105 * elf/tst-auditmod4b.c (check_avx): Likewise.
9106 * elf/tst-auditmod6b.c (check_avx): Likewise.
9107 * elf/tst-auditmod6c.c (check_avx): Likewise.
9108 * elf/tst-auditmod7b.c (check_avx): Likewise.
9109
70c6c246
UD
91102011-12-23 Ulrich Drepper <drepper@gmail.com>
9111
9112 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
9113 !__SSE_MATH__.
9114
c044cf14
LD
91152011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9116
15db4de1 9117 [BZ #13540]
c044cf14
LD
9118 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
9119 processing for last bytes.
9120
6b13d9d9
BH
91212011-08-06 Bruno Haible <bruno@clisp.org>
9122
d455f537
BH
9123 [BZ #13061]
9124 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
9125 U+0385, not to U+1FEE.
9126
6b13d9d9
BH
9127 [BZ #13062]
9128 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
9129 entry for U+00A5 U+0301.
9130
db910efd
UD
91312011-12-22 Ulrich Drepper <drepper@gmail.com>
9132
27deeafc
UD
9133 [BZ #13166]
9134 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
9135 buffer for the output is too small.
9136
aed9d171
UD
9137 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
9138 optimization.
9139
db910efd
UD
9140 [BZ #13185]
9141 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
9142 SSE flags if possible.
9143
2bd779ae
LD
91442011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9145
e7f9dac3 9146 [BZ #13540]
2bd779ae
LD
9147 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
9148 processing for last bytes.
9149
154bfc16
JM
91502011-12-22 Joseph Myers <joseph@codesourcery.com>
9151
9152 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
9153 (syscall-list-default-options, syscall-list-default-condition)
9154 (syscall-list-includes): Define.
9155 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
9156 list of ABIs and options and #if conditions for each ABI. Do not
9157 handle common syscalls between ABIs specially.
9158 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
9159 Remove.
9160 (syscall-list-variants, syscall-list-32bit-options)
9161 (syscall-list-32bit-condition, syscall-list-64bit-options)
9162 (syscall-list-64bit-condition): Define.
9163 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
9164 (syscall-list-variants, syscall-list-32bit-options)
9165 (syscall-list-32bit-condition, syscall-list-64bit-options)
9166 (syscall-list-64bit-condition): Define.
9167 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
9168 Remove.
9169 (syscall-list-variants, syscall-list-32bit-options)
9170 (syscall-list-32bit-condition, syscall-list-64bit-options)
9171 (syscall-list-64bit-condition): Define.
9172 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
9173 Remove.
9174 (syscall-list-variants, syscall-list-32bit-options)
9175 (syscall-list-32bit-condition, syscall-list-64bit-options)
9176 (syscall-list-64bit-condition): Define.
9177
21eaf3a5
UD
91782011-12-22 Ulrich Drepper <drepper@gmail.com>
9179
16c6f992
UD
9180 * locale/iso-639.def: Add brx entry.
9181
41043168
UD
9182 [BZ #13328]
9183 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
9184 Proposed by Mariusz_Cukr <marcukr@op.pl>.
9185
21eaf3a5
UD
9186 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
9187 __feraiseexcept_renamed.
9188
e3a851a2
UD
91892011-12-21 Ulrich Drepper <drepper@gmail.com>
9190
4920765e
UD
9191 [BZ #13538]
9192 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
9193 EPOLLET with unsigned values.
9194 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9195 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
9196
e3a851a2
UD
9197 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
9198 to large cancellation.
9199 * math/s_cacoshf.c: Likewise.
9200 * math/s_cacoshl.c: Likewise.
9201
b27e24b8
RK
92022011-11-18 Richard B. Kreckel <kreckel@ginac.de>
9203
9204 [BZ #13305]
aebefeee 9205 [BZ #12786]
b27e24b8
RK
9206 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
9207 * math/s_cacoshf.c: Likewise.
9208 * math/s_cacoshl.c: Likewise.
9209
ee190f67
UD
92102011-12-21 Ulrich Drepper <drepper@gmail.com>
9211
9212 [BZ #13439]
9213 * iconv/gconv.h: Define __GCONV_SWAP.
9214 * iconvdata/unicode.c: The swap bit must be stored in __flags.
9215 * iconvdata/utf-16.c: Likewise.
9216 * iconvdata/utf-32.c: Likewise.
9217
707f25df
AS
92182011-12-21 Andreas Schwab <schwab@linux-m68k.org>
9219
9220 [BZ #13524]
9221 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
9222 numerator after shifting it by one limb.
9223
d2daaa1e
RÁE
92242011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
9225
9226 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
9227 under [__USE_EXTERN_INLINES].
9228
a4647e72
UD
92292011-12-17 Ulrich Drepper <drepper@gmail.com>
9230
9231 [BZ #13446]
9232 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
9233
f0b264f1
AZ
92342011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9235
9236 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
9237 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
9238 optimized code.
9239 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
9240 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
9241 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
9242 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
9243 for strncasecmp/strncasecmp_l compilation.
9244 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
9245 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
9246
8ef4f244
MP
92472011-12-08 Marek Polacek <mpolacek@redhat.com>
9248
9249 [BZ #13484]
9250 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
9251 of __asm__.
9252
97ac2654
UD
92532011-12-17 Ulrich Drepper <drepper@gmail.com>
9254
9255 [BZ #13506]
9256 * time/tzfile.c (__tzfile_read): Check values from file header.
9257
91d2a845
WS
92582011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9259
9260 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
9261 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
9262 * powerpc/powerpc32/dl-start.S: Likewise.
9263 * powerpc/powerpc32/elf/start.S: Likewise.
9264 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9265 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
9266 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
9267 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
9268 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9269 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
9270 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
9271 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9272 * powerpc/powerpc32/fpu/s_round.S: Likewise.
9273 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9274 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9275 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9276 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9277 * powerpc/powerpc32/memset.S: Likewise.
9278 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9279 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9280 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9281 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9282 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9283 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9284 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9285 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9286 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
9287 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
9288 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
9289 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
9290 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
9291
a1267ba1
AZ
92922011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9293
9294 * math/libm-test.inc: Added more nearbyint tests.
9295 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
9296 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
9297 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
9298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
9299
ad8ac1bd
RL
93002011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
9301
9302 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
9303 FD_CLOEXEC.
9304
1d3e4b61
UD
93052011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9306
9307 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
9308 Add wcscpy-ssse3 wcscpy-c.
9309 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
9310 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
9311 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
9312 * sysdeps/x86_64/wcschr.S: New file.
9313 * sysdeps/x86_64/wcsrchr.S: New file.
9314 * string/test-strcmp.c: Remove checking of wcscmp function for
9315 wrong alignments.
9316 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
9317 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
9318 wcsrchr-sse2 wcsrchr-c.
9319 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
9320 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
9321 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
9322 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
9323 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
9324 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
9325 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
9326 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
9327 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
9328 * wcsmbc/wcschr.c (WCSCHR): New macro.
9329
5b330a2d
UD
93302011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9331
9332 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
9333 * wcsmbs/test-wcsrchr.c: New file.
9334 * string/test-strrchr.c: Add wcsrchr support.
9335 (WIDE): New macro.
9336 * wcsmbs/test-wcscpy.c: New file.
9337 * string/test-strcpy.c: Add wcscpy support.
9338 (WIDE): New macro.
26428b7c 9339
f039c043
UD
93402011-12-10 Ulrich Drepper <drepper@gmail.com>
9341
9342 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
9343 the inner loop.
9344
850fb039
AS
93452011-12-06 Andreas Schwab <schwab@linux-m68k.org>
9346
9347 [BZ #13472]
9348 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
9349
4efbd5cb
UD
93502011-12-04 Ulrich Drepper <drepper@gmail.com>
9351
52ff5dd0 9352 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 9353 Minor optimizations.
52ff5dd0 9354
4efbd5cb
UD
9355 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
9356 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
9357 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9358
8a426e12
UD
93592011-12-03 Ulrich Drepper <drepper@gmail.com>
9360
aff2453d
UD
9361 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
9362 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
9363 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
9364 for gcc to avoid warnings.
9365 * inet/Makefile (tests): Add tst-checks.
9366 * inet/tst-checks.c: New file.
9367
9368 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
9369 warning.
9370
9371 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
9372 __wmemcmp_sse2.
9373
9374 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
9375 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
9376
8a426e12
UD
9377 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
9378
9bea3473
UD
93792011-12-02 Ulrich Drepper <drepper@gmail.com>
9380
3a965496
UD
9381 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
9382 problem.
9383
9bea3473
UD
9384 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
9385
f101631b
UD
93862011-11-29 Joseph Myers <joseph@codesourcery.com>
9387
9388 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
9389 conditional on GCC version.
9390 (__arch_compare_and_exchange_val_8_acq)
9391 (__arch_compare_and_exchange_val_16_acq)
9392 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
9393 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
9394 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
9395
a98275aa
UD
93962011-12-02 Joseph Myers <joseph@codesourcery.com>
9397
9398 * sysdeps/sh/backtrace.c: New file.
9399
d4cc29a2
AS
94002011-12-02 Andreas Schwab <schwab@redhat.com>
9401
9402 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
9403 parenthesis.
9404
6257af2d
AS
94052011-12-01 Andreas Schwab <schwab@redhat.com>
9406
9407 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
9408 falling back to utime.
9409
b5f44c1a
AS
94102011-11-30 Andreas Schwab <schwab@redhat.com>
9411
9412 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
9413 expectations for float.
9414
f3a6cc0a
AS
94152011-11-29 Andreas Schwab <schwab@redhat.com>
9416
9417 * locale/weight.h (findidx): Add parameter len.
9418 * locale/weightwc.h (findidx): Likewise.
9419 * posix/fnmatch_loop.c (FCT): Adjust caller.
9420 * posix/regcomp.c (build_equiv_class): Likewise.
9421 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
9422 * posix/regexec.c (check_node_accept_bytes): Likewise.
9423 * string/strcoll_l.c (STRCOLL): Likewise.
9424 * string/strxfrm_l.c (STRXFRM): Likewise.
9425
9d65ea3a
UD
94262011-11-17 Ulrich Drepper <drepper@gmail.com>
9427
9428 * Makefile.in: Remove CVSOPT handling.
9429 * configure.in: Remove use of AC_REVISION.
9430 * iconvdata/Makefile (distribute): No need to filter out CVS.
9431 * scripts/list-sources.sh: Remove CVS, subversion and monotone
9432 handling.
9433
5583a086
AS
94342011-11-16 Andreas Schwab <schwab@redhat.com>
9435
9436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
9437 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
9438 [USE_AS_STRNCASECMP_L]: Likewise.
9439 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
9440 NO_TLS_DIRECT_SEG_REFS.
9441 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
9442 Fix argument offsets for non-PIC.
9443 [USE_AS_STRNCASECMP_L]: Likewise.
9444 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
9445 NO_TLS_DIRECT_SEG_REFS.
9446
d62a8200
UD
94472011-11-15 Ulrich Drepper <drepper@gmail.com>
9448
9d65ea3a 9449 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
9450 O_CLOEXEC.
9451 * locale/loadlocale.c (_nl_load_locale): Likewise.
9452
09f93bd3
AS
94532011-11-15 Andreas Schwab <schwab@redhat.com>
9454
446514f9
AS
9455 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
9456 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
9457 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
9458 (SYSCALL_GETTIME): Set errno on error.
9459
09f93bd3
AS
9460 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
9461 count references to noai6ai_cached.
9462
312be3f9
UD
94632011-11-15 Ulrich Drepper <drepper@gmail.com>
9464
9465 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
9466
9467 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
9468 FD_CLOEXEC for /proc/self/maps.
9469
9470 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
9471 FD_CLOEXEC for /proc/meminfo.
9472
9473 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
9474 gai.conf.
9475
9476 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
9477 FD_CLOEXEC for given file.
9478
9479 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
9480
9481 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
9482 FD_CLOEXEC for /etc/hosts.
9483 (_gethtent): Likewise.
9484
9485 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
9486
9487 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
9488 cancellation and set FD_CLOEXEC for /etc/netgroup.
9489
9490 * nss/nss_files/files-key.c (search): Don't allow cancellation when
9491 reading /etc/publickey.
9492
9493 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
9494 allow cancellation when reading /etc/group.
9495
9496 * nss/nss_files/files-alias.c (internal_setent): Don't allow
9497 cancellation.
9498 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
9499
9500 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
9501 when using data file.
9502
9503 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
9504
9505 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
9506 (write_nis_obj): Use "c" and "e" in fopen.
9507
9508 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
9509
9510 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
9511
9512 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
9513
9514 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
9515
9516 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
9517 locale.alias.
9518
9519 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
9520
9521 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
9522
9523 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
9524
9525 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
9526 file parsing and set FD_CLOEXEC.
9527
82af0fa8
UD
95282011-11-14 Ulrich Drepper <drepper@gmail.com>
9529
9530 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
9531
a5fb313c
AS
95322011-11-14 Andreas Schwab <schwab@redhat.com>
9533
9534 * malloc/arena.c (arena_get2): Don't call reused_arena when
9535 _int_new_arena failed.
9536
6abf3465
UD
95372011-11-14 Ulrich Drepper <drepper@gmail.com>
9538
9539 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
9540 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
9541 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
9542 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9543 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9544 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
9545 to compile strcasecmp and strncasecmp.
9546 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
9547 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
9548
9549 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
9550
76e3966e
UD
95512011-11-13 Ulrich Drepper <drepper@gmail.com>
9552
9553 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
9554 locale-defines.sym to gen-as-const-headers.
9555 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
9556 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
9557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
9558 to compile strcasecmp and strncasecmp.
9559 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
9560 strcasecmp_l and strncasecmp_l.
9561 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
9562 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
9563 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
9564 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
9565 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
9566 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
9567 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
9568 * sysdeps/i386/i686/multiarch/strncase.S: New file.
9569 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
9570 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
9571 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
9572
ab26144e
UD
95732011-11-12 Ulrich Drepper <drepper@gmail.com>
9574
7edb22ef
UD
9575 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
9576 result of SYSDEP_GETTIME_CPU to retval.
9577 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
9578 parameter list to macro. Remove trailing semicolon. Adjust users.
9579
9694fc44
UD
9580 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
9581 variable.
9582
8ad89ef8
UD
9583 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
9584 mantissa words.
9585 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9586
0c822ef9
UD
9587 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
9588 from unused variable.
9589
874e0564
UD
9590 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
9591 DWARF definitions.
9592 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
9593 for assembling.
9594
3a2edc79
UD
9595 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
9596 over namespaces.
9597
f3c2577f
UD
9598 * sunrpc/rpc_prot.c (rejected): Fix case value.
9599
294ce126
UD
9600 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
9601 unsigned long long int to avoid warnings in shift.
9602
5e2b63c6
UD
9603 * posix/regex_internal.c (re_string_reconstruct): Actually use result
9604 of use of trans.
9605 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
9606 variable tmp.
9607
e7f4b08e
UD
9608 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
9609 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
9610 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
9611
ab26144e
UD
9612 * nis/nis_table.c (nis_list): Use variable of correct type for
9613 result of __follow_path call.
9614
8a6d5255
AZ
96152011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9616
9617 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
9618 of math functions ceil, trunc, floor, round, and sqrt, when
9619 avaliable on the platform.
9620 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
9621 name clash.
9622 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9623 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9624 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9625
aaddc98c
MP
96262011-10-30 Marek Polacek <mpolacek@redhat.com>
9627
9628 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
9629 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9630
95b7042b
RM
96312011-11-11 Roland McGrath <roland@hack.frob.com>
9632
9633 * include/unistd.h: Fix __readlink return type.
9634 Reported by Chris Metcalf <cmetcalf@tilera.com>.
9635
57769839
UD
96362011-11-11 Ulrich Drepper <drepper@gmail.com>
9637
9638 * stdlib/ucontext.h: Undo last change for makecontext.
9639
edc5984d
AS
96402011-11-11 Andreas Schwab <schwab@redhat.com>
9641
98591e58
AS
9642 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
9643
edc5984d
AS
9644 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
9645 * setjmp/setjmp.h: Mark functions as non-leaf.
9646 * setjmp/bits/setjmp2.h: Likewise.
9647 * stdlib/ucontext.h: Likewise.
9648
77cdc054
AS
96492011-11-10 Andreas Schwab <schwab@redhat.com>
9650
9651 * malloc/arena.c (_int_new_arena): Don't increment narenas.
9652 (reused_arena): Don't check arena limit.
9653 (arena_get2): Atomically check arena limit.
9654
fe72eebd
UD
96552011-11-08 Ulrich Drepper <drepper@gmail.com>
9656
5f078c32
UD
9657 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
9658 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
9659
fe72eebd
UD
9660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
9661 instructions.
9662
ae1bc2fa
AS
96632011-11-07 Andreas Schwab <schwab@redhat.com>
9664
7583a88d
AS
9665 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
9666 handler when locking.
9667
ae1bc2fa
AS
9668 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9669 Fix size of allocated buffer.
9670
10fb0bfa
AS
96712011-11-04 Andreas Schwab <schwab@redhat.com>
9672
998832a4
AS
9673 [BZ #10103]
9674 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
9675 declarations for long double functions.
9676 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
9677
10fb0bfa
AS
9678 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
9679
3d7ba52b
AS
96802011-11-03 Andreas Schwab <schwab@redhat.com>
9681
a9ae54a1
AS
9682 * nscd/nscd.c (main): Don't start AVC thread until credentials are
9683 installed.
9684
3d7ba52b
AS
9685 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
9686 is disabled.
9687
bc8db248
ST
96882011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
9689
9690 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
9691
45b96dd6
AS
96922011-11-01 Andreas Schwab <schwab@linux-m68k.org>
9693
647776f6
AS
9694 * include/alloca.h (stackinfo_alloca_round): Define.
9695 (extend_alloca): Use it.
9696 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
9697 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
9698 here.
9699
d91a8b93
AS
9700 * scripts/check-local-headers.sh: Ignore libaudit.h.
9701
45b96dd6
AS
9702 * nscd/Makefile (extra-objs): Make recursively expanded.
9703
432d41ce
UD
97042011-11-01 Ulrich Drepper <drepper@gmail.com>
9705
34372fc6
UD
9706 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
9707 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9708
fadb59f8
UD
9709 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
9710 * posix/tst-rfc3484-2.c: Likewise.
9711 * posix/tst-rfc3484-3.c: Likewise.
9712
78239589
UD
9713 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9714 process_vm_writev.
9715 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
9716 process_vm_writev.
9717 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
9718 process_vm_writev from libc using GLIBC_2.15 version.
9719
432d41ce
UD
9720 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
9721
02f9c6cf
PP
97222011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9723
9724 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
9725 stack usage.
9726
3a2c0242
UD
97272011-10-31 Ulrich Drepper <drepper@gmail.com>
9728
f4ec4833
UD
9729 [BZ #13367]
9730 * nss/getent.c (initgroups_keys): Show error message in case no group
9731 names are given.
9732
3a2c0242
UD
9733 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
9734 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
9735 __bump_nl_timestamp.
9736 * nscd/connections (nscd_init): When host database is served open
9737 netlink socket and request notification about configuration changes.
9738 (main_loop_poll): Track netlink file descriptor and bump timestamp
9739 in case data becomes available.
9740 (main_loop_epoll): Likewise.
9741 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
9742 (database_pers_head): Add extra_data fileds.
9743 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
9744 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
9745 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
9746 Adjust caller.
9747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
9748 in6ai data, call __free_in6ai.
9749 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
9750 Add -DHAVE_NETLINK.
9751 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
9752 interface information. Reuse previous data if netlink timestamp
9753 is not changed.
9754 (__bump_nl_timestamp): New function.
9755 (__free_in6ai): New function.
9756
636064eb
UD
97572011-10-30 Ulrich Drepper <drepper@gmail.com>
9758
9759 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
9760 close_not_cancel_no_status here.
9761 (__check_pf): Reorganize code a bit to not call close twice if OOM.
9762
9beb2334
UD
97632011-10-29 Ulrich Drepper <drepper@gmail.com>
9764
6ef76f3b
UD
9765 [BZ #13276]
9766 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
9767 return value.
9768
0ffc4f3e 9769 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
9770 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
9771 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
9772
cb95113e
UD
97732011-07-03 Andreas Jaeger <aj@suse.de>
9774
9775 [BZ #10709]
9776 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
9777 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
9778 * math/libm-test.inc (sin_test): Add test case.
9779
a1b560ff
UD
97802011-10-29 Ulrich Drepper <drepper@gmail.com>
9781
c9aaface
UD
9782 [BZ #13337]
9783 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
9784 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9785
d272e7f1
UD
9786 * elf/chroot_canon.c (chroot_canon): Cleanups.
9787
1bc33071
UD
9788 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
9789
1760874d
TJ
9790 [BZ #13335]
9791 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
9792 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
9793
51d91b18
UD
9794 * string/test-strchr.c: Make usable for strchrnul testing.
9795 * string/test-strchrnul.c: New file.
9796 * string/Makefile (strop-tests): Add strchrnul.
9797
a1b560ff 9798 * po/it.po: Update from translation team.
b611fb81 9799 * po/es.po: Likewise.
a1b560ff 9800
a5b81e1f
UD
98012011-10-28 Ulrich Drepper <drepper@gmail.com>
9802
fd52bc6d
UD
9803 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
9804 the three constants needed as parameters. Drop the others.
9805 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
9806 __m128i_strloadu_tolower.
52e4b9eb
UD
9807 Create and initialize variable zero and use it in all the places
9808 where _mm_setzero_si128 was used.
fd52bc6d 9809
a5b81e1f
UD
9810 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
9811 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
9812 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
9813 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
9814 anymore.
9815 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
9816 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
9817 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
9818 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
9819 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
9820 __mpranred, __mptan.
9821 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
9822 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
9823 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
9824 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
9825 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
9826 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
9827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
9828 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
9829 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
9830
b4343346
AS
98312011-10-28 Andreas Schwab <schwab@redhat.com>
9832
0c92d8a8
AS
9833 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
9834 redefine if SHARED.
9835 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
9836
b4343346
AS
9837 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
9838 wide char related routines to wcsmbs subdir.
9839
3871f58f
AS
98402011-10-27 Andreas Schwab <schwab@redhat.com>
9841
9842 [BZ #13344]
9843 * misc/sys/cdefs.h (__THROWNL): Define.
9844 * posix/unistd.h: Use __THREADNL instead of __THREAD
9845 for memory synchronization functions.
9846
94d44d9f
RM
98472011-10-26 Roland McGrath <roland@hack.frob.com>
9848
21b64b15 9849 [BZ #13349]
94d44d9f
RM
9850 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
9851 doesn't exist.
9852 * manual/stdio.texi (Obstack Streams): Node removed.
9853
f6ce9294
AS
98542011-10-26 Andreas Schwab <schwab@redhat.com>
9855
80479147
AS
9856 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
9857 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9858 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9859
f6ce9294
AS
9860 * math/math_private.h (math_force_eval): Allow non-addressable
9861 arguments.
9862 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
9863
618280a1
UD
98642011-10-25 Ulrich Drepper <drepper@gmail.com>
9865
e0016b11
UD
9866 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
9867 file is not needed.
9868
9869 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
9870 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
9871 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9872 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9873 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9874 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9875 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9876 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
9877 Add AVX variants.
9878 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
9879 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
9880 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
9881 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
9882 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
9883 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
9884 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
9885 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
9886 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
9887 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
9888 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
9889 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
9890 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
9891 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
9892 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
9893 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
9894 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
9895 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
9896 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
9897
9898 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
9899 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
9900
618280a1
UD
9901 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
9902 place. Use VEX encoding when compiling for AVX.
9903
37822576
AS
99042011-10-25 Andreas Schwab <schwab@redhat.com>
9905
1f1e1947
AS
9906 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
9907 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9908
37822576
AS
9909 * string/test-strchr.c (do_test): Don't generate NUL bytes.
9910
31ea014d
UD
99112011-10-25 Ulrich Drepper <drepper@gmail.com>
9912
d7826aa1 9913 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 9914 useless if() expression.
d7826aa1
UD
9915 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9916 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9917 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9918 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9919 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9920 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9921 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9922 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9923 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9924 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9925 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9926 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9927 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
9928 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9929 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
9930 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9931 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9932 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9933 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9934
31ea014d
UD
9935 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
9936
16437fec
AS
99372011-10-25 Andreas Schwab <schwab@redhat.com>
9938
9939 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
9940 condition.
9941 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9942
31d3cc00
UD
99432011-10-25 Ulrich Drepper <drepper@gmail.com>
9944
9945 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
9946 .text section. Avoid duplicate constants.
9947 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
9948 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
9949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9951 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9952 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9953 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9954 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9955 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
9956 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
9957 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
9958 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
9959 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
9960 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
9961 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
9962 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
9963 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
9964 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9967 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
9968 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
9969 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
9970 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
9971 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
9974 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
9976 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
9977 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
9978 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
9979 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9980 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
9981 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
9982 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
9983 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
9984 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
9985 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
9986 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
9987 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
9988 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
9989 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
9990 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
9991 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
9992
58985aa9
UD
99932011-10-24 Ulrich Drepper <drepper@gmail.com>
9994
202c9deb
UD
9995 * sysdeps/x86_64/dla.h: Move to ...
9996 * sysdeps/x86_64/fpu/dla.h: ...here.
9997 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
9998 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 9999
af968f62
UD
10000 * config.make.in: Add have-mfma4 entry.
10001 * configure.in: Substitute libc_cv_cc_fma4.
10002 * math/Makefile (dbl-only-routines): Add sincostab.
10003 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
10004 Use __sincostab not sincos.
10005 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
10006 name is a macro.
10007 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10008 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
10011 using __copysign.
10012 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
10013 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
10014 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
10015 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
10016 and __inv.
10017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
10018 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
10019 __copysign.
10020 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
10021 define aliases when function name is a macro.
10022 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
10023 sysdeps/ieee754/dbl-64/sincos.tbl.
10024 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
10025 fma4-enabled routines.
10026 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
10027 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
10028 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
10029 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
10030 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
10031 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
10032 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
10033 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
10034 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
10035 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
10036 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
10037 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
10038 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
10039 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
10040 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
10041 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
10042 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
10043 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
10044 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
10045 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
10046 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
10047 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
10048 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
10049 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
10050 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
10051 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
10052 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
10053 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
10054 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
10055 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
10056
58985aa9
UD
10057 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
10058 rename.
10059 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10060 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10061 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10062 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10063 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10067
a201fbcf
AS
100682011-10-24 Andreas Schwab <schwab@redhat.com>
10069
10070 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
10071
fc2ee42a
LD
100722011-10-23 Ulrich Drepper <drepper@gmail.com>
10073
bb3129bd
UD
10074 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
10075
0275fff8
UD
10076 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
10077 prediction.
10078 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
10079
2fa2ae85
UD
10080 * string/strnlen.c: Don't define STRNLEN, reverse logic.
10081 Remove unused variable magic_bits.
10082 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
10083
fc2ee42a
LD
10084 * string/strnlen.c: Define and use STRNLEN macro.
10085 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
10086 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
10087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
10088 * wcsmbs/wcslen.c: Define and use WCSLEN.
10089 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
10090 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
10091 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
10092 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
10093 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
10094 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
10095 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
10096
ce7dd29f
LD
100972011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10098
10099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10100 strnlen-sse2-no-bsf.
10101 Rename strlen-no-bsf to strlen-sse2-no-bsf.
10102 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
10103 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
10104 Add strnlen support.
10105 (USE_AS_STRNLEN): New macro.
10106 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
10107 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
10108 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
10109 * sysdeps/x86_64/wcslen.S: New file.
10110
979c70a3
MZ
101112011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
10112
10113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
10114 XMM-moves are used for copying on small sizes.
10115
2d09f82f
LD
101162011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10117
10118 * wcsmbs/Makefile (strop-tests): Add wcschr.
10119 * wcsmbs/test-wcschr.c: New file.
10120 * string/test-strchr.c: Update.
10121 Add wcschr support.
10122 (WIDE): New macro.
10123
619fccca
LD
101242011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10125
2d09f82f 10126 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
10127 * wcsmbs/test-wcslen.c: New file.
10128 * string/test-strlen.c: Update.
10129 Add wcslen support.
10130 (WIDE): New macro.
10131
09f699ea
UD
101322011-10-23 Ulrich Drepper <drepper@gmail.com>
10133
10134 * po/it.po: Update from translation team.
10135
95584d3b
LD
101362011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10137
10138 * sysdeps/x86_64/wcscmp.S: Update.
10139 Fix wrong comparison semantics.
10140 wcscmp shall use signed comparison not unsigned.
10141 Don't use substraction to avoid overflow bug.
10142 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
10143 * wcsmbc/wcscmp.c: Likewise.
10144 * string/test-strcmp.c: Likewise.
10145 Add new tests to check cases with negative values.
10146
c8b3296b
UD
101472011-10-23 Ulrich Drepper <drepper@gmail.com>
10148
10149 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
10150 * sysdeps/x86_64/dla.h: ...here. New file.
10151 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
10152 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10160
246ad57a
AS
101612011-10-23 Andreas Schwab <schwab@linux-m68k.org>
10162
10163 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
10164 __ynl_finite aliases.
10165
a1a87169
UD
101662011-10-22 Ulrich Drepper <drepper@gmail.com>
10167
0d355eb7
UD
10168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10169
a1a87169
UD
10170 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
10171 define DLA_FMA.
10172 [DLA_FMA] (EMULV): Use DLA_FMA.
10173 [DLA_FMA] (MUL12): Use EMULV.
10174 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
10175 that are not needed.
10176 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10177 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10178 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10179 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10180 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10183
ee2aafe0
AS
101842011-10-22 Andreas Schwab <schwab@linux-m68k.org>
10185
10186 * math/s_nan.c: Undef __nan.
10187 * math/s_nanf.c: Undef __nanf.
10188 * math/s_nanl.c: Undef __nanl.
10189 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
10190 "math_private.h".
10191
bc62c2fb
UD
101922011-10-22 Ulrich Drepper <drepper@gmail.com>
10193
77425c63
UD
10194 * math/s_catan.c: Add branch predictions.
10195 * math/s_catanf.c: Likewise.
10196 * math/s_catanh.c: Likewise.
10197 * math/s_catanhf.c: Likewise.
10198 * math/s_catanhl.c: Likewise.
10199 * math/s_catanl.c: Likewise.
10200 * math/s_cexp.c: Likewise.
10201 * math/s_cexpf.c: Likewise.
10202 * math/s_cexpl.c: Likewise.
10203 * math/s_clog.c: Likewise.
10204 * math/s_clog10.c: Likewise.
10205 * math/s_clog10f.c: Likewise.
10206 * math/s_clog10l.c: Likewise.
10207 * math/s_clogf.c: Likewise.
10208 * math/s_clogl.c: Likewise.
10209 * math/s_csqrt.c: Likewise.
10210 * math/s_csqrtf.c: Likewise.
10211 * math/s_csqrtl.c: Likewise.
10212 * math/s_ctanf.c: Likewise.
10213 * math/s_ctanh.c: Likewise.
10214 * math/s_ctanhf.c: Likewise.
10215 * math/s_ctanhl.c: Likewise.
10216 * math/s_ctanl.c: Likewise.
10217
bc62c2fb
UD
10218 * math/math_private.h: Define __nan, __nanf, __nanl.
10219 * math/s_cacosh.c: Include <math_private.h>.
10220 * math/s_cacoshl.c: Likewise.
10221 * math/s_casinh.c: Likewise.
10222 * math/s_casinhf.c: Likewise.
10223 * math/s_casinhl.c: Likewise.
10224 * math/s_ccos.c: Rely entire on ccosh.
10225 * math/s_ccosf.c: Rely entire on ccoshf.
10226 * math/s_ccosl.c: Rely entirely on ccoshl.
10227 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
10228 Remove tests for FE_INVALID.
10229 * math/s_ccoshf.c: Likewise.
10230 * math/s_ccoshl.c: Likewise.
10231 * math/s_csin.c: Likewise.
10232 * math/s_csinf.c: Likewise.
10233 * math/s_csinh.c Likewise.
10234 * math/s_csinhf.c: Likewise.
10235 * math/s_csinhl.c: Likewise.
10236 * math/s_csinl.c: Likewise.
10237 * math/s_ctan.c: Likewise.
10238 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
10239 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
10240 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
10241
8ec250a4
UD
102422011-10-21 Ulrich Drepper <drepper@gmail.com>
10243
c196fed8
UD
10244 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
10245 compilation problems.
10246
8ec250a4
UD
10247 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
10248 __builtin_expect.
10249
8d4f46c6
UD
102502011-10-20 Ulrich Drepper <drepper@gmail.com>
10251
ed72b654
UD
10252 * sysdeps/i386/configure.in: Test for -mfma4 option.
10253 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
10254 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
10255 COMMON_CPUID_INDEX_80000001.
10256 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
10257 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
10258 use it if FMA3 is not supported.
10259 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10260
8d4f46c6
UD
10261 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
10262 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10263
d45c60c2
AS
102642011-10-20 Andreas Schwab <schwab@redhat.com>
10265
10266 [BZ #12892]
10267 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
10268 it would create a cycle with a link time dependency.
10269
d9a4d2ab
UD
102702011-10-19 Ulrich Drepper <drepper@gmail.com>
10271
855d1560
UD
10272 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
10273 instruction.
10274 * string/Makefile (strop-tests): Add rawmemchr.
10275 * string/test-rawmemchr.c: New file.
10276
d9a4d2ab
UD
10277 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
10278 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
10279 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
10280 when compiling str{,n}casecmp and when AVX is available. Hook up
10281 new optimized code in initializers.
10282
8f3b1ffe
AS
102832011-10-19 Andreas Schwab <schwab@redhat.com>
10284
10285 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
10286 __feraiseexcept instead of feraiseexcept.
10287
d38f1dba
UD
102882011-10-18 Ulrich Drepper <drepper@gmail.com>
10289
d9a8d0ab
UD
10290 * math/math_private.h: Define defaults for libc_fetestexcept and
10291 libc_feupdateenv.
10292 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
10293 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10295 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10297 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10298 libc_fetestexcept and libc_feupdateenv.
10299
4855e3dd
UD
10300 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
10301 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
10302 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
10303 * sysdeps/x86_64/fpu/math_private.h: Define special version of
10304 libc_feholdexcept_setround.
10305
581d30e3
UD
10306 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
10307 Add s_nearbyint-c and s_nearbyintf-c.
10308 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
10309 nearbyintf inlines.
10310 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
10311 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
10312 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
10313 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
10314
d38f1dba
UD
10315 * math/math_private.h: Define defaults for libc_fegetround,
10316 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
10317 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
10318 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
10319 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
10320 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
10321 standard functions.
10322 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10323 Remove comments and hacks for old compiler versions.
10324 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
10325 libc_fegetround, libc_fesetround, libc_feholdexcept, and
10326 libc_feholdexceptl.
10327
caa6c9d8
AS
103282011-10-18 Andreas Schwab <schwab@redhat.com>
10329
10330 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
10331 (__feraiseexcept_renamed): Add __NTH.
10332 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
10333 namespace violations.
10334
97c066e6
UD
103352011-10-17 Ulrich Drepper <drepper@gmail.com>
10336
99ce7b04
UD
10337 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
10338
1004d182
UD
10339 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
10340
228a984d
UD
10341 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
10342 recently added interfaces.
10343 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
10344
c8553a6a
UD
10345 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
10346 about macro parameter expansion.
10347
ed22dcf6
UD
10348 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
10349 __NO_MATH_INLINES is defined. Cleanups.
10350
10351 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
10352 and __floorf is target has SSE4.1.
10353 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
10354 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
10355 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
10356 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
10357
b171c137
UD
10358 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
10359 name.
10360 (floorf): Likewise.
10361
97c066e6
UD
10362 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
10363
629f62ef
AS
103642011-10-17 Andreas Schwab <schwab@redhat.com>
10365
49a43d80
AS
10366 * misc/sys/cdefs.h: Fix last change.
10367
629f62ef
AS
10368 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
10369 database lookup.
10370
e453f6cd
UD
103712011-10-16 Ulrich Drepper <drepper@gmail.com>
10372
aa78043a
UD
10373 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
10374
ad0f5cad
UD
10375 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
10376 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10377 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10378 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
10379 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
10380 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
10381 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
10382 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
10383 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
10384 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
10385 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
10386 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
10387 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
10388 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
10389 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
10390 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
10391 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
10392 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
10393 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
10394 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
10395 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
10396 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
10397
10398 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
10399 ceil, ceilf, floor, floorf.
10400
10401 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
10402 Perform IRELATIVE relocations last.
10403
e453f6cd
UD
10404 * elf/do-rel.h: Add another parameter nrelative, replacing the
10405 local variable with the same name. Change name of the function
10406 to end in Rel or Rela (uppercase).
10407 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
10408 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
10409 elf_dynamic_do_##reloc function.
10410
fd5bdc09
UD
104112011-10-15 Ulrich Drepper <drepper@gmail.com>
10412
79b195b5
UD
10413 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
10414 is sufficient, at least on modern CPUs.
10415
d4a28569
UD
10416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
10417
b61099b5
UD
10418 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
10419 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
10420
bcf01e6d
UD
10421 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
10422 __expl_finite.
10423 * math/bits/math-finite.h: Add entries for exp.
10424 * math/e_expl.c: Add __*_finite alias.
10425 * sysdeps/i386/fpu/e_exp.S: Likewise.
10426 * sysdeps/i386/fpu/e_expf.S: Likewise.
10427 * sysdeps/i386/fpu/e_expl.c: Likewise.
10428 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10429 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
10430 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10431 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10432 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
10433 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
10434 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
10435
ba1a0d59
UD
10436 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
10437 is sufficient, at least on modern CPUs.
10438
fd5bdc09
UD
10439 * ctype/ctype-info.c (__ctype_init): Define.
10440 * include/ctype.h (__ctype_init): Declare.
10441 (__ctype_b_loc): The variable is always initialized.
10442 (__ctype_toupper_loc): Likewise.
10443 (__ctype_tolower_loc): Likewise.
10444 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
10445 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
10446
7872cfb0
AS
104472011-10-15 Andreas Schwab <schwab@linux-m68k.org>
10448
b468825a
AS
10449 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
10450
7872cfb0
AS
10451 * configure.in: Also look in $cxxmachine/include for C++ system
10452 headers.
10453
be13f7bf
LD
104542011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10455
10456 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
10457 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
10458 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
10459 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
10460 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
10461 (USE_AS_WMEMCMP): New macro.
10462 Fixing indents.
10463 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
10464 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
10465 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
10466 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
10467 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10468 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
10469 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
10470 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
10471 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
10472 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
10473 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
10474 (USE_AS_WMEMCMP): New macro.
10475 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
10476 * sysdeps/string/test-memcmp.c: Update.
10477 Fix simple_wmemcmp.
10478 Add new tests.
10479 * wcsmbs/wmemcmp.c: Update.
10480 (WMEMCMP): New macro.
10481 Fix overflow bug.
10482
556a2007
AJ
104832011-10-12 Andreas Jaeger <aj@suse.de>
10484
10485 [BZ #13268]
10486 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
10487
538faaa7
UD
104882011-10-15 Ulrich Drepper <drepper@gmail.com>
10489
ab6737ff
UD
10490 * libio/iofwide.c (do_length): Avoid warning.
10491
538faaa7
UD
10492 * ctype/ctype.h (__isctype_f): Add missing __THROW.
10493
396a21b1
UD
104942011-10-14 Ulrich Drepper <drepper@gmail.com>
10495
cdf2901f
UD
10496 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
10497
38ad40ce
UD
10498 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
10499 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
10500 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
10501 * sysdeps/i386/i686/fpu/e_log.S: New file.
10502 * sysdeps/i386/i686/fpu/e_logf.S: New file.
10503 * sysdeps/i386/i686/fpu/e_logl.S: New file.
10504
396a21b1
UD
10505 * ctype/ctype.h: Add support for inlined isXXX functions when
10506 compiling C++ code.
10507
6b1f68c9
AS
105082011-10-14 Andreas Schwab <schwab@redhat.com>
10509
349290c0
AS
10510 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10511
6b1f68c9
AS
10512 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
10513
f2282d42
RM
105142011-10-13 Roland McGrath <roland@hack.frob.com>
10515
10516 [BZ #13291]
10517 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
10518
5298ffa8
AS
105192011-10-13 Andreas Schwab <schwab@redhat.com>
10520
714fad23
AS
10521 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
10522 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
10523 feraiseexcept.
10524
81dcc7fb
AS
10525 * sysdeps/x86_64/memrchr.S: Check for zero size.
10526
5298ffa8
AS
10527 * string/stratcliff.c: Add memrchr tests.
10528
951fbcec
LD
105292011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10530
10531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10532 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
10533 rawmemchr-sse2 rawmemchr-sse2-bsf.
10534 * sysdeps/i386/i686/multiarch/memchr.S: New file.
10535 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
10536 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
10537 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
10538 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
10539 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
10540 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
10541 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
10542 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
10543 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
10544 * string/memrchr.c (MEMRCHR): New macro.
10545
0ac5ae23
UD
105462011-10-12 Ulrich Drepper <drepper@gmail.com>
10547
10548 Add integration with gcc's -ffinite-math-only and optimize wrapper
10549 functions in libm.
10550 * Versions.def: Define GLIBC_2.15 version for libm.
10551 * math/Makefile (headers): Add bits/math-finite.h.
10552 * math/bits/math-finite.h: New file.
10553 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
10554 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
10555 * math/e_acoshl.c: Add __*_finite alias.
10556 * math/e_acosl.c: Likewise.
10557 * math/e_asinl.c: Likewise.
10558 * math/e_atan2l.c: Likewise.
10559 * math/e_atanhl.c: Likewise.
10560 * math/e_coshl.c: Likewise.
10561 * math/e_exp10.c: Likewise.
10562 * math/e_exp10f.c: Likewise.
10563 * math/e_exp10l.c: Likewise.
10564 * math/e_exp2l.c: Likewise.
10565 * math/e_fmodl.c: Likewise.
10566 * math/e_gammal_r.c: Likewise.
10567 * math/e_hypotl.c: Likewise.
10568 * math/e_j0l.c: Likewise.
10569 * math/e_j1l.c: Likewise.
10570 * math/e_jnl.c: Likewise.
10571 * math/e_lgammal_r.c: Likewise.
10572 * math/e_log10l.c: Likewise.
10573 * math/e_log2l.c: Likewise.
10574 * math/e_logl.c: Likewise.
10575 * math/e_powl.c: Likewise.
10576 * math/e_sinhl.c: Likewise.
10577 * math/e_sqrtl.c: Likewise.
10578 * math/e_scalb.c: Completely rewritten and optimized.
10579 * math/e_scalbf.c: Likewise.
10580 * math/e_scalbl.c: Likewise.
10581 * math/w_acos.c: Likewise.
10582 * math/w_acosf.c: Likewise.
10583 * math/w_acosl.c: Likewise.
10584 * math/w_acosh.c: Likewise.
10585 * math/w_acoshf.c: Likewise.
10586 * math/w_acoshl.c: Likewise.
10587 * math/w_asin.c: Likewise.
10588 * math/w_asinf.c: Likewise.
10589 * math/w_asinl.c: Likewise.
10590 * math/w_atan2.c: Likewise.
10591 * math/w_atan2f.c: Likewise.
10592 * math/w_atan2l.c: Likewise.
10593 * math/w_atanh.c: Likewise.
10594 * math/w_atanhf.c: Likewise.
10595 * math/w_atanhl.c: Likewise.
10596 * math/w_exp10.c: Likewise.
10597 * math/w_exp10f.c: Likewise.
10598 * math/w_exp10l.c: Likewise.
10599 * math/w_fmod.c: Likewise.
10600 * math/w_fmodf.c: Likewise.
10601 * math/w_fmodl.c: Likewise.
10602 * math/w_j0.c: Likewise.
10603 * math/w_j0f.c: Likewise.
10604 * math/w_j0l.c: Likewise.
10605 * math/w_j1.c: Likewise.
10606 * math/w_j1f.c: Likewise.
10607 * math/w_j1l.c: Likewise.
10608 * math/w_jn.c: Likewise.
10609 * math/w_jnf.c: Likewise.
10610 * math/w_log.c: Likewise.
10611 * math/w_logf.c: Likewise.
10612 * math/w_logl.c: Likewise.
10613 * math/w_log10.c: Likewise.
10614 * math/w_log10f.c: Likewise.
10615 * math/w_log10l.c: Likewise.
10616 * math/w_log2.c: Likewise.
10617 * math/w_log2f.c: Likewise.
10618 * math/w_log2l.c: Likewise.
10619 * math/w_pow.c: Likewise.
10620 * math/w_powf.c: Likewise.
10621 * math/w_powl.c: Likewise.
10622 * math/w_remainder.c: Likewise.
10623 * math/w_remainderf.c: Likewise.
10624 * math/w_remainderl.c: Likewise.
10625 * math/w_scalb.c: Likewise.
10626 * math/w_scalbf.c: Likewise.
10627 * math/w_scalbl.c: Likewise.
10628 * math/w_sqrt.c: Likewise.
10629 * math/w_sqrtf.c: Likewise.
10630 * math/w_sqrtl.c: Likewise.
10631 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
10632 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
10633 used.
10634 * math/math_private.h: Declare __kernel_standard_f.
10635 * math/w_cosh.c: Remove cruft and optimize a bit.
10636 * math/w_coshf.c: Likewise.
10637 * math/w_coshl.c: Likewise.
10638 * math/w_exp2.c: Likewise.
10639 * math/w_exp2f.c: Likewise.
10640 * math/w_exp2l.c: Likewise.
10641 * math/w_hypot.c: Likewise.
10642 * math/w_hypotf.c: Likewise.
10643 * math/w_hypotl.c: Likewise.
10644 * math/w_lgamma.c: Likewise.
10645 * math/w_lgamma_r.c: Likewise.
10646 * math/w_lgammaf.c: Likewise.
10647 * math/w_lgammaf_r.c: Likewise.
10648 * math/w_lgammal.c: Likewise.
10649 * math/w_lgammal_r.c: Likewise.
10650 * math/w_sinh.c: Likewise.
10651 * math/w_sinhf.c: Likewise.
10652 * math/w_sinhl.c: Likewise.
10653 * math/w_tgamma.c: Likewise.
10654 * math/w_tgammaf.c: Likewise.
10655 * math/w_tgammal.c: Likewise.
10656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
10657 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
10658 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
10659 Minor optimizations. Pretty printing. Remove cruft.
10660 * sysdeps/i386/fpu/e_acosf.S: Likewise.
10661 * sysdeps/i386/fpu/e_acosh.S: Likewise.
10662 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10663 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
10664 * sysdeps/i386/fpu/e_acosl.c: Likewise.
10665 * sysdeps/i386/fpu/e_asin.S: Likewise.
10666 * sysdeps/i386/fpu/e_asinf.S: Likewise.
10667 * sysdeps/i386/fpu/e_atan2.S: Likewise.
10668 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
10669 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
10670 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10671 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
10672 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10673 * sysdeps/i386/fpu/e_exp10.S: Likewise.
10674 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
10675 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
10676 * sysdeps/i386/fpu/e_exp2.S: Likewise.
10677 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
10678 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
10679 * sysdeps/i386/fpu/e_fmod.S: Likewise.
10680 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
10681 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
10682 * sysdeps/i386/fpu/e_hypot.S: Likewise.
10683 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
10684 * sysdeps/i386/fpu/e_log.S: Likewise.
10685 * sysdeps/i386/fpu/e_log10.S: Likewise.
10686 * sysdeps/i386/fpu/e_log10f.S: Likewise.
10687 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10688 * sysdeps/i386/fpu/e_log2.S: Likewise.
10689 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10690 * sysdeps/i386/fpu/e_log2l.S: Likewise.
10691 * sysdeps/i386/fpu/e_logf.S: Likewise.
10692 * sysdeps/i386/fpu/e_logl.S: Likewise.
10693 * sysdeps/i386/fpu/e_pow.S: Likewise.
10694 * sysdeps/i386/fpu/e_powf.S: Likewise.
10695 * sysdeps/i386/fpu/e_powl.S: Likewise.
10696 * sysdeps/i386/fpu/e_remainder.S: Likewise.
10697 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
10698 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
10699 * sysdeps/i386/fpu/e_scalb.S: Likewise.
10700 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10701 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10702 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
10703 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
10704 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
10705 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10706 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10707 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10708 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10709 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10710 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10711 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10712 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10713 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10714 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10715 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10716 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
10717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10718 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10719 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10720 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10721 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10722 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10725 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10726 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
10727 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10728 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10729 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
10730 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
10731 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
10732 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
10733 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10734 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
10735 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
10736 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10737 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10738 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
10739 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
10740 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
10741 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
10742 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
10743 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
10744 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
10745 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
10746 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
10747 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
10748 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10749 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10750 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10751 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10752 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10753 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10754 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10755 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10756 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10759 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10760 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10761 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10762 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10763 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10764 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10765 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10766 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
10767 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10769 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
10771 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
10773 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
10775 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
10776 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
10777 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
10778 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
10779 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
10780 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
10781 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10782 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
10783 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10784 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
10785 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
10786 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
10787 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10788 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10789 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
10790 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
10791 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10792 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
10793 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
10794 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
10795 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10796 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
10797 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
10798 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10799 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10800 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
10801 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
10802 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
10803 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
10804 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
10805 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
10806 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
10807 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
10808 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
10809 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10810 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10811 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10812 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10813 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
10814 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10815 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
10816 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
10817 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
10818 (__isnanf): Likewise.
10819 (__isinf_ns): Likewise.
10820 (__isinf_nsf): Likewise.
10821 (__finite): Likewise.
10822 (__finitef): Likewise.
10823 (__ieee754_sqrt): Define as macro.
10824 (__ieee754_sqrtf): Define as macro.
10825 (__ieee754_sqrtl): Define as macro.
10826 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
10827 inlined copy.
10828 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
10829 __FINITE_MATH_ONLY__ consistent.
10830 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
10831
12cc2fcd
AS
108322011-10-10 Andreas Schwab <schwab@linux-m68k.org>
10833
a843a204
AS
10834 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
10835 of rawmemchr.
10836
12cc2fcd
AS
10837 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
10838
c853acd5
UD
108392011-10-09 Ulrich Drepper <drepper@gmail.com>
10840
10841 * po/ja.po: Update from translation team.
10842
c658d255
RM
108432011-10-08 Roland McGrath <roland@hack.frob.com>
10844
110946e4
RM
10845 * locale/programs/locarchive.c (prepare_address_space): New function.
10846 (create_archive, enlarge_archive, open_archive): Use it.
10847
50604220
RM
10848 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
10849 inside [SHARED], where it is used.
10850
c658d255
RM
10851 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
10852
10853 * nss/getent.c (netgroup_keys): Remove unused variable.
10854 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
10855
6a621eb7
UD
108562011-10-08 Ulrich Drepper <drepper@gmail.com>
10857
7edb55ce
UD
10858 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
10859 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
10860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
10861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
10862 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
10863 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
10864 * math/Makefile (libm-calls): Add s_isinf_ns.
10865 * math/divtc3.c: Use __isinf_nsl instead of isinf.
10866 * math/multc3.c: Likewise.
10867 * math/s_casin.c: Likewise.
10868 * math/s_casinf.c: Likewise.
10869 * math/s_casinl.c: Likewise.
10870 * math/s_ccos.c: Likewise.
10871 * math/s_ccosf.c: Likewise.
10872 * math/s_ccosl.c: Likewise.
10873 * math/s_ctan.c: Likewise.
10874 * math/s_ctanf.c: Likewise.
10875 * math/s_ctanh.c: Likewise.
10876 * math/s_ctanhf.c: Likewise.
10877 * math/s_ctanhl.c: Likewise.
10878 * math/s_ctanl.c: Likewise.
10879 * math/w_fmod.c: Likewise.
10880 * math/w_fmodf.c: Likewise.
10881 * math/w_fmodl.c: Likewise.
10882 * math/w_remainder.c: Likewise.
10883 * math/w_remainderf.c: Likewise.
10884 * math/w_remainderl.c: Likewise.
10885 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
10886 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
10887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
10888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
10889 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
10890 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
10891 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
10892 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
10893
187da0ae
UD
10894 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
10895 of the number.
10896 * stdio-common/printf_fphex.c: Likewise.
10897 * stdio-common/printf_size.c: Likewise.
10898
9277c064
UD
10899 * math/e_exp10.c: Include math_private.h using <...> not "...".
10900 * math/e_exp10f.c: Likewise.
10901 * math/e_exp10l.c: Likewise.
10902 * math/e_exp2l.c: Likewise.
10903 * math/e_j0l.c: Likewise.
10904 * math/e_j1l.c: Likewise.
10905 * math/e_jnl.c: Likewise.
10906 * math/e_lgammal_r.c: Likewise.
10907 * math/e_rem_pio2l.c: Likewise.
10908 * math/e_scalb.c: Likewise.
10909 * math/e_scalbf.c: Likewise.
10910 * math/e_scalbl.c: Likewise.
10911 * math/k_cosl.c: Likewise.
10912 * math/k_sinl.c: Likewise.
10913 * math/k_tanl.c: Likewise.
10914 * math/s_cacoshf.c: Likewise.
10915 * math/s_catan.c: Likewise.
10916 * math/s_catanf.c: Likewise.
10917 * math/s_catanh.c: Likewise.
10918 * math/s_catanhf.c: Likewise.
10919 * math/s_catanhl.c: Likewise.
10920 * math/s_catanl.c: Likewise.
10921 * math/s_ccosh.c: Likewise.
10922 * math/s_ccoshf.c: Likewise.
10923 * math/s_ccoshl.c: Likewise.
10924 * math/s_cexp.c: Likewise.
10925 * math/s_cexpf.c: Likewise.
10926 * math/s_cexpl.c: Likewise.
10927 * math/s_clog.c: Likewise.
10928 * math/s_clog10.c: Likewise.
10929 * math/s_clog10f.c: Likewise.
10930 * math/s_clog10l.c: Likewise.
10931 * math/s_clogf.c: Likewise.
10932 * math/s_clogl.c: Likewise.
10933 * math/s_csin.c: Likewise.
10934 * math/s_csinf.c: Likewise.
10935 * math/s_csinh.c: Likewise.
10936 * math/s_csinhf.c: Likewise.
10937 * math/s_csinhl.c: Likewise.
10938 * math/s_csinl.c: Likewise.
10939 * math/s_csqrt.c: Likewise.
10940 * math/s_csqrtf.c: Likewise.
10941 * math/s_csqrtl.c: Likewise.
10942 * math/s_ctan.c: Likewise.
10943 * math/s_ctanf.c: Likewise.
10944 * math/s_ctanh.c: Likewise.
10945 * math/s_ctanhf.c: Likewise.
10946 * math/s_ctanhl.c: Likewise.
10947 * math/s_ctanl.c: Likewise.
10948 * math/s_ldexp.c: Likewise.
10949 * math/s_ldexpf.c: Likewise.
10950 * math/s_ldexpl.c: Likewise.
10951 * math/s_significand.c: Likewise.
10952 * math/s_significandf.c: Likewise.
10953 * math/s_significandl.c: Likewise.
10954 * math/w_acos.c: Likewise.
10955 * math/w_acosf.c: Likewise.
10956 * math/w_acosh.c: Likewise.
10957 * math/w_acoshf.c: Likewise.
10958 * math/w_acoshl.c: Likewise.
10959 * math/w_acosl.c: Likewise.
10960 * math/w_asin.c: Likewise.
10961 * math/w_asinf.c: Likewise.
10962 * math/w_asinl.c: Likewise.
10963 * math/w_atan2.c: Likewise.
10964 * math/w_atan2f.c: Likewise.
10965 * math/w_atan2l.c: Likewise.
10966 * math/w_atanh.c: Likewise.
10967 * math/w_atanhf.c: Likewise.
10968 * math/w_atanhl.c: Likewise.
10969 * math/w_cosh.c: Likewise.
10970 * math/w_coshf.c: Likewise.
10971 * math/w_coshl.c: Likewise.
10972 * math/w_dremf.c: Likewise.
10973 * math/w_exp10.c: Likewise.
10974 * math/w_exp10f.c: Likewise.
10975 * math/w_exp10l.c: Likewise.
10976 * math/w_exp2.c: Likewise.
10977 * math/w_exp2f.c: Likewise.
10978 * math/w_fmod.c: Likewise.
10979 * math/w_fmodf.c: Likewise.
10980 * math/w_fmodl.c: Likewise.
10981 * math/w_hypot.c: Likewise.
10982 * math/w_hypotf.c: Likewise.
10983 * math/w_hypotl.c: Likewise.
10984 * math/w_j0.c: Likewise.
10985 * math/w_j0f.c: Likewise.
10986 * math/w_j0l.c: Likewise.
10987 * math/w_j1.c: Likewise.
10988 * math/w_j1f.c: Likewise.
10989 * math/w_j1l.c: Likewise.
10990 * math/w_jn.c: Likewise.
10991 * math/w_jnf.c: Likewise.
10992 * math/w_jnl.c: Likewise.
10993 * math/w_lgamma.c: Likewise.
10994 * math/w_lgamma_r.c: Likewise.
10995 * math/w_lgammaf.c: Likewise.
10996 * math/w_lgammaf_r.c: Likewise.
10997 * math/w_lgammal.c: Likewise.
10998 * math/w_lgammal_r.c: Likewise.
10999 * math/w_log.c: Likewise.
11000 * math/w_log10.c: Likewise.
11001 * math/w_log10f.c: Likewise.
11002 * math/w_log10l.c: Likewise.
11003 * math/w_log2.c: Likewise.
11004 * math/w_log2f.c: Likewise.
11005 * math/w_log2l.c: Likewise.
11006 * math/w_logf.c: Likewise.
11007 * math/w_logl.c: Likewise.
11008 * math/w_pow.c: Likewise.
11009 * math/w_powf.c: Likewise.
11010 * math/w_powl.c: Likewise.
11011 * math/w_remainder.c: Likewise.
11012 * math/w_remainderf.c: Likewise.
11013 * math/w_remainderl.c: Likewise.
11014 * math/w_scalb.c: Likewise.
11015 * math/w_scalbf.c: Likewise.
11016 * math/w_scalbl.c: Likewise.
11017 * math/w_sinh.c: Likewise.
11018 * math/w_sinhf.c: Likewise.
11019 * math/w_sinhl.c: Likewise.
11020 * math/w_sqrt.c: Likewise.
11021 * math/w_sqrtf.c: Likewise.
11022 * math/w_sqrtl.c: Likewise.
11023 * math/w_tgamma.c: Likewise.
11024 * math/w_tgammaf.c: Likewise.
11025 * math/w_tgammal.c: Likewise.
11026
6a621eb7
UD
11027 * po/ja.po: Update from translation team.
11028
bf582445
AJ
110292011-09-29 Andreas Jaeger <aj@suse.de>
11030
f9efbf3a
AJ
11031 [BZ #13179]
11032 * sunrpc/netname.c (netname2host): Fix logic.
11033
bf582445
AJ
11034 [BZ #6779]
11035 [BZ #6783]
11036 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
11037 correctly.
11038 * math/w_remainder.c (__remainder): Likewise.
11039 * math/w_remainderf.c (__remainderf): Likewise.
11040 * math/libm-test.inc (remainder_test): Add test cases.
11041
48693bea
AK
110422011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11043
11044 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
11045 sdiv_qrnnd.
11046
42622229
LD
110472011-10-07 Ulrich Drepper <drepper@gmail.com>
11048
11049 * string/test-memcmp.c: Avoid unncessary #defines.
11050 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11051
093ecf92
LD
110522011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11053
11054 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
11055 Use new sse2 version for core i3 - i7 as it's faster
11056 than sse42 version.
11057 (bit_Prefer_PMINUB_for_stringop): New.
11058 * sysdeps/x86_64/rawmemchr.S: Update.
11059 Replace with faster SSE2 version.
11060 * sysdeps/x86_64/memrchr.S: New file.
11061 * sysdeps/x86_64/memchr.S: Update.
11062 Replace with faster SSE2 version.
11063
fde56e5c
MP
110642011-09-12 Marek Polacek <mpolacek@redhat.com>
11065
11066 * elf/dl-load.c (lose): Add cast to avoid warning.
11067
21fd49a9
UD
110682011-10-07 Ulrich Drepper <drepper@gmail.com>
11069
5a06e643
UD
11070 * po/ca.po: Update from translation team.
11071
684ae515
UD
11072 * inet/getnetgrent_r.c: Hook up nscd.
11073 * nscd/Makefile (routines): Add nscd_netgroup.
11074 (nscd-modules): Add netgroupcache.
11075 (CFLAGS-netgroupcache.c): Define.
11076 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
11077 (cache_search): Add const to second parameter.
11078 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
11079 INNETGR.
11080 (dbs): Add netgrdb entry.
11081 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
11082 (verify_persistent_db): Handle netgrdb.
11083 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
11084 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
11085 GETFDNETGR.
11086 (netgroup_response_header): Define.
11087 (innetgroup_response_header): Define.
11088 (datahead): Add netgroup_response_header and innetgroup_response_header
11089 elements.
11090 * nscd/nscd.conf: Add entries for netgroup cache.
11091 * nscd/nscd.h (dbtype): Add netgrdb.
11092 (_PATH_NSCD_NETGROUP_DB): Define.
11093 (netgroup_iov_disabled): Declare.
11094 (xmalloc, xcalloc, xrealloc): Move declarations here.
11095 (cache_search): Adjust prototype.
11096 Add netgroup-related prototypes.
11097 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
11098 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
11099 (__nscd_innetgr): Declare.
11100 * nscd/selinux.c (perms): Use access_vector_t as element type and
11101 add netgroup-related initializers.
11102 * nscd/netgroupcache.c: New file.
11103 * nscd/nscd_netgroup.c: New file.
11104 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
11105 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
11106 For four parameters use innetgr.
11107 * nss/nss_files/files-init.c: Add definition and callback for netgr.
11108 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
11109 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
11110 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
11111
21fd49a9
UD
11112 * nscd/connections.c (register_traced_file): Don't register file
11113 for disabled databases.
11114
054c0457
UD
111152011-10-06 Ulrich Drepper <drepper@gmail.com>
11116
32b63198
UD
11117 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
11118
054c0457
UD
11119 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
11120 from tree and freeing node.
11121
64031225
JO
111222011-09-25 Jiri Olsa <jolsa@redhat.com>
11123
11124 * nss/nsswitch.c (__nss_database_lookup): Handle
11125 nss_parse_service_list out of memory case.
11126
0490345c
JO
111272011-09-15 Jiri Olsa <jolsa@redhat.com>
11128
11129 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
11130 out of memory case.
11131
3a62d00d
AS
111322011-10-04 Andreas Schwab <schwab@redhat.com>
11133
11134 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
11135 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
11136 pass it down.
11137 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
11138 elf_machine_rela, elf_machine_lazy_rel.
11139 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
11140 (ELF_DYNAMIC_DO_REL): Likewise.
11141 (ELF_DYNAMIC_DO_RELA): Likewise.
11142 (ELF_DYNAMIC_RELOCATE): Likewise.
11143 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
11144 to ELF_DYNAMIC_DO_REL.
11145 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
11146 (dl_main): In trace mode always set __RTLD_NOIFUNC.
11147 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
11148 elf_machine_rela.
11149 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
11150 skip_ifunc, don't call ifunc function if non-zero.
11151 (elf_machine_rela): Likewise.
11152 (elf_machine_lazy_rel): Likewise.
11153 (elf_machine_lazy_rela): Likewise.
11154 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
11155 (elf_machine_lazy_rel): Likewise.
11156 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
11157 Likewise.
11158 (elf_machine_lazy_rel): Likewise.
11159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11160 Likewise.
11161 (elf_machine_lazy_rel): Likewise.
11162 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
11163 (elf_machine_lazy_rel): Likewise.
11164 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
11165 (elf_machine_lazy_rel): Likewise.
11166 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11167 (elf_machine_lazy_rel): Likewise.
11168 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
11169 (elf_machine_lazy_rel): Likewise.
11170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
11171 (elf_machine_lazy_rel): Likewise.
11172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11173 (elf_machine_lazy_rel): Likewise.
11174
68577918
UD
111752011-09-28 Ulrich Drepper <drepper@gmail.com>
11176
11177 * nss/nss_files/files-init.c (_nss_files_init): Use static
11178 initialization for all the *_traced_file variables.
11179
68822d74
AS
111802011-09-28 Andreas Schwab <schwab@redhat.com>
11181
11182 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11183
2056100b
RM
111842011-09-27 Roland McGrath <roland@hack.frob.com>
11185
11186 [BZ #13226]
11187 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
11188
32c76b63
AS
111892011-09-27 Andreas Schwab <schwab@redhat.com>
11190
11191 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11192 Reread the line before reparsing it.
11193
bf972c9d
AS
111942011-09-26 Andreas Schwab <schwab@redhat.com>
11195
11196 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
11197
e057a1b5
JM
111982011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
11199 Maxim Kuvyrkov <maxim@codesourcery.com>
11200 Joseph Myers <joseph@codesourcery.com>
11201
11202 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
11203 if needed for __stack_chk_guard.
11204
bc7e1c36
RM
112052011-09-19 Roland McGrath <roland@hack.frob.com>
11206
ecb1482f
RM
11207 * sysdeps/posix/spawni.c (script_execute): Always define it.
11208 It will be optimized away if unused.
11209 (maybe_script_execute): New function.
11210 (__spawni): Call it.
11211
bc7e1c36
RM
11212 * Makerules: Don't include tls.make.
11213 (config-tls): Always set to thread.
11214 * tls.make.c: File removed.
11215
1c3b002b
MF
112162011-09-19 Mike Frysinger <vapier@gentoo.org>
11217
11218 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
11219 * config.make.in (CPPFLAGS-config): New substituted variable.
11220
2840865d
UD
112212011-09-15 Ulrich Drepper <drepper@gmail.com>
11222
88738eb6
UD
11223 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
11224
cbf645a6 11225 [BZ #13192]
2840865d
UD
11226 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
11227 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
11228
b402e91a
RM
112292011-09-15 Roland McGrath <roland@hack.frob.com>
11230
11231 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
11232 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
11233 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
11234 (CALL_FAIL): Likewise.
11235 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
11236 (CALL_FAIL): Macro removed.
11237 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
11238
4c1a1f71
UD
112392011-09-15 Ulrich Drepper <drepper@gmail.com>
11240
11241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
11242 for __FINITE_MATH_ONLY__ == 1.
11243
edc121be
AS
112442011-09-15 Andreas Schwab <schwab@redhat.com>
11245
11246 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
11247 __ieee754_sqrt instead of sqrt.
11248 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
11249 __ieee754_sqrtf instead of sqrtf.
11250 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
11251 __floorf instead of floorf.
11252 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
11253 __floorf, __truncf instead of floorf, truncf.
11254
cd205654
UD
112552011-09-14 Ulrich Drepper <drepper@gmail.com>
11256
ee4d0315
UD
11257 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
11258
cd205654
UD
11259 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
11260 __extern_always_inline.
11261 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
11262 32-bit.
11263
48b67d71
AS
112642011-09-14 Andreas Schwab <schwab@redhat.com>
11265
11266 * elf/rtld.c (dl_main): Also relocate in dependency order when
11267 doing symbol dependency testing.
11268
1ae12c75
AS
112692011-09-13 Andreas Schwab <schwab@linux-m68k.org>
11270
11271 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11272 Always define `refsym'.
11273
995a80df
AS
112742011-09-13 Andreas Schwab <schwab@redhat.com>
11275
e529793b
AS
11276 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
11277 (__FD_ELT): Renamed from __FDELT.
11278 * misc/bits/select2.h (__FD_ELT): Likewise.
11279 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
11280 __FD_MASK instead of __FDELT, __FDMASK.
11281 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11282 Likewise.
11283 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
11284 Likewise.
11285
52d4fef8
AS
11286 * elf/Makefile (gen-ldd): Fix pattern.
11287
995a80df
AS
11288 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
11289 (init_tls): Likewise.
11290
8682f8b0
UD
112912011-09-12 Ulrich Drepper <drepper@gmail.com>
11292
11293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
11294
de82006d
AS
112952011-09-12 Andreas Schwab <schwab@redhat.com>
11296
a7c8e6a1
AS
11297 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
11298 `struct cmsghdr *' instead of `void *'.
11299 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
11300 Likewise.
11301
0f31fe77
AS
113022011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11303
11304 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
11305 if non-absolute.
11306 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
11307 ldd_rewrite_script.
0f31fe77 11308
32b4c839
UD
113092011-09-11 Ulrich Drepper <drepper@gmail.com>
11310
83cd1420
UD
11311 * configure.in: Remove --with-tls option.
11312 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
11313 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
11314 out in case it is missing.
11315 * sysdeps/ia64/elf/configure.in: Likewise.
11316 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
11317 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
11318 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
11319 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
11320 * sysdeps/sh/elf/configure.in: Likewise.
11321 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
11322 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
11323 * sysdeps/x86_64/elf/configure.in: Likewise.
11324 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
11325 * sysdeps/mach/hurd/tls.h: Likewise.
11326
633f745d
UD
11327 [BZ #13067]
11328 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
11329
f318beb8
UD
11330 [BZ #13090]
11331 * configure.in: Fix use of AC_INIT.
11332
32b4c839
UD
11333 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
11334
3ce1f295
UD
113352011-09-10 Ulrich Drepper <drepper@gmail.com>
11336
bb016596
UD
11337 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
11338 __set_errno.
8e58439c
UD
11339 * malloc/hooks.c: Likewise.
11340
aebae053 11341 [BZ #11929]
02d46fc4
UD
11342 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
11343 variables statically.
11344 (narenas): Initialize.
11345 (list_lock): Initialize.
bb016596
UD
11346 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
11347 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
11348 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
11349 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
11350 Add initializers to main_arena and mp_.
11351 (malloc_state): Remove pagesize member. Change all users to use
11352 GLRO(dl_pagesize).
11353
11354 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
11355 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
11356 is always initialized.
11357
22a89187
UD
11358 * malloc/malloc.c: Removed unused configurations and dead code.
11359 * malloc/arena.c: Likewise.
11360 * malloc/hooks.c: Likewise.
02d46fc4 11361 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 11362
d063d164
UD
11363 * include/tls.h: Removed. USE___THREAD must always be defined.
11364 * bits/libc-tsd.h: Don't handle !USE___THREAD.
11365 * elf/dl-libc.c: Likewise.
11366 * elf/dl-tsd.c: Likewise.
11367 * include/errno.h: Likewise.
11368 * include/netdb.h: Likewise.
11369 * include/resolv.h: Likewise.
11370 * inet/herrno-loc.c: Likewise.
11371 * inet/herrno.c: Likewise.
11372 * malloc/arena.c: Likewise.
11373 * malloc/hooks.c: Likewise.
11374 * malloc/malloc.c: Likewise.
11375 * resolv/res-state.c: Likewise.
11376 * resolv/res_libc.c: Likewise.
11377 * sysdeps/i386/dl-machine.h: Likewise.
11378 * sysdeps/ia64/dl-machine.h: Likewise.
11379 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
11380 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11381 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11382 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11383 * sysdeps/sh/dl-machine.h: Likewise.
11384 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
11385 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
11386 * sysdeps/unix/i386/sysdep.S: Likewise.
11387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11388 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
11389 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11391 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
11392 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11393 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11395 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11396 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11397 * sysdeps/unix/x86_64/sysdep.S: Likewise.
11398 * sysdeps/x86_64/dl-machine.h: Likewise.
11399 * tls.make.c: Likewise.
11400
3ce1f295
UD
11401 * configure.in: Remove --with-__thread option. Make tests for
11402 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
11403 tls_model attribute fail if no support is available. Remove
11404 USE_IN_LIBIO.
11405 * Makeconfig: Adjust for dropped configure option. All features are
11406 now mandatory.
11407 * Makerules: Likewise.
11408 * Versions.def: Likewise.
11409 * argp/argp-fmtstream.c: Likewise.
11410 * argp/argp-fmtstream.h: Likewise.
11411 * argp/argp-help.c: Likewise.
11412 * assert/assert.c: Likewise.
11413 * config.h.in: Likewise.
11414 * config.make.in: Likewise.
11415 * configure: Likewise.
11416 * configure.in: Likewise.
11417 * csu/Versions: Likewise.
11418 * csu/init.c: Likewise.
11419 * elf/tst-audit2.c: Likewise.
11420 * elf/tst-tls10.c: Likewise.
11421 * elf/tst-tls10.h: Likewise.
11422 * elf/tst-tls11.c: Likewise.
11423 * elf/tst-tls12.c: Likewise.
11424 * elf/tst-tls14.c: Likewise.
11425 * elf/tst-tlsmod11.c: Likewise.
11426 * elf/tst-tlsmod12.c: Likewise.
11427 * elf/tst-tlsmod13.c: Likewise.
11428 * elf/tst-tlsmod13a.c: Likewise.
11429 * elf/tst-tlsmod14a.c: Likewise.
11430 * elf/tst-tlsmod15b.c: Likewise.
11431 * elf/tst-tlsmod16a.c: Likewise.
11432 * elf/tst-tlsmod16b.c: Likewise.
11433 * elf/tst-tlsmod7.c: Likewise.
11434 * elf/tst-tlsmod8.c: Likewise.
11435 * elf/tst-tlsmod9.c: Likewise.
11436 * gmon/gmon.c: Likewise.
11437 * grp/fgetgrent_r.c: Likewise.
11438 * grp/putgrent.c: Likewise.
11439 * hurd/fopenport.c: Likewise.
11440 * include/libc-symbols.h: Likewise.
11441 * include/tls.h: Likewise.
11442 * intl/gettextP.h: Likewise.
11443 * intl/loadinfo.h: Likewise.
11444 * locale/global-locale.c: Likewise.
11445 * locale/localeinfo.h: Likewise.
11446 * mach/devstream.c: Likewise.
11447 * malloc/arena.c: Likewise.
11448 * malloc/set-freeres.c: Likewise.
11449 * misc/err.c: Likewise.
11450 * misc/getttyent.c: Likewise.
11451 * misc/mntent_r.c: Likewise.
11452 * posix/getopt.c: Likewise.
11453 * posix/wordexp.c: Likewise.
11454 * pwd/fgetpwent_r.c: Likewise.
11455 * resolv/Versions: Likewise.
11456 * resolv/res_hconf.c: Likewise.
11457 * shadow/fgetspent_r.c: Likewise.
11458 * shadow/putspent.c: Likewise.
11459 * stdio-common/printf_fphex.c: Likewise.
11460 * stdio-common/tmpfile.c: Likewise.
11461 * stdlib/abort.c: Likewise.
11462 * stdlib/fmtmsg.c: Likewise.
11463 * sunrpc/auth_unix.c: Likewise.
11464 * sunrpc/clnt_perr.c: Likewise.
11465 * sunrpc/clnt_tcp.c: Likewise.
11466 * sunrpc/clnt_udp.c: Likewise.
11467 * sunrpc/clnt_unix.c: Likewise.
11468 * sunrpc/openchild.c: Likewise.
11469 * sunrpc/svc_simple.c: Likewise.
11470 * sunrpc/svc_tcp.c: Likewise.
11471 * sunrpc/svc_udp.c: Likewise.
11472 * sunrpc/svc_unix.c: Likewise.
11473 * sunrpc/xdr.c: Likewise.
11474 * sunrpc/xdr_array.c: Likewise.
11475 * sunrpc/xdr_rec.c: Likewise.
11476 * sunrpc/xdr_ref.c: Likewise.
11477 * sunrpc/xdr_stdio.c: Likewise.
11478
1248c1c4
PB
114792011-09-09 Ulrich Drepper <drepper@gmail.com>
11480
11481 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
11482
114832011-07-03 Andreas Jaeger <aj@suse.de>
11484
11485 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
11486 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
11487 regenerate with gen-libm-tests.pl.
11488
114892010-05-12 Petr Baudis <pasky@suse.cz>
11490
11491 [BZ #11589]
11492 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
11493 around j0() zero points by switching to j1().
11494 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
11495 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11496 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
11497 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
11498
f22e1074
UD
114992011-09-09 Ulrich Drepper <drepper@gmail.com>
11500
f19009c1
UD
11501 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
11502 instead of 0.
11503 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
11504 instead of 0. .
11505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11506 Patch in part by Pavel Roskin <proski@gnu.org>.
11507
3f8cc204
UD
11508 [BZ #13138]
11509 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
11510 realloc.
11511 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
11512 Free memory block if necessary.
11513
f22e1074
UD
11514 [BZ #12847]
11515 * libio/genops.c (INTDEF): For string streams the _lock pointer can
11516 be NULL. Don't lock in this case.
11517
0a2349f9
RM
115182011-09-09 Roland McGrath <roland@hack.frob.com>
11519
11520 * elf/elf.h (ELFOSABI_GNU): New macro.
11521 (ELFOSABI_LINUX): Define to that.
11522
f3cdd467
DZ
115232011-07-29 Denis Zaitceff <zaitceff@gmail.com>
11524
11525 * string/strncat.c (strncat): Undef the symbol in case it has been
11526 defined in bits/string.h.
11527
74718d13
UD
115282011-09-09 Ulrich Drepper <drepper@gmail.com>
11529
633e9e0f
UD
11530 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
11531
0a2349f9 11532 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
11533 link map.
11534
f9924780
AJ
115352011-08-17 Andreas Jaeger <aj@suse.de>
11536
11537 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
11538
7f5517aa
PP
115392011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
11540 Ian Lance Taylor <iant@google.com>
11541
11542 * math/libm-test.inc (lround_test): New testcase.
11543 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
11544
762011fe
UD
115452011-09-08 Ulrich Drepper <drepper@gmail.com>
11546
92963737
UD
11547 * Makefile: Remove support for automatic cvs check-ins.
11548 * Makerules: Likewise.
11549 * config.make.in: Likewise.
11550 * configure.in: Likewise.
11551 * intl/Makefile: Likewise.
11552 * locale/Makefile: Likewise.
11553 * po/Makefile: Likewise.
11554 * posix/Makefile: Likewise.
11555 * sysdeps/gnu/Makefile: Likewise.
11556 * sysdeps/mach/hurd/Makefile: Likewise.
11557 * sysdeps/sparc/sparc32/Makefile: Likewise.
11558
b0727fd8
JS
11559 [BZ #13118]
11560 * posix/Makefile (bug-regex32-ENV): Define.
11561 Patch by John Stanley <jpsinthemix@verizon.net>.
11562
a0f33f99
UD
11563 * misc/Makefile (headers): Add bits/select2.h.
11564 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
11565 * misc/bits/select2.h: New file.
11566 * include/bits/select2.h: New file.
11567 * debug/Makefile (routines): Add fdelt_chk.
11568 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
11569 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
11570 FD_ISSET.
11571 * debug/fdelt_chk.c: New file.
11572
762011fe
UD
11573 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
11574 * wcsmbs/test-wmemcmp.c: Likewise.
11575 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 11576 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
11577
115782011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11579
11580 * string/Makefile (strop-tests): Add memcmp.
11581 * string/test-wmemcmp.c: New file.
11582 * string/test-memcmp.c: Add wmemcmp support.
11583
7f513ec8
RM
115842011-09-08 Roland McGrath <roland@hack.frob.com>
11585
0442afb4
RM
11586 [BZ #13153]
11587 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
11588 2011-07-19 change.
11589
7f513ec8
RM
11590 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
11591 garbage value in a __mach_port_mod_refs call in the cases of the
11592 task-self and thread-self ports.
11593
a12b2239
ST
115942011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11595
11596 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
11597
610f9ab4
AS
115982011-09-08 Andreas Schwab <schwab@redhat.com>
11599
7f513ec8 11600 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 11601
48882a1a
LD
116022011-09-07 Ulrich Drepper <drepper@gmail.com>
11603
b49865be
UD
11604 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
11605
fdc86bc9
UD
11606 * elf/dl-libc.c (dlerror_run): Pass back error code from
11607 dl_catch_error.
11608
c966526a
UD
11609 [BZ #13123]
11610 * elf/dl-load.c (lose): Free l_origin if it is valid.
11611
48882a1a
LD
11612 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
11613 names.
11614 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
11615 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11616 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
11617 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11618 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
11619 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
11620
77a2a8b4
AZ
116212011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 * sysdeps/powerpc/fpu/e_hypot.c: New file.
11624 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
11625 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
11626 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
11627 * sysdeps/powerpc/fpu/k_cosf.c: New file.
11628 * sysdeps/powerpc/fpu/k_sinf.c: New file.
11629 * sysdeps/powerpc/fpu/s_cosf.c: New file.
11630 * sysdeps/powerpc/fpu/s_sinf.c: New file.
11631 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
11632 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
11633
24f579d8
AM
116342011-08-15 Alan Modra <amodra@gmail.com>
11635
11636 [BZ #13092]
11637 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
11638 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
11639 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
11640 ppc_mcount to static-only-routines.
11641 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
11642 __mcount_internal.
11643 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
11644 __mcount_internal with usual JUMPTARGET. Remove useless nop.
11645
3d4837df
UD
116462011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
11647
11648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
11649 for finite and infinity parameters.
11650
22700377
WS
116512011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
11652
11653 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
11654 and add nop instructions for throughput optimization.
11655 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11656
5025581e
WS
116572011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
11658
11659 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
11660 aligned copy for power7 with vector-scalar instructions.
11661 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11662
08a300c9
L
116632011-07-24 H.J. Lu <hongjiu.lu@intel.com>
11664
11665 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
11666 AVX check.
11667
59178ef9
AS
116682011-09-07 Andreas Schwab <schwab@redhat.com>
11669
11670 [BZ #13144]
11671 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
11672 last change.
11673
e38ba7ab
UD
116742011-09-07 Ulrich Drepper <drepper@gmail.com>
11675
11676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
11677 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
11678 syscall wrapper around clock_gettime in __vdso_clock_gettime.
11679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
11680 clock_gettime.
11681
d53a73ac
UD
116822011-09-06 Ulrich Drepper <drepper@gmail.com>
11683
fc8bffcc
UD
11684 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
11685 Forgot to demangle the pointer.
11686
ceaa0c5d
UD
11687 * sysdeps/i386/sysdep.h: Define atom_text_section.
11688 * sysdeps/x86_64/sysdep.h: Likewise.
11689 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
11690 section with atom_text_section.
11691 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
11692 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
11693 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
11694 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
11695 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
11696
a77d3c17
UD
11697 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
11698 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
11699 already be defined. Change to take two parameters and don't assign
11700 result to variable. Adjust all users.
11701 Define INTERNAL_GETTIME if not already defined.
11702 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
11703 call.
11704 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
11705 HAVE_CLOCK_GETTIME_VSYSCALL.
11706 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
11707
d53a73ac
UD
11708 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
11709 gettimeofday vsyscall, just use time.
11710
a8f84144
AS
117112011-09-06 Andreas Schwab <schwab@redhat.com>
11712
11713 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
11714 <errno.h>.
11715
ef606249
UD
117162011-09-06 Ulrich Drepper <drepper@gmail.com>
11717
11718 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
11719 syscall on x86-64.
11720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
11721 syscall.
11722 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
11723 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
11724 syscall if possible.
11725
6585cb60
UD
117262011-09-05 Ulrich Drepper <drepper@gmail.com>
11727
11728 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
11729 e_ident. Don't pass to find_mapsXX.
11730 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
11731
a5f524e4
LD
117322011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11733
11734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11735 strchr-sse2-no-bsf strrchr-sse2-no-bsf
11736 * sysdeps/x86_64/multiarch/strchr.S: Update.
11737 Check bit_slow_BSF bit.
11738 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11739 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
11740 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
11741
554881ef
UD
117422011-09-05 Ulrich Drepper <drepper@gmail.com>
11743
d96de963
UD
11744 [BZ #13134]
11745 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
11746 before glibc 2.15.
11747 (tryshell): Define.
11748 (__spawni): Change last parameter to be flag. Test
11749 SPAWN_XFLAGS_USE_PATH flag to use path or not.
11750 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
11751 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
11752 * posix/spawni.c: Likewise.
11753 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
11754 * posix/spawnp.c: Likewise. Change normal version to use
11755 SPAWN_XFLAGS_USE_PATH.
11756 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
11757 SPAWN_XFLAGS_TRY_SHELL.
11758
d48e5868
UD
11759 [BZ #13150]
11760 * posix/glob.h: Remove gcc 1.x support.
11761
554881ef
UD
11762 [BZ #13068]
11763 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
11764
693fb948
LD
117652011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11766
11767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11768 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
11769 strrchr-sse2-bsf
11770 * sysdeps/i386/i686/multiarch/strchr.S: New file.
11771 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
11772 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
11773 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
11774 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
11775 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
11776
1b48c537
UD
117772011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11778
49d42c37
UD
11779 * sysdeps/x86_64/wcscmp.S: New file.
11780
1b48c537
UD
11781 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
11782 wcscmp-c wcscmp-sse2
11783 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
11784 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
11785 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
11786 * wcsmbs/wcscmp.c: Allow renaming.
11787
15c95c5d
DM
117882011-09-05 David S. Miller <davem@davemloft.net>
11789
11790 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
11791 stack slot, rather than the struct return pointer slot.
11792 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
11793 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
11794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
11795 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
11796
2f0ad8f3
UD
117972011-09-05 Ulrich Drepper <drepper@gmail.com>
11798
d88ae418
UD
11799 * po/ja.po: Update from translation team.
11800
2f0ad8f3
UD
11801 [BZ #13144]
11802 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
11803 kernel in 64-bit binaries.
11804
5f4318d1
DM
118052011-09-01 David S. Miller <davem@davemloft.net>
11806
11807 * elf/elf.h (HWCAP_SPARC_*): Move to..
11808 * sysdeps/sparc/sysdep.h: this new file and add new values.
11809 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
11810 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
11811 _DL_HWCAP_COUNT to 24.
11812 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
11813 entries.
11814 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
11815 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
11816 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
11817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
11818 instead of magic constants.
11819 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11820
3ba57516
DM
118212011-08-31 David S. Miller <davem@davemloft.net>
11822
11823 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
11824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
11825 Reimplement to do errno handling inline.
11826 (SYSCALL_ERROR_HANDLER): New macro.
11827 (__SYSCALL_STRING): Do not do errno handling in asm.
11828 (__CLONE_SYSCALL_STRING): Delete.
11829 (__INTERNAL_SYSCALL_STRING): Delete.
11830 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
11831 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
11832 (PSEUDO): Reimplement to do errno handling inline.
11833 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
11834 (SYSCALL_ERROR_HANDLER): New macro.
11835 (__SYSCALL_STRING): Do not do errno handling in asm.
11836 (__CLONE_SYSCALL_STRING): Delete.
11837 (__INTERNAL_SYSCALL_STRING): Delete.
11838 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
11839 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
11840 i386.
11841 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
11842 (inline_syscall*): Add 'err' argument.
11843 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
11844 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
11845 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
11846 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
11847
11848 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
11849 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
11850
2bc17433
AS
118512011-08-30 Andreas Schwab <schwab@redhat.com>
11852
11853 * elf/rtld.c (dl_main): Relocate objects in dependency order.
11854
fbeb5f4d
JO
118552011-08-29 Jiri Olsa <jolsa@redhat.com>
11856
11857 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
11858 directive.
11859
ad69cc26
DM
118602011-08-24 David S. Miller <davem@davemloft.net>
11861
11862 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
11863
39dd69df
AS
118642011-08-24 Andreas Schwab <schwab@redhat.com>
11865
11866 * elf/Makefile: Add rules to build and run unload8 test.
11867 * elf/unload8.c: New file.
11868 * elf/unload8mod1.c: New file.
11869 * elf/unload8mod1x.c: New file.
11870 * elf/unload8mod2.c: New file.
11871 * elf/unload8mod3.c: New file.
11872
11873 * elf/dl-close.c (_dl_close_worker): Reset private search list if
11874 it wasn't used.
11875
2c0b250a
DM
118762011-08-23 David S. Miller <davem@davemloft.net>
11877
11878 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
11879 subtract stack bias.
11880 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
11881 %sp not %fp in calculations.
11882 (_JMPBUF_UNWINDS_ADJ): Likewise.
11883
22044b48
DM
11884 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
11885 (aio_suspend): Call it to force an exception region around the
11886 AIO_MISC_WAIT() invocation.
11887
2cae4995
AS
118882011-08-23 Andreas Schwab <schwab@redhat.com>
11889
11890 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
11891 backslash.
11892
873a772e
AJ
118932011-07-04 Aurelien Jarno <aurelien@aurel32.net>
11894
11895 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
11896 protection macro.
11897 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
11898 and <dl-machine.h>.
11899 (Elf64_FuncDesc): Remove.
11900
25ad0df1
DM
119012011-08-22 David S. Miller <davem@davemloft.net>
11902
11903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
11904 sigaltstack check, add missing cfi directives.
11905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
11906 missing cfi directives, and sigaltstack handling.
11907
e888bcbe
AS
119082011-08-16 Andreas Schwab <schwab@redhat.com>
11909
11910 [BZ #11724]
11911 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
11912 object is seen twice.
11913 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11914
11915 * elf/Makefile (distribute): Add tst-initorder2.c.
11916 (tests): Add tst-initorder2.
11917 (modules-names): Add tst-initorder2a tst-initorder2b
11918 tst-initorder2c tst-initorder2d. Add rules to build them.
11919 ($(objpfx)tst-initorder2.out): New rule.
11920 * elf/tst-initorder2.c: New file.
11921 * elf/tst-initorder2.exp: New file.
11922
87162f46
AS
119232011-08-22 Andreas Schwab <schwab@redhat.com>
11924
70538b7f
AS
11925 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
11926
f55ffe58
AS
11927 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
11928 dependencies back to end of function.
11929
87162f46
AS
11930 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11931 $(elfobjdir)/ld.so.
11932
91b392a4
UD
119332011-08-21 Ulrich Drepper <drepper@gmail.com>
11934
11935 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
11936 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
11937 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
11938 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
11939 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
11940 of __vdso_gettimeofday.
11941 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
11942 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
11943 attribute_hidden.
11944 (_libc_vdso_platform_setup): Remove initialization of
11945 __vdso_gettimeofday and __vdso_time.
11946
5c43483f
UD
119472011-08-20 Ulrich Drepper <drepper@gmail.com>
11948
775a77e7
UD
11949 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
11950 and fgetc_unlocked.
11951 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
11952 getc_unlocked.
89f447ed 11953
49c74ba9
UD
11954 * elf/dl-open.c (add_to_global): Report additions to the global scope
11955 for LD_DEBUG=scopes.
11956 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 11957 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 11958
5c43483f
UD
11959 [BZ #13114]
11960 * stdio-common/Makefile (tests): Add bug24.
11961 * stdio-common/bug24.c: New file.
11962
a101b025
AJ
119632011-08-19 Andreas Jaeger <aj@suse.de>
11964
11965 [BZ #13114]
11966 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
11967 non-existant file when using close-on-exec mode.
11968
c88f1766
UD
119692011-08-20 Ulrich Drepper <drepper@gmail.com>
11970
0276a718
UD
11971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
11972 the very first instruction.
11973
c88f1766
UD
11974 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
11975 the CFI state in the end.
11976 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
11977 inclusion of dl-trampoline.h.
11978 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
11979
51ccffa0
AS
119802011-08-19 Andreas Schwab <schwab@redhat.com>
11981
94d7165f
AS
11982 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
11983 expectations for long double.
11984
51ccffa0
AS
11985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
11986 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
11987
fd708658 119882011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
11989
11990 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
11991 artificual limit depends upon the system page size.
11992
44f0a71e
UD
119932011-08-17 Ulrich Drepper <drepper@gmail.com>
11994
11995 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
11996 * resolv/Makefile: Define CFLAGS-libresolv.
11997
8de79a24
AS
119982011-08-17 Andreas Schwab <schwab@redhat.com>
11999
12000 * nss/makedb.c (compute_tables): Make variables used in nested
12001 function static.
12002
27724598
UD
120032011-08-17 Ulrich Drepper <drepper@gmail.com>
12004
c5305d88
UD
12005 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
12006 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
12007 if buffer was too small.
12008
27724598
UD
12009 * elf/pldd.c (main): Attach to all threads in the process.
12010 Rewrite /proc handling to use *at functions.
12011
076fe015
UD
120122011-08-16 Ulrich Drepper <drepper@gmail.com>
12013
174baab3
UD
12014 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
12015 specifies first scope to show.
12016 (dl_open_worker): Update callers. Move printing scope of new
12017 object to before the relocation.
44f0a71e 12018 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
12019 * sysdeps/generic/ldsodefs.h: Update declaration.
12020
076fe015
UD
12021 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
12022 string for the scope number.
12023
a60df2c3
UD
120242011-08-14 Ulrich Drepper <drepper@gmail.com>
12025
12026 * nscd/servicescache.c (cache_addserv): Make sure written is always
12027 initialized.
12028
5e4287d1
RM
120292011-08-14 Roland McGrath <roland@hack.frob.com>
12030
85ae0589
RM
12031 * sysdeps/i386/i486/bits/atomic.h
12032 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
12033 statement expression, so as to suppress "set but not used" warning.
12034 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
12035
69f63097
RM
12036 * string/strncat.c (STRNCAT): Use prototype definition.
12037
675456ef
RM
12038 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
12039 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
12040 -Iprograms here.
12041 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
12042 (localedef-modules): Add localedef.
12043 (locale-modules): Add locale.
12044
5e4287d1
RM
12045 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
12046 * elf/rtld.c (dl_main): Invert order of assignment in last change,
12047 to avoid a warning.
12048
9c96ff23
DM
120492011-08-14 David S. Miller <davem@davemloft.net>
12050
12051 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
12052 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
12053
f9ddf089
UD
120542011-08-13 Ulrich Drepper <drepper@gmail.com>
12055
44f0a71e 12056 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
12057 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
12058 * elf/rtld.c (dl_main): Set l_name of vDSO.
12059 Call _dl_show_scope when DL_DEBUG_SCOPES.
12060 (process_dl_debug): Recognize scopes flag and also set it for all.
12061 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
12062 Declare _dl_show_scope.
12063
1dc27704
UD
12064 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
12065 (do_dlopen): Pass caller_dlopen to dl_open.
12066 (__libc_dlopen_mode): Initialize caller_dlopen.
12067
f9ddf089
UD
12068 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
12069 of libc. Make tolower call locale-independent. Optimize a bit by
12070 using isdigit instead of isalnum.
12071 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
12072
9ac533d3
UD
120732011-08-12 Ulrich Drepper <drepper@gmail.com>
12074
12075 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
12076 was a dependency or dynamically loaded.
12077
89edf2e9
UD
120782011-08-11 Ulrich Drepper <drepper@gmail.com>
12079
8e999d29
UD
12080 * intl/l10nflist.c: Allow architecture-specific pop function.
12081 * sysdeps/x86_64/l10nflist.c: New file.
12082
89edf2e9
UD
12083 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
12084 classification.
12085
14d96785
AS
120862011-08-10 Andreas Schwab <schwab@redhat.com>
12087
12088 * include/dirent.h: Add libc_hidden_proto for scandirat and
12089 scandirat64. Don't declare __scandirat64.
12090 * dirent/scandirat.c: Add libc_hidden_def.
12091 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
12092 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
12093
6761ac04
DM
120942011-08-10 David S. Miller <davem@davemloft.net>
12095
12096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
12097 enum.
12098 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12099 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12100 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12101
c55fbd1e
UD
121022011-08-09 Ulrich Drepper <drepper@gmail.com>
12103
12104 * Versions.def [libc]: Add GLIBC_2.15.
12105 * dirent/Makefile (routines): Add scandirat and scandirat64.
12106 * dirent/Versions [libc]: Export scandirat and scandirat64 for
12107 GLIBC_2.15.
12108 * dirent/dirent.h: Declare scandirat and scandirat64.
12109 * dirent/scandirat.c: New file.
12110 * dirent/scandirat64.c: New file.
12111 * sysdeps/wordsize-64/scandirat.c: New file.
12112 * sysdeps/wordsize-64/scandirat64.c: New file.
12113 * dirent/opendir.c: Define opendirat.
12114 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
12115 using scandirat.
12116 * dirent/scandir64.c: Adjust for scandir.c change.
12117 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
12118 __scandirat64, and __scandir_cancel_handler.
12119 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
12120 additional parameter and use openat instead of open (outside of ld.so).
12121 Add new __opendir as wrapper around __opendirat.
12122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
12123 here without requiring old scandirat implementation.
12124
879165f2
UD
121252011-08-08 Ulrich Drepper <drepper@gmail.com>
12126
12127 * dirent/scandir.c (cancel_handler): Renamed to
12128 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
12129 defined. Adjust users.
12130 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
12131 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
12132
cb7e923b
UD
121332011-08-04 Ulrich Drepper <drepper@gmail.com>
12134
16292edd
UD
12135 * string/test-string.h (IMPL): Use __STRING to expand name and then
12136 stringify it.
12137
cb7e923b
UD
12138 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
12139 of cleanups.
12140
cff82933
LD
121412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12142
12143 * string/Makefile: Update.
12144 (strop-tests): Append strncat.
12145 * string/test-wcscmp.c: New file.
12146 New comprehensive test for wcscmp.
12147 * string/test-strcmp.c: Update.
12148 (WIDE): New define.
12149
9be9bfcc
AS
121502011-07-22 Andreas Schwab <schwab@redhat.com>
12151
12152 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
12153 line.
12154
2e96f1c7
AS
121552011-07-26 Andreas Schwab <schwab@redhat.com>
12156
12157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12158 encoding to ACE if AI_IDN.
12159
85188888
JJ
121602011-08-01 Jakub Jelinek <jakub@redhat.com>
12161
12162 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
12163 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
12164
5fa16e9b
LD
121652011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12166
12167 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
12168 Fix overflow bug in strncat.
12169 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12170
12171 * string/test-strncat.c: Update.
12172 Add new tests for checking overflow bugs.
12173
121742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12175
12176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12177 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
12178 * sysdeps/i386/i686/multiarch/strcat.S: New file.
12179 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
12180 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
12181 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
12182 * sysdeps/i386/i686/multiarch/strncat.S: New file.
12183 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
12184 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
12185
12186 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
12187 (USE_AS_STRCAT): Define.
12188 Add strcat and strncat support.
12189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12190
8c1a459f
AS
121912011-07-25 Andreas Schwab <schwab@redhat.com>
12192
12193 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
12194 __n bigger than INT_MAX+1.
12195 (__strncmp_g): Likewise.
12196
bba33c28
UD
121972011-07-23 Ulrich Drepper <drepper@gmail.com>
12198
798be72d
UD
12199 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
12200 * libio/stido.h: Likewise.
12201
8accd4dc
UD
12202 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
12203 (AF_NFC): Define.
12204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
12205 (AF_NFC): Define.
12206
cbff0d96
UD
12207 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
12208 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12209 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12210 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
12211 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12212
9191c04a
UD
12213 [BZ #13021]
12214 * scripts/test-installation.pl: Don't expect libnss_test1 to be
12215 installed.
12216
bba33c28
UD
12217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
12218 typo.
12219 (_dl_x86_64_save_sse): Likewise.
12220
90f139dd
UD
122212011-07-22 Ulrich Drepper <drepper@gmail.com>
12222
1aae088a
UD
12223 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
12224 OSXSAVE.
12225 (_dl_x86_64_save_sse): Likewise.
12226
8e2045f5
UD
12227 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
12228
90f139dd
UD
12229 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
12230
1d002f25
AS
122312011-07-21 Andreas Schwab <schwab@redhat.com>
12232
12233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
12234 change.
12235 (_dl_x86_64_save_sse): Use correct AVX check.
12236
21137f89
UD
122372011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12238
12239 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
12240 bug in strncpy/strncat.
12241 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12242
a65c0b7a
UD
122432011-07-21 Ulrich Drepper <drepper@gmail.com>
12244
12245 * string/tester.c (test_strcat): Add tests for different alignments
12246 of source and destination.
12247 (test_strncat): Likewise.
12248
6986b98a
UD
122492011-07-20 Ulrich Drepper <drepper@gmail.com>
12250
90bb2039
UD
12251 [BZ #12852]
12252 * posix/glob.c (glob): Check passed in values before using them in
12253 expressions to avoid some overflows.
12254 (glob_in_dir): Likewise.
12255
5644ef54
UD
12256 [BZ #13007]
12257 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
12258 check for AVX enablement so that we don't crash with old kernels and
12259 new hardware.
12260 * elf/tst-audit4.c: Add same checks here.
12261 * elf/tst-audit6.c: Likewise.
12262
12263 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 12264
bfc9dc9b
AS
122652011-07-09 Andreas Schwab <schwab@linux-m68k.org>
12266
12267 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
12268
702e64bb
UD
122692011-07-20 Ulrich Drepper <drepper@gmail.com>
12270
12271 * po/cs.po: Update from translation team.
12272 * po/bg.po: Likewise.
12273
295e904f
MP
122742011-07-12 Marek Polacek <mpolacek@redhat.com>
12275
12276 * misc/sys/cdefs.h: Add support for const attribute.
12277 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
12278 to gnu_dev_{major,minor,makedev} functions.
12279
3ff94596
MP
122802011-07-20 Marek Polacek <mpolacek@redhat.com>
12281
12282 * intl/dcigettext.c (get_output_charset): Add missing bracket.
12283
28b59fca
AS
122842011-07-20 Andreas Schwab <schwab@redhat.com>
12285
12286 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
12287 strlen results.
12288
19df733e
AK
122892011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12290
12291 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
12292 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
12293 register in order to avoid conflicts with the soft frame pointer
12294 being held in r11 when necessary.
12295 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
12296 (INTERNAL_VSYSCALL_NCS): Likewise.
12297
c8835729
MP
122982011-07-14 Marek Polacek <mpolacek@redhat.com>
12299
12300 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
12301 * elf/dl-fini.c (_dl_fini): Adjust caller.
12302 * elf/dl-close.c (_dl_close_worker): Likewise.
12303 * sysdeps/generic/ldsodefs.h: Adjust declaration.
12304
b902330c
MP
123052011-07-15 Marek Polacek <mpolacek@redhat.com>
12306
8991e135
MP
12307 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
12308 "aux_cache->nlibs < 0".
12309
b902330c
MP
12310 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
12311 in the reload-count case.
12312
99710781
LD
123132011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
12314
12315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12316 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
12317 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
12318 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
12319 * sysdeps/x86_64/multiarch/strcat.S: New file.
12320 * sysdeps/x86_64/multiarch/strncat.S: New file.
12321 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
12322 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
12323 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
12324 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
12325 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
12326 (USE_AS_STRCAT): Define.
12327 Add strcat and strncat support.
12328 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
12329 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12330 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
12331 * string/strncat.c: Update.
12332 (USE_AS_STRNCAT): Define.
12333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12334 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
12335 and i7.
12336 * sysdeps/x86_64/multiarch/init-arch.h
12337 (bit_Prefer_PMINUB_for_stringop): New.
12338 (index_Prefer_PMINUB_for_stringop): Likewise.
12339 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
12340 bit_Prefer_PMINUB_for_stringop.
12341
7dc6bd90
UD
123422011-07-19 Ulrich Drepper <drepper@gmail.com>
12343
12344 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
12345 buffer64.
12346 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
12347 of casting of buffer.
12348 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
12349 buffer32 and buffer64.
12350 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
12351 writes instead of casting of buffer.
12352 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
12353 buffer32.
12354 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
12355 casting of buffer.
12356
e0e72284
AS
123572011-07-19 Andreas Schwab <schwab@redhat.com>
12358
12359 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
12360
feb1eb0b
UD
123612011-07-19 Ulrich Drepper <drepper@gmail.com>
12362
12363 * nscd/nscd.c (termination_handler): Don't do anything for a database
12364 if it has not yet been initialized.
12365
298711ff
UD
123662011-07-18 Ulrich Drepper <drepper@gmail.com>
12367
12368 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12369
123702011-07-15 Marek Polacek <mpolacek@redhat.com>
12371
12372 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
12373
f9d68389
UD
123742011-07-18 Ulrich Drepper <drepper@gmail.com>
12375
12376 * po/nl.po: Update from translation team.
12377 * po/sv.po: Likewise.
12378
db290cf5
RM
123792011-07-16 Roland McGrath <roland@hack.frob.com>
12380
12381 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
12382 now disallowed by GCC.
5c550700 12383
fd5e21c7
RM
12384 * configure.in (use-default-link): Default to yes if a test -shared
12385 link meets our qualifications.
12386 * configure: Regenerated.
12387
5c550700
RM
12388 * config.make.in (output-format): New variable.
12389 * configure.in: Check for ld --print-output-format support.
12390 * configure: Regenerated.
12391 * Makerules ($(common-objpfx)format.lds)
12392 [$(output-format) != unknown]: Just use $(output-format),
12393 instead of the linker-script munging.
12394
9fa2c032
RM
123952011-07-14 Roland McGrath <roland@hack.frob.com>
12396
a6928d51
RM
12397 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
12398 of $(common-objpfx)shlib.lds.
12399 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
12400
661607b3
RM
12401 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
12402 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
12403
9fa2c032
RM
12404 * configure.in (-z relro check): Adjust test code to add a large
12405 writable data section after it.
12406 * configure: Regenerated.
12407
defe9061
RM
124082011-07-11 Roland McGrath <roland@hack.frob.com>
12409
12410 * configure.in (-z relro check): Fix test code to make the variable
12411 truly const.
12412 * configure: Regenerated.
12413
319b9ad4
UD
124142011-07-11 Ulrich Drepper <drepper@gmail.com>
12415
12416 * nscd/nscd.h (struct traced_file): Define.
12417 (struct database_dyn): Remove inotify_descr, reset_res, and filename
12418 elements. Add traced_files.
12419 (inotify_fd): Declare.
12420 (register_traced_file): Declare.
12421 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
12422 (inotify_fd): Export.
12423 (resolv_conf_descr): Remove.
12424 (nscd_init): Move inotify descriptor creation to main.
12425 Don't register files for notification here.
12426 (register_traced_file): New function.
12427 (invalidate_cache): Don't use reset_res to determine whether to call
12428 res_init, go through the list of registered files.
12429 (main_loop_poll): The inotify descriptors are now stored in the
12430 structures for the traced files.
12431 (main_loop_epoll): Likewise
12432 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
12433 to __nss_disable_nscd.
12434 * nscd/cache.c (prune_cache): There is no single inotify descriptor
12435 for a database anymore. Check the records for all the registered
12436 files instead.
12437 * nss/Makefile (libnss_files-routines): Add files-init.
12438 (libnss_db-routines): Add db-init.
12439 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
12440 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
12441 * nss/nss_db/db-init.c: New file.
12442 * nss/nss_files/files-init.c: New file.
12443 * nss/nsswitch.c (nss_load_library): New function. Broken out of
12444 __nss_lookup_function.
12445 (__nss_lookup_function): Call nss_load_library.
12446 (nss_load_all_libraries): New function.
12447 (__nss_disable_nscd): Take parameter with callback function for files
12448 to register. Set is_nscd. Load all the DSOs for the NSS modules
12449 used for the cached services.
12450 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
12451 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
12452 options for features to all the files in nscd.
12453
12454 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
12455
23bee3e8
RM
124562011-07-10 Roland McGrath <roland@hack.frob.com>
12457
12458 * csu/elf-init.c (__libc_csu_init): Comment typo.
12459
46a5b7f0
UD
124602011-07-09 Ulrich Drepper <drepper@gmail.com>
12461
12462 * po/pl.po: Update from translation team.
12463 * po/ja.po: Likewise.
12464 * po/ru.po: Likewise.
12465 * po/ko.po: Likewise.
12466 * po/fr.po: Likewise.
12467
d30cf5bb
RM
124682011-07-09 Roland McGrath <roland@hack.frob.com>
12469
113ddea4
RM
12470 * configure.in (.ctors/.dtors header and trailer check):
12471 Use an empirical test on a built program.
12472 * configure: Regenerated.
12473
574920b4
RM
12474 * configure.in (-z relro check): Use an empirical test on a built DSO.
12475 Detect, but do not require, on ia64.
12476 * configure: Regenerated.
12477
d30cf5bb
RM
12478 * configure.in (READELF): Find it with AC_CHECK_TOOL.
12479 Update tests that use readelf to use $READELF instead.
12480 * configure: Regenerated.
12481
8538fdb3
UD
124822011-07-08 Ulrich Drepper <drepper@gmail.com>
12483
12484 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
12485 if the result is not used.
12486
04d08991
AJ
124872011-07-05 Andreas Jaeger <aj@suse.de>
12488
12489 [BZ#9696]
12490 * stdlib/tst-strtod.c: Add testcase.
12491
de283087
AD
124922011-07-07 Ulrich Drepper <drepper@gmail.com>
12493
4e5f31c8 12494 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 12495 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
12496 The latter has a higher limit. Take additional parameter to pass to
12497 the new function.
12498 (__pathconf): Pass file to __statfs_link_max.
12499 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
12500 __statfs_link_max.
12501 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
12502 __statfs_link_max.
12503
de283087
AD
12504 [BZ #12868]
12505 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
12506 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12507 Handle Lustre.
12508 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
12509 (__statfs_filesize_max): Likewise.
12510 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
12511
c75fa153
AJ
125122011-07-05 Andreas Jaeger <aj@suse.de>
12513
12514 * resolv/res_comp.c (dn_skipname): Remove unused variable.
12515
1a544854
UD
125162011-07-06 Marek Polacek <mpolacek@redhat.com>
12517
12518 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
12519 `status' variable.
12520 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
12521 Likewise.
12522
6f0eec67
UD
125232011-07-04 H.J. Lu <hongjiu.lu@intel.com>
12524
12525 * Makefile (strop-tests): Add strncat.
12526 * string/test-strncat.c: New file.
12527
aae30307
UD
125282011-06-30 Marek Polacek <mpolacek@redhat.com>
12529
12530 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
12531
c0cfb5eb
UD
125322011-06-21 Andreas Jaeger <aj@suse.de>
12533
12534 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
12535 Copy rule from iconvdata/Makefile.
12536
01636b21
UD
125372011-07-06 Ulrich Drepper <drepper@gmail.com>
12538
12539 [BZ #12922]
12540 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
12541 but no long options are defined, just return 'W'.
12542
9895c8bc
UD
125432011-06-22 Marek Polacek <mpolacek@redhat.com>
12544
12545 [BZ #9696]
12546 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
12547
5d4cf042
UD
125482011-07-06 Ulrich Drepper <drepper@gmail.com>
12549
12550 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
12551 netgroups to read.
960e5535 12552 (innetgr): Likewise.
5d4cf042 12553
751eb97e
RM
125542011-07-05 Roland McGrath <roland@hack.frob.com>
12555
12556 * config.make.in (install_root): Default to $(DESTDIR).
12557
f15f1e45
UD
125582011-07-05 Ulrich Drepper <drepper@gmail.com>
12559
12560 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
12561
4e34ac6a
RM
125622011-07-02 Roland McGrath <roland@hack.frob.com>
12563
5e9b6af4
RM
12564 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
12565
84f9ea0f
RM
12566 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
12567 containing directory rather than embedding absolute directory names.
12568
ea5ee9f7
RM
12569 * scripts/check-local-headers.sh: Rewritten using awk.
12570 Match by word, not by line. Print error messages for matches.
12571 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
12572
1b74661a
RM
12573 * Makerules [shlib-lds-flags empty]:
12574 ($(common-objpfx)libc_pic.opts): New target.
12575 ($(common-objpfx)libc_pic.os.clean): New target.
12576 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
12577
12578 * config.make.in (OBJCOPY): New variable.
12579 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
12580 * configure: Regenerated.
12581
f781ef40
RM
12582 * config.make.in (use-default-link): New variable.
12583 * configure.in (use_default_link): Grok --with-default-link to set it.
12584 * configure: Regenerated.
12585 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
12586 (shlib-lds, shlib-lds-flags): Define to empty.
12587
2d4fa81e
RM
12588 * Makerules (shlib-lds): New variable.
12589 (shlib-lds-flags): New variable.
12590 (build-shlib, build-moduile, build-module-asneeded): Use it.
12591 ($(common-objpfx)libc.so): Use $(shlib-lds).
12592 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
12593 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
12594
31fffa6b
RM
12595 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
12596 DT_FLAGS/DT_FLAGS_1 with zero flags.
12597
4e34ac6a
RM
12598 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
12599 linker script munging.
12600
fcfc776b
UD
126012011-07-02 Ulrich Drepper <drepper@gmail.com>
12602
12603 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
12604 as 128-bit value.
12605 * crypt/sha512.c (sha512_process_block): Perform total addition using
12606 128-bit if possible.
12607 (__sha512_finish_ctx): Likewise.
12608 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
12609 as 64-bit value.
12610 * crypt/sha256.c (SWAP64): Define.
12611 (sha256_process_block): Perform total addition using 64-bit if
12612 possible.
12613 (__sha256_finish_ctx): Likewise.
12614
99231d9a
UD
126152011-07-01 Ulrich Drepper <drepper@gmail.com>
12616
12617 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
12618 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12619 * nscd/hstcache.c (cache_addhst): Likewise.
12620 * nscd/grpcache.c (cache_addgr): Likewise.
12621 * nscd/aicache.c (addhstaiX): Likewise
12622 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
12623
445b4a53
TK
126242011-07-01 Thorsten Kukuk <kukuk@suse.de>
12625
12626 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
12627 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12628 * nscd/hstcache.c (cache_addhst): Likewise.
12629 * nscd/grpcache.c (cache_addgr): Likewise.
12630 * nscd/aicache.c (addhstaiX): Likewise
12631
6d4d8e8e
AS
126322011-07-01 Andreas Schwab <schwab@redhat.com>
12633
12634 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
12635 domain only when needed.
12636
89f654c5
AS
126372011-06-30 Andreas Schwab <schwab@redhat.com>
12638
12639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
12640 is always restored.
12641
cf3b23ff
UD
126422011-06-29 Ulrich Drepper <drepper@gmail.com>
12643
12644 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
12645 are re-adding the entry.
12646 * nscd/servicescache.c (cache_addserv): Likewise.
12647
751626f9
AJ
126482011-06-30 Aurelien Jarno <aurelien@aurel32.net>
12649
12650 * sysdeps/generic/dl-irel.h: fix protection against multiple
12651 inclusions.
12652 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
12653
9113ea1f
UD
126542011-06-28 Ulrich Drepper <drepper@gmail.com>
12655
5c0b8d90
UD
12656 [BZ #12935]
12657 * malloc/memusage.sh: Fix quoting in message.
12658 * debug/xtrace.sh: Likewise.
12659
9113ea1f
UD
12660 * configure.in: Remove support for --experimental-malloc option, make
12661 it the default.
12662 * config.make.in: Likewise.
12663 * malloc/Makefile: Likewise.
12664
a4172181
AS
126652011-06-27 Andreas Schwab <schwab@redhat.com>
12666
12667 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
12668 two-byte characters.
12669
78a7eee7
RM
126702011-06-27 Roland McGrath <roland@hack.frob.com>
12671
62bede13
RM
12672 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
12673 AC_CACHE_CHECK invocation.
12674 * configure: Regenerated.
12675
78a7eee7
RM
12676 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
12677
5ce33a62
UD
126782011-06-27 Ulrich Drepper <drepper@gmail.com>
12679
034807a9
UD
12680 [BZ #12350]
12681 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
12682 bit from old_res_options.
12683
4902da17
UD
12684 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
12685
5ce33a62
UD
12686 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
12687 value type for setfct.
12688
c2344f56
L
126892011-06-23 H.J. Lu <hongjiu.lu@intel.com>
12690
12691 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12692 __gettimeofday instead of gettimeofday.
12693
68468076
UD
126942011-06-26 Ulrich Drepper <drepper@gmail.com>
12695
12696 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
12697
acb0d739
L
126982011-06-24 H.J. Lu <hongjiu.lu@intel.com>
12699
12700 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
12701
12702 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
12703 info.
12704
8912479f
L
127052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12706
12707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12708 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12709 strcpy-sse2-unaligned strncpy-sse2-unaligned
12710 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
12711 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
12712 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
12713 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
12714 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
12715 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
12716 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
12717 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
12718 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
12719 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
12720 (STRCPY): Support SSE2 and SSSE3 versions.
12721
d5495a11
UD
127222011-06-24 Ulrich Drepper <drepper@gmail.com>
12723
12724 [BZ #12874]
12725 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
12726 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
12727 kernels which artificially limit size of requests.
12728
0b1cbaae
L
127292011-06-22 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12732 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
12733 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
12734 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
12735 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
12736 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
12737 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
12738 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
12739 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
12740 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
12741 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
12742 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
12743 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
12744 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
12745 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
12746 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12747 Enable unaligned load optimization for Intel Core i3, i5 and i7
12748 processors.
12749 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
12750 Define.
12751 (index_Fast_Unaligned_Load): Define.
12752 (HAS_FAST_UNALIGNED_LOAD): Define.
12753
07f494a0
MP
127542011-06-23 Marek Polacek <mpolacek@redhat.com>
12755
12756 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
12757
fa3fc0fe
UD
127582011-06-22 Ulrich Drepper <drepper@gmail.com>
12759
12760 [BZ #12907]
12761 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
12762 until it is clear that the information is realy needed.
12763 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
12764
e12df166
AS
127652011-06-22 Andreas Schwab <schwab@redhat.com>
12766
12767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
12768
852eb34d
UD
127692011-06-22 Ulrich Drepper <drepper@gmail.com>
12770
84e2a551
UD
12771 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
12772 /sys/devices/system/cpu/online if it is usable.
12773
852eb34d
UD
12774 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
12775 reading the information from the /proc filesystem to once a second.
12776
6e502e19
UD
127772011-06-21 Andreas Jaeger <aj@suse.de>
12778
12779 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
12780 NULL after inclusion of kernel headers.
12781
75d39ff2
UD
127822011-06-21 Ulrich Drepper <drepper@gmail.com>
12783
51f9aa6a
UD
12784 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
12785 calls to internal_setent.
12786
c0244a9d
UD
12787 [BZ #12885]
12788 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
12789 addresses using gethostbyname4_r ignore IPv4 addresses.
12790
c5e3c2ae
UD
12791 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
12792 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
12793
75d39ff2
UD
12794 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
12795
42675c6f
DM
127962011-06-20 David S. Miller <davem@davemloft.net>
12797
12798 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
12799 inclusions.
12800 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
12801
12802 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
12803 (elf_irel): Use it.
12804 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
12805 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
12806 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
12807 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
12808 * sysdeps/x86_64/dl-irel.h: Likewise.
12809
12810 * elf/dl-runtime.c: Use elf_ifunc_invoke.
12811 * elf/dl-sym.c: Likewise.
12812
57912a71
UD
128132011-06-15 Ulrich Drepper <drepper@gmail.com>
12814
12815 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
12816 need to dereference resplen2.
12817
ee22793d
AS
128182011-06-14 Andreas Schwab <schwab@redhat.com>
12819
12820 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
12821
a9e836b0
UD
128222011-06-15 Ulrich Drepper <drepper@gmail.com>
12823
77fb9117
UD
12824 * Makeconfig: Define vardbdir and inst_vardbdir.
12825 * nss/Makefile: Add rules to install db-Makefile.
12826
40c1b22c
UD
12827 * nss/nss_db/db-XXX.c: Cleanup.
12828
9f2da732
UD
12829 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
12830 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
12831 GLIBC_PRIVATE.
12832 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
12833 * nss/makedb.c: Implement -g option to specify that value strings
12834 are generated and should not be added to table iterated over for
12835 get*ent calls.
12836 * nss/nss_db/db-initgroups.c: New file.
12837
82e9a1f7
UD
12838 * nss/getent.c: Add support for initgroups lookups through getgrouplist
12839 interface.
12840
c41af17e
UD
12841 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
12842 (internal_getgrouplist): Adjust to name change.
12843 Update use_initgroups_entry if this is not the first call.
12844 * nss/databases.def: Add initgroups entry.
12845
a9e836b0
UD
12846 * nss/makedb.c (compute_tables): Check result of multiple hash table
12847 sizes to minimize maximum chain length.
12848
2666d441
UD
128492011-06-14 Ulrich Drepper <drepper@gmail.com>
12850
12851 * Versions.def: Add entry for libnss_db.
12852 * shlib-versions: Likewise.
12853 * nss/Makefile: Add rules to build libnss_db.
12854 * nss/Versions: Add libnss_db information. Organize libnss_files
12855 entries better.
12856 * nss/db-Makefile: Add gshadow support. Change rules for the new
12857 makedb progra. Some minor improvements to generate smaller files.
12858 * nss/nss_db/nss_db.h: Move NSS database header data structures to
12859 here from...
12860 * nss/makedb.c: ...here.
12861 Improve database format to be smaller and require less memory at
12862 runtime.
12863 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
12864 db anymore.
12865 * nss/nss_db/db-netgrp.c: Likewise.
12866 * nss/nss_db/db-open.c: Likewise.
12867 * nss/nss_files/flies-XXX.x: Adjust comments.
12868 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
12869 * nss/nss_files/files-grp.c: Likewise.
12870 * nss/nss_files/files-hosts.c: Likewise.
12871 * nss/nss_files/files-network.c: Likewise.
12872 * nss/nss_files/files-proto.c: Likewise.
12873 * nss/nss_files/files-pwd.c: Likewise.
12874 * nss/nss_files/files-rpc.c: Likewise.
12875 * nss/nss_files/files-service.c: Likewise.
12876 * nss/nss_files/files-sgrp.c: Likewise.
12877 * nss/nss_files/files-spwd.c: Likewise.
12878 * nss/nss_db/db-alias.c: Removed.
12879 * nss/nss_db/dummy-db.h: Removed.
12880
9ee76b5a
UD
128812011-06-02 Ulrich Drepper <drepper@gmail.com>
12882
12883 * nss/makedb.c: Rewritten to not use database library.
12884 * nss/Makefile: Update to build new makedb program.
12885
c71ca1f8
AJ
128862011-06-14 Andreas Jaeger <aj@suse.de>
12887
12888 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
12889 memset declaration.
12890
3154bfb8
UD
128912011-06-10 Andreas Schwab <schwab@redhat.com>
12892
12893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
12894 tmpbuf.
12895
b350afab
RM
128962011-06-10 Roland McGrath <roland@hack.frob.com>
12897
decd4e50
RM
12898 * Makerules (shlib.lds): Fail if the linker script comes out empty.
12899 * elf/Makefile ($(objpfx)ld.so): Likewise.
12900
5615eaf2
RM
12901 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
12902 Don't list ld.so twice in dependencies.
12903
12904 * posix/bug-regex31.c: Include <stdlib.h>.
12905
12906 * nscd/hstcache.c (cache_addhst): Remove unused variable.
12907
12908 * nis/nss_compat/compat-spwd.c
12909 (getspent_next_nss_netgr): Remove unused variable.
12910 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
12911
12912 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
12913 nonmembers" output to use the right array.
12914
12915 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
12916
12917 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
12918
12919 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
12920 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
12921 * catgets/gencat.c (read_input_file): Likewise.
12922 * locale/programs/locarchive.c (enlarge_archive): Likewise.
12923
12924 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
12925 variable definition inside #if's controlling its use.
12926
12927 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
12928
12929 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
12930
12931 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
12932
12933 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
12934 unreachable code.
12935
12936 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
12937
b68e08db
RM
12938 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
12939 * configure: Regenerated.
12940
b350afab
RM
12941 * Makerules: Revert last change.
12942 * elf/Makefile: Likewise.
12943
28368601
RM
129442011-06-09 Roland McGrath <roland@hack.frob.com>
12945
12946 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
12947 * elf/Makefile ($(objpfx)librtld.os): Likewise.
12948 (reloc-link): Likewise.
12949
11988f8f
UD
129502011-06-09 Ulrich Drepper <drepper@gmail.com>
12951
12952 * elf/Makefile: Add rules to build pldd.
12953 * elf/pldd.c: New file.
12954 * elf/pldd-xx.c: New file.
12955
e80fab37
UD
129562011-06-07 Ulrich Drepper <drepper@gmail.com>
12957
12958 * version.h: Update for 2.15 development version.
12959
9b849836
DM
129602011-06-07 David S. Miller <davem@davemloft.net>
12961
12962 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
12963 ifuncs.
12964 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
12965 elf_machine_lazy_rel): Likewise.
12966 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
12967 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
12968 elf_machine_lazy_rel): Likewise.
12969 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
12970 dl_hwcap via passed in argument.
12971 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
12972 Likewise.
12973
5a31b283
AK
129742011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12975
12976 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
12977
069e52f8
RM
129782011-06-06 Roland McGrath <roland@hack.frob.com>
12979
12980 [BZ #12849]
12981 * manual/fdl-1.1.texi: New file, verbatim from:
12982 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
12983 * manual/lgpl-2.1.texi: New file, verbatim from:
12984 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
12985 * manual/Makefile (licenses): New variable, list those new file names.
12986 (texis): Use it.
12987 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
12988
12989 * manual/fdl.texi: File removed.
12990 * manual/lesser.texi: File removed.
12991 * manual/libc.texinfo (Copying, Documentation License):
12992 Use new @include file names, put @appendix directive before @include.
12993
f16846a5
JJ
129942011-06-04 Jakub Jelinek <jakub@redhat.com>
12995
12996 [BZ #12841]
12997 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
12998 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
12999 (mq_open): Add __NTH.
13000
3d29045b
L
130012011-06-02 H.J. Lu <hongjiu.lu@intel.com>
13002
13003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13004 Assume Intel Core i3/i5/i7 processor if AVX is available.
13005
8c297311
UD
130062011-05-31 Ulrich Drepper <drepper@gmail.com>
13007
13008 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
13009 typo.
13010
c8fc0c91
UD
130112011-05-31 Andreas Schwab <schwab@redhat.com>
13012
13013 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
13014 memory. Use alloca_account. Fix memory leak when retrying.
13015
5b27a807
UD
130162011-05-31 Ulrich Drepper <drepper@gmail.com>
13017
356f8bc6
UD
13018 * version.h (RELEASE): Bump for 2.14 release.
13019 * include/features.h (__GLIBC_MINOR__): Bump to 14.
13020
5b27a807
UD
13021 * config.make.in (RANLIB): Remove entry.
13022
01f16ab0
UD
130232011-05-30 Ulrich Drepper <drepper@gmail.com>
13024
41fce8bd
UD
13025 * po/Makefile (po-sed-cmd): Add ksh to extensions.
13026 (libc.pot): Work around missing support for .ksh extension in xgettext.
13027
4769ae77
UD
13028 [BZ #12684]
13029 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
13030 if both request failed.
13031 (send_dg): In case of server errors clear resplen or *resplen2.
13032
6b1e7d19
UD
13033 [BZ #12454]
13034 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
13035 when there are multiple maps.
13036 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
13037 (_dl_fini): Remove test here.
13038
01f16ab0
UD
13039 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
13040
b1ebd700
UD
130412011-05-29 Ulrich Drepper <drepper@gmail.com>
13042
7ae22829
UD
13043 [BZ #12350]
13044 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
13045 bit from old_res_options.
13046 (gaih_inet): Likewise.
13047
553149f6 13048 [BZ #11099]
18a84741 13049 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
13050 as signed.
13051
652ffab1
UD
13052 * resolv/res_init.c (res_setoptions): Make the code more compact.
13053
16985fd0
UD
13054 [BZ #11558]
13055 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
13056 set RES_USEVC.
13057
0464f746
UD
13058 [BZ #11634]
13059 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
13060
7d17596c
UD
13061 * malloc/malloc.h: Mark malloc hook variables as deprecated.
13062
cf6bbbd7
UD
13063 [BZ #11781]
13064 * malloc/malloc.h: Declare malloc hook variables as volatile.
13065
13f1ab36
UD
13066 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
13067 in last patch.
13068
b1ebd700
UD
13069 [BZ #11799]
13070 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 13071 raise in the comment.
80e2212d
UD
13072 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
13073 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13074 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 13075
ce67228d
UD
130762011-05-28 Ulrich Drepper <drepper@gmail.com>
13077
8887a920
UD
13078 [BZ #12811]
13079 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
13080 grow the buffers more if it already has to be sufficient.
13081 (build_wcs_upper_buffer): Likewise.
13082 * posix/regexec.c (check_matching): Likewise.
13083 (clean_state_log_if_needed): Likewise.
13084 (extend_buffers): Don't enlarge buffers beyond size of the input
13085 buffer.
13086 Patches mostly by Emil Wojak <emil@wojak.eu>.
13087 * posix/bug-regex32.c: New file.
13088 * posix/Makefile (tests): Add bug-regex32.
13089
4f031072
UD
13090 * locale/findlocale.c (_nl_find_locale): Return right away if
13091 _nl_explode_name failed.
13092 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
13093
d0478f0c
UD
13094 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
13095
de81b246
UD
13096 * debug/xtrace.sh: Unify messages.
13097 * malloc/memusage.sh: Likewise.
13098
c738465a
UD
13099 [BZ #12813]
13100 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
13101 time symbol from vDSO. Substitute with vsyscall if not available.
13102 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
13103 __vdso_time.
13104
f1f929d7
UD
13105 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
13106 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
13107 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
13108 Add sendmmsg and internal_sendmmsg.
13109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
13110 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
13111 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
13112
ce67228d
UD
13113 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
13114 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
13115 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
13116
e57420c6
UD
131172011-05-27 Ulrich Drepper <drepper@gmail.com>
13118
a8509ca5
UD
13119 [BZ #12813]
13120 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
13121 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
13122 available.
13123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
13124 __vdso_getcpu.
13125
e57420c6
UD
13126 [BZ #12814]
13127 * iconvdata/Makefile (tests): Add bug-iconv9.
13128 * iconvdata/bug-iconv9.c: New file.
13129
4d07db15
AS
131302011-05-27 Andreas Schwab <schwab@redhat.com>
13131
13132 [BZ #12814]
13133 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
13134
ea486f69
JJ
131352011-05-25 Jakub Jelinek <jakub@redhat.com>
13136
13137 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13138 (struct user_regs_struct): Change intcs field back to cs.
13139
6f038433
UD
131402011-05-25 Ulrich Drepper <drepper@gmail.com>
13141
13142 * po/ja.po: Update from translation team.
13143
67f86a25
UD
131442011-05-23 Ulrich Drepper <drepper@gmail.com>
13145
13146 [BZ #12795]
13147 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
13148 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
13149
def7fbd6
AS
131502011-05-20 Andreas Schwab <schwab@redhat.com>
13151
13152 * stdlib/longlong.h: Update from GCC.
13153
f50ef8f1
AS
131542011-05-23 Andreas Schwab <schwab@redhat.com>
13155
13156 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
13157 parameter name.
13158 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
13159 Add parameter name.
13160 (__sysconf): Pass it down.
13161
de7ce8f1
UD
131622011-05-22 Ulrich Drepper <drepper@gmail.com>
13163
f2962a71
UD
13164 [BZ #12671]
13165 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
13166 some situations.
13167 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
13168 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
13169 add in in __libc_use_alloca calls. Adjust callers.
13170 (glob): Use malloc in some situations.
13171
de7ce8f1
UD
13172 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
13173 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
13174 pltexit.
13175
aec84f53
UD
131762011-05-21 Ulrich Drepper <drepper@gmail.com>
13177
05bb4a68
UD
13178 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
13179 and CLOCK_BOOTTIME_ALARM.
13180
7ea72f99
UD
13181 [BZ #12782]
13182 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
13183 is returned.
13184
7e4afad5
UD
13185 * string/_strerror.c (__strerror_r): Print negative errors as signed
13186 numbers.
13187
8e211fec
UD
13188 [BZ #12777]
13189 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
13190 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
13191 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
13192
f7d82dc9
UD
13193 * configure.in: Fix typo in redirection and correct removal of test
13194 files in two cases.
13195
cc9e536d
UD
13196 [BZ #12788]
13197 * locale/setlocale.c (new_composite_name): Fix test to check for
13198 identical name of all categories.
13199
aec84f53
UD
13200 [BZ #12792]
13201 * libio/filedoalloc.c (local_isatty): New function.
13202 (_IO_file_doallocate): Use local_isatty.
13203 * stdio-common/perror.c (perror): In case a new stream is used
13204 forward the stream error.
13205 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
13206 error flag.
13207
78e64fdc
RT
132082011-05-20 Ulrich Drepper <drepper@gmail.com>
13209
34a9094f
UD
13210 [BZ #11869]
13211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
13212 alloca.
13213 * include/alloca.h (extend_alloca_account): Define.
13214
78e64fdc
RT
13215 [BZ #11857]
13216 * posix/regex.h: Fix comments with documentation of user-accessible
13217 fields after compilation and describe correct free'ing of pattern
13218 after re_compile_pattern.
13219 Patch by Reuben Thomas <rrt@sc3d.org>.
13220
457bddfc
RA
132212011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
13222
13223 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
13224 and -mno-altivec to prevent the compiler from using Altivec and/or
13225 VSX instructions when the corresponding registers are not available.
13226
a4527b51
AS
132272011-05-19 Andreas Schwab <schwab@redhat.com>
13228
13229 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
13230
ed690b2f
UD
132312011-05-19 Ulrich Drepper <drepper@gmail.com>
13232
13233 * libio/freopen.c (freopen): Use __dup2, not dup2.
13234 * libio/freopen64.c (freopen64): Likewise.
13235
8db73634
L
132362011-05-17 H.J. Lu <hongjiu.lu@intel.com>
13237
13238 [BZ #12775]
13239 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
13240 * math/Makefile (tests): Add test-powl.
13241 (CFLAGS-test-powl.c): Define.
13242 * math/test-powl.c: New file.
13243
0a197a9d
L
132442011-05-16 H.J. Lu <hongjiu.lu@intel.com>
13245
13246 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
13247
ee30c380
UD
132482011-05-17 Ulrich Drepper <drepper@gmail.com>
13249
13250 [BZ #11837]
13251 * iconvdata/gb18030.c: Update to GB18020-2005.
13252
6ce75379
UD
132532011-05-16 Ulrich Drepper <drepper@gmail.com>
13254
a4b89fd8
AR
13255 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
13256 RE_SYNTAX_POSIX_AWK): Update to match recent development.
13257 Patch by Aharon Robbins <arnold@skeeve.com>.
13258
ea389b12
UD
13259 [BZ #11892]
13260 * stdlib/putenv.c (putenv): Don't always create copy of the variable
13261 on the stack.
13262
68a3f91f
UD
13263 [BZ #11895]
13264 * misc/pselect.c (__pselect): Handle timeout value errors hidden
13265 through underflows.
13266
15cc7dd1
UD
13267 [BZ #12766]
13268 * misc/error.c (error_at_line): Ensure file_name and old_file_name
13269 point to strings before performing equality test for error_one_per_line
13270 mode.
13271
f3799213
UD
13272 [BZ #11697]
13273 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
13274
d79a9c94
UD
13275 [BZ #11820]
13276 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
13277 (struct user_fpregs_struct): Avoid __uint*_t types.
13278
56e5eb46
UD
13279 [BZ #6420]
13280 * malloc/mtrace.c (tr_where): Add additional parameter to point to
13281 symbol info. Use it instead of calling _dl_addr locally.
13282 (lock_and_info): New function.
13283 (tr_freehook): Call lock_and_info and pass symbol info as additional
13284 parameter to tr_where.
13285 (tr_mallochook): Likewise.
13286 (tr_reallochook): Likewise.
13287 (tr_memalignhook): Likewise.
13288
6ce75379
UD
13289 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
13290 used and couldn't be at all thread-safe.
13291
f8a3b5bf
UD
132922011-05-15 Ulrich Drepper <drepper@gmail.com>
13293
94b7cc37
UD
13294 * libio/freopen.c (freopen): Don't close old file descriptor
13295 before the new one is opened. Instead dup the new file descriptor
13296 to the old one after the new stream is created.
13297 * libio/freopen64.c (freopen64): Likewise.
13298 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
13299 * libio/fileops.c (_IO_new_file_close_it): Handle new
13300 _IO_FLAGS2_NOCLOSE flag.
13301 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
13302 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
13303 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
13304 _IO_FLAGS2_NOCLOSE flag.
13305 * include/unistd.h: Add hidden_proto for dup3.
13306 Define __have_dup3.
13307 * io/dup3.c: Define hidden symbol.
13308 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
13309
bd25564e
UD
13310 [BZ #7101]
13311 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
13312 when an incomplete long option is used.
13313 * posix/tst-getopt_long1.c: New file.
13314 * posix/Makefile (tests): Add tst-getopt_long1.
13315
c84cfef4
UD
13316 [BZ #10138]
13317 * scripts/config.guess: Update from autoconf-2.68.
13318 * scripts/config.sub: Likewise.
13319
3b85df27
UD
13320 [BZ #10157]
13321 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
13322 tests into ...
13323 (has_cpuclock): ...this. New function.
13324 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
13325 macro here based on has_cpuclock code.
13326
15a856b1
UD
13327 [BZ #10149]
13328 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13329 First byte (not low byte) is now always NUL.
13330 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
13331
05f399e6
UD
13332 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13333 Use non-cancelable interfaces.
13334
10a52685 13335 [BZ #9809]
94ecc67d
UD
13336 * locale/iso-639.def: Add entry for Sorani.
13337
f8a3b5bf
UD
13338 [BZ #11901]
13339 * include/stdlib.h: Move include protection to the right place.
13340 Define abort_msg_s. Declare __abort_msg with it.
13341 * stdlib/abort.c (__abort_msg): Adjust type.
13342 * assert/assert.c (__assert_fail_base): New function. Majority
13343 of code from __assert_fail. Allocate memory for __abort_msg with
13344 mmap.
13345 (__assert_fail): Now call __assert_fail_base.
13346 * assert/assert-perr.c: Remove bulk of implementation. Use
13347 __assert_fail_base.
13348 * include/assert.hL Declare __assert_fail_base.
13349 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
13350 mmap.
13351 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
13352
1af4e298
UD
133532011-05-14 Ulrich Drepper <drepper@gmail.com>
13354
f8a3b5bf 13355 [BZ #11952]
d26dfc60
MG
13356 [BZ #12453]
13357 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
13358 until all modules are registered in the DTV.
13359 * elf/Makefile: Add rules to build and run tst-tls19.
13360 * elf/tst-tls19.c: New file.
13361 * elf/tst-tls19mod1.c: New file.
13362 * elf/tst-tls19mod2.c: New file.
13363 * elf/tst-tls19mod3.c: New file.
13364 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
13365
2fc54d6f
UD
13366 [BZ #12083]
13367 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
13368 correctly.
13369
98d76b46
UD
13370 [BZ #12601]
13371 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
13372 two-byte sequence errors.
13373 * iconvdata/Makefile (tests): Add bug-iconv8.
13374 * iconvdata/bug-iconv8.c: New file.
13375
da3c19ef
UD
13376 [BZ #12626]
13377 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
13378 buf2 definition.
13379
ca408c15
UD
13380 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
13381
d6f67f7d
UD
13382 [BZ #12432]
13383 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
13384 (dummy_getcfa): New function.
13385 (init): Get _Unwind_GetCFA address, use dummy if not found.
13386 (backtrace_helper): In recursion check, also check whether CFA changes.
13387 (__backtrace): Completely initialize arg.
13388
1af4e298 13389 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
13390 storing incomplete byte sequence in state object. Avoid testing for
13391 guaranteed too small input if we know there is enough data available.
1af4e298 13392
da62f81b
AS
133932011-05-11 Andreas Schwab <schwab@redhat.com>
13394
13395 * Makeconfig (+link-pie): Indent.
13396 * Rules (binaries-pie): Define if $(have-fpie) and
13397 $(build-shared).
13398 (binaries-shared): Also filter out $(binaries-pie).
13399 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
13400 * nscd/Makefile (others-pie): Add nscd.
13401 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
13402 ($(objpfx)nscd): Remove command override.
13403 * login/Makefile (others-pie): Add pt_chown.
13404 ($(objpfx)pt_chown): Remove command override.
13405 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
13406 remove command overrides.
13407
fcabc0f8
UD
134082011-05-13 Ulrich Drepper <drepper@gmail.com>
13409
20030ae6
UD
13410 * libio/tst_putwc.c: Fix error messages.
13411
fcabc0f8
UD
13412 [BZ #12724]
13413 * libio/fileops.c (_IO_new_file_close_it): Always flush when
13414 currently writing and seek to current position when not.
13415 * libio/Makefile (tests): Add bug-fclose1.
13416 * libio/bug-fclose1.c: New file.
13417
320a5dc0
PB
134182011-05-12 Ulrich Drepper <drepper@gmail.com>
13419
13420 [BZ #12511]
13421 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
13422 don't set DF_1_NODELETE here.
13423 (do_lookup_x): When entering new entry test for copy relocation
13424 and if necessary set DF_1_NODELETE flag.
13425 * elf/tst-unique4.cc: New file.
13426 * elf/tst-unique4.h: New file.
13427 * elf/tst-unique4lib.cc: New file.
13428 * elf/Makefile: Add rules to build and run tst-unique4.
13429 Patch by Piotr Bury <pbury@goahead.com>.
13430
22836f52
UD
134312011-05-11 Ulrich Drepper <drepper@gmail.com>
13432
f574184a
UD
13433 [BZ #12052]
13434 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
13435
e1fb097f
UD
13436 [BZ #12625]
13437 * misc/mntent_r.c (addmntent): Flush the stream after the output
13438
22836f52
UD
13439 [BZ #12393]
13440 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
13441 (is_trusted_path_normalize): Skip initial colon. Append slash
13442 to empty buffer. Duplicate is_trusted_path code but allow
13443 constructed patch to be prefix.
13444 (is_dst): Allow $ORIGIN followed by /.
13445 (_dl_dst_substitute): Correct clearing of check_for_trusted.
13446 Correct testing of result of is_trusted_path_normalize
13447 (decompose_rpath): Fix warning.
13448
7b3b0b2a
UD
134492011-05-10 Ulrich Drepper <drepper@gmail.com>
13450
13451 [BZ #11257]
13452 * grp/initgroups.c (internal_getgrouplist): When we found the service
13453 list through the initgroups entry in nsswitch.conf do not always
13454 continue on a successful lookup. Don't always use the
eac80ce2 13455 __nss_group_database value if it is set.
7b3b0b2a
UD
13456 * nss/nsswitch.conf (initgroups): Change action for successful db
13457 lookup to continue for compatibility.
13458
2a81eaa5
UD
134592011-05-09 Ulrich Drepper <drepper@gmail.com>
13460
be97a69e
UD
13461 [BZ #11532]
13462 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
13463 and CP774 modules.
13464 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
13465 and CP774 modules.
13466 * iconvdata/tst-tables.sh: Likewise.
13467 * iconvdata/cp770.c: New file.
13468 * iconvdata/cp771.c: New file.
13469 * iconvdata/cp772.c: New file.
13470 * iconvdata/cp773.c: New file.
13471 * iconvdata/cp774.c: New file.
13472 * iconvdata/testdata/CP770: New file.
13473 * iconvdata/testdata/CP770..UTF8: New file.
13474 * iconvdata/testdata/CP771: New file.
13475 * iconvdata/testdata/CP771..UTF8: New file.
13476 * iconvdata/testdata/CP772: New file.
13477 * iconvdata/testdata/CP772..UTF8: New file.
13478 * iconvdata/testdata/CP773: New file.
13479 * iconvdata/testdata/CP773..UTF8: New file.
13480 * iconvdata/testdata/CP774: New file.
13481 * iconvdata/testdata/CP774..UTF8: New file.
13482
13483 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
13484 END CHARMAP line.
13485 * iconvdata/gen-8bit-gap.sh: Likewise.
13486 * iconvdata/gen-8bit.sh: Likewise.
13487
c1e9e399
UD
13488 * locale/iso-639.def: Add ary entry.
13489
24c55fb3 13490 [BZ #11258]
96b4b1b0
UD
13491 * locale/C-translit.h.in: Add U20A1 transliteration.
13492
bdc2f971
KB
13493 [BZ #12178]
13494 * locale/iso-639.def: Add wae entry.
13495 Patch by Kevin Bortis <bortis@translate-wae.ch>.
13496
2952b117
UD
13497 [BZ #12545]
13498 * locale/programs/localedef.c (construct_output_path): Use ssize_t
13499 for n.
13500
2a81eaa5
UD
13501 [BZ #12711]
13502 * locale/C-translit.h.in: Add entry for U20B9.
13503 Patch by pravin.d.s@gmail.com.
13504
28377d1b
UD
135052011-05-08 Ulrich Drepper <drepper@gmail.com>
13506
7fb90fb8
UD
13507 [BZ #12713]
13508 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
13509 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
13510 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
13511 in rtld. Use *stat64.
7fb90fb8 13512 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 13513 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 13514 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
13515 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
13516 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
13517 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
13518 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
13519 __fstatat64 macros.
7fb90fb8
UD
13520 * include/dirent.h: Add libc_hidden_proto for rewinddir.
13521 * dirent/rewinddir.c: Add libc_hidden_def.
13522 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 13523 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 13524
28377d1b
UD
13525 * include/dirent.h (__alloc_dir): Add flags parameter.
13526 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
13527 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
13528 __alloc_dir.
13529 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
13530 from fdopendir if O_CLOEXEC is already set.
13531
66bdbaa4
AM
135322011-03-15 Alan Modra <amodra@gmail.com>
13533
13534 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
13535 l_tls_firstbyte_offset non-zero. Save padding offset in
13536 l_tls_firstbyte_offset for later use.
13537 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
13538 freeing static tls block.
13539
95721191
JN
135402011-03-05 Jonathan Nieder <jrnieder@gmail.com>
13541
13542 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
13543 where #ifdef was intended. The intent is to prevent ARG_MAX from
13544 being defined by the kernel headers.
13545
f87dfb1f
UD
135462011-05-07 Ulrich Drepper <drepper@gmail.com>
13547
13548 [BZ #12734]
13549 * resolv/resolv.h: Define RES_NOTLDQUERY.
13550 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
13551 no-tld-query and set RES_NOTLDQUERY.
13552 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
13553 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
13554 modern BIND to search name as TLD unless forbidden.
13555
47c3cd7a
UD
135562011-05-07 Petr Baudis <pasky@suse.cz>
13557 Ulrich Drepper <drepper@gmail.com>
13558
13559 [BZ #12393]
13560 * elf/dl-load.c (fillin_rpath): Move trusted path check...
13561 (is_trusted_path): ...to here.
c1e9ea35 13562 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 13563 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 13564 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 13565
8a35c912
PP
135662011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13567
13568 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
13569 __BEGIN/__END_DECLS.
13570
acd41f47
UD
135712011-05-06 Ulrich Drepper <drepper@gmail.com>
13572
13573 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
13574 NSS_STATUS_NOTFOUND if no record was found.
13575
597df647
AS
135762011-05-05 Andreas Schwab <schwab@redhat.com>
13577
13578 * sunrpc/Makefile (headers): Add rpc/netdb.h.
13579 (headers-not-in-tirpc): Remove rpc/netdb.h
13580 * resolv/netdb.h: Revert last change.
13581
b9af1301
PP
135822011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13583
13584 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
13585 circular dependency between libgcc.a and libc.a.
13586
4e34d5f5
AS
135872011-05-05 Andreas Schwab <schwab@redhat.com>
13588
13589 * resolv/netdb.h: Don't include <rpc/netdb.h>.
13590 * nis/Makefile: Don't install rpcsvc/*.
13591 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
13592 instead of <rpc/types.h>.
13593 (MAXHOSTNAMELEN): Define.
13594
00ee369c
AS
135952011-05-03 Andreas Schwab <schwab@redhat.com>
13596
13597 * elf/ldconfig.c (add_dir): Don't crash on empty path.
13598
0b592a30
MB
135992011-04-28 Maciej Babinski <mbabinski@google.com>
13600
13601 [BZ #12714]
13602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
13603 gethostbyname4_r when IPv6 results are possible.
13604
6e04cbbe
UD
136052011-05-02 Ulrich Drepper <drepper@gmail.com>
13606
13607 [BZ #12723]
13608 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
13609 _PC_PIPE_BUF handling.
13610
e4ecafe0
BH
136112011-04-30 Bruno Haible <bruno@clisp.org>
13612
13613 [BZ #12717]
13614 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
13615 * resolv/netdb.h (getnameinfo): Change type of flags parameter
13616 to 'int'.
13617 * inet/getnameinfo.c (getnameinfo): Likewise.
13618
125ee683
UD
136192011-04-29 Ulrich Drepper <drepper@gmail.com>
13620
13621 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
13622 to groups setting in database lookup.
13623 * nss/nsswitch.conf: Add initgroups entry.
13624
b722481a
EB
136252011-04-22 Ulrich Drepper <drepper@gmail.com>
13626
13627 [BZ #12685]
13628 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
13629 mode string.
13630 Patch by Eric Blake <eblake@redhat.com>.
13631
4df46dbd
L
136322011-04-20 H.J. Lu <hongjiu.lu@intel.com>
13633
13634 * sunrpc/Makefile (need-export-routines): Add svc_run.
13635 (routines): Remove svc_run.
13636 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
13637 * sunrpc/clnt_perr.c (clnt_perrno): Export.
13638 * sunrpc/svc_run.c (svc_run): Likewise.
13639 * sunrpc/svc_udp.c (svcudp_create): Likewise.
13640
e84142d2
UD
136412011-04-21 Ulrich Drepper <drepper@gmail.com>
13642
13643 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
13644 problem in reallocation in last patch.
13645
877175d8
UD
136462011-04-20 Ulrich Drepper <drepper@gmail.com>
13647
13648 * sunrpc/Makefile: Move inclusion of Rules.
13649
ab8eed78
UD
136502011-04-19 Ulrich Drepper <drepper@gmail.com>
13651
13652 * nss/nss_files/files-initgroups.c: New file.
13653 * nss/Makefile (libnss_files-routines): Add files-initgroups.
13654 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
13655 _nss_files_initgroups_dyn.
13656
e3d8f584
RS
136572011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
13658
13659 * elf/elf.h (R_ARM_IRELATIVE): Define.
13660
af190f45
UD
136612011-04-19 Ulrich Drepper <drepper@gmail.com>
13662
13663 * po/ru.po: Update from translation team.
13664
53cf59ef
UD
136652011-04-17 Ulrich Drepper <drepper@gmail.com>
13666
13667 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
13668 dependencies.
13669
4c559bcd
MF
136702011-02-06 Mike Frysinger <vapier@gentoo.org>
13671
13672 [BZ #12653]
13673 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
13674 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
13675 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13678
4420675c
AS
136792011-03-28 Andreas Schwab <schwab@linux-m68k.org>
13680
13681 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
13682 differing bytes.
13683 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13685 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13686
75ea32ab
UD
136872011-04-17 Ulrich Drepper <drepper@gmail.com>
13688
13689 [BZ #12420]
13690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
13691 storing it.
13692 * stdlib/bug-getcontext.c: New file.
13693 * stdlib/Makefile: Add rules to build and run bug-getcontext.
13694
27390476
AK
136952011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13696
13697 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
13698 instructions into .machine "z9-109".
13699 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13700 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13701
10442705
AK
137022011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13703
13704 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
13705 between environment variables and auxiliary vector.
13706
7b57bfe5
UD
137072011-04-16 Ulrich Drepper <drepper@gmail.com>
13708
13709 * Makefile: Add rules to build linkobj/libc.so.
13710 * include/libc-symbols.h: Define libc_hidden_nolink.
13711 * include/rpc/auth.h: Mark functions which are to be hidden.
13712 * include/rpc/auth_des.h: Likewise.
13713 * include/rpc/auth_unix.h: Likewise.
13714 * include/rpc/clnt.h: Likewise.
13715 * include/rpc/des_crypt.h: Likewise.
13716 * include/rpc/key_prot.h: Likewise.
13717 * include/rpc/pmap_clnt.h: Likewise.
13718 * include/rpc/pmap_prot.h: Likewise.
13719 * include/rpc/pmap_rmt.h: Likewise.
13720 * include/rpc/rpc_msg.h: Likewise.
13721 * include/rpc/svc.h: Likewise.
13722 * include/rpc/svc_auth.h: Likewise.
13723 * include/rpc/xdr.h: Likewise.
13724 * nis/Makefile: Link all DSOs against linkobj/libc.so.
13725 * nss/Makefile: Likewise.
13726 * sunrpc/Makefile: Don't install headers. Build library with normal
13727 entry points. Don't build rpcinfo. Link RPC tests appropriately.
13728 * sunrpc/auth_des.c: Hide exported symbols by default, export some
13729 for the compat linking library. Remove use of INTDEF/INTUSE.
13730 * sunrpc/auth_none.c: Likewise.
13731 * sunrpc/auth_unix.c: Likewise.
13732 * sunrpc/authdes_prot.c: Likewise.
13733 * sunrpc/authuxprot.c: Likewise.
13734 * sunrpc/clnt_gen.c: Likewise.
13735 * sunrpc/clnt_perr.c: Likewise.
13736 * sunrpc/clnt_raw.c: Likewise.
13737 * sunrpc/clnt_simp.c: Likewise.
13738 * sunrpc/clnt_tcp.c: Likewise.
13739 * sunrpc/clnt_udp.c: Likewise.
13740 * sunrpc/clnt_unix.c: Likewise.
13741 * sunrpc/des_crypt.c: Likewise.
13742 * sunrpc/des_soft.c: Likewise.
13743 * sunrpc/get_myaddr.c: Likewise.
13744 * sunrpc/key_call.c: Likewise.
13745 * sunrpc/key_prot.c: Likewise.
13746 * sunrpc/netname.c: Likewise.
13747 * sunrpc/pm_getmaps.c: Likewise.
13748 * sunrpc/pm_getport.c: Likewise.
13749 * sunrpc/pmap_clnt.c: Likewise.
13750 * sunrpc/pmap_prot.c: Likewise.
13751 * sunrpc/pmap_prot2.c: Likewise.
13752 * sunrpc/pmap_rmt.c: Likewise.
13753 * sunrpc/publickey.c: Likewise.
13754 * sunrpc/rpc_cmsg.c: Likewise.
13755 * sunrpc/rpc_common.c: Likewise.
13756 * sunrpc/rpc_dtable.c: Likewise.
13757 * sunrpc/rpc_prot.c: Likewise.
13758 * sunrpc/rpc_thread.c: Likewise.
13759 * sunrpc/rtime.c: Likewise.
13760 * sunrpc/svc.c: Likewise.
13761 * sunrpc/svc_auth.c: Likewise.
13762 * sunrpc/svc_authux.c: Likewise.
13763 * sunrpc/svc_raw.c: Likewise.
13764 * sunrpc/svc_run.c: Likewise.
13765 * sunrpc/svc_simple.c: Likewise.
13766 * sunrpc/svc_tcp.c: Likewise.
13767 * sunrpc/svc_udp.c: Likewise.
13768 * sunrpc/svc_unix.c: Likewise.
13769 * sunrpc/svcauth_des.c: Likewise.
13770 * sunrpc/xcrypt.c: Likewise.
13771 * sunrpc/xdr.c: Likewise.
13772 * sunrpc/xdr_array.c: Likewise.
13773 * sunrpc/xdr_float.c: Likewise.
13774 * sunrpc/xdr_intXX_t.c: Likewise.
13775 * sunrpc/xdr_mem.c: Likewise.
13776 * sunrpc/xdr_rec.c: Likewise.
13777 * sunrpc/xdr_ref.c: Likewise.
13778 * sunrpc/xdr_sizeof.c: Likewise.
13779 * sunrpc/xdr_stdio.c: Likewise.
13780
e6c61494
UD
137812011-04-10 Ulrich Drepper <drepper@gmail.com>
13782
13783 [BZ #12650]
13784 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
13785 * sysdeps/ia64/dl-tls.h: Likewise.
13786 * sysdeps/powerpc/dl-tls.h: Likewise.
13787 * sysdeps/s390/dl-tls.h: Likewise.
13788 * sysdeps/sh/dl-tls.h: Likewise.
13789 * sysdeps/sparc/dl-tls.h: Likewise.
13790 * sysdeps/x86_64/dl-tls.h: Likewise.
13791 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
13792
34fe483e
AS
137932011-03-14 Andreas Schwab <schwab@redhat.com>
13794
13795 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
13796 rpath element also skip the following colon.
13797 (expand_dynamic_string_token): Add is_path parameter and pass
13798 down to DL_DST_REQUIRED and _dl_dst_substitute.
13799 (decompose_rpath): Call expand_dynamic_string_token with
13800 non-zero is_path. Ignore empty rpaths.
13801 (_dl_map_object_from_fd): Call expand_dynamic_string_token
13802 with zero is_path.
13803
f12a32e6
AS
138042011-04-08 Andreas Schwab <schwab@linux-m68k.org>
13805
13806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13807 Make cancelable.
13808
38a7d692
UD
138092011-04-09 Ulrich Drepper <drepper@gmail.com>
13810
13811 [BZ #12655]
13812 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
13813 Patch by Filipe David Manana <fdmanana@apache.org>.
13814
e451d22b
AS
138152011-04-07 Andreas Schwab <schwab@redhat.com>
13816
13817 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
13818 Maintain aligned stack.
13819 (CHECK_RSP): Remove unused macro.
13820
dedc7c7b
UD
138212011-04-03 Ulrich Drepper <drepper@gmail.com>
13822
13823 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
13824 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
13825
94521213
UD
138262011-04-02 Ulrich Drepper <drepper@gmail.com>
13827
13828 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
13829
8cb700c0 13830 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 13831
0354e355
L
138322011-03-26 H.J. Lu <hongjiu.lu@intel.com>
13833
13834 [BZ #12518]
13835 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
13836 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
13837 * sysdeps/x86_64/memmove.c: New file.
13838 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
13839 (memcpy): Renamed to ...
13840 (__new_memcpy): This.
13841 (memcpy): Provide GLIBC_2_14 memcpy.
13842 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
13843 (memcpy): Provide GLIBC_2_2_5 memcpy.
13844
8593482f
UD
138452011-04-01 Ulrich Drepper <drepper@gmail.com>
13846
13847 [BZ #12631]
13848 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
13849
81a5726b
AS
138502011-03-30 Andreas Schwab <schwab@redhat.com>
13851
13852 * misc/syncfs.c: New file.
13853 * misc/Makefile (routines): Add syncfs.
13854 * posix/unistd.h: Declare syncfs.
13855 * sysdeps/unix/syscalls.list: Add syncfs.
13856
00e5419f
AS
138572011-04-01 Andreas Schwab <schwab@redhat.com>
13858
13859 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
13860 open_by_handle_at.
13861 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
13862 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13863 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13864 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13865 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13866 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13867 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13868
748876bf
UD
138692011-04-01 Ulrich Drepper <drepper@gmail.com>
13870
658e451d
UD
13871 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
13872 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13873 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
13874 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13875 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13876 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13877 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13878
748876bf
UD
13879 * io/Makefile: Compile fallocate.c, fallocate64.c, and
13880 sync_file_range.c with -fexceptions.
13881 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
13882 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
13883 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
13884 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
13885 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
13886 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13887 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
13888 sync_file_range as cancellation point
13889 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
13890 now a wrapper around __call_sync_file_range with cancellation handling.
13891 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
13892 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
13893 function name to __call_sync_file_range.
13894 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
13895 Add call_sync_file_range.
748876bf 13896
6e63d5e1
AS
138972011-04-01 Andreas Schwab <schwab@redhat.com>
13898
13899 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 13900 bits/timex.h.
6e63d5e1 13901
46998f74
UD
139022011-04-01 Ulrich Drepper <drepper@gmail.com>
13903
4c1423ed
UD
13904 * iconv/iconv.h: Fix typo in comment.
13905 * io/fcntl.h: Likewise.
13906 * libio/stdio.h: Likewise.
13907 * posix/spawn.h: Likewise.
13908 * posix/unistd.h: Likewise.
13909 * stdlib/stdlib.h: Likewise.
13910 * time/time.h: Likewise.
13911 * wcsmbs/wchar.h: Likewise.
13912
158648c0
UD
13913 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
13914 open_by_handle): Add.
13915 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
13916 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
13917 Augment a few comments.
13918 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
13919 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
13921 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13922 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
13923 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
13924 open_by_handle.
13925
46998f74
UD
13926 * io/fcntl.h (AT_EMPTY_PATH): Define.
13927
83fe108b
UD
139282011-03-30 Ulrich Drepper <drepper@gmail.com>
13929
13930 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
13931 * sysdeps/unix/sysv/linux/bits/time.h: New file.
13932 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
13933 to...
13934 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
13935 * Versions.def: Add GLIBC_2.14.
13936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
13937 Export.
83fe108b 13938
bb242059
UD
139392011-03-22 Ulrich Drepper <drepper@gmail.com>
13940
13941 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
13942 round counter.
13943 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13944
c97a1282
L
139452011-03-20 H.J. Lu <hongjiu.lu@intel.com>
13946
13947 [BZ #12597]
13948 * string/test-strncmp.c (do_page_test): New function.
13949 (check2): Likewise.
13950 (test_main): Call check2.
13951 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
13952
2a115601
UD
139532011-03-20 Ulrich Drepper <drepper@gmail.com>
13954
13955 [BZ #12587]
13956 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
13957 Handle cache information in CPU leaf 4.
13958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
13959
8126d904
UD
139602011-03-18 Ulrich Drepper <drepper@gmail.com>
13961
042c49c6 13962 [BZ #12583]
8126d904
UD
13963 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
13964 character representation.
13965 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
13966
ccfe366e
RA
139672011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
13968
13969 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
13970 END(__isnan) to END(__isnanf) to match function entry point/label
13971 EALIGN(__isnanf,...).
13972
c6e13027
JJ
139732011-03-10 Jakub Jelinek <jakub@redhat.com>
13974
13975 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
13976
33f85a3f
UD
139772011-03-10 Ulrich Drepper <drepper@gmail.com>
13978
028478fa
UD
13979 [BZ #12510]
13980 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
13981 copy from the symbol referenced in the relocation to initialize the
13982 used variable.
13983 Patch by Piotr Bury <pbury@goahead.com>.
13984 * elf/Makefile: Add rules to build and tst-unique3.
13985 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
13986 * elf/tst-unique3.cc: New file.
13987 * elf/tst-unique3.h: New file.
13988 * elf/tst-unique3lib.cc: New file.
13989 * elf/tst-unique3lib2.cc: New file.
13990
33f85a3f
UD
13991 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
13992
03592fc7
MF
139932011-03-10 Mike Frysinger <vapier@gentoo.org>
13994
13995 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
13996 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
13997 to _start.
03592fc7 13998
6a5ee102
UD
139992011-03-06 Ulrich Drepper <drepper@gmail.com>
14000
14001 * elf/dl-load.c (_dl_map_object): If we are looking for the first
14002 to-be-loaded object along a path to loader is ld.so.
14003
7e4ba49c
HJ
140042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14005 Ulrich Drepper <drepper@gmail.com>
14006
14007 * sysdeps/x86_64/memset.S: After aligning destination, code
14008 branches to different locations depending on the value of
14009 misalignment, when multiarch is enabled. Fix this.
14010
140112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
14012
14013 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
14014 Set _x86_64_preferred_memory_instruction for AMD processsors.
14015 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14016 Set bit_Prefer_SSE_for_memop for AMD processors.
14017
13a804de
UD
140182011-03-04 Ulrich Drepper <drepper@gmail.com>
14019
14020 * libio/fmemopen.c (fmemopen): Optimize a bit.
14021
9d25c392
AS
140222011-03-03 Andreas Schwab <schwab@redhat.com>
14023
14024 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
14025
a5543c6a
RM
140262011-03-03 Roland McGrath <roland@redhat.com>
14027
14028 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
14029
012d35f7
DM
140302011-02-28 Aurelien Jarno <aurelien@aurel32.net>
14031
7e4ba49c 14032 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
14033 __bzero_ultra1 instead of __memset_ultra1.
14034
4bff6e01
AS
140352011-02-23 Andreas Schwab <schwab@redhat.com>
14036 Ulrich Drepper <drepper@gmail.com>
14037
14038 [BZ #12509]
14039 * include/link.h (struct link_map): Add l_orig_initfini.
14040 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
14041 returning unsuccessfully.
14042 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
14043 close of a file loaded at startup, restore the original l_initfini
14044 list.
14045 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
14046 list, store the pointer.
14047 * elf/Makefile ($(objpfx)noload-mem): New rule.
14048 (noload-ENV): Define.
14049 (tests): Add $(objpfx)noload-mem.
14050 * elf/noload.c: Include <memcheck.h>.
14051 (main): Call mtrace. Close all opened handles.
14052
f2092faf
AS
140532011-02-17 Andreas Schwab <schwab@redhat.com>
14054
14055 [BZ #12454]
14056 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
14057 dependencies are missing.
14058
6c8a2e88
ST
140592011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
14060
f2092faf 14061 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
14062 Hurd needs munmap.
14063 * sysdeps/mach/hurd/ifreq.h: New file.
14064
84a42118
PB
140652011-01-27 Petr Baudis <pasky@suse.cz>
14066 Ulrich Drepper <drepper@gmail.com>
14067
071f805e 14068 [BZ 12445]#
84a42118
PB
14069 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
14070 to extend_alloca().
14071 * stdio-common/bug23.c: New file.
14072 * stdio-common/Makefile (tests): Add bug23.
14073
e23fe25b
AS
140742010-09-28 Andreas Schwab <schwab@redhat.com>
14075 Ulrich Drepper <drepper@gmail.com>
14076
14077 [BZ #12489]
14078 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
14079 before performing relro protection. At old place add assertion
14080 to make sure nothing changed.
14081
d3f02e10
NS
140822011-02-17 Nathan Sidwell <nathan@codesourcery.com>
14083 Glauber de Oliveira Costa <glommer@gmail.com>
14084
14085 * elf/elf.h: Add new ARM TLS relocs.
14086
d55fd7a5
RA
140872011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
14088
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14090 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
14091 cast from r3.
14092 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
14093 'tests' variable.
14094 * sysdeps/wordsize-64/tst-writev.c: New file.
14095
2206397e
RA
140962011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
14097
14098 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
14099 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
14100 insns in _dl_start to prevent a TOC reference before relocs are
14101 resolved.
14102
e9433893
UD
141032011-02-15 Ulrich Drepper <drepper@gmail.com>
14104
14105 [BZ #12469]
14106 * Makeconfig: Remove RANLIB definition.
14107 * Makerules: Don't use RANLIB.
14108 * aclocal.m4: Remove ranlib test.
14109 * configure.in: No need to check for ranlib.
14110 * elf/rtld-Rules: Don't use RANLIB.
14111
f75286c6
ST
141122011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14113
8e31c82d
ST
14114 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
14115 protection macro.
14116 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
14117 inclusion protection macro.
14118
f75286c6
ST
14119 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
14120 SIGRTMIN and SIGRTMAX and print information in that case only when
14121 SIGRTMIN is defined.
14122
c1d0e639
JJ
141232011-02-11 Jakub Jelinek <jakub@redhat.com>
14124
14125 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
14126 arginfo fn returning -1.
14127
14128 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
14129 and thousands string is zero terminated.
14130
edf9294e
AS
141312011-02-03 Andreas Schwab <schwab@redhat.com>
14132
14133 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
14134 sysdeps/unix/sysv/linux/bits/socket.h.
14135
2b7e92df
ST
141362011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
14137
edf9294e
AS
14138 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
14139 (__CPU_COUNT): Remove old macros.
14140 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
14141 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
14142 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
14143 (__sched_cpualloc, __sched_cpufree): Add declarations.
14144
a4c7ea7b
UD
141452011-02-05 Ulrich Drepper <drepper@gmail.com>
14146
14147 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
14148 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
14149 * nscd/aicache.c (addhstaiX): Return timeout of added value.
14150 (readdhstai): Return value of addhstaiX call.
14151 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
14152 (addgrbyX): Return value returned by cache_addgr.
14153 (readdgrbyname): Return value returned by addgrbyX.
14154 (readdgrbygid): Likewise.
14155 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
14156 (addpwbyX): Return value returned by cache_addpw.
14157 (readdpwbyname): Return value returned by addhstbyX.
14158 (readdpwbyuid): Likewise.
14159 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
14160 (addservbyX): Return value returned by cache_addserv.
14161 (readdservbyname): Return value returned by addservbyX:
14162 (readdservbyport): Likewise.
14163 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
14164 (addhstbyX): Return value returned by cache_addhst.
14165 (readdhstbyname): Return value returned by addhstbyX.
14166 (readdhstbyaddr): Likewise.
14167 (readdhstbynamev6): Likewise.
14168 (readdhstbyaddrv6): Likewise.
14169 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
14170 (readdinitgroups): Return value returned by addinitgroupsX.
14171 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
14172 (prune_cache): Keep track of timeout value of re-added entries.
14173 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
14174 * nscd/nscd.h: Adjust prototypes of readd* functions.
14175
a0bf67cc
RM
141762011-02-04 Roland McGrath <roland@redhat.com>
14177
14178 * nis/nis_server.c (nis_servstate): Use the right name for 0.
14179 (nis_stats): Likewise.
14180 * nis/nis_modify.c (nis_modify): Likewise.
14181 * nis/nis_remove.c (nis_remove): Likewise.
14182 * nis/nis_add.c (nis_add): Likewise.
14183
14184 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
14185
14186 * posix/fnmatch_loop.c: Add some consts.
14187
14188 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
14189
435b95eb
L
141902011-02-02 H.J. Lu <hongjiu.lu@intel.com>
14191
14192 [BZ #12460]
14193 * config.make.in (config-cflags-novzeroupper): Define.
14194 * configure.in: Substitute libc_cv_cc_novzeroupper.
14195 * elf/Makefile (AVX-CFLAGS): Define.
14196 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
14197 (CFLAGS-tst-auditmod4a.c): Likewise.
14198 (CFLAGS-tst-auditmod4b.c): Likewise.
14199 (CFLAGS-tst-auditmod6b.c): Likewise.
14200 (CFLAGS-tst-auditmod6c.c): Likewise.
14201 (CFLAGS-tst-auditmod7b.c): Likewise.
14202 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
14203
8517b15e
UD
142042011-02-02 Ulrich Drepper <drepper@gmail.com>
14205
14206 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
14207 function to the callback.
14208 Patch partly by Jiri Olsa <jolsa@redhat.com>.
14209
10a656fe
AS
142102011-02-02 Andreas Schwab <schwab@redhat.com>
14211
14212 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
14213 of errno.
14214
968dad0a
UD
142152011-01-19 Ulrich Drepper <drepper@gmail.com>
14216
9f94d2ea 14217 [BZ #11724]
968dad0a
UD
14218 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
14219 of constructors.
14220 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
14221 of destructors.
14222 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
14223
14224 [BZ #11724]
14225 * elf/Makefile: Add rules to build and run new test.
14226 * elf/tst-initorder.c: New file.
14227 * elf/tst-initorder.exp: New file.
14228 * elf/tst-initordera1.c: New file.
14229 * elf/tst-initordera2.c: New file.
14230 * elf/tst-initordera3.c: New file.
14231 * elf/tst-initordera4.c: New file.
14232 * elf/tst-initorderb1.c: New file.
14233 * elf/tst-initorderb2.c: New file.
14234 * elf/tst-order-a1.c: New file.
14235 * elf/tst-order-a2.c: New file.
14236 * elf/tst-order-a3.c: New file.
14237 * elf/tst-order-a4.c: New file.
14238 * elf/tst-order-b1.c: New file.
14239 * elf/tst-order-b2.c: New file.
14240 * elf/tst-order-main.c: New file.
14241 New test case by George Gensure <werkt0@gmail.com>.
14242
86e92359
UD
142432010-10-01 Andreas Schwab <schwab@redhat.com>
14244
14245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14246 decoding ACE if AI_CANONIDN.
14247
5d5732b0
UD
142482011-01-18 Ulrich Drepper <drepper@gmail.com>
14249
14250 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
14251
a77e8cbc
UD
142522011-01-17 Ulrich Drepper <drepper@gmail.com>
14253
6392473f
UD
14254 * version.h (RELEASE): Bump for 2.13 release.
14255 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
14256
620a0529
UD
14257 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
14258
18ba70a5
UD
14259 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
14260 MADV_NOHUGEPAGE.
32465c3e
UD
14261 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
14262 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
14263 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14264 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
14265 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14266 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14267
c0dafcf1
UD
14268 * posix/getconf.c: Update copyright year.
14269 * catgets/gencat.c: Likewise.
14270 * csu/version.c: Likewise.
14271 * debug/catchsegv.sh: Likewise.
14272 * debug/xtrace.sh: Likewise.
14273 * elf/ldconfig.c: Likewise.
14274 * elf/ldd.bash.in: Likewise.
14275 * elf/sprof.c (print_version): Likewise.
14276 * iconv/iconv_prog.c: Likewise.
14277 * iconv/iconvconfig.c: Likewise.
14278 * locale/programs/locale.c: Likewise.
14279 * locale/programs/localedef.c: Likewise.
14280 * malloc/memusage.sh: Likewise.
14281 * malloc/mtrace.pl: Likewise.
14282 * nscd/nscd.c (print_version): Likewise.
14283 * nss/getent.c: Likewise.
14284
a77e8cbc
UD
14285 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
14286 PF_CAIF, and PF_ALG.
14287 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
14288
77e8bddf
AS
142892011-01-16 Andreas Schwab <schwab@linux-m68k.org>
14290
1f20b93a
AS
14291 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
14292 (modules-names): Use them.
14293 (ifunc-test-modules, ifunc-pie-tests): Define.
14294 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
14295 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
14296 (test-extras): Likewise.
14297 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
14298 $(compile-command.c).
14299 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
14300 (all-built-dso): Define.
14301 (check-textrel.out, check-execstack.out): Depend on it.
14302
77e8bddf
AS
14303 * configure.in: Don't override --enable-multi-arch.
14304
bc425b33
UD
143052011-01-15 Ulrich Drepper <drepper@gmail.com>
14306
14307 [BZ #6812]
14308 * nscd/hstcache.c (tryagain): Define.
14309 (cache_addhst): Return tryagain not notfound for temporary errors.
14310 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
14311 failed.
14312
794c3ad3
UD
143132011-01-14 Ulrich Drepper <drepper@gmail.com>
14314
70181fdd
UD
14315 [BZ #10563]
14316 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
14317 to make the syscall.
14318 * sysdeps/unix/sysv/linux/setgroups.c: New file.
14319
794c3ad3
UD
14320 [BZ #12378]
14321 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
14322 and fall back to matching as normal character if the string ends before
14323 the matching ']' is found. This is what POSIX requires.
14324 * posix/testfnm.c: Adjust test result.
14325 * posix/globtest.sh: Adjust test result. Add new test.
14326 * posix/tst-fnmatch.input: Likewise.
14327 * posix/tst-fnmatch2.c: Add new test.
14328
68dc9497
AS
143292010-12-28 Andreas Schwab <schwab@linux-m68k.org>
14330
14331 * elf/Makefile (check-execstack): Revert last change. Depend on
14332 check-execstack.h.
14333 (check-execstack.h): New target.
14334 (generated): Add check-execstack.h.
14335 * elf/check-execstack.c: Include "check-execstack.h".
14336 (main): Revert last change.
14337 (handle_file): Return zero if GNU_STACK is absent and
14338 DEFAULT_STACK_PERMS doesn't include PF_X.
14339
451f001b
UD
143402011-01-13 Ulrich Drepper <drepper@gmail.com>
14341
cfa28e56
UD
14342 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
14343 in child fails because the descriptor is already closed.
8cf8ce17
UD
14344 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
14345 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
14346 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 14347
1086d70d
UD
14348 [BZ #12397]
14349 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
14350 syscall.
14351
451f001b
UD
14352 [BZ #10484]
14353 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
14354 temporary buffer used to handle multi lookups locally.
a85b5cb4 14355 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 14356
08769175
UD
143572011-01-12 Ulrich Drepper <drepper@gmail.com>
14358
14359 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
14360 loader is ld.so.
14361
5e49c52e
UD
143622011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
14363
14364 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
14365 alignment for SSE2.
14366
60522a5f
UD
143672011-01-12 Ulrich Drepper <drepper@gmail.com>
14368
14369 [BZ #12394]
14370 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
14371 characters. When rounding increased number of integer digits recompute
14372 number of groups.
14373 * stdio-common/tst-grouping.c: New file.
14374 * stdio-common/Makefile: Add rules to build and run tst-grouping.
14375
f257bbd7
UD
143762011-01-09 Ulrich Drepper <drepper@gmail.com>
14377
14378 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
14379 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
14380
14381 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
14382 void.
14383 * bits/select.h: Likewise.
14384
fa9c15cb
UD
143852011-01-08 Ulrich Drepper <drepper@gmail.com>
14386
14387 * po/ja.po: Update from translation team.
14388
16c2895f
DM
143892011-01-04 David S. Miller <davem@sunset.davemloft.net>
14390
14391 [BZ #11155]
14392 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
14393 implementation just like for lxstat, fxstatat, et al.
14394
2543fef2
JM
143952010-12-27 Jim Meyering <meyering@redhat.com>
14396
14397 [BZ #12348]
14398 * posix/regexec.c (build_trtable): Return failure indication upon
14399 calloc failure. Otherwise, re_search_internal could infloop on OOM.
14400
98727dbe
UD
144012010-12-25 Ulrich Drepper <drepper@gmail.com>
14402
5bd6dc5c
UD
14403 [BZ #12201]
14404 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
14405 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
14406 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
14407 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
14408
97983464
UD
14409 [BZ #12207]
14410 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
14411
98727dbe
UD
14412 [BZ #12204]
14413 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
14414 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
14415
4a531bb0
L
144162010-12-15 H.J. Lu <hongjiu.lu@intel.com>
14417
14418 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
14419 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
14420 script has SORT_BY_INIT_PRIORITY.
14421 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
14422 NO_CTORS_DTORS_SECTIONS is defined.
14423 * elf/soinit.c: Likewise.
14424 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
14425 NO_CTORS_DTORS_SECTIONS is defined.
14426 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
14427 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
14428 * sysdeps/sh/init-first.c: Likewise.
14429 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
14430
07eb4b71
UD
144312010-12-24 Ulrich Drepper <drepper@gmail.com>
14432
14433 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
14434 always use the slow path.
14435
30950a5f
RA
144362010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
14437
14438 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
14439 similar rule which adds the sysdep directories to the header search in
14440 order to pick up the correct platform stackinfo.h.
14441 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
14442 perform test if it is, otherwise return successfully without testing.
14443 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
14444 DEFAULT_STACK_PERMS define in stackinfo.h.
14445 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
14446 defined in stackinfo.h.
14447 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
14448 DEFAULT_STACK_PERMS defined in stackinfo.h.
14449 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
14450 * sysdeps/ia64/stackinfo.h: Likewise.
14451 * sysdeps/s390/stackinfo.h: Likewise.
14452 * sysdeps/sh/stackinfo.h: Likewise.
14453 * sysdeps/sparc/stackinfo.h: Likewise.
14454 * sysdeps/x86_64/stackinfo.h: Likewise.
14455 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
14456 PF_X for powerpc64. Retain PF_X for powerpc32.
14457
db753e2c
UD
144582010-12-19 Ulrich Drepper <drepper@gmail.com>
14459
14b697f7
UD
14460 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
14461 accurately.
db753e2c
UD
14462 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
14463 GETDENTS_64BIT_ALIGNED.
14464
28300719
UD
144652010-12-14 Ulrich Drepper <dreper@gmail.com>
14466
14b697f7 14467 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 14468
4f197237
AS
144692010-12-10 Andreas Schwab <schwab@redhat.com>
14470
dbb0472f
AS
14471 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
14472 _GNU_SOURCE.
14473
4f197237
AS
14474 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
14475 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
14476 Remove __restrict.
14477 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
14478 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
14479
fb88ac72
UD
144802010-12-09 Ulrich Drepper <drepper@gmail.com>
14481
14482 [BZ #11655]
14483 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
14484 are initialized.
14485
42acbb92
JJ
144862010-12-09 Jakub Jelinek <jakub@redhat.com>
14487
14488 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
14489
c038d98d
UD
144902010-12-03 Ulrich Drepper <drepper@gmail.com>
14491
14492 * po/it.po: Update from translation team.
14493
3a4a2499
L
144942010-12-01 H.J. Lu <hongjiu.lu@intel.com>
14495
14496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
14497 unused codes.
14498
1e24cf6e
UD
144992010-11-30 Ulrich Drepper <drepper@gmail.com>
14500
14501 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
14502
a7690819
AS
145032010-11-24 Andreas Schwab <schwab@redhat.com>
14504
14505 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
14506 specially.
14507 (gaih_getanswer_slice): Likewise.
14508
3bf8d1b1
JJ
145092010-10-20 Jakub Jelinek <jakub@redhat.com>
14510
14511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
14512
6db52fbb
PB
145132010-05-31 Petr Baudis <pasky@suse.cz>
14514
14515 [BZ #11149]
14516 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
14517 silently even in the chroot mode.
14518
eaca7569
UD
145192010-11-22 Ulrich Drepper <drepper@gmail.com>
14520
14521 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
14522 last patch a bit. Pretty printing
14523
3056dcdb
UD
145242010-05-31 Petr Baudis <pasky@suse.cz>
14525
14526 [BZ #10085]
14527 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
14528 initialization of skip_initgroups_dyn.
14529
cf7c9078
UD
145302010-11-19 Ulrich Drepper <drepper@gmail.com>
14531
14532 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
14533 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
14534
a1fb5e3e
UD
145352010-11-16 Ulrich Drepper <drepper@gmail.com>
14536
14537 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
14538
3540d66b
AS
145392010-11-11 Andreas Schwab <schwab@redhat.com>
14540
14541 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
14542 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
14543 (tst-fnmatch-ENV): Set MALLOC_TRACE.
14544 ($(objpfx)tst-fnmatch-mem): New rule.
14545 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
14546 * posix/tst-fnmatch.c (main): Call mtrace.
14547
13b69574
L
145482010-11-11 H.J. Lu <hongjiu.lu@intel.com>
14549
14550 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14551 Support Intel processor model 6 and model 0x2c.
14552
da93d214
LM
145532010-11-10 Luis Machado <luisgpm@br.ibm.com>
14554
14555 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
14556 signed comparison.
14557
8ca52c6e
L
145582010-11-09 H.J. Lu <hongjiu.lu@intel.com>
14559
14560 [BZ #12205]
14561 * string/test-strncasecmp.c (check_result): New function.
14562 (do_one_test): Use it.
14563 (check1): New function.
14564 (test_main): Use it.
14565 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
14566 Support strcasecmp and strncasecmp.
14567
69da074d
UD
145682010-11-08 Ulrich Drepper <drepper@gmail.com>
14569
14570 [BZ #12194]
14571 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
14572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
14573
ff02d528
L
145742010-11-07 H.J. Lu <hongjiu.lu@intel.com>
14575
14576 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
14577 IFUNC support.
14578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14579 memset-x86-64.
14580 * sysdeps/x86_64/multiarch/bzero.S: New file.
14581 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
14582 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
14583 * sysdeps/x86_64/multiarch/memset.S: New file.
14584 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
14585 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14586 Set bit_Prefer_SSE_for_memop for Intel processors.
14587 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
14588 Define.
14589 (index_Prefer_SSE_for_memop): Define.
14590 (HAS_PREFER_SSE_FOR_MEMOP): Define.
14591
344d0b54
LM
145922010-11-04 Luis Machado <luisgpm@br.ibm.com>
14593
14594 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
14595 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
14596
c0dde15b
UD
145972010-11-03 H.J. Lu <hongjiu.lu@intel.com>
14598
14599 [BZ #12191]
14600 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14601 (__x86_64_raw_data_cache_size_half): Likewise.
14602 (__x86_64_raw_shared_cache_size): Likewise.
14603 (__x86_64_raw_shared_cache_size_half): Likewise.
14604
14605 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
14606 (__x86_64_raw_data_cache_size_half): Likewise.
14607 (__x86_64_raw_shared_cache_size): Likewise.
14608 (__x86_64_raw_shared_cache_size_half): Likewise.
14609 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
14610 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
14611 and __x86_64_raw_shared_cache_size_half. Round
14612 __x86_64_data_cache_size_half, __x86_64_data_cache_size
14613 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
14614 to multiple of 256 bytes.
14615
0e516e0e
MS
146162010-11-03 Ulrich Drepper <drepper@gmail.com>
14617
14618 [BZ #12167]
14619 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
14620 of inacessible symlinks. Verify result of symlink before returning it.
14621 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14622 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
14623
0e012e87
ER
146242010-10-28 Erich Ritz <erichritz@gmail.com>
14625
14626 * math/math.h (isinf): Fix typo in comment.
14627
de0ff7bc
UD
146282010-11-01 Ulrich Drepper <drepper@gmail.com>
14629
14630 * po/da.po: Update from translation team.
14631
fa41c84d
UD
146322010-10-26 Ulrich Drepper <drepper@gmail.com>
14633
14634 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
14635 is added to the list.
14636
f0967738
AK
146372010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14638 Ulrich Drepper <drepper@gmail.com>
14639
14640 * elf/dl-object.c (_dl_new_object): Don't append the new object to
14641 the global list here. Move code to...
14642 (_dl_add_to_namespace_list): ...here. New function.
14643 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
14644 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
14645 * elf/dl-load.c (lose): Don't remove the element from the list.
14646 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
14647 (_dl_map_object): Likewise.
14648
146492010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
14650
14651 [BZ #12159]
14652 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
14653 into all bytes of SSE register.
14654 Patch by Richard Li <richardpku@gmail.com>.
14655
f0967738 146562010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
14657
14658 [BZ #12140]
14659 * malloc/malloc.c (_int_free): Fill correct number of bytes when
14660 perturbing.
14661
d0b9e94f
MB
146622010-10-20 Michael B. Brutman <brutman@us.ibm.com>
14663
14664 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
14665 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
14666 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
14667 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
14669 submachine.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
14671
8e9f92e9
AS
146722010-10-22 Andreas Schwab <schwab@redhat.com>
14673
14674 * include/dlfcn.h (__RTLD_SECURE): Define.
14675 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
14676 mode & __RTLD_SECURE instead.
14677 (open_path): Rename preloaded parameter to secure.
14678 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
14679 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
14680 * elf/dl-deps.c (openaux): Likewise.
14681 * elf/rtld.c (struct map_args): Remove is_preloaded.
14682 (map_doit): Don't use it.
14683 (dl_main): Likewise.
14684 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
14685 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
14686
bc96fbda
AS
146872010-09-09 Andreas Schwab <schwab@redhat.com>
14688
14689 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
14690 (sysd-rules-targets): Remove duplicates.
14691 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
14692 rtld-%.$o dependency.
14693
22cd1c9b
AS
146942010-10-18 Andreas Schwab <schwab@redhat.com>
14695
14696 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
14697 _dl_map_object do it.
14698
18edac48
UD
146992010-10-19 Ulrich Drepper <drepper@gmail.com>
14700
14701 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
14702 fast fma builtins, define the macros in the C99 standard.
14703 (FP_FAST_FMAF): Likewise.
14704 (FP_FAST_FMAL): Likewise.
14705 * sysdeps/x86_64/bits/mathdef.h: Likewise.
14706
14707 * bits/mathdef.h: Update copyright year.
14708 * sysdeps/powerpc/bits/mathdef.h: Likewise.
14709
d2050124
MM
147102010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
14711
14712 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
14713 builtins, define the macros in the C99 standard.
14714 (FP_FAST_FMAF): Likewise.
14715 (FP_FAST_FMAL): Likewise.
14716 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
14717 multiply/add.
14718 (FP_FAST_FMAF): Likewise.
14719
475facd1
JJ
147202010-10-15 Jakub Jelinek <jakub@redhat.com>
14721
14722 [BZ #3268]
14723 * math/libm-test.inc (fma_test): Some new testcases.
14724 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
14725 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
14726 y and infinite z. Do multiplication by C already in long double.
14727 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
14728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
14729 y and infinite z. Do bitwise or of inexact bit into u.d.
14730 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
14731 * sysdeps/i386/fpu/s_fmaf.S: Removed.
14732 * sysdeps/i386/fpu/s_fma.S: Removed.
14733 * sysdeps/i386/fpu/s_fmal.S: Removed.
14734
7c08a05c
JJ
147352010-10-16 Jakub Jelinek <jakub@redhat.com>
14736
14737 [BZ #3268]
14738 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
14739 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
14740 computation is not scheduled after fetestexcept. Fix value
14741 of minimum denormal long double.
14742
f3f7372d
JJ
147432010-10-14 Jakub Jelinek <jakub@redhat.com>
14744
14745 [BZ #3268]
14746 * math/libm-test.inc (fma_test): Add some more tests.
14747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
14748 correctly.
14749
14d43591
AS
147502010-10-15 Andreas Schwab <schwab@redhat.com>
14751
14752 * scripts/data/localplt-s390-linux-gnu.data: New file.
14753 * scripts/data/localplt-s390x-linux-gnu.data: New file.
14754
5e908464
JJ
147552010-10-13 Jakub Jelinek <jakub@redhat.com>
14756
14757 [BZ #3268]
14758 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
14759 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
14760 instead of dbl-64.
14761 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
14762 inlines.
14763 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
14764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
14765 if one of x and y is very large and the other is subnormal.
14766 * sysdeps/s390/fpu/s_fmaf.c: New file.
14767 * sysdeps/s390/fpu/s_fma.c: New file.
14768 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
14769 * sysdeps/powerpc/fpu/s_fma.S: New file.
14770 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
14771 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
14772 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
14773
147742010-10-12 Jakub Jelinek <jakub@redhat.com>
14775
14776 [BZ #3268]
14777 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
14778 fma tests.
14779 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
14780 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
14781 * sysdeps/i386/i686/multiarch/s_fma.c: Include
14782 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
14783 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
14784 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
14785 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
14786
b833d51f
UD
147872010-10-12 Ulrich Drepper <drepper@redhat.com>
14788
14789 [BZ #12078]
14790 * posix/regcomp.c (parse_branch): One more memory leak plugged.
14791 * posix/bug-regex31.input: Add test case.
14792
1751705d
UD
147932010-10-11 Ulrich Drepper <drepper@gmail.com>
14794
e9b9cbf5
UD
14795 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
14796 * posix/bug-regex31.input: New file.
14797
14798 [BZ #12078]
14799 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
14800 (parse_sub_exp): Fix last change, use postorder.
14801
ef06edbe
UD
14802 * posix/bug-regex31.c: New file.
14803 * posix/Makefile: Add rules to build and run bug-regex31.
14804
a129c80d
UD
14805 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
14806
14807 [BZ #12078]
14808 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
14809
b76b818e
UD
14810 [BZ #12108]
14811 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
14812 to have entries in sys_siglist.
14813
1751705d
UD
14814 [BZ #12093]
14815 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
14816 be NULL.
14817
9ff8d36f
JJ
148182010-10-07 Jakub Jelinek <jakub@redhat.com>
14819
14820 [BZ #3268]
14821 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
14822 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
14823 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
14824 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
14825 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
14826 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
14827 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
14828 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
14829 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
14830 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
14831 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
14832 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
14833 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
14834 * math/ftestexcept.c (fetestexcept): Likewise.
14835 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
14836 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
14837 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14838 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
14839 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
14840 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
14841 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
14842
af325969
UD
148432010-10-11 Ulrich Drepper <drepper@gmail.com>
14844
c579b202 14845 [BZ #12107]
af325969
UD
14846 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
14847 newline.
14848
67a67b95
UD
148492010-10-06 Ulrich Drepper <drepper@gmail.com>
14850
14851 * string/bug-strstr1.c: New file.
14852 * string/Makefile: Add rules to build and run bug-strstr1.
14853
5fb308bc
EB
148542010-10-05 Eric Blake <eblake@redhat.com>
14855
14856 [BZ #12092]
14857 * string/str-two-way.h (two_way_long_needle): Always clear memory
14858 when skipping input due to the shift table.
14859
45db99c7
UD
148602010-10-03 Ulrich Drepper <drepper@gmail.com>
14861
3b111893
UD
14862 [BZ #12005]
14863 * malloc/mcheck.c: Handle large requests.
14864
45db99c7
UD
14865 [BZ #12077]
14866 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
14867 for strncmp and strncasecmp.
14868 * string/stratcliff.c: Add tests for strcmp and strncmp.
14869 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
14870
cf7a1eb8
NI
148712010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
14872
14873 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
14874 __set_fpscr.
14875
6484ba5e
AJ
148762010-09-30 Andreas Jaeger <aj@suse.de>
14877
14878 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
14879 (CGROUP_SUPER_MAGIC): Define.
14880 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14881 Handle btrfs and cgroup file systems.
14882 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
14883 Likewise.
14884
91c42559
LM
148852010-09-27 Luis Machado <luisgpm@br.ibm.com>
14886
14887 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
14888 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
14889
87a97932
AK
148902010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14891
14892 [BZ #12067]
14893 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
14894 trying to locate the ELF header.
14895
c21cc9bc
AS
148962010-09-27 Andreas Schwab <schwab@redhat.com>
14897
14898 [BZ #11611]
14899 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
14900 Mask out sign-bit copies when constructing f_fsid.
14901
315970f6
PB
149022010-09-24 Petr Baudis <pasky@suse.cz>
14903
14904 * debug/stack_chk_fail_local.c: Add missing licence exception.
14905 * debug/warning-nop.c: Likewise.
14906
1ac7a2c7
JM
149072010-09-15 Joseph Myers <joseph@codesourcery.com>
14908
14909 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
14910 implementing getdents64 using getdents syscall, set d_type if
14911 __ASSUME_GETDENTS32_D_TYPE.
14912
56801c50
AS
149132010-09-16 Andreas Schwab <schwab@redhat.com>
14914
14915 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
14916 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
14917
dda51327
UD
149182010-09-21 Ulrich Drepper <drepper@redhat.com>
14919
14920 [BZ #12037]
14921 * posix/unistd.h: Undo change of feature selection for ftruncate from
14922 2010-01-11.
14923
8ffcee4a
UD
149242010-09-20 Ulrich Drepper <drepper@redhat.com>
14925
a545ecd9 14926 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
14927 detection.
14928
e24f0a8b
AS
149292010-09-20 Andreas Schwab <schwab@redhat.com>
14930
14931 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
14932 fanotify_mark.
14933 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14934
7291c56f
AS
149352010-09-14 Andreas Schwab <schwab@redhat.com>
14936
14937 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
14938 variables after CHECK_SP call.
14939 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
14940
bc5fb037
AS
149412010-09-13 Andreas Schwab <schwab@redhat.com>
14942 Ulrich Drepper <drepper@redhat.com>
14943
14944 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
14945 re-relocationg ld.so.
14946 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
14947 _dl_init_paths call.
14948 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
14949 here anymore.
14950
e66e7419
UD
149512010-09-14 Ulrich Drepper <drepper@redhat.com>
14952
14953 * resolv/res_init.c (__res_vinit): Count the default server we added.
14954
c044aa75
CLT
149552010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
14956 Ulrich Drepper <drepper@redhat.com>
14957
14958 [BZ #11968]
14959 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
14960 (____longjmp_chk): Use %ebx for saving value across system call.
14961 Add unwind info.
14962
32cf4069
AS
149632010-09-06 Andreas Schwab <schwab@redhat.com>
14964
14965 * manual/Makefile: Don't mix pattern rules with normal rules.
14966
817328ee
AS
149672010-09-05 Andreas Schwab <schwab@linux-m68k.org>
14968
14969 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
14970 operation.
14971 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
14972 * libio/iofopncook.c (_IO_cookie_init): Likewise.
14973 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
14974 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14975 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14976 Likewise.
14977
29fddf61
UD
149782010-09-04 Ulrich Drepper <drepper@redhat.com>
14979
14980 [BZ #11979]
14981 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
14982 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
14983
0959ffc9
UD
149842010-09-02 Ulrich Drepper <drepper@redhat.com>
14985
14986 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
14987 * sysdeps/x86_64/addmul_1.S: Likewise.
14988 * sysdeps/x86_64/lshift.S: Likewise.
14989 * sysdeps/x86_64/mul_1.S: Likewise.
14990 * sysdeps/x86_64/rshift.S: Likewise.
14991 * sysdeps/x86_64/sub_n.S: Likewise.
14992 * sysdeps/x86_64/submul_1.S: Likewise.
14993
ece29840
ST
149942010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
14995
0959ffc9
UD
14996 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
14997 Define __sched_param instead of SCHED_* and sched_param when
ece29840 14998 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 14999 * bits/sched.h [__need_schedparam]
ece29840 15000 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
15001 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
15002 (__defined_schedparam): Define to 1.
ece29840
ST
15003 (__sched_param): New structure, identical to sched_param.
15004 (__need_schedparam): Undefine.
15005
e53a31fe
MF
150062010-08-31 Mike Frysinger <vapier@gentoo.org>
15007
fdc0c10d
MF
15008 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
15009 (epoll_create1): Declare.
15010
e53a31fe
MF
15011 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
15012
a726d796
AS
150132010-08-31 Andreas Schwab <schwab@redhat.com>
15014
15015 [BZ #7066]
15016 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
15017 shifting retval into place.
15018
2f3e3dc7
UD
150192010-09-01 Ulrich Drepper <drepper@redhat.com>
15020
f2933da9
UD
15021 * nis/rpcsvc/nis.h: Update copyright notice.
15022 * nis/rpcsvc/nis.x: Likewise.
15023 * nis/rpcsvc/nis_callback.h: Likewise.
15024 * nis/rpcsvc/nis_callback.x: Likewise.
15025 * nis/rpcsvc/nis_object.x: Likewise.
15026 * nis/rpcsvc/nis_tags.h: Likewise.
15027 * nis/rpcsvc/yp.h: Likewise.
15028 * nis/rpcsvc/yp.x: Likewise.
15029 * nis/rpcsvc/ypupd.h: Likewise.
15030 * nis/yp_xdr.c: Likewise.
15031 * nis/ypupdate_xdr.c: Likewise.
15032
2f3e3dc7
UD
15033 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
15034 mainly the body of pmap_getport. Add parameters to specify timeouts.
15035 (pmap_getport): Use __libc_rpc_getport.
15036 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
15037 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
15038 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
15039
f3dcc2f9
AS
150402010-08-31 Andreas Schwab <schwab@linux-m68k.org>
15041
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
15043 fanotify_mark.
15044
6d34eb5b
RM
150452010-08-27 Roland McGrath <roland@redhat.com>
15046
15047 * sysdeps/i386/i686/multiarch/Makefile
15048 (CFLAGS-varshift.c): New variable.
15049
9ea3de11
UD
150502010-08-27 Ulrich Drepper <drepper@redhat.com>
15051
c96d23fc
UD
15052 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
15053 * sysdeps/i386/i686/multiarch/varshift.c: New file.
15054
9ea3de11
UD
15055 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
15056
15057 * sysdeps/x86_64/strlen.S: Minimal code improvement.
15058
623aac7f
L
150592010-08-26 H.J. Lu <hongjiu.lu@intel.com>
15060
15061 * sysdeps/x86_64/strlen.S: Unroll the loop.
15062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15063 strlen-sse2 strlen-sse2-bsf.
15064 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
15065 __strlen_no_bsf if bit_Slow_BSF is set.
15066 (__strlen_sse42): Removed.
15067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
15068 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
15069
8b2b7715
RM
150702010-08-25 Roland McGrath <roland@redhat.com>
15071
15072 * sysdeps/x86_64/multiarch/varshift.S: File removed.
15073 * sysdeps/x86_64/multiarch/varshift.c: New file.
15074 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
15075 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
15076 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
15077 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15078
e73015f2
L
150792010-08-25 H.J. Lu <hongjiu.lu@intel.com>
15080
15081 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15082 strlen-sse2 strlen-sse2-bsf.
15083 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
15084 __strlen_sse2_bsf if bit_Slow_BSF is unset.
15085 (__strlen_sse2): Removed.
15086 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
15087 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
15088 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
15089 bit_Slow_BSF for Atom.
15090 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
15091 (index_Slow_BSF): Define.
15092 (HAS_SLOW_BSF): Define.
15093
df24a73e
UD
150942010-08-25 Ulrich Drepper <drepper@redhat.com>
15095
15096 [BZ #10851]
15097 * resolv/res_init.c (__res_vinit): When no server address at all
15098 is given default to loopback.
15099
f2ac4868
RM
151002010-08-24 Roland McGrath <roland@redhat.com>
15101
09055553
RM
15102 * configure.in: Remove config-name.h generation.
15103 * configure: Regenerated.
15104 * config-name.in: File removed.
15105 * scripts/config-uname.sh: New file.
15106 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
15107 ($(objdir)config-name.h): New target.
15108
f2ac4868
RM
15109 * sunrpc/rpc_parse.h: Avoid nested comment.
15110
73f27d5e
RH
151112010-08-24 Richard Henderson <rth@redhat.com>
15112 Ulrich Drepper <drepper@redhat.com>
15113 H.J. Lu <hongjiu.lu@intel.com>
15114
15115 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
15116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
15117 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
15118 Replace _mm_srli_si128 with __m128i_shift_right. Replace
15119 _mm_alignr_epi8 with _mm_loadu_si128.
15120 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
15121 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
15122 (__m128i_shift_right): Removed.
15123 * sysdeps/i386/i686/multiarch/varshift.h: New file.
15124 * sysdeps/i386/i686/multiarch/varshift.S: New file.
15125 * sysdeps/x86_64/multiarch/varshift.h: New file.
15126 * sysdeps/x86_64/multiarch/varshift.S: New file.
15127
84b9230c
MF
151282010-08-21 Mike Frysinger <vapier@gentoo.org>
15129
15130 * configure.in: Move assembler checks to before sysdep dir checking.
15131
9bbd0ddc
PB
151322010-08-20 Petr Baudis <pasky@suse.cz>
15133
15134 * LICENSES: Sync the sunrpc license.
15135
9da4bb31
UD
151362010-08-19 Ulrich Drepper <drepper@redhat.com>
15137
a7ab6ec8
UD
15138 * sunrpc/auth_des.c: Update copyright notice once again.
15139 * sunrpc/auth_none.c: Likewise.
15140 * sunrpc/auth_unix.c: Likewise.
15141 * sunrpc/authdes_prot.c: Likewise.
15142 * sunrpc/authuxprot.c: Likewise.
15143 * sunrpc/bindrsvprt.c: Likewise.
15144 * sunrpc/clnt_gen.c: Likewise.
15145 * sunrpc/clnt_perr.c: Likewise.
15146 * sunrpc/clnt_raw.c: Likewise.
15147 * sunrpc/clnt_simp.c: Likewise.
15148 * sunrpc/clnt_tcp.c: Likewise.
15149 * sunrpc/clnt_udp.c: Likewise.
15150 * sunrpc/clnt_unix.c: Likewise.
15151 * sunrpc/des_crypt.c: Likewise.
15152 * sunrpc/des_soft.c: Likewise.
15153 * sunrpc/get_myaddr.c: Likewise.
15154 * sunrpc/getrpcport.c: Likewise.
15155 * sunrpc/key_call.c: Likewise.
15156 * sunrpc/key_prot.c: Likewise.
15157 * sunrpc/openchild.c: Likewise.
15158 * sunrpc/pm_getmaps.c: Likewise.
15159 * sunrpc/pm_getport.c: Likewise.
15160 * sunrpc/pmap_clnt.c: Likewise.
15161 * sunrpc/pmap_prot.c: Likewise.
15162 * sunrpc/pmap_prot2.c: Likewise.
15163 * sunrpc/pmap_rmt.c: Likewise.
15164 * sunrpc/rpc/auth.h: Likewise.
15165 * sunrpc/rpc/auth_unix.h: Likewise.
15166 * sunrpc/rpc/clnt.h: Likewise.
15167 * sunrpc/rpc/des_crypt.h: Likewise.
15168 * sunrpc/rpc/key_prot.h: Likewise.
15169 * sunrpc/rpc/netdb.h: Likewise.
15170 * sunrpc/rpc/pmap_clnt.h: Likewise.
15171 * sunrpc/rpc/pmap_prot.h: Likewise.
15172 * sunrpc/rpc/pmap_rmt.h: Likewise.
15173 * sunrpc/rpc/rpc.h: Likewise.
15174 * sunrpc/rpc/rpc_des.h: Likewise.
15175 * sunrpc/rpc/rpc_msg.h: Likewise.
15176 * sunrpc/rpc/svc.h: Likewise.
15177 * sunrpc/rpc/svc_auth.h: Likewise.
15178 * sunrpc/rpc/types.h: Likewise.
15179 * sunrpc/rpc/xdr.h: Likewise.
15180 * sunrpc/rpc_clntout.c: Likewise.
15181 * sunrpc/rpc_cmsg.c: Likewise.
15182 * sunrpc/rpc_common.c: Likewise.
15183 * sunrpc/rpc_cout.c: Likewise.
15184 * sunrpc/rpc_dtable.c: Likewise.
15185 * sunrpc/rpc_hout.c: Likewise.
15186 * sunrpc/rpc_main.c: Likewise.
15187 * sunrpc/rpc_parse.c: Likewise.
15188 * sunrpc/rpc_parse.h: Likewise.
15189 * sunrpc/rpc_prot.c: Likewise.
15190 * sunrpc/rpc_sample.c: Likewise.
15191 * sunrpc/rpc_scan.c: Likewise.
15192 * sunrpc/rpc_scan.h: Likewise.
15193 * sunrpc/rpc_svcout.c: Likewise.
15194 * sunrpc/rpc_tblout.c: Likewise.
15195 * sunrpc/rpc_util.c: Likewise.
15196 * sunrpc/rpc_util.h: Likewise.
15197 * sunrpc/rpcinfo.c: Likewise.
15198 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
15199 * sunrpc/rpcsvc/key_prot.x: Likewise.
15200 * sunrpc/rpcsvc/klm_prot.x: Likewise.
15201 * sunrpc/rpcsvc/mount.x: Likewise.
15202 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
15203 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
15204 * sunrpc/rpcsvc/rex.x: Likewise.
15205 * sunrpc/rpcsvc/rstat.x: Likewise.
15206 * sunrpc/rpcsvc/rusers.x: Likewise.
15207 * sunrpc/rpcsvc/sm_inter.x: Likewise.
15208 * sunrpc/rpcsvc/spray.x: Likewise.
15209 * sunrpc/rpcsvc/yppasswd.x: Likewise.
15210 * sunrpc/rtime.c: Likewise.
15211 * sunrpc/svc.c: Likewise.
15212 * sunrpc/svc_auth.c: Likewise.
15213 * sunrpc/svc_authux.c: Likewise.
15214 * sunrpc/svc_raw.c: Likewise.
15215 * sunrpc/svc_run.c: Likewise.
15216 * sunrpc/svc_simple.c: Likewise.
15217 * sunrpc/svc_tcp.c: Likewise.
15218 * sunrpc/svc_udp.c: Likewise.
15219 * sunrpc/svc_unix.c: Likewise.
15220 * sunrpc/svcauth_des.c: Likewise.
15221 * sunrpc/xcrypt.c: Likewise.
15222 * sunrpc/xdr.c: Likewise.
15223 * sunrpc/xdr_array.c: Likewise.
15224 * sunrpc/xdr_float.c: Likewise.
15225 * sunrpc/xdr_mem.c: Likewise.
15226 * sunrpc/xdr_rec.c: Likewise.
15227 * sunrpc/xdr_ref.c: Likewise.
15228 * sunrpc/xdr_sizeof.c: Likewise.
15229 * sunrpc/xdr_stdio.c: Likewise.
15230
9da4bb31
UD
15231 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
15232 handling.
15233
bdaa77bc
AS
152342010-08-19 Andreas Schwab <schwab@redhat.com>
15235
15236 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
15237
fe2f79db
LM
152382010-08-19 Luis Machado <luisgpm@br.ibm.com>
15239
15240 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
15241 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
15242 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
15243 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
15244 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
15245 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
15246 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
15247 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
15248 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
15249 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
15250 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
15251 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
15252 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
15253 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
15254
b9b42ee0
AB
152552010-07-26 Anton Blanchard <anton@samba.org>
15256
15257 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
15258 * malloc/arena.c (heap_trim): Likewise.
15259
1c06ba31
UD
152602010-08-16 Ulrich Drepper <drepper@redhat.com>
15261
15262 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
15263 here. Not...
15264 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
15265 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
15266
f8392f40
L
152672010-08-12 H.J. Lu <hongjiu.lu@intel.com>
15268
15269 * sysdeps/i386/elf/Makefile: New file.
15270
3162f12e
AS
152712010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15272
15273 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
15274 from fanotify_init.
15275 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
15276 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15277
28c90b2c
UD
152782010-08-15 Ulrich Drepper <drepper@redhat.com>
15279
15280 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
15281 of strncasecmp_l.
1feccb6c 15282 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 15283
ca6bb004
UD
152842010-08-14 Ulrich Drepper <drepper@redhat.com>
15285
e9f82e0d
UD
15286 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15287 strncase_l-nonascii.
15288 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15289 Add strncase_l-ssse3.
15290 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
15291 * sysdeps/x86_64/strcmp.S: Likewise.
15292 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
15293 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
15294 * sysdeps/x86_64/strncase.S: New file.
15295 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
15296 * sysdeps/x86_64/strncase_l.S: New file.
15297 * string/Makefile (strop-tests): Add strncasecmp.
15298 * string/test-strncasecmp.c: New file.
15299
15300 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
15301 warning.
15302
ca6bb004
UD
15303 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
15304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
15305
052fa7b3
AS
153062010-08-14 Andreas Schwab <schwab@linux-m68k.org>
15307
15308 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
15309
962dba78
UD
153102010-08-12 Ulrich Drepper <drepper@redhat.com>
15311
15312 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
15313 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
15314 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
15315
bebff237
AM
153162010-05-01 Alan Modra <amodra@gmail.com>
15317
15318 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
15319 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
15320 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
15321 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
15322 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
15323 tidying. Don't tail-call __sigjmp_save for static lib.
15324 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
15325 save location.
15326 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
15327 (CALL_MCOUNT): Add eh info, and nop after bl.
15328 (TAIL_CALL_SYSCALL_ERROR): New macro.
15329 (PSEUDO_RET): Use it.
15330 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
15331 Correct save location of integer regs and cr.
15332 (_dl_profile_resolve): Correct cr save location. Delete nops
15333 after bl when SHARED. Reduce cfi size a little by better
15334 placement of cfi directives.
15335 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
15336 make a stack frame. Instead use parm save area as a temp.
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
15338 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
15340 Don't make a stack frame for parent, use parm save area.
15341 Increase child stack frame to 112 bytes. Don't save unused reg,
15342 and adjust reg usage. Set up cfi on error recovery and
15343 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
15345 (__makecontext): Add dummy nop after jump to exit.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
15347 Use correct parm save area and cr save, reduce stack frame.
15348 Correct cfi for possible PSEUDO_RET frame setup.
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
15350 Branch to local label emitted by PSEUDO_RET rather than
15351 __syscall_error.
15352
02637374
AS
153532010-08-12 Andreas Schwab <schwab@redhat.com>
15354
15355 [BZ #11904]
15356 * locale/programs/locale.c (print_assignment): New function.
15357 (show_locale_vars): Use it.
15358
c3e2f19b
UD
153592010-08-11 Ulrich Drepper <drepper@redhat.com>
15360
3cdaa6ad
UD
15361 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
15362 field.
15363 (struct statfs64): Likewise.
15364 (_STATFS_F_FLAGS): Define.
15365 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
15366 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15367 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
15368 (ST_VALID): Define locally.
15369 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
15370 __statvfs_getflags, use the provided value.
15371 * sysdeps/unix/sysv/linux/kernel-features.h: Define
15372 __ASSUME_STATFS_F_FLAGS.
15373
754f7da3
UD
15374 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
15375
10b3bedc
UD
15376 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
15377 Add sys/fanotify.h.
15378 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
15379 fanotify_mask for GLIBC_2.13.
15380 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
15381 fanotify_init and fanotify_mark.
15382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15383 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
15384
c08fb0d7
UD
15385 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
15386 Add prlimit.
15387 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
15388 prlimit64 for GLIBC_2.13.
15389 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
15390 prlimit64.
15391 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
15392 syscall.
15393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
15395 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
15397 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
15398 add prlimit alias.
15399 * sysdeps/unix/sysv/linux/prlimit.c: New file.
15400
15bac72b
UD
15401 [BZ #11903]
15402 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
15403 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
15404
c3e2f19b
UD
15405 * nss/Makefile: Add rules to build and run tst-nss-test1.
15406 * shlib-versions: Add entry for libnss_test1.
15407 * nss/nss_test1.c: New file.
15408 * nss/tst-nss-test1.c: New file.
15409
15410 * nss/nsswitch.c (__nss_database_custom): Define new variable.
15411 (__nss_configure_lookup): Set appropriate entry in
15412 __nss_configure_lookup to true.
15413 * nss/nsswitch.h: Define enum with indeces of databases in
15414 databases and __nss_database_custom arrays. Declare
15415 __nss_database_custom.
15416 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
15417 to avoid using nscd when custom rules are installed.
15418 * nss/getXXbyYY_r.c: Likewise.
15419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15420
15421 * nss/nss_files/files-parse.c: Whitespace fixes.
15422
f15ce4d8
UD
154232010-08-09 Ulrich Drepper <drepper@redhat.com>
15424
15425 [BZ #11883]
15426 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
15427 * posix/fnmatch_loop.c: Likewise.
15428
d22e4cc9
AK
154292010-07-17 Andi Kleen <ak@linux.intel.com>
15430
15431 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
15432 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
15433 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
15434 * Versions.def [GLIBC_2.13]: Add.
15435
805bc17d
UD
154362010-08-06 Ulrich Drepper <drepper@redhat.com>
15437
15438 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15439 Also fail if tpwd after pwuid call is NULL.
15440
5a42321d
ST
154412010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
15442
15443 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
15444 when converting to ms.
15445
fd3ebeda
ST
154462010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
15447
15448 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
15449 EOPNOTSUPP errors with ENOTTY.
15450 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
15451 EOPNOTSUPP errors with ENOTTY.
15452
73507d3a
UD
154532010-07-31 Ulrich Drepper <drepper@redhat.com>
15454
15455 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
15456 Add strcasecmp_l-ssse3.
15457 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
15458 strcasecmp.
15459 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
15460 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
15461 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
15462
fe36dd02
UD
154632010-07-30 Ulrich Drepper <drepper@redhat.com>
15464
66f6765a
UD
15465 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
15466
42e08a54
UD
15467 * string/Makefile (strop-tests): Add strcasecmp.
15468 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
15469 strcasecmp_l-nonascii.
15470 (gen-as-const-headers): Add locale-defines.sym.
15471 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
15472 * sysdeps/x86_64/strcasecmp.S: New file.
15473 * sysdeps/x86_64/strcasecmp_l.S: New file.
15474 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
15475 * sysdeps/x86_64/locale-defines.sym: New file.
15476 * string/test-strcasecmp.c: New file.
15477
fe36dd02
UD
15478 * string/test-strcasestr.c: Test both ends of the range of characters.
15479 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
15480
48cbc0d6
RM
154812010-07-29 Roland McGrath <roland@redhat.com>
15482
76e6d6bc 15483 [BZ #11856]
48cbc0d6
RM
15484 * manual/locale.texi (Yes-or-No Questions): Fix example code.
15485
880113d9
UD
154862010-07-27 Ulrich Drepper <drepper@redhat.com>
15487
15488 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
15489 for ld.so.
15490
deb9cabb
AS
154912010-07-27 Andreas Schwab <schwab@redhat.com>
15492
15493 * manual/memory.texi (Malloc Tunable Parameters): Document
15494 M_PERTURB.
15495
1c7570ff
RM
154962010-07-26 Roland McGrath <roland@redhat.com>
15497
15498 [BZ #11840]
15499 * configure.in (-fgnu89-inline check): Set and substitute
15500 gnu89_inline, not libc_cv_gnu89_inline.
15501 * configure: Regenerated.
15502 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
15503
24fb0f88
UD
155042010-07-26 Ulrich Drepper <drepper@redhat.com>
15505
15506 * string/test-strnlen.c: New file.
15507 * string/Makefile (strop-tests): Add strnlen.
15508 * string/tester.c (test_strnlen): Add a few more test cases.
15509 * string/tst-strlen.c: Better error reporting.
15510
15511 * sysdeps/x86_64/strnlen.S: New file.
15512
8e96b93a
UD
155132010-07-24 Ulrich Drepper <drepper@redhat.com>
15514
15515 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
15516 lower-latency instructions.
15517
dbc676d4
UD
155182010-07-23 Ulrich Drepper <drepper@redhat.com>
15519
15520 * string/test-strcasestr.c: New file.
15521 * string/test-strstr.c: New file.
15522 * string/Makefile (strop-tests): Add strstr and strcasestr.
15523 * string/str-two-way.h: Don't undefine MAX.
15524 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
15525
f6a31e0e
AS
155262010-07-21 Andreas Schwab <schwab@redhat.com>
15527
15528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
15529 strcasestr-nonascii.
15530 (CFLAGS-strcasestr-nonascii.c): Define.
15531 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
15532 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
15533 Remove unused attribute.
15534
5dbc3b6c
RM
155352010-07-20 Roland McGrath <roland@redhat.com>
15536
15537 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
15538 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
15539 ld.so.cache was broken. With it, there is no way to disable dsocaps
15540 like LD_HWCAP_MASK can disable hwcaps.
15541
23d101d8
EPM
155422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15543
15544 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
15545
cc9f2e47
UD
155462010-07-16 Ulrich Drepper <drepper@redhat.com>
15547
15548 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
15549 call in strcasestr.
15550 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
15551 __strcasestr_sse42_nonascii.
15552 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
15553 strcasestr-nonascii.c.
15554 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
15555
77c1b069
LM
155562010-06-15 Luis Machado <luisgpm@br.ibm.com>
15557
15558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
15559 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
15560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
15561 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
15562
440566c3
UD
155632010-07-09 Ulrich Drepper <drepper@redhat.com>
15564
15565 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
15566 fcntl.
15567
5be9d05d
AS
155682010-07-06 Andreas Schwab <schwab@redhat.com>
15569
c30b7ee2 15570 [BZ #11577]
5be9d05d
AS
15571 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
15572 dl_signal_cerror.
15573
8a492a67
UD
155742010-07-06 Ulrich Drepper <drepper@redhat.com>
15575
15576 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
15577 _PC_PIPE_BUF using F_GETPIPE_SZ.
15578
713df3d5
RM
155792010-07-05 Roland McGrath <roland@redhat.com>
15580
15581 * manual/arith.texi (Rounding Functions): Fix rint description
15582 implicit in round description.
15583
702e8f14
UD
155842010-07-02 Ulrich Drepper <drepper@redhat.com>
15585
15586 * elf/Makefile: Fix linking for a few tests to make recent linker
15587 happy.
15588
52ed8be9
AS
155892010-06-30 Andreas Schwab <schwab@redhat.com>
15590
15591 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
15592 $(common-objpfx)libc_nonshared.a.
15593
f47c9a11
LM
155942010-06-21 Luis Machado <luisgpm@br.ibm.com>
15595
15596 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
15597 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
15598 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15599 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15600 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
15601 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
15602 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15603 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
15605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
15606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
15607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
15608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
15610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
15612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
15614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
15616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
15617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
15618 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
15619 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
15620 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
15621 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
15622 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
15623 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
15624 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
15625 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
15626 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
15627 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
15628 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
15629 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
15630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
15631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
15632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
15633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
15634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
15635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
15636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
15637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
15639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
15641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
15643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
15644
6fb8cbcb
L
156452010-06-25 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
15648 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
15649 * string/memmove.c (memmove): Renamed to ...
15650 (MEMMOVE): ...this. Default to memmove.
15651 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
15652 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
15653 (END_CHK): Define.
15654 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15655 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
15656 mempcpy-ssse3-back memmove-ssse3-back.
15657 * sysdeps/x86_64/multiarch/bcopy.S: New file .
15658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
15659 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
15660 * sysdeps/x86_64/multiarch/memcpy.S: New file.
15661 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
15662 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
15663 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
15664 * sysdeps/x86_64/multiarch/memmove.c: New file.
15665 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
15666 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
15667 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
15668 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
15669 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
15670 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
15671 Define.
15672 (index_Fast_Copy_Backward): Define.
15673 (HAS_ARCH_FEATURE): Define.
15674 (HAS_FAST_REP_STRING): Define.
15675 (HAS_FAST_COPY_BACKWARD): Define.
15676
4e733bac 156772010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
15678
15679 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
15680 Restore proper fallback handling.
15681
63c4ed22
UD
156822010-06-19 Ulrich Drepper <drepper@redhat.com>
15683
ac2b484c
UD
15684 [BZ #11701]
15685 * posix/group_member.c (__group_member): Correct checking loop.
15686
63c4ed22
UD
15687 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
15688 OOM in getpwuid_r correctly. Return error number when the caller
15689 should return, otherwise -1.
15690 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
15691 call returning > 0 value.
15692 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
15693
765ade4b
AS
156942010-06-07 Andreas Schwab <schwab@redhat.com>
15695
15696 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
15697 libc_nonshared.a from targets in modules-names.
15698
80da2e09
KS
156992010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
15700
15701 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
15702 requires it.
15703
158db122
LM
157042010-06-10 Luis Machado <luisgpm@br.ibm.com>
15705
15706 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
15707 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
15708 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
15709 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
15710
caa78cf8
AS
157112010-06-02 Andreas Schwab <schwab@redhat.com>
15712
15713 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
15714
b2ef2c01
UD
157152010-06-14 Ulrich Drepper <drepper@redhat.com>
15716
15717 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
15718 and F_GETPIPE_SZ.
15719 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15721 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15722 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15724 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
15725
fbd643b6
RM
157262010-06-14 Roland McGrath <roland@redhat.com>
15727
15728 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
15729
f32f2869
JJ
157302010-06-07 Jakub Jelinek <jakub@redhat.com>
15731
15732 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
15733 __REDIRECT followed by __THROW.
15734 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
15735 * posix/getopt.h (getopt): Likewise.
15736
2a50c078
EPM
157372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
15738
15739 * hurd/lookup-at.c (__file_name_lookup_at): Accept
15740 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
15741 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
15742 in AT_FLAGS.
15743 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
15744 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
15745
eb5ad2eb
LM
157462010-05-28 Luis Machado <luisgpm@br.ibm.com>
15747
15748 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
15749
3c88fe1e
L
157502010-05-26 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 [BZ #11640]
15753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15754 Properly check family and model.
15755
d2f73151
TY
157562010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
15757
15758 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
15759
ebd2e13d
LM
157602010-05-24 Luis Machado <luisgpm@br.ibm.com>
15761
15762 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
15763
b32b8b45
UD
157642010-05-21 Ulrich Drepper <drepper@redhat.com>
15765
15766 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
15767 symbol reference.
15768
9acbe24d
AS
157692010-05-19 Andreas Schwab <schwab@redhat.com>
15770
15771 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
15772 symbol reference.
15773
f0ccf6ea
AS
157742010-05-21 Andreas Schwab <schwab@redhat.com>
15775
3d04ff3a
AS
15776 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
15777 and internal_recvmmsg.
15778 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
15779 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
15780 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
15781 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
15782
f0ccf6ea
AS
15783 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
15784 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
15785 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
15786
5b08ac57
AS
157872010-05-20 Andreas Schwab <schwab@redhat.com>
15788
15789 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
15790
4828935d
LM
157912010-05-17 Luis Machado <luisgpm@br.ibm.com>
15792
15793 POWER7 optimizations.
15794 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
15795 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
15796
373d545e
UD
157972010-05-19 Ulrich Drepper <drepper@redhat.com>
15798
15799 * version.h: Update for 2.13 development version.
15800
21a2b1ae
AS
158012010-05-12 Andrew Stubbs <ams@codesourcery.com>
15802
15803 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
15804 exceptions. Return 0.
15805
3f7dcb2b
RM
158062010-05-07 Roland McGrath <roland@redhat.com>
15807
15808 * elf/ldconfig.c (main): Add a const.
15809
5f24d53a 158102010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 15811
a160f8d8
UD
15812 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
15813 (args_options): Add no-idn option.
15814 (ahosts_keys_int): Add idn_flags to ai_flags.
15815 (parse_option): Handle 'i' option to clear idn_flags.
15816
5f24d53a
UD
15817 * malloc/malloc.c (_int_free): Possible race in the most recently
15818 added check. Only act on the data if no current modification
15819 happened.
265bb1ce
UD
15820
15821See ChangeLog.17 for earlier changes.